PageSourceSearch

https://samegoal.com/iep/s/2xzuYPg78rTSLOWwFqadgNpGvxg

js samegoal.com collected 2026-09-24 12:11:24 UTC 2,579,258 bytes, 5,482 lines download raw bytes

1(function(){'use strict';var h;function ba(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},da="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function ea(){ea=function(){};da.Symbol||(da.Symbol=aaa)}
2function ha(a,b){this.g=a;ca(this,"description",{configurable:!0,writable:!0,value:b})}ha.prototype.toString=function(){return this.g};var aaa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ha("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}();
3function ia(){ea();var a=da.Symbol.iterator;a||(a=da.Symbol.iterator=da.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ca(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ja(ba(this))}});ia=function(){}}function ja(a){ia();a={next:a};a[da.Symbol.iterator]=function(){return this};return a}function m(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ba(a)}}
4function ka(a){if(!(a instanceof Array)){a=m(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}var baa="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},la;if("function"==typeof Object.setPrototypeOf)la=Object.setPrototypeOf;else{var ma;a:{var caa={a:!0},na={};try{na.__proto__=caa;ma=na.a;break a}catch(a){}ma=!1}la=ma?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
5var oa=la;function pa(a,b){a.prototype=baa(b.prototype);a.prototype.constructor=a;if(oa)oa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.D=b.prototype}function qa(a,b){if(b){var c=da;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ca(c,a,{configurable:!0,writable:!0,value:b})}}
6qa("Promise",function(a){function b(g){this.h=0;this.j=void 0;this.g=[];var k=this.o();try{g(k.resolve,k.reject)}catch(l){k.reject(l)}}function c(){this.g=null}function d(g){return g instanceof b?g:new b(function(k){k(g)})}if(a)return a;c.prototype.h=function(g){if(null==this.g){this.g=[];var k=this;this.j(function(){k.l()})}this.g.push(g)};var e=da.setTimeout;c.prototype.j=function(g){e(g,0)};c.prototype.l=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var k=0;k<g.length;++k){var l=
7g[k];g[k]=null;try{l()}catch(n){this.o(n)}}}this.g=null};c.prototype.o=function(g){this.j(function(){throw g;})};b.prototype.o=function(){function g(n){return function(q){l||(l=!0,n.call(k,q))}}var k=this,l=!1;return{resolve:g(this.u),reject:g(this.l)}};b.prototype.u=function(g){if(g===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.ea(g);else{a:switch(typeof g){case "object":var k=null!=g;break a;case "function":k=!0;break a;default:k=!1}k?this.T(g):this.s(g)}};
8b.prototype.T=function(g){var k=void 0;try{k=g.then}catch(l){this.l(l);return}"function"==typeof k?this.va(k,g):this.s(g)};b.prototype.l=function(g){this.m(2,g)};b.prototype.s=function(g){this.m(1,g)};b.prototype.m=function(g,k){if(0!=this.h)throw Error("Cannot settle("+g+", "+k+"): Promise already settled in state"+this.h);this.h=g;this.j=k;this.L()};b.prototype.L=function(){if(null!=this.g){for(var g=0;g<this.g.length;++g)f.h(this.g[g]);this.g=null}};var f=new c;b.prototype.ea=function(g){var k=
9this.o();g.Mw(k.resolve,k.reject)};b.prototype.va=function(g,k){var l=this.o();try{g.call(k,l.resolve,l.reject)}catch(n){l.reject(n)}};b.prototype.then=function(g,k){function l(u,v){return"function"==typeof u?function(y){try{n(u(y))}catch(G){q(G)}}:v}var n,q,t=new b(function(u,v){n=u;q=v});this.Mw(l(g,n),l(k,q));return t};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.Mw=function(g,k){function l(){switch(n.h){case 1:g(n.j);break;case 2:k(n.j);break;default:throw Error("Unexpected state: "+
10n.h);}}var n=this;null==this.g?f.h(l):this.g.push(l)};b.resolve=d;b.reject=function(g){return new b(function(k,l){l(g)})};b.race=function(g){return new b(function(k,l){for(var n=m(g),q=n.next();!q.done;q=n.next())d(q.value).Mw(k,l)})};b.all=function(g){var k=m(g),l=k.next();return l.done?d([]):new b(function(n,q){function t(y){return function(G){u[y]=G;v--;0==v&&n(u)}}var u=[],v=0;do u.push(void 0),v++,d(l.value).Mw(t(u.length-1),q),l=k.next();while(!l.done)})};return b});
11qa("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});function ra(){this.m=!1;this.l=null;this.h=void 0;this.g=1;this.o=this.s=0;this.T=this.j=null}function sa(a){if(a.m)throw new TypeError("Generator is already running");a.m=!0}ra.prototype.L=function(a){this.h=a};function ta(a,b){a.j={TK:b,HM:!0};a.g=a.s||a.o}
12ra.prototype.return=function(a){this.j={return:a};this.g=this.o};function p(a,b,c){a.g=c;return{value:b}}ra.prototype.ua=function(a){this.g=a};function ua(a){a.g=0}function va(a,b,c){a.s=b;void 0!=c&&(a.o=c)}function wa(a,b){a.s=0;a.o=b||0}function xa(a,b,c){a.g=b;a.s=c||0}function ya(a,b){a.s=b||0;b=a.j.TK;a.j=null;return b}function Ba(a){a.T=[a.j];a.s=0;a.o=0}function Ca(a,b){var c=a.T.splice(0)[0];
12(c=a.j=a.j||c)?c.HM?a.g=a.s||a.o:void 0!=c.ua&&a.o<c.ua?(a.g=c.ua,a.j=null):a.g=a.o:a.g=b}
13function daa(a){this.g=new ra;this.h=a}function eaa(a,b){sa(a.g);var c=a.g.l;if(c)return Da(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Ea(a)}function Da(a,b,c,d){try{var e=b.call(a.g.l,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.m=!1,e;var f=e.value}catch(g){return a.g.l=null,ta(a.g,g),Ea(a)}a.g.l=null;d.call(a.g,f);return Ea(a)}
14function Ea(a){for(;a.g.g;)try{var b=a.h(a.g);if(b)return a.g.m=!1,{value:b.value,done:!1}}catch(c){a.g.h=void 0,ta(a.g,c)}a.g.m=!1;if(a.g.j){b=a.g.j;a.g.j=null;if(b.HM)throw b.TK;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
15function faa(a){this.next=function(b){sa(a.g);a.g.l?b=Da(a,a.g.l.next,b,a.g.L):(a.g.L(b),b=Ea(a));return b};this.throw=function(b){sa(a.g);a.g.l?b=Da(a,a.g.l["throw"],b,a.g.L):(ta(a.g,b),b=Ea(a));return b};this.return=function(b){return eaa(a,b)};ia();this[Symbol.iterator]=function(){return this}}
16function gaa(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})}function r(a){return gaa(new faa(new daa(a)))}function Fa(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
17qa("WeakMap",function(a){function b(l){this.g=(k+=Math.random()+1).toString();if(l){l=m(l);for(var n;!(n=l.next()).done;)n=n.value,this.set(n[0],n[1])}}function c(){}function d(l){var n=typeof l;return"object"===n&&null!==l||"function"===n}function e(l){if(!Fa(l,g)){var n=new c;ca(l,g,{value:n})}}function f(l){var n=Object[l];n&&(Object[l]=function(q){if(q instanceof c)return q;e(q);return n(q)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),n=Object.seal({}),q=new a([[l,2],
18[n,3]]);if(2!=q.get(l)||3!=q.get(n))return!1;q.delete(l);q.set(n,4);return!q.has(l)&&4==q.get(n)}catch(t){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var k=0;b.prototype.set=function(l,n){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!Fa(l,g))throw Error("WeakMap key fail: "+l);l[g][this.g]=n;return this};b.prototype.get=function(l){return d(l)&&Fa(l,g)?l[g][this.g]:void 0};b.prototype.has=function(l){return d(l)&&Fa(l,g)&&Fa(l[g],
19this.g)};b.prototype.delete=function(l){return d(l)&&Fa(l,g)&&Fa(l[g],this.g)?delete l[g][this.g]:!1};return b});
20qa("Map",function(a){function b(){var k={};return k.al=k.next=k.head=k}function c(k,l){var n=k.g;return ja(function(){if(n){for(;n.head!=k.g;)n=n.al;for(;n.next!=n.head;)return n=n.next,{done:!1,value:l(n)};n=null}return{done:!0,value:void 0}})}function d(k,l){var n=l&&typeof l;"object"==n||"function"==n?f.has(l)?n=f.get(l):(n=""+ ++g,f.set(l,n)):n="p_"+l;var q=k.h[n];if(q&&Fa(k.h,n))for(k=0;k<q.length;k++){var t=q[k];if(l!==l&&t.key!==t.key||l===t.key)return{id:n,list:q,index:k,Pe:t}}return{id:n,
21list:q,index:-1,Pe:void 0}}function e(k){this.h={};this.g=b();this.size=0;if(k){k=m(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),l=new a(m([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var n=l.entries(),q=n.next();if(q.done||q.value[0]!=k||"s"!=q.value[1])return!1;q=n.next();return q.done||4!=q.value[0].x||
22"t"!=q.value[1]||!n.next().done?!1:!0}catch(t){return!1}}())return a;ia();var f=new WeakMap;e.prototype.set=function(k,l){k=0===k?0:k;var n=d(this,k);n.list||(n.list=this.h[n.id]=[]);n.Pe?n.Pe.value=l:(n.Pe={next:this.g,al:this.g.al,head:this.g,key:k,value:l},n.list.push(n.Pe),this.g.al.next=n.Pe,this.g.al=n.Pe,this.size++);return this};e.prototype.delete=function(k){k=d(this,k);return k.Pe&&k.list?(k.list.splice(k.index,1),k.list.length||delete this.h[k.id],k.Pe.al.next=k.Pe.next,k.Pe.next.al=k.Pe.al,
23k.Pe.head=null,this.size--,!0):!1};e.prototype.clear=function(){this.h={};this.g=this.g.al=b();this.size=0};e.prototype.has=function(k){return!!d(this,k).Pe};e.prototype.get=function(k){return(k=d(this,k).Pe)&&k.value};e.prototype.entries=function(){return c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return c(this,function(k){return k.key})};e.prototype.values=function(){return c(this,function(k){return k.value})};e.prototype.forEach=function(k,l){for(var n=this.entries(),
24q;!(q=n.next()).done;)q=q.value,k.call(l,q[1],q[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});
25qa("Set",function(a){function b(c){this.pb=new Map;if(c){c=m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.pb.size}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;
25try{var c=Object.seal({x:4}),d=new a(m([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||
26f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;ia();b.prototype.add=function(c){c=0===c?0:c;this.pb.set(c,c);this.size=this.pb.size;return this};b.prototype.delete=function(c){c=this.pb.delete(c);this.size=this.pb.size;return c};b.prototype.clear=function(){this.pb.clear();this.size=0};b.prototype.has=function(c){return this.pb.has(c)};b.prototype.entries=function(){return this.pb.entries()};b.prototype.values=function(){return this.pb.values()};b.prototype.keys=b.prototype.values;
27b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.pb.forEach(function(f){return c.call(d,f,f,e)})};return b});function Ga(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{Jq:e,v:f}}return{Jq:-1,v:void 0}}qa("Array.prototype.findIndex",function(a){return a?a:function(b,c){return Ga(this,b,c).Jq}});
28function Ha(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}qa("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ha(this,b,"endsWith");void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
29qa("Array.prototype.find",function(a){return a?a:function(b,c){return Ga(this,b,c).v}});qa("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ha(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});
30qa("String.prototype.repeat",function(a){return a?a:function(b){var c=Ha(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});qa("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
31qa("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});qa("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Ha(this,b,"includes").indexOf(b,c||0)}});
32function Ia(a,b){ia();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d}qa("Array.prototype.values",function(a){return a?a:function(){return Ia(this,function(b,c){return c})}});qa("Array.prototype.keys",function(a){return a?a:function(){return Ia(this,function(b){return b})}});
33var haa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)Fa(d,e)&&(a[e]=d[e])}return a};qa("Object.assign",function(a){return a||haa});
34qa("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;
34)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});qa("Array.prototype.entries",function(a){return a?a:function(){return Ia(this,function(b,c){return[b,c]})}});
35qa("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});qa("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Fa(b,d)&&c.push(b[d]);return c}});qa("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}});qa("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});
36qa("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Fa(b,d)&&c.push([d,b[d]]);return c}});qa("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});qa("Reflect.ownKeys",function(a){return a?a:function(b){var c=[],d=Object.getOwnPropertyNames(b);b=Object.getOwnPropertySymbols(b);for(var e=0;e<d.length;e++)("jscomp_symbol_"==d[e].substring(0,14)?b:c).push(d[e]);return c.concat(b)}});
37qa("Object.getOwnPropertyDescriptors",function(a){return a?a:function(b){for(var c={},d=Reflect.ownKeys(b),e=0;e<d.length;e++)c[d[e]]=Object.getOwnPropertyDescriptor(b,d[e]);return c}});qa("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;for(var c=[],d=0;d<this.length;d++){var e=this[d];Array.isArray(e)&&0<b?(e=Array.prototype.flat.call(e,b-1),c.push.apply(c,e)):c.push(e)}return c}});
38qa("Array.prototype.flatMap",function(a){return a?a:function(b,c){for(var d=[],e=0;e<this.length;e++){var f=b.call(c,this[e],e,this);Array.isArray(f)?d.push.apply(d,f):d.push(f)}return d}});qa("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});
39qa("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});qa("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});qa("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Ha(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});var Ka=Ka||{},La=this||self;
40function w(a){return void 0!==a}function Ma(a){return"string"==typeof a}function Oa(a){return"number"==typeof a}function Pa(a,b){a=a.split(".");b=b||La;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b}function Qa(){}function Ra(a){a.dE=void 0;a.getInstance=function(){return a.dE?a.dE:a.dE=new a}}
41function Sa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
42else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function Ta(a){return"array"==Sa(a)}function Ua(a){var b=Sa(a);return"array"==b||"object"==b&&"number"==typeof a.length}function Wa(a){return"function"==Sa(a)}function Ya(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function Za(a){return a[$a]||(a[$a]=++iaa)}var $a="closure_uid_"+(1E9*Math.random()>>>0),iaa=0;function jaa(a,b,c){return a.call.apply(a.bind,arguments)}
43function kaa(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function bb(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?bb=jaa:bb=kaa;return bb.apply(null,arguments)}
44function cb(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}var db=Date.now||function(){return+new Date};
45function laa(a){if(La.execScript)La.execScript(a,"JavaScript");else if(La.eval){if(null==eb){try{La.eval("var _evalTest_ = 1;")}catch(d){}if("undefined"!=typeof La._evalTest_){try{delete La._evalTest_}catch(d){}eb=!0}else eb=!1}if(eb)La.eval(a);else{var b=La.document,c=b.createElement("SCRIPT");c.type="text/javascript";c.defer=!1;c.appendChild(b.createTextNode(a));b.head.appendChild(c);b.head.removeChild(c)}}else throw Error("goog.globalEval not available");}var eb=null;
46function fb(a,b){a=a.split(".");var c=La;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&w(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}function x(a,b){function c(){}c.prototype=b.prototype;a.D=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return b.prototype[e].apply(d,g)}};function gb(a){if(Error.captureStackTrace)Error.captureStackTrace(this,gb);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}x(gb,Error);gb.prototype.name="CustomError";var hb;function ib(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");gb.call(this,c+a[d])}x(ib,gb);ib.prototype.name="AssertionError";/*
47 @license
48 Shaka Player
49 Copyright 2016 Google LLC
50 SPDX-License-Identifier: Apache-2.0
51*/
52function jb(a,b){this.g=a;this.h=b}jb.prototype.toString=function(){return"v"+this.g+"."+this.h};function maa(){}function kb(){}function lb(){}function mb(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];nb.has(a)||(nb.add(a),lb.apply(maa,ka(c)))}function naa(){}function ob(){}function oaa(){}function paa(){}var nb=new Set;window.console&&(lb=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return console.warn.apply(console,ka(b))},kb=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];console.error.apply(console,ka(b))});function pb(a,b){var c=new jb(5,0),d=qb,e=d.g,f=c.h-e.h;(0<(c.g-e.g||f)?d.j:d.h)(d.g,c,a,b)}function qaa(a,b,c,d){lb([c,"has been deprecated and will be removed in",b,". We are currently at version",a,". Additional information:",d].join(" "))}function raa(a,b,c,d){kb([c,"has been deprecated and has been removed in",b,". We are now at version",a,". Additional information:",d].join(""))}var qb=null;fb("shaka.config.AutoShowText",{NEVER:0,ALWAYS:1,IF_PREFERRED_TEXT_LANGUAGE:2,IF_SUBTITLES_MAY_BE_NEEDED:3});function rb(a){if(sb.has(a))return sb.get(a);var b=MediaSource.isTypeSupported(a);sb.set(a,b);return b}var sb=new Map;function tb(){}function ub(a,b){if(!a&&!b)return!0;if(!a||!b||a.byteLength!=b.byteLength)return!1;if(vb(a)==vb(b)&&(a.byteOffset||0)==(b.byteOffset||0))return!0;var c=wb(a);b=wb(b);for(var d=0;d<a.byteLength;d++)if(c[d]!=b[d])return!1;return!0}function vb(a){return a instanceof ArrayBuffer?a:a.buffer}function yb(a){return a instanceof ArrayBuffer?a:0==a.byteOffset&&a.byteLength==a.buffer.byteLength?a.buffer:(new Uint8Array(a)).buffer}
53function wb(a,b,c){c=void 0===c?Infinity:c;return zb(a,void 0===b?0:b,c,Uint8Array)}function Ab(a,b,c){c=void 0===c?Infinity:c;return zb(a,void 0===b?0:b,c,DataView)}function zb(a,b,c,d){var e=(a.byteOffset||0)+a.byteLength;b=Math.max(0,Math.min((a.byteOffset||0)+b,e));return new d(vb(a),b,Math.min(b+Math.max(c,0),e)-b)}fb("shaka.util.BufferUtils",tb);tb.toDataView=Ab;tb.toUint8=wb;tb.toArrayBuffer=yb;tb.equal=ub;function Bb(a,b,c,d){for(var e=[],f=3;f<arguments.length;++f)e[f-3]=arguments[f];this.severity=a;this.category=b;this.code=c;this.data=e;this.handled=!1}Bb.prototype.toString=function(){return"shaka.util.Error "+JSON.stringify(this,null,"  ")};fb("shaka.util.Error",Bb);Bb.Severity={RECOVERABLE:1,CRITICAL:2};Bb.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9,ADS:10};
54Bb.Code={UNSUPPORTED_SCHEME:1E3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,MALFORMED_TEST_URI:1008,UNEXPECTED_TEST_REQUEST:1009,ATTEMPTS_EXHAUSTED:1010,SEGMENT_MISSING:1011,INVALID_TEXT_HEADER:2E3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_EXTRACT_CUE_START_TIME:2009,INVA
54LID_MP4_CEA:2010,TEXT_COULD_NOT_GUESS_MIME_TYPE:2011,
55CANNOT_ADD_EXTERNAL_TEXT_TO_SRC_EQUALS:2012,TEXT_ONLY_WEBVTT_SRC_EQUALS:2013,MISSING_TEXT_PLUGIN:2014,CHAPTERS_TRACK_FAILED:2015,CANNOT_ADD_EXTERNAL_THUMBNAILS_TO_SRC_EQUALS:2016,UNSUPPORTED_EXTERNAL_THUMBNAILS_URI:2017,BUFFER_READ_OUT_OF_BOUNDS:3E3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,
56WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,TRANSMUXING_FAILED:3018,CONTENT_TRANSFORMATION_FAILED:3019,UNABLE_TO_GUESS_MANIFEST_TYPE:4E3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,
57DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,RESTRICTIONS_CANNOT_BE_MET:4012,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,
58DASH_XLINK_DEPTH_LIMIT:4028,CONTENT_UNSUPPORTED_BY_BROWSER:4032,CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM:4033,NO_VARIANTS:4036,PERIOD_FLATTENING_FAILED:4037,INCONSISTENT_DRM_ACROSS_PERIODS:4038,HLS_VARIABLE_NOT_FOUND:4039,HLS_MSE_ENCRYPTED_MP2T_NOT_SUPPORTED:4040,HLS_MSE_ENCRYPTED_LEGACY_APPLE_MEDIA_KEYS_NOT_SUPPORTED:4041,NO_WEB_CRYPTO_API:4042,HLS_AES_128_INVALID_IV_LENGTH:4043,HLS_AES_128_INVALID_KEY_LENGTH:4044,CANNOT_ADD_EXTERNAL_THUMBNAILS_TO_LIVE_STREAM:4045,STREAMING_ENGINE_STARTUP_INVALID_STATE:5006,
59NO_RECOGNIZED_KEY_SYSTEMS:6E3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,SERVER_CERTIFICATE_REQUIRED:6015,INIT_DATA_TRANSFORM_ERROR:6016,SERVER_CERTIFICATE_REQUEST_FAILED:6017,
60LOAD_INTERRUPTED:7E3,OPERATION_ABORTED:7001,NO_VIDEO_ELEMENT:7002,OBJECT_DESTROYED:7003,CONTENT_NOT_LOADED:7004,CAST_API_UNAVAILABLE:8E3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9E3,INDEXED_DB_ERROR:9001,DEPRECATED_OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,NO_INIT_DATA_FOR_OFFLINE:9007,
61LOCAL_PLAYER_INSTANCE_REQUIRED:9008,NEW_KEY_OPERATION_NOT_SUPPORTED:9011,KEY_NOT_FOUND:9012,MISSING_STORAGE_CELL:9013,STORAGE_LIMIT_REACHED:9014,DOWNLOAD_SIZE_CALLBACK_ERROR:9015,MODIFY_OPERATION_NOT_SUPPORTED:9016,INDEXED_DB_INIT_TIMED_OUT:9017,CS_IMA_SDK_MISSING:1E4,CS_AD_MANAGER_NOT_INITIALIZED:10001,SS_IMA_SDK_MISSING:10002,SS_AD_MANAGER_NOT_INITIALIZED:10003,CURRENT_DAI_REQUEST_NOT_FINISHED:10004};function Cb(a){return a[a.length-1]}
62var Db=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(Ma(a))return Ma(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Eb=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if(Ma(a))return Ma(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},
63Fb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Ma(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Gb=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f=Ma(a)?a.split(""):a,g=0;g<c;g++)if(g in f){var k=f[g];b.call(void 0,k,g,a)&&(d[e++]=k)}return d},Hb=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=
64a.length,e=Array(d),f=Ma(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Ib=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Ma(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1},Jb=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Ma(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};
65function saa(a,b){var c=0;Fb(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c}function Kb(a,b){a:{for(var c=a.length,d=Ma(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:Ma(a)?a.charAt(b):a[b]}function Nb(a,b){return 0<=Db(a,b)}function Ob(a){if(!Ta(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function Pb(a,b){Nb(a,b)||a.push(b)}function Qb(a,b){b=Db(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c}
66function Rb(a){return Array.prototype.concat.apply([],arguments)}function Sb(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function Tb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Ua(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}function Ub(a,b,c,d){Array.prototype.splice.apply(a,Vb(arguments,1
66))}
67function Vb(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function Wb(a,b){a.sort(b||Yb)}function Yb(a,b){return a>b?1:a<b?-1:0}function taa(a,b){return Rb.apply([],Hb(a,b,void 0))};function Zb(){return!1}function uaa(){return null}function vaa(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};function $b(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function waa(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function ac(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function bc(a,b){return null!==a&&b in a}function cc(a,b){for(var c in a)if(a[c]==b)return!0;return!1}function dc(a){for(var b in a)return!1;return!0}function ec(a,b){b in a&&delete a[b]}function fc(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}
68function gc(a,b){return null!==a&&b in a?a[b]:void 0}function hc(a){var b={},c;for(c in a)b[c]=a[c];return b}function ic(a){var b={},c;for(c in a)b[a[c]]=c;return b}var jc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function kc(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<jc.length;f++)c=jc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}
69function lc(a){var b=arguments.length;if(1==b&&Ta(arguments[0]))return lc.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c}function mc(a){var b=arguments.length;if(1==b&&Ta(arguments[0]))return mc.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};var xaa={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function nc(a,b){this.g=a===oc&&b||"";this.h=pc}nc.prototype.Rk=!0;nc.prototype.fh=function(){return this.g};nc.prototype.toString=function(){return"Const{"+this.g+"}"};function qc(a){return a instanceof nc&&a.constructor===nc&&a.h===pc?a.g:"type_error:Const"}var pc={},oc={},yaa=new nc(oc,"");function rc(){this.h="";this.j=sc}rc.prototype.Rk=!0;rc.prototype.fh=function(){return this.h.toString()};rc.prototype.XD=!0;rc.prototype.g=function(){return 1};function tc(a){if(a instanceof rc&&a.constructor===rc&&a.j===sc)return a.h;Sa(a);return"type_error:TrustedResourceUrl"}var sc={};function uc(a){var b=new rc;b.h=a;return b};function vc(a,b){return 0==a.lastIndexOf(b,0)}function wc(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}function xc(a){return/^[\s\xa0]*$/.test(a)}var yc=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Bc(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")}
70function Cc(a,b){if(b)a=a.replace(Dc,"&amp;").replace(Ec,"&lt;").replace(Fc,"&gt;").replace(Gc,"&quot;").replace(Hc,"&#39;").replace(Ic,"&#0;");else{if(!zaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Dc,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Ec,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Fc,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Gc,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Hc,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ic,"&#0;"))}return a}
71var Dc=/&/g,Ec=/</g,Fc=/>/g,Gc=/"/g,Hc=/'/g,Ic=/\x00/g,zaa=/[\x00&<>"']/;function Jc(a,b){return-1!=a.indexOf(b)}function Kc(a){return Jc(Mc.toLowerCase(),a.toLowerCase())}
72function Nc(a,b){var c=0;a=yc(String(a)).split(".");b=yc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;c=Oc(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||Oc(0==f[2].length,0==g[2].length)||Oc(f[2],g[2]);f=f[3];g=g[3]}while(0==c)}return c}function Oc(a,b){return a<b?-1:a>b?1:0};function Pc(){this.h="";this.j=Qc}Pc.prototype.Rk=!0;Pc.prototype.fh=function(){return this.h.toString()};Pc.prototype.XD=!0;Pc.prototype.g=function(){return 1};function Rc(a){a instanceof Pc&&a.constructor===Pc&&a.j===Qc?a=a.h:(Sa(a),a="type_error:SafeUrl");return a.toString()}
73var Aaa=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,Baa=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i;function Caa(a){a=a.replace(/(%0A|%0D)/g,"");var b=a.match(Baa);b=b&&Aaa.test(b[1]);return Sc(b?a:"about:invalid#zClosurez")}var Daa=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
74function Tc(a){if(a instanceof Pc)return a;a="object"==typeof a&&a.Rk?a.fh():String(a);Daa.test(a)||(a="about:invalid#zClosurez");return Sc(a)}var Qc={};function Sc(a){var b=new Pc;b.h=a;return b}Sc("about:blank");function Uc(){this.g="";this.h=Vc}Uc.prototype.Rk=!0;var Vc={};Uc.prototype.fh=function(){return this.g};function Wc(a){if(a instanceof Uc&&a.constructor===Uc&&a.h===Vc)return a.g;Sa(a);return"type_error:SafeStyle"}function Xc(a){var b=new Uc;b.g=a;return b}var Yc=Xc("");function Zc(a){var b="",c;
74for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Ta(d)?Hb(d,$c).join(" "):$c(d),b+=c+":"+d+";")}return b?Xc(b):Yc}
75function $c(a){if(a instanceof Pc)return'url("'+Rc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof nc)a=qc(a);else{a=String(a);var b=a.replace(ad,"$1").replace(ad,"$1").replace(dd,"url");if(Eaa.test(b)){if(b=!Faa.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&Gaa(a)}a=b?Haa(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new ib("Value does not allow [{;}], got: %s.",[a]);return a}
76function Gaa(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b}var Eaa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,dd=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,ad=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,Faa=/\/\*/;
77function Haa(a){return a.replace(dd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=Tc(d).fh();return c+f+b+f+e})};function ed(){this.g="";this.h=fd}ed.prototype.Rk=!0;var fd={};
78function Iaa(a,b){if(Jc(a,"<"))throw Error("Selector does not allow '<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<c.length;f++){var g=c[f];if(d[g])e.push(d[g]);else if(cc(d,g)&&e.pop()!=g){c=!1;break a}}c=0==e.length}if(!c)throw Error("() and [] in selector must be balanced, got: "+a);b instanceof
79Uc||(b=Zc(b));a=a+"{"+Wc(b).replace(/</g,"\\3C ")+"}";return gd(a)}function Jaa(a){function b(d){Ta(d)?Fb(d,b):c+=hd(d)}var c="";Fb(arguments,b);return gd(c)}ed.prototype.fh=function(){return this.g};function hd(a){if(a instanceof ed&&a.constructor===ed&&a.h===fd)return a.g;Sa(a);return"type_error:SafeStyleSheet"}function gd(a){var b=new ed;b.g=a;return b}var id=gd("");var Mc;a:{var kd=La.navigator;if(kd){var ld=kd.userAgent;if(ld){Mc=ld;break a}}Mc=""}function md(a){return Jc(Mc,a)}function Kaa(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};function od(){return md("Trident")||md("MSIE")}function pd(){return md("Firefox")||md("FxiOS")}function qd(){return md("Safari")&&!(rd()||md("Coast")||md("Opera")||md("Edge")||md("Edg/")||md("OPR")||pd()||md("Silk")||md("Android"))}function rd(){return(md("Chrome")||md("CriOS"))&&!md("Edge")}function sd(){return md("Android")&&!(rd()||pd()||md("Opera")||md("Silk"))}
80function Laa(){function a(e){e=Kb(e,d);return c[e]||""}var b=Mc;if(!od()){b=Kaa(b);var c={};Fb(b,function(e){c[e[0]]=e[1]});var d=cb(bc,c);md("Opera")?a(["Version","Opera"]):md("Edge")?a(["Edge"]):md("Edg/")?a(["Edg"]):rd()&&a(["Chrome","CriOS"])}};function td(){this.h="";this.j=ud;this.u=null}td.prototype.XD=!0;td.prototype.g=function(){return this.u};td.prototype.Rk=!0;td.prototype.fh=function(){return this.h.toString()};function vd(a){if(a instanceof td&&a.constructor===td&&a.j===ud)return a.h;Sa(a);return"type_error:SafeHtml"}function wd(a){if(a instanceof td)return a;var b="object"==typeof a,c=null;b&&a.XD&&(c=a.g());return xd(Cc(b&&a.Rk?a.fh():String(a)),c)}
81var yd=/^[a-zA-Z0-9-]+$/,Maa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Naa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
82function zd(a,b,c){var d=String(a);if(!yd.test(d))throw Error("Invalid tag name <"+d+">.");if(d.toUpperCase()in Naa)throw Error("Tag name <"+d+"> is not allowed for SafeHtml.");a=String(a);d=null;var e="<"+a,f="";if(b)for(n in b){if(!yd.test(n))throw Error('Invalid attribute name "'+n+'".');var g=b[n];if(null!=g){var k=a;var l=n;if(g instanceof nc)g=qc(g);else if("style"==l.toLowerCase()){if(!Ya(g))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof g+
83" given: "+g);g instanceof Uc||(g=Zc(g));g=Wc(g)}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+g+'" given.');
83if(l.toLowerCase()in Maa)if(g instanceof rc)g=tc(g).toString();else if(g instanceof Pc)g=Rc(g);else if(Ma(g))g=Tc(g).fh();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+g+'" given.');}g.Rk&&(g=g.fh());l=l+'="'+Cc(String(g))+'"';f+=" "+l}}var n=e+f;null!=c?Ta(c)||(c=[c]):c=[];
84!0===xaa[a.toLowerCase()]?n+=">":(c=Ad(c),n+=">"+vd(c).toString()+"</"+a+">",d=c.g());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?d=0:d=null);return Bd(n,d)}function Oaa(a){function b(f){Ta(f)?Fb(f,b):(f=wd(f),e.push(vd(f).toString()),f=f.g(),0==d?d=f:0!=f&&d!=f&&(d=null))}var c=wd(Cd),d=c.g(),e=[];Fb(a,b);return xd(e.join(vd(c).toString()),d)}function Ad(a){return Oaa(Array.prototype.slice.call(arguments))}var ud={};function xd(a,b){return Bd(a,b)}
85function Bd(a,b){var c=new td;c.h=a;c.u=b;return c}Bd("<!DOCTYPE html>",0);var Cd=Bd("",0),Paa=Bd("<br>",0);function Dd(a,b){return Bd(a,b||null)};var Qaa=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=vd(Cd);return!b.parentElement});function Ed(a,b){if(Qaa())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=vd(b)}function Fd(a,b){a.src=tc(b).toString()};function Gd(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}function Id(a){return!/[^\t\n\r ]/.test(a)}function Ld(a){return a.replace(/(\r\n|\r|\n)+/g," ")}function Md(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")}function Nd(a){return a.replace(/^[\s\xa0]+/,"")}function Od(a){return encodeURIComponent(String(a))}function Pd(a){return a=Cc(a,void 0)}
86function Qd(a){for(var b=0;2>b;b++){var c="\"'".charAt(b);if(a.charAt(0)==c&&a.charAt(a.length-1)==c)return a.substring(1,a.length-1)}return a}var Rd={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},Sd={"'":"\\'"};function Td(a){return a.replace(new RegExp(Ud(" "),"g"),"_".replace(/\$/g,"$$$$"))}function Ud(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}
87var Raa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function Vd(a,b){a=w(void 0)?a.toFixed(void 0):String(a);var c=a.indexOf(".");-1==c&&(c=a.length);return Raa("0",Math.max(0,b-c))+a}function Xd(a){return null==a?"":String(a)}function Yd(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^db()).toString(36)}var Saa=2147483648*Math.random()|0;function Zd(){return"goog_"+Saa++}
88function $d(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function ae(){return"gridWidth".replace(/([A-Z])/g,"-$1").toLowerCase()}function Taa(a){var b=Ma(void 0)?Ud(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,d,e){return d+e.toUpperCase()})}function be(a){isFinite(a)&&(a=String(a));return Ma(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};function ce(a){if(a.gc&&"function"==typeof a.gc)return a.gc();if(Ma(a))return a.split("");if(Ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b}
89function de(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(Ua(a)||Ma(a))Fb(a,b,void 0);else{if(a.dh&&"function"==typeof a.dh)var c=a.dh();else if(a.gc&&"function"==typeof a.gc)c=void 0;else if(Ua(a)||Ma(a)){c=[];for(var d=a.length,e=0;e<d;e++)c.push(e)}else c=ac(a);d=ce(a);e=d.length;for(var f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)}};var ee="StopIteration"in La?La.StopIteration:{message:"StopIteration",stack:""};function fe(){}fe.prototype.next=function(){throw ee;};fe.prototype.dk=function(){return this};function ge(a){if(a instanceof fe)return a;
89if("function"==typeof a.dk)return a.dk(!1);if(Ua(a)){var b=0,c=new fe;c.next=function(){for(;;){if(b>=a.length)throw ee;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");}
90function je(a,b,c){if(Ua(a))try{Fb(a,b,c)}catch(d){if(d!==ee)throw d;}else{a=ge(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==ee)throw d;}}}function ke(a,b){var c=ge(a);a=new fe;a.next=function(){for(;;){var d=c.next();if(b.call(void 0,d,void 0,c))return d}};return a}function Uaa(a,b){a=ge(a);try{for(;;)if(b.call(void 0,a.next(),void 0,a))return!0}catch(c){if(c!==ee)throw c;}return!1}function Vaa(a){return Waa(arguments)}
91function Waa(a){var b=ge(a);a=new fe;var c=null;a.next=function(){for(;;){if(null==c){var d=b.next();c=ge(d)}try{return c.next()}catch(e){if(e!==ee)throw e;c=null}}};return a}function Xaa(a){try{return ge(a).next()}catch(b){if(b!=ee)throw b;return null}};function le(a,b){this.pb={};this.g=[];this.j=this.h=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof le)for(c=a.dh(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}h=le.prototype;h.yj=function(){return this.h};h.gc=function(){me(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.pb[this.g[b]]);return a};h.dh=function(){me(this);return this.g.concat()};
92h.clear=function(){this.pb={};this.j=this.h=this.g.length=0};h.remove=function(a){return ne(this.pb,a)?(delete this.pb[a],this.h--,this.j++,this.g.length>2*this.h&&me(this),!0):!1};function me(a){if(a.h!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];ne(a.pb,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.h!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],ne(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}}h.get=function(a,b){return ne(this.pb,a)?this.pb[a]:b};
93h.set=function(a,b){ne(this.pb,a)||(this.h++,this.g.push(a),this.j++);this.pb[a]=b};h.forEach=function(a,b){for(var c=this.dh(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};h.clone=function(){return new le(this)};h.sa=function(){me(this);for(var a={},b=0;b<this.g.length;b++){var c=this.g[b];a[c]=this.pb[c]}return a};
94h.dk=function(a){me(this);var b=0,c=this.j,d=this,e=new fe;e.next=function(){if(c!=d.j)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw ee;var f=d.g[b++];return a?f:d.pb[f]};return e};function ne(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var oe=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function pe(a){return a?decodeURI(a):a}function Yaa(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}}
95function qe(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}function re(a,b,c){if(Ta(b))for(var d=0;d<b.length;d++)re(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+Od(b)))}function se(a,b){var c=[];for(b=b||0;b<a.length;b+=2)re(a[b],a[b+1],c);return c.join("&")}
96function te(a){var b=[],c;for(c in a)re(c,a[c],b);return b.join("&")}function Zaa(a,b){var c=2==arguments.length?se(arguments[1],0):se(arguments,1);return qe(a,c)};function ue(a,b){this.h=this.L=this.o="";this.m=null;this.l=this.g="";this.s=this.T=!1;if(a instanceof ue){this.s=w(b)?b:a.s;ve(this,a.o);var c=a.L;we(this);this.L=c;xe(this,a.h);ye(this,a.m);ze(this,a.g);Ae(this,a.j.clone());a=a.l;we(this);this.l=a}else a&&(c=String(a).match(oe))?(this.s=!!b,ve(this,c[1]||"",!0),a=c[2]||"",we(this),this.L=Be(a),xe(this,c[3]||"",!0),ye(this,c[4]),ze(this,c[5]||"",!0),Ae(this,c[6]||"",!0),a=c[7]||"",we(this),this.l=Be(a)):(this.s=!!b,this.j=new Ce(null,this.s))}
97ue.prototype.toString=function(){var a=[],b=this.o;b&&a.push(De(b,Ee,!0),":");var c=this.h;
97if(c||"file"==b)a.push("//"),(b=this.L)&&a.push(De(b,Ee,!0),"@"),a.push(Od(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.m,null!=c&&a.push(":",String(c));if(c=this.g)this.h&&"/"!=c.charAt(0)&&a.push("/"),a.push(De(c,"/"==c.charAt(0)?$aa:aba,!0));(c=this.j.toString())&&a.push("?",c);(c=this.l)&&a.push("#",De(c,bba));return a.join("")};
98ue.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?ve(b,a.o):c=!!a.L;if(c){var d=a.L;we(b);b.L=d}else c=!!a.h;c?xe(b,a.h):c=null!=a.m;d=a.g;if(c)ye(b,a.m);else if(c=!!a.g){if("/"!=d.charAt(0))if(this.h&&!this.g)d="/"+d;else{var e=b.g.lastIndexOf("/");-1!=e&&(d=b.g.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Jc(e,"./")||Jc(e,"/.")){d=vc(e,"/");e=e.split("/");for(var f=[],g=0;g<e.length;){var k=e[g++];"."==k?d&&g==e.length&&f.push(""):".."==k?((1<f.length||1==f.length&&""!=f[0])&&
99f.pop(),d&&g==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?ze(b,d):c=""!==a.j.toString();c?Ae(b,a.j.clone()):c=!!a.l;c&&(a=a.l,we(b),b.l=a);return b};ue.prototype.clone=function(){return new ue(this)};function ve(a,b,c){we(a);a.o=c?Be(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))}function xe(a,b,c){we(a);a.h=c?Be(b,!0):b}function ye(a,b){we(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.m=b}else a.m=null}function ze(a,b,c){we(a);a.g=c?Be(b,!0):b}
100function Ae(a,b,c){we(a);b instanceof Ce?(a.j=b,cba(a.j,a.s)):(c||(b=De(b,dba)),a.j=new Ce(b,a.s))}function Fe(a,b,c){we(a);a.j.set(b,c)}function Ge(a,b,c){we(a);Ta(c)||(c=[String(c)]);He(a.j,b,c)}function Ie(a){we(a);Fe(a,"zx",Yd());return a}ue.prototype.Lg=function(a){this.T=a};function we(a){if(a.T)throw Error("Tried to modify a read-only Uri");}function eba(a){return a instanceof ue?a.clone():new ue(a,void 0)}
101function fba(a,b,c,d){var e=new ue(null,void 0);a&&ve(e,a);b&&xe(e,b);c&&ye(e,c);d&&ze(e,d);return e}function Be(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function De(a,b,c){return Ma(a)?(a=encodeURI(a).replace(b,gba),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function gba(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Ee=/[#\/\?@]/g,aba=/[#\?:]/g,$aa=/[#\?]/g,dba=/[#\?@]/g,bba=/#/g;
102function Ce(a,b){this.h=this.g=null;this.j=a||null;this.o=!!b}function Je(a){a.g||(a.g=new le,a.h=0,a.j&&Yaa(a.j,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}h=Ce.prototype;h.yj=function(){Je(this);return this.h};h.add=function(a,b){Je(this);this.j=null;a=Ke(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};h.remove=function(a){Je(this);a=Ke(this,a);return ne(this.g.pb,a)?(this.j=null,this.h-=this.g.get(a).length,this.g.remove(a)):!1};
103h.clear=function(){this.g=this.j=null;this.h=0};function Le(a,b){Je(a);b=Ke(a,b);return ne(a.g.pb,b)}h.forEach=function(a,b){Je(this);this.g.forEach(function(c,d){Fb(c,function(e){a.call(b,e,d,this)},this)},this)};h.dh=function(){Je(this);for(var a=this.g.gc(),b=this.g.dh(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};h.gc=function(a){Je(this);var b=[];if(Ma(a))Le(this,a)&&(b=Rb(b,this.g.get(Ke(this,a))));else{a=this.g.gc();for(var c=0;c<a.length;c++)b=Rb(b,a[c])}return b};
104h.set=function(a,b){Je(this);this.j=null;a=Ke(this,a);Le(this,a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};h.get=function(a,b){if(!a)return b;a=this.gc(a);return 0<a.length?String(a[0]):b};function He(a,b,c){a.remove(b);0<c.length&&(a.j=null,a.g.set(Ke(a,b),Sb(c)),a.h+=c.length)}
105h.toString=function(){if(this.j)return this.j;if(!this.g)return"";for(var a=[],b=this.g.dh(),c=0;c<b.length;c++){var d=b[c],e=Od(d);d=this.gc(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+Od(d[f]));a.push(g)}}return this.j=a.join("&")};h.clone=function(){var a=new Ce;a.j=this.j;this.g&&(a.g=this.g.clone(),a.h=this.h);return a};function Ke(a,b){b=String(b);a.o&&(b=b.toLowerCase());return b}
106function cba(a,b){b&&!a.o&&(Je(a),a.j=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),He(this,e,c))},a));a.o=b};function Me(a,b){return a.concat(b)}function hba(){}function Ne(a){return null!=a};function Oe(a,b){if(0==b.length)return a;var c=b.map(function(d){return new ue(d)});return a.map(function(d){return new ue(d)}).map(function(d){return c.map(function(e){return d.resolve(e)})}).reduce(Me,[]).map(function(d){return d.toString()})}function Pe(a,b){return{keySystem:a,licenseServerUri:"",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioR
106obustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",sessionType:"",initData:b||[],keyIds:new Set}}
107function Qe(a,b){if(1==b.length)return b[0];a=Re(a,b);if(null!=a)return a;throw new Bb(2,4,4025,b);}function Re(a,b){for(var c=m(iba[a]),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=m(b),f=e.next();!f.done;f=e.next())if(f=f.value,d.test(f.trim()))return f.trim()}return a==Se?"":null}
108var Se="text",Te={ji:"video",pw:"audio",Ne:Se,zs:"image",zaa:"application"},iba={audio:[/^vorbis$/,/^opus$/,/^flac$/,/^mp4a/,/^[ae]c-3$/,/^ac-4$/,/^dts[cex]$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av01/,/^dvhe/],text:[/^vtt$/,/^wvtt/,/^stpp/]};function Ue(){var a,b,c=new Promise(function(d,e){a=d;b=e});c.resolve=a;c.reject=b;return c}Ue.prototype.resolve=function(){};Ue.prototype.reject=function(){};function Ve(a){this.g=a;this.Xd=void 0}Ve.prototype.value=function(){void 0==this.Xd&&(this.Xd=this.g());return this.Xd};Ve.prototype.reset=function(){this.Xd=void 0};function We(a){this.h=a;this.g=null}We.prototype.Hc=function(a){var b=this;this.stop();var c=!0,d=null;this.g=function(){window.clearTimeout(d);c=!1};d=window.setTimeout(function(){c&&b.h()},1E3*a);return this};We.prototype.stop=function(){this.g&&(this.g(),this.g=null)};function Xe(a){this.h=a;this.g=null}Xe.prototype.vg=function(){this.stop();this.h();return this};Xe.prototype.Hc=function(a){var b=this;this.stop();this.g=(new We(function(){b.h()})).Hc(a);return this};Xe.prototype.kf=function(a){var b=this;this.stop();this.g=(new We(function(){b.g.Hc(a);b.h()})).Hc(a);return this};Xe.prototype.stop=function(){this.g&&(this.g.stop(),this.g=null)};fb("shaka.util.Timer",Xe);Xe.prototype.stop=Xe.prototype.stop;Xe.prototype.tickEvery=Xe.prototype.kf;
109Xe.prototype.tickAfter=Xe.prototype.Hc;Xe.prototype.tickNow=Xe.prototype.vg;function Ye(){return window.MediaSource&&MediaSource.isTypeSupported?!0:!1}function $e(a){return""!=af().canPlayType(a)}function bf(){return navigator.userAgent.match(/Edge?\//)?!0:!1}function cf(){return df("Xbox One")}function ef(){return df("Tizen")}function ff(){return df("Web0S")&&df("Chrome/38.0.2125.122 Safari/537.36")}function gf(){return!!navigator.vendor&&navigator.vendor.includes("Apple")&&!ef()&&!df("PC=EOS")&&!df("VirginMedia")&&!kf()&&!df("AFT")}
110function kf(){return df("PlayStation 4")}function lf(){if(!gf())return null;var a=navigator.userAgent.match(/Version\/(\d+)/);return a?parseInt(a[1],10):(a=navigator.userAgent.match(/OS (\d+)(?:_\d+)?/))?parseInt(a[1],10):null}function df(a){return(navigator.userAgent||"").includes(a)}function af(){if(mf)return mf;nf||(nf=new Xe(function(){mf=null}));(mf=document.getElementsByTagName("video")[0]||document.getElementsByTagName("audio")[0])||(mf=document.createElement("video"));nf.Hc(1);return mf}
111var nf=null,mf=null;function of(){}
112function pf(a){if(!a)return"";a=wb(a);239==a[0]&&187==a[1]&&191==a[2]&&(a=a.subarray(3));if(window.TextDecoder&&!kf())return a=(new TextDecoder).decode(a),a.includes("\ufffd")&&kb('Decoded string contains an "unknown character" codepoint.  That probably means the UTF8 encoding was incorrect!'),a;for(var b="",c=0;c<a.length;++c){var d=65533;0==(a[c]&128)?d=a[c]:a.length>=c+2&&192==(a[c]&224)&&128==(a[c+1]&192)?(d=(a[c]&31)<<6|a[c+1]&63,c+=1):a.length>=c+3&&224==(a[c]&240)&&128==(a[c+1]&192)&&128==
113(a[c+2]&192)?(d=(a[c]&15)<<12|(a[c+1]&63)<<6|a[c+2]&63,c+=2):a.length>=c+4&&240==(a[c]&241)&&128==(a[c+1]&192)&&128==(a[c+2]&192)&&128==(a[c+3]&192)&&(d=(a[c]&7)<<18|(a[c+1]&63)<<12|(a[c+2]&63)<<6|a[c+3]&63,c+=3);if(65535>=d)b+=String.fromCharCode(d);else{d-=65536;var e=d&1023;b+=String.fromCharCode(55296+(d>>10));b+=String.fromCharCode(56320+e)}}return b}
114function qf(a,b,c){if(!a)return"";if(!c&&0!=a.byteLength%2)throw new Bb(2,2,2004);c=Math.floor(a.byteLength/2);var d=new Uint16Array(c);a=Ab(a);for(var e=0;e<c;e++)d[e]=a.getUint16(2*e,b);return rf.value()(d)}
115function sf(a){function b(d){return c.byteLength<=d||32<=c[d]&&126>=c[d]}if(!a)return"";var c=wb(a);if(239==c[0]&&187==c[1]&&191==c[2])return pf(c);if(254==c[0]&&255==c[1])return qf(c.subarray(2),!1);if(255==c[0]&&254==c[1])return qf(c.subarray(2),!0);if(0==c[0]&&0==c[2])return qf(a,!1);if(0==c[1]&&0==c[3])return qf(a,!0);if(b(0)&&b(1)&&b(2)&&b(3))return pf(a);throw new Bb(2,2,2003);}
116function tf(a){if(window.TextEncoder&&!kf()){var b=new TextEncoder;
116return yb(b.encode(a))}a=encodeURIComponent(a);a=unescape(a);b=new Uint8Array(a.length);for(var c=0;c<a.length;c++)b[c]=a[c].charCodeAt(0);return yb(b)}function uf(a,b){for(var c=new ArrayBuffer(2*a.length),d=new DataView(c),e=0;e<a.length;++e)d.setUint16(2*e,a.charCodeAt(e),b);return c}fb("shaka.util.StringUtils",of);of.resetFromCharCode=function(){rf.reset()};of.toUTF16=uf;of.toUTF8=tf;of.fromBytesAutoDetect=sf;of.fromUTF16=qf;
117of.fromUTF8=pf;var rf=new Ve(function(){function a(c){try{var d=new Uint8Array(c);return 0<String.fromCharCode.apply(null,d).length}catch(e){return!1}}for(var b={Nl:65536};0<b.Nl;b={Nl:b.Nl},b.Nl/=2)if(a(b.Nl))return function(c){return function(d){for(var e="",f=0;f<d.length;f+=c.Nl)e+=String.fromCharCode.apply(null,d.subarray(f,f+c.Nl));return e}}(b);return null});function vf(){}function wf(a){a=wb(a);a=rf.value()(a);return btoa(a)}function xf(a,b){b=void 0==b?!0:b;a=wf(a).replace(/\+/g,"-").replace(/\//g,"_");return b?a:a.replace(/[=]*$/,"")}function yf(a){a=window.atob(a.replace(/-/g,"+").replace(/_/g,"/"));for(var b=new Uint8Array(a.length),c=0;c<a.length;++c)b[c]=a.charCodeAt(c);return b}function zf(a){for(var b=a.length/2,c=new Uint8Array(b),d=0;d<b;d++)c[d]=window.parseInt(a.substr(2*d,2),16);return c}
118function Af(a){var b=wb(a);a="";b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c=c.toString(16),1==c.length&&(c="0"+c),a+=c;return a}function Bf(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];var d=0,e=m(b);for(c=e.next();!c.done;c=e.next())d+=c.value.byteLength;d=new Uint8Array(d);e=0;b=m(b);for(c=b.next();!c.done;c=b.next())c=c.value,d.set(wb(c),e),e+=c.byteLength;return d}fb("shaka.util.Uint8ArrayUtils",vf);vf.concat=Bf;vf.toHex=Af;vf.fromHex=zf;vf.fromBase64=yf;
119vf.toBase64=xf;vf.toStandardBase64=wf;function Cf(){}fb("shaka.dependencies",Cf);Cf.has=function(a){return Df.has(a)};Cf.add=function(a,b){if(!Ef[a])throw Error(a+" is not supported");Df.set(a,function(){return b})};var Ef={muxjs:"muxjs"};Cf.Allowed=Ef;var Df=new Map([["muxjs",function(){return window.muxjs}]]);function Ff(a){var b=this;this.m=a;this.s=Df.get("muxjs")();this.h=this.g=null;this.l=[];this.j=[];this.o=!1;this.s&&(this.g=new this.s.mp4.Transmuxer({keepOriginalTimestamps:!0}),this.g.on("data",function(c){b.j=c.captions;b.l.push(Bf(c.initSegment,c.data))}),this.g.on("done",function(){var c={data:Bf.apply(vf,ka(b.l)),captions:b.j};b.h.resolve(c);b.o=!1}))}Ff.prototype.destroy=function(){this.g&&this.g.dispose();this.g=null;return Promise.resolve()};
120function Gf(a,b){var c=Hf(a),d="audio/aac"==a.toLowerCase().split(";")[0];if(!Df.get("muxjs")()||!c&&!d)return!1;if(d)return rb('audio/mp4; codecs="mp4a.40.2"');if(b)return rb(If(b,a));b=If("audio",a);a=If("video",a);return rb(b)||rb(a)}function Hf(a){return"mp2t"==a.toLowerCase().split(";")[0].split("/")[1]}function Jf(a,b){return"audio/aac"==b.toLowerCase().split(";")[0]?'audio/mp4; codecs="mp4a.40.2"':Hf(b)?If(a,b):b}
121function If(a,b){b=b.replace(/mp2t/i,"mp4");"audio"==a&&(b=b.replace("video","audio"));if(a=/avc1\.(66|77|100)\.(\d+)/.exec(b)){var c="avc1.",d=a[1],e=Number(a[2]);c=("66"==d?c+"4200":"77"==d?c+"4d00":c+"6400")+(e>>4).toString(16);c+=(e&15).toString(16);b=b.replace(a[0],c)}return b}function jba(a,b){a.o=!0;a.h=new Ue;a.l=[];a.j=[];b=wb(b);a.g.push(b);a.g.flush();a.o&&a.h.reject(new Bb(2,3,3018));return a.h};function Kf(){}function Lf(a,b){b&&(a+='; codecs="'+b+'"');return a}function Nf(a,b,c){b=Lf(a,b);return Gf(b,c)?Jf(c,b):"video/mp2t"!=a&&"audio"==c?b.replace("video","audio"):b}
122function Of(a){var b=Pf(a);a=b[0];b=b[1].toLowerCase();switch(!0){case "mp4a"===a&&"69"===b:case "mp4a"===a&&"6b"===b:return"mp3";case "mp4a"===a&&"66"===b:case "mp4a"===a&&"67"===b:case "mp4a"===a&&"68"===b:case "mp4a"===a&&"40.2"===b:case "mp4a"===a&&"40.02"===b:case "mp4a"===a&&"40.5"===b:case "mp4a"===a&&"40.05"===b:case "mp4a"===a&&"40.29"===b:case "mp4a"===a&&"40.42"===b:return"aac";case "mp4a"===a&&"a5"===b:return"ac-3";case "mp4a"===a&&"a6"===b:return"ec-3";case "mp4a"===a&&"b2"===b:return"dtsx";
123case "mp4a"===a&&"a9"===b:return"dtsc";case "avc1"===a:case "avc3"===a:return"avc";case "hvc1"===a:case "hev1"===a:return"hevc";case "dvh1"===a:case "dvhe"===a:return"dovi"}return a}function Qf(a){a=a.split(/ *; */);a.shift();return(a=a.find(function(b){return b.startsWith("codecs=")}))?a.split("=")[1].replace(/^"|"$/g,""):""}function Pf(a){a=a.split(".");var b=a[0];a.shift();return[b,a.join(".")]}fb("shaka.util.MimeUtils",Kf);Kf.getFullType=Lf;
124(new Map).set("codecs","codecs").set("frameRate","framerate").set("bandwidth","bitrate").set("width","width").set("height","height").set("channelsCount","channels");function Rf(a,b){this.g=a;this.h=new Set([a]);b=b||[];a=m(b);for(b=a.next();!b.done;b=a.next())this.add(b.value)}Rf.prototype.add=function(a){return Sf(this.g,a)?(this.h.add(a),!0):!1};
125function Sf(a,b){var c;if(!(c=!!a.audio!=!!b.audio||!!a.video!=!!b.video||a.language!=b.language)&&(c=a.audio&&b.audio)){c=a.audio;var d=b.audio;c=!((!(!c.channelsCount||!d.channelsCount||2<c.channelsCount||2<d.channelsCount)||c.channelsCount==d.channelsCount)&&Tf(c,d)&&Uf(c.roles,d.roles))}!c&&(c=a.video&&b.video)&&(a=a.video,b=b.video,c=!(Tf(a,b)&&Uf(a.roles,b.roles)));return c?!1:!0}Rf.prototype.values=function(){return this.h.values()};
126function Tf(a,b){if(a.mimeType!=b.mimeType)return!1;a=a.codecs.split(",").map(function(d){return Pf(d)[0]});b=b.codecs.split(",").map(function(d){return Pf(d)[0]});if(a.length!=b.length)return!1;a.sort();b.sort();for(var c=0;c<a.length;c++)if(a[c]!=b[c])return!1;return!0}function Uf(a,b){a=new Set(a);b=new Set(b);a.delete("main");b.delete("main");if(a.size!=b.size)return!1;a=m(a);for(var c=a.next();!c.done;c=a.next())if(!b.has(c.value))return!1;return!0};function Vf(){}function Wf(a,b){a=Xf(a);b=Xf(b);return a.split("-")[0]==b.split("-")[0]}function Yf(a,b){a=Xf(a);b=Xf(b);a=a.split("-");b=b.split("-");return a[0]==b[0]&&1==a.length&&2==b.length}function Zf(a,b){a=Xf(a);b=Xf(b);a=a.split("-");b=b.split("-");return 2==a.length&&2==b.length&&a[0]==b[0]}function Xf(a){var b=a.split("-");a=b[0]||"";b=b[1]||"";a=a.toLowerCase();a=$f.get(a)||a;return(b=b.toUpperCase())?a+"-"+b:a}function ag(a,b){var c=bg(a),d=bg(b);return a!=c&&b!=d&&c==d}
127function cg(a,b){a=Xf(a);b=Xf(b);return b==a?4:Yf(b,a)?3:Zf(b,a)?2:Yf(a,b)?1:0}function bg(a){var b=a.indexOf("-");a=0<=b?a.substring(0,b):a;a=a.toLowerCase();return a=$f.get(a)||a}function dg(a){return a.language?Xf(a.language):a.audio&&a.audio.language?Xf(a.audio.language):a.video&&a.video.language?Xf(a.video.language):"und"}
128function eg(a,b){a=Xf(a);var c=new Set,d=m(b);for(b=d.next();!b.done;b=d.next())c.add(Xf(b.value));d=m(c);for(b=d.next();!b.done;b=d.next())if(b=b.value,b==a)return b;d=m(c);for(b=d.next();!b.done;b=d.next())if(b=b.value,Yf(b,a))return b;d=m(c);for(b=d.next();!b.done;b=d.next())if(b=b.value,Zf(b,a))return b;c=m(c);for(b=c.next();!b.done;b=c.next())if(b=b.value,Yf(a,b))return b;return null}fb("shaka.util.LanguageUtils",Vf);Vf.findClosestLocale=eg;Vf.getLocaleForVariant=dg;
129Vf.getLocaleForText=function(a){return Xf(a.language||"und")};Vf.getBase=bg;Vf.relatedness=cg;Vf.areSiblings=ag;Vf.normalize=Xf;Vf.isSiblingOf=Zf;Vf.isParentOf=Yf;Vf.areLanguageCompatible=Wf;Vf.areLocaleCompatible=function(a,b){a=Xf(a);b=Xf(b);return a==b};
130var $f=new Map([["aar","aa"],["abk","ab"],["afr","af"],["aka","ak"],["alb","sq"],["amh","am"],["ara","ar"],["arg","an"],["arm","hy"],["asm","as"],["ava","av"],["ave","ae"],["aym","ay"],["aze","az"],["bak","ba"],["bam","bm"],["baq","eu"],["bel","be"],["ben","bn"],["bih","bh"],["bis","bi"],["bod","bo"],["bos","bs"],["bre","br"],["bul","bg"],["bur","my"],["cat","ca"],["ces","cs"],["cha","ch"],["che","ce"],["chi","zh"],["chu","cu"],["chv","cv"],["cor","kw"],["cos","co"],["cre","cr"],["cym","cy"],["cze",
131"cs"],["dan","da"],["deu","de"],["div","dv"],["dut","nl"],["dzo","dz"],["ell","el"],["eng","en"],["epo","eo"],["est","et"],["eus","eu"],["ewe","ee"],["fao","fo"],["fas","fa"],["fij","fj"],["fin","fi"],["fra","fr"],["fre","fr"],["fry","fy"],["ful","ff"],["geo","ka"],["ger","de"],["gla","gd"],["gle","ga"],["glg","gl"],["glv","gv"],["gre","el"],["grn","gn"],["guj","gu"],["hat","ht"],["hau","ha"],["heb","he"],["her","hz"],["hin","hi"],["hmo","ho"],["hrv","hr"],["hun","hu"],["hye","hy"],["ibo","ig"],["ice",
132"is"],["ido","io"],["iii","ii"],["iku","iu"],["ile","ie"],["ina","ia"],["ind","id"],["ipk","ik"],["isl","is"],["ita","it"],["jav","jv"],["jpn","ja"],["kal","kl"],["kan","kn"],["kas","ks"],["kat","ka"],["kau","kr"],["kaz","kk"],["khm","km"],["kik","ki"],["kin","rw"],["kir","ky"],["kom","kv"],["kon","kg"],["kor","ko"],["kua","kj"],["kur","ku"],["lao","lo"],["lat","la"],["lav","lv"],["lim","li"],["lin","ln"],["lit","lt"],["ltz","lb"],["lub","lu"],["lug","lg"],["mac","mk"],["mah","mh"],["mal","ml"],["mao",
133"mi"],["mar","mr"],["may","ms"],["mkd","mk"],["mlg","mg"],["mlt","mt"],["mon","mn"],["mri","mi"],["msa","ms"],["mya","my"],["nau","na"],["nav","nv"],["nbl","nr"],["nde","nd"],["ndo","ng"],["nep","ne"],["nld","nl"],["nno","nn"],["nob","nb"],["nor","no"],["nya","ny"],["oci","oc"],["oji","oj"],["ori","or"],["orm","om"],["oss","os"],["pan","pa"],["per","fa"],["pli","pi"],["pol","pl"],["por","pt"],["pus","ps"],["que","qu"],["roh","rm"],["ron","ro"],["rum","ro"],["run","rn"],["rus","ru"],["sag","sg"],["san",
134"sa"],["sin","si"],["slk","sk"],["slo","sk"],["slv","sl"],["sme","se"],["smo","sm"],["sna","sn"],["snd","sd"],["som","so"],["sot","st"],["spa","es"],["sqi","sq"],["srd","sc"],["srp","sr"],["ssw","ss"],["sun","su"],["swa","sw"],["swe","sv"],["tah","ty"],["tam","ta"],["tat","tt"],["tel","te"],["tgk","tg"],["tgl","tl"],["tha","th"],["tib","bo"],["tir","ti"],["ton","to"],["tsn","tn"],["tso","ts"],["tuk","tk"],["tur","tr"],["twi","tw"],["uig","ug"],["ukr","uk"],["urd","ur"],["uzb","uz"],["ven","ve"],["vie",
135"vi"],["vol","vo"],["wel","cy"],["wln","wa"],["wol","wo"],["xho","xh"],["yid","yi"],["yor","yo"],["zha","za"],["zho","zh"],["zul","zu"]]);function fg(a,b){return"number"===typeof a&&"number"===typeof b&&isNaN(a)&&isNaN(b)?!0:a===b}function gg(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)}function hg(a,b,c){c||(c=fg);if(a.length!=b.length)return!1;b=b.slice();var d={};a=m(a);for(var e=a.next();!e.done;d={lB:d.lB},e=a.next()){d.lB=e.value;e=b.findIndex(function(f){return function(g){return c(f.lB,g)}}(d));if(-1==e)return!1;b[e]=b[b.length-1];b.pop()}return 0==b.length}
136function ig(a,b,c){c||(c=fg);if(a.length!=b.length)return!1;for(var d=0;d<a.length;d++)if(!c(a[d],b[d]))return!1;return!0};function jg(a,b,c){this.startTime=a;this.direction=kg;this.endTime=b;this.payload=c;this.region=new og;this.position=null;this.positionAlign=pg;this.size=0;this.textAlign=qg;this.writingMode=rg;this.lineInterpretation=sg;this.line=null;this.lineHeight="";this.lineAlign=tg;this.displayAlign=ug;this.fontSize=this.textStrokeWidth=this.textStrokeColor=this.textShadow=this.border=this.backgroundImage=this.backgroundColor=this.color="";this.fontWeight=vg;this.fontStyle=wg;this.linePadding=this.letterSpacing=
137this.fontFamily="";this.opacity=1;this.textDecoration=[];this.wrapLine=!0;this.id="";this.nestedCues=[];this.lineBreak=this.isContainer=!1;this.cellResolution={columns:32,rows:15}}jg.prototype.clone=function(){var a=new jg(0,0,""),b;for(b in this)a[b]=this[b],a[b]&&a[b].constructor==Array&&(a[b]=a[b].slice());return a};
138function xg(a,b){if(a.startTime!=b.startTime||a.endTime!=b.endTime||a.payload!=b.payload)return!1;for(var c in a)if("startTime"!=c&&"endTime"!=c&&"payload"!=c)if("nestedCues"==c){if(!ig(a.nestedCues,b.nestedCues,xg))return!1}else if("region"==c||"cellResolution"==c)for(var d in a[c]){if(a[c][d]!=b[c][d])return!1}else if(Array.isArray(a[c])){if(!ig(a[c],b[c]))return!1}else if(a[c]!=b[c])return!1;return!0}fb("shaka.text.Cue",jg);var pg="auto";
139jg.positionAlign={LEFT:"line-left",RIGHT:"line-right",CENTER:"center",AUTO:pg};var qg="center",yg={LEFT:"left",RIGHT:"right",CENTER:qg,START:"start",END:"end"};jg.textAlign=yg;var ug="after",zg={BEFORE:"before",CENTER:"center",AFTER:ug};jg.displayAlign=zg;var kg="ltr";jg.direction={HORIZONTAL_LEFT_TO_RIGHT:kg,HORIZONTAL_RIGHT_TO_LEFT:"rtl"};var rg="horizontal-tb";jg.writingMode={HORIZONTAL_TOP_TO_BOTTOM:rg,VERTICAL_LEFT_TO_RIGHT:"vertical-lr",VERTICAL_RIGHT_TO_LEFT:"vertical-rl"};var sg=0;
140jg.lineInterpretation={LINE_NUMBER:sg,PERCENTAGE:1};var tg="start",Ag={CENTER:"center",START:tg,END:"end"};jg.lineAlign=Ag;var Bg={white:"#FFF",lime:"#0F0",cyan:"#0FF",red:"#F00",yellow:"#FF0",magenta:"#F0F",blue:"#00F",black:"#000"};jg.defaultTextColor=Bg;var Cg={bg_white:"#FFF",bg_lime:"#0F0",bg_cyan:"#0FF",bg_red:"#F00",bg_yellow:"#FF0",bg_magenta:"#F0F",bg_blue:"#00F",bg_black:"#000"};
140jg.defaultTextBackgroundColor=Cg;var vg=400;jg.fontWeight={NORMAL:vg,BOLD:700};
141var wg="normal",Dg={NORMAL:wg,ITALIC:"italic",OBLIQUE:"oblique"};jg.fontStyle=Dg;jg.textDecoration={UNDERLINE:"underline",LINE_THROUGH:"lineThrough",OVERLINE:"overline"};function og(){this.id="";this.regionAnchorY=this.regionAnchorX=this.viewportAnchorY=this.viewportAnchorX=0;this.height=this.width=100;this.viewportAnchorUnits=this.widthUnits=this.heightUnits=Fg;this.scroll=Gg}fb("shaka.text.CueRegion",og);var Fg=1;og.units={PX:0,PERCENTAGE:Fg,LINES:2};var Gg="";og.scrollMode={NONE:Gg,UP:"up"};function Hg(a){this.s=null;this.j=a;this.u=!1;this.o=this.L=0;this.l=Infinity;this.h=this.g=null;this.T="";this.m=new Map}function Ig(a){return Jg[a]||"application/cea-608"==a||"application/cea-708"==a?!0:!1}Hg.prototype.destroy=function(){this.j=this.s=null;this.m.clear();return Promise.resolve()};
142function kba(a,b,c,d){var e,f,g,k;return r(function(l){if(1==l.g)return p(l,Promise.resolve(),2);if(!a.s||!a.j)return l.return();if(null==c||null==d)return a.s.parseInit(wb(b)),l.return();e=a.u?c:a.L;f={periodStart:a.L,segmentStart:c,segmentEnd:d,vttOffset:e};g=a.s.parseMedia(wb(b),f);k=g.filter(function(n){return n.startTime>=a.o&&n.startTime<a.l});a.j.append(k);null==a.g&&(a.g=Math.max(c,a.o));a.h=Math.min(d,a.l);ua(l)})}
143Hg.prototype.remove=function(a,b){var c=this;return r(function(d){if(1==d.g)return p(d,Promise.resolve(),2);!c.j||!c.j.remove(a,b)||null==c.g||b<=c.g||a>=c.h||(a<=c.g&&b>=c.h?c.g=c.h=null:a<=c.g&&b<c.h?c.g=b:a>c.g&&b>=c.h&&(c.h=a));ua(d)})};function lba(a,b,c){a.o=b;a.l=c}function Kg(a,b,c){a.T=b;if(b=a.m.get(b))for(var d=m(b.keys()),e=d.next();!e.done;e=d.next())(e=b.get(e.value).filter(function(f){return f.endTime<=c}))&&a.j.append(e)}
144function mba(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({stream:c.stream,cue:new jg(c.startTime,c.endTime,c.text)});return b}function Lg(a,b,c){b.startTime+=c;b.endTime+=c;b=m(b.nestedCues);for(var d=b.next();!d.done;d=b.next())Lg(a,d.value,c)}
145function Mg(a,b,c,d,e){var f=c+" "+d,g=new Map;b=m(b);for(var k=b.next();!k.done;k=b.next()){var l=k.value;k=l.stream;l=l.cue;g.has(k)||g.set(k,new Map);g.get(k).has(f)||g.get(k).set(f,[]);Lg(a,l,e);l.startTime>=a.o&&l.startTime<a.l&&(g.get(k).get(f).push(l),k==a.T&&a.j.append([l]))}e=m(g.keys());for(f=e.next();!f.done;f=e.next())for(f=f.value,a.m.has(f)||a.m.set(f,new Map),b=m(g.get(f).keys()),k=b.next();!k.done;k=b.next())k=k.value,l=g.get(f).get(k),a.m.get(f).set(k,l);a.g=null==a.g?Math.max(c,
146a.o):Math.min(a.g,Math.max(c,a.o));a.h=Math.max(a.h,Math.min(d,a.l))}fb("shaka.text.TextEngine",Hg);Hg.prototype.destroy=Hg.prototype.destroy;Hg.findParser=function(a){return Jg[a]};Hg.unregisterParser=function(a){delete Jg[a]};Hg.registerParser=function(a,b){Jg[a]=b};var Jg={};function Ng(){this.pb={}}h=Ng.prototype;h.push=function(a,b){this.pb.hasOwnProperty(a)?this.pb[a].push(b):this.pb[a]=[b]};h.get=function(a){return(a=this.pb[a])?a.slice():null};h.remove=function(a,b){a in this.pb&&(this.pb[a]=this.pb[a].filter(function(c){return c!=b}),0==this.pb[a].length&&delete this.pb[a])};h.clear=function(){this.pb={}};h.forEach=function(a){for(var b in this.pb)a(b,this.pb[b])};h.size=function(){return Object.keys(this.pb).length};h.keys=function(){return Object.keys(this.pb)};function Og(a,b,c,d,e){var f=a.variants;if(b.length||c.length)f=nba(f,b,c);f=Pg(f,d);b=oba(f);b=pba(b);var g=qba(b,e);a.variants=a.variants.filter(function(k){return Qg(k)==g?!0:!1})}function oba(a){var b=new Ng;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=Qg(c);b.push(d,c)}return b}
147function pba(a){var b=0,c=new Map,d=a.size();a.forEach(function(e,f){f=m(f);for(var g=f.next();!g.done;g=f.next()){g=g.value;var k=g.video;if(k&&k.width&&k.height){k=k.width*k.height*(k.frameRate||1);c.has(k)||c.set(k,new Ng);var l=c.get(k);l.push(e,g);l.size()===d&&(b=Math.max(b,k))}}});return b?c.get(b):a}
148function nba(a,b,c){var d={};b=m(b);for(var e=b.next();!e.done;d={xB:d.xB},e=b.next())if(d.xB=e.value,e=a.filter(function(f){return function(g){return g.video&&g.video.codecs.startsWith(f.xB)}}(d)),e.length){a=e;break}d={};c=m(c);for(b=c.next();!b.done;d={gB:d.gB},b=c.next())if(d.gB=b.value,b=a.filter(function(f){return function(g){return g.audio&&g.audio.codecs.startsWith(f.gB)}}(d)),b.length){a=b;break}return a}
149function qba(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c==rba||c==sba){if(a=tba(a,c),1==a.size())return a.keys()[0]}else if(c==uba)break;return vba(a)}function tba(a,b){var c=0,d=new Ng;a.forEach(function(e,f){for(var g=0,k=0,l=m(f),n=l.next();!n.done;
149n=l.next())n=n.value,n.decodingInfos.length&&(g+=n.decodingInfos[0][b]?1:0,k++);g/=k;g>c?(d.clear(),d.push(e,f),c=g):g==c&&d.push(e,f)});return d}
150function vba(a){var b="",c=Infinity;a.forEach(function(d,e){var f=0,g=0;e=m(e);for(var k=e.next();!k.done;k=e.next())f+=k.value.bandwidth||0,++g;f/=g;f<c&&(b=d,c=f)});return b}function Qg(a){var b="";a.video&&(b=Of(a.video.codecs));var c="";a.audio&&(c=Of(a.audio.codecs));return b+"-"+c}function wba(a,b,c){a.variants=a.variants.filter(function(d){return Rg(d,b,c)})}
151function Rg(a,b,c){function d(f,g,k){return f>=g&&f<=k}var e=a.video;if(0!=a.disabledUntilTime){if(a.disabledUntilTime>Date.now()/1E3)return!1;a.disabledUntilTime=0}return e&&e.width&&e.height&&(!d(e.width,b.minWidth,Math.min(b.maxWidth,c.width))||!d(e.height,b.minHeight,Math.min(b.maxHeight,c.height))||!d(e.width*e.height,b.minPixels,b.maxPixels))||a&&a.video&&a.video.frameRate&&!d(a.video.frameRate,b.minFrameRate,b.maxFrameRate)||!d(a.bandwidth,b.minBandwidth,b.maxBandwidth)?!1:!0}
152function Sg(a,b,c){var d=!1;a=m(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=e.allowedByApplication;e.allowedByApplication=Rg(e,b,c);f!=e.allowedByApplication&&(d=!0)}return d}function xba(a,b){return r(function(c){if(1==c.g)return p(c,Tg(b,0<b.offlineSessionIds.length),2);Ug(a,b);yba(b);return p(c,zba(b),0)})}
153function Tg(a,b){return r(function(c){if(1==c.g)return p(c,Vg(a.variants,b,!1),2);a.variants=a.variants.filter(function(d){var e=d.video;if(e){var f=Wg(e.codecs);if(e.codecs.includes(",")){var g=e.codecs.split(",");f=Qe("video",g);f=Wg(f);g=Qe("audio",g);g=Yg(g);var k=Nf(e.mimeType,g,"audio");if(!rb(k))return!1;f=[f,g].join()}g=Nf(e.mimeType,f,"video");if(!rb(g))return!1;e.codecs=f}if(f=d.audio){g=Yg(f.codecs);k=Nf(f.mimeType,g,"audio");if(!rb(k))return!1;f.codecs=g}if(cf()&&e&&(e.width&&1920<e.width||
154e.height&&1080<e.height)&&(e.codecs.includes("avc1.")||e.codecs.includes("avc3.")))return ob(Zg(d)),!1;(e=d.decodingInfos.some(function(l){return l.Wr}))||ob(Zg(d));return e});ua(c)})}
155function Vg(a,b,c){var d,e,f,g,k,l,n,q,t,u,v;return r(function(y){if(d=a.some(function(G){return G.decodingInfos.length}))return y.return();e=navigator.g;f=[];g=function(G,K){var J;return r(function(O){if(1==O.g)return va(O,2),p(O,e.kt(K),4);if(2!=O.g)return J=O.h,G.decodingInfos.push(J),xa(O,0);ya(O);JSON.stringify(K);ua(O)})};k=m(a);for(l=k.next();!l.done;l=k.next())for(n=l.value,q=Aba(n,b,c),t=m(q),u=t.next();!u.done;u=t.next())v=u.value,f.push(g(n,v));return p(y,Promise.all(f),0)})}
156function Aba(a,b,c){var d=a.audio,e=a.video;c={type:c?"file":"media-source"};if(e){var f=e.codecs;if(e.codecs.includes(",")){var g=e.codecs.split(",");f=Qe("video",g);f=Wg(f);g=Qe("audio",g);g=Nf(e.mimeType,g,"audio");c.audio={contentType:g,dV:2,Gw:a.bandwidth||1,L5:1,H8:!1}}f=Wg(f);f=Nf(e.mimeType,f,"video");c.video={contentType:f,width:e.width||64,height:e.height||64,Gw:e.bandwidth||a.bandwidth||1,yx:e.frameRate||1};if(e.hdr)switch(e.hdr){case "SDR":c.video.FH="srgb";break;case "PQ":c.video.FH=
157"pq";break;case "HLG":c.video.FH="hlg"}}d&&(f=Yg(d.codecs),f=Nf(d.mimeType,f,"audio"),c.audio={contentType:f,dV:d.channelsCount||2,Gw:d.bandwidth||a.bandwidth||1,L5:d.audioSamplingRate||1,H8:d.spatialAudio});g=(a.video?a.video.drmInfos:[]).concat(a.audio?a.audio.drmInfos:[]);if(!g.length)return[c];a=[];f=new Map;g=m(g);for(var k=g.next();!k.done;k=g.next()){var l=k.value;f.get(l.keySystem)||f.set(l.keySystem,[]);f.get(l.keySystem).push(l)}g=b?"required":"optional";b=b?["persistent-license"]:["temporary"];
158l=m(f.keys());for(var n=l.next();!n.done;n=l.next()){var q=n.value;n=Object.assign({},c);var t=f.get(q);q={keySystem:q,initDataType:"cenc",persistentState:g,distinctiveIdentifier:"optional",sessionTypes:b};t=m(t);for(k=t.next();!k.done;k=t.next()){k=k.value;if(k.initData&&k.initData.length){for(var u=new Set,v=m(k.initData),y=v.next();!y.done;y=v.next())u.add(y.value.initDataType);q.initDataType=k.initData[0].initDataType}k.distinctiveIdentifierRequired&&(q.distinctiveIdentifier="required");k.persistentStateRequired&&
159(q.persistentState="required");k.sessionType&&(q.sessionTypes=[k.sessionType]);
159d&&(""!=k.audioRobustness?q.audio?q.audio.robustness=q.audio.robustness||k.audioRobustness:q.audio={robustness:k.audioRobustness}:q.audio||(q.audio={}));e&&(""!=k.videoRobustness?q.video?q.video.robustness=q.video.robustness||k.videoRobustness:q.video={robustness:k.videoRobustness}:q.video||(q.video={}))}n.zu=q;a.push(n)}return a}function Yg(a){return ef()?"ac-3"==a.toLowerCase()?"ec-3":a:a}
160function Wg(a){if(a.includes("avc1")){var b=a.split(".");3==b.length&&(a=b.shift()+".",a+=parseInt(b.shift(),10).toString(16),a+=("000"+parseInt(b.shift(),10).toString(16)).slice(-4))}else if("vp9"==a)return"vp09.00.41.08";return a}function Ug(a,b){b.variants=b.variants.filter(function(c){var d=c.audio;c=c.video;return d&&a&&a.audio&&!$g(d,a.audio)||c&&a&&a.video&&!$g(c,a.video)?!1:!0})}function yba(a){a.textStreams=a.textStreams.filter(function(b){return Ig(Lf(b.mimeType,b.codecs))})}
161function zba(a){var b,c,d,e,f,g,k,l;return r(function(n){switch(n.g){case 1:b=[],c=m(a.imageStreams),d=c.next();case 2:if(d.done){n.ua(4);break}e=d.value;f=e.mimeType;if(ah.has(f)){n.ua(5);break}g=Bba.get(f);if(!g){ah.set(f,!1);n.ua(5);break}return p(n,Cba(g),7);case 7:k=n.h,ah.set(f,k);case 5:(l=ah.get(f))&&b.push(e);d=c.next();n.ua(2);break;case 4:a.imageStreams=b,ua(n)}})}
162function Cba(a){return new Promise(function(b){var c=new Image;c.src=a;"decode"in c?c.decode().then(function(){b(!0)}).catch(function(){b(!1)}):c.onload=c.onerror=function(){b(2===c.height)}})}function $g(a,b){return a.mimeType!=b.mimeType||a.codecs.split(".")[0]!=b.codecs.split(".")[0]?!1:!0}
163function bh(a){var b=a.audio,c=a.video,d=b?b.mimeType:null,e=c?c.mimeType:null,f=b?b.codecs:null,g=c?c.codecs:null,k=[];g&&k.push(g);f&&k.push(f);var l=[];c&&l.push(c.mimeType);b&&l.push(b.mimeType);l=l[0]||null;var n=[];b&&n.push(b.kind);c&&n.push(c.kind);n=n[0]||null;var q=new Set;if(b)for(var t=m(b.roles),u=t.next();!u.done;u=t.next())q.add(u.value);if(c)for(t=m(c.roles),u=t.next();!u.done;u=t.next())q.add(u.value);a={id:a.id,active:!1,type:"variant",bandwidth:a.bandwidth,language:a.language,label:null,
164kind:n,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:l,audioMimeType:d,videoMimeType:e,codecs:k.join(", "),audioCodec:f,videoCodec:g,primary:a.primary,roles:Array.from(q),audioRoles:null,forced:!1,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:null};c&&(a.videoId=c.id,a.originalVideoId=c.originalId,
165a.width=c.width||null,a.height=c.height||null,a.frameRate=c.frameRate||null,a.pixelAspectRatio=c.pixelAspectRatio||null,a.videoBandwidth=c.bandwidth||null);b&&(a.audioId=b.id,a.originalAudioId=b.originalId,a.channelsCount=b.channelsCount,a.audioSamplingRate=b.audioSamplingRate,a.audioBandwidth=b.bandwidth||null,a.spatialAudio=b.spatialAudio,a.label=b.label,a.audioR
165oles=b.roles);return a}
166function ch(a){return{id:a.id,active:!1,type:Se,bandwidth:0,language:a.language,label:a.label,kind:a.kind||null,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:a.mimeType,audioMimeType:null,videoMimeType:null,codecs:a.codecs||null,audioCodec:null,videoCodec:null,primary:a.primary,roles:a.roles,audioRoles:null,forced:a.forced,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,
167originalAudioId:null,originalTextId:a.originalId,originalImageId:null}}
168function dh(a){var b=a.width||null,c=a.height||null,d=null;a.segmentIndex&&(d=a.segmentIndex.get(0));var e=a.tilesLayout;d&&(e=d.tilesLayout||e);e&&null!=b&&(b/=Number(e.split("x")[0]));e&&null!=c&&(c/=Number(e.split("x")[1]));return{id:a.id,active:!1,type:"image",bandwidth:a.bandwidth||0,language:"",label:null,kind:null,width:b,height:c,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:a.mimeType,audioMimeType:null,videoMimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],
169audioRoles:null,forced:!1,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:e||null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:a.originalId}}function eh(a){a.__shaka_id||(a.__shaka_id=Dba++);return a.__shaka_id}
170function fh(a){var b=gh(a);b.active="disabled"!=a.mode;b.type="text";b.originalTextId=a.id;"captions"==a.kind&&(b.mimeType="application/cea-608");a.kind&&(b.roles=[a.kind]);"forced"==a.kind&&(b.forced=!0);return b}function hh(a){var b=gh(a);b.active=a.enabled;b.type="variant";b.originalAudioId=a.id;"main"==a.kind&&(b.primary=!0);a.kind&&(b.roles=[a.kind],b.audioRoles=[a.kind],b.label=a.label);return b}
171function gh(a){return{id:eh(a),active:!1,type:"",bandwidth:0,language:Xf(a.language),label:a.label,kind:a.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:null,audioMimeType:null,videoMimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],forced:!1,audioR
171oles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,
172originalTextId:null,originalImageId:null}}function ih(a){return a.allowedByApplication&&a.allowedByKeySystem}function Eba(a){return a.filter(function(b){return ih(b)})}
173function Pg(a,b){var c=a.filter(function(g){return g.audio&&g.audio.channelsCount}),d=new Map;c=m(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=e.audio.channelsCount;d.has(f)||d.set(f,[]);d.get(f).push(e)}c=Array.from(d.keys());if(0==c.length)return a;a=c.filter(function(g){return g<=b});return a.length?d.get(Math.max.apply(Math,ka(a))):d.get(Math.min.apply(Math,ka(c)))}
174function jh(a,b,c,d){var e=a,f=a.filter(function(l){return l.primary});f.length&&(e=f);var g=e.length?e[0].language:"";e=e.filter(function(l){return l.language==g});if(b){var k=eg(Xf(b),a.map(function(l){return l.language}));k&&(e=a.filter(function(l){return Xf(l.language)==k}))}e=e.filter(function(l){return l.forced==d});if(c){if(a=kh(e,c),a.length)return a}else if(a=e.filter(function(l){return 0==l.roles.length}),a.length)return a;a=e.map(function(l){return l.roles}).reduce(Me,[]);return a.length?
175kh(e,a[0]):e}function kh(a,b){return a.filter(function(c){return c.roles.includes(b)})}function Zg(a){var b=[];a.audio&&b.push(lh(a.audio));a.video&&b.push(lh(a.video));return b.join(", ")}
176function lh(a){return"audio"==a.type?"type=audio codecs="+a.codecs+" bandwidth="+a.bandwidth+" channelsCount="+a.channelsCount+" audioSamplingRate="+a.audioSamplingRate:"video"==a.type?"type=video codecs="+a.codecs+" bandwidth="+a.bandwidth+" frameRate="+a.frameRate+" width="+a.width+" height="+a.height:"unexpected stream type"}
177var Dba=0,rba="smooth",sba="powerEfficient",uba="bandwidth",ah=(new Map).set("image/svg+xml",!0).set("image/png",!0).set("image/jpeg",!0).set("image/jpg",!0),Bba=(new Map).set("image/webp","data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA").set("image/avif","data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A=");function mh(a){this.g=a;this.h=new vh(a.language,"",a.audio&&a.audio.channelsCount?a.audio.channelsCount:0,"")}mh.prototype.create=function(a){var b=this,c=a.filter(function(d){return Sf(b.g,d)});return c.length?new Rf(c[0],c):this.h.create(a)};function vh(a,b,c,d){this.o=a;this.j=b;this.g=c;this.h=void 0===d?"":d}
178vh.prototype.create=function(a){var b=[];b=Fba(a,this.o);var c=a.filter(function(d){return d.primary});b=b.length?b:c.length?c:a;a=Gba(b,this.j);a.length&&(b=a);this.g&&(a=Pg(b,this.g),a.length&&(b=a));this.h&&(a=Hba(b,this.h),a.length&&(b=a));a=new Rf(b[0]);b=m(b);for(c=b.next();!c.done;c=b.next())c=c.value,Sf(a.g,c)&&a.add(c);return a};function Fba(a,b){b=Xf(b);var c=eg(b,a.map(function(d){return dg(d)}));return c?a.filter(function(d){return c==dg(d)}):[]}
179function Gba(a,b){return a.filter(function(c){return c.audio?b?c.audio.roles.includes(b):0==c.audio.roles.length:!1})}function Hba(a,b){return a.filter(function(c){return c.audio?c.audio.label.toLowerCase()==b.toLowerCase():!1})};function wh(){this.g=xh;this.h=(new Map).set(xh,2).set(zh,1)}function Ah(a,b,c){a.h.set(xh,c).set(zh,b)}wh.prototype.update=function(a,b){var c=this.h.get(this.g),d=this.g;this.g=a=b||a>=c?xh:zh;return d!=a};wh.prototype.getState=function(){return this.g};var zh=0,xh=1;function Bh(a,b){var c=Ch();this.m=null==a.maxAttempts?c.maxAttempts:a.maxAttempts;this.o=null==a.baseDelay?c.baseDelay:a.baseDelay;this.s=null==a.fuzzFactor?c.fuzzFactor:a.fuzzFactor;this.l=null==a.backoffFactor?c.backoffFactor:a.backoffFactor;this.g=0;this.h=this.o;if(this.j=void 0===b?!1:b)this.g=1}
180function Dh(a){var b,c;return r(function(d){if(1==d.g){if(a.g>
180=a.m)if(a.j)a.g=1,a.h=a.o;else throw new Bb(2,7,1010);b=a.g;a.g++;if(0==b)return d.return();c=a.h*(1+(2*Math.random()-1)*a.s);return p(d,new Promise(function(e){(new Xe(e)).Hc(c/1E3)}),2)}a.h*=a.l;ua(d)})}function Ch(){return{maxAttempts:2,baseDelay:1E3,backoffFactor:2,fuzzFactor:.5,timeout:3E4,stallTimeout:5E3,connectionTimeout:1E4}};function Eh(a,b){this.promise=a;this.j=b;this.g=!1}function Fh(a){return new Eh(Promise.reject(a),function(){return Promise.resolve()})}function Gh(){var a=Promise.reject(new Bb(2,7,7001));a.catch(function(){});return new Eh(a,function(){return Promise.resolve()})}function Hh(a){return new Eh(Promise.resolve(a),function(){return Promise.resolve()})}function Ih(a){return new Eh(a,function(){return a.catch(function(){})})}Eh.prototype.abort=function(){this.g=!0;return this.j()};
181function Jh(a){return new Eh(Promise.all(a.map(function(b){return b.promise})),function(){return Promise.all(a.map(function(b){return b.abort()}))})}Eh.prototype.finally=function(a){this.promise.then(function(){return a(!0)},function(){return a(!1)});return this};
182Eh.prototype.pf=function(a,b){function c(k){return function(l){if(e.g&&k)f.reject(g);else{var n=k?a:b;n?d=Iba(n,l,f):(k?f.resolve:f.reject)(l)}}}function d(){f.reject(g);return e.abort()}var e=this,f=new Ue,g=new Bb(2,7,7001);this.promise.then(c(!0),c(!1));return new Eh(f,function(){return d()})};
183function Iba(a,b,c){try{var d=a(b);if(d&&d.promise&&d.abort)return c.resolve(d.promise),function(){return d.abort()};c.resolve(d);return function(){return Promise.resolve(d).then(function(){},function(){})}}catch(e){return c.reject(e),function(){return Promise.resolve()}}}fb("shaka.util.AbortableOperation",Eh);Eh.prototype.chain=Eh.prototype.pf;Eh.prototype["finally"]=Eh.prototype.finally;Eh.all=Jh;Eh.prototype.abort=Eh.prototype.abort;Eh.notAbortable=Ih;Eh.completed=Hh;Eh.aborted=Gh;Eh.failed=Fh;function Kh(a,b){if(b)if(b instanceof Map)for(var c=m(b.keys()),d=c.next();!d.done;d=c.next())d=d.value,Object.defineProperty(this,d,{value:b.get(d),writable:!0,enumerable:!0});else for(c in b)Object.defineProperty(this,c,{value:b[c],writable:!0,enumerable:!0});this.defaultPrevented=this.cancelable=this.bubbles=!1;this.timeStamp=window.performance&&window.performance.now?window.performance.now():Date.now();this.type=a;this.isTrusted=!1;this.target=this.currentTarget=null;this.h=!1}
184function Lh(a){var b=new Kh(a.type),c;for(c in a)Object.defineProperty(b,c,{value:a[c],writable:!0,enumerable:!0});return b}Kh.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)};Kh.prototype.stopImmediatePropagation=function(){this.h=!0};Kh.prototype.stopPropagation=function(){};fb("shaka.util.FakeEvent",Kh);
185var Mh={Daa:"abrstatuschanged",Eaa:"adaptation",Raa:"buffering",uba:"downloadfailed",vba:"downloadheadersreceived",wba:"drmsessionupdate",Kba:"emsg",Gda:"prft",Error:"error",Lba:"expirationupdated",$ba:"gapjumped",Lca:"loaded",Mca:"loading",eda:"manifestparsed",fda:"mediaqualitychanged",Metadata:"metadata",vda:"onstatechange",wda:"onstateidle",Sda:"ratechange",mea:"segmentappended",nea:"sessiondata",oea:"stalldetected",pea:"streaming",uea:"textchanged",vea:"texttrackvisibility",wea:"timelineregionadded",
186xea:"timelineregionenter",yea:"timelineregionexit",zea:"trackschanged",Vea:"unloading",Zea:"variantchanged"};function Nh(){this.fc=new Ng;this.ac=this}Nh.prototype.addEventListener=function(a,b){this.fc&&this.fc.push(a,b)};Nh.prototype.removeEventListener=function(a,b){this.fc&&this.fc.remove(a,b)};Nh.prototype.dispatchEvent=function(a){if(!this.fc)return!0;var b=this.fc.get(a.type)||[],c=this.fc.get("All");c&&(b=b.concat(c));b=m(b);for(c=b.next();!c.done;c=b.next()){c=c.value;a.target=this.ac;a.currentTarget=this.ac;try{c.handleEvent?c.handleEvent(a):c.call(this,a)}catch(d){}if(a.h)break}return a.defaultPrevented};
187Nh.prototype.release=function(){this.fc=null};function Oh(a){function b(d){switch(typeof d){case "undefined":case "boolean":case "number":case "string":case "symbol":case "function":return d;default:if(!d||d.buffer&&d.buffer.constructor==ArrayBuffer)return d;if(c.has(d))return null;var e=d.constructor==Array;if(d.constructor!=Object&&!e)return null;c.add(d);var f=e?[]:{},g;for(g in d)f[g]=b(d[g]);e&&(f.length=d.length);return f}}var c=new Set;return b(a)}function Ph(a){var b={},c;for(c in a)b[c]=a[c];return b};function Qh(){this.g=[]}function Uh(a,b){a.g.push(b.finally(function(){gg(a.g,b)}))}Qh.prototype.destroy=function(){for(var a=[],b=m(this.g),c=b.next();!c.done;c=b.next())c=c.value,c.promise.catch(function(){}),a.push(c.abort());this.g=[];return Promise.all(a)};function Vh(a,b,c){Nh.call(this);this.l=!1;this.L=new Qh;this.g=new Set;this.h=new Set;this.o=a||null;this.j=b||null;this.m=c||null;this.s=!1}pa(Vh,Nh);h=Vh.prototype;h.eG=function(a){this.s=a};function Wh(a,b,c,d){c=c||Xh;var e=Yh[a];if(!e||c>=e.priority)Yh[a]={priority:c,E3:b,Y3:void 0===d?!1:d}}h.X4=function(a){this.g.add(a)};h.z9=function(a){this.g.delete(a)};h.nV=function(){this.g.clear()};h.Y4=function(a){this.h.add(a)};h.A9=function(a){this.h.delete(a)};h.oV=function(){this.h.clear()};
188function Zh(a,b,c){return{uris:a,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:b,licenseRequestType:null,sessionId:null,drmInfo:null,initData:null,initDataType:null,streamDataCallback:void 0===c?null:c}}h.destroy=function(){this.l=!0;this.g.clear();this.h.clear();Nh.prototype.release.call(this);return this.L.destroy()};
189h.request=function(a,b){var c=this,d=new $h;if(this.l){var e=Promise.reject(new Bb(2,7,7001));e.catch(function(){});return new ai(e,function(){return Promise.resolve()},d)}b.method=b.method||"GET";b.headers=b.headers||{};b.retryParameters=b.retryParameters?Oh(b.retryParameters):Ch();b.uris=Oh(b.uris);e=Jba(this,a,b);var f=e.pf(function(){return bi(c,a,b,new Bh(b.retryParameters,!1),0,null,d)}),g=f.pf(function(t){return Kba(c,a,t)}),k=Date.now(),l=0;e.promise.then(function(){l=Date.now()-k},function(){});
190var n=0;f.promise.then(function(){n=Date.now()},function(){});var q=g.pf(function(t){var u=Date.now()-n,v=t.response;v.timeMs+=l;v.timeMs+=u;t.RY||!c.o||v.fromCache||"HEAD"==b.method||a!=ci||c.o(v.timeMs,v.data.byteLength);return v},function(t){t&&(t.severity=2);throw t;});e=new ai(q.promise,function(){return q.abort()},d);Uh(this.L,e);return e};
191function Jba(a,b,c){var d=Hh(void 0),e={};a=m(a.g);for(var f=a.next();!f.done;e={rB:e.rB},f=a.next())e.rB=f.value,d=d.pf(function(g){return function(){c.body&&(c.body=yb(c.body));return g.rB(b,c)}}(e));return d.pf(void 0,function(g){if(g instanceof Bb&&7001==g.code)throw g;throw new Bb(2,1,1006,g);})}
192function bi(a,b,c,d,e,f,g){a.s&&(c.uris[e]=c.uris[e].replace("http://","https://"));var k=new ue(c.uris[e]),l=k.o,n=!1;l||(l=location.protocol,l=l.slice(0,-1),ve(k,l),c.uris[e]=k.toString());l=l.toLowerCase();var q=(l=Yh[l])?l.E3:null;if(!q)return Fh(new Bb(2,1,1E3,k));var t=l.Y3,u=null,v=null,y=!1,G=!1,K;return Ih(Dh(d)).pf(function(){if(a.l)return Gh();K=Date.now();var J=q(c.uris[e],c,b,function(Q,R,aa){u&&u.stop();v&&v.Hc(P/1E3);a.o&&b==ci&&(a.o(Q,R),n=!0,g.g=aa)},function(Q){a.j&&a.j(Q,c,b);G=
193!0});if(!t)return J;var O=c.retryParameters.connectionTimeout;O&&(u=new Xe(function(){y=!0;J.abort()}),u.Hc(O/1E3));var P=c.retryParameters.stallTimeout;P&&(v=new Xe(function(){y=!0;J.abort()}));return J}).pf(function(J){u&&u.stop();v&&v.stop();void 0==J.timeMs&&(J.timeMs=Date.now()-K);var O={response:J,RY:n};!G&&a.j&&a.j(J.headers,c,b);return O},function(J){u&&u.stop();v&&v.stop();if(a.m){var O=null,P=0;J instanceof Bb&&(O=J,1001==J.code&&(P=J.data[1]));a.m(c,O,P,y)}if(a.l)return Gh();y&&(J=new Bb(1,
1941,1003,c.uris[e],b));if(J instanceof Bb){if(7001==J.code)throw J;if(1010==J.code)throw f;if(1==J.severity)return O=(new Map).set("error",J),O=new Kh("retry",O),a.dispatchEvent(O),e=(e+1)%c.uris.length,bi(a,b,c,d,e,J,g)}throw J;})}
195function Kba(a,b,c){var d=Hh(void 0),e={};a=m(a.h);for(var f=a.next();!f.done;e={sB:e.sB},f=a.next())e.sB=f.value,d=d.pf(function(g){return function(){var k=c.response;k.data&&(k.data=yb(k.data));return g.sB(b,k)}}(e));return d.pf(function(){return c},function(g){var k=2;if(g instanceof Bb){if(7001==g.code)throw g;k=g.severity}throw new Bb(k,1,1007,g);})}fb("shaka.net.NetworkingEngine",Vh);Vh.prototype.request=Vh.prototype.request;Vh.prototype.destroy=Vh.prototype.destroy;Vh.makeRequest=Zh;
196Vh.defaultRetryParameters=function(){return Ch()};Vh.prototype.clearAllResponseFilters=Vh.prototype.oV;Vh.prototype.unregisterResponseFilter=Vh.prototype.A9;Vh.prototype.registerResponseFilter=Vh.prototype.Y4;Vh.prototype.clearAllRequestFilters=Vh.prototype.nV;Vh.prototype.unregisterRequestFilter=Vh.prototype.z9;Vh.prototype.registerRequestFilter=Vh.prototype.X4;Vh.unregisterScheme=function(a){delete Yh[a]};Vh.registerScheme=Wh;Vh.prototype.setForceHTTPS=Vh.prototype.eG;function $h(){this.g=0}
197Vh.NumBytesRemainingClass=$h;function ai(a,b,c){Eh.call(this,a,b);this.h=c}pa(ai,Eh);Vh.PendingRequest=ai;var ci=1;Vh.RequestType={MANIFEST:0,SEGMENT:ci,LICENSE:2,APP:3,TIMING:4,SERVER_CERTIFICATE:5,KEY:6};var Xh=3;Vh.PluginPriority={FALLBACK:1,PREFERRED:2,APPLICATION:Xh};var Yh={};function di(a){this.g=!1;this.h=new Ue;this.j=a}di.prototype.destroy=function(){var a=this;if(this.g)return this.h;this.g=!0;return this.j().then(function(){a.h.resolve()},function(){a.h.resolve()})};function ei(a,b){if(a.g){if(b instanceof Bb&&7003==b.code)throw b;throw new Bb(2,7,7003,b);}};function fi(){this.g=new Ng}h=fi.prototype;h.release=function(){this.tf();this.g=null};h.J=function(a,b,c,d){this.g&&(a=new gi(a,b,c,d),this.g.push(b,a))};h.$e=function(a,b,c,d){function e(g){f.kc(a,b,e);c(g)}var f=this;this.J(a,b,e,d)};h.kc=function(a,b,c){if(this.g){var d=this.g.get(b)||[];d=m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,e.target!=a||c!=e.listener&&c||(e.kc(),this.g.remove(b,e))}};
198h.tf=function(){if(this.g){var a=this.g,b=[],c;for(c in a.pb)b.push.apply(b,ka(a.pb[c]));a=m(b);for(b=a.next();!b.done;b=a.next())b.value.kc();this.g.clear()}};fb("shaka.util.EventManager",fi);fi.prototype.removeAll=fi.prototype.tf;fi.prototype.unlisten=fi.prototype.kc;fi.prototype.listenOnce=fi.prototype.$e;fi.prototype.listen=fi.prototype.J;fi.prototype.release=fi.prototype.release;
199function gi(a,b,c,d){this.target=a;this.type=b;this.listener=c;this.options=Lba(a,d);this.target.addEventListener(b,c,this.options)}gi.prototype.kc=function(){this.target.removeEventListener(this.type,this.listener,this.options);this.listener=this.target=null;this.options=!1};function Lba(a,b){if(void 0==b)return!1;if("boolean"==typeof b)return b;var c=new Set(["passive","capture"]);Object.keys(b).filter(function(d){return!c.has(d)});return Mba(a)?b:b.capture||!1}
200function Mba(a){var b=hi;if(void 0==b){b=!1;try{var c={},d={get:function(){b=!0;return!1}};Object.defineProperty(c,"passive",d);Object.defineProperty(c,"capture",d);d=function(){};a.addEventListener("test",d,c);a.removeEventListener("test",d,c)}catch(e){b=!1}hi=b}return b||!1}var hi=void 0;function ii(a,b){var c=[];a=m(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return c}function Nba(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())if(!b(c.value))return!1;return!0}function ji(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())if(b(c.value))return!0;return!1}function ki(a,b){var c=[];a=m(a);for(var d=a.next();!d.done;d=a.next())d=d.value,b(d)&&c.push(d);return c};function li(a){for(var b=new Map,c=m(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(d,a[d]);return b}function mi(a){var b={};a.forEach(function(c,d){b[d]=c});return b}function Oba(a,b){if(a||b){if(a&&!b||b&&!a)return!1}else return!0;
200if(a.size!=b.size)return!1;a=m(a);for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;if(!b.has(c))return!1;c=b.get(c);if(c!=d||void 0==c)return!1}return!0};function ni(a,b){this.h=Ab(a);this.j=b==ri;this.g=0}h=ni.prototype;h.jg=function(){return this.g<this.h.byteLength};h.Te=function(){return this.g};h.Dc=function(){return this.h.byteLength};h.Ri=function(){try{var a=this.h.getUint8(this.g);this.g+=1;return a}catch(b){throw si();}};h.Zu=function(){try{var a=this.h.getUint16(this.g,this.j);this.g+=2;return a}catch(b){throw si();}};h.eb=function(){try{var a=this.h.getUint32(this.g,this.j);this.g+=4;return a}catch(b){throw si();}};
201h.fb=function(){try{var a=this.h.getInt32(this.g,this.j);this.g+=4;return a}catch(b){throw si();}};h.Id=function(){try{if(this.j){var a=this.h.getUint32(this.g,!0);var b=this.h.getUint32(this.g+4,!0)}else b=this.h.getUint32(this.g,!1),a=this.h.getUint32(this.g+4,!1)}catch(c){throw si();}if(2097151<b)throw new Bb(2,3,3001);this.g+=8;return b*Math.pow(2,32)+a};h.Hd=function(a){if(this.g+a>this.h.byteLength)throw si();var b=wb(this.h,this.g,a);this.g+=a;return b};
202h.skip=function(a){if(this.g+a>this.h.byteLength)throw si();this.g+=a};h.y5=function(a){if(this.g<a)throw si();this.g-=a};h.seek=function(a){if(0>a||a>this.h.byteLength)throw si();this.g=a};h.Yu=function(){for(var a=this.g;this.jg()&&0!=this.h.getUint8(this.g);)this.g+=1;a=wb(this.h,a,this.g-a);this.g+=1;return pf(a)};function si(){return new Bb(2,3,3E3)}fb("shaka.util.DataViewReader",ni);ni.prototype.readTerminatedString=ni.prototype.Yu;ni.prototype.seek=ni.prototype.seek;ni.prototype.rewind=ni.prototype.y5;
203ni.prototype.skip=ni.prototype.skip;ni.prototype.readBytes=ni.prototype.Hd;ni.prototype.readUint64=ni.prototype.Id;ni.prototype.readInt32=ni.prototype.fb;ni.prototype.readUint32=ni.prototype.eb;ni.prototype.readUint16=ni.prototype.Zu;ni.prototype.readUint8=ni.prototype.Ri;ni.prototype.getLength=ni.prototype.Dc;ni.prototype.getPosition=ni.prototype.Te;ni.prototype.hasMoreData=ni.prototype.jg;var ri=1;ni.Endianness={BIG_ENDIAN:0,LITTLE_ENDIAN:ri};function ti(){this.j=[];this.h=[];this.g=!1}h=ti.prototype;h.box=function(a,b){a=ui(a);this.j[a]=Pba;this.h[a]=b;return this};h.md=function(a,b){a=ui(a);this.j[a]=vi;this.h[a]=b;return this};h.stop=function(){this.g=!0};h.parse=function(a,b,c){a=new ni(a,0);for(this.g=!1;a.jg()&&!this.g;)this.Ku(0,a,b,c)};
204h.Ku=function(a,b,c,d){var e=b.Te();if(d&&e+8>b.Dc())this.g=!0;else{var f=b.eb(),g=b.eb(),k=wi(g),l=!1;switch(f){case 0:f=b.Dc()-e;break;case 1:if(d&&b.Te()+8>b.Dc()){this.g=!0;return}f=b.Id();l=!0}var n=this.h[g];if(n){var q=null,t=null;if(this.j[g]==vi){if(d&&b.Te()+4>b.Dc()){this.g=!0;return}t=b.eb();q=t>>>24;t&=16777215}g=e+f;c&&g>b.Dc()&&(g=b.Dc());d&&g>b.Dc()?this.g=!0:(d=g-b.Te(),b=0<d?b.Hd(d):new Uint8Array(0),b=new ni(b,0),n({name:k,parser:this,partialOkay:c||!1,version:q,flags:t,reader:b,
205size:f,start:e+a,has64BitSize:l}))}else a=Math.min(e+f-b.Te(),b.Dc()-b.Te()),b.skip(a)}};function xi(a){for(var b=yi(a);a.reader.jg()&&!a.parser.g;)a.parser.Ku(a.start+b,a.reader,a.partialOkay)}function zi(a){for(var b=yi(a),c=a.reader.eb(),d=0;d<c&&(a.parser.Ku(a.start+b,a.reader,a.partialOkay),!a.parser.g);d++);}function Ai(a){var b=yi(a);for(a.reader.skip(78);a.reader.jg()&&!a.parser.g;)a.parser.Ku(a.start+b,a.reader,a.partialOkay)}
206function Bi(a){return function(b){var c=b.reader.Dc()-b.reader.Te();a(b.reader.Hd(c))}}function ui(a){var b=0;a=m(a);for(var c=a.next();!c.done;c=a.next())b=b<<8|c.value.charCodeAt(0);return b}function wi(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}function yi(a){return 8+(a.has64BitSize?8:0)+(null!=a.flags?4:0)}fb("shaka.util.Mp4Parser",ti);ti.headerSize=yi;ti.typeToString=wi;ti.allData=Bi;ti.visualSampleEntry=Ai;ti.sampleDescription=zi;ti.children=xi;
207ti.prototype.parseNext=ti.prototype.Ku;ti.prototype.parse=ti.prototype.parse;ti.prototype.stop=ti.prototype.stop;ti.prototype.fullBox=ti.prototype.md;ti.prototype.box=ti.prototype.box;var Pba=0,vi=1;function Ci(a){var b=this;this.g=[];this.h=[];this.data=[];(new ti).box("moov",xi).box("moof",xi).md("pssh",function(c){if(!(1<c.version)){var d=wb(c.reader.h,-12,c.size);b.data.push(d);b.g.push(Af(c.reader.Hd(16)));if(0<c.version){d=c.reader.eb();for(var e=0;e<d;e++){var f=Af(c.reader.Hd(16));b.h.push(f)}}}}).parse(a)}
208function Di(a,b,c,d){var e=a.length,f=b.length+16+e;0<d&&(f+=4+16*c.size);var g=new Uint8Array(f),k=Ab(g),l=0;k.setUint32(l,f);l+=4;k.setUint32(l,1886614376);l+=4;1>d?k.setUint32(l,0):k.setUint32(l,16777216);l+=4;g.set(b,l);l+=b.length;if(0<d)for(k.setUint32(l,c.size),l+=4,b=m(c),c=b.next();!c.done;c=b.next())c=zf(c.value),g.set(c,l),l+=c.length;k.setUint32(l,e);g.set(a,l+4);return g};function Ei(a,b){a=Fi(a,b);return 1!=a.length?null:a[0]}function Gi(a,b,c){a=Hi(a,b,c);return 1!=a.length?null:a[0]}function Fi(a,b){var c=[];a=m(a.childNodes);for(var d=a.next();!d.done;d=a.next())d=d.value,d instanceof Element&&d.tagName==b&&c.push(d);return c}function Qba(a){return Array.from(a.childNodes).filter(function(b){return b instanceof Element})}
209function Hi(a,b,c){var d=[];a=m(a.childNodes);for(var e=a.next();!e.done;e=a.next())e=e.value,e instanceof Element&&e.localName==c&&e.namespaceURI==b&&d.push(e);return d}function Ii(a,b,c){return a.hasAttributeNS(b,c)?a.getAttributeNS(b,c):null}function Ji(a,b,c){b=m(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,a.hasAttributeNS(d,c))return a.getAttributeNS(d,c);return null}function Qi(a){return Array.from(a.childNodes).every(Ri)?a.textContent.trim():null}
210function Ri(a){return a.nodeType==Node.TEXT_NODE||a.nodeType==Node.CDATA_SECTION_NODE}function Si(a,b,c,d){d=void 0===d?null:d;var e=null;a=a.getAttribute(b);null!=a&&(e=c(a));return null==e?d:e}function Ti(a){if(!a)return null;/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(a)&&(a+="Z");a=Date.parse(a);return isNaN(a)?null:a/1E3}
211function Ui(a){if(!a)return null;a=/^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$/.exec(a);if(!a)return null;a=31536E3*Number(a[1]||null)+2592E3*Number(a[2]||null)+86400*Number(a[3]||null)+3600*Number(a[4]||null)+60*Number(a[5]||null)+Number(a[6]||null);return isFinite(a)?a:null}function Vi(a){var b=/([0-9]+)-([0-9]+)/.exec(a);if(!b)return null;a=Number(b[1]);if(!isFinite(a))return null;b=Number(b[2]);return isFinite(b)?{start:a,end:b}:null}
212function Rba(a){a=Number(a);return 0===a%1?a:null}function Wi(a){a=Number(a);return 0===a%1&&0<a?a:null}function Xi(a){a=Number(a);return 0===a%1&&0<=a?a:null}function Yi(a){a=Number(a);return isNaN(a)?null:a}function Sba(a){var b;a=(b=a.match(/^(\d+)\/(\d+)$/))?Number(b[1])/Number(b[2]):Number(a);return isNaN(a)?null:a}
213function Zi(a,b){var c=new DOMParser,d=Tba.value()(a);a=null;try{a=c.parseFromString(d,"text/xml")}catch(e){return null}c=a.documentElement;if(!c||c.getElementsByTagName("parsererror").length||c.tagName!=b)return null;for(b=document.createNodeIterator(a,NodeFilter.SHOW_ALL);a=b.nextNode();)if(a instanceof HTMLElement||a instanceof SVGElement)return null;return c}function $i(a,b){try{var c=pf(a);return Zi(c,b)}catch(d){return null}}
214var Tba=new Ve(function(){if("undefined"!==typeof trustedTypes){var a=trustedTypes.createPolicy("shaka-player#xml",{createHTML:function(b){return b}});return function(b){return a.createHTML(b)}}return function(b){return b}});function aj(a,b){var c=this;b=void 0===b?1:b;this.La=a;this.u=new Set;this.j=this.s=null;this.Y=this.Ja=!1;this.va=0;this.g=null;this.m=new fi;this.h=new Map;this.L=[];this.o=new Ue;this.V=null;this.l=function(d){c.o.reject(d);a.onError(d)};this.Ha=new Map;this.cb=new Map;this.Z=new Xe(function(){return Uba(c)});this.M=!1;this.ea=[];this.Ia=!1;this.fc=(new Xe(function(){Vba(c)})).kf(b);this.o.catch(function(){});this.Rb=new di(function(){return Wba(c)});this.Ua=!1;this.T=null}h=aj.prototype;
215h.destroy=function(){return this.Rb.destroy()};function Wba(a){return r(function(b){switch(b.g){case 1:return a.m.release(),a.m=null,a.o.reject(),a.fc.stop(),a.fc=null,a.Z.stop(),a.Z=null,p(b,bj(a),2);case 2:if(!a.j){b.ua(3);break}va(b,4);return p(b,a.j.setMediaKeys(null),6);case 6:xa(b,5);break;case 4:ya(b);case 5:a.j=null;case 3:a.g=null,a.u.clear(),a.s=null,a.L=[],a.V=null,a.l=function(){},a.La=null,a.Ua=!1,a.T=null,ua(b)}})}h.configure=function(a){this.V=a};
216function Xba(a,b,c){a.Y=!0;a.L=[];a.M=c;return cj(a,b)}function dj(a,b,c){a.L=c;a.M=0<c.length;return cj(a,b)}
217function Yba(a,b,c,d,e,f){var g=new Map;e={audioCapabilities:e,videoCapabilities:f,distinctiveIdentifier:"optional",persistentState:"required",sessionTypes:["persistent-license"],label:b};e.drmInfos=[{keySystem:b,licenseServerUri:c,distinctiveIdentifierRequired:!1,persistentStateRequired:!0,audioR
217obustness:"",videoRobustness:"",serverCertificate:d,serverCertificateUri:"",initData:null,keyIds:null}];g.set(b,e);return ej(a,g,[])}
218function cj(a,b){var c,d,e,f,g,k,l,n,q,t,u,v,y,G;return r(function(K){if(1==K.g){if(c=Zba(a))for(d=m(b),e=d.next();!e.done;e=d.next())f=e.value,f.video&&(f.video.drmInfos=[c]),f.audio&&(f.audio.drmInfos=[c]);g=b.some(function(J){return J.video&&J.video.drmInfos.length||J.audio&&J.audio.drmInfos.length?!0:!1});g||(k=li(a.V.servers),$ba(b,k));l=m(b);for(e=l.next();!e.done;e=l.next())for(n=e.value,q=fj(n),t=m(q),u=t.next();!u.done;u=t.next())v=u.value,aca(v,li(a.V.servers),li(a.V.advanced||{}),a.V.keySystemsMapping);
219return p(K,Vg(b,a.M,a.Ua),2)}y=g||Object.keys(a.V.servers).length;if(!y)return a.Ja=!0,K.return(Promise.resolve());G=ej(a,void 0,b);return K.return(g?G:G.catch(function(){}))})}function gj(a){var b;return r(function(c){switch(c.g){case 1:if(a.j.mediaKeys)return c.return();if(!a.T){c.ua(2);break}return p(c,a.T,3);case 3:return ei(a.Rb),c.return();case 2:return va(c,4),a.T=a.j.setMediaKeys(a.s),p(c,a.T,6);case 6:xa(c,5);break;case 4:b=ya(c),a.l(new Bb(2,6,6003,b.message));case 5:ei(a.Rb),ua(c)}})}
220function bca(a,b){return r(function(c){if(1==c.g)return p(c,gj(a),2);hj(a,b.initDataType,wb(b.initData));ua(c)})}
221h.ni=function(a){var b=this,c;return r(function(d){if(1==d.g){if(!b.s)return b.m.$e(a,"encrypted",function(){b.l(new Bb(2,6,6010))}),d.return();b.j=a;b.m.$e(b.j,"play",function(){for(var e=m(b.ea),f=e.next();!f.done;f=e.next())ij(b,f.value);b.Ia=!0;b.ea=[]});"webkitCurrentPlaybackTargetIsWireless"in b.j&&b.m.J(b.j,"webkitcurrentplaybacktargetiswirelesschanged",function(){return bj(b)});return(c=b.g?b.g.initData.find(function(e){return 0<e.initData.length}):null)||"com.apple.fps"!==b.g.keySystem||
222b.L.length?p(d,gj(b),2):d.ua(2)}jj(b);c||b.L.length||b.V.parseInbandPsshEnabled||b.m.J(b.j,"encrypted",function(e){return bca(b,e)});ua(d)})};
223function kj(a){var b,c,d,e,f;return r(function(g){switch(g.g){case 1:if(!a.s||!a.g)return g.return();if(!a.g.serverCertificateUri||a.g.serverCertificate&&a.g.serverCertificate.length){g.ua(2);break}b=Zh([a.g.serverCertificateUri],a.V.retryParameters);va(g,3);c=a.La.xo.request(5,b);return p(g,c.promise,5);case 5:d=g.h;a.g.serverCertificate=wb(d.data);xa(g,4);break;case 3:throw e=ya(g),new Bb(2,6,6017,e);case 4:if(a.Rb.g)return g.return();case 2:if(!a.g.serverCertificate||!a.g.serverCertificate.length)return g.return();
224va(g,6);return p(g,a.s.setServerCertificate(a.g.serverCertificate),8);case 8:xa(g,0);break;case 6:throw f=ya(g),new Bb(2,6,6004,f.message);}})}function cca(a,b){var c,d,e;return r(function(f){if(1==f.g)return p(f,lj(a,b),2);if(3!=f.g){c=f.h;if(!c)return f.return();d=[];if(e=a.h.get(c))e.Xj=new Ue,d.push(e.Xj);d.push(c.remove());return p(f,Promise.all(d),3)}a.h.delete(c);ua(f)})}
225function jj(a){for(var b=(a.g?a.g.initData:[])||[],c=m(b),d=c.next();!d.done;d=c.next())d=d.value,hj(a,d.initDataType,d.initData);c=m(a.L);for(d=c.next();!d.done;d=c.next())lj(a,d.value);b.length||a.L.length||a.o.resolve();return a.o}function hj(a,b,c){if(c.length){var d=a.h.values();d=m(d);for(var e=d.next();!e.done;e=d.next())if(ub(c,e.value.initData)&&!df("Tizen 2"))return;0<a.h.size&&mj(a)&&(a.o.resolve(),a.o=new Ue,a.o.catch(function(){}));dca(a,b,c,a.g.sessionType)}}
226function nj(a){return a?!!a.match(/^com\.(microsoft|chromecast)\.playready/):!1}function oj(a){a=a.h.keys();a=ii(a,function(b){return b.sessionId});return Array.from(a)}h.Pt=function(){var a=Infinity,b=this.h.keys();b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,isNaN(c.expiration)||(a=Math.min(a,c.expiration));return a};h.Gx=function(){return mi(this.cb)};
227function ej(a,b,c){var d,e,f,g,k,l,n,q,t,u,v,y,G;return r(function(K){switch(K.g){case 1:d=new Map;if(c.length){e=eca(a,c,d);K.ua(2);break}return p(K,fca(a,b),3);case 3:e=K.h;case 2:f=e;if(!f)throw new Bb(2,6,6001);ei(a.Rb);va(K,4);a.u.clear();g=f.getConfiguration();k=g.audioCapabilities||[];l=g.videoCapabilities||[];n=m(k);for(q=n.next();!q.done;q=n.next())t=q.value,a.u.add(t.contentType.toLowerCase());u=m(l);for(q=u.next();!q.done;q=u.next())v=q.value,a.u.add(v.contentType.toLowerCase());if(c.length){var J=
228f.keySystem;var O=d.get(f.keySystem);var P=[],Q=[],R=[],aa=[],fa=new Set;pj(O,P,R,Q,aa,fa);var za=a.M?"persistent-license":"temporary";J={keySystem:J,licenseServerUri:P[0],distinctiveIdentifierRequired:O[0].distinctiveIdentifierRequired,persistentStateRequired:O[0].persistentStateRequired,sessionType:O[0].sessionType||za,audioR
228obustness:O[0].audioRobustness||"",videoRobustness:O[0].videoRobustness||"",serverCertificate:R[0],serverCertificateUri:Q[0],initData:aa,keyIds:fa};O=m(O);for(P=O.next();!P.done;P=
229O.next())P=P.value,P.distinctiveIdentifierRequired&&(J.distinctiveIdentifierRequired=P.distinctiveIdentifierRequired),P.persistentStateRequired&&(J.persistentStateRequired=P.persistentStateRequired);O=J}else O=f.keySystem,J=b.get(f.keySystem),P=[],Q=[],R=[],aa=[],fa=new Set,pj(J.drmInfos,P,R,Q,aa,fa),O={keySystem:O,licenseServerUri:P[0],distinctiveIdentifierRequired:"required"==J.distinctiveIdentifier,persistentStateRequired:"required"==J.persistentState,sessionType:J.sessionTypes[0]||"temporary",
230audioRobustness:(J.audioCapabilities?J.audioCapabilities[0].robustness:"")||"",videoRobustness:(J.videoCapabilities?J.videoCapabilities[0].robustness:"")||"",serverCertificate:R[0],serverCertificateUri:Q[0],initData:aa,keyIds:fa};a.g=O;if(!a.g.licenseServerUri)throw new Bb(2,6,6012,a.g.keySystem);return p(K,f.createMediaKeys(),6);case 6:return y=K.h,ei(a.Rb),a.s=y,a.Ja=!0,p(K,kj(a),7);case 7:ei(a.Rb);xa(K,0);break;case 4:G=ya(K);ei(a.Rb,G);a.g=null;a.u.clear();if(G instanceof Bb)throw G;throw new Bb(2,
2316,6002,G.message);}})}
232function eca(a,b,c){for(var d=m(b),e=d.next();!e.done;e=d.next()){var f=m(fj(e.value));for(e=f.next();!e.done;e=f.next())e=e.value,c.has(e.keySystem)||c.set(e.keySystem,[]),c.get(e.keySystem).push(e)}if(1==c.size&&c.has(""))throw new Bb(2,6,6E3);d={};a=m(a.V.preferredKeySystems);for(e=a.next();!e.done;d={pB:d.pB},e=a.next())for(d.pB=e.value,f=m(b),e=f.next();!e.done;e=f.next())if(e=e.value.decodingInfos.find(function(n){return function(q){return q.Wr&&null!=q.kh&&q.kh.keySystem==n.pB}}(d)))return e.kh;
233a=m([!0,!1]);for(e=a.next();!e.done;e=a.next())for(d=e.value,f=m(b),e=f.next();!e.done;e=f.next()){var g=m(e.value.decodingInfos);for(e=g.next();!e.done;e=g.next()){var k=e.value;if(k.Wr&&k.kh){e=c.get(k.kh.keySystem);var l=m(e);for(e=l.next();!e.done;e=l.next())if(!!e.value.licenseServerUri==d)return k.kh}}}return null}
234function fca(a,b){var c,d,e,f,g,k,l,n,q,t,u,v,y,G,K;return r(function(J){switch(J.g){case 1:if(1==b.size&&b.has(""))throw new Bb(2,6,6E3);d=m(b.values());for(e=d.next();!e.done;e=d.next())f=e.value,0==f.audioCapabilities.length&&delete f.audioCapabilities,0==f.videoCapabilities.length&&delete f.videoCapabilities;g=m(a.V.preferredKeySystems);k=g.next();case 2:if(k.done){J.ua(4);break}l=k.value;if(!b.has(l)){J.ua(3);break}n=b.get(l);va(J,6);return p(J,navigator.requestMediaKeySystemAccess(l,[n]),8);
235case 8:return c=J.h,J.return(c);case 6:ya(J);case 7:ei(a.Rb);case 3:k=g.next();J.ua(2);break;case 4:q=m([!0,!1]),t=q.next();case 9:if(t.done){J.ua(11);break}u=t.value;v=m(b.keys());k=v.next();case 12:if(k.done){t=q.next();J.ua(9);break}y=k.value;G=b.get(y);K=G.drmInfos.some(function(O){return!!O.licenseServerUri});if(K!=u){J.ua(13);break}va(J,15);return p(J,navigator.requestMediaKeySystemAccess(y,[G]),17);case 17:return c=J.h,J.return(c);case 15:ya(J);case 16:ei(a.Rb);case 13:k=v.next();J.ua(12);
236break;case 11:return J.return(c)}})}
237function Zba(a){a=li(a.V.clearKeys);if(0==a.size)return null;var b=[],c=[];a.forEach(function(e,f){var g=f;22!=g.length&&(g=xf(zf(f),!1));f=e;22!=f.length&&(f=xf(zf(e),!1));e={kty:"oct",kid:g,k:f};b.push(e);c.push(e.kid)});a=JSON.stringify({keys:b});var d=JSON.stringify({kids:c});d=[{initData:wb(tf(d)),initDataType:"keyids"}];return{keySystem:"org.w3.clearkey",licenseServerUri:"data:application/json;base64,"+window.btoa(a),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",
238videoRobustness:"",serverCertificate:null,serverCertificateUri:"",sessionType:"",initData:d,keyIds:new Set(c)}}
239function lj(a,b){var c,d,e,f,g;return r(function(k){switch(k.g){case 1:try{c=a.s.createSession("persistent-license")}catch(l){return d=new Bb(2,6,6005,l.message),a.l(d),k.return(Promise.reject(d))}a.m.J(c,"message",function(l){a.j&&a.V.delayLicenseRequestUntilPlayed&&a.j.paused&&!a.Ia?a.ea.push(l):ij(a,l)});a.m.J(c,"keystatuseschange",function(l){return qj(a,l)});e={initData:null,initDataType:null,loaded:!1,XE:Infinity,Xj:null,type:"persistent-license"};a.h.set(c,e);va(k,2);return p(k,c.load(b),4);
240case 4:f=k.h;ei(a.Rb);if(!f)return a.h.delete(c),a.l(new Bb(2,6,6013)),k.return(Promise.resolve());e.loaded=!0;mj(a)&&a.o.resolve();return k.return(c);case 2:g=ya(k),ei(a.Rb,g),a.h.delete(c),a.l(new Bb(2,6,6005,g.message));case 3:return k.return(Promise.resolve())}})}
241function dca(a,b,c,d){try{var e=a.s.createSession(d)}catch(f){a.l(new Bb(2,6,6005,f.message));return}a.m.J(e,"message",function(f){a.j&&a.V.delayLicenseRequestUntilPlayed&&a.j.paused&&!a.Ia?a.ea.push(f):ij(a,f)});a.m.J(e,"keystatuseschange",function(f){return qj(a,f)});a.h.set(e,{initData:c,initDataType:b,loaded:!1,XE:Infinity,Xj:null,type:d});try{c=a.V.initDataTransform(c,b,a.g)}catch(f){b=f;
241f instanceof Bb||(b=new Bb(2,6,6016,f));a.l(b);return}a.V.logLicenseExchange&&xf(c);e.generateRequest(b,c).catch(function(f){if(!a.Rb.g){a.h.delete(e);
242var g=f.errorCode;if(g&&g.systemCode){var k=g.systemCode;0>k&&(k+=Math.pow(2,32));k="0x"+k.toString(16)}a.l(new Bb(2,6,6006,f.message,f,k))}})}
243function ij(a,b){var c,d,e,f,g,k,l,n,q,t,u,v,y,G;r(function(K){switch(K.g){case 1:return c=b.target,a.V.logLicenseExchange&&xf(b.message),d=a.h.get(c),e=a.g.licenseServerUri,f=a.V.advanced[a.g.keySystem],"individualization-request"==b.messageType&&f&&f.individualizationServer&&(e=f.individualizationServer),g=Zh([e],a.V.retryParameters),g.body=b.message,g.method="POST",g.licenseRequestType=b.messageType,g.sessionId=c.sessionId,g.drmInfo=a.g,d&&(g.initData=d.initData,g.initDataType=d.initDataType),
244nj(a.g.keySystem)&&gca(g),k=Date.now(),va(K,2),n=a.La.xo.request(2,g),p(K,n.promise,4);case 4:l=K.h;xa(K,3);break;case 2:return q=ya(K),t=new Bb(2,6,6007,q),a.l(t),d&&d.Xj&&d.Xj.reject(t),K.return();case 3:if(a.Rb.g)return K.return();a.va+=(Date.now()-k)/1E3;a.V.logLicenseExchange&&xf(l.data);va(K,5);return p(K,c.update(l.data),7);case 7:xa(K,6);break;case 5:return u=ya(K),v=new Bb(2,6,6008,u.message),a.l(v),d&&d.Xj&&d.Xj.reject(v),K.return();case 6:if(a.Rb.g)return K.return();y=new Kh("drmsessionupdate");
245a.La.onEvent(y);d&&(d.Xj&&d.Xj.resolve(),G=new Xe(function(){d.loaded=!0;mj(a)&&a.o.resolve()}),G.Hc(hca));ua(K)}})}
246function gca(a){var b=qf(a.body,!0,!0);if(b.includes("PlayReadyKeyMessage")){b=Zi(b,"PlayReadyKeyMessage");for(var c=m(b.getElementsByTagName("HttpHeader")),d=c.next();!d.done;d=c.next())d=d.value,a.headers[d.getElementsByTagName("name")[0].textContent]=d.getElementsByTagName("value")[0].textContent;a.body=yf(b.getElementsByTagName("Challenge")[0].textContent)}else a.headers["Content-Type"]="text/xml; charset=utf-8"}
247function qj(a,b){b=b.target;var c=a.h.get(b),d=!1;b.keyStatuses.forEach(function(f,g){if("string"==typeof g){var k=g;g=f;f=k}if(nj(a.g.keySystem)&&16==g.byteLength&&(bf()||kf())){k=Ab(g);var l=k.getUint32(0,!0),n=k.getUint16(4,!0),q=k.getUint16(6,!0);k.setUint32(0,l,!1);k.setUint16(4,n,!1);k.setUint16(6,q,!1)}"status-pending"!=f&&(c.loaded=!0);"expired"==f&&(d=!0);g=Af(g).slice(0,32);a.Ha.set(g,f)});var e=b.expiration-Date.now();(0>e||d&&1E3>e)&&c&&!c.Xj&&(a.h.delete(b),b.close().catch(function(){}));
248mj(a)&&(a.o.resolve(),a.Z.Hc(ica))}function Uba(a){var b=a.Ha,c=a.cb;c.clear();b.forEach(function(d,e){return c.set(e,d)});b=Array.from(c.values());b.length&&b.every(function(d){return"expired"==d})&&a.l(new Bb(2,6,6014));a.La.hz(mi(c))}
249function jca(){var a,b,c,d,e,f,g,k;return r(function(l){return 1==l.g?(a="org.w3.clearkey com.widevine.alpha com.microsoft.playready com.microsoft.playready.recommendation com.apple.fps.1_0 com.apple.fps com.adobe.primetime".split(" "),b=[{contentType:'video/mp4; codecs="avc1.42E01E"'},{contentType:'video/webm; codecs="vp8"'}],c={initDataTypes:["cenc"],videoCapabilities:b},d={videoCapabilities:b,persistentState:"required",sessionTypes:["persistent-license"]},e=[d,c],f=new Map,g=function(n){var q,
250t,u;return r(function(v){switch(v.g){case 1:va(v,2);if("org.w3.clearkey"===n&&lf())throw Error("Unsupported keySystem");return p(v,navigator.requestMediaKeySystemAccess(n,e),4);case 4:return q=v.h,u=(t=q.getConfiguration().sessionTypes)?t.includes("persistent-license"):!1,df("Tizen 3")&&(u=!1),f.set(n,{persistentState:u}),p(v,q.createMediaKeys(),5);case 5:xa(v,0);break;case 2:ya(v),f.set(n,null),ua(v)}})},k=a.map(function(n){return g(n)}),p(l,Promise.all(k),2)):l.return(mi(f))})}
251function kca(a){var b;return r(function(c){if(1==c.g)return b=new Promise(function(d,e){(new Xe(e)).Hc(lca)}),va(c,2),p(c,Promise.race([Promise.all([a.close(),a.closed]),b]),4);if(2!=c.g)return xa(c,0);ya(c);ua(c)})}
252function bj(a){var b;return r(function(c){b=Array.from(a.h.entries());a.h.clear();return p(c,Promise.all(b.map(function(d){d=m(d);var e=d.next().value,f=d.next().value;return r(function(g){if(1==g.g)return va(g,2),a.Y||a.L.includes(e.sessionId)||"persistent-license"!==f.type?p(g,kca(e),5):p(g,e.remove(),5);if(2!=g.g)return xa(g,0);ya(g);ua(g)})}
252)),0)})}
253function rj(a,b){if(!a.length)return b;if(!b.length)return a;var c=[];a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e={},f=m(b),g=f.next();!g.done;e={hj:e.hj},g=f.next())if(g=g.value,d.keySystem==g.keySystem){e.hj=[];e.hj=e.hj.concat(d.initData||[]);e.hj=e.hj.concat(g.initData||[]);e.hj=e.hj.filter(function(k){return function(l,n){return void 0===l.keyId||n===k.hj.findIndex(function(q){return q.keyId===l.keyId})}}(e));f=d.keyIds&&g.keyIds?new Set(ka(d.keyIds).concat(ka(g.keyIds))):
254d.keyIds||g.keyIds;c.push({keySystem:d.keySystem,licenseServerUri:d.licenseServerUri||g.licenseServerUri,distinctiveIdentifierRequired:d.distinctiveIdentifierRequired||g.distinctiveIdentifierRequired,persistentStateRequired:d.persistentStateRequired||g.persistentStateRequired,videoRobustness:d.videoRobustness||g.videoRobustness,audioRobustness:d.audioRobustness||g.audioRobustness,serverCertificate:d.serverCertificate||g.serverCertificate,serverCertificateUri:d.serverCertificateUri||g.serverCertificateUri,
255initData:e.hj,keyIds:f});break}}return c}function fj(a){return(a.video?a.video.drmInfos:[]).concat(a.audio?a.audio.drmInfos:[])}function Vba(a){a.h.forEach(function(b,c){var d=b.XE,e=c.expiration;isNaN(e)&&(e=Infinity);e!=d&&(a.La.onExpirationUpdated(c.sessionId,e),b.XE=e)})}function mj(a){a=a.h.values();return Nba(a,function(b){return b.loaded})}
256function $ba(a,b){var c=[];b.forEach(function(d,e){c.push({keySystem:e,licenseServerUri:d,distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",initData:[],keyIds:new Set})});a=m(a);for(b=a.next();!b.done;b=a.next())b=b.value,b.video&&(b.video.drmInfos=c),b.audio&&(b.audio.drmInfos=c)}
257function pj(a,b,c,d,e,f){var g={};a=m(a);for(var k=a.next();!k.done;g={Pg:g.Pg},k=a.next()){g.Pg=k.value;b.includes(g.Pg.licenseServerUri)||b.push(g.Pg.licenseServerUri);d.includes(g.Pg.serverCertificateUri)||d.push(g.Pg.serverCertificateUri);g.Pg.serverCertificate&&(c.some(function(q){return function(t){return ub(t,q.Pg.serverCertificate)}}(g))||c.push(g.Pg.serverCertificate));if(g.Pg.initData){k={};for(var l=m(g.Pg.initData),n=l.next();!n.done;k={jw:k.jw},n=l.next())k.jw=n.value,e.some(function(q){return function(t){var u=
258q.jw;return t.keyId&&t.keyId==u.keyId?!0:t.initDataType==u.initDataType&&ub(t.initData,u.initData)}}(k))||e.push(k.jw)}if(g.Pg.keyIds)for(k=m(g.Pg.keyIds),l=k.next();!l.done;l=k.next())f.add(l.value)}}
259function aca(a,b,c,d){var e=a.keySystem;if(e&&("org.w3.clearkey"!=e||!a.licenseServerUri)){b.size&&(b=b.get(e)||"",a.licenseServerUri=b);a.keyIds||(a.keyIds=new Set);if(c=c.get(e))a.distinctiveIdentifierRequired||(a.distinctiveIdentifierRequired=c.distinctiveIdentifierRequired),a.persistentStateRequired||(a.persistentStateRequired=c.persistentStateRequired),a.videoRobustness||(a.videoRobustness=c.videoRobustness),a.audioRobustness||(a.audioRobustness=c.audioRobustness),a.serverCertificate||(a.serverCertificate=
260c.serverCertificate),c.sessionType&&(a.sessionType=c.sessionType),a.serverCertificateUri||(a.serverCertificateUri=c.serverCertificateUri);d[e]&&(a.keySystem=d[e]);window.cast&&window.cast.__platform__&&"com.microsoft.playready"==e&&(a.keySystem="com.chromecast.playready")}}var lca=1,hca=5,ica=.5,sj=new Ve(function(){return yb(new Uint8Array([0]))});function tj(){}function uj(a,b,c,d){var e,f,g,k;return r(function(l){if(1==l.g){if(d&&(e=vj[d.toLowerCase()]))return l.return(e);if(f=wj(a))if(g=xj[f])return l.return(g);return d?l.ua(2):p(l,yj(a,b,c),3)}if(2!=l.g&&(d=l.h)&&(k=vj[d]))return l.return(k);throw new Bb(2,4,4E3,a);})}function yj(a,b,c){var d,e,f;return r(function(g){if(1==g.g)return d=Zh([a],c),d.method="HEAD",p(g,b.request(0,d).promise,2);e=g.h;f=e.headers["content-type"];return g.return(f?f.toLowerCase().split(";").shift():"")})}
261function wj(a){a=(new ue(a)).g.split("/").pop().split(".");return 1==a.length?"":a.pop().toLowerCase()}fb("shaka.media.ManifestParser",tj);tj.unregisterParserByMime=function(a){delete vj[a]};tj.registerParserByMime=function(a,b){vj[a]=b};tj.registerParserByExtension=function(a,b){xj[a]=b};var vj={},xj={};function mca(a){function b(){d=!0}function c(n){f.push(n);xi(n)}a=wb(a);var d=!1,e,f=[],g=[];(new ti).box("moov",c).box("trak",c).box("mdia",c).box("minf",c).box("stbl",c).md("stsd",function(n){e=n;f.push(n);zi(n)}).md("encv",b).md("enca",b).md("hev1",function(n){g.push({box:n,yo:1701733238})}).md("hvc1",function(n){g.push({box:n,yo:1701733238})}).md("avc1",function(n){g.push({box:n,yo:1701733238})}).md("avc3",function(n){g.push({box:n,yo:1701733238})}).md("ac-3",function(n){g.push({box:n,yo:1701733217})}).md("ec-3",
262function(n){g.push({box:n,yo:1701733217})}).md("mp4a",function(n){g.push({box:n,yo:1701733217})}).parse(a);if(d)return a;
262if(0==g.length||!e)throw paa(Af(a)),new Bb(2,3,3019);g.reverse();for(var k=m(g),l=k.next();!l.done;l=k.next())l=l.value,a=nca(a,e,l.box,f,l.yo);return a}
263function nca(a,b,c,d,e){var f=oca.value(),g=a.subarray(c.start,c.start+c.size),k=Ab(g),l=new Uint8Array(c.size+f.byteLength);l.set(g,0);g=Ab(l);g.setUint32(4,e);l.set(f,c.size);e=k.getUint32(4);g.setUint32(c.size+16,e);zj(l,0,l.byteLength);e=new Uint8Array(a.byteLength+l.byteLength);c=cf()?c.start:c.start+c.size;f=a.subarray(c);e.set(a.subarray(0,c));e.set(l,c);e.set(f,c+l.byteLength);a=m(d);for(d=a.next();!d.done;d=a.next())d=d.value,zj(e,d.start,d.size+l.byteLength);l=Ab(e,b.start);b=yi(b);a=l.getUint32(b);
264l.setUint32(b,a+1);return e}function zj(a,b,c){a=Ab(a,b);b=a.getUint32(0);0!=b&&(1==b?(a.setUint32(8,c>>32),a.setUint32(12,c&4294967295)):a.setUint32(0,c))}var oca=new Ve(function(){return new Uint8Array([0,0,0,80,115,105,110,102,0,0,0,12,102,114,109,97,0,0,0,0,0,0,0,20,115,99,104,109,0,0,0,0,99,101,110,99,0,1,0,0,0,0,0,40,115,99,104,105,0,0,0,32,116,101,110,99,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])});function Aj(a,b,c,d,e){if(d>=e)return null;for(var f=-1,g=-1,k=0;k<c.length;k++)if(c[k].some(function(Q){return null!=Q&&""!=Q.g.trim()})){f=k;break}for(k=c.length-1;0<=k;k--)if(c[k].some(function(Q){return null!=Q&&""!=Q.g.trim()})){g=k;break}if(-1===f||-1===g)return null;for(var l=k=!1,n="white",q="black",t=Bj(d,e,k,l,n,q);f<=g;f++){for(var u=c[f],v=-1,y=-1,G=0;G<u.length;G++)if(null!=u[G]&&""!==u[G].g.trim()){v=G;break}for(G=u.length-1;0<=G;G--)if(null!=u[G]&&""!==u[G].g.trim()){y=G;break}if(-1===
265v||-1===y)u=Kj(d,e),a.nestedCues.push(u);else{for(;v<=y;v++)if(G=u[v]){var K=G.l,J=G.j,O=G.o,P=G.h;if(K!=k||J!=l||O!=n||P!=q)t.payload&&a.nestedCues.push(t),t=Bj(d,e,K,J,O,P),k=K,l=J,n=O,q=P;t.payload+=G.g}else t.payload+=" ";t.payload&&a.nestedCues.push(t);f!==g&&(t=Kj(d,e),a.nestedCues.push(t));t=Bj(d,e,k,l,n,q)}}return a.nestedCues.length?{cue:a,stream:b}:null}
266function Bj(a,b,c,d,e,f){a=new jg(a,b,"");c&&a.textDecoration.push("underline");d&&(a.fontStyle="italic");a.color=e;a.backgroundColor=f;return a}function Kj(a,b){a=new jg(a,b,"");a.lineBreak=!0;return a}function Lj(a,b,c,d,e){this.g=a;this.l=b;this.j=c;this.h=d;this.o=e};function Mj(a,b){this.j=[];this.g=1;this.h=0;this.T=a;this.L=b;this.o=this.s=!1;this.l="white";this.m="black";this.reset()}function Nj(a,b,c){return Aj(new jg(b,c,""),"CC"+(a.T<<1|a.L+1),a.j,b,c)}Mj.prototype.reset=function(){Oj(this,0,15);this.g=1};
267function Pj(a,b,c){if(!(32>c||127<c)){var d="";switch(b){case Qj:d=Rj.has(c)?Rj.get(c):String.fromCharCode(c);break;case Sj:d=pca.get(c);break;case Tj:a.j[a.g].pop();d=qca.get(c);break;case Uj:a.j[a.g].pop(),d=rca.get(c)}d&&a.j[a.g].push(new Lj(d,a.s,a.o,a.m,a.l))}}function Vj(a,b,c,d){if(!(0>c||0>b))if(b>=c)for(--d;0<=d;d--)a.j[b+d]=a.j[c+d].map(function(f){return f});else for(var e=0;e<d;e++)a.j[b+e]=a.j[c+e].map(function(f){return f})}function Oj(a,b,c){for(var d=0;d<=c;d++)a.j[b+d]=[]}
268var Qj=0,Sj=1,Tj=2,Uj=3,Rj=new Map([[39,"\u2019"],[42,"\u00e1"],[92,"\u00e9"],[92,"\u00e9"],[94,"\u00ed"],[95,"\u00f3"],[96,"\u00fa"],[123,"\u00e7"],[124,"\u00f7"],[125,"\u00d1"],[126,"\u00f1"],[127,"\u2588"]]),pca=new Map([[48,"\u00ae"],[49,"\u00b0"],[50,"\u00bd"],[51,"\u00bf"],[52,"\u2122"],[53,"\u00a2"],[54,"\u00a3"],[55,"\u266a"],[56,"\u00e0"],[57,"\u2800"],[58,"\u00e8"],[59,"\u00e2"],[60,"\u00ea"],[61,"\u00ee"],[62,"\u00f4"],[63,"\u00fb"]]),qca=new Map([[32,"\u00c1"],[33,"\u00c9"],[34,"\u00d3"],
269[35,"\u00da"],[36,"\u00dc"],[37,"\u00fc"],[38,"\u2018"],[39,"\u00a1"],[40,"*"],[41,"'"],[42,"\u2500"],[43,"\u00a9"],[44,"\u2120"],[45,"\u00b7"],[46,"\u201c"],[47,"\u201d"],[48,"\u00c0"],[49,"\u00c2"],[50,"\u00c7"],[51,"\u00c8"],[52,"\u00ca"],[53,"\u00cb"],[54,"\u00eb"],[55,"\u00ce"],[56,"\u00cf"],[57,"\u00ef"],[58,"\u00d4"],[59,"\u00d9"],[60,"\u00f9"],[61,"\u00db"],[62,"\u00ab"],[63,"\u00bb"]]),rca=new Map([[32,"\u00c3"],[33,"\u00e3"],[34,"\u00cd"],[35,"\u00cc"],[36,"\u00ec"],[37,"\u00d2"],[38,"\u00f2"],
270[39,"\u00d5"],[40,"\u00f5"],[41,"{"],[42,"}"],[43,"\\"],[44,"^"],[45,"_"],[46,"|"],[47,"~"],[48,"\u00c4"],[49,"\u00e4"],[50,"\u00d6"],[51,"\u00f6"],[52,"\u00df"],[53,"\u00a5"],[54,"\u00a4"],[55,"\u2502"],[56,"\u00c5"],[57,"\u00e5"],[58,"\u00d8"],[59,"\u00f8"],[60,"\u250c"],[61,"\u2510"],[62,"\u2514"],[63,"\u2518"]]);function Wj(a,b){this.h=sca;this.m=new Mj(a,b);this.j=new Mj(a,b);this.l=new Mj(a,b);this.g=this.j;this.o=0;this.s=null}Wj.prototype.reset=function(){this.h=Xj;this.g=this.j;this.s=null;this.j.reset();this.l.reset();this.m.reset()};function Yj(a,b,c){a.g=a.j;var d=a.g,e=null;a.h!==Zj&&a.h!==ak&&(e=Nj(d,a.o,c),c=a.j,c.g=0<c.h?c.h:0,Oj(c,0,15),c=a.l,c.g=0<c.h?c.h:0,Oj(c,0,15),d.g=15);a.h=Zj;d.h=b;return e}function bk(a){a.h=tca;a.g=a.l;a.g.h=0}
271function ck(a){mb("Cea608DataChannel","CEA-608 text mode entered, but is unsupported");a.g=a.m;a.h=ak}var sca=0,tca=1,Xj=2,Zj=3,ak=4,uca="black green blue cyan red yellow magenta black".split(" "),dk="white green blue cyan red yellow magenta white_italics".split(" ");function ek(){this.l=!1;this.s=this.L=0;this.m=vca;this.j=[];this.g=this.h=this.o=0;this.va=this.u=!1;this.ea="white";this.T="black";fk(this)}function fk(a){a.j=[];for(var b=0;16>b;b++)a.j.push(gk())}function gk(){for(var a=[],b=0;42>b;b++)a.push(null);return a}function hk(a,b){ik(a)&&(a.j[a.h][a.g]=new Lj(b,a.va,a.u,a.T,a.ea),a.g++)}function ik(a){var b=a.g<a.s&&0<=a.g;return a.h<a.L&&0<=a.h&&b}ek.prototype.isVisible=function(){return this.l};
272function jk(a,b,c){var d=new jg(a.o,b,"");d.textAlign=a.m===wca?"left":a.m===xca?"right":qg;if(c=Aj(d,"svc"+c,a.j,a.o,b))a.o=b;return c}ek.prototype.display=function(){this.l=!0};ek.prototype.toggle=function(){this.l=!this.l};var wca=0,xca=1,vca=2;function kk(){this.j=[];this.h=null;this.g=0}function yca(a,b){3===b.type?(a.g=2*(b.value&63)-1,a.h=[]):a.h&&(0<a.g&&(a.h.push(b),a.g--),0===a.g&&(a.j.push(new lk(a.h)),a.h=null,a.g=0))}kk.prototype.clear=function(){this.j=[];this.h=[];this.g=0};function lk(a){this.g=0;this.h=a}lk.prototype.jg=function(){return this.g<this.h.length};lk.prototype.Te=function(){return this.g};function mk(a){if(!a.jg())throw new Bb(2,2,3E3);return a.h[a.g++]}
273lk.prototype.skip=function(a){if(this.g+a>this.h.length)throw new Bb(2,2,3E3);this.g+=a};function nk(a){this.j=a;this.h=[null,null,null,null,null,null,null,null];this.g=null}
274function zca(a,b,c,d){if(128<=c&&135>=c)d=c&7,a.h[d]&&(a.g=a.h[d]);else{if(136===c){c=mk(b).value;b=null;c=m(ok(a,c));for(var e=c.next();!e.done;e=c.next())e=a.h[e.value],e.isVisible()&&(b=jk(e,d,a.j)),fk(e);return b}if(137===c)for(b=mk(b).value,b=m(ok(a,b)),c=b.next();!c.done;c=b.next())c=a.h[c.value],c.isVisible()||(c.o=d),c.display();else{if(138===c){c=mk(b).value;b=null;c=m(ok(a,c));for(e=c.next();!e.done;e=c.next())e=a.h[e.value],e.isVisible()&&(b=jk(e,d,a.j)),e.l=!1;return b}if(139===c){c=mk(b).value;
275b=null;c=m(ok(a,c));for(e=c.next();!e.done;e=c.next())e=a.h[e.value],e.isVisible()?b=jk(e,d,a.j):e.o=d,e.toggle();return b}if(140===c)return b=mk(b).value,pk(a,b,d);if(143===c)return d=pk(a,255,d),a.clear(),d;if(144===c)b.skip(1),d=mk(b).value,a.g&&(a.g.u=0<(d&128),a.g.va=0<(d&64));else if(145===c)d=mk(b).value,c=mk(b).value,b.skip(1),a.g&&(b=qk((c&48)>>4,(c&12)>>2,c&3),a.g.ea=qk((d&48)>>4,(d&12)>>2,d&3),a.g.T=b);else if(146===c)d=mk(b).value,b=mk(b).value,a.g&&(a=a.g,a.h=d&15,a.g=b&63);else if(151===
276c)b.skip(1),b.skip(1),d=mk(b).value,b.skip(1),a.g&&(a.g.m=d&3);else if(152<=c&&159>=c){c=(c&15)-8;e=null!==a.h[c];if(!e){var f=new ek;f.o=d;a.h[c]=f}d=mk(b).value;mk(b);mk(b);f=mk(b).value;var g=mk(b).value;b=mk(b).value;e&&0===(b&7)||(b=a.h[c],b.h=0,b.g=0,b.va=!1,b.u=!1,b.ea="white",b.T="black");b=a.h[c];b.l=0<(d&32);b.L=(f&15)+1;b.s=(g&63)+1;a.g=a.h[c]}}}return null}function ok(a,b){for(var c=[],d=0;8>d;d++)1===(b&1)&&a.h[d]&&c.push(d),b>>=1;return c}
277function pk(a,b,c){var d=null;b=m(ok(a,b));for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=a.h[e];f.isVisible()&&(d=jk(f,c,a.j));a.h[e]=null}return d}nk.prototype.clear=function(){this.g=null;this.h=[null,null,null,null,null,null,null,null]};function qk(a,b,c){var d={0:0,1:0,2:1,3:1};a=d[a];b=d[b];c=d[c];return Aca[a<<2|b<<1|c]}
278var rk=new Map([[32," "],[33,"\u00a0"],[37,"\u2026"],[42,"\u0160"],[44,"\u0152"],[48,"\u2588"],[49,"\u2018"],[50,"\u2019"],[51,"\u201c"],[52,"\u201d"],[53,"\u2022"],[57,"\u2122"],[58,"\u0161"],[60,"\u0153"],[61,"\u2120"],[63,"\u0178"],[118,"\u215b"],[119,"\u215c"],[120,"\u215d"],[121,"\u215e"],[122,"\u2502"],[123,"\u2510"],[124,"\u2514"],[125,"\u2500"],[126,"\u2518"],[127,"\u250c"]]),Aca="black blue green cyan red magenta yellow white".split(" ");function sk(){this.h=[];this.g=[];this.j=new kk;this.l=0;this.L=new Map([["CC1",new Wj(0,0)],["CC2",new Wj(0,1)],["CC3",new Wj(1,0)],["CC4",new Wj(1,1)]]);this.m=this.s=0;this.o=new Map;this.reset()}sk.prototype.clear=function(){this.l=0;this.h=[];this.g=[];this.j.clear();this.reset();for(var a=m(this.o.values()),b=a.next();!b.done;b=a.next())b.value.clear()};sk.prototype.reset=function(){this.m=this.s=0;for(var a=m(this.L.values()),b=a.next();!b.done;b=a.next())b.value.reset()};
279function Bca(a){function b(f,g){return f.pts-g.pts||f.order-g.order}var c=[];a.h.sort(b);a.g.sort(b);for(var d=m(a.h),e=d.next();!e.done;e=d.next())(e=Cca(a,e.value))&&c.push(e);d=m(a.g);for(e=d.next();!e.done;e=d.next())yca(a.j,e.value);d=m(a.j.j);for(e=d.next();!e.done;e=d.next())e=Dca(a,e.value),c.push.apply(c,ka(e));a.j.j=[];a.h=[];a.g=[];return c}
280function Cca(a,b){var c=b.type;if(16===(b.si&112)){var d=b.si>>3&1;0===c?a.s=d:a.m=d}c=a.L.get("CC"+(c<<1|(c?a.m:a.s)+1));if(255===b.si&&255===b.hk||!b.si&&!b.hk||!Bk(b.si)||!Bk(b.hk))return 45<=++a.l&&a.reset(),null;a.l=0;b.si&=127;b.hk&=127;if(!b.si&&!b.hk)return null;a=null;if(16===(b.si&112))a:{d=b.si;a=b.hk;if(c.s===(d<<8|a))c.s=null;else if(c.s=d<<8|a,16===(d&240)&&64===(a&192)){b=[11,11,1,2,3,4,12,13,14,15,5,6,7,8,9,10][(d&7)<<1|a>>5&1];var e=(a&30)>>1;d="white";var f=!1;7>e?d=dk[e]:7===e&&
281(f=!0);a=1===(a&1);if(c.h!==ak){e=c.g;if(c.h===Zj&&b!==e.g){var g=1+b-e.h;Vj(e,g,1+e.g-e.h,e.h);Oj(e,0,g-1);Oj(e,b+1,15-b)}e.g=b;c.g.s=a;c.g.o=f;c.g.l=d;c.g.m="black"}}else if(17===(d&247)&&32===(a&240))c.g.s=!1,c.g.o=!1,c.g.l="white",Pj(c.g,Qj,32),d=!1,b=dk[(a&14)>>1],"white_italics"===b&&(b="white",d=!0),c.g.s=1===(a&1),c.g.o=d,c.g.l=b;else if(16===(d&247)&&32===(a&240)||23===(d&247)&&45===(a&255))b="black",0===(d&7)&&(b=uca[(a&14)>>1]),c.g.m=b;else if(17===(d&247)&&48===(a&240))Pj(c.g,Sj,a);else if(18===
282(d&246)&&32===(a&224))Pj(c.g,d&1?Uj:Tj,a);else if(20===(d&246)&&32===(a&240)){a=b.pts;d=null;switch(b.hk){case 32:bk(c);break;case 33:c=c.g;c.j[c.g].pop();break;case 37:d=Yj(c,2,a);break;case 38:d=Yj(c,3,a);break;case 39:d=Yj(c,4,a);break;case 40:Pj(c.g,Qj,32);break;case 41:c.h=Xj;c.g=c.j;c.g.h=0;c.o=a;break;case 42:c.m.reset();ck(c);break;case 43:ck(c);break;case 44:b=c.j;d=null;c.h!==ak&&(d=Nj(b,c.o,a));Oj(b,0,15);break;case 45:b=c.g;c.h!==Zj?d=null:(d=Nj(b,c.o,a),f=b.g-b.h+1,Vj(b,f-1,f,b.h),Oj(b,
2830,f-1),Oj(b,b.g,15-b.g),c.o=a);break;case 46:Oj(c.l,0,15);break;case 47:b=null,c.h!==ak&&(b=Nj(c.j,c.o,a)),d=c.l,c.l=c.j,c.j=d,bk(c),c.o=a,d=b}a=d;break a}a=null}else d=b.hk,Pj(c.g,Qj,b.si),Pj(c.g,Qj,d);return a}
284function Dca(a,b){var c=[];try{for(;b.jg();){var d=mk(b).value,e=(d&224)>>5,f=d&31;7===e&&0!=f&&(e=mk(b).value&63);if(0!=e){a.o.has(e)||a.o.set(e,new nk(e));for(var g=a.o.get(e),k=b.Te();b.Te()-k<f;){e=b;var l=mk(e),n=l.value,q=l.pts;if(16===n){var t=mk(e);n=n<<16|t.value}if(0<=n&&31>=n){var u=q;if(g.g){var v=g.g;e=null;switch(n){case 8:!ik(v)||0>=v.g&&0>=v.h||(0>=v.g?(v.g=v.s-1,v.h--):v.g--,v.j[v.h][v.g]=null);break;case 13:v.isVisible()&&(e=jk(v,u,g.j));if(v.h+1>=v.L){u=v;for(var y=0,G=1;16>G;G++,
285y++)u.j[y]=u.j[G];for(G=0;1>G;G++,y++)u.j[y]=gk()}else v.h++;v.g=0;break;case 14:v.isVisible()&&(e=jk(v,u,g.j));v.j[v.h]=gk();v.g=0;break;case 12:v.isVisible()&&(e=jk(v,u,g.j)),fk(v),u=v,u.h=0,u.g=0}var K=e}else K=null}else if(128<=n&&159>=n)K=zca(g,e,n,q);else{if(4096<=n&&4127>=n)u=n&255,8<=u&&15>=u?e.skip(1):16<=u&&23>=u?e.skip(2):24<=u&&31>=u&&e.skip(3);else if(4224<=n&&4255>=n)u=n&255,128<=u&&135>=u?e.skip(4):136<=u&&143>=u&&e.skip(5);else if(32<=n&&127>=n)e=n,g.g&&(127===e?hk(g.g,"\u266a"):hk(g.g,
286String.fromCharCode(e)));else if(160<=n&&255>=n)g.g&&hk(g.g,String.fromCharCode(n));else if(4128<=n&&4223>=n){if(e=n&255,g.g)if(rk.has(e)){var J=rk.get(e);hk(g.g,J)}else hk(g.g,"_")}else 4256<=n&&4351>=n&&g.g&&(160!=(n&255)?hk(g.g,"_"):hk(g.g,"[CC]"));K=null}(e=K)&&c.push(e)}}}}catch(O){if(O instanceof Bb&&3E3===O.code)mb("CEA708_INVALID_DATA","Buffer read out of bounds / invalid CEA-708 Data.");else throw O;}return c}function Bk(a){for(var b=0;a;)b^=a&1,a>>=1;return 1===b};function Ck(){}Ck.prototype.init=function(){};Ck.prototype.parse=function(){return[]};function Dk(a,b){var c=null,d=null,e=null,f=a.eb();b&1&&(e=a.Id());b&2&&a.skip(4);b&8&&(c=a.eb());b&16&&(d=a.eb());return{n9:f,gK:c,UV:d,$fa:e}}function Ek(a,b){return{bJ:1==b?a.Id():a.eb()}}function Fk(a,b){1==b?(a.skip(8),a.skip(8)):(a.skip(4),a.skip(4));return{timescale:a.eb()}}
287function Gk(a,b,c){var d=a.eb(),e=[],f=null;c&1&&(f=a.eb());c&4&&a.skip(4);for(var g=0;g<d;g++){var k={QF:null,sampleSize:null,Mz:null};c&256&&(k.QF=a.eb());c&512&&(k.sampleSize=a.eb());c&1024&&a.skip(4);c&2048&&(k.Mz=0==b?a.eb():a.fb());e.push(k)}return{vna:d,FO:e,OV:f}};function Hk(){this.o=new Map;this.j=this.h=0;this.g=Ik}
288Hk.prototype.init=function(a){function b(f){f=f.name;f in Jk&&(c.g=Jk[f])}var c=this,d=[],e=[];(new ti).box("moov",xi).box("mvex",xi).md("trex",function(f){var g=f.reader;g.skip(4);g.skip(4);f=g.eb();g=g.eb();c.h=f;c.j=g}).box("trak",xi).md("tkhd",function(f){var g=f.reader;1==f.version?(g.skip(8),g.skip(8)):(g.skip(4),g.skip(4));f=g.eb();d.push(f)}).box("mdia",xi).md("mdhd",function(f){f=Fk(f.reader,f.version);e.push(f.timescale)}).box("minf",xi).box("stbl",xi).md("stsd",zi).box("avc1",b).box("avc3",
289b).box("hev1",b).box("hvc1",b).box("dvh1",b).box("dvhe",b).box("encv",Ai).box("sinf",xi).box("frma",function(f){f=f.reader.eb();f=wi(f);f in Jk&&(c.g=Jk[f])}).parse(a,!0);if(!d.length||!e.length||d.length!=e.length)throw new Bb(2,2,2010);this.g==Ik&&lb("Unable to determine bitstream format for CEA parsing!");d.forEach(function(f,g){c.o.set(f,e[g])})};
290Hk.prototype.parse=function(a){var b=this;if(this.g==Ik)return[];var c=[],d=this.h,e=this.j,f=[],g=null,k=null,l=null,n=9E4;(new ti).box("moof",function(q){g=q.start;xi(q)}).box("traf",xi).md("trun",function(q){q=Gk(q.reader,q.version,q.flags);f=q.FO;k=q.OV}).md("tfhd",function(q){q=Dk(q.reader,q.flags);d=q.gK||b.h;e=q.UV||b.j;q=q.n9;b.o.has(q)&&(n=b.o.get(q))}).md("tfdt",function(q){l=Ek(q.reader,q.version).bJ}).box("mdat",function(q){if(null===l)throw new Bb(2,2,2010);a:{var t=q.reader,u=l,v=n,
291y=d,G=e,K=f,J=0,O=G;K.length&&(O=K[0].sampleSize||G);for(t.skip((g||0)+(k||0)-q.start-8);t.jg();){q=t.eb();var P=t.Ri();switch(b.g){case Kk:P&=31;P=6==P;break;case Lk:P=P>>1&63;P=39==P||40==P;break;default:break a}if(P){P=0;K.length>J&&(P=K[J].Mz||0);P=(u+P)/v;for(var Q=[],R,aa=t.Hd(q-1),fa=R=0;fa<aa.length;)2==R&&3==aa[fa]?(R=0,aa=ka(aa).concat(),aa.splice(fa,1),aa=new Uint8Array(aa)):0==aa[fa]?R++:R=0,fa++;R=aa;for(fa=0;fa<R.length;){for(aa=0;
291255==R[fa];)aa+=255,fa++;aa+=R[fa++];for(var za=0;255==
292R[fa];)za+=255,fa++;za+=R[fa++];4==aa&&Q.push(R.subarray(fa,fa+za));fa+=za}Q=m(Q);for(R=Q.next();!R.done;R=Q.next())c.push({q3:R.value,pts:P})}else try{t.skip(q-1)}catch(Aa){break}O-=q+4;0==O&&(u=K.length>J?u+(K[J].QF||y):u+y,J++,O=K.length>J?K[J].sampleSize||G:G)}}}).parse(a,!1);return c};var Ik=0,Kk=1,Lk=2,Jk={avc1:Kk,avc3:Kk,hev1:Lk,hvc1:Lk,dvh1:Lk,dvhe:Lk};function Mk(a){this.h=new Ck;a.includes("video/mp4")&&(this.h=new Hk);this.g=new sk}Mk.prototype.init=function(a){this.h.init(a)};
293function Eca(a,b){b=a.h.parse(b);b=m(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value,e=wb(d.q3);if(0<e.length&&(c=a.g,d=d.pts,e=new ni(e,0),181===e.Ri()&&49===e.Zu()&&1195456820===e.eb()&&3===e.Ri())){var f=e.Ri();if(0!==(f&64)){f&=31;e.skip(1);for(var g=0;g<f;g++){var k=e.Ri(),l=(k&4)>>2,n=e.Ri(),q=e.Ri();l&&(k&=3,0===k||1===k?c.h.push({pts:d,type:k,si:n,hk:q,order:c.h.length}):(c.g.push({pts:d,type:k,value:n,order:c.g.length}),c.g.push({pts:d,type:2,value:q,order:c.g.length})))}}}}return Bca(a.g)}
294Mk.prototype.reset=function(){this.g.clear()};function Nk(a,b,c,d,e){this.Fi=a;this.Zi=b;this.zg=c;this.HE=void 0===d?null:d;this.timescale=e}Nk.prototype.Vt=function(){return this.Zi};Nk.prototype.Nt=function(){return this.zg};Nk.prototype.Md=function(){return this.zg?this.zg-this.Zi:null};function Fca(a,b){return a&&b?a.Vt()==b.Vt()&&a.Nt()==b.Nt()&&ig(a.Fi(),b.Fi()):a==b}fb("shaka.media.InitSegmentReference",Nk);Nk.prototype.getEndByte=Nk.prototype.Nt;Nk.prototype.getStartByte=Nk.prototype.Vt;
295function Ok(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y){n=void 0===n?[]:n;v=void 0===v?Pk:v;this.startTime=a;this.l=this.endTime=b;this.T=c;this.Zi=d;this.zg=e;this.h=f;this.timestampOffset=g;this.appendWindowStart=k;this.appendWindowEnd=l;this.j=n;this.tilesLayout=void 0===q?"":q;this.L=void 0===t?null:t;this.g=void 0===u?null:u;this.status=v;this.s=void 0===y?null:y;this.m=null;this.o=0}h=Ok.prototype;h.Fi=function(){return this.T()};h.getStartTime=function(){return this.startTime};h.Ot=function(){return this.endTime};
296h.Vt=function(){return this.Zi};h.Nt=function(){return this.zg};h.Md=function(){return this.zg?this.zg-this.Zi:null};h.rY=function(){return this.tilesLayout};h.qY=function(){return this.L};h.Ec=function(){return this.status};h.D0=function(){this.status=Qk};h.fP=function(a){this.m=a};h.pY=function(){return this.m};h.offset=function(a){this.startTime+=a;this.endTime+=a;this.l+=a;for(var b=m(this.j),c=b.next();!c.done;c=b.next())c=c.value,c.startTime+=a,c.endTime+=a,c.l+=a};
297h.xH=function(a){null==this.g?kb("Sync attempted without sync time!"):(a=this.g-a-this.startTime,.001<=Math.abs(a)&&this.offset(a))};fb("shaka.media.SegmentReference",Ok);Ok.prototype.syncAgainst=Ok.prototype.xH;Ok.prototype.offset=Ok.prototype.offset;Ok.prototype.getThumbnailSprite=Ok.prototype.pY;Ok.prototype.setThumbnailSprite=Ok.prototype.fP;Ok.prototype.markAsUnavailable=Ok.prototype.D0;Ok.prototype.getStatus=Ok.prototype.Ec;Ok.prototype.getTileDuration=Ok.prototype.qY;
298Ok.prototype.getTilesLayout=Ok.prototype.rY;Ok.prototype.getEndByte=Ok.prototype.Nt;Ok.prototype.getStartByte=Ok.prototype.Vt;Ok.prototype.getEndTime=Ok.prototype.Ot;Ok.prototype.getStartTime=Ok.prototype.getStartTime;Ok.prototype.getUris=Ok.prototype.Fi;var Pk=0,Qk=1;Ok.Status={Caa:Pk,Cea:Qk,Rca:2};function Rk(a){return!a||1==a.length&&1E-6>a.end(0)-a.start(0)?null:1==a.length&&0>a.start(0)?0:a.length?a.start(0):null}function Sk(a){return!a||1==a.length&&1E-6>a.end(0)-a.start(0)?null:a.length?a.end(a.length-1):null}function Tk(a,b){return!a||!a.length||1==a.length&&1E-6>a.end(0)-a.start(0)||b>a.end(a.length-1)?!1:b>=a.start(0)}
299function Uk(a,b){if(!a||!a.length||1==a.length&&1E-6>a.end(0)-a.start(0))return 0;var c=0;a=m(Vk(a));for(var d=a.next();!d.done;d=a.next()){var e=d.value;d=e.start;e=e.end;e>b&&(c+=e-Math.max(d,b))}return c}function Gca(a,b,c){if(!a||!a.length||1==a.length&&1E-6>a.end(0)-a.start(0))return null;a=Vk(a).findIndex(function(d,e,f){return d.start>b&&(0==e||f[e-1].end-b<=c)});return 0<=a?a:null}
300function Vk(a){if(!a)return[];for(var b=[],c=0;c<a.length;c++)b.push({start:a.start(c),end:a.end(c)});return b};/*
301 @license
302 Shaka Player
303 Copyright 2022 Google LLC
304 SPDX-License-Identifier: Apache-2.0
305*/
306function Wk(){}function Xk(a,b){var c=(a[b]&127)<<21;c|=(a[b+1]&127)<<14;c|=(a[b+2]&127)<<7;return c|=a[b+3]&127}
307function Hca(a){var b={key:a.type,description:"",data:""};if("TXXX"===a.type){if(2>a.size||3!==a.data[0])return null;var c=a.data.subarray(1).indexOf(0);if(-1===c)return null;
307var d=pf(wb(a.data,1,c));a=pf(wb(a.data,2+c)).replace(/\0*$/,"");b.description=d;b.data=a;return b}if("WXXX"===a.type){if(2>a.size||3!==a.data[0])return null;c=a.data.subarray(1).indexOf(0);if(-1===c)return null;d=pf(wb(a.data,1,c));a=pf(wb(a.data,2+c)).replace(/\0*$/,"");b.description=d;b.data=a;return b}if("PRIV"===a.type){if(2>
308a.size)return null;d=a.data.indexOf(0);if(-1===d)return null;d=pf(wb(a.data,0,d));a=yb(a.data.subarray(d.length+1));b.description=d;b.data=a;return b}if("T"===a.type[0]){if(2>a.size||3!==a.data[0])return null;a=pf(a.data.subarray(1)).replace(/\0*$/,"");b.data=a;return b}return"W"===a.type[0]?(a=pf(a.data).replace(/\0*$/,""),b.data=a,b):a.data?(b.data=yb(a.data),b):null}
309function Yk(a){for(var b=0,c=[];b+10<=a.length&&73===a[b]&&68===a[b+1]&&51===a[b+2]&&255>a[b+3]&&255>a[b+4]&&128>a[b+6]&&128>a[b+7]&&128>a[b+8]&&128>a[b+9];){var d=Xk(a,b+6);a[b+5]>>6&1&&(b+=10);b+=10;for(d=b+d;b+10<d;){var e=a.subarray(b),f=Xk(e,4);e={type:String.fromCharCode(e[0],e[1],e[2],e[3]),size:f,data:e.subarray(10,10+f)};(f=Hca(e))&&c.push(f);b+=e.size+10}b+10<=a.length&&51===a[b]&&68===a[b+1]&&73===a[b+2]&&255>a[b+3]&&255>a[b+4]&&128>a[b+6]&&128>a[b+7]&&128>a[b+8]&&128>a[b+9]&&(b+=10)}return c}
310fb("shaka.util.Id3Utils",Wk);Wk.getID3Frames=Yk;function Zk(){this.m=null;this.L=!1;this.l=this.s=null;this.u=[];this.g=this.h=null;this.T=[];this.o=null;this.j=[]}
311Zk.prototype.parse=function(a){if(564>a.length)return this;for(var b=Math.max(0,$k(a)),c=a.length-(a.length+b)%188,d=!1,e=b;e<c;e+=188)if(71===a[e]){var f=!!(a[e+1]&64),g=((a[e+1]&31)<<8)+a[e+2];if(1<(a[e+3]&48)>>4){var k=e+5+a[e+4];if(k===e+188)continue}else k=e+4;switch(g){case 0:f&&(k+=a[k]+1);this.m=(a[k+10]&31)<<8|a[k+11];break;case 17:case 8191:break;case this.m:f&&(k+=a[k]+1);f=a;g={audio:-1,video:-1,UD:-1,audioCodec:"",videoCodec:""};var l=k+3+((f[k+1]&15)<<8|f[k+2])-4;for(k+=12+((f[k+10]&
31215)<<8|f[k+11]);k<l;){var n=(f[k+1]&31)<<8|f[k+2];switch(f[k]){case 15:-1===g.audio&&(g.audio=n,g.audioCodec="aac");break;case 21:-1===g.UD&&(g.UD=n);break;case 27:-1===g.video&&(g.video=n,g.videoCodec="avc");break;case 3:case 4:-1===g.audio&&(g.audio=n,g.audioCodec="mp3");break;case 36:-1===g.video&&(g.video=n,g.videoCodec="hvc")}k+=((f[k+3]&15)<<8|f[k+4])+5}f=g;null==this.l&&(this.l=f.video);null==this.g&&(this.g=f.audio);null==this.o&&(this.o=f.UD);d&&!this.L&&(d=!1,e=b-188);this.L=!0;break;case this.l:f=
313a.subarray(k,e+188);null==this.s&&(k=al(f))&&null!=k.pts&&(this.s=k.pts/9E4);this.u.push(f);break;case this.g:f=a.subarray(k,e+188);null==this.h&&(k=al(f))&&null!=k.pts&&(this.h=k.pts/9E4);this.T.push(f);break;case this.o:this.j.push(a.subarray(k,e+188));break;default:d=!0}}return this};
314function al(a){if(1!==(a[0]<<16|a[1]<<8|a[2]))return null;var b={data:new Uint8Array(0),bma:6+(a[4]<<8|a[5]),pts:null,dts:null},c=a[7];c&192&&(b.pts=536870912*(a[9]&14)+4194304*(a[10]&255)+16384*(a[11]&254)+128*(a[12]&255)+(a[13]&254)/2,b.dts=b.pts,c&64&&(b.dts=536870912*(a[14]&14)+4194304*(a[15]&255)+16384*(a[16]&254)+128*(a[17]&255)+(a[18]&254)/2));b.data=a.subarray(9+a[8]);return b}
315function Ica(a){for(var b=[],c=new Uint8Array(0),d=a.j.length-1;0<=d;d--){c=Bf(a.j[d],c);var e=al(c);e&&(b.unshift({cueTime:e.pts?e.pts/9E4:null,data:e.data,frames:Yk(e.data),dts:e.dts,pts:e.pts}),c=new Uint8Array(0))}return b}Zk.prototype.getStartTime=function(){return{audio:this.h,video:this.s}};function $k(a){for(var b=Math.min(1E3,a.length-564),c=0;c<b;){if(71===a[c]&&71===a[c+188]&&71===a[c+376])return c;c++}return-1}fb("shaka.util.TsParser",Zk);function bl(a,b,c){this.g=null;this.j=-1;this.l=a;this.h=b;this.o=c;"undefined"===typeof libDPIModule&&lb("Could not Find LCEVC Library dependencies on this page");"undefined"===typeof LcevcDil?lb("Could not Find LCEVC Library on this page"):LcevcDil.SupportObject.SupportStatus||lb(LcevcDil.SupportObject.SupportError);"undefined"!==typeof LcevcDil&&"undefined"!==typeof libDPIModule&&this.h instanceof HTMLCanvasElement&&LcevcDil.SupportObject.SupportStatus&&!this.g&&LcevcDil.SupportObject.webGLSupport(this.h)&&
316(this.h.classList.remove("zx-Ax"),this.g=new LcevcDil.LcevcDil(this.l,this.h,this.o))}bl.prototype.release=function(){this.g&&(this.g.close(),this.g=null)};function cl(a,b){var c=Jca;switch(b.mimeType){case "video/webm":c=Kca;break;case "video/mp4":c=Lca}a.g&&(a.j=b.id,a.g.setLevelSwitching(b.id,!0),a.g.setContainerFormat(c))}fb("shaka.lcevc.Dil",bl);bl.prototype.release=bl.prototype.release;var Jca=0,Kca=1,Lca=2;function dl(a,b,c,d){var e=this;this.l=a;this.V=null;this.s=b;this.h={};this.Z={};this.Ua={};this.g=null;this.M=!1;this.cb=c||function(){};this.ea=d||null;this.j={};this.T=new fi;this.m={};this.L=null;this.va=new Ue;this.o=Mca(this,this.va);this.Rb=new di(function(){return Nca(e)});this.Ia="";this.u=!1;this.fc=new Ue}function Mca(a,b){var c=new MediaSource;a.T.$e(c,"sourceopen",function(){URL.revokeObjectURL(a.Ia);b.resolve()});a.Ia=el(c);a.l.src=a.Ia;return c}h=dl.prototype;h.destroy=function(){return this.Rb.destroy()};
317function Nca(a){var b,c,d,e,f,g,k,l;return r(function(n){if(1==n.g){b=[];
317for(c in a.j)for(d=a.j[c],e=d[0],a.j[c]=d.slice(0,1),e&&b.push(e.p.catch(hba)),f=m(d.slice(1)),g=f.next();!g.done;g=f.next())k=g.value,k.p.reject(new Bb(2,7,7003,void 0));a.g&&b.push(a.g.destroy());a.s&&b.push(a.s.destroy());for(l in a.m)b.push(a.m[l].destroy());return p(n,Promise.all(b),2)}a.T&&(a.T.release(),a.T=null);a.l&&(a.l.removeAttribute("src"),a.l.load(),a.l=null);a.V=null;a.o=null;a.g=null;a.s=null;a.h={};a.m={};a.L=
318null;a.j={};a.ea=null;ua(n)})}
319h.init=function(a,b,c){c=void 0===c?!1:c;var d=this,e,f,g,k,l,n,q,t;return r(function(u){if(1==u.g)return e=Te,p(u,d.va,2);d.u=c;f={};g=m(a.keys());for(k=g.next();!k.done;f={Og:f.Og},k=g.next())if(f.Og=k.value,l=a.get(f.Og),n=Lf(l.mimeType,l.codecs),f.Og==e.Ne)fl(d,n,c);else{!b&&rb(n)||!Gf(n,f.Og)||(d.m[f.Og]=new Ff(n),n=Jf(f.Og,n));q=n+d.V.sourceBufferExtraFeatures;ei(d.Rb);t=void 0;try{t=d.o.addSourceBuffer(q)}catch(v){throw new Bb(2,3,3015,v,"The mediaSource_ status was"+d.o.readyState+"expected 'open'");
320}d.T.J(t,"error",function(v){return function(){d.j[v.Og][0].p.reject(new Bb(2,3,3014,d.l.error?d.l.error.code:0))}}(f));d.T.J(t,"updateend",function(v){return function(){return gl(d,v.Og)}}(f));d.h[f.Og]=t;d.Z[f.Og]=n;d.j[f.Og]=[];d.Ua[f.Og]=!!l.drmInfos.length}ua(u)})};h.configure=function(a){this.V=a};
321function fl(a,b,c){a.g||(a.g=new Hg(a.s));var d=a.g;a=a.M;"application/cea-608"==b||"application/cea-708"==b?d.s=null:(d.s=(0,Jg[b])(),d.s.setSequenceMode?d.s.setSequenceMode(c):lb('Text parsers should have a "setSequenceMode" method!'),d.u=a)}function hl(a){return a.o?"ended"==a.o.readyState:!0}function il(a,b){return b==Se?a.g.g:Rk(jl(a,b))}function kl(a,b){return b==Se?a.g.h:Sk(jl(a,b))}function Oca(a,b,c){if(b==Se)return a=a.g,null==a.h||a.h<c?0:a.h-Math.max(c,a.g);a=jl(a,b);return Uk(a,c)}
322h.yk=function(){var a={total:Vk(this.l.buffered),audio:Vk(jl(this,"audio")),video:Vk(jl(this,"video")),text:[]};if(this.g){var b=this.g.g,c=this.g.h;null!=b&&null!=c&&a.text.push({start:b,end:c})}return a};function jl(a,b){try{return a.h[b].buffered}catch(c){return null}}
323function ll(a,b,c,d,e,f,g){f=void 0===f?!1:f;g=void 0===g?!1:g;var k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa;return r(function(Na){switch(Na.g){case 1:k=Te;if(b!=k.Ne){Na.ua(2);break}if(!a.u){Na.ua(3);break}return p(Na,a.fc,4);case 4:l=Na.h,a.g.L=l;case 3:return p(Na,kba(a.g,c,d?d.startTime:null,d?d.endTime:null),5);case 5:return Na.return();case 2:n=wb(c);q=a.Z[b];a.m[b]&&(q=a.m[b].m);0>$k(n)?ml.includes(q)&&(y=Yk(n),y.length&&d&&(G={cueTime:d.startTime,data:n,frames:y,dts:d.startTime,
324pts:d.startTime},a.cb([G],0,d.endTime))):(t=(new Zk).parse(n),u=d.startTime-(t.getStartTime()[b]||0),v=Ica(t),v.length&&a.cb(v,u,d?d.endTime:null));if(!a.m[b]){e&&b==k.ji&&(a.g||fl(a,"application/cea-608",a.u),a.L||(a.L=new Mk(q)),d?(K=Eca(a.L,c),K.length&&(J=a.h[k.ji].timestampOffset,Mg(a.g,K,d.startTime,d.endTime,J))):a.L.init(c));Na.ua(6);break}f&&a.m[b].g.resetCaptions();return p(Na,jba(a.m[b],c),7);case 7:O=Na.h,a.g||fl(a,"application/cea-608",a.u),O.captions&&O.captions.length&&(P=a.h[k.ji].timestampOffset,
325Q=mba(O.captions),Mg(a.g,Q,d?d.startTime:null,d?d.endTime:null,P)),c=O.data;case 6:c=Pca(a,c,d?d.startTime:null,b);R=a.h[b];aa=Qca;if(!a.u||R.mode==aa||!d){Na.ua(8);break}fa=a.o.duration;za=b==k.ji||!(k.ji in a.h);if(!za){Na.ua(9);break}Aa=[R.appendWindowStart,R.appendWindowEnd];R.appendWindowStart=0;R.appendWindowEnd=Infinity;Va=R.timestampOffset;R.timestampOffset=0;return p(Na,nl(a,b,function(){return ol(a,b,c)}),10);case 10:return p(Na,nl(a,b,function(){return pl(a,b)}),11);case 11:return R.timestampOffset=
326Va,R.appendWindowStart=Aa[0],R.appendWindowEnd=Aa[1],Ja=Rk(jl(a,b)),ab=(d.startTime||0)-(Ja||0),a.fc.resolve(ab),p(Na,nl(a,b,function(){return ql(a,b,0,fa)}),12);case 12:if(b!=k.ji){Na.ua(9);break}return p(Na,nl(a,b,function(){a.l.currentTime-=.001;gl(a,b)}),9);case 9:return R.mode=aa,p(Na,a.Ti(fa),8);case 8:return d&&a.u&&b!=k.Ne&&(f||g)&&(Xa=d.startTime,nl(a,b,function(){return pl(a,b)}),nl(a,b,function(){return rl(a,b,Xa)})),p(Na,nl(a,b,function(){ol(a,b,c)}),16);case 16:ua(Na)}})}
327function Rca(a,b){var c=kl(a,"video")||0;Kg(a.g,b,c)}function Sca(a){a.g&&Kg(a.g,"",0)}h.remove=function(a,b,c){var d=this,e;return r(function(f){e=Te;return a==e.Ne?p(f,d.g.remove(b,c),0):p(f,nl(d,a,function(){return ql(d,a,b,c)}),0)})};h.clear=function(a){var b=this,c;return r(function(d){c=Te;return a==c.Ne?b.g?p(d,b.g.remove(0,Infinity),0):d.return():p(d,nl(b,a,function(){return ql(b,a,0,b.o.duration)}),0)})};
328h.flush=function(a){var b=this,c;return r(function(d){c=Te;return a==c.Ne?d.return():p(d,nl(b,a,function(){b.l.currentTime-=.001;gl(b,a)}),0)})};function Tca(a,b,c,d,e,f){var g;return r(function(k){g=Te;return b==g.Ne?(f||(a.g.L=c),lba(a.g,d,e),k.return()):p(k,Promise.all([nl(a,b,function(){return pl(a,b)}),f?Promise.resolve():nl(a,b,function(){return rl(a,b,c)}),nl(a,b,function(){a.h[b].appendWindowStart=0;a.h[b].appendWindowEnd=e;a.h[b].appendWindowStart=d;gl(a,b)})]),0)})}
329function sl(a,b,c){var d;return r(function(e){d=Te;if(b==d.Ne)return e.return();nl(a,b,function(){return pl(a,b)});return p(e,nl(a,b,function(){return rl(a,b,c)}),0)})}h.endOfStream=function(a){var b=this;return r(function(c){return p(c,tl(b,function(){hl(b)||"closed"===b.o.readyState||(a?b.o.endOfStream(a):b.o.endOfStream())}),0)})};
330h.Ti=function(a){var b=this;return r(function(c){return p(c,tl(b,function(){if(a<b.o.duration)for(var d in b.h){var e={start:function(){},p:new Ue};b.j[d].unshift(e)}b.o.duration=a}),0)})};h.getDuration=function(){return this.o.duration};function ol(a,b,c){if("video"==b&&a.ea){var d=a.ea;d.g&&d.g.appendBuffer(c,"video",d.j)}a.h[b].appendBuffer(c)}function ql(a,b,c,d){d<=c?gl(a,b):a.h[b].remove(c,d)}
331function pl(a,b){var c=a.h[b].appendWindowStart,d=a.h[b].appendWindowEnd;a.h[b].abort();a.h[b].appendWindowStart=c;a.h[b].appendWindowEnd=d;gl(a,b)}function rl(a,b,c){0>c&&(c+=.001);a.h[b].timestampOffset=c;gl(a,b)}function gl(a,b){var c=a.j[b][0];c&&(c.p.resolve(),ul(a,b))}function nl(a,b,c){ei(a.Rb);c={start:c,p:new Ue};a.j[b].push(c);1==a.j[b].length&&vl(a,b);return c.p}
332function tl(a,b){var c,d,e,f,g,k;return r(function(l){switch(l.g){case 1:ei(a.Rb);c=[];d={};for(e in a.h)d.ws=new Ue,f={start:function(n){return function(){return n.ws.resolve()}}(d),p:d.ws},a.j[e].push(f),c.push(d.ws),1==a.j[e].length&&f.start(),d={ws:d.ws};va(l,2);return p(l,Promise.all(c),4);case 4:xa(l,3);break;case 2:throw g=ya(l),g;case 3:try{b()}catch(n){throw new Bb(2,3,3015,n);}finally{for(k in a.h)ul(a,k)}ua(l)}})}function ul(a,b){a.j[b].shift();vl(a,b)}
333function vl(a,b){var c=a.j[b][0];if(c)try{c.start()}catch(d){"QuotaExceededError"==d.name?c.p.reject(new Bb(2,3,3017,b)):c.p.reject(new Bb(2,3,3015,d)),ul(a,b)}}function Pca(a,b,c,d){var e=a.Ua[d];
333null==c&&e&&(ef()||cf())&&"mp4"==a.Z[d].split(";")[0].split("/")[1]&&(b=mca(b));return b}var el=window.URL.createObjectURL,Qca="sequence",ml=["audio/aac","audio/ac3","audio/ec3","audio/mpeg"];function wl(a,b,c){this.j=a;this.s=b;this.m=this.o=Infinity;this.g=1;this.h=this.l=null;this.L=0;this.T=!0;this.u=0;this.ea=void 0===c?!0:c;this.va=0;this.M=!1}h=wl.prototype;h.getDuration=function(){return this.o};h.dY=function(){return this.g};h.dP=function(a){this.j=a};h.Ti=function(a){this.o=a};h.jY=function(){return this.j};h.ZO=function(a){this.L=a};h.uv=function(a){this.T=a};h.kG=function(a){this.m=a};h.$O=function(a){this.s=a};h.SX=function(){return this.s};
334h.dr=function(a){if(0!=a.length){var b=a[0].startTime,c=a[0].endTime,d=(Date.now()+this.L)/1E3;a=m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d<e.startTime||(b=Math.min(b,e.startTime),c=Math.max(c,e.endTime),this.g=Math.max(this.g,e.endTime-e.startTime));this.TE(b);this.h=Math.max(this.h,c);null!=this.j&&this.ea&&!this.M&&(this.j=d-this.h-this.g)}};h.BE=function(){this.M=!0};h.TE=function(a){this.l=null==this.l?a:Math.min(this.l,a)};h.SE=function(a){this.g=Math.max(this.g,a)};
335h.offset=function(a){null!=this.l&&(this.l+=a);null!=this.h&&(this.h+=a)};h.nd=function(){return Infinity==this.o&&!this.T};h.io=function(){return Infinity!=this.o&&!this.T};h.Ck=function(){return Math.max(this.u,this.Qn()-this.m)};h.gP=function(a){this.u=a};h.Qn=function(){return this.nd()||this.io()?Math.min(Math.max(0,(Date.now()+this.L)/1E3-this.g-this.j)+this.va,this.o):this.h?Math.min(this.h,this.o):this.o};
336h.Ut=function(a){var b=Math.max(this.l,this.u);return Infinity==this.m?Math.ceil(1E3*b)/1E3:Math.max(b,Math.min(this.Qn()-this.m+a,this.Bk()))};h.wq=function(){return this.Ut(0)};h.Bk=function(){return Math.max(0,this.Qn()-(this.nd()||this.io()?this.s:0))};h.bT=function(){return null==this.j||null!=this.h&&this.ea?!1:!0};h.YO=function(a){this.va=a};fb("shaka.media.PresentationTimeline",wl);wl.prototype.setAvailabilityTimeOffset=wl.prototype.YO;wl.prototype.usingPresentationStartTime=wl.prototype.bT;
337wl.prototype.getSeekRangeEnd=wl.prototype.Bk;wl.prototype.getSeekRangeStart=wl.prototype.wq;wl.prototype.getSafeSeekRangeStart=wl.prototype.Ut;wl.prototype.getSegmentAvailabilityEnd=wl.prototype.Qn;wl.prototype.setUserSeekStart=wl.prototype.gP;wl.prototype.getSegmentAvailabilityStart=wl.prototype.Ck;wl.prototype.isInProgress=wl.prototype.io;wl.prototype.isLive=wl.prototype.nd;wl.prototype.offset=wl.prototype.offset;wl.prototype.notifyMaxSegmentDuration=wl.prototype.SE;
338wl.prototype.notifyMinSegmentStartTime=wl.prototype.TE;wl.prototype.lockStartTime=wl.prototype.BE;wl.prototype.notifySegments=wl.prototype.dr;wl.prototype.getDelay=wl.prototype.SX;wl.prototype.setDelay=wl.prototype.$O;wl.prototype.setSegmentAvailabilityDuration=wl.prototype.kG;wl.prototype.setStatic=wl.prototype.uv;wl.prototype.setClockOffset=wl.prototype.ZO;wl.prototype.getPresentationStartTime=wl.prototype.jY;wl.prototype.setDuration=wl.prototype.Ti;wl.prototype.setPresentationStartTime=wl.prototype.dP;
339wl.prototype.getMaxSegmentDuration=wl.prototype.dY;wl.prototype.getDuration=wl.prototype.getDuration;function Jl(a,b,c){this.l=c;this.o=a;this.m=Kl(a);this.Xd=a.g.currentTime;this.j=Date.now()/1E3;this.g=!1;this.s=0;this.L=b;this.h=function(){}}Jl.prototype.release=function(){this.l=this.o=null;this.h=function(){}};function Uca(a,b){a.h=b}function Vca(a){this.g=a}
340function Kl(a){if(a.g.paused||0==a.g.playbackRate||0==a.g.buffered.length)var b=!1;else a:{b=a.g.currentTime;a=m(Vk(a.g.buffered));for(var c=a.next();!c.done;c=a.next())if(c=c.value,!(b<c.start-.1||b>c.end-.5)){b=!0;break a}b=!1}return b};function Ll(a,b,c,d,e){var f=this;this.T=e;this.g=a;this.u=b;this.V=c;this.j=new fi;this.s=!1;this.L=a.readyState;this.m=0;this.h=d;this.l=!1;this.j.J(a,"waiting",function(){return Ml(f)});this.o=(new Xe(function(){Ml(f)})).kf(.25)}Ll.prototype.release=function(){this.j&&(this.j.release(),this.j=null);null!=this.o&&(this.o.stop(),this.o=null);this.h&&(this.h.release(),this.h=null);this.g=this.u=this.T=null};Ll.prototype.gF=function(){this.l=!0;Ml(this)};
341function Ml(a){if(0!=a.g.readyState){if(a.g.seeking){if(!a.s)return}else a.s=!1;if(!a.g.paused||0==a.g.currentTime&&(a.g.autoplay||0!=a.g.currentTime)){a.g.readyState!=a.L&&(a.L=a.g.readyState);var b;if(!(b=!a.h)){b=a.h;var c=b.o,d=Kl(c),e=c.g.currentTime,f=Date.now()/1E3;if(b.Xd!=e||b.m!=d)b.j=f,b.Xd=e,b.m=d,b.g=!1;e=f-b.j;if(d=e>=b.L&&d&&!b.g)b.h(b.Xd,e),b.g=!0,b.Xd=c.g.currentTime,b.s++,b.l(new Kh("stalldetected"));b=!d}b&&(b=a.g.currentTime,c=a.g.buffered,d=Gca(c,b,a.V.gapDetectionThreshold),
342null==d||0==d&&!a.l||(e=c.start(d),e>=a.u.Bk()||.001>e-b||(0!=d&&c.end(d-1),a.g.currentTime=e,a.m++,a.T(new Kh("gapjumped")))))}}};function Nl(a,b,c,d){b==HTMLMediaElement.HAVE_NOTHING||a.readyState>
342=b?d():(b=Wca.value().get(b),c.$e(a,b,d))}var Wca=new Ve(function(){return new Map([[HTMLMediaElement.HAVE_METADATA,"loadedmetadata"],[HTMLMediaElement.HAVE_CURRENT_DATA,"loadeddata"],[HTMLMediaElement.HAVE_FUTURE_DATA,"canplay"],[HTMLMediaElement.HAVE_ENOUGH_DATA,"canplaythrough"]])});function Ol(a,b,c){var d=this;this.g=a;this.l=b;this.o=c;this.s=!1;this.h=new fi;this.j=new Pl(a);Nl(this.g,HTMLMediaElement.HAVE_METADATA,this.h,function(){Rl(d,d.o)})}Ol.prototype.release=function(){this.h&&(this.h.release(),this.h=null);null!=this.j&&(this.j.release(),this.j=null);this.l=function(){};this.g=null};Ol.prototype.getTime=function(){return this.s?this.g.currentTime:this.o};
343function Sl(a,b){0<a.g.readyState?a.j.moveTo(b):Nl(a.g,HTMLMediaElement.HAVE_METADATA,a.h,function(){Rl(a,a.o)})}function Rl(a,b){.001>Math.abs(a.g.currentTime-b)?Tl(a):(a.h.$e(a.g,"seeking",function(){Tl(a)}),a.j.moveTo(a.g.currentTime&&0!=a.g.currentTime?a.g.currentTime:b))}function Tl(a){a.s=!0;a.h.J(a.g,"seeking",function(){return a.l()})}
344function Pl(a){var b=this;this.h=a;this.s=10;this.l=this.o=this.j=0;this.g=new Xe(function(){0>=b.j?b.g.stop():b.h.currentTime!=b.o?b.g.stop():(b.h.currentTime=b.l,b.j--)})}Pl.prototype.release=function(){this.g&&(this.g.stop(),this.g=null);this.h=null};Pl.prototype.moveTo=function(a){this.o=this.h.currentTime;this.l=a;this.j=this.s;this.h.currentTime=a;
344this.g.kf(.1)};function Ul(a){this.g=a;this.o=!1;this.h=null;this.j=new fi}h=Ul.prototype;h.YG=function(){function a(){null==b.h||0==b.h?b.o=!0:(b.j.$e(b.g,"seeking",function(){b.o=!0}),b.g.currentTime=Math.max(0,b.g.currentTime+b.h))}var b=this;Nl(this.g,HTMLMediaElement.HAVE_CURRENT_DATA,this.j,function(){a()})};h.release=function(){this.j&&(this.j.release(),this.j=null);this.g=null};h.ZG=function(a){this.h=this.o?this.h:a};h.getTime=function(){return(this.o?this.g.currentTime:this.h)||0};h.AR=function(){return 0};
345h.zR=function(){return 0};h.rN=function(){};
346function Vl(a,b,c,d,e,f){var g=this;this.j=a;this.g=b.presentationTimeline;this.T=b.minBufferTime||0;this.V=c;this.L=e;this.s=null;this.m=Xca(a,c,f);this.o=new Ll(a,b.presentationTimeline,c,this.m,f);this.h=new Ol(a,function(){a:{var k=g.o;k.s=!0;k.l=!1;var l=g.h.getTime();k=Wl(g,l);if(.001<Math.abs(k-l)&&(l=Date.now()/1E3,!g.s||g.s<l-1)){g.s=l;Sl(g.h,k);k=void 0;break a}g.L();k=void 0}return k},Yca(this,d));this.l=new Xe(function(){if(0!=g.j.readyState&&!g.j.paused){var k=g.h.getTime(),l=g.g.wq(),
347n=g.g.Bk();3>n-l&&(l=n-3);k<l&&(k=Wl(g,k),g.j.currentTime=k)}})}h=Vl.prototype;h.YG=function(){this.l.kf(.25)};h.release=function(){this.h&&(this.h.release(),this.h=null);this.o&&(this.o.release(),this.o=null);this.l&&(this.l.stop(),this.l=null);this.j=this.h=this.g=this.V=null;this.L=function(){}};h.ZG=function(a){Sl(this.h,a)};h.getTime=function(){var a=this.h.getTime();return 0<this.j.readyState&&!this.j.paused?Xl(this,a):a};h.AR=function(){return this.m?this.m.s:0};h.zR=function(){return this.o.m};
348function Yca(a,b){null==b?b=Infinity>a.g.getDuration()?a.g.wq():a.g.Bk():0>b&&(b=a.g.Bk()+b);return Yl(a,Xl(a,b))}h.rN=function(){this.o.gF()};function Yl(a,b){var c=a.g.getDuration();return b>=c?c-a.V.durationBackoff:b}function Wl(a,b){var c=Math.max(a.T,a.V.rebufferingGoal),d=a.V.safeSeekOffset,e=a.g.wq(),f=a.g.Bk(),g=a.g.getDuration();3>f-e&&(e=f-3);var k=a.g.Ut(c),l=a.g.Ut(d);c=a.g.Ut(c+d);return b>=g?Yl(a,b):b>f?f:b<e?Tk(a.j.buffered,l)?l:c:b>=k||Tk(a.j.buffered,b)?b:c}
349function Xl(a,b){var c=a.g.wq();if(b<c)return c;a=a.g.Bk();return b>a?a:b}function Xca(a,b,c){if(!b.stallEnabled)return null;var d=b.stallSkip;b=new Jl(new Vca(a),b.stallThreshold,c);Uca(b,function(){d?a.currentTime+=d:(a.pause(),a.play())});return b};ea();ia();function Zl(a){this.g=a;this.h=null;this.j=0;this.o=!1}h=Zl.prototype;h.release=function(){this.o||(this.g=[],this.h&&this.h.stop(),this.h=null)};h.E0=function(){this.o=!0};function Zca(a,b){a=m(a.g);for(var c=a.next();!c.done;c=a.next())b(c.value)}h.find=function(a){for(var b=this.g.length-1,c=b;0<=c;--c){var d=this.g[c],e=c<b?this.g[c+1].startTime:d.endTime;if(a>=d.startTime&&a<e)return c+this.j}return this.g.length&&a<this.g[0].startTime?this.j:null};
350h.get=function(a){if(0==this.g.length)return null;a-=this.j;return 0>a||a>=this.g.length?null:this.g[a]};h.offset=function(a){if(!this.o)for(var b=m(this.g),c=b.next();!c.done;c=b.next())c.value.offset(a)};h.Du=function(a){if(!this.o&&a.length){var b=Math.round(1E3*a[0].startTime)/1E3;this.g=this.g.filter(function(c){return Math.round(1E3*c.startTime)/1E3<b});this.g.push.apply(this.g,ka(a))}};
351h.Zq=function(a,b){var c=this;a=a.filter(function(d){return d.endTime>b&&(0==c.g.length||d.endTime>c.g[0].startTime)});this.Du(a);this.Cn(b)};h.Cn=function(a){if(!this.o){var b=this.g.length;this.g=this.g.filter(function(c){return c.endTime>a});this.j+=b-this.g.length}};
352h.fm=function(a,b,c){c=void 0===c?!1:c;if(!this.o){for(;this.g.length;)if(this.g[this.g.length-1].startTime>=b)this.g.pop();else break;for(;this.g.length;)if(this.g[0].endTime<=a)this.g.shift(),c||this.j++;else break;0!=this.g.length&&(a=this.g[this.g.length-1],this.g[this.g.length-1]=new Ok(a.startTime,b,a.T,a.Zi,a.zg,a.h,a.timestampOffset,a.appendWindowStart,a.appendWindowEnd,a.j,a.tilesLayout,a.L,a.g,a.status,a.s),this.g[this.g.length-1].o=a.o)}};
353h.RA=function(a,b){var c=this;this.o||(this.h&&this.h.stop(),this.h=new Xe(function(){var d=b();d?c.g.push.apply(c.g,ka(d)):(c.h.stop(),c.h=null)}),this.h.kf(a))};Zl.prototype[Symbol.iterator]=function(){return this.uq(0)};Zl.prototype.uq=function(a){var b=this.find(a);if(null==b)return null;b--;var c=this.get(b+1),d=-1;if(c&&0<c.j.length)for(var e=c.j.length-1;0<=e;--e){var f=c.j[e];if(a>=f.startTime&&a<f.endTime){b++;d=e-1;break}}return new $l(this,b,d)};
354function am(a,b,c){return new Zl([new Ok(a,a+b,function(){return c},0,null,null,a,a,a+b)])}fb("shaka.media.SegmentIndex",Zl);Zl.forSingleSegment=am;Zl.prototype.getIteratorForTime=Zl.prototype.uq;Zl.prototype.updateEvery=Zl.prototype.RA;Zl.prototype.fit=Zl.prototype.fm;Zl.prototype.evict=Zl.prototype.Cn;Zl.prototype.mergeAndEvict=Zl.prototype.Zq;Zl.prototype.offset=Zl.prototype.offset;Zl.prototype.get=Zl.prototype.get;Zl.prototype.find=Zl.prototype.find;Zl.prototype.markImmutable=Zl.prototype.E0;
355Zl.prototype.release=Zl.prototype.release;function $l(a,b,c){this.j=a;this.g=b;this.h=c}$l.prototype.LV=function(){return this.g};$l.prototype.current=function(){var a=this.j.get(this.g);a&&0<a.j.length&&a.Fi().length&&this.h>=a.j.length&&(this.g++,this.h=0,a=this.j.get(this.g));
355return a&&0<a.j.length?a.j[this.h]:a};
356$l.prototype.next=function(){var a=this.j.get(this.g);a&&0<a.j.length?(this.h++,a.Fi().length&&this.h==a.j.length&&(this.g++,this.h=0)):(this.g++,this.h=0);a=this.current();return{value:a,done:!a}};fb("shaka.media.SegmentIterator",$l);$l.prototype.next=$l.prototype.next;$l.prototype.current=$l.prototype.current;$l.prototype.currentPosition=$l.prototype.LV;function bm(){Zl.call(this,[]);this.l=[]}pa(bm,Zl);h=bm.prototype;h.clone=function(){var a=new bm;a.l=this.l.slice();return a};
357h.release=function(){for(var a=m(this.l),b=a.next();!b.done;b=a.next())b.value.release();this.l=[]};h.find=function(a){for(var b=0,c=m(this.l),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.find(a);if(null!=e)return e+b;b+=d.j+d.g.length}return null};h.get=function(a){for(var b=0,c=m(this.l),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.get(a-b);if(e)return e;b+=d.j+d.g.length}return null};h.offset=function(){};h.Du=function(){};h.Cn=function(){};h.Zq=function(){};h.fm=function(){};h.RA=function(){};
358fb("shaka.media.MetaSegmentIndex",bm);bm.prototype.updateEvery=bm.prototype.RA;bm.prototype.fit=bm.prototype.fm;bm.prototype.mergeAndEvict=bm.prototype.Zq;bm.prototype.evict=bm.prototype.Cn;bm.prototype.merge=bm.prototype.Du;bm.prototype.offset=bm.prototype.offset;bm.prototype.get=bm.prototype.get;bm.prototype.find=bm.prototype.find;bm.prototype.release=bm.prototype.release;function cm(a){var b=this;this.g=a;this.o=!1;this.h=this.g.Kx();this.j=new Xe(function(){b.g.jN(.25*b.h)})}cm.prototype.release=function(){this.j&&(this.j.stop(),this.j=null);this.g=null};cm.prototype.set=function(a){this.h=a;dm(this)};cm.prototype.Ex=function(){return this.g.Ex()};function dm(a){a.j.stop();var b=a.o?0:a.h;if(0<=b)try{a.g.Kx()!=b&&a.g.iG(b);return}catch(c){}a.j.kf(.25);0!=a.g.Kx()&&a.g.iG(0)};function em(a){var b=this;this.j=a;this.g=new Set;this.h=(new Xe(function(){fm(b,!1)})).kf(.25)}em.prototype.release=function(){this.h.stop();for(var a=m(this.g),b=a.next();!b.done;b=a.next())b.value.release();this.g.clear()};function fm(a,b){for(var c=m(a.g),d=c.next();!d.done;d=c.next())d.value.o(a.j.currentTime,b)};function gm(a){Nh.call(this);this.g=new Map;this.h=a}pa(gm,Nh);gm.prototype.release=function(){this.g.clear();Nh.prototype.release.call(this)};function $ca(a,b){var c=a.g.get(b);c||(c={Qu:[],ZJ:null,contentType:b},a.g.set(b,c));return c}function ada(a,b,c){var d=$ca(a,b.contentType);bda(a,d);a={HE:b,position:c};d=d.Qu;b=d.findIndex(function(e){return e.position>=c});0<=b?d.splice(b,d[b].position==c?1:0,a):d.push(a)}
359gm.prototype.o=function(a){for(var b=m(this.g.values()),c=b.next();!c.done;c=b.next()){c=c.value;a:{var d=c.Qu;for(var e=d.length-1;0<=e;e--){var f=d[e];if(f.position<=a){d=f.HE;break a}}d=null}if(e=d)e=c.ZJ,e=!(e===d||e&&d&&e.bandwidth==d.bandwidth&&e.audioSamplingRate==d.audioSamplingRate&&e.codecs==d.codecs&&e.contentType==d.contentType&&e.frameRate==d.frameRate&&e.height==d.height&&e.mimeType==d.mimeType&&e.channelsCount==d.channelsCount&&e.pixelAspectRatio==d.pixelAspectRatio&&e.width==d.width);
360if(e)a:{e=a;f=d.contentType;if((f=this.h()[f])&&0<f.length){var g=f[f.length-1].end;if(e>=f[0].start&&e<g){e=!0;break a}}e=!1}e&&(c.ZJ=d,JSON.stringify(d),c=new Kh("qualitychange",new Map([["quality",d],["position",a]])),this.dispatchEvent(c))}};function bda(a,b){if((a=a.h()[b.contentType])&&0<a.length){var c=a[0].start,d=a[a.length-1].end,e=b.Qu;b.Qu=e.filter(function(f,g){return f.position<=c&&g+1<e.length&&e[g+1].position<=c||f.position>=d?!1:!0})}else b.Qu=[]};function hm(a){Nh.call(this);var b=this;this.g=new Set;this.j=a;this.h=(new Xe(function(){for(var c=b.j(),d=m(b.g),e=d.next();!e.done;e=d.next())e=e.value,e.endTime<c.start&&(b.g.delete(e),e=new Kh("regionremove",new Map([["region",e]])),b.dispatchEvent(e))})).kf(2)}pa(hm,Nh);hm.prototype.release=function(){this.g.clear();this.h.stop();Nh.prototype.release.call(this)};function im(a){Nh.call(this);var b=this;this.j=a;this.g=new Map;this.l=[{pp:null,op:jm,fo:function(c,d){return km(b,"enter",c,d)}},{pp:lm,op:jm,fo:function(c,d){return km(b,"enter",c,d)}},{pp:mm,op:jm,fo:function(c,d){return km(b,"enter",c,d)}},{pp:jm,op:lm,fo:function(c,d){return km(b,"exit",c,d)}},{pp:jm,op:mm,fo:function(c,d){return km(b,"exit",c,d)}},{pp:lm,op:mm,fo:function(c,d){return km(b,"skip",c,d)}},{pp:mm,op:lm,fo:function(c,d){return km(b,"skip",c,d)}}];this.h=new fi;this.h.J(this.j,"regionremove",
361function(c){b.g.delete(c.region)})}pa(im,Nh);im.prototype.release=function(){this.j=null;this.g.clear();this.h.release();this.h=null;Nh.prototype.release.call(this)};im.prototype.o=function(a,b){for(var c=m(this.j.g),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.g.get(d),f=a<d.startTime?lm:a>d.endTime?mm:jm;this.g.set(d,f);for(var g=m(this.l),k=g.next();!k.done;k=g.next())k=k.value,k.pp==e&&k.op==f&&k.fo(d,b)}};
362function km(a,b,c,d){b=new Kh(b,new Map([["region",c],["seeking",d
362]]));a.dispatchEvent(b)}var lm=1,jm=2,mm=3;function nm(a,b,c,d,e){a=Zh(a,d,e);if(0!=b||null!=c)a.headers.Range=c?"bytes="+b+"-"+c:"bytes="+b+"-";return a};function om(a,b){var c=this;this.La=b;this.Pa=a;this.V=null;this.l=1;this.j=this.h=null;this.L=0;this.s=!1;this.g=new Map;this.m=!1;this.T=null;this.o=!1;this.Rb=new di(function(){return cda(c)})}h=om.prototype;h.destroy=function(){return this.Rb.destroy()};function cda(a){var b,c,d,e;return r(function(f){if(1==f.g){b=[];c=m(a.g.values());for(d=c.next();!d.done;d=c.next())e=d.value,pm(e),b.push(qm(e));return p(f,Promise.all(b),2)}a.g.clear();a.La=null;a.Pa=null;a.V=null;ua(f)})}
363h.configure=function(a){this.V=a;this.T=new Bh({maxAttempts:Math.max(a.retryParameters.maxAttempts,2),baseDelay:a.retryParameters.baseDelay,backoffFactor:a.retryParameters.backoffFactor,fuzzFactor:a.retryParameters.fuzzFactor,timeout:0,stallTimeout:0,connectionTimeout:0},!0)};h.start=function(){var a=this;return r(function(b){if(1==b.g)return p(b,dda(a),2);ei(a.Rb);a.m=!0;ua(b)})};
364function eda(a,b){var c,d,e,f,g,k,l;r(function(n){switch(n.g){case 1:return c=Te,a.L++,d=a.L,va(n,2),p(n,a.La.ed.clear(c.Ne),4);case 4:xa(n,3);break;case 2:if(e=ya(n),a.La)a.La.onError(e);case 3:f=Lf(b.mimeType,b.codecs),fl(a.La.ed,f,a.Pa.sequenceMode),g=a.La.ed.s,(k=g.isTextVisible()||a.V.alwaysStreamText)&&a.L==d&&(l=rm(b),a.g.set(c.Ne,l),sm(a,l,0)),ua(n)}})}function fda(a){var b=a.g.get(Se);b&&(pm(b),qm(b).catch(function(){}),a.g.delete(Se));a.j=null}
365function tm(a,b){var c=a.g.get("video");if(c){var d=c.stream;if(d)if(b)(b=d.trickModeVideo)&&!c.Mo&&(um(a,b,!1,0,!1),c.Mo=d);else if(d=c.Mo)c.Mo=null,um(a,d,!0,0,!1)}}function vm(a,b,c,d,e,f){c=void 0===c?!1:c;d=void 0===d?0:d;e=void 0===e?!1:e;f=void 0===f?!1:f;a.h=b;a.m&&(b.video&&um(a,b.video,c,d,e,f),b.audio&&um(a,b.audio,c,d,e,f))}function wm(a,b){r(function(c){if(1==c.g)return a.j=b,a.m?b.segmentIndex?c.ua(2):p(c,b.createSegmentIndex(),2):c.return();um(a,b,!0,0,!1);ua(c)})}
366function um(a,b,c,d,e,f){var g=a.g.get(b.type);g||b.type!=Se?g&&(g.Mo&&(b.trickModeVideo?(g.Mo=b,b=b.trickModeVideo):g.Mo=null),g.stream!=b||e)&&(b.type==Se&&fl(a.La.ed,Lf(b.mimeType,b.codecs),a.Pa.sequenceMode),g.stream.closeSegmentIndex&&g.stream.closeSegmentIndex(),g.stream=b,g.Sf=null,g.GI=!!f,c&&(g.at?g.bB=!0:g.ph?(g.Vm=!0,g.Rw=d,g.bB=!0):(pm(g),xm(a,g,!0,d).catch(function(k){if(a.La)a.La.onError(k)}))),gda(a,g).catch(function(k){if(a.La)a.La.onError(k)})):eda(a,b)}
367function gda(a,b){var c,d;return r(function(e){if(1==e.g){if(!b.Wh)return e.return();c=b.stream;d=b.Wh;return c.segmentIndex?e.ua(2):p(e,c.createSegmentIndex(),2)}if(b.Wh!=d||b.stream!=c)return e.return();var f=a.La.Jx();var g=kl(a.La.ed,b.type),k=b.stream.segmentIndex.find(b.lh?b.lh.endTime:f),l=null==k?null:b.stream.segmentIndex.get(k);k=l?l.Md():null;l&&!k&&(k=(l.Ot()-l.getStartTime())*(b.stream.bandwidth||0)/8);k?((l=l.h)&&(k+=l.Md()||0),l=a.La.getBandwidthEstimate(),f=8*k/l<(g||0)-f-Math.max(a.Pa.minBufferTime||
3680,a.V.rebufferingGoal)||b.Wh.h.g>k?!0:!1):f=!1;f&&b.Wh.abort();ua(e)})}h.hv=function(){if(this.La)for(var a=this.La.Jx(),b=m(this.g.keys()),c=b.next();!c.done;c=b.next()){var d=c.value;c=this.g.get(d);c.Sf=null;var e=this.La.ed;d==Se?(e=e.g,e=null==e.g||null==e.h?!1:a>=e.g&&a<e.h):(e=jl(e,d),e=Tk(e,a));e||((null!=kl(this.La.ed,d)||c.ph)&&hda(this,c),c.Wh&&(c.Wh.abort(),c.Wh=null),d===Se&&(d=this.La.ed,d.L&&d.L.reset()),c.hv=!0)}};
369function hda(a,b){b.at||b.Vm||(b.ph?(b.Vm=!0,b.Rw=0):null==il(a.La.ed,b.type)?null==b.Yj&&sm(a,b,0):(pm(b),xm(a,b,!1,0).catch(function(c){if(a.La)a.La.onError(c)})))}
370function dda(a){var b,c,d,e,f,g,k,l,n,q;return r(function(t){if(1==t.g){b=Te;if(!a.h)throw new Bb(2,5,5006);c=new Map;d=new Set;a.h.audio&&(c.set(b.pw,a.h.audio),d.add(a.h.audio));a.h.video&&(c.set(b.ji,a.h.video),d.add(a.h.video));a.j&&(c.set(b.Ne,a.j),d.add(a.j));e=a.La.ed;f=a.V.forceTransmux;return p(t,e.init(c,f,a.Pa.sequenceMode),2)}ei(a.Rb);a.updateDuration();g=m(c.keys());for(k=g.next();!k.done;k=g.next())l=k.value,n=c.get(l),a.g.has(l)||(q=rm(n),a.g.set(l,q),sm(a,q,0));ua(t)})}
371function rm(a){return{stream:a,type:a.type,Sf:null,lh:null,My:null,tE:null,rE:null,qE:null,Mo:null,endOfStream
371:!1,ph:!1,Yj:null,Vm:!1,Rw:0,bB:!1,at:!1,hv:!0,NE:!1,FF:!1,xb:!1,Wh:null}}h.updateDuration=function(){var a=this.Pa.presentationTimeline.getDuration();Infinity>a?this.La.ed.Ti(a):this.La.ed.Ti(Math.pow(2,32))};
372h.Gu=function(a){var b=this,c,d,e,f,g;return r(function(k){switch(k.g){case 1:ei(b.Rb);if(a.ph||null==a.Yj||a.at)return k.return();a.Yj=null;if(!a.Vm){k.ua(2);break}return p(k,xm(b,a,a.bB,a.Rw),3);case 3:return k.return();case 2:if(a.stream.segmentIndex){k.ua(4);break}c=a.stream;return p(k,a.stream.createSegmentIndex(),5);case 5:if(c!=a.stream)return c.closeSegmentIndex&&c.closeSegmentIndex(),a.ph||a.Yj||sm(b,a,0),k.return();case 4:va(k,6);d=ida(b,a);null!=d&&(sm(b,a,d),a.xb=!1);xa(k,7);break;case 6:return e=
373ya(k),p(k,ym(b,e),8);case 8:return k.return();case 7:f=Array.from(b.g.values());if(!b.m||!f.every(function(l){return l.endOfStream})){k.ua(0);break}return p(k,b.La.ed.endOfStream(),10);case 10:ei(b.Rb),g=b.La.ed.getDuration(),0!=g&&g<b.Pa.presentationTimeline.getDuration()&&b.Pa.presentationTimeline.Ti(g),ua(k)}})};
374function ida(a,b){if(zm(b))return Rca(a.La.ed,b.stream.originalId||""),null;b.type==Se&&Sca(a.La.ed);var c=a.La.Jx(),d=b.lh?b.lh.endTime:c,e=Oca(a.La.ed,b.type,c),f=Math.max(a.Pa.minBufferTime||0,a.V.rebufferingGoal,a.V.bufferingGoal)*a.l,g=a.Pa.presentationTimeline.getDuration()-d,k=kl(a.La.ed,b.type);if(1E-6>g&&k)return b.endOfStream=!0,"video"==b.type&&(a=a.g.get(Se))&&zm(a)&&(a.endOfStream=!0),null;b.endOfStream=!1;if(e>=f)return a.V.updateIntervalSeconds/2;e=jda(a,b,c,k);if(!e)return a.V.updateIntervalSeconds;
375f=Infinity;g=Array.from(a.g.values());g=m(g);for(k=g.next();!k.done;k=g.next())k=k.value,zm(k)||k.Sf&&!k.Sf.current()||(f=Math.min(f,k.lh?k.lh.endTime:c));if(d>=f+a.Pa.presentationTimeline.g)return a.V.updateIntervalSeconds;kda(a,b,c,e).catch(function(){});return null}
376function jda(a,b,c,d){if(b.Sf)return b.Sf.current();if(b.lh||d)return c=b.lh?b.lh.endTime:d,b.NE=!0,b.Sf=b.stream.segmentIndex.uq(c),b.Sf&&b.Sf.next().value;a=a.V.inaccurateManifestTolerance;d=Math.max(c-a,0);var e=null;a&&(b.Sf=b.stream.segmentIndex.uq(d),e=b.Sf&&b.Sf.next().value);e||(b.Sf=b.stream.segmentIndex.uq(c),e=b.Sf&&b.Sf.next().value);return e}
377function kda(a,b,c,d){var e,f,g,k,l,n,q,t,u,v,y,G,K,J,O;return r(function(P){switch(P.g){case 1:e=Te;f=b.stream;g=b.Sf;b.ph=!0;va(P,2);if(2==d.Ec())throw new Bb(1,1,1011);return p(P,lda(a,b,d),4);case 4:ei(a.Rb);if(a.o)return P.return();k="video/mp4"==f.mimeType||"audio/mp4"==f.mimeType;l=window.ReadableStream;if(a.V.lowLatencyMode&&l&&k&&!d.s)return t=new Uint8Array(0),v=u=!1,y=function(Q){var R,aa,fa;return r(function(za){if(u)return za.return();v=!0;ei(a.Rb);if(a.o)return za.return();t=mda(t,Q);
378R=!1;aa=0;(new ti).box("mdat",function(Aa){aa=Aa.size+Aa.start;R=!0}).parse(t,!1,!0);if(!R)return za.ua(0);fa=t.subarray(0,aa);t=t.subarray(aa);return p(za,Am(a,b,c,f,d,fa),0)})},p(P,Bm(a,b,d,y),11);n=Bm(a,b,d);return p(P,n,7);case 7:q=P.h;ei(a.Rb);if(a.o)return P.return();if(!d.s){P.ua(8);break}return p(P,nda(q,d,g),9);case 9:q=P.h;case 8:return ei(a.Rb),b.Vm?(b.ph=!1,sm(a,b,0),P.return()):p(P,Am(a,b,c,f,d,q),6);case 11:G=P.h;if(v){P.ua(6);break}u=!0;ei(a.Rb);return a.o?P.return():b.Vm?(b.ph=!1,
379sm(a,b,0),P.return()):p(P,Am(a,b,c,f,d,G),6);case 6:ei(a.Rb);if(a.o)return P.return();b.lh=d;g.next();b.ph=!1;b.FF=!1;K=a.La.ed.yk();J=K[b.type];oaa(JSON.stringify(J));b.Vm||a.La.gF(d.startTime,d.endTime,b.type);sm(a,b,0);xa(P,0);break;case 2:O=ya(P);ei(a.Rb,O);if(a.o)return P.return();b.ph=!1;if(7001==O.code)b.ph=!1,pm(b),sm(a,b,0),P.ua(0);else if(b.type==e.Ne&&a.V.ignoreTextStreamFailures)a.g.delete(e.Ne),P.ua(0);else if(3017==O.code)oda(a,b,O),P.ua(0);else return b.xb=!0,O.severity=2,p(P,ym(a,
380O),0)}})}function nda(a,b,c){var d,e,f,g;return r(function(k){if(1==k.g)return d=b.s,d.cryptoKey?k.ua(2):p(k,d.fetchKey(),3);e=d.iv;if(!e)for(e=wb(new ArrayBuffer(16)),f=d.firstMediaSequenceNumber+c.g,g=e.byteLength-1;0<=g;g--)e[g]=f&255,f>>=8;return k.return(window.crypto.subtle.decrypt({name:"AES-CBC",iv:e},d.cryptoKey,a))})}function mda(a,b){var c=new Uint8Array(a.length+b.length);c.set(a);c.set(b,a.length);return c}
381function oda(a,b,c){if(!Array.from(a.g.values()).some(function(e){return e!=b&&e.FF}
381)){var d=Math.round(100*a.l);if(20<d)a.l-=.2;else if(4<d)a.l-=.04;else{b.xb=!0;a.o=!0;a.La.onError(c);return}b.FF=!0}sm(a,b,4)}
382function lda(a,b,c){var d,e,f,g,k,l,n,q;return r(function(t){d=[];e=Math.max(0,c.appendWindowStart-.1);f=c.appendWindowEnd+.01;g=c.timestampOffset;if(g!=b.tE||e!=b.rE||f!=b.qE)k=function(){var u;return r(function(v){if(1==v.g)return va(v,2),b.rE=e,b.qE=f,b.tE=g,p(v,Tca(a.La.ed,b.type,g,e,f,a.Pa.sequenceMode),4);if(2!=v.g)return xa(v,0);u=ya(v);b.rE=null;b.qE=null;b.tE=null;throw u;})},d.push(k());!Fca(c.h,b.My)&&(b.My=c.h)&&(l=Bm(a,b,c.h),n=function(){var u,v,y,G;return r(function(K){switch(K.g){case 1:return va(K,
3832),p(K,l,4);case 4:return u=K.h,ei(a.Rb),v=new ti,v.box("moov",xi).box("trak",xi).box("mdia",xi).md("mdhd",function(J){J=Fk(J.reader||0,J.version||0);c.h.timescale=J.timescale}).parse(u),y=b.stream.closedCaptions&&0<b.stream.closedCaptions.size,p(K,a.La.dJ(b.type,u),5);case 5:return p(K,ll(a.La.ed,b.type,u,null,y),6);case 6:xa(K,0);break;case 2:throw G=ya(K),b.My=null,G;}})},a.La.L2(c.startTime,c.h),d.push(n()));q=b.lh?b.lh.o:null;if(a.Pa.sequenceMode){if(c.o!=q||b.NE)b.NE=!1,d.push(sl(a.La.ed,b.type,
384c.startTime))}else c.o!=q&&d.push(sl(a.La.ed,b.type,c.timestampOffset));return p(t,Promise.all(d),0)})}
385function Am(a,b,c,d,e,f){var g,k,l,n,q,t;return r(function(u){switch(u.g){case 1:g=d.closedCaptions&&0<d.closedCaptions.size;l=null!=d.emsgSchemeIdUris&&0<d.emsgSchemeIdUris.length||a.V.dispatchAllEmsgBoxes;n=a.V.parsePrftBox&&!a.s;if(l||n)k=new ti;l&&k.md("emsg",function(v){var y=d.emsgSchemeIdUris;if(0===v.version){var G=v.reader.Yu();var K=v.reader.Yu();var J=v.reader.eb();var O=v.reader.eb();var P=v.reader.eb();var Q=v.reader.eb();var R=e.startTime+O/J}else J=v.reader.eb(),R=v.reader.Id()/J+e.timestampOffset,
386O=R-e.startTime,P=v.reader.eb(),Q=v.reader.eb(),G=v.reader.Yu(),K=v.reader.Yu();v=v.reader.Hd(v.reader.Dc()-v.reader.Te());if(y&&y.includes(G)||a.V.dispatchAllEmsgBoxes)"urn:mpeg:dash:event:2012"==G?a.La.O2():"https://aomedia.org/emsg/ID3"==G?(y=Yk(v),y.length&&e&&a.La.P2([{cueTime:e.startTime,data:v,frames:y,dts:e.startTime,pts:e.startTime}],0,e.endTime)):(y=(new Map).set("detail",{startTime:R,endTime:R+P/J,schemeIdUri:G,value:K,timescale:J,presentationTimeDelta:O,eventDuration:P,id:Q,messageData:v}),
387y=new Kh("emsg",y),a.La.onEvent(y))});n&&k.md("prft",function(v){a:{if(!a.s&&e.h.timescale){v.reader.eb();var y=v.reader.eb(),G=v.reader.eb();y=1E3*y+G/Math.pow(2,32)*1E3;if(0===v.version)var K=v.reader.eb();else try{K=v.reader.Id()}catch(J){a.s=!0;K=void 0;break a}v=e.h.timescale;y=(new Date((new Date(Date.UTC(1900,0,1,0,0,0))).getTime()+y)).getTime();K=(new Map).set("detail",{wallClockTime:y,programStartDate:new Date(y-K/v*1E3)});K=new Kh("prft",K);a.La.onEvent(K);a.s=!0}K=void 0}return K});(l||
388n)&&k.parse(f);return p(u,pda(a,b,c),2);case 2:return ei(a.Rb),q=b.hv,b.hv=!1,t=b.GI,b.GI=!1,p(u,a.La.dJ(b.type,f),3);case 3:return p(u,ll(a.La.ed,b.type,f,e,g,q,t),4);case 4:ei(a.Rb),ua(u)}})}function pda(a,b,c){var d,e,f,g;return r(function(k){if(1==k.g){d=Math.max(a.V.bufferBehind,a.Pa.presentationTimeline.g);e=il(a.La.ed,b.type);if(null==e)return k.return();f=c-e;g=f-d;return.01>=g?k.return():p(k,a.La.ed.remove(b.type,e,e+g),2)}ei(a.Rb);ua(k)})}
389function zm(a){return a&&a.type==Se&&("application/cea-608"==a.stream.mimeType||"application/cea-708"==a.stream.mimeType)}function Bm(a,b,c,d){var e,f,g,k,l;return r(function(n){if(1==n.g)return e=ci,f=nm(c.Fi(),c.Zi,c.zg,a.V.retryParameters,d),g=b.stream,a.La.modifySegmentRequest(f,{type:g.type,init:c instanceof Nk,duration:c.endTime-c.startTime,mimeType:g.mimeType,codecs:g.codecs,bandwidth:g.bandwidth}),k=a.La.xo.request(e,f),b.Wh=k,p(n,k.promise,2);l=n.h;b.Wh=null;return n.return(l.data)})}
390function xm(a,b,c,d){var e,f;return r(function(g){if(1==g.g)return b.Vm=!1,b.bB=!1,b.Rw=0,b.at=!0,b.lh=null,b.My=null,b.
390Sf=null,d?(e=a.La.Jx(),f=a.La.ed.getDuration(),p(g,a.La.ed.remove(b.type,e+d,f),3)):p(g,a.La.ed.clear(b.type),4);if(3!=g.g)return ei(a.Rb),c?p(g,a.La.ed.flush(b.type),3):g.ua(3);ei(a.Rb);b.at=!1;b.endOfStream=!1;b.ph||b.Yj||sm(a,b,0);ua(g)})}
391function sm(a,b,c){var d=b.type;if(d!=Se||a.g.has(d))b.Yj=(new We(function(){var e;return r(function(f){if(1==f.g)return va(f,2),p(f,a.Gu(b),4);if(2!=f.g)return xa(f,0);e=ya(f);if(a.La)a.La.onError(e);ua(f)})})).Hc(c)}function pm(a){null!=a.Yj&&(a.Yj.stop(),a.Yj=null)}function qm(a){return r(function(b){return a.Wh?p(b,a.Wh.abort(),0):b.ua(0)})}function ym(a,b){return r(function(c){if(1==c.g)return p(c,Dh(a.T),2);ei(a.Rb);a.La.onError(b);b.handled||a.V.failureCallback(b);ua(c)})};function Cm(a,b){var c=Dm(),d=this;this.s=b;this.j=a;this.o=c;this.m=null;this.l=[];this.h=this.g=null;this.L=Promise.resolve().then(function(){return qda(d)});this.Rb=new di(function(){return rda(d)})}Cm.prototype.destroy=function(){return this.Rb.destroy()};function rda(a){var b,c,d;return r(function(e){if(1==e.g)return a.h&&a.h.abort(),Em(a),p(e,a.L,2);a.g&&a.g.yd.Co();b=m(a.l);for(c=b.next();!c.done;c=b.next())d=c.value,d.yd.Co();a.g=null;a.l=[];a.s=null;ua(e)})}
392function Fm(a,b){var c={gr:function(){},Am:function(){},Co:function(){},onError:function(){},lz:function(){},Ola:function(){}};a.l.push({create:b,yd:c});a.h&&a.h.abort();Em(a);return c}
393function qda(a){return r(function(b){if(a.Rb.g)b=b.ua(0);else{if(0==a.l.length||a.g&&!a.g.co)var c=!1;else{a.g&&(a.g.yd.Co(),a.g=null);c=a.l.shift();var d=c.create(a.o);d?(c.yd.gr(),a.g={node:d.node,payload:d.payload,co:d.co,yd:c.yd}):c.yd.lz();c=!0}c?c=Promise.resolve():a.g?c=sda(a):(a.s.K2(a.j),a.m=new Ue,c=a.m);b=p(b,c,1)}return b})}
394function sda(a){var b,c;return r(function(d){switch(d.g){case 1:return a.j=a.s.gY(a.j,a.o,a.g.node,a.g.payload),va(d,2),a.h=a.s.fX(a.j,a.o,a.g.payload),p(d,a.h.promise,4);case 4:a.h=null;a.j==a.g.node&&(a.g.yd.Am(),a.g=null);xa(d,0);break;case 2:b=ya(d);if(7001==b.code)a.g.yd.Co();else a.g.yd.onError(b);a.g=null;a.h=null;c=a;return p(d,a.s.handleError(a.o,b),5);case 5:c.j=d.h,ua(d)}})}function Em(a){a.m&&(a.m.resolve(),a.m=null)};function Gm(a){var b=[],c=700<=a.fontWeight,d="italic"==a.fontStyle,e=a.textDecoration.includes("underline");c&&b.push("b");d&&b.push("i");e&&b.push("u");c=b.reduce(function(f,g){return f+"<"+g+">"},"");b=b.reduceRight(function(f,g){return f+"</"+g+">"},"");return a.lineBreak?"\n":a.nestedCues.length?a.nestedCues.map(Gm).join(""):c+a.payload+b}
395function Hm(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.isContainer)Hm(c.nestedCues,b);else{var d=c.clone();d.nestedCues=[];d.payload=Gm(c);b.push(d)}return b};function Im(a){this.g=null;for(var b=m(Array.from(a.textTracks)),c=b.next();!c.done;c=b.next())c=c.value,c.mode="disabled","Shaka Player TextTrack"==c.label&&(this.g=c);this.g||(this.g=a.addTextTrack("subtitles","Shaka Player TextTrack"));this.g.mode="hidden"}h=Im.prototype;h.remove=function(a,b){if(!this.g)return!1;Jm(this.g,function(c){return c.startTime<b&&c.endTime>a});return!0};
396h.append=function(a){var b=Hm(a,[]),c=[];a=this.g.cues?Array.from(this.g.cues):[];var d={};b=m(b);for(var e=b.next();!e.done;d={yp:d.yp},e=b.next())d.yp=e.value,a.some(function(f){return function(g){return g.startTime==f.yp.startTime&&g.endTime==f.yp.endTime&&g.text==f.yp.payload?!0:!1}}(d))||(e=tda(d.yp))&&c.push(e);a=c.slice().sort(function(f,g){return f.startTime!=g.startTime?f.startTime-g.startTime:f.endTime!=g.endTime?f.endTime-g.startTime:"line"in VTTCue.prototype?c.indexOf(g)-c.indexOf(f):
397c.indexOf(f)-c.indexOf(g)});a=m(a);for(d=a.next();!d.done;d=a.next())this.g.addCue(d.value)};h.destroy=function(){this.g&&(Jm(this.g,function(){return!0}),this.g.mode="disabled");this.g=null;return Promise.resolve()};h.isTextVisible=function(){return"showing"==this.g.mode};h.setTextVisibility=function(a){this.g.mode=a?"showing":"hidden"};
398function tda(a){if(a.startTime>=a.endTime)return null;var b=new VTTCue(a.startTime,a.endTime,a.payload);b.lineAlign=a.lineAlign;b.positionAlign=a.positionAlign;a.size&&(b.size=a.size);try{b.align=a.textAlign}catch(c){}"center"==a.textAlign&&"center"!=b.align&&(b.align="middle");"vertical-lr"==a.writingMode?b.vertical="lr":"vertical-rl"==a.writingMode&&(b.vertical="rl");1==a.lineInterpretation&&(b.snapToLines=!1);null!=a.line&&(b.line=a.line);null!=a.position&&(b.position=a.position);return b}
399function Jm(a,b){var c=a.mode;a.mode="showing"==c?"showing":"hidden";for(var d=m(Array.from(a.cues)),e=d.next();!e.done;e=d.next())(e=e.value)&&b(e)&&a.removeCue(e);a.mode=c}fb("shaka.text.SimpleTextDisplayer",Im);Im.prototype.setTextVisibility=Im.prototype.setTextVisibility;Im.prototype.isTextVisible=Im.prototype.isTextVisible;Im.prototype.destroy=Im.prototype.destroy;Im.prototype.append=Im.prototype.append;Im.prototype.remove=Im.prototype.remove;function Km(){}function Lm(a){return document.createElement(a)}function Mm(){var a=document.createElement("button");a.setAttribute("type","button");return a}function Nm(a){for(;a.firstChild;)a.removeChild(a.firstChild)}fb("shaka.util.Dom",Km);Km.removeAllChildren=Nm;
399function Om(a,b){var c=this;this.M=!1;this.j=[];this.T=a;this.s=b;this.g=Lm("div");this.g.classList.add("zx-Fx-ye");this.g.style.textAlign="center";this.g.style.display="flex";this.g.style.flexDirection="column";this.g.style.alignItems="center";this.g.style.justifyContent="flex-end";this.s.appendChild(this.g);this.L=(new Xe(function(){Pm(c)})).kf(.25);this.h=new Map;this.m=new fi;this.m.J(document,"fullscreenchange",function(){Pm(c,!0)});this.l=null;"ResizeObserver"in window&&(this.l=new ResizeObserver(function(){Pm(c,
400!0)}),this.l.observe(this.g));this.o=new Map}h=Om.prototype;h.append=function(a){var b=ka(this.j).concat(),c={};a=m(a);for(var d=a.next();!d.done;c={fw:c.fw},d=a.next())c.fw=d.value,b.some(function(e){return function(f){return xg(f,e.fw)}}(c))||this.j.push(c.fw);Pm(this)};h.destroy=function(){this.s.removeChild(this.g);this.g=null;this.M=!1;this.j=[];this.L&&this.L.stop();this.h.clear();this.m&&(this.m.release(),this.m=null);this.l&&(this.l.disconnect(),this.l=null)};
401h.remove=function(a,b){if(!this.g)return!1;var c=this.j.length;this.j=this.j.filter(function(d){return d.startTime<a||d.endTime>=b});Pm(this,c>this.j.length);return!0};h.isTextVisible=function(){return this.M};h.setTextVisibility=function(a){this.M=a};function uda(a,b){for(;null!=b;){if(b==a.g)return!0;b=b.parentElement}return!1}
402function Qm(a,b,c,d,e){var f=!1,g=[],k=[];b=m(b);for(var l=b.next();!l.done;l=b.next()){l=l.value;e.push(l);var n=a.h.get(l),q=l.startTime<=d&&l.endTime>d,t=n?n.lT:null;n&&(g.push(n.xC),n.bv&&g.push(n.bv),q||(f=!0,a.h.delete(l),n=null));q&&(k.push(l),n?uda(a,t)||(f=!0):(vda(a,l,e),n=a.h.get(l),t=n.lT,f=!0));0<l.nestedCues.length&&t&&Qm(a,l.nestedCues,t,d,e);e.pop()}if(f){d=m(g);for(e=d.next();!e.done;e=d.next())e=e.value,e.parentElement&&e.parentElement.removeChild(e);k.sort(function(u,v){return u.startTime!=
403v.startTime?u.startTime-v.startTime:u.endTime-v.endTime});k=m(k);for(l=k.next();!l.done;l=k.next())d=a.h.get(l.value),d.bv?(c.appendChild(d.bv),d.bv.appendChild(d.xC)):c.appendChild(d.xC)}}function Pm(a,b){if(a.g){var c=a.T.currentTime;if(!a.M||(void 0===b?0:b)){b=m(a.o.values());for(var d=b.next();!d.done;d=b.next())Nm(d.value);Nm(a.g);a.h.clear();a.o.clear()}if(a.M){b=new Map;d=m(a.h.keys());for(var e=d.next();!e.done;e=d.next())e=e.value,b.set(e,a.h.get(e));Qm(a,a.j,a.g,c,[])}}}
404function vda(a,b,c){var d=1<c.length,e=d?"span":"div";b.lineBreak&&(e="br");d=!d&&0<b.nestedCues.length;var f=Lm(e);"br"!=e&&wda(a,f,b,c,d);c=null;if(b.region&&b.region.id)if(c=b.region,e=c.id+"_"+c.width+"x"+c.height+(c.heightUnits==Fg?"%":"px")+"-"+c.viewportAnchorX+"x"+c.viewportAnchorY+(c.viewportAnchorUnits==Fg?"%":"px"),a.o.has(e))c=a.o.get(e);else{var g=Lm("span"),k=c.heightUnits==Fg?"%":"px",l=c.widthUnits==Fg?"%":"px",n=c.viewportAnchorUnits==Fg?"%":"px";g.id="shaka-text-region---"+e;g.classList.add("shaka-text-region");
405g.style.height=c.height+k;g.style.width=c.width+l;g.style.position="absolute";g.style.top=c.viewportAnchorY+n;g.style.left=c.viewportAnchorX+n;g.style.display="flex";g.style.flexDirection="column";g.style.alignItems="center";g.style.justifyContent="before"==b.displayAlign?"flex-start":"center"==b.displayAlign?"center":"flex-end";a.o.set(e,g);c=g}e=f;d&&(e=Lm("span"),e.classList.add("zx-Fx-Tx"),e.style.backgroundColor=b.backgroundColor,e.style.lineHeight="normal",f.appendChild(e));a.h.set(b,{xC:f,
406lT:e,bv:c})}
407function wda(a,b,c,d,e){var f=b.style,g=0==c.nestedCues.length,k=1<d.length;f.whiteSpace="pre-wrap";var l=c.payload.replace(/\s+$/g,function(q){return"\u00a0".repeat(q.length)});f.webkitTextStrokeColor=c.textStrokeColor;f.webkitTextStrokeWidth=c.textStrokeWidth;f.color=c.color;f.direction=c.direction;f.opacity=c.opacity;f.paddingLeft=Rm(c.linePadding,c,a.s);f.paddingRight=Rm(c.linePadding,c,a.s);f.textShadow=c.textShadow;if(c.backgroundImage)f.backgroundImage="url('"+c.backgroundImage+"')",f.backgroundRepeat=
408"no-repeat",f.backgroundSize="contain",f.backgroundPosition="center",f.width="100%",f.height="100%";else{if(c.nestedCues.length)var n=b;else n=Lm("span"),b.appendChild(n);c.border&&(n.style.border=c.border);
408e||((b=xda(d,function(q){return q.backgroundColor}))?n.style.backgroundColor=b:l&&(n.style.backgroundColor="rgba(0, 0, 0, 0.8)"));l&&(n.textContent=l)}k&&!d[d.length-1].isContainer?f.display="inline":(f.display="flex",f.flexDirection="column",f.alignItems="center",f.justifyContent="before"==c.displayAlign?
409"flex-start":"center"==c.displayAlign?"center":"flex-end");g||(f.margin="0");f.fontFamily=c.fontFamily;f.fontWeight=c.fontWeight.toString();f.fontStyle=c.fontStyle;f.letterSpacing=c.letterSpacing;f.fontSize=Rm(c.fontSize,c,a.s);null!=c.line&&1==c.lineInterpretation&&(f.position="absolute",c.writingMode==rg?(f.width="100%",c.lineAlign==tg?f.top=c.line+"%":"end"==c.lineAlign&&(f.bottom=100-c.line+"%")):"vertical-lr"==c.writingMode?(f.height="100%",c.lineAlign==tg?f.left=c.line+"%":"end"==c.lineAlign&&
410(f.right=100-c.line+"%")):(f.height="100%",c.lineAlign==tg?f.right=c.line+"%":"end"==c.lineAlign&&(f.left=100-c.line+"%")));f.lineHeight=c.lineHeight;null!=c.position&&(c.writingMode==rg?f.paddingLeft=c.position:f.paddingTop=c.position);"line-left"==c.positionAlign?f.cssFloat="left":"line-right"==c.positionAlign&&(f.cssFloat="right");f.textAlign=c.textAlign;f.textDecoration=c.textDecoration.join(" ");f.writingMode=c.writingMode;"writingMode"in document.documentElement.style&&f.writingMode==c.writingMode||
411(f.webkitWritingMode=c.writingMode);c.size&&(c.writingMode==rg?f.width=c.size+"%":f.height=c.size+"%")}function Rm(a,b,c){var d=(d=(new RegExp(/(\d*\.?\d+)([a-z]+|%+)/)).exec(a))?{value:Number(d[1]),y9:d[2]}:null;if(!d)return a;var e=d.value;switch(d.y9){case "%":return e/100*c.clientHeight/b.cellResolution.rows+"px";case "c":return c.clientHeight*e/b.cellResolution.rows+"px";default:return a}}function xda(a,b){for(var c=a.length-1;0<=c;c--){var d=b(a[c]);if(d||0===d)return d}return null}
412fb("shaka.text.UITextDisplayer",Om);Om.prototype.setTextVisibility=Om.prototype.setTextVisibility;Om.prototype.isTextVisible=Om.prototype.isTextVisible;Om.prototype.remove=Om.prototype.remove;Om.prototype.destroy=Om.prototype.destroy;Om.prototype.append=Om.prototype.append;function yda(a,b){function c(f){for(var g=f,k=m(b),l=k.next();!l.done;l=k.next())l=l.value,l.end&&l.start<f&&(g+=l.end-l.start);f=Math.floor(g/3600);k=Math.floor(g/60%60);l=Math.floor(g%60);g=Math.floor(1E3*g%1E3);return(10>f?"0":"")+f+":"+(10>k?"0":"")+k+":"+(10>l?"0":"")+l+"."+(100>g?10>g?"00":"0":"")+g}var d=Hm(a,[]);a="WEBVTT\n\n";d=m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,a+=c(e.startTime)+" --\x3e "+c(e.endTime)+function(f){var g=[];switch(f.textAlign){case "left":g.push("align:left");
413break;case "right":g.push("align:right");break;case qg:g.push("align:middle");break;case "start":g.push("align:start");break;case "end":g.push("align:end")}switch(f.writingMode){case "vertical-lr":g.push("vertical:lr");break;case "vertical-rl":g.push("vertical:rl")}return g.length?" "+g.join(" "):""}(e)+"\n",a+=e.payload+"\n\n";return a}fb("shaka.text.WebVttGenerator",function(){});function zda(a,b){this.La=a;this.V=b;this.h="";this.l=void 0;this.g=!1;this.o=!0;this.j=!1}function Sm(a,b,c){try{if(a.V.enabled){var d={d:1E3*c.duration,st:a.La.nd()?Ada:Bda};d.ot=Cda(c);var e=d.ot===Tm||d.ot===Um||d.ot===dn||d.ot===en;e&&(d.bl=Dda(a,c.type));c.bandwidth&&(d.br=c.bandwidth/1E3);e&&d.ot!==en&&(d.tb=Eda(a,d.ot)/1E3);fn(a,b,d)}}catch(f){mb("CMCD_SEGMENT_ERROR","Could not generate segment CMCD data.",f)}}
414function Fda(a,b,c){try{if(!a.V.enabled)return b;var d=gn(a);a:{switch(c){case "video/webm":case "video/mp4":var e=dn;break a;case "application/x-mpegurl":e=hn;break a}e=void 0}d.ot=e;d.su=!0;var f=jn(d);return kn(b,f)}catch(g){return mb("CMCD_SRC_ERROR","Could not generate src CMCD data.",g),b}}function gn(a){a.h||(a.h=a.V.sessionId||window.crypto.g());return{v:1,sf:a.l,sid:a.h,cid:a.V.contentId,mtp:a.La.getBandwidthEstimate()/1E3}}
415function fn(a,b,c){c=void 0===c?{}:c;var d=void 0===d?a.V.useHeaders:d;if(a.V.enabled){Object.assign(c,gn(a));c.pr=a.La.lm();var e=c.ot===Tm||c.ot===dn;a.j&&e&&(c.bs=!0,c.su=!0,a.j=!1);null==c.su&&(c.su=a.o);if(d)a=Gda(c),Object.keys(a).length&&Object.assign(b.headers,a);else{var f=jn(c);f&&(b.uris=b.uris.map(function(g){return kn(g,f)}))}}}
416function Cda(a){var b=a.type;if(a.init)return Hda;if("video"==b)return a.codecs.includes(",")?dn:Tm;if("audio"==b)return Um;if("text"==b)return"application/mp4"===a.mimeType?en:ln}function Dda(a,b){b=a.La.yk()[b];if(!b.length)return NaN;var c=a.La.getCurrentTime();return(a=b.find(function(d){return d.start<=c&&d.end>=c}))?1E3*(a.end-c):NaN}
417function Eda(a,b){var c=a.La.Gi();if(!c.length)return NaN;a=c[0];c=m(c);for(var d=c.next();!d.done;d=c.next())d=d.value,"variant"===d.type&&d.bandwidth>a.bandwidth&&(a=d);switch(b){case Tm:return a.videoBandwidth||NaN;case Um:return a.audioBandwidth||NaN;default:return a.bandwidth}}
418function jn(a){function b(t){return 100*c(t/100)}function c(t){return Math.round(t)}function d(t){return!Number.isNaN(t)&&null!=t&&""!==t&&!1!==t}var e=[],f={br:c,d:c,bl:b,dl:b,mtp:b,nor:function(t){return encodeURIComponent(t)},rtp:b,tb:c},g=Object.keys(a||{}).sort();g=m(g);for(var k=g.next();!k.done;k=g.next()){k=k.value;var l=a[k];if(d(l)&&("v"!==k||1!==l)&&("pr"!=k||1!==l)){var n=f[k];n&&(l=n(l));n=typeof l;var q=void 0;q="string"===n&&"ot"!==k&&"sf"!==k&&"st"!==k?k+"="+JSON.stringify(l):"boolean"===
419n?k:"symbol"===n?k+"="+l.description:k+"="+l;e.push(q)}}return e.join(",")}function Gda(a){var b=Object.keys(a),c={},d=["Object","Request","Session","Status"],e=[{},{},{},{}],f={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3};b=m(b);for(var g=b.next();!g.done;g=b.next())g=g.value,e[null!=f[g]?f[g]:1][g]=a[g];for(a=0;a<e.length;a++)(f=jn(e[a]))&&(c["CMCD-"+d[a]]=f);return c}
420function kn(a,b){if(!b||a.includes("offline:"))return a;a=new ue(a);a.j.set("CMCD",b);return a.toString()}var hn="m",Um="a",Tm="v",dn="av",Hda="i",ln="c",en="tt",Bda="v",Ada="l";fb("shaka.util.CmcdManager.StreamingFormat",{DASH:"d",HLS:"h",bea:"s",tda:"o"});function mn(){}
421function nn(a,b,c,d,e){var f=e in d,g=!0,k;for(k in b){var l=e+"."+k,n=f?d[e]:c[k];f||k in c?void 0===b[k]?void 0===n||f?delete a[k]:a[k]=Oh(n):n.constructor==Object&&b[k]&&b[k].constructor==Object?(a[k]||(a[k]=Oh(n)),l=nn(a[k],b[k],n,d,l),g=g&&l):typeof b[k]!=typeof n||null==b[k]||"function"!=typeof b[k]&&b[k].constructor!=n.constructor?(kb("Invalid config, wrong type for "+l),g=!1):("function"==typeof c[k]&&c[k].length!=b[k].length&&lb("Unexpected number of arguments for "+l),a[k]=b[k]):(kb("Invalid config, unrecognized key "+
422l),g=!1)}return g}function on(a,b){for(var c={},d=c,e=0,f=0;;){e=a.indexOf(".",e);if(0>e)break;if(0==e||"\\"!=a[e-1])f=a.substring(f,e).replace(/\\\./g,"."),d[f]={},d=d[f],f=e+1;e+=1}d[a.substring(f).replace(/\\\./g,".")]=b;return c}function pn(a,b){return a&&b}fb("shaka.util.ConfigUtils",mn);mn.convertToConfigObject=on;mn.mergeConfigObjects=nn;function qn(a){this.g=Math.exp(Math.log(.5)/a);this.j=this.h=0}function rn(a,b,c){var d=Math.pow(a.g,b);c=c*(1-d)+d*a.h;isNaN(c)||(a.h=c,a.j+=b)}function sn(a){return a.h/(1-Math.pow(a.g,a.j))};function tn(){this.h=new qn(2);this.o=new qn(5);this.g=0;this.j=128E3;this.l=16E3}tn.prototype.configure=function(a){this.j=a.minTotalBytes;this.l=a.minBytes;this.h.g=Math.exp(Math.log(.5)/a.fastHalfLife);this.o.g=Math.exp(Math.log(.5)/a.slowHalfLife)};tn.prototype.getBandwidthEstimate=function(a){return this.g<this.j?a:Math.min(sn(this.h),sn(this.o))};function un(){var a=this;this.o=null;this.Kb=!1;this.g=new tn;navigator.connection&&navigator.connection.addEventListener&&(this.m=function(){if(a.V.useNetworkInformation&&a.Kb){a.g=new tn;a.V&&a.g.configure(a.V.advanced);var b=a.chooseVariant();b&&a.o(b)}},navigator.connection.addEventListener("change",this.m));this.l=[];this.L=1;this.u=!1;this.m=this.h=this.j=this.V=this.s=null;this.T=new Xe(function(){if(a.V.restrictToElementSize){var b=a.chooseVariant();b&&a.o(b)}})}h=un.prototype;
423h.stop=function(){this.o=null;this.Kb=!1;this.l=[];this.L=1;this.j=this.s=null;this.h&&(this.h.disconnect(),this.h=null);this.T.stop()};h.release=function(){navigator.connection&&navigator.connection.removeEventListener&&(navigator.connection.removeEventListener("change",this.m),this.m=null);this.T=null};h.init=function(a){this.o=a};
424h.chooseVariant=function(){var a=Infinity,b=Infinity;this.V.restrictToScreenSize&&(b=this.V.ignoreDevicePixelRatio?1:window.devicePixelRatio,a=window.screen.height*b,b*=window.screen.width);this.h&&this.V.restrictToElementSize&&(b=this.V.ignoreDevicePixelRatio?1:window.devicePixelRatio,a=this.j.clientWidth*b,b*=this.j.clientHeight);a=vn(this.V.restrictions,this.l,a,b);b=this.g.getBandwidthEstimate(wn(this));this.l.length&&!a.length&&(a=vn(null,this.l,Infinity,Infinity),a=[a[0]]);for(var c=a[0]||null,
425d=0;d<a.length;d++){for(var e=a[d],f=isNaN(this.L)?1:Math.abs(this.L),g=f*e.bandwidth/this.V.bandwidthDowngradeTarget,k={bandwidth:Infinity},l=d+1;l<a.length;l++)if(e.bandwidth!=a[l].bandwidth){k=a[l];break}f=f*k.bandwidth/this.V.bandwidthUpgradeTarget;b>=g&&b<=f&&c.bandwidth!=e.bandwidth&&(c=e)}this.s=Date.now();return c};h.enable=function(){this.Kb=!0};h.disable=function(){this.Kb=!1};
426h.segmentDownloaded=function(a,b){var c=this.g;if(!(b<c.l)){var d=8E3*b/a;a/=1E3;c.g+=b;rn(c.h,a,d);rn(c.o,a,d)}if(null!=this.s&&this.Kb)a:{if(!this.u){b=this.g;if(!(b.g>=b.j))break a;this.u=!0}else if(Date.now()-this.s<1E3*this.V.switchInterval)break a;b=this.chooseVariant();this.g.getBandwidthEstimate(wn(this));b&&this.o(b)}};h.getBandwidthEstimate=function(){return this.g.getBandwidthEstimate(wn(this))};h.setVariants=function(a){this.l=a};h.playbackRateChanged=function(a){this.L=a};
427h.setMediaElement=function(a){var b=this;this.j=a;this.h&&(this.h.disconnect(),this.h=null);this.j&&"ResizeObserver"in window&&(this.h=new ResizeObserver(function(){b.T.Hc(Ida)}),this.h.observe(this.j))};h.configure=function(a){this.V=a;this.g&&this.V&&this.g.configure(this.V.advanced)};function wn(a){var b=a.V.defaultBandwidthEstimate;
427navigator.connection&&navigator.connection.downlink&&a.V.useNetworkInformation&&(b=1E6*navigator.connection.downlink);return b}
428function vn(a,b,c,d){a&&(b=b.filter(function(e){return Rg(e,a,{width:d,height:c})}));return b.sort(function(e,f){return e.bandwidth-f.bandwidth})}fb("shaka.abr.SimpleAbrManager",un);un.prototype.configure=un.prototype.configure;un.prototype.setMediaElement=un.prototype.setMediaElement;un.prototype.playbackRateChanged=un.prototype.playbackRateChanged;un.prototype.setVariants=un.prototype.setVariants;un.prototype.getBandwidthEstimate=un.prototype.getBandwidthEstimate;
429un.prototype.segmentDownloaded=un.prototype.segmentDownloaded;un.prototype.disable=un.prototype.disable;un.prototype.enable=un.prototype.enable;un.prototype.chooseVariant=un.prototype.chooseVariant;un.prototype.init=un.prototype.init;un.prototype.release=un.prototype.release;un.prototype.stop=un.prototype.stop;var Ida=1;function xn(){}function yn(a){a=sf(a);return(new ue(a)).h}function zn(a,b,c){function d(k){Ab(f).setUint32(g,k.byteLength,!0);g+=4;f.set(wb(k),g);g+=k.byteLength}if(!c||!c.byteLength)throw new Bb(2,6,6015);var e;"string"==typeof b?e=uf(b,!0):e=b;a=sf(a);a=uf(a,!0);var f=new Uint8Array(12+a.byteLength+e.byteLength+c.byteLength),g=0;d(a);d(e);d(c);return f}fb("shaka.util.FairPlayUtils",xn);
430xn.commonFairPlayResponse=function(a,b){if(2===a){try{var c=pf(b.data)}catch(e){return}a=!1;c=c.trim();"<ckc>"===c.substr(0,5)&&"</ckc>"===c.substr(-6)&&(c=c.slice(5,-6),a=!0);try{var d=JSON.parse(c);d.ckc&&(c=d.ckc,a=!0);d.CkcMessage&&(c=d.CkcMessage,a=!0);d.License&&(c=d.License,a=!0)}catch(e){}a&&(b.data=yb(yf(c)))}};xn.conaxFairPlayRequest=function(a,b){2===a&&(b.headers["Content-Type"]="application/octet-stream")};xn.ezdrmFairPlayRequest=function(a,b){2===a&&(b.headers["Content-Type"]="application/octet-stream")};
431xn.verimatrixFairPlayRequest=function(a,b){2===a&&(a=wb(b.body),a=xf(a),b.headers["Content-Type"]="application/x-www-form-urlencoded",b.body=tf("spc="+a))};xn.conaxInitDataTransform=function(a,b,c){if("skd"!==b)return a;b=c.serverCertificate;c=sf(a).split("skd://").pop().split("?").shift();c=window.atob(c);var d=new ArrayBuffer(2*c.length);d=new Uint16Array(d);for(var e=0,f=c.length;e<f;e++)d[e]=c.charCodeAt(e);return zn(a,d,b)};
432xn.ezdrmInitDataTransform=function(a,b,c){if("skd"!==b)return a;b=c.serverCertificate;c=sf(a).split(";").pop();return zn(a,c,b)};xn.verimatrixInitDataTransform=function(a,b,c){if("skd"!==b)return a;b=c.serverCertificate;c=sf(a).split("skd://").pop();return zn(a,c,b)};xn.initDataTransform=zn;xn.defaultGetContentId=yn;
433xn.isFairPlaySupported=function(){var a;return r(function(b){if(1==b.g)return a={initDataTypes:["cenc","sinf","skd"],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.42E01E"'}]},va(b,2),p(b,navigator.requestMediaKeySystemAccess("com.apple.fps",[a]),4);if(2!=b.g)return b.return(!0);ya(b);return b.return(!1)})};function An(){}
434function Bn(){var a=Infinity;navigator.connection&&navigator.connection.saveData&&(a=360);var b={retryParameters:Ch(),servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1,initDataTransform:function(g,k,l){"com.apple.fps.1_0"==l.keySystem&&"skd"==k&&(k=l.serverCertificate,l=yn(g),g=zn(g,l,k));return g},logLicenseExchange:!1,updateExpirationTime:1,preferredKeySystems:[],keySystemsMapping:{},parseInbandPsshEnabled:cf()},c={retryParameters:Ch(),availabilityWindowOverride:NaN,disableAudio:!1,
435disableVideo:!1,disableText:!1,disableThumbnails:!1,defaultPresentationDelay:0,segmentRelativeVttTiming:!1,dash:{clockSyncUri:"",ignoreDrmInfo:!1,disableXlinkProcessing:!1,xlinkFailGracefully:!1,ignoreMinBufferTime:!1,autoCorrectDrift:!0,initialSegmentLimit:1E3,ignoreSuggestedPresentationDelay:!1,ignoreEmptyAdaptationSet:!1,ignoreMaxSegmentDuration:!1,keySystemsByURI:{"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e":"org.w3.clearkey",
436"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},manifestPreprocessor:function(g){return pn([g],g)},sequenceMode:!1},hls:{ignoreTextStreamFailures:!1,ignoreImageStreamFailures:!1,defaultAudioCodec:"mp4a.40.2",defaultVideoCodec:"avc1.42E01E",ignoreManifestProgramDateTime:!1,
437mediaPlaylistFullMimeType:'video/mp2t; codecs="avc1.42E01E, mp4a.40.2"',useSafariBehaviorForLive:!0,liveSegmentsDelay:3}},d={retryParameters:Ch(),failureCallback:function(g){return pn([g],void 0)},rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,alwaysStreamText:!1,startAtSegmentBoundary:!1,gapDetectionThreshold:.5,durationBackoff:1,forceTransmux:!1,safeSeekOffset:5,stallEnabled:!0,stallThreshold:1,stallSkip:.1,useNativeHlsOnSafari:!0,inaccurateManifestTolerance:2,lowLatencyMode:!1,
438autoLowLatencyMode:!1,forceHTTPS:!1,preferNativeHls:!1,updateIntervalSeconds:1,dispatchAllEmsgBoxes:!1,observeQualityChanges:!1,maxDisabledTime:30,parsePrftBox:!1};if(df("Web0S")||ef()||df("CrKey"))d.stallSkip=0;var e={trackSelectionCallback:function(g){return r(function(k){return k.return(g)})},downloadSizeCallback:function(g){var k;return r(function(l){if(1==l.g)return navigator.storage&&navigator.storage.estimate?p(l,navigator.storage.estimate(),3):l.return(!0);k=l.h;return l.return(k.usage+g<
439.95*k.quota)})},progressCallback:function(g,k){return pn([g,k],void 0)},usePersistentLicense:!0,numberOfParallelDownloads:5},f={drm:b,manifest:c,streaming:d,mediaSource:{sourceBufferExtraFeatures:""},offline:e,abrFactory:function(){return new un},abr:{enabled:!0,useNetworkInformation:!0,defaultBandwidthEstimate:1E6,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:a,minPixels:0,maxPixels:Infinity,minFrameRate:0,
440maxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity},advanced:{minTotalBytes:128E3,minBytes:16E3,fastHalfLife:2,slowHalfLife:5},restrictToElementSize:!1,restrictToScreenSize:!1,ignoreDevicePixelRatio:!1},autoShowText:3,preferredAudioLanguage:"",preferredTextLanguage:"",preferredVariantRole:"",preferredTextRole:"",preferredAudioChannelCount:2,preferredVideoCodecs:[],preferredAudioCodecs:[],preferForcedSubs:!1,preferredDecodingAttributes:[],restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,
441maxHeight:Infinity,minPixels:0,maxPixels:Infinity,minFrameRate:0,maxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity},playRangeStart:0,playRangeEnd:Infinity,textDisplayFactory:function(){return null},cmcd:{enabled:!1,sessionId:"",contentId:"",useHeaders:!1},lcevc:{enabled:!1,dynamicPerformanceScaling:!0,logLevel:0,drawLogo:!1}};e.trackSelectionCallback=function(g){return r(function(k){return k.return(Jda(g,f.preferredAudioLanguage))})};return f}
442function Cn(a,b,c){var d={".drm.keySystemsMapping":"",".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",sessionType:"",serverCertificate:new Uint8Array(0),serverCertificateUri:"",individualizationServer:""}};return nn(a,b,c||Bn(),d,"")}
443function Jda(a,b){var c=a.filter(function(g){return"variant"==g.type}),d=[],e=eg(b,c.map(function(g){return g.language}));e&&(d=c.filter(function(g){return Xf(g.language)==e}));0==d.length&&(d=c.filter(function(g){return g.primary}));0==d.length&&(c.map(function(g){return g.language}),d=c);var f=d.filter(function(g){return g.height&&480>=g.height});f.length&&(f.sort(function(g,k){return k.height-g.height}),d=f.filter(function(g){return g.height==f[0].height}));b=[];d.length&&(c=Math.floor(d.length/
4442),d.sort(function(g,k){return g.bandwidth-k.bandwidth}
444),b.push(d[c]));a=m(a);for(d=a.next();!d.done;d=a.next())d=d.value,d.type!=Se&&"image"!=d.type||b.push(d);return b}fb("shaka.util.PlayerConfiguration",An);An.mergeConfigObjects=Cn;An.createDefault=Bn;function Dn(){this.g=null;this.h=[]}Dn.prototype.update=function(a){if(null==this.g)this.g={timestamp:Date.now()/1E3,state:a,duration:0};else{var b=Date.now()/1E3;this.g.duration=b-this.g.timestamp;this.g.state!=a&&(this.h.push(this.g),this.g={timestamp:b,state:a,duration:0})}};function En(a,b){var c=0;a.g&&a.g.state==b&&(c+=a.g.duration);a=m(a.h);for(var d=a.next();!d.done;d=a.next())d=d.value,c+=d.state==b?d.duration:0;return c}
445function Kda(a){function b(f){return{timestamp:f.timestamp,state:f.state,duration:f.duration}}for(var c=[],d=m(a.h),e=d.next();!e.done;e=d.next())c.push(b(e.value));a.g&&c.push(b(a.g));return c};function Lda(){this.h=this.j=null;this.g=[]}function Fn(a,b,c){a.h!=b&&(a.h=b,a.g.push({timestamp:Date.now()/1E3,id:b.id,type:"text",fromAdaptation:c,bandwidth:null}))};function Gn(){this.L=this.T=this.va=this.u=this.M=this.o=this.ea=this.l=this.j=this.cb=this.fc=this.Ia=this.Z=this.Ua=this.s=this.m=NaN;this.g=new Dn;this.h=new Lda};function Hn(a,b){Nh.call(this);var c=this;this.o=Jn;this.sb=this.g=null;this.M=!1;this.zb=new fi;this.mb=new fi;this.L=new fi;this.pc=this.Pa=this.bc=this.s=this.h=this.Ha=this.Z=this.xd=this.Ua=this.Ja=this.Ia=this.Vb=this.va=this.ic=this.T=this.u=this.l=this.Zc=null;this.Bb=!1;this.Cb=this.m=null;this.Yd=1E9;this.V=Kn(this);this.Ub={width:Infinity,height:Infinity};this.j=null;this.Ta=new vh(this.V.preferredAudioLanguage,this.V.preferredVariantRole,this.V.preferredAudioChannelCount);this.Pb=this.V.preferredTextLanguage;
446this.yb=this.V.preferredTextRole;this.Na=this.V.preferForcedSubs;this.$a=[];this.Yc=null;b&&b(this);this.Zc=Mda(this);this.Zc.eG(this.V.streaming.forceHTTPS);this.ea=null;Ln&&(this.ea=Ln());this.zb.J(window,"online",function(){c.LF()});this.Dh={name:"detach"};this.fk={name:"attach"};this.Y={name:"unload"};this.me={name:"manifest-parser"};this.jd={name:"manifest"};this.Wa={name:"media-source"};this.$b={name:"drm-engine"};this.cb={name:"load"};this.oe={name:"src-equals-drm-engine"};this.Za={name:"src-equals"};
447var d=new Map;d.set(this.fk,function(e,f){return Ih(Nda(c,e,f))});d.set(this.Dh,function(e){e.mc&&(c.mb.tf(),e.mc=null);c.ea&&c.ea.release();c.g=null;e=Promise.resolve();return Ih(e)});d.set(this.Y,function(e){return Ih(Mn(c,e))});d.set(this.Wa,function(e){e=Oda(c,e);return Ih(e)});d.set(this.me,function(e,f){e=Pda(c,e,f);return Ih(e)});d.set(this.jd,function(e){return Qda(c,e)});d.set(this.$b,function(e){e=Rda(c,e);return Ih(e)});d.set(this.cb,function(e,f){return Ih(Sda(c,e,f))});d.set(this.oe,
448function(e,f){e=Tda(c,e,f);return Ih(e)});d.set(this.Za,function(e,f){return Uda(c,e,f)});this.Gb=new Cm(this.Dh,{gY:function(e,f,g,k){var l=null;e==c.Dh&&(l=g==c.Dh?c.Dh:c.fk);e==c.fk&&(l=g==c.Dh||f.mc!=k.mc?c.Dh:g==c.fk?c.fk:g==c.Wa||g==c.cb?c.Wa:g==c.Za?c.oe:null);e==c.Wa&&(l=g==c.cb&&f.mc==k.mc?c.me:c.Y);e==c.me&&(l=Nn(c.cb,c.jd,c.Y,g,f,k));e==c.jd&&(l=Nn(c.cb,c.$b,c.Y,g,f,k));e==c.$b&&(l=Nn(c.cb,c.cb,c.Y,g,f,k));e==c.oe&&(l=g==c.Za&&f.mc==k.mc?c.Za:c.Y);if(e==c.cb||e==c.Za)l=c.Y;e==c.Y&&(l=k.mc&&
449f.mc==k.mc?c.fk:c.Dh);return l},fX:function(e,f,g){c.dispatchEvent(On("onstatechange",(new Map).set("state",e.name)));return d.get(e)(f,g)},handleError:function(e){return r(function(f){return 1==f.g?p(f,Mn(c,e),2):f.return(e.mc?c.fk:c.Dh)})},K2:function(e){c.dispatchEvent(On("onstateidle",(new Map).set("state",e.name)))}});this.Kc=new Xe(function(){Sg(c.Pa.variants,c.V.restrictions,c.Ub)&&Pn(c)});a&&this.ni(a,!0)}pa(Hn,Nh);function Qn(a){null!=a.Z&&(a.Z.release(),a.Z=null)}
450function Vda(a,b){if(b.lcevc.enabled){var c=a.Gi();c&&c[0]&&c[0].videoMimeType==Rn.ts&&(bf()||navigator.userAgent.match(/Edge\//))&&(b.streaming.forceTransmux||lb("LCEVC Warning: For MPEG-2 TS decoding the config.streaming.forceTransmux must be enabled."));Qn(a);null==a.Z&&(a.Z=new bl(a.g,a.xd,b.lcevc),a.u&&(a.u.ea=a.Z))}else Qn(a)}function On(a,b){return new Kh(a,b)}h=Hn.prototype;
451h.destroy=function(){var a=this,b;return r(function(c){switch(c.g){case 1:if(a.o==Sn)return c.return();Qn(a);a.o=Sn;b=Fm(a.Gb,function(){return{node:a.Dh,payload:Dm(),co:!1}});return p(c,new Promise(function(d){b.gr=function(){};b.Am=function(){d()};b.Co=function(){d()};b.onError=function(){d()};b.lz=function(){d()}}),2);case 2:return p(c,a.Gb.destroy(),3);case 3:a.zb&&(a.zb.release(),a.zb=null);a.mb&&(a.mb.release(),a.mb=null);a.L&&(a.L.release(),a.L=null);a.Cb=null;a.V=null;a.j=null;a.sb=null;a.Ua=
452null;if(!a.Zc){c.ua(4);break}return p(c,a.Zc.destroy(),5);case 5:a.Zc=null;case 4:a.m&&(a.m.release(),a.m=null),Nh.prototype.release.call(a),ua(c)}})};
453function Tn(){window.Promise||lb("A Promise implementation or polyfill is required");if(!(window.Promise&&window.Uint8Array&&Array.prototype.forEach)||df("Trident/"))return!1;var a=lf();return a&&13>a||!(window.MediaKeys&&window.navigator&&window.navigator.requestMediaKeySystemAccess&&window.MediaKeySystemAccess&&window.MediaKeySystemAccess.prototype.getConfiguration)?!1:Ye()?!0:$e("application/x-mpegurl")}
454h.ni=function(a,b){b=void 0===b?!0:b;if(this.o==Sn)return Promise.reject(Un());var c=Dm();c.mc=a;Ye()||(b=!1);var d=b?this.Wa:this.fk;a=Fm(this.Gb,function(){return{node:d,payload:c,co:!1}});a.gr=function(){};return Vn(a)};h.YI=function(a){this.xd=a};h.detach=function(){var a=this;if(this.o==Sn)return Promise.reject(Un());var b=Fm(this.Gb,function(){return{node:a.Dh,payload:Dm(),co:!1}});b.gr=function(){};return Vn(b)};
455h.MH=function(a){var b=this;a=void 0===a?!0:a;if(this.o==Sn)return Promise.reject(Un());this.Bb=!1;Ye()||(a=!1);Qn(this);var c=Dm(),d=Fm(this.Gb,function(e){var f=e.mc&&a?b.Wa:e.mc?b.fk:b.Dh;c.mc=e.mc;return{node:f,payload:c,co:!1}});d.gr=function(){};return Vn(d)};h.M9=function(a){this.Yc=a};
456h.load=function(a,b,c){var d=this;this.Yc=null;this.Bb=!1;if(this.o==Sn)return Promise.reject(Un());this.dispatchEvent(On("loading"));var e=Dm();e.uri=a;e.nH=Date.now()/1E3;c&&(e.mimeType=c);void 0!==b&&(e.startTime=b);var f=Wda(this,e)?this.Za:this.cb,g=Fm(this.Gb,function(k){if(null==k.mc)return null;e.mc=k.mc;return{node:f,payload:e,co:!0}});this.j=new Gn;this.Ua=Xda(this);g.gr=function(){};return new Promise(function(k,l){g.lz=function(){return l(new Bb(2,7,7002))};g.Am=function(){k();d.dispatchEvent(On("loaded"))};
457g.Co=function(){return l(Un())};g.onError=function(n){return l(n)}})};function Wda(a,b){if(!Ye())return!0;var c=b.mimeType,d=b.uri||"";c||(c=wj(d),c=Rn[c]);if(c){if(""==(b.mc||af()).canPlayType(c))return!1;if(!Ye()||!(c in vj||wj(d)in xj)||("application/x-mpegurl"===c||"application/vnd.apple.mpegurl"===c)&&a.V.streaming.preferNativeHls)return!0;
457if(gf())return a.V.streaming.useNativeHlsOnSafari}return!1}
458function Nda(a,b,c){null==b.mc&&(b.mc=c.mc,a.mb.J(b.mc,"error",function(){var d=Wn(a);d&&Xn(a,d)}));a.g=b.mc;return Promise.resolve()}
459function Mn(a,b){var c,d,e,f,g,k,l,n,q;return r(function(t){switch(t.g){case 1:return a.o!=Sn&&(a.o=Jn),c=a.$a.map(function(u){return u()}),a.$a=[],p(t,Promise.all(c),2);case 2:a.dispatchEvent(On("unloading"));b.mimeType=null;b.startTime=null;b.uri=null;a.Ja&&(a.Ja.release(),a.Ja=null);b.mc&&a.L.tf();a.Kc.stop();a.ic&&(a.ic.release(),a.ic=null);a.Vb&&(a.Vb.stop(),a.Vb=null);if(!a.s){t.ua(3);break}return p(t,a.s.stop(),4);case 4:a.s=null,a.bc=null;case 3:if(!a.m){t.ua(5);break}return p(t,a.m.stop(),
4605);case 5:if(!a.h){t.ua(7);break}return p(t,a.h.destroy(),8);case 8:a.h=null;case 7:a.va&&(a.va.release(),a.va=null);a.T&&(a.T.release(),a.T=null);if(!a.u){t.ua(9);break}return p(t,a.u.destroy(),10);case 10:a.u=null;case 9:if(a.ea)a.ea.onAssetUnload();if(!b.mc||!b.mc.src){t.ua(11);break}return p(t,new Promise(function(u){return(new Xe(u)).Hc(.1)}),12);case 12:for(b.mc.removeAttribute("src"),b.mc.load();b.mc.lastChild;)b.mc.removeChild(b.mc.firstChild);case 11:if(!a.l){t.ua(13);break}return p(t,a.l.destroy(),
46114);case 14:a.l=null;case 13:a.pc=null;a.Ia=null;if(a.Pa){d=m(a.Pa.variants);for(e=d.next();!e.done;e=d.next())for(f=e.value,g=m([f.audio,f.video]),k=g.next();!k.done;k=g.next())(l=k.value)&&l.segmentIndex&&l.segmentIndex.release();n=m(a.Pa.textStreams);for(k=n.next();!k.done;k=n.next())q=k.value,q.segmentIndex&&q.segmentIndex.release()}a.Pa=null;a.j=new Gn;a.ge=null;Yn(a);ua(t)}})}
462function Oda(a,b){var c,d,e,f,g;return r(function(k){if(1==k.g)return c=a.V.textDisplayFactory,d=c(),a.ge=c,e=Yda(b.mc,d,function(l,n,q){Zn(a,l,n,q)},a.Z),e.configure(a.V.mediaSource),f=a.V.manifest,g=f.segmentRelativeVttTiming,e.M=g,p(k,e.va,2);a.u=e;ua(k)})}
463function Pda(a,b,c){var d,e,f,g;return r(function(k){if(1==k.g)return b.mimeType=c.mimeType,b.uri=c.uri,d=b.uri,e=a.Zc,a.pc=d,f=a,p(k,uj(d,e,a.V.manifest.retryParameters,b.mimeType),2);f.bc=k.h;a.s=a.bc();g=Oh(a.V.manifest);c.mc&&"AUDIO"===c.mc.nodeName&&(g.disableVideo=!0);a.s.configure(g);ua(k)})}
464function Qda(a,b){var c=b.uri;b=a.Zc;a.Ja=new hm(function(){return a.uh()});a.Ja.addEventListener("regionadd",function(f){f=f.region;$n(a,"timelineregionadded",f);if(a.ea)a.ea.onDashTimedMetadata(f)});a.Ha=null;a.V.streaming.observeQualityChanges&&(a.Ha=new gm(function(){return a.yk()}),a.Ha.addEventListener("qualitychange",function(f){var g=f.quality;f=f.position;g=(new Map).set("mediaQuality",{bandwidth:g.bandwidth,audioSamplingRate:g.audioSamplingRate,codecs:g.codecs,contentType:g.contentType,
465frameRate:g.frameRate,height:g.height,mimeType:g.mimeType,channelsCount:g.channelsCount,pixelAspectRatio:g.pixelAspectRatio,width:g.width}).set("position",f);a.dispatchEvent(On("mediaqualitychanged",g))}));var d={networkingEngine:b,modifyManifestRequest:function(f,g){var k=a.Ua;try{k.V.enabled&&(k.l=g.format,fn(k,f,{ot:hn,su:!k.g}))}catch(l){mb("CMCD_MANIFEST_ERROR","Could not generate manifest CMCD data.",l)}},modifySegmentRequest:function(f,g){Sm(a.Ua,f,g)},filter:function(f){return ao(a,f)},makeTextStreamsForClosedCaptions:function(f){return Zda(a,
466f)},onTimelineRegionAdded:function(f){var g=a.Ja;a:{var k=m(g.g);for(var l=k.next();!l.done;l=k.next())if(l=l.value,l.schemeIdUri==f.schemeIdUri&&l.id==f.id&&l.startTime==f.startTime&&l.endTime==f.endTime){k=l;break a}k=null}null==k&&(g.g.add(f),f=new Kh("regionadd",new Map([["region",f]])),g.dispatchEvent(f))},onEvent:function(f){return a.dispatchEvent(f)},onError:function(f){return Xn(a,f)},isLowLatencyMode:function(){return a.V.streaming.lowLatencyMode},isAutoLowLatencyMode:function(){return a.V.streaming.autoLowLatencyMode},
467enableLowLatencyMode:function(){a.configure("streaming.lowLatencyMode",!0)},updateDuration:function(){a.h&&a.h.updateDuration()},newDrmInfo:function(f){var g=a.l?a.l.g:null;g&&a.l.s&&bo(a,g.keySystem,f)}},e=Date.now()/1E3;return new Eh(function(){var f,g,k,l;return r(function(n){if(1==n.g)return f=a,p(n,a.s.start(c,d),2);f.Pa=n.h;g=On("manifestparsed");a.dispatchEvent(g);if(0==a.Pa.variants.length)throw new Bb(2,4,4036);$da(a.Pa);k=Date.now()/1E3;l=k-e;a.j.ea=l;ua(n)})}(),function(){return a.s.stop()})}
468function Rda(a,b){var c,d;return r(function(e){return 1==e.g?(c=Date.now()/1E3,d=!0,a.l=co(a,{xo:a.Zc,onError:function(f){Xn(a,f)},hz:function(f){eo(a,f)},onExpirationUpdated:function(f,g){fo(a,f,g)},onEvent:function(f){a.dispatchEvent(f);"drmsessionupdate"==f.type&&d&&(d=!1,a.j.o=Date.now()/1E3-c,a.Z&&(f=a.Z,f.g&&f.h.classList.add("zx-Ax")))}}),a.l.configure(a.V.drm),p(e,dj(a.l,a.Pa.variants,a.Pa.offlineSessionIds),2)):3!=e.g?p(e,a.l.ni(b.mc),3):p(e,ao(a,a.Pa),0)})}
469function Sda(a,b,c){var d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P;return r(function(Q){switch(Q.g){case 1:b.startTime=c.startTime;
469null!=a.Yc&&(b.startTime=a.Yc,a.Yc=null);d=b.mc;e=b.uri;a.pc=e;a.va=new cm({Kx:function(){return d.playbackRate},Ex:function(){return d.defaultPlaybackRate},iG:function(R){d.playbackRate=R},jN:function(R){d.currentTime+=R}});f=function(){return go(a)};g=function(){return ho(a)};a.L.J(d,"playing",f);a.L.J(d,"pause",f);a.L.J(d,"ended",f);a.L.J(d,"ratechange",g);Vda(a,a.V);k=a.V.abrFactory;
470a.m&&a.Cb==k||(a.Cb=k,a.m=k(),"function"!=typeof a.m.setMediaElement&&(pb("AbrManager","Please use an AbrManager with setMediaElement function."),a.m.setMediaElement=function(){}),a.m.configure(a.V.abr));a.Ta=new vh(a.V.preferredAudioLanguage,a.V.preferredVariantRole,a.V.preferredAudioChannelCount);a.Pb=a.V.preferredTextLanguage;a.yb=a.V.preferredTextRole;a.Na=a.V.preferForcedSubs;io(a.Pa.presentationTimeline,a.V.playRangeStart,a.V.playRangeEnd);a.m.init(function(R,aa,fa){a.h&&R!=a.h.h&&jo(a,R,!0,
471void 0===aa?!1:aa,void 0===fa?0:fa)});a.m.setMediaElement(d);Og(a.Pa,a.V.preferredVideoCodecs,a.V.preferredAudioCodecs,a.V.preferredAudioChannelCount,a.V.preferredDecodingAttributes);a.h=aea(a);a.h.configure(a.V.streaming);a.o=ko;d.textTracks&&a.L.J(d.textTracks,"addtrack",function(R){if(R.track)switch(R=R.track,R.kind){case "chapters":lo(a,R)}});a.dispatchEvent(On("streaming"));l=null;(n=a.h.h)||(l=Pn(a));q=[];t=n||l;u=m([t.video,t.audio]);for(v=u.next();!v.done;v=u.next())(y=v.value)&&!y.segmentIndex&&
472q.push(y.createSegmentIndex());if(!(0<q.length)){Q.ua(2);break}return p(Q,Promise.all(q),2);case 2:a.T=bea(a,b.startTime);a.ic=cea(a);G=Math.max(a.Pa.minBufferTime,a.V.streaming.rebufferingGoal);mo(a,G);
472if(n){Q.ua(4);break}jo(a,l,!0,!1,0);if(!a.V.streaming.startAtSegmentBoundary){Q.ua(5);break}K=a.T.getTime();return p(Q,dea(l,K),6);case 6:J=Q.h,a.T.ZG(J);case 5:no(a,null,bh(l));case 4:return a.T.YG(),O=a.Ek().find(function(R){return R.active}),O||((P=jh(a.Pa.textStreams,a.Pb,a.yb,a.Na)[0]||null)&&
473Fn(a.j.h,P,!0),l&&(P?(l.audio&&eea(a,l.audio,P)&&(a.M=!0),a.M&&a.u.s.setTextVisibility(!0),oo(a)):a.M=!1),P&&(a.V.streaming.alwaysStreamText||a.Hj())&&wm(a.h,P)),p(Q,a.h.start(),7);case 7:a.V.abr.enabled&&(a.m.enable(),po(a)),Ug(a.h?a.h.h:null,a.Pa),qo(a.Pa),ro(a),so(a),a.Pa.variants.some(function(R){return R.primary}),a.Bb=!0,a.L.$e(d,"loadedmetadata",function(){a.j.l=Date.now()/1E3-c.nH}),ua(Q)}})}
474function Tda(a,b,c){var d,e,f,g,k,l,n;return r(function(q){return 1==q.g?(d=Te,e=Date.now()/1E3,f=!0,a.l=co(a,{xo:a.Zc,onError:function(t){Xn(a,t)},hz:function(t){eo(a,t)},onExpirationUpdated:function(t,u){fo(a,t,u)},onEvent:function(t){a.dispatchEvent(t);"drmsessionupdate"==t.type&&f&&(f=!1,a.j.o=Date.now()/1E3-e)}}),a.l.configure(a.V.drm),g=c.uri||"",k=wj(g),l=Rn[k],"application/x-mpegurl"==l&&gf()&&(l="application/vnd.apple.mpegurl"),l||(l="video/mp4"),n={id:0,language:"und",disabledUntilTime:0,
475primary:!1,audio:null,video:{id:0,originalId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:c.mimeType?c.mimeType.split(";")[0]:l,codecs:c.mimeType?Qf(c.mimeType):"",encrypted:!0,drmInfos:[],keyIds:new Set,language:"und",label:null,type:d.ji,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null},bandwidth:100,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},
476a.l.Ua=!0,p(q,dj(a.l,[n],[]),2)):p(q,a.l.ni(b.mc),0)})}
477function Uda(a,b,c){function d(){return go(a)}b.uri=c.uri;b.startTime=c.startTime;a.pc=b.uri;var e=b.mc;a.T=new Ul(e);var f=!1;a.$a.push(function(){f=!0});null!=b.startTime&&a.T.ZG(b.startTime);a.va=new cm({Kx:function(){return e.playbackRate},Ex:function(){return e.defaultPlaybackRate},iG:function(l){e.playbackRate=l},jN:function(l){e.currentTime+=l}});mo(a,a.V.streaming.rebufferingGoal);a.L.J(e,"playing",d);a.L.J(e,"pause",d);a.L.J(e,"ended",d);a.L.J(e,"ratechange",function(){return ho(a)});"none"!=
478e.preload&&a.L.$e(e,"loadedmetadata",function(){a.j.l=Date.now()/1E3-c.nH});e.audioTracks&&(a.L.J(e.audioTracks,"addtrack",function(){return ro(a)}),a.L.J(e.audioTracks,"removetrack",function(){return ro(a)}),a.L.J(e.audioTracks,"change",function(){return ro(a)}));e.textTracks&&(a.L.J(e.textTracks,"addtrack",function(l){if(l.track)switch(l=l.track,l.kind){case "metadata":fea(a,l);break;case "chapters":lo(a,l);break;default:ro(a)}}),a.L.J(e.textTracks,"removetrack",function(){return ro(a)}),a.L.J(e.textTracks,
479"change",function(){return ro(a)}));var g=wj(b.uri);e.src=Fda(a.Ua,b.uri,Rn[g]);(ef()||df("Web0S"))&&e.load();a.o=to;a.dispatchEvent(On("streaming"));var k=new Ue;Nl(e,HTMLMediaElement.HAVE_METADATA,a.L,function(){a.T.YG();k.resolve()});Nl(e,HTMLMediaElement.HAVE_CURRENT_DATA,a.L,function(){var l;return r(function(n){if(1==n.g)return gea(a),l=uo(a),l.find(function(q){return"disabled"!=q.mode})?(0<l.length&&(a.M=!0),n.ua(2)):p(n,new Promise(function(q){a.L.$e(e.textTracks,"change",q);(new Xe(q)).Hc(1)}),
4802);if(f)return n.return();hea(a);ua(n)})});e.error?k.reject(Wn(a)):"none"==e.preload&&(lb('With <video preload="none">, the browser will not load anything until play() is called. We are unable to measure load latency in a meaningful way, and we cannot provide track info yet. Please do not use preload="none" with Shaka Player.'),k.resolve());a.L.$e(e,"error",function(){k.reject(Wn(a))});return(new Eh(k,function(){k.reject(new Bb(2,7,7001));return Promise.resolve()})).pf(function(){a.Bb=!0})}
481function gea(a){var b=a.V.preferredAudioLanguage;if(""!=b){a.Oz(b);var c=a.V.preferredVariantRole;""!=c&&a.Oz(b,c)}}function hea(a){var b=a.V.preferredTextLanguage,c=a.V.preferForcedSubs;if(""!=b){a.YF(b,"",c);var d=a.V.preferredTextRole;""!=d&&a.YF(b,d,c)}}
482function fea(a,b){if("metadata"==b.kind){b.mode="hidden";a.L.J(b,"cuechange",function(){if(b.activeCues)for(var d=m(b.activeCues),e=d.next();!e.done;e=d.next())if(e=e.value,vo(a,e.startTime,e.endTime,e.type,e.value),a.ea)a.ea.onCueMetadataChange(e.value)});var c=(new Xe(function(){var d=iea(a);d=m(d);for(var e=d.next();!e.done;e=d.next())e.value.mode="hidden"})).vg().Hc(.5);a.$a.push(function(){c.stop()})}}
483function Zn(a,b,c,d){b=m(b);for(var e=b.next();!e.done;e=b.next())if(e=e.value,e.data&&e.cueTime&&e.frames){var f=e.cueTime+c,g=d;g&&f>g&&(g=f);for(var k=m(e.frames),l=k.next();!l.done;l=k.next())vo(a,f,g,"org.id3",l.value);if(a.ea)a.ea.onHlsTimedMetadata(e,f)}}function vo(a,b,c,d,e){b=(new Map).set("startTime",b).set("endTime",c).set("metadataType",d).set("payload",e);a.dispatchEvent(On("metadata",b))}
484function lo(a,b){if(b&&"chapters"==b.kind){b.mode="hidden";var c=(new Xe(function(){b.mode="hidden"})).vg().Hc(.5);a.$a.push(function(){c.stop()})}}function $da(a){function b(c){return c.video&&c.audio||c.video&&c.video.codecs.includes(",")}a.variants.some(b)&&(a.variants=a.variants.filter(b))}function co(a,b){return new aj(b,a.V.drm.updateExpirationTime)}
485function Mda(a){return new Vh(function(b,c){a.m&&a.m.segmentDownloaded(b,c)},function(b,c,d){b=(new Map).set("headers",b).set("request",c).set("requestType",d);a.dispatchEvent(On("downloadheadersreceived",b))},function(b,c,d,e){b=(new Map).set("request",b).set("error",c).set("httpResponseCode",d).set("aborted",e);a.dispatchEvent(On("downloadfailed",b))})}
486function bea(a,b){return new Vl(a.g,a.Pa,a.V.streaming,b,function(){a.ic&&fm(a.ic,!0);a.h&&a.h.hv();a.Ia&&wo(a)},function(c){return a.dispatchEvent(c)})}
487function cea(a){var b=new im(a.Ja);
487b.addEventListener("enter",function(d){$n(a,"timelineregionenter",d.region)});b.addEventListener("exit",function(d){$n(a,"timelineregionexit",d.region)});b.addEventListener("skip",function(d){var e=d.region;d.seeking||($n(a,"timelineregionenter",e),$n(a,"timelineregionexit",e))});var c=new em(a.g);c.g.add(b);a.Ha&&c.g.add(a.Ha);return c}function mo(a,b){a.Ia=new wh;a.Ia.g=zh;Ah(a.Ia,b,Math.min(.5,b/2));Yn(a);a.Vb=(new Xe(function(){wo(a)})).kf(.25)}
488function wo(a){switch(a.o){case to:if(a.g.ended)var b=!0;else b=Sk(a.g.buffered),b=null!=b&&b>=a.g.duration-1;break;case ko:a:if(a.g.ended||hl(a.u))b=!0;else{if(a.Pa.presentationTimeline.nd()){b=a.Pa.presentationTimeline.Qn();var c=Sk(a.g.buffered);if(null!=c&&c>=b){b=!0;break a}}b=!1}break;default:b=!1}c=Uk(a.g.buffered,a.g.currentTime);a.Ia.update(c,b)&&Yn(a)}function Yda(a,b,c,d){return new dl(a,b,c,d)}
489function Xda(a){return new zda({getBandwidthEstimate:function(){return a.m?a.m.getBandwidthEstimate():NaN},yk:function(){return a.yk()},getCurrentTime:function(){return a.g?a.g.currentTime:0},Gi:function(){return a.Gi()},lm:function(){return a.lm()},nd:function(){return a.nd()}},a.V.cmcd)}
490function aea(a){return new om(a.Pa,{Jx:function(){return a.T?a.T.getTime():0},getBandwidthEstimate:function(){return a.m.getBandwidthEstimate()},modifySegmentRequest:function(b,c){Sm(a.Ua,b,c)},ed:a.u,xo:a.Zc,onError:function(b){return Xn(a,b)},onEvent:function(b){return a.dispatchEvent(b)},O2:function(){a.s&&a.s.update&&a.s.update()},gF:function(b,c,d){a.T&&a.T.rN();wo(a);b=(new Map).set("start",b).set("end",c).set("contentType",d);a.dispatchEvent(On("segmentappended",b))},L2:function(b,c){(c=c.HE)&&
491a.Ha&&ada(a.Ha,c,b)},dJ:function(b,c){var d=a.l;if(d.V.parseInbandPsshEnabled&&["audio","video"].includes(b)){c=new Ci(wb(c));var e=0,f=m(c.data);for(b=f.next();!b.done;b=f.next())e+=b.value.length;if(0==e)d=Promise.resolve();else{e=new Uint8Array(e);f=0;c=m(c.data);for(b=c.next();!b.done;b=c.next())b=b.value,e.set(b,f),f+=b.length;hj(d,"cenc",e);d=d.o}}else d=Promise.resolve();return d},P2:function(b,c,d){Zn(a,b,c,d)}})}
492h.configure=function(a,b){2==arguments.length&&"string"==typeof a&&(a=on(a,b));a.streaming&&"forceTransmuxTS"in a.streaming&&(pb("streaming.forceTransmuxTS configuration","Please Use streaming.forceTransmux instead."),a.streaming.forceTransmux=a.streaming.forceTransmuxTS,delete a.streaming.forceTransmuxTS);a.streaming&&a.streaming.lowLatencyMode&&(void 0==a.streaming.inaccurateManifestTolerance&&(a.streaming.inaccurateManifestTolerance=0),void 0==a.streaming.rebufferingGoal&&(a.streaming.rebufferingGoal=
493.01));var c=Cn(this.V,a,Kn(this));xo(this);return c};
494function xo(a){if(a.s){var b=Oh(a.V.manifest);a.g&&"AUDIO"===a.g.nodeName&&(b.disableVideo=!0);a.s.configure(b)}a.l&&a.l.configure(a.V.drm);if(a.h){a.h.configure(a.V.streaming);try{yo(a,a.Pa)}catch(f){Xn(a,f)}a.m&&so(a);b=a.h.h;!b||b.allowedByApplication&&b.allowedByKeySystem||zo(a)}a.Zc&&a.Zc.eG(a.V.streaming.forceHTTPS);if(a.u&&(a.u.configure(a.V.mediaSource),a.u.M=a.V.manifest.segmentRelativeVttTiming,b=a.V.textDisplayFactory,a.ge!=b)){var c=b(),d=a.u,e=d.s;d.s=c;e&&(c.setTextVisibility(e.isTextVisible()),
495e.destroy());d.g&&(d.g.j=c);a.ge=b;a.h&&(b=a.h,(c=b.g.get(Se))&&um(b,c.stream,!0,0,!0))}a.m&&(a.m.configure(a.V.abr),a.V.abr.enabled?a.m.enable():a.m.disable(),po(a));a.Ia&&(b=a.V.streaming.rebufferingGoal,a.Pa&&(b=Math.max(b,a.Pa.minBufferTime)),Ah(a.Ia,b,Math.min(.5,b/2)));a.Pa&&io(a.Pa.presentationTimeline,a.V.playRangeStart,a.V.playRangeEnd)}h.getConfiguration=function(){var a=Kn(this);Cn(a,this.V,Kn(this));return a};
496h.LX=function(){if(this.g){var a=this.g.buffered.length;a=a?this.g.buffered.end(a-1):0;var b=this.getConfiguration().streaming.bufferingGoal;b=Math.min(this.g.currentTime+b,this.uh().end);if(a>=b)return 1;if(!(a<=this.g.currentTime)&&a<b)return(a-this.g.currentTime)/(b-this.g.currentTime)}return 0};h.s5=function(){for(var a in this.V)delete this.V[a];Cn(this.V,Kn(this),Kn(this));xo(this)};h.vL=function(){return this.o};h.eY=function(){return this.g};h.Tt=function(){return this.Zc};h.eD=function(){return this.pc};
497h.Bx=function(){return this.ea?this.ea:null};h.nd=function(){return this.Pa?this.Pa.presentationTimeline.nd():this.g&&this.g.src?Infinity==this.g.duration:!1};h.io=function(){return this.Pa?this.Pa.presentationTimeline.io():!1};h.Oq=function(){if(this.Pa){var a=this.Pa.variants;return a.length?!a[0].video:!1}return this.g&&this.g.src?this.g.videoTracks?0==this.g.videoTracks.length:0==this.g.videoHeight:!1};
498h.uh=function(){if(!this.Bb)return{start:0,end:0};if(this.Pa){var a=this.Pa.presentationTimeline;return{start:a.wq(),end:a.Bk()}}return this.g&&this.g.src&&(a=this.g.seekable,a.length)?{start:a.start(0),end:a.end(a.length-1)}:{start:0,end:0}};h.vY=function(){this.nd()&&(this.g.currentTime=this.uh().end)};h.keySystem=function(){var a=this.drmInfo();return a?a.keySystem:""};h.drmInfo=function(){return this.l?this.l.g:null};h.Pt=function(){return this.l?this.l.Pt():Infinity};
499h.Gx=function(){return this.l?this.l.Gx():{}};h.uu=function(){return this.Ia?this.Ia.getState()==zh:!1}
499;h.lm=function(){return this.g?this.va?this.va.h:1:0};h.JH=function(a){0==a?lb("A trick play rate of 0 is unsupported!"):(this.g.paused&&this.g.play(),this.va.set(a),this.o==ko&&(this.m.playbackRateChanged(a),tm(this.h,1<Math.abs(a))))};h.vJ=function(){var a=this.va.Ex();this.o==to&&this.va.set(a);this.o==ko&&(this.va.set(a),this.m.playbackRateChanged(a),tm(this.h,!1))};
500h.Gi=function(){if(this.Pa){for(var a=this.h?this.h.h:null,b=[],c=0,d=m(this.Pa.variants),e=d.next();!e.done;e=d.next())if(e=e.value,ih(e)){var f=bh(e);f.active=e==a;f.active||1==c||null==a||e.video!=a.video||e.audio!=a.audio||(f.active=!0);f.active&&c++;b.push(f)}return b}return this.g&&this.g.audioTracks?Array.from(this.g.audioTracks).map(function(g){return hh(g)}):[]};
501h.Ek=function(){if(this.Pa){for(var a=this.h?this.h.j:null,b=[],c=m(this.Pa.textStreams),d=c.next();!d.done;d=c.next()){d=d.value;var e=ch(d);e.active=d==a;b.push(e)}return b}return this.g&&this.g.src&&this.g.textTracks?uo(this).map(function(f){return fh(f)}):[]};h.XX=function(){return this.Pa?this.Pa.imageStreams.map(function(a){return dh(a)}):[]};
502h.zL=function(a,b){var c=this,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa;return r(function(fa){if(1==fa.g)return c.Pa?(d=c.Pa.imageStreams.find(function(za){return za.id==a}))?d.segmentIndex?fa.ua(3):p(fa,d.createSegmentIndex(),3):fa.return(null):fa.ua(2);if(2!=fa.g){e=d.segmentIndex.find(b);if(null==e)return fa.return(null);f=d.segmentIndex.get(e);g=f.tilesLayout||d.tilesLayout;k=/(\d+)x(\d+)/.exec(g);if(!k)return fa.return(null);l=d.width||0;n=d.height||0;q=parseInt(k[1],10);t=parseInt(k[2],10);u=
503l/q;v=n/t;y=q*t;G=f.l-f.startTime;K=f.L||G/y;J=f.startTime;P=O=0;1<y&&(Q=Math.floor((b-f.startTime)/K),J=f.startTime+Q*K,O=Q%q*u,P=Math.floor(Q/q)*v);R=!1;if(aa=f.m)R=!0,v=aa.height,O=aa.positionX,P=aa.positionY,u=aa.width;return fa.return({imageHeight:n,imageWidth:l,height:v,positionX:O,positionY:P,startTime:J,duration:K,uris:f.Fi(),width:u,sprite:R})}return fa.return(null)})};
504h.Qz=function(a){if(this.Pa&&this.h){var b=this.Pa.textStreams.find(function(d){return d.id==a.id});b&&b!=this.h.j&&(Fn(this.j.h,b,!1),wm(this.h,b),Ao(this),this.Pb=b.language)}else if(this.g&&this.g.src&&this.g.textTracks){b=uo(this);b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,eh(c)==a.id?c.mode=this.M?"showing":"hidden":c.mode="disabled";Ao(this)}};
505h.ZF=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?0:c;if(this.Pa&&this.h){this.V.abr.enabled&&lb("Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().");var d=this.Pa.variants.find(function(e){return e.id==a.id});d&&ih(d)&&(jo(this,d,!1,b,c),this.Ta=new mh(d),so(this))}else if(this.g&&this.g.audioTracks)for(b=Array.from(this.g.audioTracks),b=m(b),c=b.next();!c.done;c=b.next())if(c=c.value,
506eh(c)==a.id){Bo(this,c);break}};h.KX=function(){return Co(this.Gi())};h.oY=function(){return Co(this.Ek())};h.JX=function(){return Array.from(Do(this.Gi()))};h.nY=function(){return Array.from(Do(this.Ek()))};
507h.Oz=function(a,b,c){c=void 0===c?0:c;if(this.Pa&&this.T){this.Ta=new vh(a,b||"",c,"");b=function(k,l){return k.video||l.video?k.video&&l.video?Math.abs((k.video.height||0)-(l.video.height||0))+Math.abs((k.video.width||0)-(l.video.width||0)):Infinity:0};a=this.h.h;var d=this.Ta.create(this.Pa.variants);c=null;d=m(d.values());for(var e=d.next();!e.done;e=d.next())if(e=e.value,!c||b(c,a)>b(e,a))c=e;c?(b=bh(c),this.ZF(b,!0)):zo(this)}else if(this.g&&this.g.audioTracks){e=Array.from(this.g.audioTracks);
508a=Xf(a);d=c=null;e=m(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var g=hh(f);Xf(g.language)==a&&(c=f,b?g.roles.includes(b)&&(d=f):0==g.roles.length&&(d=f))}d?Bo(this,d):c&&Bo(this,c)}};
509h.YF=function(a,b,c){c=void 0===c?!1:c;if(this.Pa&&this.T){if(this.Pb=a,this.yb=b||"",this.Na=c,(a=jh(this.Pa.textStreams,this.Pb,this.yb,this.Na)[0]||null)&&a!=this.h.j&&(Fn(this.j.h,a,!1),this.V.streaming.alwaysStreamText||this.Hj()))wm(this.h,a),Ao(this)}else{var d=Xf(a);(a=this.Ek().find(function(e){return Xf(e.language)==d&&(!b||e.roles.includes(b))&&e.forced==c}))&&this.Qz(a)}};
510h.T5=function(a){if(this.Pa&&this.T){for(var b=null,c=m(this.Pa.variants),d=c.next();!d.done;d=c.next())if(d=d.value,d.audio.label==a){b=d;break}null!=b&&(this.Ta=new vh(b.language,"",0,a),zo(this))}else if(this.g&&this.g.audioTracks){c=Array.from(this.g.audioTracks);b=null;c=m(c);for(d=c.next();!d.done;d=c.next())d=d.value,d.label==a&&(b=d);b&&Bo(this,b)}};
511h.Hj=function(){var a=this.M;return this.u?this.u.s.isTextVisible():this.g&&this.g.src&&this.g.textTracks?uo(this).some(function(b){return"showing"==b.mode}):a};h.qL=function(){return this.g&&this.g.src&&this.g.textTracks?Ro(this).map(function(a){return fh(a)}):[]};
512h.pL=function(a){var b=Xf(a),c=Ro(this).filter(function(k){return Xf(k.language)==b});if(!c||!c.length)return[];a=[];var d=new Set;c=m(c);for(var e=c.next();!e.done;e=c.next())if((e=e.value)&&e.cues){e=m(e.cues);for(var f=e.next();!f.done;f=e.next()){var g=f.value;(f=g.id)&&""!=f||(f=g.startTime+"-"+g.endTime+"-"+g.text);g={id:f,title:g.text,startTime:g.startTime,endTime:g.endTime};d.has(f)||(a.push(g),d.add(f))}}return a};
513function uo(a){return Array.from(a.g.textTracks).filter(function(b){return"metadata"!=b.kind&&"chapters"!=b.kind&&"Shaka Player TextTrack"!=b.label})}function iea(a){return Array.from(a.g.textTracks).filter(function(b){return"metadata"==b.kind})}function Ro(a){return Array.from(a.g.textTracks).filter(function(b){return"chapters"==b.kind})}
514h.vv=function(a){a=!!a;if(this.M!=a){this.M=a;if(this.o==ko)this.u.s.setTextVisibility(a),this.V.streaming.alwaysStreamText||(a?this.h.j||(a=jh(this.Pa.textStreams,this.Pb,this.yb,this.Na),0<a.length&&(wm(this.h,a[0]),Ao(this))):fda(this.h));else if(this.g&&this.g.src&&this.g.textTracks){var b=uo(this);b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,"disabled"!=c.mode&&(c.mode=a?"showing":"hidden")}oo(this)}};
515h.iY=function(){if(!this.nd())return null;var a=this.Gb.o,b=0;if(this.T)b=this.T.getTime();else if(a){if(null==a.startTime)return new Date;b=a.startTime}return this.Pa?new Date(1E3*(this.Pa.presentationTimeline.j+b)):this.g&&this.g.getStartDate?(a=this.g.getStartDate(),isNaN(a.getTime())?null:new Date(a.getTime()+1E3*b)):null};
516h.yL=function(){if(!this.nd())return null;if(this.Pa)return new Date(1E3*this.Pa.presentationTimeline.j);if(this.g&&this.g.getStartDate){var a=this.g.getStartDate();return isNaN(a.getTime())?null:a}return null};h.yk=function(){if(this.o==ko)return this.u.yk();var a={total:[],audio:[],video:[],text:[]};this.o==to&&(a.total=Vk(this.g.buffered));return a};
517h.getStats=function(){if(this.o!=ko&&this.o!=to)return{width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,corruptedFrames:NaN,stallsDetected:NaN,gapsJumped:NaN,estimatedBandwidth:NaN,completionPercent:NaN,loadLatency:NaN,manifestTimeSeconds:NaN,drmTimeSeconds:NaN,playTime:NaN,pauseTime:NaN,bufferingTime:NaN,licenseTime:NaN,liveLatency:NaN,maxSegmentDuration:NaN,switchHistory:[],stateHistory:[]};go(this);var a=this.g,b=a.currentTime/a.duration;if(!isNaN(b)){var c=this.j;b=
518Math.round(100*b);c.j=isNaN(c.j)?b:Math.max(c.j,b)}this.T&&(this.j.cb=this.T.zR(),this.j.fc=this.T.AR());if(a.getVideoPlaybackQuality){c=a.getVideoPlaybackQuality();b=this.j;var d=Number(c.totalVideoFrames);b.Ua=Number(c.droppedVideoFrames);b.Z=d;this.j.Ia=Number(c.corruptedVideoFrames)}this.l?(c=this.l,c=c.va?c.va:NaN):c=NaN;this.j.M=c;if(this.o==ko){if(c=this.h.h)this.j.T=(this.va?this.va.h:1)*c.bandwidth;c&&c.video&&(b=this.j,d=c.video.height||NaN,b.m=c.video.width||NaN,b.s=d);this.nd()&&(c=this.yL().valueOf()+
5191E3*this.uh().end,this.j.u=(Date.now()-c)/1E3);this.Pa&&this.Pa.presentationTimeline&&(this.j.va=this.Pa.presentationTimeline.g);c=this.m.getBandwidthEstimate();this.j.L=c}this.o==to&&(c=this.j,b=a.videoHeight||NaN,c.m=a.videoWidth||NaN,c.s=b);var e=this.j;a=e.m;c=e.s;b=e.T;d=e.Z;var f=e.Ua,g=e.Ia,k=e.fc,l=e.cb,n=e.L,q=e.j,t=e.l,u=e.ea,v=e.o,y=En(e.g,"playing"),G=En(e.g,"paused"),K=En(e.g,"buffering"),J=e.M,O=e.u,P=e.va,Q=Kda(e.g),R=[];e=m(e.h.g);for(var aa=e.next();!aa.done;aa=e.next())aa=aa.value,
520R.push({timestamp:aa.timestamp,id:aa.id,type:aa.type,fromAdaptation:aa.fromAdaptation,bandwidth:aa.bandwidth});return{width:a,height:c,streamBandwidth:b,decodedFrames:d,droppedFrames:f,corruptedFrames:g,stallsDetected:k,gapsJumped:l,estimatedBandwidth:n,completionPercent:q,loadLatency:t,manifestTimeSeconds:u,drmTimeSeconds:v,playTime:y,pauseTime:G,bufferingTime:K,licenseTime:J,liveLatency:O,maxSegmentDuration:P,stateHistory:Q,switchHistory:R}};
521h.iU=function(a,b,c,d,e,f,g){g=void 0===g?!1:g;var k=this,l,n,q,t,u,v,y,G,K,J,O;return r(function(P){switch(P.g){case 1:if(k.o!=ko&&k.o!=to)throw new Bb(1,7,7004);if(d){P.ua(2);break}return p(P,So(k,a),3);case 3:d=P.h;case 2:l=[];if(k.ea)try{l=k.ea.getServerSideCuePoints()}catch(Q){}if(k.o!=to){P.ua(4);break}g&&(c="forced");return p(P,To(k,a,b,c,d,f||"",l),5);case 5:n=k.Ek();if(q=n.find(function(Q){return Q.language==b&&Q.label==(f||"")&&Q.kind==c}))return ro(k),P.return(q);throw new Bb(1,2,2012);
522case 4:t=Te;u=k.Pa.presentationTimeline.getDuration();if(Infinity==u)throw new Bb(1,4,4033);if(!l.length){P.ua(6);break}return p(P,Uo(k,a,k.Zc,k.V.streaming.retryParameters),7);case 7:v=P.h,y=Vo(k,v,d,l),G=new Blob([y],{type:"text/vtt"}),a=el(G),d="text/vtt";case 6:K={id:k.Yd++,originalId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:am(0,u,[a]),mimeType:d||"",codecs:e||"",kind:c,encrypted:!1,drmInfos:[],keyIds:new Set,language:b,label:f||null,type:t.Ne,primary:!1,trickModeVideo:null,
523emsgSchemeIdUris:null,roles:[],forced:!!g,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null};J=Lf(K.mimeType,K.codecs);O=Ig(J);if(!O)throw new Bb(2,2,2014,d);k.Pa.textStreams.push(K);ro(k);return P.return(ch(K))}})};
524h.NI=function(a,b){var c=this,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O;return r(function(P){switch(P.g){case 1:if(c.o!=ko&&c.o!=to)throw new Bb(1,7,7004);if(c.o==to)throw new Bb(1,2,2016);if(b){P.ua(2);break}return p(P,So(c,a),3);case 3:b=P.h;case 2:if("text/vtt"!=b)throw new Bb(1,2,2017,a);d=Te;e=c.Pa.presentationTimeline.getDuration();if(Infinity==e)throw new Bb(1,4,4045);return p(P,Uo(c,a,c.Zc,c.V.streaming.retryParameters),4);case 4:f=P.h;g=Jg[b];if(!g)throw new Bb(2,2,2014,b);k=g();l={periodStart:0,segmentStart:0,
525segmentEnd:e,vttOffset:0};n=wb(f);q=k.parseMedia(n,l);t=[];u={};v=m(q);for(y=v.next();!y.done;u={qs:u.qs},y=v.next())G=y.value,u.qs=Oe([a],[G.payload])[0],K=new Ok(G.startTime,G.endTime,function(Q){return function(){return[Q.qs]}}(u),0,null,null,0,0,Infinity),u.qs.includes("#xywh")&&(J=u.qs.split("#xywh=")[1].split(","),4===J.length&&K.fP({height:parseInt(J[3],10),positionX:parseInt(J[0],10),positionY:parseInt(J[1],10),width:parseInt(J[2],10)})),t.push(K);O={id:c.Yd++,originalId:null,createSegmentIndex:function(){return Promise.resolve()},
526segmentIndex:new Zl(t),mimeType:b||"",codecs:"",kind:"",encrypted:!1,drmInfos:[],keyIds:new Set,language:"und",label:null,type:d.zs,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,tilesLayout:"1x1"};c.Pa.imageStreams.push(O);ro(c);return P.return(dh(O))}})};
527h.HI=function(a,b,c){var d=this,e,f,g,k;return r(function(l){switch(l.g){case 1:if(d.o!=ko&&d.o!=to)throw new Bb(1,7,7004);if(c){l.ua(2);break}return p(l,So(d,a),3);case 3:c=l.h;case 2:e=[];if(d.ea)try{e=d.ea.getServerSideCuePoints()}catch(n){}return p(l,To(d,a,b,"chapters",c,"",e),4);case 4:f=l.h;g=d.qL();k=g.find(function(n){return n.language==b});if(!k){l.ua(5);break}return p(l,new Promise(function(n,q){d.L.$e(f,"load",n);d.L.$e(f,"error",function(){q(new Bb(1,2,2015))})}),6);case 6:return l.return(k);
528case 5:throw new Bb(1,2,2012);}})};function So(a,b){var c,d;return r(function(e){switch(e.g){case 1:c=wj(b);if(d=jea[c])return e.return(d);va(e,2);
528return p(e,yj(b,a.Zc,a.V.streaming.retryParameters),4);case 4:d=e.h;xa(e,3);break;case 2:ya(e);case 3:if(d)return e.return(d);throw new Bb(1,2,2011,c);}})}
529function To(a,b,c,d,e,f,g){var k,l,n,q;return r(function(t){if(1==t.g)return"text/vtt"!=e||g.length?p(t,Uo(a,b,a.Zc,a.V.streaming.retryParameters),3):t.ua(2);2!=t.g&&(k=t.h,l=Vo(a,k,e,g),n=new Blob([l],{type:"text/vtt"}),b=el(n),e="text/vtt");q=document.createElement("track");var u=a.Ua,v=b;try{if(u.V.enabled){var y=gn(u);y.ot=ln;y.su=!0;var G=jn(y);var K=kn(v,G)}else K=v}catch(J){mb("CMCD_TEXT_TRACK_ERROR","Could not generate text track CMCD data.",J),K=v}q.src=K;q.label=f;q.kind=d;q.srclang=c;a.g.getAttribute("crossorigin")||
530a.g.setAttribute("crossorigin","anonymous");a.g.appendChild(q);return t.return(q)})}function Uo(a,b,c,d){var e,f,g;return r(function(k){if(1==k.g){e=ci;f=Zh([b],d);f.method="GET";var l=a.Ua;try{l.V.enabled&&fn(l,f,{ot:ln,su:!0})}catch(n){mb("CMCD_TEXT_ERROR","Could not generate text CMCD data.",n)}return p(k,c.request(e,f).promise,2)}g=k.h;return k.return(g.data)})}
531function Vo(a,b,c,d){var e=Jg[c];if(e)return c=e(),a={periodStart:0,segmentStart:0,segmentEnd:a.g.duration,vttOffset:0},b=wb(b),b=c.parseMedia(b,a),yda(b,d);throw new Bb(2,2,2014,c);}h.hG=function(a,b){this.Ub.width=a;this.Ub.height=b};h.LF=function(a){if(this.o==ko){var b=this.h;a=void 0===a?.1:a;if(b.Rb.g)b=!1;else if(b.o)b=!1;else{for(var c=m(b.g.values()),d=c.next();!d.done;d=c.next())d=d.value,!d.xb||d.ph||d.Yj||(d.xb=!1,sm(b,d,a));b=!0}}else b=!1;return b};
532h.bY=function(){lb("Shaka Player's internal Manifest structure is NOT covered by semantic versioning compatibility guarantees.  It may change at any time!  Please consider filing a feature request for whatever you use getManifest() for.");return this.Pa};h.cY=function(){return this.bc};
533function Kn(a){var b=Bn();b.streaming.failureCallback=function(c){if(a.nd()){var d=null;1001==c.code||1002==c.code?d=1:1003==c.code&&(d=.1);null!=d&&(c.severity=1,a.LF(d))}};b.textDisplayFactory=function(){return a.sb?new Om(a.g,a.sb):new Im(a.g)};return b}h.mG=function(a){this.sb=a};
534function Zda(a,b){for(var c=new Set,d=m(b.textStreams),e=d.next();!e.done;e=d.next())e=e.value,"application/cea-608"!=e.mimeType&&"application/cea-708"!=e.mimeType||c.add(e.originalId);d=m(b.variants);for(e=d.next();!e.done;e=d.next())if((e=e.value.video)&&e.closedCaptions)for(var f=m(e.closedCaptions.keys()),g=f.next();!g.done;g=f.next())if(g=g.value,!c.has(g)){var k=g.startsWith("CC")?"application/cea-608":"application/cea-708",l=new bm;k={id:a.Yd++,originalId:g,createSegmentIndex:function(){return Promise.resolve()},
535segmentIndex:l,mimeType:k,codecs:"",kind:"caption",encrypted:!1,drmInfos:[],keyIds:new Set,language:e.closedCaptions.get(g),label:null,type:Se,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:e.roles,forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null};b.textStreams.push(k);c.add(g)}}function ao(a,b){return r(function(c){if(1==c.g)return p(c,kea(a,b),2);yo(a,b);ua(c)})}
536function kea(a,b){var c;return r(function(d){if(1==d.g)return c=a.h?a.h.h:null,p(d,xba(c,b),2);qo(b);ua(d)})}function yo(a,b){if(a.o!=Sn){Sg(b.variants,a.V.restrictions,a.Ub)&&a.h&&ro(a);var c=a.l?a.l.g:null;if(c&&a.l.s)for(var d=m(b.variants),e=d.next();!e.done;e=d.next())e=e.value,bo(a,c.keySystem,e.video),bo(a,c.keySystem,e.audio);Wo(a,b)}}
537function bo(a,b,c){if(c){c=m(c.drmInfos);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.keySystem==b){d=m(d.initData||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,hj(a.l,e.initDataType,e.initData)}}}
538function dea(a,b){var c,d,e,f,g;return r(function(k){if(1==k.g)return c=a.audio,d=a.video,e=function(l,n){var q,t,u;return r(function(v){if(1==v.g)return l?p(v,l.createSegmentIndex(),2):v.return(null);t=(q=l.segmentIndex.uq(n))?q.next().value:null;if(!t)return v.return(null);u=t.startTime;return v.return(u)})},p(k,e(c,b),2);if(3!=k.g)return f=k.h,p(k,e(d,b),3);g=k.h;return null!=g&&null!=f?k.return(Math.max(g,f)):null!=g?k.return(g):null!=f?k.return(f):k.return(b)})}
539function Yn(a){var b=a.uu();if(a.j&&a.Ia&&a.T){var c=a.va;c.o=b;dm(c);a.Ua&&(c=a.Ua,b||c.g||(c.g=!0),c.g&&b&&(c.j=!0),c.o=b);go(a)}b=(new Map).set("buffering",b);a.dispatchEvent(On("buffering",b))}function ho(a){var b=a.g.playbackRate;0!=b&&(a.va&&a.va.set(b),b=On("ratechange"),a.dispatchEvent(b))}function go(a){if(a.j&&a.Ia){var b=a.j.g;a.Ia.getState()==zh?b.update("buffering"):a.g.paused?b.update("paused"):a.g.ended?b.update("ended"):b.update("playing")}}
540function so(a){try{Wo(a,a.Pa)}catch(c){return Xn(a,c),!1}var b=a.Pa.variants.filter(function(c){return ih(c)});b=a.Ta.create(b);
540a.m.setVariants(Array.from(b.values()));return!0}function Pn(a){return so(a)?a.m.chooseVariant():null}function zo(a){var b=Pn(a);b&&jo(a,b,!0,!0,0)}
541function jo(a,b,c,d,e){var f=a.h.h;if(b==f)d&&vm(a.h,b,d,e,!0);else{var g=a.j.h;g.j!=b&&(g.j=b,g.g.push({timestamp:Date.now()/1E3,id:b.id,type:"variant",fromAdaptation:c,bandwidth:b.bandwidth}));vm(a.h,b,d,e,void 0,c);d=null;f&&(d=bh(f));b=bh(b);c?no(a,d,b):Xo(a,d,b)}}function Bo(a,b){var c=Array.from(a.g.audioTracks).find(function(d){return d.enabled});b.enabled=!0;b.id!==c.id&&(c.enabled=!1);c=hh(c);b=hh(b);Xo(a,c,b)}
542function eea(a,b,c){if(0==a.V.autoShowText)return!1;if(1==a.V.autoShowText)return!0;var d=Xf(a.V.preferredTextLanguage);c=Xf(c.language);if(2==a.V.autoShowText)return Wf(c,d);if(3==a.V.autoShowText)return a=Xf(b.language),Wf(c,d)&&!Wf(a,c);lb("Invalid autoShowText setting!");return!1}function no(a,b,c){b=(new Map).set("oldTrack",b).set("newTrack",c);a.Z&&cl(a.Z,c);c=On("adaptation",b);Yo(a,c)}function ro(a){var b=On("trackschanged");Yo(a,b)}
543function Xo(a,b,c){b=(new Map).set("oldTrack",b).set("newTrack",c);a.Z&&cl(a.Z,c);c=On("variantchanged",b);Yo(a,c)}function Ao(a){var b=On("textchanged");Yo(a,b)}function oo(a){var b=On("texttrackvisibility");Yo(a,b)}function po(a){var b=(new Map).set("newStatus",a.V.abr.enabled);Yo(a,On("abrstatuschanged",b))}
544function lea(a,b){if(1002!=b.code&&1011!=b.code||1!=b.category||!navigator.onLine)return!1;var c=a.V.streaming.maxDisabledTime;if(0==c)if(1011==b.code)c=1;else return!1;b=a.Gi().find(function(g){return g.active});for(var d=a.Pa,e=m(d.variants),f=e.next();!f.done;f=e.next())f=f.value,f.id===b.id&&(f.disabledUntilTime=Date.now()/1E3+c);Sg(d.variants,a.V.restrictions,a.Ub);b=Pn(a);if(!b)return!1;d=a.yk().video.reduce(function(g,k){return g+k.end-k.start},0);jo(a,b,!1,!0,d);a.Kc.Hc(c);return!0}
545function Xn(a,b){if(a.o!=Sn)if(lea(a,b))b.handled=!0;else{var c=On("error",(new Map).set("detail",b));a.dispatchEvent(c);c.defaultPrevented&&(b.handled=!0)}}function $n(a,b,c){c=(new Map).set("detail",{schemeIdUri:c.schemeIdUri,value:c.value,startTime:c.startTime,endTime:c.endTime,id:c.id,eventElement:c.eventElement});a.dispatchEvent(On(b,c))}
546function Wn(a){if(!a.g.error)return null;var b=a.g.error.code;if(1==b)return null;var c=a.g.error.msExtendedCode;c&&(0>c&&(c+=Math.pow(2,32)),c=c.toString(16));return new Bb(2,3,3016,b,c,a.g.error.message)}
547function eo(a,b){if(a.h){var c=Object.keys(b),d=1==c.length&&"00"==c[0],e=!1;if(c.length){c=m(a.Pa.variants);for(var f=c.next();!f.done;f=c.next()){f=f.value;var g=[];f.audio&&g.push(f.audio);f.video&&g.push(f.video);g=m(g);for(var k=g.next();!k.done;k=g.next()){var l=k.value;k=f.allowedByKeySystem;if(l.keyIds.size){f.allowedByKeySystem=!0;l=m(l.keyIds);for(var n=l.next();!n.done;n=l.next())n=n.value,n=b[d?"00":n],f.allowedByKeySystem=f.allowedByKeySystem&&!!n&&!Zo.includes(n)}k!=f.allowedByKeySystem&&
548(e=!0)}}}if(!e||so(a))(b=a.h.h)&&!b.allowedByKeySystem&&zo(a),e&&ro(a)}}function fo(a,b,c){if(a.s&&a.s.onExpirationUpdated)a.s.onExpirationUpdated(b,c);b=On("expirationupdated");a.dispatchEvent(b)}function io(a,b,c){0<b&&(a.nd()||a.gP(b));b=a.getDuration();c<b&&(a.nd()||a.Ti(c))}
549function Wo(a,b){a=a.l?a.l.Gx():{};var c=Object.keys(a);c=c.length&&"00"==c[0];var d=!1,e=!1,f=new Set,g=new Set;b=m(b.variants);for(var k=b.next();!k.done;k=b.next()){k=k.value;var l=[];k.audio&&l.push(k.audio);k.video&&l.push(k.video);l=m(l);for(var n=l.next();!n.done;n=l.next())if(n=n.value,n.keyIds.size){n=m(n.keyIds);for(var q=n.next();!q.done;q=n.next()){q=q.value;var t=a[c?"00":q];t?Zo.includes(t)&&g.add(t):f.add(q)}}k.allowedByApplication?k.allowedByKeySystem&&(d=!0):e=!0}if(!d)throw a={hasAppRestrictions:e,
550missingKeys:Array.from(f),restrictedKeyStatuses:Array.from(g)},new Bb(2,4,4012,a);}function qo(a){if(!a.variants.some(ih))throw new Bb(2,4,4032);}function Yo(a,b){r(function(c){if(1==c.g)return p(c,Promise.resolve(),2);a.o!=Sn&&a.dispatchEvent(b);ua(c)})}function Do(a){var b=new Set;a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.language?b.add(Xf(c.language)):b.add("und");return b}
551function Co(a){var b=new Map,c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e="und",f=[];d.language&&(e=Xf(d.language));"variant"==d.type?f=d.audioRoles:f=d.roles;f&&f.length||(f=[""]);b.has(e)||b.set(e,new Set);f=m(f);for(var g=f.next();!g.done;g=f.next())g=g.value,b.get(e).add(g),d.label&&(c.has(e)||c.set(e,new Map),c.get(e).set(g,d.label))}var k=[];b.forEach(function(l,n){l=m(l);for(var q=l.next();!q.done;q=l.next()){q=q.value;var t=null;c.has(n)&&c.get(n).has(q)&&(t=c.get(n).get(q));
552k.push({language:n,role:q,label:t})}});return k}function Un(){return new Bb(2,7,7E3)}function Nn(a,b,c,d,e,f){return d==a&&e.mc==f.mc&&e.uri==f.uri&&e.mimeType==f.mimeType?b:c}function Dm(){return{mc:null,mimeType:null,startTime:null,nH:NaN,uri:null}}function Vn(a){return new Promise(function(b,c){a.Co=function(){return c(Un())};a.Am=function(){return b()};a.onError=function(d){return c(d)};a.lz=function(){return c(Un())}})}fb("shaka.Player",Hn);Hn.prototype.setVideoContainer=Hn.prototype.mG;
553Hn.prototype.getManifestParserFactory=Hn.prototype.cY;Hn.prototype.getManifest=Hn.prototype.bY;Hn.prototype.retryStreaming=Hn.prototype.LF;Hn.prototype.setMaxHardwareResolution=Hn.prototype.hG;
553Hn.prototype.addChaptersTrack=Hn.prototype.HI;Hn.prototype.addThumbnailsTrack=Hn.prototype.NI;Hn.prototype.addTextTrackAsync=Hn.prototype.iU;Hn.prototype.getStats=Hn.prototype.getStats;Hn.prototype.getBufferedInfo=Hn.prototype.yk;Hn.prototype.getPresentationStartTimeAsDate=Hn.prototype.yL;
554Hn.prototype.getPlayheadTimeAsDate=Hn.prototype.iY;Hn.prototype.setTextTrackVisibility=Hn.prototype.vv;Hn.prototype.getChapters=Hn.prototype.pL;Hn.prototype.getChaptersTracks=Hn.prototype.qL;Hn.prototype.isTextTrackVisible=Hn.prototype.Hj;Hn.prototype.selectVariantsByLabel=Hn.prototype.T5;Hn.prototype.selectTextLanguage=Hn.prototype.YF;Hn.prototype.selectAudioLanguage=Hn.prototype.Oz;Hn.prototype.getTextLanguages=Hn.prototype.nY;Hn.prototype.getAudioLanguages=Hn.prototype.JX;
555Hn.prototype.getTextLanguagesAndRoles=Hn.prototype.oY;Hn.prototype.getAudioLanguagesAndRoles=Hn.prototype.KX;Hn.prototype.selectVariantTrack=Hn.prototype.ZF;Hn.prototype.selectTextTrack=Hn.prototype.Qz;Hn.prototype.getThumbnails=Hn.prototype.zL;Hn.prototype.getImageTracks=Hn.prototype.XX;Hn.prototype.getTextTracks=Hn.prototype.Ek;Hn.prototype.getVariantTracks=Hn.prototype.Gi;Hn.prototype.cancelTrickPlay=Hn.prototype.vJ;Hn.prototype.trickPlay=Hn.prototype.JH;Hn.prototype.getPlaybackRate=Hn.prototype.lm;
556Hn.prototype.isBuffering=Hn.prototype.uu;Hn.prototype.getKeyStatuses=Hn.prototype.Gx;Hn.prototype.getExpiration=Hn.prototype.Pt;Hn.prototype.drmInfo=Hn.prototype.drmInfo;Hn.prototype.keySystem=Hn.prototype.keySystem;Hn.prototype.goToLive=Hn.prototype.vY;Hn.prototype.seekRange=Hn.prototype.uh;Hn.prototype.isAudioOnly=Hn.prototype.Oq;Hn.prototype.isInProgress=Hn.prototype.io;Hn.prototype.isLive=Hn.prototype.nd;Hn.prototype.getAdManager=Hn.prototype.Bx;Hn.prototype.getAssetUri=Hn.prototype.eD;
557Hn.prototype.getNetworkingEngine=Hn.prototype.Tt;Hn.prototype.getMediaElement=Hn.prototype.eY;Hn.prototype.getLoadMode=Hn.prototype.vL;Hn.prototype.resetConfiguration=Hn.prototype.s5;Hn.prototype.getBufferFullness=Hn.prototype.LX;Hn.prototype.getConfiguration=Hn.prototype.getConfiguration;Hn.prototype.configure=Hn.prototype.configure;Hn.prototype.load=Hn.prototype.load;Hn.prototype.updateStartTime=Hn.prototype.M9;Hn.prototype.unload=Hn.prototype.MH;Hn.prototype.detach=Hn.prototype.detach;
558Hn.prototype.attachCanvas=Hn.prototype.YI;Hn.prototype.attach=Hn.prototype.ni;
559Hn.probeSupport=function(a){a=void 0===a?!0:a;var b,c,d,e,f,g;return r(function(k){if(1==k.g)return b={},a?p(k,jca(),3):k.ua(2);2!=k.g&&(b=k.h);var l={};if(Ye()){for(var n in vj)l[n]=!0;for(var q in xj)l[q]=!0}n={mpd:"application/dash+xml",m3u8:"application/x-mpegurl",ism:"application/vnd.ms-sstr+xml"};q=m(["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"]);for(var t=q.next();!t.done;t=q.next())t=t.value,l[t]=Ye()?!!vj[t]:$e(t);for(var u in n)l[u]=
560Ye()?!!xj[u]:$e(n[u]);c=l;u='video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="opus",audio/mp4; codecs="flac",audio/mp4; codecs="dtsc",audio/mp4; codecs="dtse",audio/mp4; codecs="dtsx",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").concat(ka(ml));
561l={};u=m(u);for(n=u.next();!n.done;n=u.next())n=n.value,l[n]=Ye()?Ig(n)?!0:rb(n)||Gf(n):$e(n),q=n.split(";")[0],l[q]=l[q]||l[n];d=l;e={manifest:c,media:d,drm:b};f=$o;for(g in f)e[g]=f[g]();return k.return(e)})};Hn.isBrowserSupported=Tn;Hn.setAdManagerFactory=function(a){Ln=a};Hn.registerSupportPlugin=function(a,b){$o[a]=b};Hn.prototype.destroy=Hn.prototype.destroy;var Sn=0,Jn=1,ko=2,to=3;Hn.LoadMode={DESTROYED:Sn,NOT_LOADED:Jn,MEDIA_SOURCE:ko,SRC_EQUALS:to};Hn.version="v4.3.6-uncompiled";
562var ap=["4","3"];qb=new function(a){this.g=a;this.j=qaa;this.h=raa}(new jb(Number(ap[0]),Number(ap[1])));
563var Zo=["output-restricted","internal-error"],$o={},Ln=null,Rn={mp4:"video/mp4",m4v:"video/mp4",m4a:"audio/mp4",webm:"video/webm",weba:"audio/webm",mkv:"video/webm",ts:"video/mp2t",ogv:"video/ogg",ogg:"audio/ogg",mpg:"video/mpeg",mpeg:"video/mpeg",m3u8:"application/x-mpegurl",mpd:"application/d
563ash+xml",mp3:"audio/mpeg",aac:"audio/aac",flac:"audio/flac",wav:"audio/wav"},jea={sbv:"text/x-subviewer",srt:"text/srt",vtt:"text/vtt",webvtt:"text/vtt",ttml:"application/ttml+xml",lrc:"application/x-subtitle-lrc",
564ssa:"text/x-ssa",ass:"text/x-ssa"};function bp(){this.g=[];this.o=this.h=this.j=0};function cp(a,b,c){var d=this;this.h=a;this.g=b;this.s=c;this.j=!1;this.l=this.g.getVolume();this.o=new fi;this.o.J(this.g,google.ima.AdEvent.Type.PAUSED,function(){d.j=!0});this.o.J(this.g,google.ima.AdEvent.Type.RESUMED,function(){d.j=!1})}h=cp.prototype;h.getDuration=function(){return this.h.getDuration()};h.getMinSuggestedDuration=function(){return this.h.getMinSuggestedDuration()};h.getRemainingTime=function(){return this.g.getRemainingTime()};h.isPaused=function(){return this.j};
565h.isSkippable=function(){return 0<=this.h.getSkipTimeOffset()};h.getTimeUntilSkippable=function(){var a=this.h.getSkipTimeOffset();a=this.getRemainingTime()-a;return Math.max(a,0)};h.canSkipNow=function(){return this.g.getAdSkippableState()};h.skip=function(){return this.g.skip()};h.pause=function(){return this.g.pause()};h.play=function(){return this.g.resume()};h.getVolume=function(){return this.g.getVolume()};h.setVolume=function(a){return this.g.setVolume(a)};h.isMuted=function(){return 0==this.g.getVolume()};
566h.isLinear=function(){return this.h.isLinear()};h.resize=function(a,b){var c=!1,d=this.s;document.fullscreenEnabled?c=!!document.fullscreenElement:d.webkitSupportsFullscreen&&(c=d.webkitDisplayingFullscreen);this.g.resize(a,b,c?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)};h.setMuted=function(a){a?(this.l=this.getVolume(),this.setVolume(0)):this.setVolume(this.l)};h.getSequenceLength=function(){var a=this.h.getAdPodInfo();return null==a?1:a.getTotalAds()};
567h.getPositionInSequence=function(){var a=this.h.getAdPodInfo();return null==a?1:a.getAdPosition()};h.getTitle=function(){return this.h.getTitle()};h.getDescription=function(){return this.h.getDescription()};h.release=function(){this.g=this.h=null};fb("shaka.ads.ClientSideAd",cp);cp.prototype.release=cp.prototype.release;cp.prototype.getDescription=cp.prototype.getDescription;cp.prototype.getTitle=cp.prototype.getTitle;cp.prototype.getPositionInSequence=cp.prototype.getPositionInSequence;
568cp.prototype.getSequenceLength=cp.prototype.getSequenceLength;cp.prototype.setMuted=cp.prototype.setMuted;cp.prototype.resize=cp.prototype.resize;cp.prototype.isLinear=cp.prototype.isLinear;cp.prototype.isMuted=cp.prototype.isMuted;cp.prototype.setVolume=cp.prototype.setVolume;cp.prototype.getVolume=cp.prototype.getVolume;cp.prototype.play=cp.prototype.play;cp.prototype.pause=cp.prototype.pause;cp.prototype.skip=cp.prototype.skip;cp.prototype.canSkipNow=cp.prototype.canSkipNow;
569cp.prototype.getTimeUntilSkippable=cp.prototype.getTimeUntilSkippable;cp.prototype.isSkippable=cp.prototype.isSkippable;cp.prototype.isPaused=cp.prototype.isPaused;cp.prototype.getRemainingTime=cp.prototype.getRemainingTime;cp.prototype.getMinSuggestedDuration=cp.prototype.getMinSuggestedDuration;cp.prototype.getDuration=cp.prototype.getDuration;function dp(a,b,c,d){var e=this;this.m=a;this.j=b;this.L=null;this.T=NaN;this.s=d;this.o=null;this.h=new fi;google.ima.settings.setLocale(c);a=new google.ima.AdDisplayContainer(this.m,this.j);a.initialize();this.l=new google.ima.AdsLoader(a);this.l.getSettings().setPlayerType("shaka-player");this.l.getSettings().setPlayerVersion("v4.3.6-uncompiled");this.g=null;this.h.$e(this.l,google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,function(f){mea(e,f)});this.h.J(this.l,google.ima.AdErrorEvent.Type.AD_ERROR,
570function(f){ep(e,f)});this.h.J(this.j,"ended",function(){e.l.contentComplete()})}dp.prototype.stop=function(){this.g&&this.g.stop();this.m&&Nm(this.m)};dp.prototype.release=function(){this.stop();this.L&&this.L.disconnect();this.h&&this.h.release();this.g&&this.g.destroy();this.l.destroy()};function ep(a,b){b.getError();fp(a,null);a.s(new Kh("ad-cue-points-changed",(new Map).set("cuepoints",[])))}
571function mea(a,b){a.s(new Kh("ads-loaded",(new Map).set("loadTime",Date.now()/1E3-a.T)));a.g=b.getAdsManager(a.j);a.s(new Kh("ima-ad-manager-loaded",(new Map).set("imaAdManager",a.g)));var c=a.g.getCuePoints();if(c.length){b=[];c=m(c);for(var d=c.next();!d.done;d=c.next())b.push({start:d.value,end:null});a.s(new Kh("ad-cue-points-changed",(new Map).set("cuepoints",b)))}nea(a);try{a.g.init(a.j.offsetWidth,a.j.offsetHeight,gp(a)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL),a.h.J(a.j,"loadeddata",
572function(){a.g.resize(a.j.offsetWidth,a.j.offsetHeight,gp(a)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)}),"ResizeObserver"in window?(a.L=new ResizeObserver(function(){a.g.resize(a.j.offsetWidth,a.j.offsetHeight,gp(a)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)}),a.L.observe(a.j)):a.h.J(document,"fullscreenchange",function(){a.g.resize(a.j.offsetWidth,a.j.offsetHeight,gp(a)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)}),a.h.$e(a.j,"play",function(){a.g.start()})}catch(e){fp(a,
573null)}}
vendor: 6,818 bytes, lines 573-586
573function gp(a){if(document.fullscreenEnabled)return!!document.fullscreenElement;a=a.j;return a.webkitSupportsFullscreen?a.webkitDisplayingFullscreen:!1}
574function nea(a){function b(c,d){c=(new Map).set("originalEvent",c);a.s(new Kh(d,c))}a.h.J(a.g,google.ima.AdErrorEvent.Type.AD_ERROR,function(c){ep(a,c)});a.h.J(a.g,google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,function(c){hp(a,c)});a.h.J(a.g,google.ima.AdEvent.Type.STARTED,function(c){hp(a,c)});a.h.J(a.g,google.ima.AdEvent.Type.FIRST_QUARTILE,function(c){b(c,"ad-first-quartile")});a.h.J(a.g,google.ima.AdEvent.Type.MIDPOINT,function(c){b(c,"ad-midpoint")});a.h.J(a.g,google.ima.AdEvent.Type.THIRD_QUARTILE,
575function(c){b(c,"ad-third-quartile")});a.h.J(a.g,google.ima.AdEvent.Type.COMPLETE,function(c){b(c,"ad-complete")});a.h.J(a.g,google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,function(c){fp(a,c)});a.h.J(a.g,google.ima.AdEvent.Type.ALL_ADS_COMPLETED,function(c){fp(a,c)});a.h.J(a.g,google.ima.AdEvent.Type.SKIPPED,function(c){b(c,"ad-skipped")});a.h.J(a.g,google.ima.AdEvent.Type.VOLUME_CHANGED,function(c){b(c,"ad-volume-changed")});a.h.J(a.g,google.ima.AdEvent.Type.VOLUME_MUTED,function(c){b(c,"ad-muted")});
576a.h.J(a.g,google.ima.AdEvent.Type.PAUSED,function(c){a.o&&(a.o.j=!0,b(c,"ad-paused"))});a.h.J(a.g,google.ima.AdEvent.Type.RESUMED,function(c){a.o&&(a.o.j=!1,b(c,"ad-resumed"))});a.h.J(a.g,google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,function(c){a.o&&b(c,"ad-skip-state-changed")});a.h.J(a.g,google.ima.AdEvent.Type.CLICK,function(c){b(c,"ad-clicked")});a.h.J(a.g,google.ima.AdEvent.Type.AD_PROGRESS,function(c){b(c,"ad-progress")});a.h.J(a.g,google.ima.AdEvent.Type.AD_BUFFERING,function(c){b(c,"ad-buffering")});
577a.h.J(a.g,google.ima.AdEvent.Type.IMPRESSION,function(c){b(c,"ad-impression")});a.h.J(a.g,google.ima.AdEvent.Type.DURATION_CHANGE,function(c){b(c,"ad-duration-changed")});a.h.J(a.g,google.ima.AdEvent.Type.USER_CLOSE,function(c){b(c,"ad-closed")});a.h.J(a.g,google.ima.AdEvent.Type.LOADED,function(c){b(c,"ad-loaded")});a.h.J(a.g,google.ima.AdEvent.Type.ALL_ADS_COMPLETED,function(c){b(c,"all-ads-completed")});a.h.J(a.g,google.ima.AdEvent.Type.LINEAR_CHANGED,function(c){b(c,"ad-linear-changed")});a.h.J(a.g,
578google.ima.AdEvent.Type.AD_METADATA,function(c){b(c,"ad-metadata")});a.h.J(a.g,google.ima.AdEvent.Type.LOG,function(c){b(c,"ad-recoverable-error")});a.h.J(a.g,google.ima.AdEvent.Type.AD_BREAK_READY,function(c){b(c,"ad-break-ready")});a.h.J(a.g,google.ima.AdEvent.Type.INTERACTION,function(c){b(c,"ad-interaction")})}
579function hp(a,b){var c=b.getAd();c?(a.o=new cp(c,a.g,a.j),b=(new Map).set("ad",a.o).set("sdkAdObject",c).set("originalEvent",b),a.s(new Kh("ad-started",b)),a.o.isLinear()&&(a.m.setAttribute("ad-active","true"),a.j.pause(),a.o.setVolume(a.j.volume),a.j.muted&&a.o.setMuted(!0))):lb("The IMA SDK fired a "+b.type+" event with no associated ad. Unable to play ad!")}
580function fp(a,b){a.s(new Kh("ad-stopped",(new Map).set("originalEvent",b)));a.o&&a.o.isLinear()&&(a.m.removeAttribute("ad-active"),a.j.ended||a.j.play())};function ip(a,b){this.j=a;this.h=null;this.g=b}h=ip.prototype;h.getDuration=function(){return this.h?this.h.duration:-1};h.getMinSuggestedDuration=function(){return this.getDuration()};h.getRemainingTime=function(){return this.h?this.h.duration-this.h.currentTime:-1};h.isPaused=function(){return this.g.paused};h.isSkippable=function(){return this.j.isSkippable()};h.getTimeUntilSkippable=function(){var a=this.j.getSkipTimeOffset();a=this.getRemainingTime()-a;return Math.max(a,0)};
581h.canSkipNow=function(){return 0==this.getTimeUntilSkippable()};h.skip=function(){this.g.currentTime+=this.getRemainingTime()};h.pause=function(){return this.g.pause()};h.play=function(){return this.g.play()};h.getVolume=function(){return this.g.volume};h.setVolume=function(a){this.g.volume=a};h.isMuted=function(){return this.g.muted};h.isLinear=function(){return!0};h.resize=function(){};h.setMuted=function(a){this.g.muted=a};
582h.getSequenceLength=function(){var a=this.j.getAdPodInfo();return null==a?1:a.getTotalAds()};h.getPositionInSequence=function(){var a=this.j.getAdPodInfo();return null==a?1:a.getAdPosition()};h.getTitle=function(){return this.j.getTitle()};h.getDescription=function(){return this.j.getDescription()};h.release=function(){this.g=this.h=this.j=null};fb("shaka.ads.ServerSideAd",ip);ip.prototype.release=ip.prototype.release;ip.prototype.getDescription=ip.prototype.getDescription;ip.prototype.getTitle=ip.prototype.getTitle;
583ip.prototype.getPositionInSequence=ip.prototype.getPositionInSequence;ip.prototype.getSequenceLength=ip.prototype.getSequenceLength;ip.prototype.setMuted=ip.prototype.setMuted;ip.prototype.resize=ip.prototype.resize;ip.prototype.isLinear=ip.prototype.isLinear;ip.prototype.isMuted=ip.prototype.isMuted;ip.prototype.setVolume=ip.prototype.setVolume;ip.prototype.getVolume=ip.prototype.getVolume;ip.prototype.play=ip.prototype.play;ip.prototype.pause=ip.prototype.pause;ip.prototype.skip=ip.prototype.skip;
584ip.prototype.canSkipNow=ip.prototype.canSkipNow;ip.prototype.getTimeUntilSkippable=ip.prototype.getTimeUntilSkippable;ip.prototype.isSkippable=ip.prototype.isSkippable;ip.prototype.isPaused=ip.prototype.isPaused;ip.prototype.getRemainingTime=ip.prototype.getRemainingTime;ip.prototype.getMinSuggestedDuration=ip.prototype.getMinSuggestedDuration;ip.prototype.getDuration=ip.prototype.getDuration;function jp(a,b,c,d){var e=this;this.T=a;this.l=b;this.o=null;this.M=NaN;this.j=d;this.va=!1;this.u=this.s=this.m=null;this.L="";this.ea=[];this.h=new fi;a=new google.ima.dai.api.UiSettings;a.setLocale(c);this.g=new google.ima.dai.api.StreamManager(this.l,this.T,a);this.j(new Kh("ima-stream-manager-loaded",(new Map).set("imaStreamManager",this.g)));this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.LOADED,function(f){oea(e,f)});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.ERROR,function(){e.L.length?
585e.o.resolve(e.L):e.o.reject("IMA Stream request returned an error and there was no backup asset uri provided.");e.o=null});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.AD_BREAK_STARTED,function(){});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.STARTED,function(f){f=f.getAd();e.s=new ip(f,e.l);e.u&&(e.s.h=e.u);e.j(new Kh("ad-started",(new Map).set("ad",e.s)));e.T.setAttribute("ad-active","true")});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.AD_BREAK_ENDED,function(){e.T.removeAttribute("ad-active");
586var f=e.l.currentTime;e.m&&e.m>f&&(e.l.currentTime=e.m,e.m=null)});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.AD_PROGRESS,function(f){e.u=f.getStreamData().adProgressData;e.s&&(e.s.h=e.u)});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.FIRST_QUARTILE,function(){e.j(new Kh("ad-first-quartile"))});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.MIDPOINT,function(){e.j(new Kh("ad-mi
586dpoint"))});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.THIRD_QUARTILE,function(){e.j(new Kh("ad-third-quartile"))});
587this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.COMPLETE,function(){e.j(new Kh("ad-complete"));e.j(new Kh("ad-stopped"));e.T.removeAttribute("ad-active");e.s=null});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.SKIPPED,function(){e.j(new Kh("ad-skipped"));e.j(new Kh("ad-stopped"))});this.h.J(this.g,google.ima.dai.api.StreamEvent.Type.CUEPOINTS_CHANGED,function(f){var g=f.getStreamData();f=[];g=m(g.cuepoints);for(var k=g.next();!k.done;k=g.next())k=k.value,f.push({start:k.start,end:k.end});
588e.ea=f;e.j(new Kh("ad-cue-points-changed",(new Map).set("cuepoints",f)))})}jp.prototype.stop=function(){this.L="";this.m=null;this.ea=[]};jp.prototype.release=function(){this.stop();this.h&&this.h.release()};jp.prototype.onCueMetadataChange=function(a){if(a.key&&a.data){var b={};b[a.key]=a.data;this.g.onTimedMetadata(b)}};
589function oea(a,b){a.j(new Kh("ads-loaded",(new Map).set("loadTime",Date.now()/1E3-a.M)));b=b.getStreamData().url;a.o.resolve(b);a.o=null;a.va||a.h.J(a.l,"seeked",function(){var c=a.l.currentTime;if(0!=c){a.g.streamTimeForContentTime(c);var d=a.g.previousCuePointForStreamTime(c);d&&!d.played&&(a.m=c,a.l.currentTime=d.start)}})};function kp(){Nh.call(this);this.g=this.h=null;this.j=new bp;this.o=navigator.language}pa(kp,Nh);h=kp.prototype;h.setLocale=function(a){this.o=a};h.initClientSide=function(a,b){var c=this;if(!window.google||!google.ima||!google.ima.AdsLoader)throw new Bb(2,10,1E4);this.h&&this.h.release();this.h=new dp(a,b,this.o,function(d){if(d&&d.type)switch(d.type){case "ads-loaded":c.j.g.push(d.loadTime);break;case "ad-started":c.j.j++;break;case "ad-complete":c.j.h++;break;case "ad-skipped":c.j.o++}c.dispatchEvent(d)})};
590h.release=function(){this.h&&(this.h.release(),this.h=null);this.g&&(this.g.release(),this.g=null);Nh.prototype.release.call(this)};h.onAssetUnload=function(){this.h&&this.h.stop();this.g&&this.g.stop();this.dispatchEvent(new Kh("ad-stopped"));this.j=new bp};h.requestClientSideAds=function(a){if(!this.h)throw new Bb(1,10,10001);var b=this.h;b.T=Date.now()/1E3;b.l.requestAds(a)};
591h.initServerSide=function(a,b){var c=this;if(!window.google||!google.ima||!google.ima.dai)throw new Bb(2,10,10002);this.g&&this.g.release();this.g=new jp(a,b,this.o,function(d){if(d&&d.type)switch(d.type){case "ads-loaded":c.j.g.push(d.loadTime);break;case "ad-started":c.j.j++;break;case "ad-complete":c.j.h++;break;case "ad-skipped":c.j.o++}c.dispatchEvent(d)})};
592h.requestServerSideStream=function(a,b){b=void 0===b?"":b;if(!this.g)throw new Bb(1,10,10003);a.adTagParameters||(a.adTagParameters={});var c=a.adTagParameters;(c.mpt||c.mpv)&&lb('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.adTagParameters.mpt="shaka-player";a.adTagParameters.mpv="v4.3.6-uncompiled";c=this.g;c.o?a=Promise.reject(new Bb(1,10,10004)):(a instanceof google.ima.dai.api.LiveStreamRequest&&
593(c.va=!0),c.o=new Ue,c.g.requestStream(a),c.L=b||"",c.M=Date.now()/1E3,a=c.o);return a};h.replaceServerSideAdTagParameters=function(a){if(!this.g)throw new Bb(1,10,10003);(a.mpt||a.mpv)&&lb('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.mpt="Shaka Player";a.mpv="v4.3.6-uncompiled";this.g.g.replaceAdTagParameters(a)};
594h.getServerSideCuePoints=function(){if(!this.g)throw new Bb(1,10,10003);return this.g.ea};h.getStats=function(){var a=this.j;return{loadTimes:a.g,started:a.j,playedCompletely:a.h,skipped:a.o}};h.onDashTimedMetadata=function(a){if(this.g&&"urn:google:dai:2018"==a.schemeIdUri){var b=a.schemeIdUri,c=a.eventElement?a.eventElement.getAttribute("messageData"):null;this.g.g.processMetadata(b,c,a.startTime)}};h.onHlsTimedMetadata=function(a,b){this.g&&this.g.g.processMetadata("ID3",a.data,b)};
595h.onCueMetadataChange=function(a){if(this.g)this.g.onCueMetadataChange(a)};fb("shaka.ads.AdManager",kp);kp.prototype.onCueMetadataChange=kp.prototype.onCueMetadataChange;kp.prototype.onHlsTimedMetadata=kp.prototype.onHlsTimedMetadata;kp.prototype.onDashTimedMetadata=kp.prototype.onDashTimedMetadata;kp.prototype.getStats=kp.prototype.getStats;kp.prototype.getServerSideCuePoints=kp.prototype.getServerSideCuePoints;kp.prototype.replaceServerSideAdTagParameters=kp.prototype.replaceServerSideAdTagParameters;
596kp.prototype.requestServerSideStream=kp.prototype.requestServerSideStream;kp.prototype.initServerSide=kp.prototype.initServerSide;kp.prototype.requestClientSideAds=kp.prototype.requestClientSideAds;kp.prototype.onAssetUnload=kp.prototype.onAssetUnload;kp.prototype.release=kp.prototype.release;kp.prototype.initClientSide=kp.prototype.initClientSide;kp.prototype.setLocale=kp.prototype.setLocale;kp.ADS_LOADED="ads-loaded";kp.AD_STARTED="ad-started";kp.AD_FIRST_QUARTILE="ad-first-quartile";
597kp.AD_MIDPOINT="ad-midpoint";kp.AD_THIRD_QUARTILE="ad-third-quartile";kp.AD_COMPLETE="ad-complete";kp.AD_STOPPED="ad-stopped";kp.AD_SKIPPED="ad-skipped";kp.AD_VOLUME_CHANGED="ad-volume-changed";kp.AD_MUTED="ad-muted";kp.AD_PAUSED="ad-paused";kp.AD_RESUMED="ad-resumed";kp.AD_SKIP_STATE_CHANGED="ad-skip-state-changed";kp.CUEPOINTS_CHANGED="ad-cue-points-changed";kp.IMA_AD_MANAGER_LOADED="ima-ad-manager-loaded";kp.IMA_STREAM_MANAGER_LOADED="ima-stream-manager-loaded";kp.AD_CLICKED="ad-clicked";
598kp.AD_PROGRESS="ad-progress";kp.AD_BUFFERING="ad-buffering";kp.AD_IMPRESSION="ad-impression";kp.AD_DURATION_CHANGED="ad-duration-changed";kp.AD_CLOSED="ad-closed";kp.AD_LOADED="ad-loaded";kp.ALL_ADS_COMPLETED="all-ads-completed";kp.AD_LINEAR_CHANGED="ad-linear-changed";kp.AD_METADATA="ad-metadata";kp.AD_RECOVERABLE_ERROR="ad-recoverable-error";kp.AD_BREAK_READY="ad-break-ready";kp.AD_INTERACTION="ad-interaction";Ln=function(){return new kp};function lp(a){return JSON.stringify(a,function(b,c){if("function"!=typeof c){if(c instanceof Event||c instanceof Kh){var d={};for(e in c)(b=c[e])&&"object"==typeof b?"detail"==e&&(d[e]=b):e in Event||(d[e]=b);return d}if(c instanceof Error){var e=new Set(["name","message","stack"]);for(d in c)e.add(d);b=m(Object.getOwnPropertyNames(c));for(d=b.next();!d.done;d=b.next())e.add(d.value);b={};e=m(e);for(d=e.next();!d.done;d=e.next())d=d.value,b[d]=c[d];c={__type__:"Error",contents:b}}else if(c instanceof
599TimeRanges){e={__type__:"TimeRanges",length:c.length,start:[],end:[]};c=m(Vk(c));for(d=c.next();!d.done;d=c.next())d=d.value,b=d.end,e.start.push(d.start),e.end.push(b);c=e}else c=c instanceof Uint8Array?{__type__:"Uint8Array",entries:Array.from(c)}:"number"==typeof c?isNaN(c)?"NaN":isFinite(c)?c:0>c?"-Infinity":"Infinity":c;return c}})}
600function mp(a){return JSON.parse(a,function(b,c){if("NaN"==c)var d=NaN;else if("-Infinity"==c)d=-Infinity;else if("Infinity"==c)d=Infinity;else if(c&&"object"==typeof c&&"TimeRanges"==c.__type__)d=pea(c);else if(c&&"object"==typeof c&&"Uint8Array"==c.__type__)d=new Uint8Array(c.entries);else if(c&&"object"==typeof c&&"Error"==c.__type__){b=c.contents;c=Error(b.message);for(d in b)c[d]=b[d];d=c}else d=c;return d})}
601function pea(a){return{length:a.length,start:function(b){return a.start[b]},end:function(b){return a.end[b]}}}
602var np="ended play playing pause pausing ratechange seeked seeking timeupdate volumechange".split(" "),qea="buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume".split(" "),op=["loop","playbackRate"],rea=["pause","play"],pp={getAssetUri:2,getAudioLanguages:4,getAudioLanguagesAndRoles:4,getBufferFullness:1,getBufferedInfo:2,getExpiration:2,getKeyStatuses:2,getPlaybackRate:2,getTextLanguages:4,getTextLanguagesAndRoles:4,getImageTracks:2,getThumbnails:2,
603isAudioOnly:10,isBuffering:1,isInProgress:1,isLive:10,isTextTrackVisible:1,keySystem:10,seekRange:1,getL
603oadMode:10},qp={getConfiguration:4,getStats:5,getTextTracks:2,getVariantTracks:2},rp={getPlayheadTimeAsDate:1,getPresentationStartTimeAsDate:20},sp=[["getConfiguration","configure"]],tp=[["isTextTrackVisible","setTextTrackVisibility"]],sea="addChaptersTrack addTextTrackAsync addThumbnailsTrack cancelTrickPlay configure getChapters getChaptersTracks resetConfiguration retryStreaming selectAudioLanguage selectTextLanguage selectTextTrack selectVariantTrack selectVariantsByLabel setTextTrackVisibility trickPlay updateStartTime goToLive".split(" "),
604tea=["attach","attachCanvas","detach","load","unload"];function up(a,b,c,d,e,f,g){var k=this;this.Ua=a;this.cb=g;this.o=new Xe(b);this.fc=c;this.L=!1;this.ea=d;this.Z=e;this.M=f;this.h=this.s=!1;this.Ia="";this.m=null;this.T=function(){return vp(k)};this.u=function(l,n){l=mp(n);switch(l.type){case "event":var q=l.targetName,t=Lh(l.event);k.ea(q,t);break;case "update":q=l.update;for(t in q){l=k.g[t]||{};for(var u in q[t])l[u]=q[t][u]}k.L&&(k.fc(),k.L=!1);break;case "asyncComplete":if(t=l.id,u=l.error,l=k.j[t],delete k.j[t],l)if(u){t=new Bb(u.severity,
605u.category,u.code);for(q in u)t[q]=u[q];l.reject(t)}else l.resolve()}};this.g={video:{},player:{}};this.va=0;this.j={};this.l=null;wp.add(this)}h=up.prototype;h.destroy=function(){wp.delete(this);xp(this);yp&&zp(this);this.o&&(this.o.stop(),this.o=null);this.Z=this.ea=null;this.h=this.s=!1;this.u=this.T=this.l=this.j=this.g=this.m=null;return Promise.resolve()};h.Lf=function(){return this.h};h.Cz=function(){return this.Ia};
606h.init=function(){if(this.Ua.length)if(window.chrome&&chrome.cast&&chrome.cast.isAvailable){this.s=!0;this.o.vg();var a=new chrome.cast.SessionRequest(this.Ua,[],null,this.cb,null);a=new chrome.cast.ApiConfig(a,function(b){for(var c=m(wp),d=c.next();!d.done;d=c.next())Ap(d.value,b)},function(b){for(var c=m(wp),d=c.next();!d.done;d=c.next())d=d.value,Bp="available"==b,d.o.vg()},"origin_scoped");chrome.cast.initialize(a,function(){},function(){});Bp&&this.o.Hc(uea);(a=yp)&&a.status!=chrome.cast.SessionStatus.STOPPED?
607Ap(this,a):yp=null}else window.__onGCastApiAvailable!==Cp&&(Dp=window.__onGCastApiAvailable||null,window.__onGCastApiAvailable=Cp)};h.bG=function(a){this.m=a;this.h&&Ep(this,{type:"appData",appData:this.m})};h.cast=function(a){var b=this;return r(function(c){if(!b.s)throw new Bb(1,8,8E3);if(!Bp)throw new Bb(1,8,8001);if(b.h)throw new Bb(1,8,8002);b.l=new Ue;chrome.cast.requestSession(function(d){return Fp(b,a,d)},function(d){return Gp(b,d)});return p(c,b.l,0)})};
608function vea(a){if(a.h){var b=a.M();chrome.cast.requestSession(function(c){return Fp(a,b,c)},function(c){return Gp(a,c)})}}h.pq=function(){if(this.h){xp(this);if(yp){zp(this);try{yp.stop(function(){},function(){})}catch(a){}yp=null}vp(this)}};
609h.get=function(a,b){var c=this;if("video"==a){if(rea.includes(b))return function(d){for(var e=[],f=0;f<arguments.length;++f)e[f]=arguments[f];return c.sO.apply(c,[a,b].concat(ka(e)))}}
609else if("player"==a){if(rp[b]&&!this.get("player","isLive")())return function(){};if(sea.includes(b))return function(d){for(var e=[],f=0;f<arguments.length;++f)e[f]=arguments[f];return c.sO.apply(c,[a,b].concat(ka(e)))};if(tea.includes(b))return function(d){for(var e=[],f=0;f<arguments.length;++f)e[f]=arguments[f];return c.a5.apply(c,
610[a,b].concat(ka(e)))};if(pp[b]||qp[b])return function(){return c.g[a][b]}}return this.g[a][b]};h.set=function(a,b,c){this.g[a][b]=c;Ep(this,{type:"set",targetName:a,property:b,value:c})};function Fp(a,b,c){yp=c;c.addUpdateListener(a.T);c.addMessageListener("urn:x-cast:com.google.shaka.v2",a.u);vp(a);Ep(a,{type:"init",initState:b,appData:a.m});a.l.resolve()}
611function Gp(a,b){var c=8003;switch(b.code){case "cancel":c=8004;break;case "timeout":c=8005;break;case "receiver_unavailable":c=8006}a.l.reject(new Bb(2,8,c,b))}h.sO=function(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];Ep(this,{type:"call",targetName:a,methodName:b,args:d})};h.a5=function(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];e=new Ue;var f=this.va.toString();this.va++;this.j[f]=e;try{Ep(this,{type:"asyncCall",targetName:a,methodName:b,args:d,id:f})}catch(g){e.reject(g)}return e};
612function Ap(a,b){var c=a.M();a.l=new Ue;a.L=!0;Fp(a,c,b)}function zp(a){var b=yp;b.removeUpdateListener(a.T);b.removeMessageListener("urn:x-cast:com.google.shaka.v2",a.u)}function vp(a){var b=yp?"connected"==yp.status:!1;if(a.h&&!b){a.Z();for(var c in a.g)a.g[c]={};xp(a)}a.h=b;a.Ia=b?yp.receiver.friendlyName:"";a.o.vg()}function xp(a){for(var b in a.j){var c=a.j[b];delete a.j[b];c.reject(new Bb(1,7,7E3))}}
613function Ep(a,b){b=lp(b);var c=yp;try{c.sendMessage("urn:x-cast:com.google.shaka.v2",b,function(){},naa)}catch(d){throw b=new Bb(2,8,8005,d),c=new Kh("error",(new Map).set("detail",b)),a.ea("player",c),a.pq(),b;}}var uea=.02,Bp=!1,yp=null,Dp=null,wp=new Set;function Cp(a){Dp?window.__onGCastApiAvailable=Dp:delete window.__onGCastApiAvailable;Dp=null;if(a)for(var b=m(wp),c=b.next();!c.done;c=b.next())c.value.init();"function"===typeof window.__onGCastApiAvailable&&window.__onGCastApiAvailable(a)};function Hp(a,b,c,d){d=void 0===d?!1:d;Nh.call(this);var e=this;this.j=a;this.h=b;this.m=this.s=this.o=this.L=this.l=null;this.ea=c;this.u=d;this.T=new Map;this.g=new up(c,function(){return Ip(e)},function(){return Jp(e)},function(f,g){return Kp(e,f,g)},function(){return Lp(e)},function(){return Mp(e)},d);wea(this)}pa(Hp,Nh);h=Hp.prototype;
614h.destroy=function(a){a&&this.g.pq();this.m&&(this.m.release(),this.m=null);a=[];this.h&&(a.push(this.h.destroy()),this.h=null);this.g&&(a.push(this.g.destroy()),this.g=null);this.L=this.l=this.j=null;Nh.prototype.release.call(this);return Promise.all(a)};h.mm=function(){return this.l};h.Mn=function(){return this.L};h.qJ=function(){return this.g.s&&Bp};h.Lf=function(){return this.g.Lf()};h.Cz=function(){return this.g.Cz()};
615h.cast=function(){var a=this,b;return r(function(c){return 1==c.g?(b=Mp(a),p(c,a.g.cast(b),2)):a.h?p(c,a.h.MH(),0):c.return()})};h.bG=function(a){this.g.bG(a)};h.nS=function(){vea(this.g)};h.pq=function(){this.g.pq()};
616h.CJ=function(a,b){b=void 0===b?!1:b;var c=this;return r(function(d){if(1==d.g){if(a==c.ea&&b==c.u)return d.return();c.ea=a;c.u=b;c.g.pq();return p(d,c.g.destroy(),2)}c.g=null;c.g=new up(a,function(){return Ip(c)},function(){return Jp(c)},function(e,f){return Kp(c,e,f)},function(){return Lp(c)},function(){return Mp(c)},b);c.g.init();ua(d)})};
617function wea(a){a.g.init();a.m=new fi;for(var b=m(np),c=b.next();!c.done;c=b.next())a.m.J(a.j,c.value,function(f){a.g.Lf()||(f=Lh(f),a.o.dispatchEvent(f))});for(var d in Mh)a.m.J(a.h,Mh[d],function(f){a.g.Lf()||a.s.dispatchEvent(f)});a.l={};b={};for(var e in a.j)b.rs=e,Object.defineProperty(a.l,b.rs,{configurable:!1,enumerable:!0,get:function(f){return function(){return xea(a,f.rs)}}(b),set:function(f){return function(g){var k=f.rs;a.g.Lf()?a.g.set("video",k,g):a.j[k]=g}}(b)}),b={rs:b.rs};a.L={};
618Np(a,function(f){Object.defineProperty(a.L,f,{configurable:!1,enumerable:!0,get:function(){return yea(a,f)}})});zea(a);a.o=new Nh;a.o.ac=a.l;a.s=new Nh;a.s.ac=a.L}function zea(a){var b=new Map;Np(a,function(c,d){b.has(d)?(d=b.get(d),c.length<d.length?a.T.set(c,d):a.T.set(d,c)):b.set(d,c)})}
619function Np(a,b){function c(l){return"constructor"==l||"function"!=typeof d[l]?!1:!e.has(l)}var d=a.h,e=new Set,f;for(f in d)c(f)&&(e.add(f),b(f,d[f]));a=Object.getPrototypeOf(d);for(f=Object.getPrototypeOf({});a&&a!=f;){for(var g=m(Object.getOwnPropertyNames(a)),k=g.next();!k.done;k=g.next())k=k.value,c(k)&&(e.add(k),b(k,d[k]));a=Object.getPrototypeOf(a)}}
620function Mp(a){var b={video:{},player:{},playerAfterLoad:{},manifest:a.h.eD(),startTime:null};a.j.pause();for(var c=m(op),d=c.next();!d.done;d=c.next())d=d.value,b.video[d]=a.j[d];a.j.ended||(b.startTime=a.j.currentTime);c=m(sp);for(d=c.next();!d.done;d=c.next()){var e=d.value;d=e[1];e=a.h[e[0]]();b.player[d]=e}c=m(tp);for(d=c.next();!d.done;d=c.next())e=d.value,d=e[1],e=a.h[e[0]](),b.playerAfterLoad[d]=e;return b}function Ip(a){var b=new Kh("caststatuschanged");a.dispatchEvent(b)}
621function Jp(a){var b=new Kh(a.l.paused?"pause":"play");a.o.dispatchEvent(b)}
622function Lp(a){for(var b=m(sp),c=b.next();!c.done;c=b.next()){var d=c.value;c=d[1];d=a.g.get("player",d[0])();a.h[c](d)}var e=a.g.get("player","getAssetUri")();c=a.g.get("video","ended");b=Promise.resolve();var f=a.j.autoplay;d=null;c||(d=a.g.get("video","currentTime"));e&&(a.j.autoplay=!1,b=a.h.load(e,d));var g={};c=m(op);for(d=c.next();!d.done;d=c.next())d=d.value,g[d]=a.g.get("video",d);b.then(function(){if(a.j){for(var k=m(op),l=k.next();!l.done;l=k.next())l=l.value,a.j[l]=g[l];k=m(tp);for(l=
623k.next();!l.done;l=k.next()){var n=l.value;l=n[1];n=a.g.get("player",n[0])();a.h[l](n)}a.j.autoplay=f;e&&a.j.play()}},function(k){k=(new Map).set("detail",k);k=new Kh("error",k);a.h.dispatchEvent(k)})}
624function xea(a,b){if("addEventListener"==b)return function(d,e,f){return a.o.addEventListener(d,e,f)};if("removeEventListener"==b)return function(d,e,f){return a.o.removeEventListener(d,e,f)};if(a.g.Lf()&&0==Object.keys(a.g.g.video).length){var c=a.j[b];if("function"!=typeof c)return c}return a.g.Lf()?a.g.get("video",b):(b=a.j[b],"function"==typeof b&&(b=b.bind(a.j)),b)}
625function yea(a,b){a.T.has(b)&&(b=a.T.get(b));if("addEventListener"==b)return function(c,d,e){return a.s.addEventListener(c,d,e)};if("removeEventListener"==b)return function(c,d,e){return a.s.removeEventListener(c,d,e)};if("getMediaElement"==b)return function(){return a.l};if("getSharedConfiguration"==b)return a.g.get("player","getConfiguration");if("getNetworkingEngine"==b)return function(){return a.h.Tt()};if("getDrmEngine"==b)return function(){return a.h.l};if("getAdManager"==b)return function(){return a.h.Bx()};
626if("setVideoContainer"==b)return function(c){return a.h.mG(c)};if(a.g.Lf()){if("getManifest"==b||"drmInfo"==b)return function(){lb(b+"() does not work while casting!");return null};if("attach"==b||"detach"==b)return function(){lb(b+"() does not work while casting!");return Promise.resolve()}}return a.g.Lf()&&0==Object.keys(a.g.g.video).length&&(pp[b]||qp[b])||!a.g.Lf()?a.h[b].bind(a.h):a.g.get("player",b)}
627function Kp(a,b,c){a.g.Lf()&&("video"==b?a.o.dispatchEvent(c):"player"==b&&a.s.dispatchEvent(c))}
627fb("shaka.cast.CastProxy",Hp);Hp.prototype.changeReceiverId=Hp.prototype.CJ;Hp.prototype.forceDisconnect=Hp.prototype.pq;Hp.prototype.suggestDisconnect=Hp.prototype.nS;Hp.prototype.setAppData=Hp.prototype.bG;Hp.prototype.cast=Hp.prototype.cast;Hp.prototype.receiverName=Hp.prototype.Cz;Hp.prototype.isCasting=Hp.prototype.Lf;Hp.prototype.canCast=Hp.prototype.qJ;Hp.prototype.getPlayer=Hp.prototype.Mn;
628Hp.prototype.getVideo=Hp.prototype.mm;Hp.prototype.destroy=Hp.prototype.destroy;function Op(a,b,c,d){Nh.call(this);var e=this;this.g=a;this.h=b;this.o=new fi;this.Ia={video:a,player:b};this.ea=c||function(){};this.Z=d||function(f){return f};this.j=null;this.va=!1;this.m=!0;this.s=0;this.u=!1;this.T=!0;this.L=this.l=null;this.M=new Xe(function(){Pp(e)});Aea(this)}pa(Op,Nh);h=Op.prototype;h.isConnected=function(){return this.va};h.J_=function(){return this.m};h.b6=function(a){this.j=a};h.pV=function(){this.j=null};
629h.c6=function(a){this.j||(this.j={metadataType:cast.receiver.media.MetadataType.GENERIC});this.j.title=a};h.a6=function(a){this.j||(this.j={metadataType:cast.receiver.media.MetadataType.GENERIC});this.j.images=[{url:a}]};h.Z5=function(a){this.j||(this.j={});this.j.artist=a;this.j.metadataType=cast.receiver.media.MetadataType.MUSIC_TRACK};
630h.destroy=function(){var a=this,b,c;return r(function(d){if(1==d.g)return a.o&&(a.o.release(),a.o=null),b=[],a.h&&(b.push(a.h.destroy()),a.h=null),a.M&&(a.M.stop(),a.M=null),a.g=null,a.Ia=null,a.ea=null,a.va=!1,a.m=!0,a.l=null,a.L=null,Nh.prototype.release.call(a),p(d,Promise.all(b),2);c=cast.receiver.CastReceiverManager.getInstance();c.stop();ua(d)})};
631function Aea(a){var b=cast.receiver.CastReceiverManager.getInstance();b.onSenderConnected=function(){return Qp(a)};b.onSenderDisconnected=function(){return Qp(a)};b.onSystemVolumeChanged=function(){var e=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();e&&Rp(a,{type:"update",update:{video:{volume:e.level,muted:e.muted}}},a.l);Rp(a,{type:"event",targetName:"video",event:{type:"volumechange"}},a.l)};a.L=b.getCastMessageBus("urn:x-cast:com.google.cast.media");a.L.onMessage=function(e){return Bea(a,
632e)};a.l=b.getCastMessageBus("urn:x-cast:com.google.shaka.v2");a.l.onMessage=function(e){return Cea(a,e)};b.start();b=m(np);for(var c=b.next();!c.done;c=b.next())a.o.J(a.g,c.value,function(e){return Sp(a,"video",e)});for(var d in Mh)a.o.J(a.h,Mh[d],function(e){return Sp(a,"player",e)});cast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs="avc1.640028"; width=3840; height=2160')?a.h.hG(3840,2160):a.h.hG(1920,1080);a.o.J(a.g,"loadeddata",function(){a.u=!0});a.o.J(a.h,"loading",function(){a.m=
633!1;Tp(a)});a.o.J(a.g,"playing",function(){a.m=!1;Tp(a)});a.o.J(a.g,"pause",function(){Tp(a)});a.o.J(a.h,"unloading",function(){a.m=!0;Tp(a)});a.o.J(a.g,"ended",function(){(new Xe(function(){a.g&&a.g.ended&&(a.m=!0,Tp(a))})).Hc(Dea)})}function Qp(a){a.s=0;a.T=!0;a.va=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length;Tp(a)}
634function Tp(a){var b;r(function(c){if(1==c.g)return p(c,Promise.resolve(),2);if(!a.h)return c.return();b=new Kh("caststatuschanged");a.dispatchEvent(b);Up(a)||Vp(a);ua(c)})}
635function Eea(a,b,c){var d,e,f,g,k,l,n,q,t,u;r(function(v){switch(v.g){case 1:for(d in b.player)e=b.player[d],a.h[d](e);a.ea(c);f=a.g.autoplay;return b.manifest?(a.g.autoplay=!1,va(v,5),p(v,a.h.load(b.manifest,b.startTime),7)):p(v,Promise.resolve(),3);case 7:xa(v,3);break;case 5:return g=ya(v),k=(new Map).set("detail",g),l=new Kh("error",k),a.h&&a.h.dispatchEvent(l),v.return();case 3:if(!a.h)return v.return();for(n in b.video)q=b.video[n],a.g[n]=q;for(t in b.playerAfterLoad)u=b.playerAfterLoad[t],
636a.h[t](u);a.g.autoplay=f;b.manifest&&(a.g.play(),Vp(a));ua(v)}})}function Sp(a,b,c){a.h&&(Pp(a),Rp(a,{type:"event",targetName:b,event:c},a.l))}
637function Pp(a){a.M.Hc(Fea);for(var b={video:{},player:{}},c=m(qea),d=c.next();!d.done;d=c.next())d=d.value,b.video[d]=a.g[d];if(a.h.nd())for(var e in rp)0==a.s%rp[e]&&(b.player[e]=a.h[e]());for(var f in pp)0==a.s%pp[f]&&(b.player[f]=a.h[f]());if(c=cast.receiver.CastReceiverManager.getInstance().getSystemVolume())b.video.volume=c.level,b.video.muted=c.muted;Rp(a,{type:"update",update:b},a.l);for(var g in qp)0==a.s%qp[g]&&(b={player:{}},b.player[g]=a.h[g](),Rp(a,{type:"update",update:b},a.l));a.u&&
638(a.s+=1);Up(a)}function Up(a){return a.T&&(a.g.duration||a.h.nd())?(Wp(a),a.T=!1,!0):!1}function Wp(a,b){var c={contentId:a.h.eD(),streamType:a.h.nd()?"LIVE":"BUFFERED",contentType:""};a.h.nd()||(c.duration=a.g.duration);a.j&&(c.metadata=a.j);Vp(a,void 0===b?0:b,c)}
639function Cea(a,b){var c=mp(b.data);switch(c.type){case "init":a.s=0;a.u=!1;a.T=!0;Eea(a,c.initState,c.appData);Pp(a);break;case "appData":a.ea(c.appData);break;case "set":var d=c.targetName,e=c.property;c=c.value;if("video"==d)if(b=cast.receiver.CastReceiverManager.getInstance(),"volume"==e){b.setSystemVolumeLevel(c);break}else if("muted"==e){b.setSystemVolumeMuted(c);break}a.Ia[d][e]=c;break;case "call":d=a.Ia[c.targetName];d[c.methodName].apply(d,c.args);break;case "asyncCall":d=c.targetName;e=
640c.methodName;"player"==d&&"load"==e&&(a.s=0,a.u=!1);var f=c.id,g=b.senderId;b=a.Ia[d];c=b[e].apply(b,c.args);"player"==d&&"load"==e&&(c=c.then(function(){a.T=!0}));c.then(function(){return Xp(a,g,f,null)},function(k){return Xp(a,g,f,k)})}}
641function Bea(a,b){var c=mp(b.data);switch(c.type){case "PLAY":a.g.play();Vp(a);break;case "PAUSE":a.g.pause();Vp(a);break;case "SEEK":b=c.currentTime;var d=c.resumeState;null!=b&&(a.g.currentTime=Number(b));d&&"PLAYBACK_START"==d?(a.g.play(),Vp(a)):d&&"PLAYBACK_PAUSE"==d&&(a.g.pause(),Vp(a));break;case "STOP":a.h.MH().then(function(){a.h&&Vp(a)});break;case "GET_STATUS":Wp(a,Number(c.requestId));break;case "VOLUME":d=c.volume;b=d.level;d=d.muted;var e=a.g.volume,f=a.g.muted;null!=b&&(a.g.volume=Number(b));
642null!=d&&(a.g.muted=d);e==a.g.volume&&f==a.g.muted||Vp(a);break;case "LOAD":a.s=0;a.u=!1;a.T=!1;b=c.media;d=c.currentTime;e=a.Z(b.contentId);f=c.autoplay||!0;a.ea(b.customData);f&&(a.g.autoplay=!0);a.h.load(e,d).then(function(){a.h&&Wp(a)}).catch(function(g){var k="LOAD_FAILED";
6427==g.category&&7E3==g.code&&(k="LOAD_CANCELLED");Rp(a,{requestId:Number(c.requestId),type:k},a.L)});break;default:Rp(a,{requestId:Number(c.requestId),type:"INVALID_REQUEST",reason:"INVALID_COMMAND"},a.L)}}
643function Xp(a,b,c,d){a.h&&Rp(a,{type:"asyncComplete",id:c,error:d},a.l,b)}function Rp(a,b,c,d){a.va&&(a=lp(b),d?c.getCastChannel(d).send(a):c.broadcast(a))}function Vp(a,b,c){b=void 0===b?0:b;c=void 0===c?null:c;var d=a.g.playbackRate;var e=a.m?Gea:a.h.uu()?Hea:a.g.paused?Iea:Jea;d={mediaSessionId:0,playbackRate:d,playerState:e,currentTime:a.g.currentTime,supportedMediaCommands:63,volume:{level:a.g.volume,muted:a.g.muted}};c&&(d.media=c);Rp(a,{requestId:b,type:"MEDIA_STATUS",status:[d]},a.L)}
644fb("shaka.cast.CastReceiver",Op);Op.prototype.destroy=Op.prototype.destroy;Op.prototype.setContentArtist=Op.prototype.Z5;Op.prototype.setContentImage=Op.prototype.a6;Op.prototype.setContentTitle=Op.prototype.c6;Op.prototype.clearContentMetadata=Op.prototype.pV;Op.prototype.setContentMetadata=Op.prototype.b6;Op.prototype.isIdle=Op.prototype.J_;Op.prototype.isConnected=Op.prototype.isConnected;var Fea=.5,Dea=5,Gea="IDLE",Jea="PLAYING",Hea="BUFFERING",Iea="PAUSED";function Yp(a,b,c){var d=Kea(a),e=null;a=[];var f=[],g=new Set(d.map(function(k){return k.keyId}));g.delete(null);if(1<g.size)throw new Bb(2,4,4010);b||(f=d.filter(function(k){return"urn:mpeg:dash:mp4protection:2011"==k.UF?(e=k.init||e,!1):!0}),f.length&&(a=Lea(e,f,c,g),0==a.length&&(a=[Pe("",e)])));if(d.length&&(b||!f.length))for(a=[],b=m(Object.values(c)),c=b.next();!c.done;c=b.next())c=c.value,"org.w3.clearkey"!=c&&a.push(Pe(c,e));if(g=Array.from(g)[0]||null)for(b=m(a),c=b.next();!c.done;c=b.next())for(c=
645m(c.value.initData),d=c.next();!d.done;d=c.next())d.value.keyId=g;return{eK:g,lha:e,drmInfos:a,gL:!0}}function Mea(a,b,c,d){var e=Yp(a,c,d);if(b.gL){a=1==b.drmInfos.length&&!b.drmInfos[0].keySystem;c=0==e.drmInfos.length;if(0==b.drmInfos.length||a&&!c)b.drmInfos=e.drmInfos;b.gL=!1}else if(0<e.drmInfos.length&&(b.drmInfos=b.drmInfos.filter(function(f){return e.drmInfos.some(function(g){return g.keySystem==f.keySystem})}),0==b.drmInfos.length))throw new Bb(2,4,4008);return e.eK||b.eK}
646function Nea(a){var b=0,c=Ab(a),d=c.getUint32(b,!0);if(d!=a.byteLength)return[];a:{a=b+6;for(b=[];a<c.byteLength-1;){d=c.getUint16(a,!0);a+=2;var e=c.getUint16(a,!0);a+=2;if(0!=(e&1)||e+a>c.byteLength){c=[];break a}var f=wb(c,a,e);b.push({type:d,value:f});a+=e}c=b}return c}
647function Oea(a){a=m(a.getElementsByTagName("DATA"));for(var b=a.next();!b.done;b=a.next()){b=m(b.value.childNodes);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c instanceof Element&&"LA_URL"==c.tagName)return c.textContent}return""}function Zp(a){a=Gi(a.node,"urn:microsoft:playready","pro");if(!a)return"";a=yf(a.textContent);a=Nea(a).filter(function(b){return b.type===Pea})[0];if(!a)return"";a=qf(a.value,!0);return(a=Zi(a,"WRMHEADER"))?Oea(a):""}
648function Lea(a,b,c,d){var e=[];b=m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var g=c[f.UF];if(g){var k;(k=Gi(f.node,"urn:microsoft:playready","pro"))?(k=yf(k.textContent),k=[{initData:Di(k,new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),new Set,0),initDataType:"cenc",keyId:f.keyId}]):k=null;var l=null;"urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e"===f.UF&&(l=0==d.size?null:[{initData:Di(new Uint8Array([]),new Uint8Array([16,119,239,236,192,178,77,2,172,227,60,
64930,82,226,251,75]),d,1),initDataType:"cenc",keyId:f.keyId}]);k=Pe(g,f.init||a||k||l);if(g=Qea.get(g))k.licenseServerUri=g(f);e.push(k)}}return e}function Kea(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())(c=Rea(c.value))&&b.push(c);return b}
650function Rea(a){var b=a.getAttribute("schemeIdUri"),c=Ii(a,"urn:mpeg:cenc:2013","default_KID"),d=Hi(a,"urn:mpeg:cenc:2013","pssh").map(Qi);if(!b)return null;b=b.toLowerCase();if(c&&(c=c.replace(/-/g,"").toLowerCase(),c.includes(" ")))throw new Bb(2,4,4009);var e=[];try{e=d.map(function(f){return{initDataType:"cenc",initData:yf(f),keyId:null}})}catch(f){throw new Bb(2,4,4007);}return{node:a,UF:b,keyId:c,init:0<e.length?e:null}}
651var Pea=1,Qea=(new Map).set("com.widevine.alpha",function(a){return(a=Gi(a.node,"urn:microsoft","laurl"))?a.getAttribute("licenseUrl")||"":""}).set("com.microsoft.playready",Zp).set("com.microsoft.playready.recommendation",Zp).set("com.microsoft.playready.softw
651are",Zp).set("com.microsoft.playready.hardware",Zp).set("org.w3.clearkey",function(a){return(a=Gi(a.node,"http://dashif.org/guidelines/clearKey","Laurl"))&&"EME-1.0"===a.getAttribute("Lic_type")&&a.textContent?a.textContent:""});function $p(a,b,c,d,e){var f={RepresentationID:b,Number:c,Bandwidth:d,Time:e};return a.replace(/\$(RepresentationID|Number|Bandwidth|Time)?(?:%0([0-9]+)([diouxX]))?\$/g,function(g,k,l,n){if("$$"==g)return"$";var q=f[k];if(null==q)return g;"RepresentationID"==k&&l&&(l=void 0);"Time"==k&&(q=Math.round(q));switch(n){case void 0:case "d":case "i":case "u":g=q.toString();break;case "o":g=q.toString(8);break;case "x":g=q.toString(16);break;case "X":g=q.toString(16).toUpperCase();break;default:g=q.toString()}l=
652window.parseInt(l,10)||1;return Array(Math.max(0,l-g.length)+1).join("0")+g})}
653function aq(a,b){var c=bq(a,b,"timescale"),d=1;c&&(d=Wi(c)||1);var e=bq(a,b,"duration");c=Wi(e||"");"image"==a.ec.contentType&&(c=Yi(e||""));c&&(c/=d);var f=bq(a,b,"startNumber");e=Number(bq(a,b,"presentationTimeOffset"))||0;var g=Xi(f||"");if(null==f||null==g)g=1;f=cq(a,b,"SegmentTimeline");b=null;if(f){b=d;a=a.Nd.duration||Infinity;f=Fi(f,"S");for(var k=[],l=-e,n=0;n<f.length;++n){var q=f[n],t=f[n+1],u=Si(q,"t",Xi),v=Si(q,"d",Xi);q=Si(q,"r",Rba);null!=u&&(u-=e);if(!v)break;u=null!=u?u:l;q=q||0;
654if(0>q)if(t){t=Si(t,"t",Xi);if(null==t)break;else if(u>=t)break;q=Math.ceil((t-u)/v)-1}else{if(Infinity==a)break;else if(u/b>=a)break;q=Math.ceil((a*b-u)/v)-1}0<k.length&&u!=l&&(k[k.length-1].end=u/b);for(t=0;t<=q;++t)l=u+v,k.push({start:u/b,end:l/b,B9:u}),u=l}b=k}return{timescale:d,ug:c,Tr:g,il:e/d||0,NH:e,timeline:b}}function bq(a,b,c){return[b(a.ec),b(a.cg),b(a.Of)].filter(Ne).map(function(d){return d.getAttribute(c)}).reduce(function(d,e){return d||e})}
655function cq(a,b,c){return[b(a.ec),b(a.cg),b(a.Of)].filter(Ne).map(function(d){return Ei(d,c)}).reduce(function(d,e){return d||e})}
656function Sea(a,b,c,d,e,f){for(var g=Ii(a,"http://www.w3.org/1999/xlink","href"),k=Ii(a,"http://www.w3.org/1999/xlink","actuate")||"onRequest",l=m(Array.from(a.attributes)),n=l.next();!n.done;n=l.next())n=n.value,"http://www.w3.org/1999/xlink"==n.namespaceURI&&a.removeAttributeNS(n.namespaceURI,n.localName);if(5<=f)return Fh(new Bb(2,4,4028));if("onLoad"!=k)return Fh(new Bb(2,4,4027));var q=Oe([d],[g]);return e.request(0,Zh(q,b)).pf(function(t){t=$i(t.data,a.tagName);if(!t)return Fh(new Bb(2,4,4001,
657g));for(;a.childNodes.length;)a.removeChild(a.childNodes[0]);for(;t.childNodes.length;){var u=t.childNodes[0];t.removeChild(u);a.appendChild(u)}t=m(Array.from(t.attributes));for(u=t.next();!u.done;u=t.next())a.setAttributeNode(u.value.cloneNode(!1));return dq(a,b,c,q[0],e,f+1)})}
658function dq(a,b,c,d,e,f){f=void 0===f?0:f;if(Ii(a,"http://www.w3.org/1999/xlink","href")){var g=Sea(a,b,c,d,e,f);c&&(g=g.pf(void 0,function(){return dq(a,b,c,d,e,f)}));return g}g=[];for(var k=m(Array.from(a.childNodes)),l=k.next();!l.done;l=k.next())l=l.value,l instanceof Element&&("urn:mpeg:dash:resolve-to-zero:2013"==Ii(l,"http://www.w3.org/1999/xlink","href")?a.removeChild(l):"SegmentTimeline"!=l.tagName&&g.pu
658sh(dq(l,b,c,d,e,f)));return Jh(g).pf(function(){return a})};function Tea(a,b,c,d,e,f,g){var k,l=(new ti).md("sidx",function(n){k=Uea(b,d,e,f,g,c,n)});a&&l.parse(a);if(k)return k;throw new Bb(2,3,3004);}
659function Uea(a,b,c,d,e,f,g){var k=[];g.reader.skip(4);var l=g.reader.eb();if(0==l)throw new Bb(2,3,3005);if(0==g.version){var n=g.reader.eb();var q=g.reader.eb()}else n=g.reader.Id(),q=g.reader.Id();g.reader.skip(2);var t=g.reader.Zu();a=a+g.size+q;for(q=0;q<t;q++){var u=g.reader.eb(),v=(u&2147483648)>>>31;u&=2147483647;var y=g.reader.eb();g.reader.skip(4);if(1==v)throw new Bb(2,3,3006);k.push(new Ok(n/l+c,(n+y)/l+c,function(){return f},a,a+u-1,b,c,d,e));n+=y;a+=u}g.parser.stop();return k};function eq(a){this.h=Ab(a);this.g=new ni(this.h,0)}eq.prototype.jg=function(){return this.g.jg()};
660function fq(a){var b=gq(a);if(7<b.length)throw new Bb(2,3,3002);var c=0;b=m(b);for(var d=b.next();!d.done;d=b.next())c=256*c+d.value;b=gq(a);a:{d=m(Vea);for(var e=d.next();!e.done;e=d.next())if(ub(b,new Uint8Array(e.value))){d=!0;break a}d=!1}if(d)b=a.h.byteLength-a.g.Te();else{if(8==b.length&&b[1]&224)throw new Bb(2,3,3001);for(e=d=0;e<b.length;e++){var f=b[e];d=0==e?f&(1<<8-b.length)-1:256*d+f}b=d}b=a.g.Te()+b<=a.h.byteLength?b:a.h.byteLength-a.g.Te();d=Ab(a.h,a.g.Te(),b);a.g.skip(b);return new Wea(c,
661d)}function gq(a){var b=a.g.Te(),c=a.g.Ri();if(0==c)throw new Bb(2,3,3002);c=8-Math.floor(Math.log2(c));a.g.skip(c-1);return wb(a.h,b,c)}var Vea=[[255],[127,255],[63,255,255],[31,255,255,255],[15,255,255,255,255],[7,255,255,255,255,255],[3,255,255,255,255,255,255],[1,255,255,255,255,255,255,255]];function Wea(a,b){this.id=a;this.g=b}
662function hq(a){if(8<a.g.byteLength)throw new Bb(2,3,3002);if(8==a.g.byteLength&&a.g.getUint8(0)&224)throw new Bb(2,3,3001);for(var b=0,c=0;c<a.g.byteLength;c++){var d=a.g.getUint8(c);b=256*b+d}return b};function Xea(a,b,c,d,e,f,g,k,l){function n(){return e}var q=[];a=new eq(a.g);for(var t=null,u=null;a.jg();){var v=fq(a);if(187==v.id){var y=Yea(v);y&&(v=c*y.C9,y=b+y.Z4,null!=t&&q.push(new Ok(t+g,v+g,n,u,y-1,f,g,k,l)),t=v,u=y)}}null!=t&&q.push(new Ok(t+g,d+g,n,u,null,f,g,k,l));return q}
663function Yea(a){var b=new eq(a.g);a=fq(b);if(179!=a.id)throw new Bb(2,3,3013);a=hq(a);b=fq(b);if(183!=b.id)throw new Bb(2,3,3012);b=new eq(b.g);for(var c=0;b.jg();){var d=fq(b);if(241==d.id){c=hq(d);break}}return{C9:a,Z4:c}};function iq(a,b){b=cq(a,b,"Initialization");if(!b)return null;var c=a.ec.pi,d=b.getAttribute("sourceURL");d&&(c=Oe(a.ec.pi,[d]));d=0;var e=null;if(b=Si(b,"range",Vi))d=b.start,e=b.end;return new Nk(function(){return c},d,e,jq(a))}
664function Zea(a,b){var c=Number(bq(a,kq,"presentationTimeOffset"))||0,d=bq(a,kq,"timescale"),e=1;d&&(e=Wi(d)||1);var f=c/e||0,g=iq(a,kq);$ea(a,g);var k=Ph(a);return{rq:function(){var l=cq(k,kq,"RepresentationIndex"),n=k.ec.pi;l&&(l=l.getAttribute("sourceURL"))&&(n=Oe(k.ec.pi,[l]));l=lq(k);return mq(k,b,g,n,l.start,l.end,f)}}}
665function mq(a,b,c,d,e,f,g){var k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R;return r(function(aa){if(1==aa.g)return k=a.presentationTimeline,l=!a.bm||!a.Nd.iE,n=a.Nd.start,q=a.Nd.duration,t=a.ec.mimeType.split("/")[1],u=b,v=null,y=[u(d,e,f),"webm"==t?u(c.Fi(),c.Zi,c.zg):null],u=null,p(aa,Promise.all(y),2);G=aa.h;K=G[0];J=G[1]||null;O=null;P=n-g;Q=n;R=q?n+q:Infinity;if("mp4"==t)var fa=Tea(K,e,d,c,P,Q,R);else{fa=new eq(J);if(440786851!=fq(fa).id)throw new Bb(2,3,3008);var za=fq(fa);if(408125543!=za.id)throw new Bb(2,
6663,3009);fa=za.g.byteOffset;za=new eq(za.g);for(var Aa=null;za.jg();){var Va=fq(za);if(357149030==Va.id){Aa=Va;break}}if(!Aa)throw new Bb(2,3,3010);Aa=new eq(Aa.g);Va=1E6;for(za=null;Aa.jg();){var Ja=fq(Aa);if(2807729==Ja.id)Va=hq(Ja);else if(17545==Ja.id)if(4==Ja.g.byteLength)za=Ja.g.getFloat32(0);else if(8==Ja.g.byteLength)za=Ja.g.getFloat64(0);else throw new Bb(2,3,3003);}if(null==za)throw new Bb(2,3,3011);Aa=Va/1E9;za*=Aa;Va=fq(new eq(K));if(475249515!=Va.id)throw new Bb(2,3,3007);fa=Xea(Va,fa,
667Aa,za,d,c,P,Q,R)}O=fa;k.dr(O);v=new Zl(O);l&&v.fm(Q,R,!0);return aa.return(v)})}function kq(a){return a.jv}function lq(a){var b=cq(a,kq,"RepresentationIndex");a=bq(a,kq,"indexRange");a=Vi(a||"");b&&(a=Si(b,"range",Vi,a));return a}function $ea(a,b){nq(a,b);if(!lq(a))throw new Bb(2,4,4002);}function nq(a,b){var c=a.ec.mimeType.split("/")[1];if(a.ec.contentType!=Se&&"mp4"!=c&&"webm"!=c)throw new Bb(2,4,4006);if("webm"==c&&!b)throw new Bb(2,4,4005);}
668function jq(a){var b=a.ec;return{bandwidth:a.bandwidth,audioSamplingRate:b.audioSamplingRate,codecs:b.codecs,contentType:b.contentType,frameRate:b.frameRate||null,height:b.height||null,mimeType:b.mimeType,channelsCount:b.bz,pixelAspectRatio:b.pixelAspectRatio||null,width:b.
668width||null}};function afa(a,b){var c=iq(a,oq),d=bfa(a);if(!d.ug&&!d.timeline&&1<d.Yq.length)throw new Bb(2,4,4002);if(!d.ug&&!a.Nd.duration&&!d.timeline&&1==d.Yq.length)throw new Bb(2,4,4002);if(d.timeline&&0==d.timeline.length)throw new Bb(2,4,4002);var e=null,f=null;a.Of.id&&a.ec.id&&(f=b[a.Of.id+","+a.ec.id])&&(e=f.segmentIndex);var g=cfa(a.Nd.start,a.Nd.duration,a.ec.pi,d,c);b=!e;e?e.Zq(g,a.presentationTimeline.Ck()):e=new Zl(g);a.presentationTimeline.dr(g);a.bm&&a.Nd.iE||e.fm(a.Nd.start,a.Nd.duration?a.Nd.start+
669a.Nd.duration:Infinity,b);f&&(f.segmentIndex=e);return{rq:function(){e&&0!=e.g.length||e.Du(g);return Promise.resolve(e)}}}function oq(a){return a.Dm}function bfa(a){var b=dfa(a);a=aq(a,oq);var c=a.Tr;0==c&&(c=1);var d=0;a.ug?d=a.ug*(c-1):a.timeline&&0<a.timeline.length&&(d=a.timeline[0].start);return{ug:a.ug,startTime:d,Tr:c,il:a.il,timeline:a.timeline,Yq:b}}
670function cfa(a,b,c,d,e){var f=d.Yq.length;d.timeline&&d.timeline.length!=d.Yq.length&&(f=Math.min(d.timeline.length,d.Yq.length));for(var g=a-d.il,k=b?a+b:Infinity,l=[],n=d.startTime,q={},t=0;t<f;q={nB:q.nB},t++){var u=d.Yq[t];q.nB=Oe(c,[u.O0]);var v=void 0;v=null!=d.ug?n+d.ug:d.timeline?d.timeline[t].end:n+b;l.push(new Ok(a+n,a+v,function(y){return function(){return y.nB}}(q),u.start,u.end,e,g,a,k));n=v}return l}
671function dfa(a){return[a.ec.Dm,a.cg.Dm,a.Of.Dm].filter(Ne).map(function(b){return Fi(b,"SegmentURL")}).reduce(function(b,c){return 0<b.length?b:c}).map(function(b){b.getAttribute("indexRange")&&!a.qM&&(a.qM=!0);var c=b.getAttribute("media");b=Si(b,"mediaRange",Vi,{start:0,end:null});return{O0:c,start:b.start,end:b.end}})};function efa(a,b,c,d,e,f){var g=ffa(a),k=gfa(a);hfa(k);var l=Ph(a);if(k.qu)return nq(a,g),{rq:function(){var v=$p(k.qu,l.ec.id,null,l.bandwidth||null,null);v=Oe(l.ec.pi,[v]);return mq(l,b,g,v,0,null,k.il)}};if(k.ug)return d||"image"===a.cg.contentType||(a.presentationTimeline.SE(k.ug),a.presentationTimeline.TE(a.Nd.start)),{rq:function(){return ifa(l,k,e,g,f)}};var n=null;d=d=null;a.Of.id&&a.ec.id&&(d=a.Of.id+","+a.ec.id,d=c[d])&&(n=d.segmentIndex);var q=jfa(l,k,g);c=a.Nd.start;var t=a.Nd.duration?
672a.Nd.start+a.Nd.duration:Infinity,u=!(a.bm&&a.Nd.iE);n?(u&&(new Zl(q)).fm(c,t,!0),n.Zq(q,a.presentationTimeline.Ck())):n=new Zl(q);a.presentationTimeline.dr(q);u&&n.fm(c,t);d&&a.bm&&(d.segmentIndex=n);return{rq:function(){n&&0!=n.g.length||n.Du(q);return Promise.resolve(n)}}}function pq(a){return a.kv}function gfa(a){var b=aq(a,pq),c=bq(a,pq,"media");a=bq(a,pq,"index");return{ug:b.ug,timescale:b.timescale,Tr:b.Tr,il:b.il,NH:b.NH,timeline:b.timeline,IE:c,qu:a}}
673function hfa(a){var b=a.qu?1:0;b+=a.timeline?1:0;b+=a.ug?1:0;if(0==b)throw new Bb(2,4,4002);1!=b&&(a.qu&&(a.timeline=null),a.ug=null);if(!a.qu&&!a.IE)throw new Bb(2,4,4002);}
674function ifa(a,b,c,d,e){function f(Aa){var Va=(Aa-v)*u,Ja=Va+b.il,ab=Va+n;Va=ab+u;var Xa=Math.min(Va,k());ab=new Ok(ab,Xa,function(){var Na=$p(G,J,Aa,K,Ja*y);return Oe(O,[Na])},0,null,d,P,n,k());ab.l=Va;return ab}function g(){var Aa=[Math.max(l.Ck(),n),Math.min(l.Qn(),k())].map(function(Va){return Va-n});return[Math.ceil(Aa[0]/u),Math.ceil(Aa[1]/u)-1].map(function(Va){return Va+v})}function k(){var Aa=null!=q&&e[q]||t;return Aa?n+Aa:Infinity}var l=a.presentationTimeline,n=a.Nd.start,q=a.Of.id,t=a.Nd.duration,
675u=b.ug,v=b.Tr,y=b.timescale,G=b.IE,K=a.bandwidth||null,J=a.ec.id,O=a.ec.pi,P=n-b.il,Q=g();a=a.bm?Math.max(Q[0],Q[1]-c+1):Q[0];Q=Q[1];c=[];for(var R=a;R<=Q;++R){var aa=f(R);c.push(aa)}var fa=new Zl(c);c=l.Qn()<k();R=l.nd();if(c||R){var za=Math.max(a,Q+1);fa.RA(u,function(){var Aa=l.Ck();fa.Cn(Aa);var Va=m(g());Va.next();Va=Va.next().value;for(var Ja=[];za<=Va;){var ab=f(za);Ja.push(ab);za++}return Aa>k()&&!Ja.length?null:Ja})}return Promise.resolve(fa)}
676function jfa(a,b,c){var d=a.Nd.start,e=a.Nd.duration,f=d-b.il;e=e?d+e:Infinity;for(var g=[],k={},l=0;l<b.timeline.length;k={mB:k.mB,qB:k.qB,tB:k.tB,hB:k.hB,vB:k.vB,iB:k.iB},l++){var n=b.timeline[l],q=n.start,t=n.B9;n=n.end;k.tB=l+b.Tr;k.vB=t+b.NH;k.qB=a.ec.id;k.hB=a.bandwidth||null;k.mB=b.IE;k.iB=a.ec.pi;g.push(new Ok(d+q,d+n,function(u){return function(){var v=$p(u.mB,u.qB,u.tB,u.hB||null,u.vB);return Oe(u.iB,[v]).map(function(y){return y.toString()})}}(k),0,null,c,f,d,e))}return g}
677function ffa(a){var b=bq(a,pq,"initialization");if(!b)return null;var c=a.ec.id,d=a.bandwidth||null,e=a.ec.pi;return new Nk(function(){var f=$p(b,c,null,d,null);return Oe(e,[f])},0,null,jq(a))};function qq(){this.l=[];this.g=[];this.h=[];this.o=[];this.j=[];this.s=new Set}qq.prototype.release=function(){for(var a=m(this.g.concat(this.h,this.o,this.j)),b=a.next();!b.done;b=a.next())b=b.value,b.segmentIndex&&b.segmentIndex.release();this.g=[];this.h=[];this.o=[];this.j=[];this.l=[]};
678function kfa(a,b,c){var d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa,Na,Xb,Lb;return r(function(Mb){switch(Mb.g){case 1:d=Te;lfa(b);mfa(b);nfa(b);ofa(b);if(!c&&1==b.length){e=b[0];a.g=e.Dw;a.h=e.$A;a.o=e.textStreams;a.j=e.imageStreams;Mb.ua(2);break}f=-1;for(g=0;g<b.length;g++)k=b[g],a.s.has(k.id)||(a.s.add(k.id),-1==f&&(f=g));if(-1==f)return Mb.return();l=b.map(function(xb){return xb.Dw});n=b.map(function(xb){return xb.$A});q=b.map(function(xb){return xb.textStreams});t=b.map(function(xb){return xb.imageStreams});
679u=m(q);for(v=u.next();!v.done;v=u.next())y=v.value,y.push(rq(d.Ne));G=m(t);for(K=G.next();!K.done;K=G.next())J=K.value,J.push(rq(d.zs));return p(Mb,sq(a.g,l,f,tq,uq),3);case 3:return p(Mb,sq(a.h,n,f,tq,uq),4);case 4:return p(Mb,sq(a.o,q,f,tq,uq),5);case 5:return p(Mb,sq(a.j,t,f,tq,uq),2);case 2:O=0;P=[];if(a.h.length&&a.g.length)for(Aa=m(a.g),Va=Aa.next();!Va.done;Va=Aa.next())for(Ja=Va.value,ab=m(a.h),Xa=ab.next();!Xa.done;Xa=ab.next())Na=Xa.value,Xb=rj(Ja.drmInfos,Na.drmInfos),Ja.drmInfos.length&&
680Na.drmInfos.length&&!Xb.length||(Lb=O++,P.push({id:Lb,language:Ja.language,primary:Ja.primary,audio:Ja,video:Na,bandwidth:(Ja.bandwidth||0)+(Na.bandwidth||0),drmInfos:Xb,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]}));else for(Q=a.h.concat(a.g),R=m(Q),aa=R.next();!aa.done;aa=R.next())fa=aa.value,za=O++,P.push({id:za,language:fa.language,primary:fa.primary,audio:fa.type==d.pw?fa:null,video:fa.type==d.ji?fa:null,bandwidth:fa.bandwidth||0,drmInfos:fa.drmInfos,allowedByApplication:!0,
681allowedByKeySystem:!0,decodingInfos:[]});a.l=P;ua(Mb)}})}
682function lfa(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;for(var c=[],d=m(b.Dw),e=d.next();!e.done;e=d.next()){e=e.value;for(var f=!1,g=m(c),k=g.next();!k.done;
682k=g.next())k=k.value,e.id!=k.id&&e.channelsCount==k.channelsCount&&e.language==k.language&&e.bandwidth==k.bandwidth&&e.label==k.label&&e.codecs==k.codecs&&e.mimeType==k.mimeType&&hg(e.roles,k.roles)&&e.audioSamplingRate==k.audioSamplingRate&&e.primary==k.primary&&(f=!0);f||c.push(e)}b.Dw=c}}
683function nfa(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;for(var c=[],d=m(b.textStreams),e=d.next();!e.done;e=d.next()){e=e.value;for(var f=!1,g=m(c),k=g.next();!k.done;k=g.next())k=k.value,e.id!=k.id&&e.language==k.language&&e.label==k.label&&e.codecs==k.codecs&&e.mimeType==k.mimeType&&e.bandwidth==k.bandwidth&&hg(e.roles,k.roles)&&(f=!0);f||c.push(e)}b.textStreams=c}}
684function mfa(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;for(var c=[],d=m(b.$A),e=d.next();!e.done;e=d.next()){e=e.value;for(var f=!1,g=m(c),k=g.next();!k.done;k=g.next())k=k.value,e.id!=k.id&&e.width==k.width&&e.frameRate==k.frameRate&&e.codecs==k.codecs&&e.mimeType==k.mimeType&&e.label==k.label&&hg(e.roles,k.roles)&&Oba(e.closedCaptions,k.closedCaptions)&&e.bandwidth==k.bandwidth&&(f=!0);f||c.push(e)}b.$A=c}}
685function ofa(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;for(var c=[],d=m(b.imageStreams),e=d.next();!e.done;e=d.next()){e=e.value;for(var f=!1,g=m(c),k=g.next();!k.done;k=g.next())k=k.value,e.id!=k.id&&e.width==k.width&&e.codecs==k.codecs&&e.mimeType==k.mimeType&&(f=!0);f||c.push(e)}b.imageStreams=c}}
686function vq(a){var b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja;return r(function(ab){switch(ab.g){case 1:b=Te;if(1==a.length)return ab.return(a[0]);c=a.map(function(Xa){return Xa.filter(function(Na){return Na.type==b.pw})});d=a.map(function(Xa){return Xa.filter(function(Na){return Na.type==b.ji})});e=a.map(function(Xa){return Xa.filter(function(Na){return Na.type==b.Ne})});f=a.map(function(Xa){return Xa.filter(function(Na){return Na.type==b.zs})});g=m(e);for(k=g.next();!k.done;k=g.next())l=
687k.value,l.push(wq(b.Ne));n=m(f);for(q=n.next();!q.done;q=n.next())t=q.value,t.push(wq(b.zs));return p(ab,sq([],c,0,xq,yq),2);case 2:return u=ab.h,p(ab,sq([],d,0,xq,yq),3);case 3:return v=ab.h,p(ab,sq([],e,0,xq,yq),4);case 4:return y=ab.h,p(ab,sq([],f,0,xq,yq),5);case 5:G=ab.h;K=0;if(v.length&&u.length)for(R=m(u),aa=R.next();!aa.done;aa=R.next())for(fa=aa.value,za=m(v),Aa=za.next();!Aa.done;Aa=za.next())Va=Aa.value,Ja=K++,Va.variantIds.push(Ja),fa.variantIds.push(Ja);else for(J=v.concat(u),O=m(J),
688P=O.next();!P.done;P=O.next())Q=P.value,Q.variantIds=[K++];return ab.return(v.concat(u,y,G))}})}
689function sq(a,b,c,d,e){var f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa;return r(function(Va){switch(Va.g){case 1:f=Te;g=[];for(k=0;k<b.length;k++)k>=c?g.push(new Set(b[k])):g.push(new Set);l=m(a);n=l.next();case 2:if(n.done){Va.ua(4);break}q=n.value;return p(Va,pfa(q,b,c,e,g),5);case 5:t=Va.h;if(!t)throw new Bb(2,4,4037);n=l.next();Va.ua(2);break;case 4:u=m(g);for(v=u.next();!v.done;v=u.next())for(y=v.value,G=m(y),K=G.next();!K.done;K=G.next())J=K.value,(O=qfa(J,b,d,e,g))&&a.push(O);P=m(g);for(v=
690P.next();!v.done;v=P.next())for(Q=v.value,R={},aa=m(Q),K=aa.next();!K.done;R={Ol:R.Ol},K=aa.next())if(R.Ol=K.value,fa=R.Ol.type==f.Ne&&!R.Ol.language,za=R.Ol.type==f.zs&&!R.Ol.tilesLayout,!fa&&!za&&(Aa=a.some(function(Ja){return function(ab){return ab.mimeType==Ja.Ol.mimeType&&Of(ab.codecs)==Of(Ja.Ol.codecs)}}(R))))throw new Bb(2,4,4037);return Va.return(a)}})}
691function pfa(a,b,c,d,e){return r(function(f){if(1==f.g)return zq(b,a),a.matchedStreams?a.segmentIndex?p(f,Aq(a,c),2):f.ua(2):f.return(!1);Bq(a,c,d,e);return f.return(!0)})}
692function Aq(a,b){var c,d,e,f,g,k,l;return r(function(n){if(1==n.g){c=[];d=a.matchedStreams;e=m(d);for(f=e.next();!f.done;f=e.next())g=f.value,c.push(g.createSegmentIndex()),g.trickModeVideo&&!g.trickModeVideo.segmentIndex&&c.push(g.trickModeVideo.createSegmentIndex());return p(n,Promise.all(c),2)}if(a.segmentIndex instanceof bm)for(k=b;k<d.length;k++)l=d[k],l.segmentIndex&&a.segmentIndex.l.push(l.segmentIndex);ua(n)})}
693function qfa(a,b,c,d,e){var f=c(a);zq(b,f);f.createSegmentIndex&&(f.createSegmentIndex=function(){return r(function(g){if(f.segmentIndex)return g.ua(0);f.segmentIndex=new bm;return p(g,Aq(f,0),0)})});if(!f.matchedStreams||!f.matchedStreams.length)return null;Bq(f,0,d,e);return f}function Bq(a,b,c,d){for(var e=a.matchedStreams,f=0;f<e.length;f++)if(f>=b){var g=e[f];c(a,g);var k=!0;"audio"==a.type&&0==cg(a.language,g.language)&&(k=!1);k&&d[f].delete(g)}}
694function tq(a){var b=Object.assign({},a);b.originalId=null;b.createSegmentIndex=function(){return Promise.resolve()};b.closeSegmentIndex=function(){b.segmentIndex&&(b.segmentIndex.release(),b.segmentIndex=null);if(b.matchedStreams)for(var c=m(b.matchedStreams),d=c.next();!d.done;d=c.next())d=d.value,d.segmentIndex&&(d.segmentIndex.release(),d.segmentIndex=null)};b.segmentIndex=null;b.emsgSchemeIdUris=[];b.keyIds=new Set;b.closedCaptions=null;b.trickModeVideo=null;return b}
695function xq(a){a=Object.assign({},a);a.keyIds=new Set;a.segments=[];a.variantIds=[];a.closedCaptions=null;return a}
696function uq(a,b){a.roles=Array.from(new Set(a.roles.concat(b.roles)));b.emsgSchemeIdUris&&(a.emsgSchemeIdUris=Array.from(new Set(a.emsgSchemeIdUris.concat(b.emsgSchemeIdUris))));a.keyIds=function(f,g){return new Set(ka(f).concat(ka(g)))}(a.keyIds,b.keyIds);null==a.originalId?a.originalId=b.originalId:a.originalId+=","+(b.originalId||"");var c=rj(a.drmInfos,b.drmInfos);if(b.drmInfos.length&&a.drmInfos.length&&!c.length)throw new Bb(2,4,4038);a.drmInfos=c;a.encrypted=a.encrypted||b.encrypted;if(b.closedCaptions){a.closedCaptions||
697(a.closedCaptions=new Map);c=m(b.closedCaptions);for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;a.closedCaptions.set(d,e)}}b.trickModeVideo?(a.trickModeVideo||(a.trickModeVideo=tq(b.trickModeVideo),a.trickModeVideo.createSegmentIndex=function(){a.trickModeVideo.segmentIndex=a.segmentIndex.clone();return Promise.resolve()}),uq(a.trickModeVideo,b.trickModeVideo)):a.trickModeVideo&&uq(a.trickModeVideo,b)}
698function yq(a,b){a.roles=Array.from(new Set(a.roles.concat(b.roles)));var c=b.keyIds;c=new Set(ka(a.keyIds).concat(ka(c)));a.keyIds=c;a.encrypted=a.encrypted&&b.encrypted;a.segments.push.apply(a.segments,ka(b.segments));if(b.closedCaptions)for(a.closedCaptions||(a.closedCaptions=new Map),b=m(b.closedCaptions),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;a.closedCaptions.set(c,d)}}
699function zq(a,b){var c=[];a=m(a);for(var d=a.next();!d.done;d=a.next()){var e=b,f={audio:Cq,video:Cq,text:rfa,image:sfa}[e.type],g={audio:tfa,video:ufa,text:vfa,image:wfa}[e.type],k=null;d=m(d.value);for(var l=d.next();!l.done;l=d.next())l=l.value,!f(e,l)||k&&!g(e,k,l)||(k=l);e=k;if(!e)return;c.push(e)}b.matchedStreams=c}
700function Cq(a,b){var c;!(c=b.mimeType!=a.mimeType||Of(b.codecs)!=Of(a.codecs))&&(c=a.drmInfos)&&(a=a.drmInfos,b=b.drmInfos,c=!(a.length&&b.length?0<rj(a,b).length:1));return c?!1:!0}function rfa(a,b){return a.language?b.language?0==cg(a.language,b.language)||b.kind!=a.kind?!1:!0:!0:!1}function sfa(a){return a.tilesLayout?!0:!1}
701function tfa(a,b,c){if(a.id==c.id)return!0;var d=cg(a.language,b.language),e=cg(a.language,c.language);if(e>d)return!0;
701if(e<d)return!1;if(a.roles.length)return d=b.roles.filter(function(f){return a.roles.includes(f)}),e=c.roles.filter(function(f){return a.roles.includes(f)}),e.length>d.length?!0:e.length<d.length?!1:c.roles.length<b.roles.length;if(!c.roles.length&&b.roles.length)return!0;if(c.roles.length&&!b.roles.length)return!1;if(!b.primary&&c.primary)return!0;if(b.primary&&!c.primary)return!1;
702d=Dq(a.channelsCount,b.channelsCount,c.channelsCount);if(d==Eq)return!0;if(d==Fq)return!1;d=Dq(a.audioSamplingRate,b.audioSamplingRate,c.audioSamplingRate);return d==Eq?!0:d==Fq?!1:a.bandwidth&&Gq(a.bandwidth,b.bandwidth,c.bandwidth)==Eq?!0:!1}
703function ufa(a,b,c){if(a.id==c.id)return!0;var d=Dq(a.width*a.height,b.width*b.height,c.width*c.height);if(d==Eq)return!0;if(d==Fq)return!1;if(a.frameRate){d=Dq(a.frameRate,b.frameRate,c.frameRate);if(d==Eq)return!0;if(d==Fq)return!1}return a.bandwidth&&Gq(a.bandwidth,b.bandwidth,c.bandwidth)==Eq?!0:!1}
704function vfa(a,b,c){if(a.id==c.id)return!0;var d=cg(a.language,b.language),e=cg(a.language,c.language);if(e>d)return!0;if(e<d)return!1;if(!b.primary&&c.primary)return!0;if(b.primary&&!c.primary)return!1;if(a.roles.length){d=b.roles.filter(function(f){return a.roles.includes(f)});e=c.roles.filter(function(f){return a.roles.includes(f)});if(e.length>d.length)return!0;if(e.length<d.length)return!1}else{if(!c.roles.length&&b.roles.length)return!0;if(c.roles.length&&!b.roles.length)return!1}return c.mimeType!=
705a.mimeType||c.codecs!=a.codecs||b.mimeType==a.mimeType&&b.codecs==a.codecs?!1:!0}function wfa(a,b,c){return a.id==c.id?!0:Dq(a.width*a.height,b.width*b.height,c.width*c.height)==Eq?!0:!1}function wq(a){return{id:0,originalId:"",primary:!1,type:a,mimeType:"",codecs:"",language:"",label:null,width:null,height:null,encrypted:!1,keyIds:new Set,segments:[],variantIds:[],roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null}}
706function rq(a){return{id:0,originalId:"",createSegmentIndex:function(){return Promise.resolve()},segmentIndex:new Zl([]),mimeType:"",codecs:"",encrypted:!1,drmInfos:[],keyIds:new Set,language:"",label:null,type:a,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null}}
707function Dq(a,b,c){if(b==a&&a!=c)return Fq;if(c==a&&a!=b)return Eq;if(b>a){if(c<=a||c-a<b-a)return Eq;if(c-a>b-a)return Fq}else{if(c>a)return Fq;if(a-c<a-b)return Eq;if(a-c>a-b)return Fq}return Hq}function Gq(a,b,c){b=Math.abs(a-b);a=Math.abs(a-c);return a<b?Eq:b<a?Fq:Hq}var Eq=1,Hq=0,Fq=-1;function Iq(){var a=this;this.La=this.V=null;this.j=[];this.Pa=null;this.M=1;this.h={};this.va={};this.g=new qq;this.T=0;this.u=new qn(5);this.L=new Xe(function(){a.Gu()});this.s=new Qh;this.o=null;this.ea=[];this.l=Infinity;this.m=!1}h=Iq.prototype;h.configure=function(a){this.V=a};h.start=function(a,b){var c=this,d;return r(function(e){if(1==e.g)return c.m=b.isLowLatencyMode(),c.j=[a],c.La=b,p(e,c.Lo(),2);d=e.h;c.La&&Jq(c,d);if(!c.La)throw new Bb(2,7,7001);return e.return(c.Pa)})};
708h.stop=function(){for(var a=m(Object.values(this.h)),b=a.next();!b.done;b=a.next())b=b.value,b.segmentIndex&&b.segmentIndex.release();this.g&&this.g.release();this.V=this.La=null;this.j=[];this.Pa=null;this.h={};this.g=null;null!=this.L&&(this.L.stop(),this.L=null);return this.s.destroy()};h.update=function(){var a=this,b;return r(function(c){if(1==c.g)return va(c,2),p(c,a.Lo(),4);if(2!=c.g)return xa(c,0);b=ya(c);if(!a.La||!b)return c.return();a.La.onError(b);ua(c)})};h.onExpirationUpdated=function(){};
709h.Lo=function(){var a=this,b,c,d,e,f,g,k;return r(function(l){if(1==l.g)return b=Zh(a.j,a.V.retryParameters),c=a.La.networkingEngine,a.La.modifyManifestRequest(b,{format:"d"}),d=Date.now(),e=c.request(0,b),Uh(a.s,e),p(l,e.promise,2);if(3!=l.g){f=l.h;if(!a.La)return l.return(0);f.uri&&!a.j.includes(f.uri)&&a.j.unshift(f.uri);return p(l,xfa(a,f.data,f.uri),3)}g=Date.now();k=(g-d)/1E3;rn(a.u,1,k);return l.return(k)})};
710function xfa(a,b,c){var d,e,f,g,k;return r(function(l){if(1==l.g){d=$i(b,"MPD");if(!d)throw new Bb(2,4,4001,c);if(e=a.V.dash.disableXlinkProcessing)return l.return(Kq(a,d,c));f=a.V.dash.xlinkFailGracefully;g=dq(d,a.V.retryParameters,f,c,a.La.networkingEngine);Uh(a.s,g);return p(l,g.promise,2)}k=l.h;return l.return(Kq(a,k,c))})}
711function Kq(a,b,c){var d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa,Na,Xb,Lb,Mb,xb;return r(function(zc){switch(zc.g){case 1:(d=a.V.dash.manifestPreprocessor)&&d(b);e=[c];f=Fi(b,"Location").map(Qi).filter(Ne);0<f.length&&(g=Oe(e,f),e=a.j=g);k=Fi(b,"BaseURL");l=k.map(Qi);n=Oe(e,l);q=0;k&&k.length&&(q=Si(k[0],"availabilityTimeOffset",Yi)||0);t=a.V.dash.ignoreMinBufferTime;u=0;t||(u=Si(b,"minBufferTime",Ui)||0);a.T=Si(b,"minimumUpdatePeriod",Ui,-1);v=Si(b,"availabilityStartTime",Ti);
712y=Si(b,"timeShiftBufferDepth",Ui);G=a.V.dash.ignoreSuggestedPresentationDelay;K=null;G||(K=Si(b,"suggestedPresentationDelay",Ui));J=a.V.dash.ignoreMaxSegmentDuration;O=null;J||(O=Si(b,"maxSegmentDuration",Ui));P=b.getAttribute("type")||"static";if(a.Pa)for(Q=a.Pa.presentationTimeline,R=m(Object.values(a.h)),aa=R.next();!aa.done;aa=R.next())fa=aa.value,fa.segmentIndex&&fa.segmentIndex.Cn(Q.Ck());else za=a.V.defaultPresentationDelay||1.5*u,Aa=null!=K?K:za,Q=new wl(v,Aa,a.V.dash.autoCorrectDrift);Q.uv("static"==
713P);(Va=Q.nd())&&!isNaN(a.V.availabilityWindowOverride)&&(y=a.V.availabilityWindowOverride);null==y&&(y=Infinity);Q.kG(y);Ja=b.getAttribute("profiles")||"";ab={bm:"static"!=P,presentationTimeline:Q,Of:null,Nd:null,cg:null,ec:null,bandwidth:0,qM:!1,Op:q,profiles:Ja.split(",")};Xa=yfa(a,ab,n,b);Na=Xa.duration;Xb=Xa.periods;"static"!=P&&Xa.IK||Q.Ti(Na||Infinity);a.l&&!a.m&&(Lb=a.La.isAutoLowLatencyMode())&&(a.La.enableLowLatencyMode(),a.m=a.La.isLowLatencyMode());a.m?Q.YO(a.l):a.l&&lb("Low-latency DASH live stream detected, but low-latency streaming mode is not enabled in Shaka Player. Set streaming.lowLatencyMode configuration to true, and see https://bit.ly/3clctcj for details.");
714Q.SE(O||1);return p(zc,kfa(a.g,Xb,ab.bm),2);case 2:if(a.Pa){a.Pa.variants=a.g.l;a.Pa.textStreams=a.g.o.slice();a.Pa.imageStreams=a.g.j;a.La.filter(a.Pa);zc.ua(3);break}a.Pa={presentationTimeline:Q,variants:a.g.l,textStreams:a.g.o.slice(),imageStreams:a.g.j,offlineSessionIds:[],minBufferTime:u||0,sequenceMode:a.V.dash.sequenceMode};if(!Q.bT()){zc.ua(4);break}Mb=Fi(b,"UTCTiming");return p(zc,zfa(a,n,Mb),5);case 5:xb=zc.h;if(!a.La)return zc.return();Q.ZO(xb);case 4:Q.BE();case 3:a.La.makeTextStreamsForClosedCaptions(a.Pa),
715ua(zc)}})}
716function yfa(a,b,c,d){var e=Si(d,"mediaPresentationDuration",Ui),f=[],g=0;d=Fi(d,"Period");for(var k=0;k<d.length;k++){var l=d[k],n=d[k+1],q=Si(l,"start",Ui,g),t=l.id,u=Si(l,"duration",Ui),v=null;if(n){var y=Si(n,"start",Ui);null!=y&&(v=y-q)}else null!=e&&(v=e-q);null==v&&(v=u);if(!(null!==a.o&&null!==t&&null!==q&&q<a.o)||a.ea.includes(t)||k+1==d.length){null!==q&&(null===a.o||q>a.o)&&(a.o=q);g=Afa(a,b,c,{start:q,duration:v,node:l,iE:null==v||!n});f.push(g);b.Of.id&&v&&(a.va[b.Of.id]=v);if(null==
717v){g=null;break}g=q+v}}a.ea=f.map(function(G){return G.id});return null!=e?{periods:f,duration:e,IK:!1}:{periods:f,duration:g,IK:!0}}
718function Afa(a,b,c,d){b.Of=Lq(d.node,null,c);b.Nd=d;b.Of.Op=b.Op;b.Of.id||(b.Of.id="__shaka_period_"+d.start);var e=Fi(d.node,"EventStream");c=b.presentationTimeline.Ck();e=m(e);for(var f=e.next();!f.done;f=e.next())Bfa(a,d.start,d.duration,f.value,c);c=Fi(d.node,"AdaptationSet").map(function(q){return Cfa(a,b,q)}).filter(Ne);if(b.bm){d=[];e=m(c);for(f=e.next();!f.done;f=e.next()){f=m(f.value.j5);for(var g=f.next();!g.done;g=f.next())d.push(g.value)}if(d.length!=(new Set(d)).size)throw new Bb(2,4,
7194018);}d=c.filter(function(q){return!q.IH});c=c.filter(function(q){return q.IH});c=m(c);for(e=c.next();!e.done;e=c.next()){e=e.value;f=e.IH.split(" ");g=m(d);for(var k=g.next();!k.done;k=g.next()){var l=k.value;if(f.includes(l.id)){k={};l=m(l.streams);for(var n=l.next();!n.done;k={nw:k.nw},n=l.next())k.nw=n.value,k.nw.trickModeVideo=e.streams.find(function(q){return function(t){return Of(q.nw.codecs)==Of(t.codecs)}}(k))}}}e=a.V.disableAudio?[]:Mq(d,"audio");g=a.V.disableVideo?[]:Mq(d,"video");f=a.V.disableText?
720[]:Mq(d,Se);c=a.V.disableThumbnails?[]:Mq(d,"image");if(!g.length&&!e.length)throw new Bb(2,4,4004);d=[];e=m(e);for(k=e.next();!k.done;k=e.next())d.push.apply(d,ka(k.value.streams));e=[];g=m(g);for(k=g.next();!k.done;k=g.next())e.push.apply(e,ka(k.value.streams));g=[];f=m(f);for(k=f.next();!k.done;k=f.next())g.push.apply(g,ka(k.value.streams));f=[];c=m(c);for(k=c.next();!k.done;k=c.next())f.push.apply(f,ka(k.value.streams));return{id:b.Of.id,Dw:d,$A:e,textStreams:g,imageStreams:f}}
721function Mq(a,b){return a.filter(function(c){return c.contentType==b})}
722function Cfa(a,b,c){function d(aa){switch(aa){case 1:case 6:case 13:case 14:case 15:return"SDR";case 16:return"PQ";case 18:return"HLG"}}b.cg=Lq(c,b.Of,null);var e=!1,f=Fi(c,"Role"),g=f.map(function(aa){return aa.getAttribute("value")}).filter(Ne),k=void 0,l=b.cg.contentType==Se;l&&(k="subtitle");f=m(f);for(var n=f.next();!n.done;n=f.next()){n=n.value;var q=n.getAttribute("schemeIdUri");if(null==q||"urn:mpeg:dash:role:2011"==q)switch(n=n.getAttribute("value"),n){case "main":e=!0;break;case "caption":case "subtitle":k=
723n}}var t;q=Fi(c,"EssentialProperty");f=null;n=!1;q=m(q);for(var u=q.next();!u.done;u=q.next()){u=u.value;var v=u.getAttribute("schemeIdUri");"http://dashif.org/guidelines/trickmode"==v?f=u.getAttribute("value"):"urn:mpeg:mpegB:cicp:TransferCharacteristics"==v?t=d(parseInt(u.getAttribute("value"),10)):n=!0}q=Fi(c,"SupplementalProperty");q=m(q);for(u=q.next();!u.done;u=q.next())u=u.value,"urn:mpeg:mpegB:cicp:TransferCharacteristics"==u.getAttribute("schemeIdUri")&&(t=d(parseInt(u.getAttribute("value"),
72410)));q=Fi(c,"Accessibility");var y=new Map;q=m(q);for(u=q.next();!u.done;u=q.next())if(v=u.value,u=v.getAttribute("schemeIdUri"),v=v.getAttribute("value"),"urn:scte:dash:cc:cea-608:2
724015"==u)if(u=1,null!=v){v=v.split(";");for(var G=m(v),K=G.next();!K.done;K=G.next()){var J=K.value,O=K=void 0;J.includes("=")?(J=J.split("="),K=J[0].startsWith("CC")?J[0]:"CC"+J[0],O=J[1]||"und"):(K="CC"+u,2==v.length?u+=2:u++,O=J);y.set(K,Xf(O))}}else y.set("CC1","und");else if("urn:scte:dash:cc:cea-708:2015"==u)if(u=
7251,null!=v)for(v=m(v.split(";")),K=v.next();!K.done;K=v.next())K=K.value,J=G=void 0,K.includes("=")?(K=K.split("="),G="svc"+K[0],J=K[1].split(",")[0].split(":").pop()):(G="svc"+u,u++,J=K),y.set(G,Xf(J));else y.set("svc1","und");else"urn:mpeg:dash:role:2011"==u&&null!=v&&(g.push(v),"captions"==v&&(k="caption"));if(n)return null;n=Fi(c,"ContentProtection");var P=Yp(n,a.V.dash.ignoreDrmInfo,a.V.dash.keySystemsByURI),Q=Xf(c.getAttribute("lang")||"und"),R=c.getAttribute("label");(n=Fi(c,"Label"))&&n.length&&
726(n=n[0],n.textContent&&(R=n.textContent));n=Fi(c,"Representation");c=n.map(function(aa){if(aa=Dfa(a,b,P,k,Q,R,e,g,y,aa))aa.hdr=aa.hdr||t;return aa}).filter(function(aa){return!!aa});if(0==c.length){f="image"==b.cg.contentType;if(a.V.dash.ignoreEmptyAdaptationSet||l||f)return null;throw new Bb(2,4,4003);}if(!b.cg.contentType||"application"==b.cg.contentType)for(b.cg.contentType=Nq(c[0].mimeType,c[0].codecs),l=m(c),q=l.next();!q.done;q=l.next())q.value.type=b.cg.contentType;l=m(c);for(q=l.next();!q.done;q=
727l.next())for(q=q.value,u=m(P.drmInfos),v=u.next();!v.done;v=u.next())v=v.value,v.keyIds=v.keyIds&&q.keyIds?new Set(ka(v.keyIds).concat(ka(q.keyIds))):v.keyIds||q.keyIds;l=n.map(function(aa){return aa.getAttribute("id")}).filter(Ne);return{id:b.cg.id||"__fake__"+a.M++,contentType:b.cg.contentType,language:Q,Pka:e,streams:c,drmInfos:P.drmInfos,IH:f,j5:l}}
728function Dfa(a,b,c,d,e,f,g,k,l,n){b.ec=Lq(n,b.cg,null);a.l=Math.min(a.l,b.ec.Op);if(!Efa(b.ec))return null;var q=b.Nd.start;b.bandwidth=Si(n,"bandwidth",Wi)||0;var t=b.ec.contentType,u=t==Se||"application"==t;t="image"==t;try{var v=function(aa,fa,za){return Ffa(a,aa,fa,za)};if(b.ec.jv)var y=Zea(b,v);else if(b.ec.Dm)y=afa(b,a.h);else if(b.ec.kv)y=efa(b,v,a.h,!!a.Pa,a.V.dash.initialSegmentLimit,a.va);else{var G=b.ec.pi,K=b.Nd.duration||0;y={rq:function(){return Promise.resolve(am(q,K,G))}}}}catch(aa){if((u||
729t)&&4002==aa.code)return null;throw aa;}v=Fi(n,"ContentProtection");v=Mea(v,c,a.V.dash.ignoreDrmInfo,a.V.dash.keySystemsByURI);v=new Set(v?[v]:[]);var J=!1;Fi(n,"SupplementalProperty").some(function(aa){return"tag:dolby.com,2018:dash:EC3_ExtensionType:2018"==aa.getAttribute("schemeIdUri")&&"JOC"==aa.getAttribute("value")})&&(J=!0);var O=!1;u&&(O=k.includes("forced_subtitle")||k.includes("forced-subtitle"));var P;if(t&&((n=Fi(n,"EssentialProperty").find(function(aa){return["http://dashif.org/thumbnail_tile",
730"http://dashif.org/guidelines/thumbnail_tile"].includes(aa.getAttribute("schemeIdUri"))}))&&(P=n.getAttribute("value")),!P))return null;var Q;n=b.ec.codecs;b.profiles.includes("http://dashif.org/guidelines/dash-if-uhd#hevc-hdr-pq10")&&(n.includes("hvc1.2.4.L153.B0")||n.includes("hev1.2.4.L153.B0"))&&(Q="PQ");n=b.ec.id?b.Of.id+","+b.ec.id:"";var R;n&&a.h[n]?R=a.h[n]:R={id:a.M++,originalId:b.ec.id,createSegmentIndex:function(){return Promise.resolve()},closeSegmentIndex:function(){R.segmentIndex&&(R.segmentIndex.release(),
731R.segmentIndex=null)},segmentIndex:null,mimeType:b.ec.mimeType,codecs:b.ec.codecs,frameRate:b.ec.frameRate,pixelAspectRatio:b.ec.pixelAspectRatio,bandwidth:b.bandwidth,width:b.ec.width,height:b.ec.height,kind:d,encrypted:0<c.drmInfos.length,drmInfos:c.drmInfos,keyIds:v,language:e,label:f,type:b.cg.contentType,primary:g,trickModeVideo:null,emsgSchemeIdUris:b.ec.emsgSchemeIdUris,roles:k,forced:O,channelsCount:b.ec.bz,audioSamplingRate:b.ec.audioSamplingRate,spatialAudio:J,closedCaptions:l,hdr:Q,tilesLayout:P,
732matchedStreams:[]};R.createSegmentIndex=function(){var aa;return r(function(fa){if(1==fa.g){if(R.segmentIndex)return fa.ua(0);aa=R;return p(fa,y.rq(),3)}aa.segmentIndex=fa.h;ua(fa)})};n&&b.bm&&!a.h[n]&&(a.h[n]=R);return R}h.Gu=function(){var a=this,b,c;return r(function(d){switch(d.g){case 1:return b=0,va(d,2),p(d,a.Lo(),4);case 4:b=d.h;xa(d,3);break;case 2:c=ya(d),a.La&&(c.severity=1,a.La.onError(c));case 3:if(!a.La)return d.return();Jq(a,b);ua(d)}})};
733function Jq(a,b){0>a.T||a.L.Hc(Math.max(3,a.T-b,sn(a.u)))}
734function Lq(a,b,c){b=b||{contentType:"",mimeType:"",codecs:"",emsgSchemeIdUris:[],frameRate:void 0,pixelAspectRatio:void 0,bz:null,audioSamplingRate:null,Op:0};c=c||b.pi;var d=Fi(a,"BaseURL"),e=d.map(Qi),f=a.getAttribute("contentType")||b.contentType,g=a.getAttribute("mimeType")||b.mimeType,k=a.getAttribute("codecs")||b.codecs,l=Si(a,"frameRate",Sba)||b.frameRate,n=a.getAttribute("sar")||b.pixelAspectRatio,q=Fi(a,"InbandEventStream"),t=b.emsgSchemeIdUris.slice();q=m(q);for(var u=q.next();!u.done;u=
735q.next())u=u.value.getAttribute("schemeIdUri"),t.includes(u)||t.push(u);q=Fi(a,"AudioChannelConfiguration");q=Gfa(q)||b.bz;u=Si(a,"audioSamplingRate",Xi)||b.audioSamplingRate;f||(f=Nq(g,k));var v=Ei(a,"SegmentBase"),y=Ei(a,"SegmentTemplate"),G=v?Si(v,"availabilityTimeOffset",Yi)||0:0,K=y?Si(y,"availabilityTimeOffset",Yi)||0:0;d=d&&d.length?Si(d[0],"availabilityTimeOffset",Yi)||0:0;d=b.Op+d+G+K;return{pi:Oe(c,e),jv:v||b.jv,Dm:Ei(a,"SegmentList")||b.Dm,kv:y||b.kv,width:Si(a,"width",Xi)||b.width,height:Si(a,
736"height",Xi)||b.height,contentType:f,mimeType:g,codecs:k,frameRate:l,pixelAspectRatio:n,emsgSchemeIdUris:t,id:a.getAttribute("id"),bz:q,audioSamplingRate:u,Op:d}}
737function Gfa(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(b=c.getAttribute("schemeIdUri"))if(c=c.getAttribute("value"))switch(b){case "urn:mpeg:dash:outputChannelPositionList:2012":return c.trim().split(/ +/).length;
737case "urn:mpeg:dash:23003:3:audio_channel_configuration:2011":case "urn:dts:dash:audio_channel_configuration:2012":b=parseInt(c,10);if(!b)continue;return b;case "tag:dolby.com,2014:dash:audio_channel_configuration:2011":case "urn:dolby:dash:audio_channel_configuration:2011":b=
738parseInt(c,16);if(!b)continue;for(a=0;b;)b&1&&++a,b>>=1;return a;case "urn:mpeg:mpegB:cicp:ChannelConfiguration":if(b=[0,1,2,3,4,5,6,8,2,3,4,7,8,24,8,12,10,12,14,12,14],(c=parseInt(c,10))&&0<c&&c<b.length)return b[c]}}return null}function Efa(a){var b=a.jv?1:0;b+=a.Dm?1:0;b+=a.kv?1:0;if(0==b)return a.contentType==Se||"application"==a.contentType?!0:!1;1!=b&&(a.jv&&(a.Dm=null),a.kv=null);return!0}
739function br(a,b,c,d){var e,f,g,k,l,n;return r(function(q){if(1==q.g)return e=Oe(b,[c]),f=Zh(e,a.V.retryParameters),f.method=d,g=a.La.networkingEngine.request(4,f),Uh(a.s,g),p(q,g.promise,2);k=q.h;if("HEAD"==d){if(!k.headers||!k.headers.date)return q.return(0);l=k.headers.date}else l=pf(k.data);n=Date.parse(l);return isNaN(n)?q.return(0):q.return(n-Date.now())})}
740function zfa(a,b,c){var d,e,f,g,k,l,n,q;return r(function(t){switch(t.g){case 1:d=c.map(function(u){return{scheme:u.getAttribute("schemeIdUri"),value:u.getAttribute("value")}}),e=a.V.dash.clockSyncUri,!d.length&&e&&d.push({scheme:"urn:mpeg:dash:utc:http-head:2014",value:e}),f=m(d),g=f.next();case 2:if(g.done){t.ua(4);break}k=g.value;va(t,5);l=k.scheme;n=k.value;switch(l){case "urn:mpeg:dash:utc:http-head:2014":case "urn:mpeg:dash:utc:http-head:2012":return t.ua(7);case "urn:mpeg:dash:utc:http-xsdate:2014":case "urn:mpeg:dash:utc:http-iso:2014":case "urn:mpeg:dash:utc:http-xsdate:2012":case "urn:mpeg:dash:utc:http-iso:2012":return t.ua(8);
741case "urn:mpeg:dash:utc:direct:2014":case "urn:mpeg:dash:utc:direct:2012":return q=Date.parse(n),t.return(isNaN(q)?0:q-Date.now());case "urn:mpeg:dash:utc:http-ntp:2014":case "urn:mpeg:dash:utc:ntp:2014":case "urn:mpeg:dash:utc:sntp:2014":lb("NTP UTCTiming scheme is not supported");break;default:lb("Unrecognized scheme in UTCTiming element",l)}t.ua(9);break;case 7:return p(t,br(a,b,n,"HEAD"),10);case 10:return t.return(t.h);case 8:return p(t,br(a,b,n,"GET"),11);case 11:return t.return(t.h);case 9:xa(t,
7423);break;case 5:ya(t);case 3:g=f.next();t.ua(2);break;case 4:return lb("A UTCTiming element should always be given in live manifests! This content may not play on clients with bad clocks!"),t.return(0)}})}
743function Bfa(a,b,c,d,e){var f=d.getAttribute("schemeIdUri")||"",g=d.getAttribute("value")||"",k=Si(d,"timescale",Xi)||1;d=m(Fi(d,"Event"));for(var l=d.next();!l.done;l=d.next()){l=l.value;var n=Si(l,"presentationTime",Xi)||0,q=Si(l,"duration",Xi)||0;n=n/k+b;q=n+q/k;null!=c&&(n=Math.min(n,b+c),q=Math.min(q,b+c));q<e||(l={schemeIdUri:f,value:g,startTime:n,endTime:q,id:l.getAttribute("id")||"",eventElement:l},a.La.onTimelineRegionAdded(l))}}
744function Ffa(a,b,c,d){var e,f,g,k,l;return r(function(n){if(1==n.g)return e=ci,f=nm(b,c,d,a.V.retryParameters),g=a.La.networkingEngine,k=g.request(e,f),Uh(a.s,k),p(n,k.promise,2);l=n.h;return n.return(l.data)})}function Nq(a,b){return Ig(Lf(a,b))?Se:a.split("/")[0]}fb("shaka.dash.DashParser",Iq);xj.mpd=function(){return new Iq};vj["application/dash+xml"]=function(){return new Iq};vj["video/vnd.mpeg.dash.mpd"]=function(){return new Iq};function cr(a,b,c,d){this.h=a;this.type=b;this.g=c;this.segments=d||null}function dr(a,b,c,d){this.id=a;this.name=b;this.attributes=c;this.value=void 0===d?null:d}dr.prototype.toString=function(){function a(d){return d.name+"="+(isNaN(Number(d.value))?'"'+d.value+'"':d.value)}var b="#"+this.name,c=this.attributes?this.attributes.map(a):[];this.value&&c.unshift(this.value);0<c.length&&(b+=":"+c.join(","));return b};
745dr.prototype.getAttribute=function(a){var b=this.attributes.filter(function(c){return c.name==a});return b.length?b[0]:null};dr.prototype.na=function(a,b){return(a=this.getAttribute(a))?a.value:b||null};function er(a,b){a=a.getAttribute(b);if(!a)throw new Bb(2,4,4023,b);return a.value}dr.prototype.sc=function(a){this.name=a};function fr(a,b,c){c=void 0===c?[]:c;this.g=b;this.j=a;this.h=c}function gr(a,b){this.name=a;this.value=b};function hr(a,b){return a.filter(function(c){return c.name==b})}function ir(a,b){return a.filter(function(c){return er(c,"TYPE")==b})}
745function jr(a,b){a=hr(a,b);return a.length?a[0]:null}function kr(a,b){var c=0;c=void 0===c?0:c;return(a=jr(a,b))?Number(a.value):c}function lr(a,b){return Oe([a],[b])[0]};function mr(a){this.h=a;this.g=0}mr.prototype.Mp=function(){return this.g==this.h.length};function nr(a){or(a,/[ \t]+/gm)}function or(a,b){b.lastIndex=a.g;b=b.exec(a.h);b=null==b?null:{position:b.index,length:b[0].length,results:b};if(a.Mp()||null==b||b.position!=a.g)return null;a.g+=b.length;return b.results}function pr(a){return a.Mp()?null:(a=or(a,/[^ \t\n]*/gm))?a[0]:null};function Hfa(){this.g=0}
746function qr(a,b,c){b=pf(b);b=b.replace(/\r\n|\r(?=[^\n]|$)/gm,"\n").trim();var d=b.split(/\n+/m);if(!/^#EXTM3U($|[ \t\n])/m.test(d[0]))throw new Bb(2,4,4015);b=0;for(var e=!0,f=m(d),g=f.next();!g.done;g=f.next())if(g=g.value,/^#(?!EXT)/m.test(g)||e)e=!1;else if(g=rr(a,g),--a.g,sr.includes(g.name)){b=1;break}else"EXT-X-STREAM-INF"==g.name&&(e=!0);f=[];e=!0;for(g=0;g<d.length;g++){var k=d[g],l=d[g+1];if(/^#(?!EXT)/m.test(k)||e)e=!1;else{k=rr(a,k);if(Ifa.includes(k.name)){if(1!=b)throw new Bb(2,4,4017);
747var n=d.splice(g,d.length-g);d=c;e=[];g=[];l=[];k=null;n=m(n);for(var q=n.next();!q.done;q=n.next())q=q.value,/^(#EXT)/.test(q)?(q=rr(a,q),sr.includes(q.name)?f.push(q):"EXT-X-MAP"==q.name?k=q:"EXT-X-PART"==q.name?l.push(q):"EXT-X-PRELOAD-HINT"==q.name?"PART"==q.na("TYPE")?l.push(q):"MAP"==q.na("TYPE")&&(q.sc("EXT-X-MAP"),k=q):g.push(q)):/^#(?!EXT)/m.test(q)||(q=lr(d,q.trim()),k&&g.push(k),e.push(new fr(q,g,l)),g=[],l=[]);l.length&&(k&&g.push(k),e.push(new fr("",g,l)));return new cr(c,b,f,e)}f.push(k);
748"EXT-X-STREAM-INF"==k.name&&(k.attributes.push(new gr("URI",l)),e=!0)}}return new cr(c,b,f)}function rr(a,b){a=a.g++;var c=b.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!c)throw new Bb(2,4,4016,b);b=c[1];var d=c[2];c=[];var e;if(d){d=new mr(d);var f;(f=or(d,/^([^,=]+)(?:,|$)/g))&&(e=f[1]);for(var g=/([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g;f=or(d,g);)c.push(new gr(f[1],f[2]||f[3])),nr(d)}return new dr(a,b,c,e)}
749var sr="EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-I-FRAMES-ONLY EXT-X-ENDLIST EXT-X-SERVER-CONTROL EXT-X-SKIP".split(" "),Ifa="EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE EXT-X-MAP".split(" ");function tr(){}function ur(a){try{var b=vr(a);return Hh({uri:a,originalUri:a,data:b.data,headers:{"content-type":b.contentType}})}catch(c){return Fh(c)}}
750function vr(a){var b=a.split(":");if(2>b.length||"data"!=b[0])throw new Bb(2,1,1004,a);b=b.slice(1).join(":").split(",");if(2>b.length)throw new Bb(2,1,1004,a);var c=b[0];a=window.decodeURIComponent(b.slice(1).join(","));b=c.split(";");c=b[0];var d=!1;1<b.length&&"base64"==b[b.length-1]&&(d=!0,b.pop());var e;d?e=yf(a):e=tf(a);return{data:e,contentType:c}}fb("shaka.net.DataUriPlugin",tr);tr.parse=ur;Wh("data",ur);function wr(){var a=this;this.V=this.La=null;this.Y=1;this.j=new Map;this.l=new Map;this.m=new Map;this.m.set("video",new Map);this.m.set("audio",new Map);this.m.set(Se,new Map);this.m.set("image",new Map);this.fc=new Set;this.fe=new Map;this.g=null;this.va="";this.DE=new Hfa;this.TA=0;this.s=-1;this.L=Infinity;this.iS=!1;this.Sm=new Xe(function(){a.Gu()});this.cb=xr;this.Pa=null;this.Z=0;this.T=Infinity;this.M=this.Ua=0;this.u=new Qh;this.ea=new Map;this.o=new Map;this.Ia=new Map;this.h=!1}h=wr.prototype;
751h.configure=function(a){this.V=a};h.start=function(a,b){var c=this,d;return r(function(e){return 1==e.g?(c.La=b,c.h=b.isLowLatencyMode(),p(e,c.Lo(a),2)):3!=e.g?(d=e.h,c.va=d.uri,p(e,Jfa(c,d.data,a),3)):e.return(c.Pa)})};h.stop=function(){this.Sm&&(this.Sm.stop(),this.Sm=null);var a=[];this.u&&(a.push(this.u.destroy()),this.u=null);this.V=this.La=null;this.fc.clear();this.Pa=null;this.fe.clear();this.l.clear();this.o.clear();this.j.clear();return Promise.all(a)};
752h.update=function(){var a=this,b,c,d,e,f,g,k,l,n;return r(function(q){if(1==q.g){if(!yr(a))return q.return();b=[];c=Array.from(a.fe.values());d=c.filter(function(t){return t.stream.segmentIndex});e=m(d);for(f=e.next();!f.done;f=e.next())g=f.value,b.push(Kfa(a,g));return p(q,Promise.all(b),2)}zr(a,d.map(function(t){return t.stream}));k=d.some(function(t){return 0==t.lu});d.length&&!k&&(l=Lfa,Ar(a,l.WT),n=d.map(function(t){return t.wm}
752),a.g.Ti(Math.min.apply(Math,ka(n))),a.La.updateDuration());ua(q)})};
753function Br(a,b){return yr(a)?a.m.get(b.type):b.Wy}
754function Kfa(a,b){var c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O;return r(function(P){if(1==P.g)return c=b.tw,d=new ue(c),a.h&&b.Ow&&Ae(d,new Ce("_HLS_skip=YES")),p(P,a.Lo(d.toString()),2);e=P.h;if(!b.stream.segmentIndex)return P.return();f=qr(a.DE,e.data,e.uri);if(1!=f.type)throw new Bb(2,4,4017);g=hr(f.g,"EXT-X-DEFINE");k=Cr(a,g);l=b.stream;n=Br(a,b);q=Dr(f,l.mimeType);t=q.keyIds;u=q.drmInfos;v=function(Q,R){return Q.size===R.size&&ka(Q).concat().every(function(aa){return R.has(aa)})};v(l.keyIds,t)||(l.keyIds=
755t,l.drmInfos=u,a.La.newDrmInfo(l));y=Er(a,f,l.type,n,k);l.segmentIndex.Zq(y,a.g.Ck());y.length&&(G=kr(f.g,"EXT-X-MEDIA-SEQUENCE"),K=n.get(G),l.segmentIndex.Cn(K));J=y[y.length-1];if(O=jr(f.g,"EXT-X-ENDLIST"))b.lu=!0,b.wm=J.endTime;ua(P)})}h.onExpirationUpdated=function(){};
756function Mfa(a,b){for(var c=-1==a.s,d=m(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.stream.segmentIndex,g=Br(a,e);if(f=f.g[0]||null){g=m(g);for(var k=g.next();!k.done;k=g.next()){k=m(k.value);var l=k.next().value;if(k.next().value==f.startTime){c&&(a.s=Math.max(a.s,l));e.UC=l;break}}}}if(!(0>a.s))for(b=m(b),e=b.next();!e.done;e=b.next())if(c=e.value,d=c.stream.segmentIndex)if(d.g.splice(0,a.s-c.UC),d=d.g[0]||null)d=-d.startTime,c.stream.segmentIndex.offset(d),Fr(a,c,d)}
757function Nfa(a,b){if(Infinity==a.L){b=m(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value.stream.segmentIndex.g[0]||null;null!=d&&null!=d.g&&(a.L=Math.min(a.L,d.g))}}b=a.L;if(Infinity!=b)for(d=m(a.fe.values()),c=d.next();!c.done;c=d.next()){c=c.value;var e=c.stream.segmentIndex;if(null!=e){var f=e.g[0]||null;if(null==f.g)kb("Missing EXT-X-PROGRAM-DATE-TIME for stream",c.bw,"Expect AV sync issues!");else for(Fr(a,c,f.g-b-f.startTime),c=m(e),e=c.next();!e.done;e=c.next())e.value.xH(b)}}}
758function Fr(a,b,c){b.wm+=c;a=Br(a,b);b=m(a);for(var d=b.next();!d.done;d=b.next()){var e=m(d.value);d=e.next().value;e=e.next().value;a.set(d,e+c)}}
759function Jfa(a,b,c){var d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa,Na,Xb,Lb,Mb,xb;return r(function(zc){switch(zc.g){case 1:d=qr(a.DE,b,a.va);e=hr(d.g,"EXT-X-DEFINE");for(var he=m(e),Lc=he.next();!Lc.done;Lc=he.next()){var Hd=Lc.value;Lc=Hd.na("NAME");Hd=Hd.na("VALUE");Lc&&Hd&&(a.j.has(Lc)||a.j.set(Lc,Hd))}f=[];g=[];k=[];if(1==d.type)return aa=a.V.hls.mediaPlaylistFullMimeType,d.segments.length&&(fa=new ue(d.segments[0].j),za=fa.g.split(".").pop(),(Aa=Gr[za])?aa=Aa:"ts"!==za&&"mp4"!==
760za&&(Hr[za]?(Aa=Hr[za],Va=a.V.hls.defaultAudioCodec,aa=Aa+'; codecs="'+Va+'"'):Ir[za]&&(Aa=Ir[za],Ja=a.V.hls.defaultVideoCodec,aa=Aa+'; codecs="'+Ja+'"'))),ab=aa.split(";")[0],Xa=ab.split("/")[0],Na=Qf(aa),Xb=new Map,p(zc,Jr(a,d,c,c,Na,Xa,"",!0,"Media Playlist",null,Xb,null,!1,!1,ab),5);l=hr(d.g,"EXT-X-MEDIA");n=hr(d.g,"EXT-X-STREAM-INF");q=hr(d.g,"EXT-X-IMAGE-STREAM-INF");t=hr(d.g,"EXT-X-SESSION-KEY");he=m(n);for(Lc=he.next();!Lc.done;Lc=he.next()){var ie=Lc.value;Hd=ie.na("AUDIO");Lc=ie.na("VIDEO");
761var jd=ie.na("SUBTITLES");ie=Kr(a,ie);if(jd){var Wd=Re(Se,ie);a.o.set(jd,Wd);gg(ie,Wd)}Hd&&(jd=Re("audio",ie),jd||(jd=a.V.hls.defaultAudioCodec),a.o.set(Hd,jd));Lc&&(Hd=Re("video",ie),Hd||(Hd=a.V.hls.defaultVideoCodec),a.o.set(Lc,Hd))}u=hr(d.g,"EXT-X-SESSION-DATA");v=m(u);for(y=v.next();!y.done;y=v.next())if(G=y.value,K=G.na("DATA-ID"),J=G.na("URI"),O=G.na("LANGUAGE"),P=G.na("VALUE"),Q=(new Map).set("id",K),J&&Q.set("uri",lr(a.va,J)),O&&Q.set("language",O),P&&Q.set("value",P),R=new Kh("sessiondata",
762Q),a.La)a.La.onEvent(R);Ofa(a,l);he=ir(l,"CLOSED-CAPTIONS");he=m(he);for(Lc=he.next();!Lc.done;Lc=he.next())jd=Lc.value,Lc=Lr(jd),Hd=er(jd,"GROUP-ID"),jd=er(jd,"INSTREAM-ID"),a.ea.get(Hd)||a.ea.set(Hd,new Map),a.ea.get(Hd).set(jd,Lc);f=Pfa(a,n,t);g=Qfa(a,l);return p(zc,Rfa(a,q),4);case 4:k=zc.h;zc.ua(3);break;case 5:Lb=zc.h,a.fe.set(c,Lb),f.push({id:0,language:"und",disabledUntilTime:0,primary:!0,audio:"audio"==Xa?Lb.stream:null,video:"video"==Xa?Lb.stream:null,bandwidth:0,allowedByApplication:!0,
763allowedByKeySystem:!0,decodingInfos:[]});case 3:if(!a.La)throw new Bb(2,7,7001);a.g=new wl(null,0);a.g.uv(!0);1==d.type&&(yr(a)&&(Mr(a),Mb=a.TA,a.Sm.Hc(Mb)),xb=Array.from(a.fe.values()),Nr(a,xb),Or(a));a.Pa={presentationTimeline:a.g,variants:f,textStreams:g,imageStreams:k,offlineSessionIds:[],minBufferTime:0,sequenceMode:!0};a.La.makeTextStreamsForClosedCaptions(a.Pa);ua(zc)}})}
764function Or(a){if(yr(a)){if(a.TA=a.T,a.cb==Pr){var b=Qr(a);a.V.hls.useSafariBehaviorForLive&&(b=a.g.s);isNaN(a.V.availabilityWindowOverride)||(b=a.V.availabilityWindowOverride);a.g.kG(b)}}else a.g.Ti(Qr(a));a.g.BE()}function Cr(a,b){var c=new Map;b=m(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=e.na("NAME");var f=e.na("VALUE");e=e.na("IMPORT");d&&f&&c.set(d,f);e&&(d=a.j.get(e))&&c.set(e,d)}return c}
765function Qfa(a,b){var c=ir(b,"SUBTITLES");b=c.map(function(g){if(a.V.disableText)return null;try{return Rr(a,g).stream}catch(k){if(a.V.hls.ignoreTextStreamFailures)return null;throw k;}});c=m(c);for(var d=c.next();!d.done;d=c.next()){var e=er(d.value,"GROUP-ID");if(d=a.o.get(e))if(e=a.l.get(e)){e=m(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f.stream.codecs=d,f.stream.mimeType=Sr(Se,d)||Tr(Se)}}
765return b.filter(function(g){return g})}
766function Rfa(a,b){var c,d;return r(function(e){if(1==e.g)return c=b.map(function(f){var g,k,l;return r(function(n){if(1==n.g){if(g=a.V.disableThumbnails)return n.return(null);va(n,2);return p(n,Sfa(a,f),4)}if(2!=n.g)return k=n.h,n.return(k.stream);l=ya(n);if(a.V.hls.ignoreImageStreamFailures)return n.return(null);throw l;})}),p(e,Promise.all(c),2);d=e.h;return e.return(d.filter(function(f){return f}))})}
767function Ofa(a,b){b=b.filter(function(d){var e=d.na("URI")||"";return"SUBTITLES"!=d.na("TYPE")&&""!=e});b=m(b);for(var c=b.next();!c.done;c=b.next())Rr(a,c.value)}
768function Pfa(a,b,c){var d=[],e=new Set;if(0<c.length){c=m(c);for(var f=c.next();!f.done;f=c.next()){f=f.value;var g=er(f,"METHOD");if("NONE"!=g&&"AES-128"!=g&&(g=f.na("KEYFORMAT")||"identity",f=(g=Ur[g])?g(f,""):null)){if(f.keyIds){g=m(f.keyIds);for(var k=g.next();!k.done;k=g.next())e.add(k.value)}d.push(f)}}}b=b.map(function(l){var n=l.na("FRAME-RATE"),q=Number(l.na("AVERAGE-BANDWIDTH"))||Number(er(l,"BANDWIDTH")),t=l.na("RESOLUTION");t=m(t?t.split("x"):[null,null]);var u=t.next().value,v=t.next().value,
769y=l.na("VIDEO-RANGE");l=Tfa(a,l);t=l.audio;l=l.video;for(var G=m(l),K=G.next();!K.done;K=G.next())if(K=K.value.stream)K.width=Number(u)||void 0,K.height=Number(v)||void 0,K.frameRate=Number(n)||void 0,K.hdr=y||void 0;n=a.V.disableAudio;if(!t.length||n)t=[null];n=a.V.disableVideo;if(!l.length||n)l=[null];n=[];t=m(t);for(u=t.next();!u.done;u=t.next())for(u=u.value,v=m(l),y=v.next();!y.done;y=v.next()){var J=y.value;if(y=u?u.stream:null)y.drmInfos=d,y.keyIds=e;if(G=J?J.stream:null)G.drmInfos=d,G.keyIds=
770e;K=u?u.stream.drmInfos:null;var O=J?J.stream.drmInfos:null;J=(J?J.bw:"")+" - "+(u?u.bw:"");y&&G&&K.length&&O.length&&!(0<rj(K,O).length)||a.fc.has(J)||(y={id:a.Y++,language:y?y.language:"und",primary:!!y&&y.primary||!!G&&G.primary,audio:y,video:G,bandwidth:q,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},n.push(y),a.fc.add(J))}return n}).reduce(Me,[]);return b=b.filter(function(l){return null!=l})}
771function Tfa(a,b){var c=Kr(a,b),d=b.na("AUDIO"),e=b.na("VIDEO"),f=d||e;f=f&&a.l.has(f)?a.l.get(f):[];d={audio:d?f:[],video:e?f:[]};e=!1;var g=er(b,"URI"),k=d.audio.find(function(q){return q&&q.bw==g}),l=Re("video",c),n=Re("audio",c);n&&!l?f="audio":!f.length&&n&&l?(f="video",c=[[l,n].join()]):d.audio.length&&k?(f="audio",e=!0):f=d.video.length&&!d.audio.length?"audio":"video";e||(a=Ufa(a,b,c,f),d[a.stream.type]=[a]);return d}
772function Kr(a,b){var c=[];a.V.disableVideo||c.push(a.V.hls.defaultVideoCodec);a.V.disableAudio||c.push(a.V.hls.defaultAudioCodec);c=b.na("CODECS",c.join(",")).split(/\s*,\s*/);a=new Set;b=[];c=m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=Pf(d)[0];a.has(e)||(b.push(d),a.add(e))}return b}function Lr(a){a=a.na("LANGUAGE")||"und";return Xf(a)}
773function Rr(a,b){var c=er(b,"GROUP-ID"),d="",e=er(b,"TYPE").toLowerCase();"subtitles"==e&&(e=Se);var f=e;f==Se?d=b.na("CODECS")||"":c&&a.o.has(c)&&(d=a.o.get(c));e=Vr(er(b,"URI"),a.j);if(a.fe.has(e))return a.fe.get(e);var g=Lr(b),k=b.na("NAME"),l="YES"==b.na("DEFAULT");var n="audio"==f?(n=b.na("CHANNELS"))?parseInt(n.split("/")[0],10):null:null;var q="audio"==f?(q=b.na("CHANNELS"))?q.includes("/JOC"):!1:!1;var t=b.na("CHARACTERISTICS");b="YES"==b.na("FORCED");d=Wr(a,e,d,f,g,l,k,n,null,t,b,q);a.l.has(c)?
774a.l.get(c).push(d):a.l.set(c,[d]);if(a.fe.has(e))return a.fe.get(e);a.fe.set(e,d);return d}
775function Sfa(a,b){var c,d,e,f,g,k,l,n,q,t;return r(function(u){if(1==u.g){c=Vr(er(b,"URI"),a.j);d=b.na("CODECS","jpeg")||"";if(a.fe.has(c))return u.return(a.fe.get(c));e=Lr(b);f=b.na("NAME");g=b.na("CHARACTERISTICS");k=Wr(a,c,d,"image",e,!1,f,null,null,g,!1,!1);return a.fe.has(c)?u.return(a.fe.get(c)):(l=b.na("RESOLUTION"))?p(u,k.stream.createSegmentIndex(),3):u.ua(2)}2!=u.g&&(n=k.stream.segmentIndex.get(0),q=n.tilesLayout)&&(k.stream.width=Number(l.split("x")[0])*Number(q.split("x")[0]),k.stream.height=
776Number(l.split("x")[1])*Number(q.split("x")[1]));if(t=b.na("BANDWIDTH"))k.stream.bandwidth=Number(t);a.fe.set(c,k);return u.return(k)})}function Ufa(a,b,c,d){var e=Vr(er(b,"URI"),a.j);if(a.fe.has(e))return a.fe.get(e);
776b=b.na("CLOSED-CAPTIONS");b="video"==d&&b&&"NONE"!=b?a.ea.get(b):null;c=Qe(d,c);d=Wr(a,e,c,d,"und",!1,null,null,b,null,!1,!1);if(a.fe.has(e))return a.fe.get(e);a.fe.set(e,d);return d}
777function Wr(a,b,c,d,e,f,g,k,l,n,q,t){function u(O){var P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa,Na,Xb,Lb;return r(function(Mb){if(1==Mb.g)return p(Mb,a.Lo(G.tw),2);if(3!=Mb.g){P=Mb.h;if(O.aborted)return Mb.return();Q=P.uri;R=qr(a.DE,P.data,Q);aa=yr(a);return p(Mb,Jr(a,R,b,Q,c,d,e,f,g,k,l,n,q,t),3)}fa=Mb.h;if(O.aborted)return Mb.return();za=fa.stream;yr(a)&&!aa&&Mr(a);G.tw=Q;G.wm=fa.wm;G.Ow=fa.Ow;G.lu=fa.lu;G.Wy=fa.Wy;G.zE=!0;y.segmentIndex=za.segmentIndex;y.encrypted=za.encrypted;y.drmInfos=za.drmInfos;y.keyIds=
778za.keyIds;y.mimeType=za.mimeType;ml.includes(y.mimeType)&&(y.codecs="");y.drmInfos.length&&a.La.newDrmInfo(y);Aa=Te;if(d==Aa.ji||d==Aa.pw)for(Va=m(a.fe.values()),Ja=Va.next();!Ja.done;Ja=Va.next())ab=Ja.value,ab.zE||ab.type!=d||(ab.stream.mimeType=za.mimeType,ml.includes(ab.stream.mimeType)&&(ab.stream.codecs=""));d==Aa.Ne&&(Xa=za.segmentIndex.get(0))&&Xa.h&&(y.mimeType="application/mp4");Vfa(a)&&(a.iS?Nr(a,[G]):(a.iS=!0,Na=Array.from(a.fe.values()),Xb=Na.filter(function(xb){return xb.stream.segmentIndex}),
779Nr(a,Xb),Or(a),Lb=a.TA,0<Lb&&a.Sm.Hc(Lb)));ua(Mb)})}var v=lr(a.va,b),y=Xr(a,c,d,e,f,g,k,l,n,q,t);ml.includes(y.mimeType)&&(y.codecs="");var G={stream:y,type:d,bw:b,tw:v,wm:0,Wy:new Map,Ow:!1,lu:!1,UC:-1,zE:!1},K=null,J=new AbortController;y.createSegmentIndex=function(){if(K)return K;J=new AbortController;return K=new Promise(function(O){O(u(J.signal))})};y.closeSegmentIndex=function(){K&&!y.segmentIndex&&J.abort();y.segmentIndex&&(y.segmentIndex.release(),y.segmentIndex=null);K=null};return G}
780function Qr(a){var b=Infinity;a=m(a.fe.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c.stream.segmentIndex&&"text"!=c.stream.type&&(b=Math.min(b,c.wm));return b}function zr(a,b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,d.segmentIndex&&Zca(d.segmentIndex,function(e){c.push(e)});a.g.dr(c)}
781function Nr(a,b){if(!yr(a))for(var c=Qr(a),d=m(b),e=d.next();!e.done;e=d.next())e.value.stream.segmentIndex.fm(0,c);c=m(b);for(e=c.next();!e.done;e=c.next())e=e.value.stream,ml.includes(e.mimeType)&&(e.codecs="");zr(a,b.map(function(f){return f.stream}));a.V.hls.ignoreManifestProgramDateTime?Mfa(a,b):Nfa(a,b)}
782function Vfa(a){if(!a.Pa)return!1;var b=[],c=[];a=m(a.Pa.variants);for(var d=a.next();!d.done;d=a.next())d=d.value,d.video&&b.push(d.video),d.audio&&c.push(d.audio);return 0<b.length&&!b.some(function(e){return e.segmentIndex})||0<c.length&&!c.some(function(e){return e.segmentIndex})?!1:!0}
783function Jr(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y){var G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa;return r(function(Na){if(1==Na.g){if(1!=b.type)throw new Bb(2,4,4017);G=hr(b.g,"EXT-X-DEFINE");K=Cr(a,G);Yr(a,b);return y?Na.ua(2):p(Na,Wfa(a,f,e,b,K),3)}2!=Na.g&&(y=Na.h);J=Dr(b,y);O=J.drmInfos;P=J.keyIds;Q=J.encrypted;R=J.kU;if(Q&&!O.length&&!R)throw new Bb(2,4,4026);aa=yr(a)?a.m.get(f):new Map;fa=a.h;za=Er(a,b,f,aa,K);fa!=a.h&&Yr(a,b);Aa=za[za.length-1].endTime;Va=new Zl(za);ab=(Ja=jr(b.g,"EXT-X-SERVER-CONTROL"))?
784null!=Ja.getAttribute("CAN-SKIP-UNTIL"):!1;Xa=Xr(a,e,f,g,k,l,n,q,t,u,v);Xa.segmentIndex=Va;Xa.encrypted=Q;Xa.drmInfos=O;Xa.keyIds=P;Xa.mimeType=y;return Na.return({stream:Xa,type:f,bw:c,tw:d,wm:Aa,Ow:ab,lu:!1,UC:-1,Wy:aa,zE:!1})})}
785function Xr(a,b,c,d,e,f,g,k,l,n,q){var t=Sr(c,b)||Tr(c);return{id:a.Y++,originalId:f,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:t,codecs:b,kind:c==Se?"subtitle":void 0,encrypted:!1,drmInfos:[],keyIds:new Set,language:d,label:f,type:c,primary:e,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,width:void 0,height:void 0,bandwidth:void 0,roles:l?l.split(","):[],forced:n,channelsCount:g,audioSamplingRate:null,spatialAudio:q,closedCaptions:k,
786hdr:void 0,tilesLayout:void 0}}
787function Dr(a,b){var c=[];if(a.segments){a=m(a.segments);for(var d=a.next();!d.done;d=a.next())d=hr(d.value.g,"EXT-X-KEY"),c.push.apply(c,ka(d))}d=a=!1;var e=[],f=new Set;c=m(c);for(var g=c.next();!g.done;g=c.next()){g=g.value;var k=er(g,"METHOD");if("NONE"!=k)if(a=!0,"AES-128"==k)d=!0;else if(k=g.na("KEYFORMAT")||"identity",g=(k=Ur[k])?k(g,b):null){if(g.keyIds){k=m(g.keyIds);for(var l=k.next();!l.done;l=k.next())f.add(l.value)}e.push(g)}}return{drmInfos:e,keyIds:f,encrypted:a,kU:d}}
788function Xfa(a,b,c){if(!window.crypto||!window.crypto.subtle)throw lb("Web Crypto API is not available to decrypt AES-128. (Web Crypto only exists in secure origins like https)"),new Bb(2,4,4042);var d=0,e=b.na("IV","");if(e){var f=zf(e.substr(2));if(16!=f.byteLength)throw new Bb(2,4,4043);}else d=kr(c.g,"EXT-X-MEDIA-SEQUENCE");b=lr(c.h,er(b,"URI"));var g=Zh([b],a.V.retryParameters),k={method:"AES-128",iv:f,firstMediaSequenceNumber:d,fetchKey:function(){var l,n,q;return r(function(t){if(1==t.g)return p(t,
789Zr(a,g,6),2);
789if(3!=t.g){l=t.h;if(!l.data||16!=l.data.byteLength)throw new Bb(2,4,4044);n={name:"AES-CBC"};q=k;return p(t,window.crypto.subtle.importKey("raw",l.data,n,!0,["decrypt"]),3)}q.cryptoKey=t.h;k.fetchKey=void 0;ua(t)})}};return k}
790function Yr(a,b){var c=jr(b.g,"EXT-X-PLAYLIST-TYPE"),d=jr(b.g,"EXT-X-ENDLIST");d=c&&"VOD"==c.value||d;c=c&&"EVENT"==c.value&&!d;c=!d&&!c;if(d)Ar(a,xr);else{c?Ar(a,Pr):Ar(a,Yfa);d=jr(b.g,"EXT-X-TARGETDURATION");if(!d)throw new Bb(2,4,4024,"EXT-X-TARGETDURATION");d=Number(d.value);c=jr(b.g,"EXT-X-PART-INF");a.h&&c?(a.Ua=Number(er(c,"PART-TARGET")),a.T=Math.min(a.Ua,a.T),b=jr(b.g,"EXT-X-SERVER-CONTROL"),a.M=b?Number(er(b,"PART-HOLD-BACK")):0):a.T=Math.min(d,a.T);a.Z=Math.max(d,a.Z)}}
791function Mr(a){var b=a.V.defaultPresentationDelay?a.V.defaultPresentationDelay:a.M?a.M:a.Z*a.V.hls.liveSegmentsDelay;a.g.dP(0);a.g.$O(b);a.g.uv(!1)}function Zfa(a,b,c,d){c=jr(c,"EXT-X-MAP");if(!c)return null;var e=er(c,"URI");d=Vr(lr(b,e),d);b=[d,c.na("BYTERANGE","")].join("-");a.Ia.has(b)||(c=$fa(d,c),a.Ia.set(b,c));return a.Ia.get(b)}function $fa(a,b){var c=0,d=null;if(b=b.na("BYTERANGE"))c=b.split("@"),d=Number(c[0]),c=Number(c[1]),d=c+d-1;return new Nk(function(){return[a]},c,d)}
792function aga(a,b,c,d,e,f,g,k,l,n){var q=d.g,t=Vr(d.j,f),u=jr(q,"EXTINF"),v=f=0,y=null;d.h.length&&!a.h&&lb("Low-latency HLS live stream detected, but low-latency streaming mode is not enabled in Shaka Player. Set streaming.lowLatencyMode configuration to true, and see https://bit.ly/3clctcj for details.");var G=null;if(!a.V.hls.ignoreManifestProgramDateTime){var K=jr(q,"EXT-X-PROGRAM-DATE-TIME");K&&K.value&&(G=Ti(K.value))}K=Pk;jr(q,"EXT-X-GAP")&&(K=2);if(!u){if(0==d.h.length)throw new Bb(2,4,4024,
793"EXTINF");if(!a.h)return null}var J=[];if(a.h)for(var O={},P=0;P<d.h.length;O={oB:O.oB},P++){var Q=d.h[P],R=0==P?c:J[J.length-1],aa=0==P?e:R.endTime,fa=Number(Q.na("DURATION"))||a.Ua;if(fa){fa=aa+fa;var za=0,Aa=null;"EXT-X-PRELOAD-HINT"==Q.name?za=(za=Q.na("BYTERANGE-START"))?Number(za):0:(za=Q.na("BYTERANGE"),Aa=m(bga(R,za)),za=Aa.next().value,Aa=Aa.next().value);if(R=Q.na("URI"))O.oB=lr(g,R),R=Pk,"YES"==Q.na("GAP")&&(R=2),J.push(new Ok(aa,fa,function(Va){return function(){return[Va.oB]}}(O),za,
794Aa,b,0,0,Infinity,[],"",null,null,R))}}u?f=e+Number(u.value.split(",")[0]):f=J[J.length-1].endTime;(a=jr(q,"EXT-X-BYTERANGE"))?(y=m(bga(c,a.value)),v=y.next().value,y=y.next().value):J.length&&(v=J[0].Zi,y=J[J.length-1].zg);c="";a=null;"image"==k&&(c="1x1",k=jr(q,"EXT-X-TILES"))&&(c=er(k,"LAYOUT"),(k=k.na("DURATION"))&&(a=Number(k)));return new Ok(e,f,function(){return t.length?[t]:[]},v,y,b,l,0,Infinity,J,c,a,G,K,n)}
795function bga(a,b){var c=0,d=null;b&&(c=b.split("@"),b=Number(c[0]),c=c[1]?Number(c[1]):a.zg+1,d=c+b-1);return[c,d]}
796function Er(a,b,c,d,e){var f=b.segments,g=void 0,k=kr(b.g,"EXT-X-DISCONTINUITY-SEQUENCE"),l=kr(b.g,"EXT-X-MEDIA-SEQUENCE"),n=jr(b.g,"EXT-X-SKIP");n=n?Number(n.na("SKIPPED-SEGMENTS")):0;var q=l+n,t=0;yr(a)&&d.has(q)&&(t=d.get(q));for(var u=[],v=null,y=t,G=0;G<f.length;G++){var K=f[G],J=0==G?t:v.endTime;q=l+n+G;jr(K.g,"EXT-X-DISCONTINUITY")&&(k++,y=J);var O=m(K.g);for(var P=O.next();!P.done;P=O.next())P=P.value,"EXT-X-KEY"==P.name&&("AES-128"==er(P,"METHOD")?g=Xfa(a,P,b):g=void 0);d.set(q,J);O=Zfa(a,
797b.h,K.g,e);!a.h&&a.La.isAutoLowLatencyMode()&&(a.La.enableLowLatencyMode(),a.h=a.La.isLowLatencyMode());if(v=K=aga(a,O,v,K,J,e,b.h,c,y,g))K.o=k,a.V.hls.ignoreManifestProgramDateTime&&null!=a.s&&q<a.s||u.push(K)}if(b=u.some(function(Q){return null!=Q.g}))for(c={},d=0;d<u.length;c={ps:c.ps,os:c.os,dw:c.dw,Ml:c.Ml,hs:c.hs},d++)if(c.Ml=u[d],null==c.Ml.g)for(c.os=0,c.ps=d,e=function(Q){return function(){var R=u[Q.ps];if(R){if(null!=R.g)return R.g+Q.os;Q.os-=R.endTime-R.startTime;Q.ps+=1}return null}}(c),
798c.hs=0,c.dw=d,f=function(Q){return function(){var R=u[Q.dw];if(R){R!=Q.Ml&&(Q.hs+=R.endTime-R.startTime);if(null!=R.g)return R.g+Q.hs;--Q.dw}return null}}(c);null==c.Ml.g;)c.Ml.g=f(),null==c.Ml.g&&(c.Ml.g=e());if(b)for(c=m(u),d=c.next();!d.done;d=c.next())for(e=d.value,d=e.g,e=m(e.j),f=e.next();!f.done;f=e.next())f=f.value,f.g=d,d+=f.endTime-f.startTime;a=a.L;if(b&&Infinity!=a)for(b=m(u),d=b.next();!d.done;d=b.next())d.value.xH(a);return u}
799function Vr(a,b){a=String(a).replace(/%7B/g,"{").replace(/%7D/g,"}");var c=a.match(/{\$\w*}/g);if(c){c=m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=d.slice(2,d.length-1),f=b.get(e);if(f)a=a.replace(d,f);else throw new Bb(2,4,4039,e);}}return a}function Sr(a,b){if(a==Se){if("vtt"==b||"wvtt"==b)return"text/vtt";if(b&&""!==b)return"application/mp4"}return"image"!=a||b&&"jpeg"!=b?"audio"==a&&"mp4a.40.34"==b?"audio/mpeg":null:"image/jpeg"}
800function Tr(a){return a==Se?"text/vtt":cga[a].mp4}function Wfa(a,b,c,d,e){var f,g,k,l,n,q,t,u,v,y;return r(function(G){if(1==G.g){f=ci;g=Math.trunc((d.segments.length-1)/2);k=Vr(d.segments[g].j,e);l=new ue(k);n=l.g.split(".").pop();q=cga[b];
800if((t=q[n])||(t=Gr[n])||(t=Sr(b,c)))return G.return(t);u=Zh([k],a.V.retryParameters);u.method="HEAD";return p(G,Zr(a,u,f),2)}v=G.h;return(y=v.headers["content-type"])?G.return(y.split(";")[0]):G.return(Tr(b))})}
801h.Lo=function(a){a=Zh([a],this.V.retryParameters);this.La.modifyManifestRequest(a,{format:"h"});return Zr(this,a,0)};h.Gu=function(){var a=this,b,c;return r(function(d){if(1==d.g){if(!a.La)return d.return();va(d,2);return p(d,a.update(),4)}if(2!=d.g)return yr(a)&&(b=a.TA,a.Sm.Hc(b)),xa(d,0);c=ya(d);if(!a.La)return d.return();c.severity=1;a.La.onError(c);a.Sm.Hc(.1);ua(d)})};function yr(a){return a.cb!=xr}function Ar(a,b){a.cb=b;a.g&&a.g.uv(!yr(a));yr(a)||a.Sm.stop()}
802function Zr(a,b,c){if(!a.u)throw new Bb(2,7,7001);b=a.La.networkingEngine.request(c,b);Uh(a.u,b);return b.promise}fb("shaka.hls.HlsParser",wr);
803var Gr={aac:"audio/aac",ac3:"audio/ac3",ec3:"audio/ec3",mp3:"audio/mpeg"},Hr={mp4:"audio/mp4",mp4a:"audio/mp4",m4s:"audio/mp4",m4i:"audio/mp4",m4a:"audio/mp4",m4f:"audio/mp4",cmfa:"audio/mp4",ts:"video/mp2t",tsa:"video/mp2t"},Ir={mp4:"video/mp4",mp4v:"video/mp4",m4s:"video/mp4",m4i:"video/mp4",m4v:"video/mp4",m4f:"video/mp4",cmfv:"video/mp4",ts:"video/mp2t",tsv:"video/mp2t"},cga={audio:Hr,video:Ir,text:{mp4:"application/mp4",m4s:"application/mp4",m4i:"application/mp4",m4f:"application/mp4",cmft:"application/mp4",
804vtt:"text/vtt",webvtt:"text/vtt",ttml:"application/ttml+xml"},image:{jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",webp:"image/webp",avif:"image/avif"}},Ur={"com.apple.streamingkeydelivery":function(a,b){if("video/mp2t"==b)throw new Bb(2,4,4040);if(window.shakaMediaKeysPolyfill)throw new Bb(2,4,4041);return Pe("com.apple.fps",[{initDataType:"sinf",initData:new Uint8Array(0),keyId:null}])},"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":function(a){var b=er(a,"METHOD");if(!["SAMPLE-AES","SAMPLE-AES-CTR"].includes(b))return null;
805b=er(a,"URI");b=vr(b);b=wb(b.data);b=Pe("com.widevine.alpha",[{initDataType:"cenc",initData:b}]);if(a=a.na("KEYID"))b.keyIds=new Set([a.toLowerCase().substr(2)]);return b},"com.microsoft.playready":function(a){var b=er(a,"METHOD");if(!["SAMPLE-AES","SAMPLE-AES-CTR"].includes(b))return null;a=er(a,"URI");a=vr(a);a=wb(a.data);a=Di(a,new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),new Set,0);return Pe("com.microsoft.playready",[{initDataType:"cenc",initData:a}])},identity:function(a){a=
806er(a,"METHOD");return["SAMPLE-AES","SAMPLE-AES-CTR"].includes(a)?Pe("org.w3.clearkey",null):null}},xr="VOD",Yfa="EVENT",Pr="LIVE",Lfa={WT:xr,Fba:Yfa,KT:Pr};df("Tizen 3")||df("Tizen 2")||ff()||(xj.m3u8=function(){return new wr},vj["application/x-mpegurl"]=function(){return new wr},vj["application/vnd.apple.mpegurl"]=function(){return new wr});function dga(a,b,c,d,e,f){if(200<=c&&299>=c&&202!=c)return{uri:e||d,originalUri:d,data:b,status:c,headers:a,fromCache:!!a["x-shaka-from-cache"]};e=null;try{e=sf(b)}catch(g){}throw new Bb(401==c||403==c?2:1,1,1001,d,c,e,a,f);};function $r(){}function as(a,b,c,d,e){var f=new ega;li(b.headers).forEach(function(n,q){f.append(q,n)});var g=new fga,k={wJ:!1,wS:!1};a=gga(a,c,{body:b.body||void 0,headers:f,method:b.method,signal:g.signal,credentials:b.allowCrossSiteCredentials?"include":void 0},k,d,e,b.streamDataCallback);a=new Eh(a,function(){k.wJ=!0;g.abort();return Promise.resolve()});if(b=b.retryParameters.timeout){var l=new Xe(function(){k.wS=!0;g.abort()});l.Hc(b/1E3);a.finally(function(){l.stop()})}return a}
807function gga(a,b,c,d,e,f,g){var k,l,n,q,t,u,v,y,G,K,J,O,P;return r(function(Q){switch(Q.g){case 1:return k=hga,l=iga,u=t=0,v=Date.now(),va(Q,2),p(Q,k(a,c),4);case 4:n=Q.h;f(jga(n.headers));if("HEAD"==c.method){Q.ua(5);break}y=n.clone().body.getReader();K=(G=n.headers.get("Content-Length"))?parseInt(G,10):0;J=function(R){function aa(){var fa,za;return r(function(Aa){switch(Aa.g){case 1:return va(Aa,2),p(Aa,y.read(),4);case 4:fa=Aa.h;xa(Aa,3);break;case 2:return ya(Aa),Aa.return();case 3:if(fa.done){Aa.ua(5);
808break}t+=fa.value.byteLength;if(!g){Aa.ua(5);break}return p(Aa,g(fa.value),5);case 5:za=Date.now();if(100<za-v||fa.done)e(za-v,t-u,K-t),u=t,v=za;fa.done?R.close():(R.enqueue(fa.value),aa());ua(Aa)}})}aa()};new l({start:J});return p(Q,n.arrayBuffer(),6);case 6:q=Q.h;case 5:xa(Q,3);break;case 2:O=ya(Q);if(d.wJ)throw new Bb(1,1,7001,a,b);if(d.wS)throw new Bb(1,1,1003,a,b);throw new Bb(1,1,1002,a,O,b);case 3:return P=jga(n.headers),Q.return(dga(P,q,n.status,a,n.url,b))}})}
809function jga(a){var b={};a.forEach(function(c,d){b[d.trim()]=c});return b}function kga(){if(window.ReadableStream)try{new ReadableStream({})}catch(a){return!1}else return!1;if(window.Response){if(!(new Response("")).body)return!1}else return!1;return!(!window.fetch||!window.AbortController)}fb("shaka.net.HttpFetchPlugin",$r);$r.isSupported=kga;$r.parse=as;var hga=window.fetch,fga=window.AbortController,iga=window.ReadableStream,ega=window.Headers;
810kga()&&(Wh("http",as,2,!0),Wh("https",as,2,!0),Wh("blob",as,2,!0));function lga(){}
811function bs(a,b,c,d,e){var f=new mga,g=Date.now(),k=0,l=new Promise(function(n,q){f.open(b.method,a,!0);f.responseType="arraybuffer";f.timeout=b.retryParameters.timeout;f.withCredentials=b.allowCrossSiteCredentials;f.onabort=function(){q(new Bb(1,1,7001,a,c))};var t=!1;f.onreadystatechange=function(){if(2==f.readyState&&!t){var v=nga(f);e(v);t=!0}};f.onload=function(){var v=nga(f),y=f.response;try{var G=dga(v,y,f.status,a,f.responseURL,c);n(G)}catch(K){q(K)}};f.onerror=function(v){q(new Bb(1,1,1002,
812a,v,c))};f.ontimeout=function(){q(new Bb(1,1,1003,a,c))};f.onprogress=function(v){var y=Date.now();if(100<y-g||v.lengthComputable&&v.loaded==v.total)d(y-g,v.loaded-k,v.total-v.loaded),k=v.loaded,g=y};for(var u in b.headers)f.setRequestHeader(u.toLowerCase(),b.headers[u]);f.send(b.body)});return new Eh(l,function(){f.abort();return Promise.resolve()})}
813function nga(a){var b=a.getAllResponseHeaders().trim().split("\r\n");a={};b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value.split(": "),a[c[0].toLowerCase()]=c.slice(1).join(": ");return a}fb("shaka.net.HttpXHRPlugin",lga);lga.parse=bs;var mga=window.XMLHttpRequest;Wh("http",bs,1,!0);Wh("https",bs,1,!0);Wh("blob",bs,1,!0);function cs(a,b,c,d){this.g=a;this.l=b;this.j=c;this.o=d;this.h=["offline:",a,"/",b,"/",c,"/",d].join("")}cs.prototype.Oi=function(){return this.l};cs.prototype.yg=function(){return this.j};cs.prototype.key=function(){return this.o};cs.prototype.toString=function(){return this.h};
814function ds(a){a=/^offline:([a-z]+)\/([^/]+)\/([^/]+)\/([0-9]+)$/.exec(a);if(null==a)return null;var b=a[1];if("manifest"!=b&&"segment"!=b)return null;var c=a[2];
814if(!c)return null;var d=a[3];return d&&null!=b?new cs(b,c,d,Number(a[4])):null};function oga(a,b){this.h=a;this.g=b}
815function pga(a,b){var c=new wl(null,0);c.Ti(b.duration);var d=b.streams.filter(function(n){return"audio"==n.type}),e=b.streams.filter(function(n){return"video"==n.type});d=qga(a,d,e,c);e=b.streams.filter(function(n){return n.type==Se}).map(function(n){return es(a,n,c)});var f=b.streams.filter(function(n){return"image"==n.type}).map(function(n){return es(a,n,c)}),g=b.drmInfo?[b.drmInfo]:[];if(b.drmInfo)for(var k=m(d.values()),l=k.next();!l.done;l=k.next())l=l.value,l.audio&&l.audio.encrypted&&(l.audio.drmInfos=
816g),l.video&&l.video.encrypted&&(l.video.drmInfos=g);return{presentationTimeline:c,minBufferTime:2,offlineSessionIds:b.sessionIds,variants:Array.from(d.values()),textStreams:e,imageStreams:f,sequenceMode:b.sequenceMode||!1}}
817function qga(a,b,c,d){for(var e=new Set,f=m(b),g=f.next();!g.done;g=f.next()){var k=m(g.value.variantIds);for(g=k.next();!g.done;g=k.next())e.add(g.value)}f=m(c);for(g=f.next();!g.done;g=f.next())for(k=m(g.value.variantIds),g=k.next();!g.done;g=k.next())e.add(g.value);f=new Map;e=m(e);for(g=e.next();!g.done;g=e.next())g=g.value,f.set(g,{id:g,language:"",disabledUntilTime:0,primary:!1,audio:null,video:null,bandwidth:0,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]});b=m(b);for(e=b.next();!e.done;e=
818b.next())for(e=e.value,g=es(a,e,d),k=m(e.variantIds),e=k.next();!e.done;e=k.next())e=f.get(e.value),e.language=g.language,e.primary=e.primary||g.primary,e.audio=g;c=m(c);for(b=c.next();!b.done;b=c.next())for(e=b.value,b=es(a,e,d),g=m(e.variantIds),e=g.next();!e.done;e=g.next())e=f.get(e.value),e.primary=e.primary||b.primary,e.video=b;return f}
819function es(a,b,c){var d=b.segments.map(function(e){return rga(a,e)});c.dr(d);return{id:b.id,originalId:b.originalId,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:new Zl(d),mimeType:b.mimeType,codecs:b.codecs,width:b.width||void 0,height:b.height||void 0,frameRate:b.frameRate,pixelAspectRatio:b.pixelAspectRatio,hdr:b.hdr,kind:b.kind,encrypted:b.encrypted,drmInfos:[],keyIds:b.keyIds,language:b.language,label:b.label,type:b.type,primary:b.primary,trickModeVideo:null,emsgSchemeIdUris:null,
820roles:b.roles,forced:b.forced,channelsCount:b.channelsCount,audioSamplingRate:b.audioSamplingRate,spatialAudio:b.spatialAudio,closedCaptions:b.closedCaptions,tilesLayout:b.tilesLayout}}function rga(a,b){var c=new cs("segment",a.h,a.g,b.dataKey);return new Ok(b.startTime,b.endTime,function(){return[c.toString()]},0,null,null!=b.initSegmentKey?sga(a,b.initSegmentKey):null,b.timestampOffset,b.appendWindowStart,b.appendWindowEnd,[],b.tilesLayout||"")}
821function sga(a,b){var c=new cs("segment",a.h,a.g,b);return new Nk(function(){return[c.toString()]},0,null)};function fs(){this.g=new Map}fs.prototype.destroy=function(){for(var a=[],b=m(this.g.values()),c=b.next();!c.done;c=b.next())a.push(c.value.destroy());this.g.clear();return Promise.all(a)};fs.prototype.init=function(){var a=this;gs.forEach(function(e,f){(e=e())&&a.g.set(f,e)});for(var b=[],c=m(this.g.values()),d=c.next();!d.done;d=c.next())b.push(d.value.init());return Promise.all(b)};
822function tga(a){var b=null;
822a.g.forEach(function(c,d){c.getCells().forEach(function(e,f){e.hasFixedKeySpace()||b||(b={path:{Oi:d,yg:f},yg:e})})});if(b)return b;throw new Bb(2,9,9013,"Could not find a cell that supports add-operations");}function uga(a,b){a.g.forEach(function(c,d){c.getCells().forEach(function(e,f){b({Oi:d,yg:f},e)})})}
823function hs(a,b,c){a=a.g.get(b);if(!a)throw new Bb(2,9,9013,"Could not find mechanism with name "+b);b=a.getCells().get(c);if(!b)throw new Bb(2,9,9013,"Could not find cell with name "+c);return b}function vga(a,b){a.g.forEach(function(c){b(c.getEmeSessionCell())})}function wga(a){var b=Array.from(a.g.keys());if(!b.length)throw new Bb(2,9,9E3,"No supported storage mechanisms found");return a.g.get(b[0]).getEmeSessionCell()}
824function xga(a){var b,c,d;return r(function(e){return 1==e.g?(b=Array.from(a.g.values()),c=0<b.length,c||(d=gs,d.forEach(function(f){(f=f())&&b.push(f)})),p(e,Promise.all(b.map(function(f){return f.erase()})),2)):c?e.ua(0):p(e,Promise.all(b.map(function(f){return f.destroy()})),0)})}function yga(a,b){gs.set(a,b)}fb("shaka.offline.StorageMuxer",fs);fs.unregister=function(a){gs.delete(a)};fs.register=yga;fs.prototype.destroy=fs.prototype.destroy;var gs=new Map;function zga(){this.g=null}h=zga.prototype;h.configure=function(){};
825h.start=function(a,b){var c=this,d,e,f,g,k,l,n;return r(function(q){switch(q.g){case 1:d=ds(a);c.g=d;if(null==d||"manifest"!=d.g)throw new Bb(2,1,9004,a);e=new fs;wa(q,2);return p(q,e.init(),4);case 4:return p(q,hs(e,d.Oi(),d.yg()),5);case 5:return f=q.h,p(q,f.getManifests([d.key()]),6);case 6:return g=q.h,k=g[0],l=new oga(d.Oi(),d.yg()),n=pga(l,k),b.makeTextStreamsForClosedCaptions(n),q.return(n);case 2:return Ba(q),p(q,e.destroy(),7);case 7:Ca(q,0)}})};h.stop=function(){return Promise.resolve()};
826h.update=function(){};
827h.onExpirationUpdated=function(a,b){var c=this,d,e,f,g,k,l,n;return r(function(q){switch(q.g){case 1:return d=c.g,e=new fs,va(q,2,3),p(q,e.init(),5);case 5:return p(q,hs(e,d.Oi(),d.yg()),6);case 6:return f=q.h,p(q,f.getManifests([d.key()]),7);case 7:g=q.h;k=g[0];l=k.sessionIds.includes(a);n=void 0==k.expiration||k.expiration>b;if(!l||!n){q.ua(3);break}return p(q,f.updateManifestExpiration(d.key(),b),3);case 3:return Ba(q),p(q,e.destroy(),10);case 10:Ca(q,0);break;case 2:ya(q),q.ua(3)}})};
828vj["application/x-offline-manifest"]=function(){return new zga};function Aga(){}function Bga(a){var b=ds(a);b&&"manifest"==b.g?(a={uri:a,originalUri:a,data:new ArrayBuffer(0),headers:{"content-type":"application/x-offline-manifest"}},a=Hh(a)):a=b&&"segment"==b.g?Cga(b.key(),b):Fh(new Bb(2,1,9004,a));return a}
829function Cga(a,b){var c=new fs;return Hh(void 0).pf(function(){return c.init()}).pf(function(){return hs(c,b.Oi(),b.yg())}).pf(function(d){return d.getSegments([b.key()])}).pf(function(d){return{uri:b,data:d[0].data,headers:{}}}).finally(function(){return c.destroy()})}fb("shaka.offline.OfflineScheme",Aga);Aga.plugin=Bga;Wh("offline",Bga);function Dga(a,b,c,d){this.g=a;this.j=b;this.groupId=c;this.h=d}function is(a){return a.Fi().map(function(b){return"{"+encodeURI(b)+"}"}).join("")+":"+a.Zi+":"+a.zg}function Ega(a,b){return nm(a.g.Fi(),a.g.Zi,a.g.zg,b.streaming.retryParameters)};function Fga(){this.g=this.o=this.h=0;this.j=new Map;this.l=0}function Gga(a,b){a.h+=b;var c=a.l;a.l++;a.j.set(c,b);return c}Fga.prototype.close=function(a,b){if(this.j.has(a)){var c=this.j.get(a);this.j.delete(a);this.o+=c;this.g+=b}};function Hga(a){var b=this;this.Zc=a;this.u=new Map;this.Rb=new di(function(){return js(b).catch(function(){})});this.g=[];this.NN=function(){};this.HN=function(){};this.jq=new Fga}Hga.prototype.destroy=function(){return this.Rb.destroy()};function Iga(a,b,c){a.NN=b;a.HN=c}function js(a){var b=a.g.map(function(c){return c()});a.g=[];return Promise.all(b)}
830function Jga(a,b,c,d,e,f){ei(a.Rb);var g=(a.u.get(b)||Promise.resolve()).then(function(){var k,l,n,q,t,u,v;return r(function(y){if(1==y.g)return p(y,Kga(a,c),2);k=y.h;if(a.Rb.g)throw new Bb(2,9,7001);if(e)for(q in l=wb(k),n=new Ci(l),n.data)t=Number(q),u=n.data[t],v=n.g[t],a.HN(u,v);a.jq.close(d,k.byteLength);var G=a.jq;a.NN(0==G.h?0:G.o/G.h,a.jq.g);return y.return(f(k))})});a.u.set(b,g)}function Lga(a){return r(function(b){return 1==b.g?p(b,Promise.all(a.u.values()),2):b.return(a.jq.g)})}
831function Kga(a,b){var c,d,e,f;return r(function(g){if(1==g.g)return c=ci,d=a.Zc.request(c,b),e=function(){return d.abort()},a.g.push(e),p(g,d.promise,2);f=g.h;gg(a.g,e);return g.return(f.data)})};function Mga(a,b,c){var d,e,f,g,k,l;return r(function(n){switch(n.g){case 1:d=[];
831for(var q=[],t=m(c),u=t.next();!u.done;u=t.next()){u=u.value;for(var v=!1,y=m(q),G=y.next();!G.done;G=y.next())if(G=G.value,Nga(G.info,u)){G.sessionIds.push(u.sessionId);v=!0;break}v||q.push({info:u,sessionIds:[u.sessionId]})}e=m(q);f=e.next();case 2:if(f.done){n.ua(4);break}g=f.value;k=Oga(a,b,g);return p(n,k,5);case 5:l=n.h;d=d.concat(l);f=e.next();n.ua(2);break;case 4:return n.return(d)}})}
832function Oga(a,b,c){var d,e;return r(function(f){switch(f.g){case 1:return d=new aj({xo:b,onError:function(){},hz:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),va(f,2),d.configure(a),p(f,Yba(d,c.info.keySystem,c.info.licenseUri,c.info.serverCertificate,c.info.audioCapabilities,c.info.videoCapabilities),4);case 4:xa(f,3);break;case 2:return ya(f),p(f,d.destroy(),5);case 5:return f.return([]);case 3:return va(f,6),p(f,kj(d),8);case 8:xa(f,7);break;case 6:return ya(f),p(f,d.destroy(),
8339);case 9:return f.return([]);case 7:return e=[],p(f,Promise.all(c.sessionIds.map(function(g){return r(function(k){if(1==k.g)return va(k,2),p(k,cca(d,g),4);if(2!=k.g)return e.push(g),xa(k,0);ya(k);ua(k)})})),10);case 10:return p(f,d.destroy(),11);case 11:return f.return(e)}})}
834function Nga(a,b){function c(d,e){return d.robustness==e.robustness&&d.contentType==e.contentType}return a.keySystem==b.keySystem&&a.licenseUri==b.licenseUri&&hg(a.audioCapabilities,b.audioCapabilities,c)&&hg(a.videoCapabilities,b.videoCapabilities,c)};function Pga(a,b,c){var d=b.presentationTimeline.getDuration();b=Qga(b);return{offlineUri:null,originalManifestUri:a,duration:d,size:0,expiration:Infinity,tracks:b,appMetadata:c,isIncomplete:!1}}function ks(a,b){var c=pga(new oga(a.Oi(),a.yg()),b),d=b.appMetadata||{};c=Qga(c);return{offlineUri:a.toString(),originalManifestUri:b.originalManifestUri,duration:b.duration,size:b.size,expiration:b.expiration,tracks:c,appMetadata:d,isIncomplete:b.isIncomplete||!1}}
835function Qga(a){var b=[],c=Eba(a.variants);c=m(c);for(var d=c.next();!d.done;d=c.next())b.push(bh(d.value));a=m(a.textStreams);for(c=a.next();!c.done;c=a.next())b.push(ch(c.value));return b};function Rga(){this.g={}}function Sga(a,b){var c=b.audio,d=b.video;c&&!d&&(a.g[c.id]=c.bandwidth||b.bandwidth);!c&&d&&(a.g[d.id]=d.bandwidth||b.bandwidth);if(c&&d){var e=c.bandwidth||393216,f=d.bandwidth||b.bandwidth-e;0>=f&&(f=b.bandwidth);a.g[c.id]=e;a.g[d.id]=f}}function Tga(a,b){a.g[b.id]=b.bandwidth||2048}function Uga(a,b){a=a.g[b];null==a&&(a=0);return a};function ls(a){var b=this;if(a&&a.constructor!=Hn)throw new Bb(2,9,9008);this.Zc=this.V=null;a?(this.V=a.V,this.Zc=a.Tt()):(this.V=Bn(),this.Zc=new Vh);this.Hu=[];this.iF=[];var c=!a;this.Rb=new di(function(){var d,e,f,g,k;return r(function(l){switch(l.g){case 1:return p(l,Promise.all(b.iF.map(function(n){return js(n)})),2);case 2:d=function(){};e=[];f=m(b.Hu);for(g=f.next();!g.done;g=f.next())k=g.value,e.push(k.then(d,d));return p(l,Promise.all(e),3);case 3:if(!c){l.ua(4);break}return p(l,b.Zc.destroy(),
8364);case 4:b.V=null,b.Zc=null,ua(l)}})})}function ms(){if(Ye())a:{var a=m(gs.values());for(var b=a.next();!b.done;b=a.next())if(b=b.value,b=b()){b.destroy();a=!0;break a}a=!1}else a=!1;return a}h=ls.prototype;h.destroy=function(){return this.Rb.destroy()};h.configure=function(a,b){2==arguments.length&&"string"==typeof a&&(a=on(a,b));return Cn(this.V,a)};h.getConfiguration=function(){var a=Bn();Cn(a,this.V,Bn());return a};h.Tt=function(){return this.Zc};
837h.store=function(a,b,c){var d=this,e=this.getConfiguration(),f=new Hga(this.Zc);this.iF.push(f);b=Vga(this,a,b||{},function(){var g;return r(function(k){if(1==k.g)return p(k,uj(a,d.Zc,e.manifest.retryParameters,c||null),2);g=k.h;return k.return(g())})},e,f);b=new Eh(b,function(){return js(f)});b.finally(function(){gg(d.iF,f)});return Wga(this,b)};
838function Vga(a,b,c,d,e,f){var g,k,l,n,q,t,u,v,y,G,K,J,O,P;return r(function(Q){switch(Q.g){case 1:return ns(),k=g=null,l=new fs,t=q=n=null,va(Q,2,3),p(Q,d(),5);case 5:return g=Q.h,p(Q,Xga(a,b,g,e),6);case 6:u=Q.h;os(a);v=!u.presentationTimeline.nd()&&!u.presentationTimeline.io();if(!v)throw new Bb(2,9,9005,b);return p(Q,Yga(a,u,function(R){t=t||R},e),7);case 7:k=Q.h;os(a);if(t)throw t;return p(Q,Zga(u,e),8);
838case 8:return p(Q,l.init(),9);case 9:return os(a),p(Q,tga(l),10);case 10:return n=Q.h,os(a),
839y=$ga(k,u,b,c,e,f),G=y.C0,K=y.AH,p(Q,n.yg.addManifests([G]),11);case 11:J=Q.h;os(a);q=J[0];os(a);if(t)throw t;return p(Q,aha(a,K,q,G,f,e,n.yg,u,k),12);case 12:return os(a),O=new cs("manifest",n.path.Oi,n.path.yg,q),Q.return(ks(O,G));case 3:return Ba(Q),p(Q,l.destroy(),13);case 13:if(!g){Q.ua(14);break}return p(Q,g.stop(),14);case 14:if(!k){Q.ua(16);break}return p(Q,k.destroy(),16);case 16:Ca(Q,0);break;case 2:P=ya(Q);if(null==q){Q.ua(18);break}return p(Q,bha(q),18);case 18:throw t||P;}})}
840function aha(a,b,c,d,e,f,g,k,l){var n,q,t,u,v,y,G,K,J,O;return r(function(P){switch(P.g){case 1:n={};q=0;t=function(Q,R){var aa,fa,za,Aa,Va,Ja,ab;return r(function(Xa){if(1==Xa.g){aa={};fa=m(Q);for(za=fa.next();!za.done;aa={Xm:aa.Xm},za=fa.next())aa.Xm=za.value,Aa=Ega(aa.Xm,f),Va=aa.Xm.j,Ja=aa.Xm.h,ab=function(Na){return function(Xb){var Lb,Mb,xb;return r(function(zc){if(1==zc.g)return p(zc,g.addSegments([{data:Xb}]),2);Lb=zc.h;os(a);Mb=Na.Xm.g;xb=is(Mb);n[xb]=Lb[0];q+=Xb.byteLength;ua(zc)})}}(aa),
841Jga(e,aa.Xm.groupId,Aa,Va,Ja,ab);return p(Xa,Lga(e),2)}if(!R)return Xa.ua(0);os(a);cha(k,d,l,f);return p(Xa,g.updateManifest(c,d),0)})};u=!1;va(P,2);if(!ps(k)||!u||dha(k)){P.ua(4);break}return p(P,t(b.filter(function(Q){return Q.h}),!0),5);case 5:return os(a),b=b.filter(function(Q){return!Q.h}),v=n,y=q,n={},q=0,p(P,eha(g,c,d,v,y,function(){return os(a)}),6);case 6:os(a);case 4:if(u){P.ua(7);break}return p(P,t(b,!1),8);case 8:return os(a),G=n,K=q,n={},q=0,p(P,eha(g,c,d,G,K,function(){return os(a)}),
8429);case 9:os(a);case 7:xa(P,0);break;case 2:return J=ya(P),O=Object.values(n),p(P,g.removeSegments(O,function(){}),10);case 10:throw J;}})}function bha(a){var b,c,d,e;return r(function(f){switch(f.g){case 1:return b=new fs,p(f,b.init(),2);case 2:return p(f,tga(b),3);case 3:return c=f.h,d=new cs("manifest",c.path.Oi,c.path.yg,a),p(f,b.destroy(),4);case 4:return e=new ls,p(f,e.remove(d.toString()),0)}})}
843function eha(a,b,c,d,e,f){var g,k,l,n,q,t,u,v,y,G,K;return r(function(J){switch(J.g){case 1:g=!1;va(J,2);k=!0;l=m(c.streams);for(n=l.next();!n.done;n=l.next())for(q=n.value,t=m(q.segments),u=t.next();!u.done;u=t.next())v=u.value,y=v.pendingSegmentRefId?d[v.pendingSegmentRefId]:null,null!=y&&(v.dataKey=y,v.pendingSegmentRefId=void 0),y=v.pendingInitSegmentRefId?d[v.pendingInitSegmentRefId]:null,null!=y&&(v.initSegmentKey=y,v.pendingInitSegmentRefId=void 0),v.pendingSegmentRefId&&(k=!1),v.pendingInitSegmentRefId&&
844(k=!1);c.size+=e;k&&(c.isIncomplete=!1);return p(J,a.updateManifest(b,c),4);case 4:g=!0;f();xa(J,0);break;case 2:return G=ya(J),p(J,bha(b),5);case 5:if(g){J.ua(6);break}K=Object.values(d);return p(J,a.removeSegments(K,function(){}),6);case 6:throw G;}})}
845function Zga(a,b){var c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa,Na;return r(function(Xb){switch(Xb.g){case 1:return c={width:Infinity,height:Infinity},wba(a,b.restrictions,c),p(Xb,Tg(a,b.offline.usePersistentLicense),2);case 2:d=[];e=b.preferredAudioChannelCount;f=b.preferredDecodingAttributes;g=b.preferredVideoCodecs;k=b.preferredAudioCodecs;Og(a,g,k,e,f);l=m(a.variants);for(n=l.next();!n.done;n=l.next())q=n.value,d.push(bh(q));t=m(a.textStreams);for(u=t.next();!u.done;u=t.next())v=
846u.value,d.push(ch(v));y=m(a.imageStreams);for(G=y.next();!G.done;G=y.next())K=G.value,d.push(dh(K));return p(Xb,b.offline.trackSelectionCallback(d),3);case 3:J=Xb.h;O=a.presentationTimeline.getDuration();P=0;Q=m(J);for(R=Q.next();!R.done;R=Q.next())aa=R.value,fa=aa.bandwidth*O/8,P+=fa;va(Xb,4);return p(Xb,b.offline.downloadSizeCallback(P),6);case 6:za=Xb.h;if(!za)throw new Bb(2,9,9014);xa(Xb,5);break;case 4:Aa=ya(Xb);if(Aa instanceof Bb)throw Aa;throw new Bb(2,9,9015);case 5:Va=new Set;Ja=new Set;
847ab=new Set;Xa=m(J);for(R=Xa.next();!R.done;R=Xa.next())Na=R.value,"variant"==Na.type&&Va.add(Na.id),"text"==Na.type&&Ja.add(Na.id),"image"==Na.type&&ab.add(Na.id);a.variants=a.variants.filter(function(Lb){return Va.has(Lb.id)});a.textStreams=a.textStreams.filter(function(Lb){return Ja.has(Lb.id)});a.imageStreams=a.imageStreams.filter(function(Lb){return ab.has(Lb.id)});fha(a);ua(Xb)}})}
848function $ga(a,b,c,d,e,f){var g=Pga(c,b,d),k=e.offline.progressCallback;Iga(f,function(v,y){g.size=y;k(g,v)},function(v,y){l&&e.offline.usePersistentLicense&&n==y&&hj(a,"cenc",v)});var l=ps(b)&&!dha(b),n=null;l&&(n=gha.get(a.g.keySystem));for(var q=new Rga,t=m(b.textStreams),u=t.next();!u.done;u=t.next())q.g[u.value.id]=52;t=m(b.imageStreams);for(u=t.next();!u.done;u=t.next())Tga(q,u.value);u=m(b.variants);for(t=u.next();!t.done;t=u.next())Sga(q,t.value);q=hha(f,q,b,e);f=q.streams;q=q.AH;u=a.g;t=
849e.offline.usePersistentLicense;u&&t&&(u.initData=[]);return{C0:{creationTime:Date.now(),originalManifestUri:c,duration:b.presentationTimeline.getDuration(),size:0,expiration:a.Pt(),streams:f,sessionIds:t?oj(a):[],drmInfo:u,appMetadata:d,isIncomplete:!0,sequenceMode:b.sequenceMode},AH:q}}function ps(a){return a.variants.some(function(b){var c=b.audio&&b.audio.encrypted;return b.video&&b.video.encrypted||c})}
850function dha(a){return a.variants.some(function(b){return(b.video?b.video.drmInfos:[]).concat(b.audio?b.audio.drmInfos:[]).some(function(c){return c.initData&&c.initData.length})})}function cha(a,b,c,d){b.expiration=c.Pt();c=oj(c);b.sessionIds=d.offline.usePersistentLicense?c:[];if(ps(a)&&d.offline.usePersistentLicense&&!c.length)throw new Bb(2,9,9007);}h.remove=function(a){return qs(this,iha(this,a))};
851function iha(a,b){var c,d,e,f,g,k;return r(function(l){switch(l.g){case 1:ns();c=ds(b);if(null==c||"manifest"!=c.g)throw new Bb(2,9,9004,b);d=c;
851e=new fs;wa(l,2);return p(l,e.init(),4);case 4:return p(l,hs(e,d.Oi(),d.yg()),5);case 5:return f=l.h,p(l,f.getManifests([d.key()]),6);case 6:return g=l.h,k=g[0],p(l,Promise.all([jha(a,k,e),kha(a,f,d,k)]),2);case 2:return Ba(l),p(l,e.destroy(),8);case 8:Ca(l,0)}})}
852function lha(a,b){for(var c=[],d=m(a.streams),e=d.next();!e.done;e=d.next())e=e.value,b&&"video"==e.type?c.push({contentType:Lf(e.mimeType,e.codecs),robustness:a.drmInfo.videoRobustness}):b||"audio"!=e.type||c.push({contentType:Lf(e.mimeType,e.codecs),robustness:a.drmInfo.audioRobustness});return c}function jha(a,b,c){return r(function(d){return p(d,mha(a.Zc,a.V.drm,c,b),0)})}
853function kha(a,b,c,d){function e(){k+=1;a.V.offline.progressCallback(l,k/g)}var f=nha(d),g=f.length+1,k=0,l=ks(c,d);return Promise.all([b.removeSegments(f,e),b.removeManifests([c.key()],e)])}h.e5=function(){return qs(this,oha(this))};
854function oha(a){var b,c,d,e,f,g,k,l,n,q;return r(function(t){switch(t.g){case 1:return ns(),b=a.Zc,c=a.V.drm,d=new fs,e=!1,wa(t,2),p(t,d.init(),4);case 4:f=[],vga(d,function(u){return f.push(u)}),g=m(f),k=g.next();case 5:if(k.done){t.ua(2);break}l=k.value;return p(t,l.getAll(),8);case 8:return n=t.h,p(t,Mga(c,b,n),9);case 9:return q=t.h,p(t,l.remove(q),10);case 10:q.length!=n.length&&(e=!0);k=g.next();t.ua(5);break;case 2:return Ba(t),p(t,d.destroy(),11);case 11:Ca(t,3);break;case 3:return t.return(!e)}})}
855h.list=function(){return qs(this,pha())};function pha(){var a,b,c;return r(function(d){switch(d.g){case 1:return ns(),a=[],b=new fs,wa(d,2),p(d,b.init(),4);case 4:return c=Promise.resolve(),uga(b,function(e,f){c=c.then(function(){var g;return r(function(k){if(1==k.g)return p(k,f.getAllManifests(),2);g=k.h;g.forEach(function(l,n){l=ks(new cs("manifest",e.Oi,e.yg,n),l);a.push(l)});ua(k)})})}),p(d,c,2);case 2:return Ba(d),p(d,b.destroy(),6);case 6:Ca(d,3);break;case 3:return d.return(a)}})}
856function Xga(a,b,c,d){var e,f,g,k,l;return r(function(n){if(1==n.g)return e=null,f=a.Zc,g={networkingEngine:f,modifyManifestRequest:function(){},modifySegmentRequest:function(){},filter:function(){return Promise.resolve()},makeTextStreamsForClosedCaptions:function(){},onTimelineRegionAdded:function(){},onEvent:function(){},onError:function(q){e=q},isLowLatencyMode:function(){return!1},isAutoLowLatencyMode:function(){return!1},enableLowLatencyMode:function(){},updateDuration:function(){},newDrmInfo:function(){}},
857c.configure(d.manifest),os(a),p(n,c.start(b,g),2);if(3!=n.g)return k=n.h,os(a),l=qha(k),p(n,Promise.all(ii(l,function(q){return q.createSegmentIndex()})),3);os(a);if(e)throw e;return n.return(k)})}
858function Yga(a,b,c,d){var e;return r(function(f){switch(f.g){case 1:return e=new aj({xo:a.Zc,onError:c,hz:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),e.configure(d.drm),p(f,Xba(e,b.variants,d.offline.usePersistentLicense),2);case 2:return p(f,kj(e),3);case 3:return p(f,jj(e),4);case 4:return f.return(e)}})}
859function hha(a,b,c,d){var e=new Map,f=qha(c),g=new Map;f=m(f);for(var k=f.next();!k.done;k=f.next()){k=k.value;var l=rha(a,b,c,k,d,e);g.set(k.id,l)}a=m(c.variants);for(b=a.next();!b.done;b=a.next())b=b.value,b.audio&&g.get(b.audio.id).variantIds.push(b.id),b.video&&g.get(b.video.id).variantIds.push(b.id);return{streams:Array.from(g.values()),AH:Array.from(e.values())}}
860function rha(a,b,c,d,e,f){var g={id:d.id,originalId:d.originalId,primary:d.primary,type:d.type,mimeType:d.mimeType,codecs:d.codecs,frameRate:d.frameRate,pixelAspectRatio:d.pixelAspectRatio,hdr:d.hdr,kind:d.kind,language:d.language,label:d.label,width:d.width||null,height:d.height||null,encrypted:d.encrypted,keyIds:d.keyIds,segments:[],variantIds:[],roles:d.roles,forced:d.forced,channelsCount:d.channelsCount,audioSamplingRate:d.audioSamplingRate,spatialAudio:d.spatialAudio,closedCaptions:d.closedCaptions,
861tilesLayout:d.tilesLayout},k=e.offline.numberOfParallelDownloads,l=0;sha(d,c.presentationTimeline.Ck(),function(n){var q=is(n),t=void 0;if(!f.has(q)){var u=n.endTime-n.startTime;u=Uga(b,d.id)*u;u=Gga(a.jq,u);f.set(q,new Dga(n,u,l,!1))}n.h&&(t=is(n.h),f.has(t)||(u=.5*Uga(b,d.id),u=Gga(a.jq,u),f.set(t,new Dga(n.h,u,l,!0))));g.segments.push({pendingInitSegmentRefId:t,initSegmentKey:t?0:null,
861startTime:n.startTime,endTime:n.endTime,appendWindowStart:n.appendWindowStart,appendWindowEnd:n.appendWindowEnd,
862timestampOffset:n.timestampOffset,tilesLayout:n.tilesLayout,pendingSegmentRefId:q,dataKey:0});l=(l+1)%k});return g}function sha(a,b,c){b=a.segmentIndex.find(b);if(null!=b)for(var d=a.segmentIndex.get(b);d;)c(d),d=a.segmentIndex.get(++b)}function os(a){if(a.Rb.g)throw new Bb(2,9,7001);}function ns(){if(!ms())throw new Bb(2,9,9E3);}function qs(a,b){return r(function(c){if(1==c.g)return a.Hu.push(b),wa(c,2),p(c,b,4);if(2!=c.g)return c.return(c.h);Ba(c);gg(a.Hu,b);return Ca(c,0)})}
863function Wga(a,b){var c=b.promise;a.Hu.push(c);return b.finally(function(){gg(a.Hu,c)})}function nha(a){var b=new Set;a=m(a.streams);for(var c=a.next();!c.done;c=a.next()){c=m(c.value.segments);for(var d=c.next();!d.done;d=c.next())d=d.value,null!=d.initSegmentKey&&b.add(d.initSegmentKey),b.add(d.dataKey)}return Array.from(b)}
864function mha(a,b,c,d){var e,f,g;return r(function(k){if(1==k.g){if(!d.drmInfo)return k.return();e=wga(c);f=d.sessionIds.map(function(l){return{sessionId:l,keySystem:d.drmInfo.keySystem,licenseUri:d.drmInfo.licenseServerUri,serverCertificate:d.drmInfo.serverCertificate,audioCapabilities:lha(d,!1),videoCapabilities:lha(d,!0)}});return p(k,Mga(b,a,f),2)}return 3!=k.g?(g=k.h,p(k,e.remove(g),3)):p(k,e.add(f.filter(function(l){return!g.includes(l.sessionId)})),0)})}
865function qha(a){for(var b=new Set,c=m(a.textStreams),d=c.next();!d.done;d=c.next())b.add(d.value);c=m(a.imageStreams);for(d=c.next();!d.done;d=c.next())b.add(d.value);a=m(a.variants);for(c=a.next();!c.done;c=a.next())c=c.value,c.audio&&b.add(c.audio),c.video&&b.add(c.video);return b}
866function fha(a){a.variants.map(function(f){return f.video});var b=new Set(a.variants.map(function(f){return f.audio}));a=a.textStreams;for(var c=m(b),d=c.next();!d.done;d=c.next()){d=m(b);for(var e=d.next();!e.done;e=d.next());}b=m(a);for(c=b.next();!c.done;c=b.next())for(c=m(a),d=c.next();!d.done;d=c.next());}fb("shaka.offline.Storage",ls);ls.deleteAll=function(){var a;return r(function(b){return 1==b.g?(a=new fs,wa(b,2),p(b,xga(a),2)):5!=b.g?(Ba(b),p(b,a.destroy(),5)):Ca(b,0)})};
867ls.prototype.list=ls.prototype.list;ls.prototype.removeEmeSessions=ls.prototype.e5;ls.prototype.remove=ls.prototype.remove;ls.prototype.store=ls.prototype.store;ls.prototype.getNetworkingEngine=ls.prototype.Tt;ls.prototype.getConfiguration=ls.prototype.getConfiguration;ls.prototype.configure=ls.prototype.configure;ls.prototype.destroy=ls.prototype.destroy;ls.support=ms;
868var gha=(new Map).set("org.w3.clearkey","1077efecc0b24d02ace33c1e52e2fb4b").set("com.widevine.alpha","edef8ba979d64acea3c827dcd51d21ed").set("com.microsoft.playready","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.recommendation","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.software","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.hardware","9a04f07998404286ab92e65be0885f95").set("com.adobe.primetime","f239e769efa348509c16a903c6932efb");
869$o.offline=ms;function rs(a,b){var c=this;this.j=a;this.h=a.objectStore(b);this.g=new Ue;a.onabort=function(d){d.preventDefault();c.g.reject()};a.onerror=function(d){d.preventDefault();c.g.reject()};a.oncomplete=function(){c.g.resolve()}}rs.prototype.abort=function(){var a=this;return r(function(b){if(1==b.g){try{a.j.abort()}catch(c){}va(b,2);return p(b,a.g,4)}if(2!=b.g)return xa(b,0);ya(b);ua(b)})};
870function ss(a,b){return new Promise(function(c,d){var e=a.h.openCursor();e.onerror=d;e.onsuccess=function(){var f;return r(function(g){if(1==g.g){if(null==e.result)return c(),g.return();f=e.result;return p(g,b(f.key,f.value,f),2)}f.continue();ua(g)})}})}rs.prototype.store=function(){return this.h};rs.prototype.promise=function(){return this.g};function ts(a){this.h=a;this.g=[]}ts.prototype.destroy=function(){return Promise.all(this.g.map(function(a){return a.abort()}))};function us(a,b){return vs(a,b,"readwrite")}function vs(a,b,c){c=a.h.transaction([b],c);var d=new rs(c,b);a.g.push(d);d.promise().then(function(){gg(a.g,d)},function(){gg(a.g,d)});return d};function ws(a){this.g=new ts(a)}ws.prototype.destroy=function(){return this.g.destroy()};ws.prototype.getAll=function(){var a=this,b,c;return r(function(d){return 1==d.g?(b=vs(a.g,"session-ids","readonly"),c=[],p(d,ss(b,function(e,f){c.push(f)}),2)):3!=d.g?p(d,b.promise(),3):d.return(c)})};ws.prototype.add=function(a){var b=us(this.g,"session-ids"),c=b.store();a=m(a);for(var d=a.next();!d.done;d=a.next())c.add(d.value);return b.promise()};
871ws.prototype.remove=function(a){var b=this,c;return r(function(d){return 1==d.g?(c=us(b.g,"session-ids"),p(d,ss(c,function(e,f,g){a.includes(f.sessionId)&&g.delete()}),2)):p(d,c.promise(),0)})};function xs(a,b,c){this.h=new ts(a);this.j=b;this.g=c}h=xs.prototype;h.destroy=function(){return this.h.destroy()};h.hasFixedKeySpace=function(){return!0};h.addSegments=function(){return tha(this.j)};h.removeSegments=function(a,b){return uha(this,this.j,a,b)};h.getSegments=function(a){var b=this,c;return r(function(d){if(1==d.g)return p(d,vha(b,b.j,a),2);c=d.h;return d.return(c.map(function(e){return b.UJ(e)}))})};h.addManifests=function(){return tha(this.g)};
872h.updateManifest=function(){return Promise.reject(new Bb(2,9,9016,"Cannot modify values in "+this.g))};function wha(a,b,c){a=us(a.h,a.g);var d=a.store();d.get(b).onsuccess=function(){d.put(c,b)};return a.promise()}h.updateManifestExpiration=function(a,b){var c=us(this.h,this.g),d=c.store(
872);d.get(a).onsuccess=function(e){if(e=e.target.result)e.expiration=b,d.put(e,a)};return c.promise()};h.removeManifests=function(a,b){return uha(this,this.g,a,b)};
873h.getManifests=function(a){var b=this,c;return r(function(d){if(1==d.g)return p(d,vha(b,b.g,a),2);c=d.h;return d.return(Promise.all(c.map(function(e){return b.dt(e)})))})};h.getAllManifests=function(){var a=this,b,c;return r(function(d){return 1==d.g?(b=vs(a.h,a.g,"readonly"),c=new Map,p(d,ss(b,function(e,f){var g;return r(function(k){if(1==k.g)return p(k,a.dt(f),2);g=k.h;c.set(e,g);ua(k)})}),2)):3!=d.g?p(d,b.promise(),3):d.return(c)})};h.UJ=function(a){return a};h.dt=function(a){return Promise.resolve(a)};
874function tha(a){return Promise.reject(new Bb(2,9,9011,"Cannot add new value to "+a))}h.add=function(a,b){var c=this,d,e,f,g,k,l,n;return r(function(q){if(1==q.g){d=us(c.h,a);e=d.store();f=[];g={};k=m(b);for(l=k.next();!l.done;g={mw:g.mw},l=k.next())n=l.value,g.mw=e.add(n),g.mw.onsuccess=function(t){return function(){f.push(t.mw.result)}}(g);return p(q,d.promise(),2)}return q.return(f)})};
875function uha(a,b,c,d){a=us(a.h,b);b=a.store();var e={};c=m(c);for(var f=c.next();!f.done;e={kw:e.kw},f=c.next())e.kw=f.value,b.delete(e.kw).onsuccess=function(g){return function(){return d(g.kw)}}(e);return a.promise()}
876function vha(a,b,c){var d,e,f,g,k,l,n;return r(function(q){if(1==q.g){d=vs(a.h,b,"readonly");e=d.store();f={};g=[];k={};l=m(c);for(n=l.next();!n.done;k={xs:k.xs,ss:k.ss},n=l.next())k.ss=n.value,k.xs=e.get(k.ss),k.xs.onsuccess=function(t){return function(){void 0==t.xs.result&&g.push(t.ss);f[t.ss]=t.xs.result}}(k);return p(q,d.promise(),2)}if(g.length)throw new Bb(2,9,9012,"Could not find values for "+g);return q.return(c.map(function(t){return f[t]}))})};function ys(){xs.apply(this,arguments)}pa(ys,xs);ys.prototype.updateManifestExpiration=function(a,b){var c=this,d,e,f;return r(function(g){d=us(c.h,c.g);e=d.store();f=new Ue;e.get(a).onsuccess=function(k){(k=k.target.result)?(k.expiration=b,e.put(k),f.resolve()):f.reject(new Bb(2,9,9012,"Could not find values for "+a))};return p(g,Promise.all([d.promise(),f]),0)})};
877ys.prototype.dt=function(a){var b,c,d,e,f,g;return r(function(k){if(1==k.g){b=[];for(c=0;c<a.periods.length;++c)d=c==a.periods.length-1?a.duration:a.periods[c+1].startTime,e=d-a.periods[c].startTime,f=xha(a.periods[c],e),b.push(f);return p(k,vq(b),2)}g=k.h;return k.return({creationTime:0,originalManifestUri:a.originalManifestUri,duration:a.duration,size:a.size,expiration:null==a.expiration?Infinity:a.expiration,streams:g,sessionIds:a.sessionIds,drmInfo:a.drmInfo,appMetadata:a.appMetadata,sequenceMode:!1})})};
878function xha(a,b){yha(a);for(var c=m(a.streams),d=c.next();!d.done;d=c.next());return a.streams.map(function(e){return zha(e,a.startTime,b)})}
879function zha(a,b,c){var d=a.initSegmentUri?Aha(a.initSegmentUri):null,e=b+a.presentationTimeOffset,f=b+c;return{id:a.id,originalId:null,primary:a.primary,type:a.contentType,mimeType:a.mimeType,codecs:a.codecs,frameRate:a.frameRate,pixelAspectRatio:void 0,hdr:void 0,kind:a.kind,language:a.language,label:a.label,width:a.width,height:a.height,initSegmentKey:d,encrypted:a.encrypted,keyIds:new Set([a.keyId]),segments:a.segments.map(function(g){var k=Aha(g.uri);return{startTime:b+g.startTime,endTime:b+
880g.endTime,dataKey:k,initSegmentKey:d,appendWindowStart:b,appendWindowEnd:f,timestampOffset:e,tilesLayout:""}}),variantIds:a.variantIds,roles:[],forced:!1,audioSamplingRate:null,channelsCount:null,spatialAudio:!1,closedCaptions:null,tilesLayout:void 0}}ys.prototype.UJ=function(a){return{data:a.data}};function Aha(a){var b;if((b=/^offline:[0-9]+\/[0-9]+\/([0-9]+)$/.exec(a))||(b=/^offline:segment\/([0-9]+)$/.exec(a)))return Number(b[1]);throw new Bb(2,9,9004,"Could not parse uri "+a);}
881function yha(a){var b=a.streams.filter(function(k){return"audio"==k.contentType});a=a.streams.filter(function(k){return"video"==k.contentType});if(!b.every(function(k){return k.variantIds})||!a.every(function(k){return k.variantIds})){for(var c=m(b),d=c.next();!d.done;d=c.next())d.value.variantIds=[];c=m(a);for(d=c.next();!d.done;d=c.next())d.value.variantIds=[];c=0;if(a.length&&!b.length){var e=c++,f=m(a);for(d=f.next();!d.done;d=f.next())d.value.variantIds.push(e)}if(!a.length&&b.length)for(e=c++,
882f=m(b),d=f.next();!d.done;d=f.next())d.value.variantIds.push(e);if(a.length&&b.length)for(b=m(b),d=b.next();!d.done;d=b.next())for(d=d.value,e=m(a),f=e.next();!f.done;f=e.next()){f=f.value;var g=c++;d.variantIds.push(g);f.variantIds.push(g)}}};function zs(){xs.apply(this,arguments)}pa(zs,xs);
883zs.prototype.dt=function(a){var b,c,d,e,f,g;return r(function(k){if(1==k.g){b=[];for(c=0;c<a.periods.length;++c){d=c==a.periods.length-1?a.duration:a.periods[c+1].startTime;e=d-a.periods[c].startTime;for(var l=a.periods[c],n=[],q=m(l.streams),t=q.next();!t.done;t=q.next())t=t.value,0!=t.variantIds.length&&n.push(Bha(t,l.startTime,l.startTime+e));f=n;b.push(f)}return p(k,vq(b),2)}g=k.h;return k.return({appMetadata:a.appMetadata,creationTime:0,drmInfo:a.drmInfo,duration:a.duration,expiration:null==
884a.expiration?Infinity:a.expiration,originalManifestUri:a.originalManifestUri,sessionIds:a.sessionIds,size:a.size,streams:g,sequenceMode:!1})})};
885function Bha(a,b,c){return{id:a.id,originalId:a.originalId,primary:a.primary,type:a.contentType,mimeType:a.mimeType,codecs:a.codecs,frameRate:a.frameRate,pixelAspectRatio:a.pixelAspectRatio,hdr:void 0,kind:a.kind,language:a.language,label:a.label,width:a.width,height:a.height,encrypted:a.encrypted,keyIds:new Set([a.keyId]),segments:a.segments.map(function(d){return{startTime:b+d.startTime,endTime:b+d.endTime,initSegmentKey:a.initSegmentKey,appendWindowStart:b,appendWindowEnd:c,timestampOffset:b-a.presentationTimeOffset,
886dataKey:d.dataKey,tilesLayout:""}}),variantIds:a.variantIds,roles:[],forced:!1,audioSamplingRate:null,channelsCount:null,spatialAudio:!1,closedCaptions:null,tilesLayout:void 0}};function As(){xs.apply(this,arguments)}pa(As,xs);h=As.prototype;h.hasFixedKeySpace=function(){return!1};h.addSegments=function(a){return this.add(this.j,a)};h.addManifests=function(a){return this.add(this.g,a)};h.updateManifest=function(a,b){return wha(this,a,b)};h.dt=function(a){null==a.expiration&&(a.expiration=Infinity);return Promise.resolve(a)};function Cha(){this.s=this.o=this.j=this.h=this.g=this.l=null}h=Cha.prototype;
887h.init=function(){var a=this,b=new Ue,c=!1,d=new Xe(function(){c=!0;b.reject(new Bb(2,9,9017))});d.Hc(5);var e=window.indexedDB.open("shaka_offline_db",5);e.onsuccess=function(){if(!c){var f=e.result;a.l=f;var g=f.objectStoreNames;g=g.contains("manifest")&&g.contains("segment")?new ys(f,"segment","manifest"):null;a.g=g;g=f.objectStoreNames;g=g.contains("manifest-v2")&&g.contains("segment-v2")?new zs(f,"segment-v2","manifest-v2"):null;a.h=g;g=f.objectStoreNames;g=g.contains("manifest-v3")&&g.contains("segment-v3")?
888new zs(f,"segment-v3","manifest-v3"):null;a.j=g;g=f.objectStoreNames;g=g.contains("manifest-v5")&&g.contains("segment-v5")?new As(f,"segment-v5","manifest-v5"):null;a.o=g;f=f.objectStoreNames.contains("session-ids")?new ws(f):null;a.s=f;d.stop();b.resolve()}};e.onupgradeneeded=function(){for(var f=e.result,g=m(["segment-v5","manifest-v5","session-ids"]),k=g.next();!k.done;k=g.next())k=k.value,f.objectStoreNames.contains(k)||f.createObjectStore(k,{autoIncrement:!0})};e.onerror=function(f){c||(b.reject(new Bb(2,
8899,9001,e.error)),d.stop(),f.preventDefault())};return b};h.destroy=function(){var a=this;return r(function(b){switch(b.g){case 1:if(!a.g){b.ua(2);break}return p(b,a.g.destroy(),2);case 2:if(!a.h){b.ua(4);break}return p(b,a.h.destroy(),4);case 4:if(!a.j){b.ua(6);break}return p(b,a.j.destroy(),6);case 6:if(!a.o){b.ua(8);break}return p(b,a.o.destroy(),8);case 8:if(!a.s){b.ua(10);break}return p(b,a.s.destroy(),10);case 10:a.l&&a.l.close(),ua(b)}})};
890h.getCells=function(){var a=new Map;this.g&&a.set("v1",this.g);this.h&&a.set("v2",this.h);this.j&&a.set("v3",this.j);this.o&&a.set("v5",this.o);return a};h.getEmeSessionCell=function(){return this.s};
891h.erase=function(){var a=this;return r(function(b){switch(b.g){case 1:if(!a.g){b.ua(2);break}return p(b,a.g.destroy(),2);case 2:if(!a.h){b.ua(4);break}return p(b,a.h.destroy(),4);case 4:if(!a.j){b.ua(6);break}return p(b,a.j.destroy(),6);case 6:if(!a.o){b.ua(8);break}return p(b,a.o.destroy(),8);case 8:return a.l&&a.l.close(),p(b,Dha(),10);case 10:return a.l=null,a.g=null,a.h=null,a.j=null,a.o=null,p(b,a.init(),0)}})};
892function Dha(){var a=new Ue,b=window.indexedDB.deleteDatabase("shaka_offline_db");b.onblocked=function(){};b.onsuccess=function(){a.resolve()};b.onerror=function(c){a.reject(new Bb(2,9,9001,b.error));c.preventDefault()};return a}yga("idb",function(){return df("CrKey")||cf()||!window.indexedDB?null:new Cha});function Bs(){}function Eha(){for(var a=m(Cs),b=a.next();!b.done;b=a.next()){b=b.value;try{b.Nw()}catch(c){lb("Error installing polyfill!",c)}}}function Ds(a,b){a={priority:b||0,Nw:a};for(b=0;b<Cs.length;b++)if(Cs[b].priority<a.priority){Cs.splice(b,0,a);return}Cs.push(a)}fb("shaka.polyfill",Bs);Bs.register=Ds;Bs.installAll=Eha;var Cs=[];function Es(){this.g=new Fs}function Fha(){window.AbortController||(window.AbortController=Es,window.AbortSignal=Fs)}Es.prototype.abort=function(a){var b=this.g;if(!b.h){b.h=!0;b.g=a;void 0===b.g&&(b.g=new DOMException("signal is aborted without reason","AbortError"));a=new Kh("abort");if(b.onabort)b.onabort(a);b.dispatchEvent(a)}};da.Object.defineProperties(Es.prototype,{signal:{configurable:!0,enumerable:!0,get:function(){return this.g}}});Bs.AbortController=Es;Es.install=Fha;
893function Fs(){Nh.call(this);this.h=!1;this.g=void 0;this.onabort=null}pa(Fs,Nh);da.Object.defineProperties(Fs.prototype,{aborted:{configurable:!0,enumerable:!0,get:function(){return this.h}},reason:{configurable:!0,enumerable:!0,get:function(){return this.g}}});Ds(Fha);function Gha(){}
893function Hha(){if(!Object.getOwnPropertyDescriptor(Element.prototype,"ariaHidden"))for(var a=m(["ariaHidden","ariaLabel","ariaPressed","ariaSelected"]),b=a.next();!b.done;b=a.next())Iha(b.value)}function Iha(a){var b="aria-"+a.toLowerCase().replace(/^aria/,"");Object.defineProperty(Element.prototype,a,{get:function(){return this.getAttribute(b)},set:function(c){null==c||void 0==c?this.removeAttribute(b):this.setAttribute(b,c)}})}Bs.Aria=Gha;Gha.install=Hha;Ds(Hha);function Jha(){}function Kha(){Lha()}Bs.EncryptionScheme=Jha;Jha.install=Kha;Ds(Kha,-2);function Mha(){}
894function Nha(){if(window.Document){var a=Element.prototype;a.requestFullscreen=a.requestFullscreen||a.mozRequestFullScreen||a.msRequestFullscreen||a.webkitRequestFullscreen;a=Document.prototype;a.exitFullscreen=a.exitFullscreen||a.mozCancelFullScreen||a.msExitFullscreen||a.webkitCancelFullScreen;"fullscreenElement"in document||(Object.defineProperty(document,"fullscreenElement",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement||document.webkitFullscreenElement}}),
895Object.defineProperty(document,"fullscreenEnabled",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}}));document.addEventListener("webkitfullscreenchange",Gs);document.addEventListener("webkitfullscreenerror",Gs);document.addEventListener("mozfullscreenchange",Gs);document.addEventListener("mozfullscreenerror",Gs);document.addEventListener("MSFullscreenChange",Gs);document.addEventListener("MSFullscreenError",Gs)}}
896function Gs(a){var b=a.type.replace(/^(webkit|moz|MS)/,"").toLowerCase(),c=document.createEvent("Event");c.initEvent(b,a.bubbles,a.cancelable);a.target.dispatchEvent(c)}Bs.Fullscreen=Mha;Mha.install=Nha;Ds(Nha);function Oha(){}function Pha(){var a=lf();window.MediaSource&&(window.cast&&cast.__platform__&&cast.__platform__.canDisplayType?Qha():a?12>=a?(Rha(),Sha()):15>=a&&Rha():bf()?Tha():(df("Tizen 2")||df("Tizen 3")||df("Tizen 4"))&&Uha());window.MediaSource&&MediaSource.isTypeSupported('video/webm; codecs="vp9"')&&!MediaSource.isTypeSupported('video/webm; codecs="vp09.00.10.08"')&&Vha()}
897function Rha(){var a=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];c=a.apply(this,c);c.abort=function(){};return c}}function Sha(){var a=SourceBuffer.prototype.remove;SourceBuffer.prototype.remove=function(b,c){return a.call(this,b,c-.001)}}function Tha(){var a=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(b){return"mp2t"!=b.split(";")[0].split("/")[1]&&a(b)}}
898function Uha(){var a=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(b){return"opus"!=Pf(b)[0]&&a(b)}}function Qha(){var a=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(b){var c=b.split(/ *; */);c.shift();return c.some(function(d){return d.startsWith("codecs=")})?cast.__platform__.canDisplayType(b):a(b)}}
899function Vha(){var a=MediaSource.isTypeSupported;df("Web0S")||(MediaSource.isTypeSupported=function(b){var c=b.split(/ *; */),d=c.findIndex(function(g){return g.startsWith("codecs=")});if(0>d)return a(b);var e=c[d].replace("codecs=","").replace(/"/g,"").split(/\s*,\s*/),f=e.findIndex(function(g){return g.startsWith("vp09")});0<=f&&(e[f]="vp9",c[d]='codecs="'+e.join(",")+'"',b=c.join("; "));return a(b)})}Bs.MediaSource=Oha;Oha.install=Pha;Ds(Pha);function Hs(){}function Wha(){var a=!0;if(gf()||df("PlayStation 5")||kf()||df("Web0S")||ef()||df("CrKey")||df("PC=EOS")||df("Hisense")||df("VIDAA"))a=!1;a&&navigator.g||(navigator.g||(navigator.g={}),Xha=navigator.g,navigator.g.kt=Yha)}
900function Yha(a){var b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O;return r(function(P){switch(P.g){case 1:b={Wr:!1,L3:!0,G8:!0,kh:null,BV:a};if(!a)return P.return(b);c=a.video;d=a.audio;if("media-source"==a.type){if(!Ye())return P.return(b);if(c){if(df("CrKey"))if(window.cast&&cast.__platform__&&cast.__platform__.canDisplayType){var Q=c.contentType;c.width&&c.height&&(Q+="; width="+c.width+"; height="+c.height);c.yx&&(Q+="; framerate="+c.yx);"pq"===c.FH&&(Q+="; eotf=smpte2084");e=cast.__platform__.canDisplayType(Q)}else e=
901rb(c.contentType);else ef()?(f=c.contentType,c.width&&c.height&&(f+="; width="+c.width,f+="; height="+c.height),c.yx&&(f+="; framerate="+c.yx),c.Gw&&(f+="; bitrate="+c.Gw),e=rb(f)):e=rb(c.contentType);if(!e)return P.return(b)}if(d&&(g=d.contentType,k=rb(g),!k))return P.return(b)}else if("file"==a.type){if(c&&(l=c.contentType,n=$e(l),!n)||d&&(q=d.contentType,t=$e(q),!t))return P.return(b)}else return P.return(b);if(!a.zu)return b.Wr=!0,P.return(Promise.resolve(b));u=a.zu;v=[];y=[];u.audio&&(G={robustness:u.audio.robustness||
902"",contentType:a.audio.contentType},v.push(G));u.video&&(K={robustness:u.video.robustness||"",contentType:a.video.contentType},y.push(K));J={initDataTypes:[u.initDataType],distinctiveIdentifier:u.distinctiveIdentifier,persistentState:u.persistentState,sessionTypes:u.sessionTypes};v.length&&(J.audioCapabilities=v);y.length&&(J.videoCapabilities=y);va(P,3);return p(P,navigator.requestMediaKeySystemAccess(u.keySystem,[J]),5);case 5:O=P.h;xa(P,4);break;case 3:ya(P);case 4:O&&(b.Wr=!0,b.kh=O);case 2:return P.return(b)}})}
903Bs.MediaCapabilities=Hs;Hs.install=Wha;var Xha=null;Hs.originalMcap=Xha;Ds(Wha,-1);function Zha(){}function $ha(){screen.orientation||void 0!=window.orientation&&aia()}function aia(){function a(){switch(window.orientation){case -90:b.type="landscape-secondary";b.angle=270;break;case 0:b.type="portrait-primary";b.angle=0;break;case 90:b.type="landscape-primary";b.angle=90;break;case 180:b.type="portrait-secondary",b.angle=180}}var b=new Is;screen.orientation=b;a();window.addEventListener("orientationchange",function(){a();var c=new Kh("change");b.dispatchEvent(c)})}
904Bs.Orientation=Zha;Zha.install=$ha;function Is(){Nh.call(this);this.type="";this.angle=0}pa(Is,Nh);
905Is.prototype.lock=function(a){function b(d){return screen.lockOrientation?screen.lockOrientation(d):screen.mozLockOrientation?screen.mozLockOrientation(d):screen.msLockOrientation?screen.msLockOrientation(d):!1}var c=!1;switch(a){case "natural":c=b("default");break;case "any":c=!0;this.unlock();break;default:c=b(a)}if(c)return Promise.resolve();a=Error("screen.orientation.lock() is not available on this device");a.name="NotSupportedError";a.code=DOMException.NOT_SUPPORTED_ERR;return Promise.reject(a)};
906Is.prototype.unlock=function(){screen.unlockOrientation?screen.unlockOrientation():screen.mozUnlockOrientation?screen.mozUnlockOrientation():screen.msUnlockOrientation&&screen.msUnlockOrientation()};Ds($ha);function Js(){}var Ks,Ls,Ms,Ns,Os,Ps;function bia(a,b){try{var c=new Qs(a,b);return Promise.resolve(c)}catch(d){return Promise.reject(d)}}function cia(a){var b=this.mediaKeys;b&&b!=a&&dia(b,null);delete this.mediaKeys;return(this.mediaKeys=a)?dia(a,this):Promise.resolve()}
907function eia(a){a=wb(a.initData);if(Ab(a).getUint32(0,!0)+4!=a.byteLength)throw new RangeError("Malformed FairPlay init data");a=qf(a.subarray(4),!0);a=tf(a);var b=new Event("encrypted");b.initDataType="skd";b.initData=yb(a);this.dispatchEvent(b)}Bs.PatchedMediaKeysApple=Js;
908Js.uninstall=function(){Ks&&(Ks=!1,Object.defineProperty(HTMLMediaElement.prototype,"mediaKeys",Ls),HTMLMediaElement.prototype.setMediaKeys=Ms,window.MediaKeys=Ns,window.MediaKeySystemAccess=Os,navigator.requestMediaKeySystemAccess=Ps,Ls=Ps=Ms=Os=Ns=null,window.shakaMediaKeysPolyfill=!1)};
909Js.install=function(a){if(window.HTMLVideoElement&&window.WebKitMediaKeys){if(void 0===a?0:a)Ks=!0,Ls=Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"mediaKeys"),Ms=HTMLMediaElement.prototype.setMediaKeys,Ns=window.MediaKeys,Os=window.MediaKeySystemAccess,Ps=navigator.requestMediaKeySystemAccess;delete HTMLMediaElement.prototype.mediaKeys;HTMLMediaElement.prototype.mediaKeys=null;HTMLMediaElement.prototype.setMediaKeys=cia;window.MediaKeys=Rs;window.MediaKeySystemAccess=Qs;navigator.requestMediaKeySystemAccess=
910bia;window.shakaMediaKeysPolyfill=!0}};
911function Qs(a,b){this.keySystem=a;if(a.startsWith("com.apple.fps"))for(a=m(b),b=a.next();!b.done;b=a.next()){var c=b.value;if("required"==c.persistentState)b=null;else{b={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:c.initDataTypes,sessionTypes:["temporary"],label:c.label};var d=!1,e=!1;if(c.audioCapabilities)for(var f=m(c.audioCapabilities),g=f.next();!g.done;g=f.next())g=g.value,g.contentType&&(d=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,
912g.contentType.split(";")[0])&&(b.audioCapabilities.push(g),e=!0));if(c.videoCapabilities)for(c=m(c.videoCapabilities),g=c.next();!g.done;g=c.next())f=g.value,f.contentType&&(d=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,f.contentType.split(";")[0])&&(b.videoCapabilities.push(f),e=!0));d||(e=WebKitMediaKeys.isTypeSupported(this.keySystem,"video/mp4"));b=e?b:null}if(b){this.g=b;return}}a=Error("Unsupported keySystem");a.name="NotSupportedError";a.code=DOMException.NOT_SUPPORTED_ERR;throw a;}
913Qs.prototype.createMediaKeys=function(){var a=new Rs(this.keySystem);return Promise.resolve(a)};Qs.prototype.getConfiguration=function(){return this.g};function Rs(a){this.h=new WebKitMediaKeys(a);this.g=new fi}Rs.prototype.createSession=function(a){a=a||"temporary";if("temporary"!=a)throw new TypeError("Session type "+a+" is unsupported on this platform.");return new Ss(this.h,a)};Rs.prototype.setServerCertificate=function(){return Promise.resolve(!1)};
914function dia(a,b){a.g.tf();if(!b)return Promise.resolve();a.g.J(b,"webkitneedkey",eia);try{return Nl(b,HTMLMediaElement.HAVE_METADATA,a.g,function(){b.webkitSetMediaKeys(a.h)}),Promise.resolve()}catch(c){return Promise.reject(c)}}function Ss(a){Nh.call(this);this.j=null;this.l=a;this.h=this.g=null;this.o=new fi;this.sessionId="";this.expiration=NaN;this.closed=new Ue;this.keyStatuses=new fia}pa(Ss,Nh);h=Ss.prototype;
915h.generateRequest=function(a,b){var c=this;this.g=new Ue;try{var d=this.l.createSession("video/mp4",wb(b));this.j=d;this.sessionId=d.sessionId||"";this.o.J(this.j,"webkitkeymessage",function(e){c.g&&(c.g.resolve(),c.g=null);var f=void 0==c.keyStatuses.Ec();e=(new Map).set("messageType",f?"license-request":"license-renewal").set("message",yb(e.message));e=new Kh("message",e);c.dispatchEvent(e)});this.o.J(d,"webkitkeyadded",function(){c.h&&(Ts(c,"usable"),c.h.resolve(),c.h=null)});this.o.J(d,"webkitkeyerror",
916function(){var e=Error("EME PatchedMediaKeysApple key error");e.errorCode=c.j.error;if(null!=c.g)c.g.reject(e),c.g=null;else if(null!=c.h)c.h.reject(e),c.h=null;else switch(c.j.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:Ts(c,"output-not-allowed");break;default:Ts(c,"internal-error")}});Ts(this,"status-pending")}catch(e){this.g.reject(e)}return this.g};h.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))};
917h.update=function(a){this.h=new Ue;try{this.j.update(wb(a))}catch(b){this.h.reject(b)}return this.h};h.close=function(){try{this.j.close(),this.closed.resolve(),this.o.tf()}catch(a){this.closed.reject(a)}return this.closed};h.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))};function Ts(a,b){var c=a.keyStatuses;c.size=void 0==b?0:1;c.g=b;b=new Kh("keystatuseschange");a.dispatchEvent(b)}
918function fia(){this.size=0;this.g=void 0}h=fia.prototype;h.Ec=function(){return this.g};h.forEach=function(a){this.g&&a(this.g,sj.value())};
918h.get=function(a){if(this.has(a))return this.g};h.has=function(a){var b=sj.value();return this.g&&ub(a,b)?!0:!1};h.entries=function(){};h.keys=function(){};h.values=function(){};function gia(){}function hia(){!window.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(navigator.requestMediaKeySystemAccess=iia,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=jia,window.MediaKeys=Us,window.MediaKeySystemAccess=Vs,window.shakaMediaKeysPolyfill=!0)}function iia(){return Promise.reject(Error("The key system specified is not supported."))}
919function jia(a){return null==a?Promise.resolve():Promise.reject(Error("MediaKeys not supported."))}Bs.PatchedMediaKeysNop=gia;gia.install=hia;function Us(){throw new TypeError("Illegal constructor.");}Us.prototype.createSession=function(){};Us.prototype.setServerCertificate=function(){};function Vs(){this.keySystem="";throw new TypeError("Illegal constructor.");}Vs.prototype.getConfiguration=function(){};Vs.prototype.createMediaKeys=function(){};Ds(hia,-10);function kia(){}
920function lia(){if(!(!window.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration)){if(HTMLMediaElement.prototype.webkitGenerateKeyRequest)Ws="webkit";else if(!HTMLMediaElement.prototype.generateKeyRequest)return;navigator.requestMediaKeySystemAccess=mia;delete HTMLMediaElement.prototype.mediaKeys;HTMLMediaElement.prototype.mediaKeys=null;HTMLMediaElement.prototype.setMediaKeys=nia;window.MediaKeys=Xs;window.MediaKeySystemAccess=Ys;window.shakaMediaKeysPolyfill=
921!0}}function Zs(a){var b=Ws;return b?b+a.charAt(0).toUpperCase()+a.slice(1):a}function mia(a,b){try{var c=new Ys(a,b);return Promise.resolve(c)}catch(d){return Promise.reject(d)}}function nia(a){var b=this.mediaKeys;b&&b!=a&&oia(b,null);delete this.mediaKeys;(this.mediaKeys=a)&&oia(a,this);return Promise.resolve()}Bs.PatchedMediaKeysWebkit=kia;kia.install=lia;
922function Ys(a,b){this.g=this.keySystem=a;var c=!1;"org.w3.clearkey"==a&&(this.g="webkit-org.w3.clearkey",c=!1);var d=!1;var e=document.getElementsByTagName("video");e=e.length?e[0]:document.createElement("video");b=m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var g={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:f.initDataTypes,sessionTypes:["temporary"],label:f.label},k=!1;if(f.audioCapabilities)for(var l=m(f.audioCapabilities),
923n=l.next();!n.done;n=l.next())n=n.value,n.contentType&&(k=!0,e.canPlayType(n.contentType.split(";")[0],this.g)&&(g.audioCapabilities.push(n),d=!0));if(f.videoCapabilities)for(l=m(f.videoCapabilities),n=l.next();!n.done;n=l.next())n=n.value,n.contentType&&(k=!0,e.canPlayType(n.contentType,this.g)&&(g.videoCapabilities.push(n),d=!0));k||(d=e.canPlayType("video/mp4",this.g)||e.canPlayType("video/webm",this.g));"required"==f.persistentState&&(c?(g.persistentState="required",g.sessionTypes=["persistent-license"]):
924d=!1);if(d){this.h=g;return}}c="Unsupported keySystem";if("org.w3.clearkey"==a||"com.widevine.alpha"==a)c="None of the requested configurations were supported.";a=Error(c);a.name="NotSupportedError";a.code=DOMException.NOT_SUPPORTED_ERR;throw a;}Ys.prototype.createMediaKeys=function(){var a=new Xs(this.g);return Promise.resolve(a)};Ys.prototype.getConfiguration=function(){return this.h};function Xs(a){this.l=a;this.h=null;this.g=new fi;this.j=[];this.o=new Map}
925function oia(a,b){a.h=b;a.g.tf();var c=Ws;b&&(a.g.J(b,c+"needkey",function(d){var e=new CustomEvent("encrypted");e.initDataType="cenc";e.initData=yb(d.initData);a.h.dispatchEvent(e)}),a.g.J(b,c+"keymessage",function(d){var e=$s(a,d.sessionId);if(e){var f=void 0==e.keyStatuses.Ec();d=(new Map).set("messageType",f?"licenserequest":"licenserenewal").set("message",d.message);d=new Kh("message",d);e.h&&(e.h.resolve(),e.h=null);e.dispatchEvent(d)}}),a.g.J(b,c+"keyadded",function(d){if(d=$s(a,d.sessionId))at(d,
926"usable"),d.g&&d.g.resolve(),d.g=null}),a.g.J(b,c+"keyerror",function(d){var e=$s(a,d.sessionId);e&&e.handleError(d)}))}Xs.prototype.createSession=function(a){a=a||"temporary";if("temporary"!=a&&"persistent-license"!=a)throw new TypeError("Session type "+a+" is unsupported on this platform.");var b=this.h||document.createElement("video");b.src||(b.src="about:blank");a=new bt(b,this.l,a);this.j.push(a);return a};Xs.prototype.setServerCertificate=function(){return Promise.resolve(!1)};
927function $s(a,b){var c=a.o.get(b);return c?c:(c=a.j.shift())?(c.sessionId=b,a.o.set(b,c),c):null}function bt(a,b,c){Nh.call(this);this.o=a;this.s=!1;this.g=this.h=null;this.j=b;this.l=c;this.sessionId="";this.expiration=NaN;this.closed=new Ue;this.keyStatuses=new pia}pa(bt,Nh);h=bt.prototype;
928h.handleError=function(a){var b=Error("EME v0.1b key error"),c=a.errorCode;c.systemCode=a.systemCode;b.errorCode=c;!a.sessionId&&this.h?(45==a.systemCode&&(b.message="Unsupported session type."),this.h.reject(b),this.h=null):a.sessionId&&this.g?(this.g.reject(b),this.g=null):(b=a.systemCode,a.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?at(this,"output-restricted"):1==b?at(this,"expired"):at(this,"internal-error"))};
929function qia(a,b,c){if(a.s)return Promise.reject(Error("The session is already initialized."));a.s=!0;try{if("persistent-license"==a.l)if(c)var d=wb(tf("LOAD_SESSION|"+c));else{var e=tf("PERSISTENT|");d=Bf(e,b)}else d=wb(b)}catch(g){return Promise.reject(g)}a.h=new Ue;var f=Zs("generateKeyRequest");try{a.o[f](a.j,d)}catch(g){if("InvalidStateError"!=g.name)return a.h=null,Promise.reject(g);(new Xe(function(){try{a.o[f](a.j,d)}catch(k){a.h.reject(k),a.h=null}})).Hc(.01)}return a.h}
930function ct(a,b,c){if(a.g)a.g.then(function(){return ct(a,b,c)}).catch(function(){return ct(a,b,c)});else{a.g=b;
930if("webkit-org.w3.clearkey"==a.j){var d=pf(c);var e=JSON.parse(d);"oct"!=e.keys[0].kty&&(a.g.reject(Error("Response is not a valid JSON Web Key Set.")),a.g=null);d=yf(e.keys[0].k);e=yf(e.keys[0].kid)}else d=wb(c),e=null;var f=Zs("addKey");try{a.o[f](a.j,d,e,a.sessionId)}catch(g){a.g.reject(g),a.g=null}}}
931function at(a,b){var c=a.keyStatuses;c.size=void 0==b?0:1;c.g=b;b=new Kh("keystatuseschange");a.dispatchEvent(b)}h.generateRequest=function(a,b){return qia(this,b,null)};h.load=function(a){return"persistent-license"==this.l?qia(this,null,a):Promise.reject(Error("Not a persistent session."))};h.update=function(a){var b=new Ue;ct(this,b,a);return b};
932h.close=function(){if("persistent-license"!=this.l){if(!this.sessionId)return this.closed.reject(Error("The session is not callable.")),this.closed;var a=Zs("cancelKeyRequest");try{this.o[a](this.j,this.sessionId)}catch(b){}}this.closed.resolve();return this.closed};h.remove=function(){return"persistent-license"!=this.l?Promise.reject(Error("Not a persistent session.")):this.close()};function pia(){this.size=0;this.g=void 0}h=pia.prototype;h.Ec=function(){return this.g};
933h.forEach=function(a){this.g&&a(this.g,sj.value())};h.get=function(a){if(this.has(a))return this.g};h.has=function(a){var b=sj.value();return this.g&&ub(a,b)?!0:!1};h.entries=function(){};h.keys=function(){};h.values=function(){};var Ws="";Ds(lia);function ria(){}function sia(){if(window.HTMLVideoElement){var a=HTMLVideoElement.prototype;a.requestPictureInPicture&&document.exitPictureInPicture||!a.webkitSupportsPresentationMode||(document.pictureInPictureEnabled=!0,document.pictureInPictureElement=null,a.requestPictureInPicture=tia,Object.defineProperty(a,"disablePictureInPicture",{get:uia,set:via,enumerable:!0,configurable:!0}),document.exitPictureInPicture=wia,document.addEventListener("webkitpresentationmodechanged",xia,!0))}}
934function xia(a){a=a.target;if("picture-in-picture"==a.webkitPresentationMode){document.pictureInPictureElement=a;var b=new Event("enterpictureinpicture");a.dispatchEvent(b)}else document.pictureInPictureElement==a&&(document.pictureInPictureElement=null),b=new Event("leavepictureinpicture"),a.dispatchEvent(b)}
935function tia(){return this.webkitSupportsPresentationMode("picture-in-picture")?(this.webkitSetPresentationMode("picture-in-picture"),document.pictureInPictureElement=this,Promise.resolve()):Promise.reject(Error("PiP not allowed by video element"))}function wia(){var a=document.pictureInPictureElement;return a?(a.webkitSetPresentationMode("inline"),document.pictureInPictureElement=null,Promise.resolve()):Promise.reject(Error("No picture in picture element found"))}
936function uia(){return this.hasAttribute("disablePictureInPicture")?!0:!this.webkitSupportsPresentationMode("picture-in-picture")}function via(a){a?this.setAttribute("disablePictureInPicture",""):this.removeAttribute("disablePictureInPicture")}Bs.PiPWebkit=ria;ria.install=sia;Ds(sia);function yia(){}function zia(){window.crypto&&("randomUUID"in window.crypto||(window.crypto.g=Aia))}function Aia(){var a=URL.createObjectURL(new Blob),b=a.toString();URL.revokeObjectURL(a);return b.substr(b.lastIndexOf("/")+1)}Bs.RandomUUID=yia;yia.install=zia;Ds(zia);function Bia(){}function Cia(){ea();var a=Symbol.prototype;"description"in a||Object.defineProperty(a,"description",{get:Dia})}function Dia(){var a=/\((.*)\)/.exec(this.toString());return a?a[1]:void 0}Bs.Symbol=Bia;Bia.install=Cia;Ds(Cia);function Eia(){}function Fia(){if(!window.VTTCue&&window.TextTrackCue){var a=null,b=TextTrackCue.length;if(3==b)a=dt;else if(6==b)a=Gia;else{try{var c=!!dt(1,2,"")}catch(d){c=!1}c&&(a=dt)}a&&(window.VTTCue=function(d,e,f){return a(d,e,f)})}}function dt(a,b,c){return new window.TextTrackCue(a,b,c)}function Gia(a,b,c){return new window.TextTrackCue(a+"-"+b+"-"+c,a,b,c)}Bs.VTTCue=Eia;Eia.install=Fia;Ds(Fia);function Hia(){}function Iia(){if(window.HTMLMediaElement){var a=HTMLMediaElement.prototype.play;HTMLMediaElement.prototype.play=function(){var b=a.apply(this);b&&b.catch(function(){});return b}}}Bs.VideoPlayPromise=Hia;Hia.install=Iia;Ds(Iia);function Jia(){}function Kia(){if(window.HTMLVideoElement){var a=HTMLVideoElement.prototype;!a.getVideoPlaybackQuality&&("webkitDroppedFrameCount"in a||ff())&&(a.getVideoPlaybackQuality=Lia)}}function Lia(){return{droppedVideoFrames:this.webkitDroppedFrameCount,totalVideoFrames:this.webkitDecodedFrameCount,corruptedVideoFrames:0,creationTime:NaN,totalFrameDelay:0}}Bs.VideoPlaybackQuality=Jia;Jia.install=Kia;Ds(Kia);function et(){}et.prototype.parseInit=function(){};et.prototype.setSequenceMode=function(){};et.prototype.parseMedia=function(a,b){var c=null,d=[];a=pf(a).split(/\r?\n/);a=m(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&!/^\s+$/.test(e)&&(e=Mia.exec(e))){var f=Nia.exec(e[1]);f=60*parseInt(f[1],10)+parseFloat(f[2].replace(",","."));e=new jg(f,b.segmentEnd?b.segmentEnd:f+2,e[2]);c&&(c.endTime=f,d.push(c));c=e}c&&d.push(c);return d};fb("shaka.text.LrcTextParser",et);
937et.prototype.parseMedia=et.prototype.parseMedia;et.prototype.setSequenceMode=et.prototype.setSequenceMode;et.prototype.parseInit=et.prototype.parseInit;var Mia=/^\[(\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\](.*)/,Nia=/^(\d+):(\d{1,2}(?:[.,]\d{1,3})?)$/;Jg["application/x-subtitle-lrc"]=function(){return new et};function ft(){}ft.prototype.parseInit=function(){};ft.prototype.setSequenceMode=function(){};
938ft.prototype.parseMedia=function(a,b){var c=pf(a);a=[];if(""==c)return a;var d=Zi(c,"tt");if(!d)throw new Bb(2,2,2005,"Failed to parse TTML.");c=d.getElementsByTagName("body")[0];if(!c)return[];var e=Ji(d,gt,"frameRate"),f=Ji(d,gt,"subFrameRate"),g=Ji(d,gt,"frameRateMultiplier"),k=Ji(d,gt,"tickRate"),l=Ji(d,gt,"cellResolution"),n=d.getAttribute("xml:space")||"default",q=Ji(d,wt,"extent");
938if("default"!=n&&"preserve"!=n)throw new Bb(2,2,2005,"Invalid xml:space value: "+n);n="default"==n;e=new Oia(e,
939f,g,k);l=l?(l=/^(\d+) (\d+)$/.exec(l))?{columns:parseInt(l[1],10),rows:parseInt(l[2],10)}:null:null;f=(f=d.getElementsByTagName("metadata")[0])?Qba(f):[];g=Array.from(d.getElementsByTagName("style"));d=Array.from(d.getElementsByTagName("region"));k=[];for(var t=m(d),u=t.next();!u.done;u=t.next()){var v=u.value;u=new og;var y=v.getAttribute("xml:id");if(y){u.id=y;var G=null;q&&(G=xt.exec(q)||yt.exec(q));y=G?Number(G[1]):null;G=G?Number(G[2]):null;var K,J;if(K=zt(v,g,"extent"))K=(J=xt.exec(K))||yt.exec(K),
940null!=K&&(u.width=Number(K[1]),u.height=Number(K[2]),J||(null!=y&&(u.width=100*u.width/y),null!=G&&(u.height=100*u.height/G)),u.widthUnits=J||null!=y?Fg:0,u.heightUnits=J||null!=G?Fg:0);if(v=zt(v,g,"origin"))K=(J=xt.exec(v))||yt.exec(v),null!=K&&(u.viewportAnchorX=Number(K[1]),u.viewportAnchorY=Number(K[2]),J||(null!=G&&(u.viewportAnchorY=100*u.viewportAnchorY/G),null!=y&&(u.viewportAnchorX=100*u.viewportAnchorX/y)),u.viewportAnchorUnits=J||null!=y?Fg:0)}else u=null;u&&k.push(u)}if(Fi(c,"p").length)throw new Bb(2,
9412,2001,"<p> can only be inside <div> in TTML");q=m(Fi(c,"div"));for(t=q.next();!t.done;t=q.next())if(Fi(t.value,"span").length)throw new Bb(2,2,2001,"<span> can only be inside <p> in TTML");if(b=Pia(c,b,e,f,g,d,k,n,l,null,!1))b.backgroundColor||(b.backgroundColor="transparent"),a.push(b);return a};
942function Pia(a,b,c,d,e,f,g,k,l,n,q){var t=a.parentNode;if(a.nodeType==Node.COMMENT_NODE)return null;if(a.nodeType==Node.TEXT_NODE){if(!q)return null;var u=document.createElement("span");u.textContent=a.textContent}else u=a;for(var v=null,y=m(Qia),G=y.next();!G.done&&!(v=At(u,"backgroundImage",d,"#",G.value)[0]);G=y.next());y=q;if("p"==a.nodeName||v)q=!0;k="default"==(u.getAttribute("xml:space")||(k?"default":"preserve"));G=Array.from(u.childNodes).every(function(Q){return Q.nodeType==Node.TEXT_NODE});
943a=[];if(!G)for(var K=m(u.childNodes),J=K.next();!J.done;J=K.next())(J=Pia(J.value,b,c,d,e,f,g,k,l,u,q))&&a.push(J);d=null!=n;K=/\S/.test(u.textContent);var O=u.hasAttribute("begin")||u.hasAttribute("end")||u.hasAttribute("dur");if(!(O||K||"br"==u.tagName||0!=a.length||d&&!k))return null;J=Ria(u,c);K=J.start;for(J=J.end;t&&t.nodeType==Node.ELEMENT_NODE&&"tt"!=t.tagName;)J=Sia(t,c,K,J),K=J.start,J=J.end,t=t.parentNode;null==K&&(K=0);K+=b.periodStart;J=null==J?Infinity:J+b.periodStart;K=Math.max(K,b.segmentStart);
944J=Math.min(J,b.segmentEnd);if(!O&&0<a.length)for(K=Infinity,J=0,b=m(a),c=b.next();!c.done;c=b.next())c=c.value,K=Math.min(K,c.startTime),J=Math.max(J,c.endTime);if("br"==u.tagName)return e=new jg(K,J,""),e.lineBreak=!0,e;b="";G&&(b=u.textContent,k&&(b=b.trim(),b=b.replace(/\s+/g," ")));b=new jg(K,J,b);b.nestedCues=a;q||(b.isContainer=!0);l&&(b.cellResolution=l);l=At(u,"region",f,"")[0];if(u.hasAttribute("region")&&l&&l.getAttribute("xml:id")){var P=l.getAttribute("xml:id");b.region=g.filter(function(Q){return Q.id==
945P})[0]}g=l;n&&d&&!u.getAttribute("region")&&!u.getAttribute("style")&&(g=At(n,"region",f,"")[0]);Tia(b,u,g,v,e,y,0==a.length);return b}
946function Tia(a,b,c,d,e,f,g){f=f||g;"rtl"==Bt(b,c,e,"direction",f)&&(a.direction="rtl");g=Bt(b,c,e,"writingMode",f);"tb"==g||"tblr"==g?a.writingMode="vertical-lr":"tbrl"==g?a.writingMode="vertical-rl":"rltb"==g||"rl"==g?a.direction="rtl":g&&(a.direction=kg);(g=Bt(b,c,e,"textAlign",!0))?(a.positionAlign=Uia[g],a.lineAlign=Via[g],a.textAlign=yg[g.toUpperCase()]):a.textAlign=qg;if(g=Bt(b,c,e,"displayAlign",!0))a.displayAlign=zg[g.toUpperCase()];if(g=Bt(b,c,e,"color",f))a.color=g;if(g=Bt(b,c,e,"backgroundColor",
947f))a.backgroundColor=g;if(g=Bt(b,c,e,"border",f))a.border=g;if(g=Bt(b,c,e,"fontFamily",f))switch(g){case "monospaceSerif":a.fontFamily="Courier New,Liberation Mono,Courier,monospace";break;case "proportionalSansSerif":a.fontFamily="Arial,Helvetica,Liberation Sans,sans-serif";break;case "sansSerif":a.fontFamily="sans-serif";break;case "monospaceSansSerif":a.fontFamily="Consolas,monospace";break;case "proportionalSerif":a.fontFamily="serif";break;default:a.fontFamily=g}(g=Bt(b,c,e,"fontWeight",f))&&
948"bold"==g&&(a.fontWeight=700);g=Bt(b,c,e,"wrapOption",f);a.wrapLine=g&&"noWrap"==g?!1:!0;(g=Bt(b,c,e,"lineHeight",f))&&g.match(Ct)&&(a.lineHeight=g);(g=Bt(b,c,e,"fontSize",f))&&(g.match(Ct)||g.match(Wia))&&(a.fontSize=g);if(g=Bt(b,c,e,"fontStyle",f))a.fontStyle=Dg[g.toUpperCase()];if(d){g=d.getAttribute("imageType")||d.getAttribute("imagetype");var k=d.getAttribute("encoding");d=d.textContent.trim();"PNG"==g&&"Base64"==k&&d&&(a.backgroundImage="data:image/png;base64,"+d)}if(d=Bt(b,c,e,"textOutline",
949f))d=d.split(" "),d[0].match(Ct)?a.textStrokeColor=a.color:(a.textStrokeColor=d[0],d.shift()),d[0]&&d[0].match(Ct)?a.textStrokeWidth=d[0]:a.textStrokeColor="";(d=Bt(b,c,e,"letterSpacing",f))&&d.match(Ct)&&(a.letterSpacing=d);(d=Bt(b,c,e,"linePadding",f))&&d.match(Ct)&&(a.linePadding=d);if(f=Bt(b,c,e,"opacity",f))a.opacity=parseFloat(f);(c=zt(c,e,"textDecoration"))&&Xia(a,c);(b=Dt(b,e,"textDecoration"))&&Xia(a,b)}
950function Xia(a,b){b=m(b.split(" "));for(var c=b.next();!c.done;c=b.next())switch(c.value){case "underline":a.textDecoration.includes("underline")||a.textDecoration.push("underline");break;case "noUnderline":a.textDecoration.includes("underline")&&gg(a.textDecoration,"underline");break;case "lineThrough":a.textDecoration.includes("lineThrough")||a.textDecoration.push("lineThrough");break;case "noLineThrough":a.textDecoration.includes("lineThrough")&&gg(a.textDecoration,"lineThrough");break;case "overline":a.textDecoration.includes("overline")||
951a.textDecoration.push("overline");break;case "noOverline":a.textDecoration.includes("overline")&&gg(a.textDecoration,"overline")}}function Bt(a,b,c,d,e){e=void 0===e?!0:e;return(a=Dt(a,c,d))?a:e?zt(b,c,d):null}function zt(a,b,c){if(!a)return null;var d=Ji(a,wt,c);return d?d:Yia(a,b,c)}function Dt(a,b,c){var d=Ji(a,wt,c);return d?d:Yia(a,b,c)}
952function Yia(a,b,c){a=At(a,"style",b,"");for(var d=null,e=0;e<a.length;e++){var f=Ii(a[e],"urn:ebu:tt:style",c);f||(f=Ji(a[e],wt,c));f||(f=Dt(a[e],b,c));f&&(d=f)}return d}
953function At(a,b,c,d,e){var f=[];if(!a||1>c.length)return f;var g=a;for(a=null;g&&!(a=e?Ii(g,e,b):g.getAttribute(b))&&(g=g.parentNode,g instanceof Element););if(b=a)for(b=m(b.split(" ")),e=b.next();!e.done;e=b.next())for(e=e.value,a=m(c),g=a.next();!g.done;g=a.next())if(g=g.value,d+g.getAttribute("xml:id")==e){f.push(g);break}return f}function Sia(a,b,c,d){a=Ria(a,b);null==c?c=a.start:null!=a.start&&(c+=a.start);null==d?d=a.end:null!=a.start&&(d+=a.start);return{start:c,end:d}}
954function Ria(a,b){var c=Et(a.getAttribute("begin"),b),d=Et(a.getAttribute("end"),b);a=Et(a.getAttribute("dur"),b);null==d&&null!=a&&(d=c+a);return{start:c,end:d}}
955function Et(a,b){var c=null;if(Zia.test(a)){a=Zia.exec(a);c=Number(a[1]);var d=Number(a[2]),e=Number(a[3]),f=Number(a[4]);f+=(Number(a[5])||0)/b.h;e+=f/b.frameRate;c=e+60*d+3600*c}else if($ia.test(a))c=Ft($ia,a);else if(aja.test(a))c=Ft(aja,a);else if(bja.test(a))a=bja.exec(a),c=Number(a[1])/b.frameRate;else if(cja.test(a))a=cja.exec(a),c=Number(a[1])/b.g;else if(dja.test(a))c=Ft(dja,a);else if(a)throw new Bb(2,2,2001,"Could not parse cue time range in TTML");return c}
956function Ft(a,b){a=a.exec(b);return null==a||""==a[0]?null:(Number(a[4])||0)/1E3+(Number(a[3])||0)+60*(Number(a[2])||0)+3600*(Number(a[1])||0)}fb("shaka.text.TtmlTextParser",ft);ft.prototype.parseMedia=ft.prototype.parseMedia;ft.prototype.setSequenceMode=ft.prototype.setSequenceMode;ft.prototype.parseInit=ft.prototype.parseInit;
957function Oia(a,b,c,d){this.frameRate=Number(a)||30;this.h=Number(b)||1;this.g=Number(d);0==this.g&&(this.g=a?this.frameRate*this.h:1);c&&(a=/^(\d+) (\d+)$/g.exec(c))&&(this.frameRate*=Number(a[1])/Number(a[2]))}
958var xt=/^(\d{1,2}(?:\.\d+)?|100(?:\.0+)?)% (\d{1,2}(?:\.\d+)?|100(?:\.0+)?)%$/,Wia=/^(\d{1,2}(?:\.\d+)?|100)%$/,Ct=/^(\d+px|\d+em|\d*\.?\d+c)$/,yt=/^(\d+)px (\d+)px$/,Zia=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,$ia=/^(?:(\d{2,}):)?(\d{2}):(\d{2})$/,aja=/^(?:(\d{2,}):)?(\d{2}):(\d{2}\.\d{2,})$/,bja=/^(\d*(?:\.\d*)?)f$/,cja=/^(\d*(?:\.\d*)?)t$/,dja=/^(?:(\d*(?:\.\d*)?)h)?(?:(\d*(?:\.\d*)?)m)?(?:(\d*(?:\.\d*)?)s)?(?:(\d*(?:\.\d*)?)ms)?$/,Via={left:tg,center:"center",right:"end",start:tg,end:"end"},
959Uia={left:"line-left",center:"center",right:"line-right"},gt=["http://www.w3.org/ns/ttml#parameter","http://www.w3.org/2006/10/ttaf1#parameter"],wt=["http://www.w3.org/ns/ttml#styling","http://www.w3.org/2006/10/ttaf1#styling"],Qia=["http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt","http://www.smpte-ra.org/schemas/2052-1/2013/smpte-tt"];Jg["application/ttml+xml"]=function(){return new ft};function Gt(){this.s=new ft}Gt.prototype.parseInit=function(a){var b=!1;(new ti).box("moov",xi).box("trak",xi).box("mdia",xi).box("minf",xi).box("stbl",xi).md("stsd",zi).box("stpp",function(c){b=!0;c.parser.stop()}).parse(a);if(!b)throw new Bb(2,2,2007);};Gt.prototype.setSequenceMode=function(){};Gt.prototype.parseMedia=function(a,b){var c=this,d=!1,e=[];(new ti).box("mdat",Bi(function(f){d=!0;e=e.concat(c.s.parseMedia(f,b))})).parse(a,!1);if(!d)throw new Bb(2,2,2007);return e};
960fb("shaka.text.Mp4TtmlParser",Gt);Gt.prototype.parseMedia=Gt.prototype.parseMedia;Gt.prototype.setSequenceMode=Gt.prototype.setSequenceMode;Gt.prototype.parseInit=Gt.prototype.parseInit;Jg['application/mp4; codecs="stpp"']=function(){return new Gt};Jg['application/mp4; codecs="stpp.ttml"']=function(){return new Gt};Jg['application/mp4; codecs="stpp.ttml.im1t"']=function(){return new Gt};Jg['application/mp4; codecs="stpp.TTML.im1t"']=function(){return new Gt};function Ht(){this.g=!1}Ht.prototype.parseInit=function(){};Ht.prototype.setSequenceMode=function(a){this.g=a};
961Ht.prototype.parseMedia=function(a,b){a=pf(a);a=a.replace(/\r\n|\r(?=[^\n]|$)/gm,"\n");var c=a.split(/\n{2,}/m);
961if(!/^WEBVTT($|[ \t\n])/m.test(c[0]))throw new Bb(2,2,2E3);a=b.vttOffset;if(c[0].includes("X-TIMESTAMP-MAP")&&this.g){var d=c[0].match(/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m),e=c[0].match(/MPEGTS:(\d+)/m);if(d&&e){a=It(new mr(d[1]));if(null==a)throw new Bb(2,2,2E3);e=Number(e[1]);for(d=b.segmentStart-b.periodStart;95443.7176888889<=d;)d-=95443.7176888889,e+=8589934592;a=b.periodStart+
962e/9E4-a}}b=[];e=m(c[0].split("\n"));for(d=e.next();!d.done;d=e.next())if(d=d.value,/^Region:/.test(d)){d=new mr(d);var f=new og;pr(d);nr(d);for(var g=pr(d);g;){var k=f,l=g;(g=/^id=(.*)$/.exec(l))?k.id=g[1]:(g=/^width=(\d{1,2}|100)%$/.exec(l))?k.width=Number(g[1]):(g=/^lines=(\d+)$/.exec(l))?(k.height=Number(g[1]),k.heightUnits=2):(g=/^regionanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(l))?(k.regionAnchorX=Number(g[1]),k.regionAnchorY=Number(g[2])):(g=/^viewportanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(l))?
963(k.viewportAnchorX=Number(g[1]),k.viewportAnchorY=Number(g[2])):/^scroll=up$/.exec(l)&&(k.scroll="up");nr(d);g=pr(d)}b.push(f)}e=new Map;eja(e);d=[];c=m(c.slice(1));for(f=c.next();!f.done;f=c.next()){f=f.value.split("\n");if((1!=f.length||f[0])&&!/^NOTE($|[ \t])/.test(f[0])&&"STYLE"==f[0]){k=[];g=-1;for(l=1;l<f.length;l++)f[l].includes("::cue")&&(k.push([]),g=k.length-1),-1!=g&&(k[g].push(f[l]),f[l].includes("}")&&(g=-1));k=m(k);for(g=k.next();!g.done;g=k.next()){var n=g.value;g="global";(l=n[0].match(/\((.*)\)/))&&
964(g=l.pop());l=n.slice(1,-1);n[0].includes("}")&&(n=/\{(.*?)\}/.exec(n[0]))&&(l=n[1].split(";"));(n=e.get(g))||(n=new jg(0,0,""));for(var q=!1,t=0;t<l.length;t++){var u=/^\s*([^:]+):\s*(.*)/.exec(l[t]);if(u){var v=u[2].trim().replace(";","");switch(u[1].trim()){case "background-color":case "background":q=!0;n.backgroundColor=v;break;case "color":q=!0;n.color=v;break;case "font-family":q=!0;n.fontFamily=v;break;case "font-size":q=!0;n.fontSize=v;break;case "font-weight":if(700<=parseInt(v,10)||"bold"==
965v)q=!0,n.fontWeight=700;break;case "font-style":switch(v){case "normal":q=!0;n.fontStyle=wg;break;case "italic":q=!0;n.fontStyle="italic";break;case "oblique":q=!0,n.fontStyle="oblique"}break;case "opacity":q=!0;n.opacity=parseFloat(v);break;case "text-shadow":q=!0;n.textShadow=v;break;case "white-space":q=!0,n.wrapLine="noWrap"!=v}}}q&&e.set(g,n)}}q=a;if(1==f.length&&!f[0]||/^NOTE($|[ \t])/.test(f[0])||"STYLE"==f[0]||"REGION"==f[0])f=null;else{k=null;f[0].includes("--\x3e")||(k=f[0],f.splice(0,1));
966g=new mr(f[0]);l=It(g);t=or(g,/[ \t]+--\x3e[ \t]+/g);n=It(g);if(null==l||null==t||null==n)throw new Bb(2,2,2001,"Could not parse cue time range in WebVTT");l+=q;n+=q;q=f.slice(1).join("\n").trim();e.has("global")?(f=e.get("global").clone(),f.startTime=l,f.endTime=n,f.payload=""):f=new jg(l,n,"");fja(q,f,e);nr(g);for(l=pr(g);l;)gja(f,l,b),nr(g),l=pr(g);null!=k&&(f.id=k)}f&&d.push(f)}return d};
967function eja(a){for(var b=m(Object.entries(Bg)),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;var e=new jg(0,0,"");e.color=d;a.set("."+c,e)}b=m(Object.entries(Cg));for(c=b.next();!c.done;c=b.next())d=m(c.value),c=d.next().value,d=d.next().value,e=new jg(0,0,""),e.backgroundColor=d,a.set("."+c,e)}
968function fja(a,b,c){0===c.size&&eja(c);a:{var d=a;a=[];for(var e=-1,f="",g=0;g<d.length;g++)if("/"===d[g]&&0<g&&"<"===d[g-1]){var k=d.indexOf(">",g);if(k<=g){a=d;break a}if((k=d.substring(g+1,k))&&"c"===k){var l=a.pop();l?l===k?(f+="/"+k+">",g+=k.length+1):l.startsWith("c.")?(g+=k.length+1,f+="/"+l+">"):f+=d[g]:f+=d[g]}else f+=d[g]}else"<"===d[g]?(e=g+1,"c"!=d[e]&&(e=-1)):">"===d[g]&&0<e&&(a.push(d.substr(e,g-e)),e=-1),f+=d[g];a=f}d=[];f=-1;for(e=0;e<a.length;e++)"<"===a[e]?f=e+1:">"===a[e]&&0<f&&
969(f=a.substr(f,e-f),f.match(hja)&&d.push(f),f=-1);d=m(d);for(e=d.next();!e.done;e=d.next())e=e.value,a=a.replace("<"+e+">",'<div time="'+e+'">'),a+="</div>";a:{e=a;f=[];g=-1;d="";a=!1;for(k=0;k<e.length;k++)if("/"===e[k]){l=e.indexOf(">",k);if(-1===l){a=e;break a}if((l=e.substring(k+1,l))&&"v"==l){a=!0;var n=null;f.length&&(n=f[f.length-1]);n?n===l?(d+="/"+l+">",k+=l.length+1):n.startsWith("v")?(d+="/"+n+">",k+=l.length+1):d+=e[k]:d+=e[k]}else d+=e[k]}else"<"===e[k]?(g=k+1,"v"!=e[g]&&(g=-1)):">"===
970e[k]&&0<g&&(f.push(e.substr(g,k-g)),g=-1),d+=e[k];e=m(f);for(f=e.next();!f.done;f=e.next())f=f.value,g=f.replace(" ",".voice-"),d=d.replace("<"+f+">","<"+g+">"),d=d.replace("</"+f+">","</"+g+">"),a||(d+="</"+g+">");a=d}if(e=Zi("<span>"+a+"</span>","span")){d=[];e=e.childNodes;if(1==e.length&&(f=e[0],f.nodeType==Node.TEXT_NODE||f.nodeType==Node.CDATA_SECTION_NODE)){b.payload=Jt(a);return}a=m(e);for(e=a.next();!e.done;e=a.next())ija(e.value,b,d,c);b.nestedCues=d}else b.payload=Jt(a)}
971function Kt(a,b){return a&&0<a.length?a:b}
972function ija(a,b,c,d){var e=b.clone();if(a.nodeType===Node.ELEMENT_NODE&&a.nodeName)for(var f=m(a.nodeName.split(/(?=[ .])+/g)),g=f.next();!g.done;g=f.next()){var k=g=g.value;if(k.startsWith(".voice-")){var l=k.split("-").pop();k='v[voice="'+l+'"]';d.has(k)||(k="v[voice="+l+"]")}d.has(k)&&(k=d.get(k))&&(e.backgroundColor=Kt(k.backgroundColor,e.backgroundColor),e.color=Kt(k.color,e.color),e.fontFamily=Kt(k.fontFamily,e.fontFamily),e.fontSize=Kt(k.fontSize,e.fontSize),e.fontWeight=k.fontWeight,e.fontStyle=
973k.fontStyle,e.opacity=k.opacity,e.wrapLine=k.wrapLine);
973switch(g){case "br":g=b.clone();g.lineBreak=!0;c.push(g);break;case "b":e.fontWeight=700;break;case "i":e.fontStyle="italic";break;case "u":e.textDecoration.push("underline");break;case "div":if(g=a.getAttribute("time"))if(g=It(new mr(g)))e.startTime=g}}if(Ri(a))for(f=!0,d=m(a.textContent.split("\n")),a=d.next();!a.done;a=d.next())a=a.value,f||(f=b.clone(),f.lineBreak=!0,c.push(f)),0<a.length&&(f=e.clone(),f.payload=Jt(a),c.push(f)),f=!1;else for(b=
974m(a.childNodes),a=b.next();!a.done;a=b.next())ija(a.value,e,c,d)}
975function gja(a,b,c){var d;if(d=/^align:(start|middle|center|end|left|right)$/.exec(b))b=d[1],"middle"==b?a.textAlign=qg:a.textAlign=yg[b.toUpperCase()];else if(d=/^vertical:(lr|rl)$/.exec(b))a.writingMode="lr"==d[1]?"vertical-lr":"vertical-rl";else if(d=/^size:([\d.]+)%$/.exec(b))a.size=Number(d[1]);else if(d=/^position:([\d.]+)%(?:,(line-left|line-right|center|start|end))?$/.exec(b))a.position=Number(d[1]),d[2]&&(b=d[2],a.positionAlign="line-left"==b||"start"==b?"line-left":"line-right"==b||"end"==
976b?"line-right":"center");else if(d=/^region:(.*)$/.exec(b)){if(b=jja(c,d[1]))a.region=b}else if(c=/^line:([\d.]+)%(?:,(start|end|center))?$/.exec(b))a.lineInterpretation=1,a.line=Number(c[1]),c[2]&&(a.lineAlign=Ag[c[2].toUpperCase()]);else if(c=/^line:(-?\d+)(?:,(start|end|center))?$/.exec(b))a.lineInterpretation=sg,a.line=Number(c[1]),c[2]&&(a.lineAlign=Ag[c[2].toUpperCase()])}function jja(a,b){a=a.filter(function(c){return c.id==b});return a.length?a[0]:null}
977function It(a){a=or(a,hja);if(null==a)return null;var b=Number(a[2]),c=Number(a[3]);return 59<b||59<c?null:Number(a[4])/1E3+c+60*b+3600*(Number(a[1])||0)}function Jt(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":"\u00a0","&lrm;":"\u200e","&rlm;":"\u200f"},c=/&(?:amp|lt|gt|quot|#(0+)?39|nbsp|lrm|rlm);/g,d=RegExp(c.source);return a&&d.test(a)?a.replace(c,function(e){return b[e]||"'"}):a||""}fb("shaka.text.VttTextParser",Ht);Ht.prototype.parseMedia=Ht.prototype.parseMedia;
978Ht.prototype.setSequenceMode=Ht.prototype.setSequenceMode;Ht.prototype.parseInit=Ht.prototype.parseInit;var hja=/(?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{2,3})/g;Jg["text/vtt"]=function(){return new Ht};Jg['text/vtt; codecs="vtt"']=function(){return new Ht};Jg['text/vtt; codecs="wvtt"']=function(){return new Ht};function Lt(){this.g=null}Lt.prototype.parseInit=function(a){var b=this,c=!1;(new ti).box("moov",xi).box("trak",xi).box("mdia",xi).md("mdhd",function(d){d=Fk(d.reader,d.version);b.g=d.timescale}).box("minf",xi).box("stbl",xi).md("stsd",zi).box("wvtt",function(){c=!0}).parse(a);if(!this.g)throw new Bb(2,2,2008);if(!c)throw new Bb(2,2,2008);};Lt.prototype.setSequenceMode=function(){};
979Lt.prototype.parseMedia=function(a,b){if(!a.length)return[];if(!this.g)throw new Bb(2,2,2008);var c=0,d=[],e,f=[],g=!1,k=!1,l=!1,n=null;(new ti).box("moof",xi).box("traf",xi).md("tfdt",function(P){g=!0;c=Ek(P.reader,P.version).bJ}).md("tfhd",function(P){n=Dk(P.reader,P.flags).gK}).md("trun",function(P){k=!0;d=Gk(P.reader,P.version,P.flags).FO}).box("mdat",Bi(function(P){l=!0;e=P})).parse(a,!1);if(!l&&!g&&!k)throw new Bb(2,2,2008);a=c;for(var q=new ni(e,0),t=m(d),u=t.next();!u.done;u=t.next()){u=u.value;
980var v=u.QF||n,y=u.Mz?c+u.Mz:a;a=y+(v||0);var G=0;do{var K=q.eb();G+=K;var J=q.eb(),O=null;"vttc"==wi(J)?8<K&&(O=q.Hd(K-8)):q.skip(K-8);v&&O&&(K=kja(O,b.periodStart+y/this.g,b.periodStart+a/this.g),f.push(K))}while(u.sampleSize&&G<u.sampleSize)}return f.filter(Ne)};function kja(a,b,c){var d,e,f;(new ti).box("payl",Bi(function(g){d=pf(g)})).box("iden",Bi(function(g){e=pf(g)})).box("sttg",Bi(function(g){f=pf(g)})).parse(a);return d?lja(d,e,f,b,c):null}
981function lja(a,b,c,d,e){d=new jg(d,e,"");fja(a,d,new Map);b&&(d.id=b);if(c)for(a=new mr(c),b=pr(a);b;)gja(d,b,[]),nr(a),b=pr(a);return d}fb("shaka.text.Mp4VttParser",Lt);Lt.prototype.parseMedia=Lt.prototype.parseMedia;Lt.prototype.setSequenceMode=Lt.prototype.setSequenceMode;Lt.prototype.parseInit=Lt.prototype.parseInit;Jg['application/mp4; codecs="wvtt"']=function(){return new Lt};function Mt(){}Mt.prototype.parseInit=function(){};Mt.prototype.setSequenceMode=function(){};Mt.prototype.parseMedia=function(a){var b=pf(a).replace(/\r+/g,"");b=b.trim();a=[];if(""==b)return a;b=m(b.split("\n\n"));for(var c=b.next();!c.done;c=b.next()){c=c.value.split("\n");var d=new mr(c[0]),e=mja(d),f=or(d,/,/g);d=mja(d);if(null==e||null==f||null==d)throw new Bb(2,2,2001,"Could not parse cue time range in SubViewer");a.push(new jg(e,d,c.slice(1).join("\n").trim()))}return a};
982function mja(a){a=or(a,/(?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{2,3})/g);if(null==a)return null;var b=Number(a[2]),c=Number(a[3]);return 59<b||59<c?null:Number(a[4])/1E3+c+60*b+3600*(Number(a[1])||0)}fb("shaka.text.SbvTextParser",Mt);Mt.prototype.parseMedia=Mt.prototype.parseMedia;Mt.prototype.setSequenceMode=Mt.prototype.setSequenceMode;Mt.prototype.parseInit=Mt.prototype.parseInit;Jg["text/x-subviewer"]=function(){return new Mt};function Nt(){this.s=new Ht}Nt.prototype.parseInit=function(){};Nt.prototype.setSequenceMode=function(){};Nt.prototype.parseMedia=function(a,b){a=pf(a);a=nja(a);a=wb(tf(a));return this.s.parseMedia(a,b)};function nja(a){var b="WEBVTT\n\n";if(""==a)return b;a=a.replace(/\r+/g,"");a=a.trim();a=m(a.split("\n\n"));for(var c=a.next();!c.done;c=a.next())c=c.value.split(/\n/),c[0].match(/\d+/)&&c.shift(),c[0]=c[0].replace(/,/g,"."),b+=c.join("\n")+"\n\n";return b}fb("shaka.text.SrtTextParser",Nt);
983Nt.srt2webvtt=nja;Nt.prototype.parseMedia=Nt.prototype.parseMedia;Nt.prototype.setSequenceMode=Nt.prototype.setSequenceMode;Nt.prototype.parseInit=Nt.prototype.parseInit;Jg["text/srt"]=function(){return new Nt};function Ot(){}Ot.prototype.parseInit=function(){};Ot.prototype.setSequenceMode=function(){};
984Ot.prototype.parseMedia=function(a){var b="",c="";a=pf(a).split(/\r?\n\s*\r?\n/);a=m(a);for(var d=a.next();!d.done;d=a.next()){var e=oja.exec(d.value);e&&(d=e[1],e=e[2],"V4 Styles"==d||"V4+ Styles"==d?b=e:"Events"==d&&(c=e))}a=[];d=null;b=m(b.split(/\r?\n/));for(var f=b.next();!f.done;f=b.next())if(e=f.value,!/^\s*;/.test(e)&&(f=pja.exec(e)))if(e=f[1].trim(),f=f[2].trim(),"Format"==e)d=f.split(Pt);else if("Style"==e){e=f.split(Pt);f={};for(var g=0;g<d.length&&g<e.length;g++)f[d[g]]=e[g];a.push(f)}
984d=
985[];b=null;e={};c=m(c.split(/\r?\n/));for(f=c.next();!f.done;e={uB:e.uB},f=c.next())if(f=f.value,!/^\s*;/.test(f)&&(g=pja.exec(f)))if(f=g[1].trim(),g=g[2].trim(),"Format"==f)b=g.split(Pt);else if("Dialogue"==f){g=g.split(Pt);f={};for(var k=0;k<b.length&&k<g.length;k++)f[b[k]]=g[k];k=qja(f.Start);var l=qja(f.End);g=new jg(k,l,g.slice(b.length-1).join(",").replace(/\\N/g,"\n").replace(/\{[^}]+\}/g,""));e.uB=f.Style;(f=a.find(function(n){return function(q){return q.Name==n.uB}}(e)))&&rja(g,f);d.push(g)}return d};
986function rja(a,b){var c=b.Fontname;c&&(a.fontFamily=c);if(c=b.Fontsize)a.fontSize=c+"px";if(c=b.PrimaryColour)if(c=sja(c))a.color=c;if(c=b.BackColour)if(c=sja(c))a.backgroundColor=c;b.Bold&&(a.fontWeight=700);b.Italic&&(a.fontStyle="italic");b.Underline&&a.textDecoration.push("underline");if(c=b.Spacing)a.letterSpacing=c+"px";if(c=b.Alignment)switch(parseInt(c,10)){case 1:a.displayAlign=ug;a.textAlign="start";break;case 2:a.displayAlign=ug;a.textAlign=qg;break;case 3:a.displayAlign=ug;a.textAlign=
987"end";break;case 5:a.displayAlign="before";a.textAlign="start";break;case 6:a.displayAlign="before";a.textAlign=qg;break;case 7:a.displayAlign="before";a.textAlign="end";break;case 9:a.displayAlign="center";a.textAlign="start";break;case 10:a.displayAlign="center";a.textAlign=qg;break;case 11:a.displayAlign="center",a.textAlign="end"}if(b=b.AlphaLevel)a.opacity=parseFloat(b)}
988function sja(a){a=parseInt(a.replace("&H",""),16);return 0<=a?"rgba("+(a&255)+","+(a>>8&255)+","+(a>>16&255)+","+(a>>24&255^255)/255+")":null}function qja(a){a=tja.exec(a);return 3600*(a[1]?parseInt(a[1].replace(":",""),10):0)+60*parseInt(a[2],10)+parseFloat(a[3])}fb("shaka.text.SsaTextParser",Ot);Ot.prototype.parseMedia=Ot.prototype.parseMedia;Ot.prototype.setSequenceMode=Ot.prototype.setSequenceMode;Ot.prototype.parseInit=Ot.prototype.parseInit;
989var oja=/^\s*\[([^\]]+)\]\r?\n([\s\S]*)/,pja=/^\s*([^:]+):\s*(.*)/,Pt=/\s*,\s*/,tja=/^(\d+:)?(\d{1,2}):(\d{1,2}(?:[.]\d{1,3})?)?$/;Jg["text/x-ssa"]=function(){return new Ot};function Qt(a,b){var c=this;this.parent=a;this.controls=b;this.eventManager=new fi;this.localization=this.controls.Z;this.player=this.controls.Mn();this.video=this.controls.mm();this.adManager=this.player.Bx();this.ad=b.getAd();this.eventManager.J(this.adManager,"ad-started",function(d){c.ad=d.ad});this.eventManager.J(this.adManager,"ad-stopped",function(){c.ad=null})}
990Qt.prototype.release=function(){this.eventManager.release();this.ad=this.adManager=this.video=this.player=this.localization=this.eventManager=this.controls=this.parent=null};fb("shaka.ui.Element",Qt);Qt.prototype.release=Qt.prototype.release;function Rt(a){Nh.call(this);this.o=Xf(a);this.j=new Map;this.g=new Set;this.h=new Map}pa(Rt,Nh);h=Rt.prototype;h.release=function(){Nh.prototype.release.call(this)};
991h.AJ=function(a){var b=this;this.g.clear();a=m(a);for(var c=a.next();!c.done;c=a.next())this.g.add(Xf(c.value));uja(this);a=ki(this.g,function(d){return!b.h.has(d)});a.length&&this.dispatchEvent(new Kh("unknown-locales",(new Map).set("locales",a)));a=ki(this.g,function(d){return b.h.has(d)});a=(new Map).set("locales",a.length?a:[this.o]);this.dispatchEvent(new Kh("locale-changed",a))};
992h.le=function(a,b,c){a=Xf(a);void 0===c&&(c=St);var d=this.h.get(a)||new Map;b.forEach(function(e,f){d.has(f)&&c!=St||d.set(f,e)});this.h.set(a,d);uja(this);this.dispatchEvent(new Kh("locale-updated"));return this};h.u5=function(a){for(var b=m(a.keys()),c=b.next();!c.done;c=b.next())c=c.value,a.set(c,this.resolve(c))};h.resolve=function(a){var b=this.j.get(a);if(b)return b;a=(new Map).set("locales",Array.from(this.g)).set("missing",a);this.dispatchEvent(new Kh("unknown-localization",a));return""};
993function uja(a){for(var b=a.h,c=a.o,d=a.g,e=new Set,f={},g=m(d),k=g.next();!k.done;f={Ap:f.Ap},k=g.next()){f.Ap=k.value;e.add(f.Ap);e.add(bg(f.Ap));k=ki(b.keys(),function(n){return function(q){return ag(q,n.Ap)}}(f));k.sort();var l=m(k);for(k=l.next();!k.done;k=l.next())e.add(k.value);k=ki(b.keys(),function(n){return function(q){return bg(q)==n.Ap}}(f));k.sort();l=m(k);for(k=l.next();!k.done;k=l.next())e.add(k.value)}e.add(c);c=[];e=m(e);for(k=e.next();!k.done;k=e.next())(k=b.get(k.value))&&c.push(k);
994c.reverse();a.j.clear();b=m(c);for(k=b.next();!k.done;k=b.next())k.value.forEach(function(n,q){a.j.set(q,n)});b=a.j.keys();e=new Set;c=m(a.g);for(k=c.next();!k.done;k=c.next())k=a.h.get(k.value)||new Map,vja(k,b,e);0<e.size&&(d=(new Map).set("locales",Array.from(d)).set("missing",Array.from(e)),a.dispatchEvent(new Kh("missing-localizations",d)))}function vja(a,b,c){b=m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.get(d)||c.add(d)}fb("shaka.ui.Localization",Rt);Rt.prototype.resolve=Rt.prototype.resolve;
995Rt.prototype.resolveDictionary=Rt.prototype.u5;Rt.prototype.insert=Rt.prototype.le;Rt.prototype.changeLocale=Rt.prototype.AJ;Rt.prototype.release=Rt.prototype.release;var St=1;Rt.ConflictResolution={USE_OLD:0,USE_NEW:St};Rt.UNKNOWN_LOCALES="unknown-locales";Rt.UNKNOWN_LOCALIZATION="unknown-localization";Rt.MISSING_LOCALIZATIONS="missing-localizations";Rt.LOCALE_CHANGED="locale-changed";Rt.LOCALE_UPDATED="locale-updated";
995var wja={Dba:"ENTER_PICTURE_IN_PICTURE",Vba:"FULL_SCREEN",Eda:"PLAY",Fda:"PLAYBACK_RATE",Hea:"UNDETERMINED_LANGUAGE",Eca:"LANGUAGE",$da:"SKIP_AD",Xaa:"CAST",KT:"LIVE",dda:"MUTE",Dda:"PICTURE_IN_PICTURE",cda:"MULTIPLE_LANGUAGES",waa:"AD_TIME",Iba:"EXIT_LOOP_MODE",Rda:"REWIND",Tda:"SEEK",Hda:"QUALITY",BACK:"BACK",Kea:"UNMUTE",RT:"SUBTITLE_FORCED",Vaa:"CAPTIONS",rda:"ON",Kca:"LOOP",Qda:"RESOLUTION",Mba:"FAST_FORWARD",Baa:"AUTO_QUALITY",xaa:"AIRPLAY",Jba:"EXIT_PICTURE_IN_PICTURE",Yea:"VOLUME",yda:"PAUSE",
996Cba:"ENTER_LOOP_MODE",Pda:"REPLAY",aea:"SKIP_TO_LIVE",Hba:"EXIT_FULL_SCREEN",Yca:"MORE_SETTINGS",ida:"NOT_APPLICABLE",Mea:"UNRECOGNIZED_LANGUAGE",vaa:"AD_DURATION",fea:"STATISTICS",AD_PROGRESS:"AD_PROGRESS",qda:"OFF"};function Tt(a,b){a=a.getElementsByClassName(b);return a.length?a[0]:null}function Ut(a){a&&(a=Tt(a,"zx-chosen-item"))&&a.parentElement.focus()}function Vt(){var a=Lm("i");a.classList.add("Cx-Dx-Ex");a.classList.add("zx-chosen-item");a.textContent="done";a.ariaHidden="true";return a}function Wt(a,b){a&&(b?a.classList.remove("zx-Ax"):a.classList.add("zx-Ax"))}
997function Xt(a,b){var c=Math.floor(a/3600),d=Math.floor(a/60%60);a=Math.floor(a%60);10>a&&(a="0"+a);a=d+":"+a;b&&(10>d&&(a="0"+a),a=c+":"+a);return a};function Yt(a,b){Qt.call(this,a,b);var c=this;this.j=Lm("div");this.j.classList.add("zx-cy-ry");this.parent.appendChild(this.j);this.h=Lm("span");this.h.classList.add("shaka-ad-counter-span");this.j.appendChild(this.h);this.g=new Xe(function(){var d=Math.round(c.ad.getRemainingTime()),e=c.ad.getDuration();-1!=d&&-1!=e&&(0<d?(d=Xt(e-d,!1)+" / "+Xt(e,!1),1<c.ad.getSequenceLength()?c.h.textContent=d:(e=c.localization.resolve("AD_TIME"),c.h.textContent=e.replace("[AD_TIME]",d))):(c.g.stop(),c.h.textContent=
998""))});this.eventManager.J(this.localization,"locale-updated",function(){});this.eventManager.J(this.localization,"locale-changed",function(){});this.eventManager.J(this.adManager,"ad-started",function(){c.g.vg();c.g.kf(.5)});this.eventManager.J(this.adManager,"ad-stopped",function(){c.g.stop();c.h.textContent=""});this.ad&&(this.g.vg(),this.g.kf(.5))}pa(Yt,Qt);Yt.prototype.release=function(){this.g.stop();this.g=null;Qt.prototype.release.call(this)};fb("shaka.ui.AdCounter",Yt);function Zt(a,b){Qt.call(this,a,b);var c=this;this.g=Lm("div");this.g.classList.add("zx-cy-jy");Wt(this.g,!1);this.parent.appendChild(this.g);this.h=Lm("span");this.h.classList.add("shaka-ad-position-span");this.g.appendChild(this.h);this.eventManager.J(this.localization,"locale-updated",function(){c.ad&&$t(c)});this.eventManager.J(this.localization,"locale-changed",function(){c.ad&&$t(c)});this.eventManager.J(this.adManager,"ad-started",function(){$t(c)});this.eventManager.J(this.adManager,"ad-stopped",
999function(){c.h.textContent="";Wt(c.g,!1)});this.ad&&$t(this)}pa(Zt,Qt);function $t(a){var b=a.ad.getSequenceLength();if(1<b){var c=a.ad.getPositionInSequence();a.h.textContent=a.localization.resolve("AD_PROGRESS").replace("[AD_ON]",String(c)).replace("[NUM_ADS]",String(b));Wt(a.g,!0)}}fb("shaka.ui.AdPosition",Zt);function au(a,b){Qt.call(this,a,b);var c=this;this.button=Mm();this.parent.appendChild(this.button);this.eventManager.J(this.localization,"locale-updated",function(){c.g()});this.eventManager.J(this.localization,"locale-changed",function(){c.g()});this.eventManager.J(this.video,"play",function(){c.g();c.h()});this.eventManager.J(this.video,"pause",function(){c.g();c.h()});this.eventManager.J(this.video,"seeking",function(){c.g();c.h()});this.eventManager.J(this.adManager,"ad-paused",function(){c.g();
1000c.h()});this.eventManager.J(this.adManager,"ad-resumed",function(){c.g();c.h()});this.eventManager.J(this.adManager,"ad-started",function(){c.g();c.h()});this.eventManager.J(this.button,"click",function(){c.ad&&c.ad.isLinear()?xja(c.controls):yja(c.controls)});this.ad&&(this.g(),this.h())}pa(au,Qt);au.prototype.isPaused=function(){if(this.ad&&this.ad.isLinear())var a=this.ad.isPaused();else a=this.controls,a=a.j.paused&&!a.M;return a};au.prototype.g=function(){};au.prototype.h=function(){};
1001fb("shaka.ui.PlayButton",au);function bu(a,b){au.call(this,a,b);this.button.classList.add("zx-Mx-Fh");this.button.classList.add("shaka-no-propagation");this.h();this.g()}pa(bu,au);bu.prototype.h=function(){this.isPaused()?this.button.setAttribute("icon","play"):this.button.setAttribute("icon","pause")};bu.prototype.g=function(){var a=this.isPaused()?"PLAY":"PAUSE";this.button.ariaLabel=this.localization.resolve(a)};fb("shaka.ui.BigPlayButton",bu);function cu(a,b){Qt.call(this,a,b);var c=this;this.V=this.controls.V;this.h=this.controls.$c;this.j=[];this.g=Lm("div");this.g.classList.add("shaka-no-propagation");this.g.classList.add("zx-Ox-te");this.g.classList.add("zx-Ax");this.h.appendChild(this.g);this.eventManager.J(this.h,"contextmenu",function(d){if(c.g.classList.contains("zx-Ax")){d.preventDefault();var e=c.h.getBoundingClientRect();c.g.style.left=d.clientX-e.left+"px";c.g.style.top=d.clientY-e.top+"px";Wt(c.g,!0)}else Wt(c.g,!1)});this.eventManager.J(window,
1002"click",function(){Wt(c.g,!1)});zja(this)}pa(cu,Qt);cu.prototype.release=function(){this.h=null;for(var a=m(this.j),b=a.next();!b.done;b=a.next())b.value.release();this.j=[];Qt.prototype.release.call(this)};function du(a,b){Aja.set(a,b)}function zja(a){for(var b=m(a.V.contextMenuElements),c=b.next();!c.done;c=b.next()){c=c.value;var d=Aja.get(c);d?a.j.push(d.create(a.g,a.controls)):lb("Unrecognized context menu element:",c)}}fb("shaka.ui.ContextMenu",cu);cu.registerElement=du;var Aja=new Map;function eu(a,b,c,d){Qt.call(this,a,b);var e=this;this.container=Lm("div");this.container.classList.add("zx-Yx-ye");this.container.classList.add.apply(this.container.classList,ka(c));this.g=!1;this.bar=document.createElement("input");this.l=new Xe(function(){e.onChangeEnd();e.g=!1});this.bar.classList.add("zx-Yx-ay");this.bar.classList.add.apply(this.bar.classList,ka(d));this.bar.type="range";this.bar.step="any";this.bar.min="0";this.bar.max="1";this.bar.value="0";this.container.appendChild(this.bar);
1003this.parent.appendChild(this.container);this.eventManager.J(this.bar,"mousedown",function(){e.controls.lo()&&(e.g=!0,e.onChangeStart())});this.eventManager.J(this.bar,"touchstart",function(f){e.controls.lo()&&(e.g=!0,fu(e,f),e.onChangeStart())});this.eventManager.J(this.bar,"input",function(){e.onChange()});this.eventManager.J(this.bar,"touchmove",function(f){e.g&&(fu(e,f),e.onChange())});this.eventManager.J(this.bar,"touchend",function(f){e.g&&(e.g=!1,fu(e,f),e.onChangeEnd())});this.eventManager.J(this.bar,
1004"mouseup",function(){e.g&&(e.g=!1,e.onChangeEnd())})}pa(eu,Qt);h=eu.prototype;h.release=function(){this.l&&(this.l.stop(),this.l=null);Qt.prototype.release.call(this)};h.setRange=function(a,b){this.bar.min=a;this.bar.max=b};h.onChangeStart=function(){};h.onChange=function(){};h.onChangeEnd=function(){};h.changeTo=function(a){this.g||(this.g=!0,this.onChangeStart());var b=parseFloat(this.bar.min),c=parseFloat(this.bar.max);this.bar.value=a>c?c:a<b?b:a;this.onChange();this.l.Hc(.5)};h.getValue=function(){return parseFloat(this.bar.value)};
1005h.setValue=function(a){this.g||(this.bar.value=a)};function fu(a,b){b.preventDefault();var c=b.changedTouches[0],d=a.bar.getBoundingClientRect();b=parseFloat(a.bar.min);var e=parseFloat(a.bar.max);c=b+(e-b)/d.width*(c.clientX-d.left);c<b?c=b:c>e&&(c=e);a.bar.value=c}fb("shaka.ui.RangeElement",eu);eu.prototype.setValue=eu.prototype.setValue;eu.prototype.getValue=eu.prototype.getValue;eu.prototype.changeTo=eu.prototype.changeTo;eu.prototype.onChangeEnd=eu.prototype.onChangeEnd;
1006eu.prototype.onChange=eu.prototype.onChange;eu.prototype.onChangeStart=eu.prototype.onChangeStart;eu.prototype.setRange=eu.prototype.setRange;function gu(a,b){eu.call(this,a,b,["zx-by-Kq-ye"],["shaka-seek-bar","shaka-no-propagation","shaka-show-controls-on-mouse-over"]);var c=this;this.o=Lm("div");this.o.classList.add("zx-cy-dy");this.container.insertBefore(this.o,this.container.childNodes[0]);this.V=this.controls.V;this.h=new Xe(function(){c.video.currentTime=c.getValue()});this.s=new Xe(function(){Bja(c)});this.m=!1;this.j=[];this.eventManager.J(this.localization,"locale-updated",function(){return hu(c)});this.eventManager.J(this.localization,
1007"locale-changed",function(){return hu(c)});this.eventManager.J(this.adManager,"ad-started",function(){iu(c)||Wt(c.container,!1)});this.eventManager.J(this.adManager,"ad-stopped",function(){iu(c)&&Wt(c.container,!0)});this.eventManager.J(this.adManager,"ad-cue-points-changed",function(d){c.j=d.cuepoints;Cja(c)});this.eventManager.J(this.player,"unloading",function(){c.j=[];Cja(c)});this.setValue(this.video.currentTime);this.update();hu(this);this.ad&&Wt(this.container,!1)}pa(gu,eu);h=gu.prototype;
1008h.release=function(){this.h&&(this.h.stop(),this.h=null,this.s.stop(),this.s=null);eu.prototype.release.call(this)};h.onChangeStart=function(){this.m=!this.video.paused;this.controls.jG(!0);this.video.pause()};h.onChange=function(){this.video.duration&&(this.update(),this.h.Hc(.125))};h.onChangeEnd=function(){this.h.vg();this.controls.jG(!1);this.m&&this.video.play()};h.isShowing=function(){return!this.container.classList.contains("zx-Ax")};
1009h.update=function(){var a=this.V.seekBarColors,b=this.getValue(),c=this.video.buffered.length,d=c?this.video.buffered.start(0):0,e=c?this.video.buffered.end(c-1):0,f=this.player.uh(),g=f.end-f.start;this.setRange(f.start,f.end);iu(this)?(Wt(this.container,!0),0==c?this.container.style.background=a.base:(c=(Math.max(d,f.start)-f.start)/g||0,e=(Math.min(e,f.end)-f.start)/g||0,b=(Math.min(Math.max(b,f.start),f.end)-f.start)/g||0,this.container.style.background="linear-gradient("+["to right",(this.V.showUnbufferedStart?
1010a.base:a.played)+" "+100*c+"%",a.played+" "+100*c+"%",a.played+" "+100*b+"%",a.buffered+" "+100*b+"%",a.buffered+" "+100*e+"%",a.base+" "+100*e+"%"].join()+")")):Wt(this.container,!1)};
1011function Bja(a){if(a.j.length){for(var b=a.player.uh(),c=b.end-b.start,d=["to right"],e=[],f=a.V.seekBarColors.adBreaks,g=!1,k=m(a.j),l=k.next();!l.done;l=k.next())if(l=l.value,-1!=l.start||l.end||(g=!0),l.start>=b.start&&l.start<b.end&&!(l.end&&l.end>b.end)){var n=(l.start-b.start)/c||0,q=n+.01;l.end&&(q=(l.end-b.start)/c||0);e.push({start:n,end:q})}b=m(e);for(l=b.next();!l.done;l=b.next())c=l.value,d.push("transparent "+100*c.start+"%"),d.push(f+" "+100*c.start+"%"),d.push(f+" "+100*c.end+"%"),
1012d.push("transparent "+100*c.end+"%");g&&(d.push("transparent 99%"),d.push(f+" 99%"));a.o.style.background="linear-gradient("+d.join(",")+")"}else a.o.style.background="transparent"}function Cja(a){Bja(a);var b=a.player.uh();b=b.end-b.start;a.player.nd()&&5<b&&a.s.kf(1)}function iu(a){var b=a.player.uh();b=b.end-b.start;return a.player.nd()&&5>b?!1:null==a.ad||!a.ad.isLinear()}
1012function hu(a){a.bar.ariaLabel=a.localization.resolve("SEEK")}fb("shaka.ui.SeekBar",gu);function ju(){}
1013ju.prototype.create=function(a,b){return new gu(a,b)};gu.Factory=ju;function ku(a,b,c,d){Nh.call(this);var e=this;this.Kb=!0;this.V=d;this.l=new Hp(c,a,this.V.castReceiverAppId,this.V.castAndroidReceiverCompatible);this.Y=!0;this.j=this.l.mm();this.o=c;this.Bl=this.l.Mn();this.Ua=a;this.h=b;this.Ta=this.Bl.Bx();this.uf=this.ag=null;this.M=!1;this.s=[];this.Wa=[];this.Gb=!1;this.$q=new Xe(function(){e.h.style.cursor="none";e.Gb=!1;lu(e)});this.Ia=new Xe(function(){e.$c.removeAttribute("shown");e.m.Hc(2)});this.m=new Xe(function(){for(var f=m(e.s),g=f.next();!g.done;g=
1014f.next())Wt(g.value,!1)});this.cb=new Xe(function(){e.lo()&&mu(e)});this.tm=null;this.L=[];this.Z=Dja();this.g=new fi;this.configure(this.V);Eja(this);this.Mu=new Set;nu(this);this.cb.kf(.125);this.g.J(this.Z,"locale-changed",function(f){e.Ta.setLocale(f.locales[0])})}pa(ku,Nh);h=ku.prototype;
1015h.destroy=function(){var a=this;return r(function(b){switch(b.g){case 1:if(document.pictureInPictureElement!=a.o){b.ua(2);break}return p(b,document.exitPictureInPicture(),2);case 2:a.g&&(a.g.release(),a.g=null);a.$q&&(a.$q.stop(),a.$q=null);a.Ia&&(a.Ia.stop(),a.Ia=null);a.m&&(a.m.stop(),a.m=null);a.cb&&(a.cb.stop(),a.cb=null);Fja(a);a.$c&&(a.h.removeChild(a.$c),a.$c=null);if(!a.l){b.ua(4);break}return p(b,a.l.destroy(),5);case 5:a.l=null;case 4:if(!a.Ua){b.ua(6);break}return p(b,a.Ua.destroy(),7);
1016case 7:a.Ua=null;case 6:a.Bl=null,a.o=null,a.j=null,a.Z=null,a.Mu.clear(),Nh.prototype.release.call(a),ua(b)}})};function Fja(a){for(var b=m(a.L),c=b.next();!c.done;c=b.next())c.value.release();a.L=[]}function qu(a,b){ru.set(a,b)}h.nU=function(a){this.Y=a;nu(this)};h.f0=function(){lu(this)};
1017h.configure=function(a){this.V=a;this.l.CJ(a.castReceiverAppId,a.castAndroidReceiverCompatible);this.uf&&(this.uf=null);this.Ja&&(this.Ja=null);this.Pb&&(this.Pb=null);this.$c?(Nm(this.$c),Fja(this)):(Gja(this),Hja(this));this.h.classList.add("zx-Bx-ye");this.o.classList.add("shaka-video");Ija(this);this.V.addBigPlayButton&&Jja(this);this.V.customContextMenu&&(this.Pb=new cu(this.va,this),this.L.push(this.Pb));this.Rr||Kja(this);this.Ha=Lm("div");this.Ha.classList.add("zx-py-oy-cy-ye");this.$c.appendChild(this.Ha);
1018Lja(this);this.s=Array.from(this.h.getElementsByClassName("zx-hy-te"));this.s.push.apply(this.s,ka(Array.from(this.h.getElementsByClassName("zx-Kx-te"))));Mja(this);this.Wa=Array.from(this.h.getElementsByClassName("shaka-show-controls-on-mouse-over"));lu(this);a=m(this.h.getElementsByClassName("shaka-no-propagation"));for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=function(d){return d.stopPropagation()};this.g.J(b,"click",c);this.g.J(b,"dblclick",c)}};
1019h.dG=function(a){(this.Kb=a)?(this.h.setAttribute("shaka-controls","true"),this.o.tabIndex=-1,this.o.controls=!1):this.h.removeAttribute("shaka-controls");lu(this)};h.bP=function(a){this.o.controls=a;this.o.tabIndex=a?0:-1;a&&this.dG(!1)};h.getAd=function(){return this.ag};h.MX=function(){return this.l};h.aY=function(){return this.Z};h.tY=function(){return this.h};h.mm=function(){return this.j};h.$X=function(){return this.o};h.Mn=function(){return this.Bl};h.ZX=function(){return this.Ua};h.RX=function(){return this.$c};
1020h.lY=function(){return this.Ha};h.NX=function(){return this.ea};h.OX=function(){return this.V};h.Q_=function(){return this.M};h.jG=function(a){this.M=a};h.G_=function(){return this.Y};h.sL=function(){return this.uf?this.uf.getValue():this.j.currentTime};h.cP=function(a){this.tm=a};h.Cw=function(){return this.s.some(function(a){return!a.classList.contains("zx-Ax")})};h.Iq=function(){this.m.vg()};h.Dy=function(){return document.fullscreenEnabled||this.o.webkitSupportsFullscreen?!0:!1};
1021h.Qq=function(){if(document.fullscreenEnabled)return!!document.fullscreenElement;var a=this.o;return a.webkitSupportsFullscreen?a.webkitDisplayingFullscreen:!1};
1022function Nja(a){var b,c;return r(function(d){switch(d.g){case 1:va(d,2);if(!document.fullscreenEnabled){b=a.o;b.webkitSupportsFullscreen&&b.webkitEnterFullscreen();d.ua(4);break}if(!document.pictureInPictureElement){d.ua(5);break}return p(d,document.exitPictureInPicture(),5);case 5:return p(d,a.h.requestFullscreen({navigationUI:"hide"}),7);
1022case 7:if(!a.V.forceLandscapeOnFullscreen||!screen.orientation){d.ua(4);break}va(d,9);return p(d,screen.orientation.lock("landscape"),11);case 11:xa(d,4,2);break;
1023case 9:ya(d,2);case 4:xa(d,0);break;case 2:c=ya(d),a.dispatchEvent(new Kh("error",(new Map).set("detail",c))),ua(d)}})}function Oja(a){var b;return r(function(c){if(!document.fullscreenEnabled)return b=a.o,b.webkitSupportsFullscreen&&b.webkitExitFullscreen(),c.ua(0);screen.orientation&&screen.orientation.unlock();return p(c,document.exitFullscreen(),0)})}h.CH=function(){var a=this;return r(function(b){return a.Qq()?p(b,Oja(a),0):p(b,Nja(a),0)})};
1024h.IR=function(){Wt(this.T,!0);Wt(this.ea,!0);this.$c.setAttribute("ad-active","true")};h.hM=function(){Wt(this.T,!1);Wt(this.ea,!1);this.$c.removeAttribute("ad-active")};function yja(a){a.Kb&&a.j.duration&&(a.Bl.vJ(),a.j.paused&&!a.M?a.j.play():a.j.pause())}function xja(a){a.ag&&a.ag.isPaused()?a.ag.play():a.ag&&a.ag.pause()}
1025function Gja(a){a.$c=Lm("div");a.$c.classList.add("zx-Gx-ye");a.h.appendChild(a.$c);a.h.setAttribute("shaka-controls","true");a.g.J(a.$c,"touchstart",function(b){a.j.duration&&(a.lo()?a.tm=Date.now():(su(a,b),b.cancelable&&b.preventDefault()))},{passive:!1});a.g.J(a.$c,"click",function(){Pja(a)});a.g.J(a.$c,"dblclick",function(){a.V.doubleClickForFullscreen&&a.Dy()&&a.CH()})}function Jja(a){var b=Lm("div");b.classList.add("zx-Mx-Fh-ye");a.$c.appendChild(b);a.Ja=new bu(b,a);a.L.push(a.Ja)}
1026function Ija(a){var b=Lm("div");b.classList.add("zx-Sx-ye");a.$c.appendChild(b)}function Qja(a){a.T=Lm("div");a.T.classList.add("zx-cy-Gx");var b=null!=a.ag&&a.ag.isLinear();Wt(a.T,b);a.u.appendChild(a.T);b=new Zt(a.T,a);a.L.push(b);b=new Yt(a.T,a);a.L.push(b)}
1027function Kja(a){a.Rr=Lm("div");a.Rr.classList.add("zx-Ux-ye");a.h.appendChild(a.Rr);var b=Lm("div");b.classList.add("zx-Ux");a.Rr.appendChild(b);a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.classList.add("zx-Ux-ey");a.setAttribute("viewBox","0 0 30 30");b.appendChild(a);b=document.createElementNS("http://www.w3.org/2000/svg","circle");b.classList.add("zx-Ux-fy");b.setAttribute("cx","15");b.setAttribute("cy","15");b.setAttribute("r","14.5");b.setAttribute("fill","none");b.setAttribute("stroke-width",
1028"1");b.setAttribute("stroke-miterlimit","10");a.appendChild(b)}
1029function Lja(a){a.u=Lm("div");a.u.classList.add("zx-Es-Gx");a.u.classList.add("shaka-no-propagation");a.$c.appendChild(a.u);a.g.J(a.u,"click",function(d){d.target.closest(".shaka-overflow-button")||a.Iq()});Qja(a);a.va=Lm("div");a.va.classList.add("zx-Gx-Fh-Jx");a.va.classList.add("shaka-show-controls-on-mouse-over");a.V.enableTooltips&&a.va.classList.add("zx-sy-ty");a.u.appendChild(a.va);for(var b=m(a.V.controlPanelElements),c=b.next();!c.done;c=b.next())c=c.value,ru.get(c)?(c=ru.get(c).create(a.va,
1030a),a.L.push(c)):lb("Unrecognized control panel element requested:",c)}function Mja(a){if(a.V.addSeekBar)a.uf=Rja.create(a.u,a),a.L.push(a.uf);else{a=m(a.s);for(var b=a.next();!b.done;b=a.next())b.value.classList.add("zx-iy-jy")}}function Hja(a){a.ea=Lm("div");a.ea.classList.add("zx-ny-oy-cy-ye");Wt(a.ea,!1);a.g.J(a.ea,"click",function(){Pja(a)});a.h.appendChild(a.ea)}
1031function Eja(a){a.g.J(a.Bl,"buffering",function(){a.Kb&&Wt(a.Rr,a.Bl.uu())});a.Kb&&Wt(a.Rr,a.Bl.uu());a.g.J(window,"keydown",function(b){Sja(a,b)});a.g.J(window,"click",function(){return a.Iq()});a.g.J(a,"submenuopen",function(){a.Iq()});a.g.J(a.j,"play",function(){lu(a)});a.g.J(a.j,"pause",function(){lu(a)});a.g.J(a.h,"mousemove",function(b){su(a,b)});a.g.J(a.h,"touchmove",function(b){su(a,b)},{passive:!0});a.g.J(a.h,"touchend",function(b){su(a,b)},{passive:!0});a.g.J(a.h,"mouseleave",function(){a.tm||
1032a.$q.vg()});a.g.J(a.l,"caststatuschanged",function(){nu(a)});a.g.J(a.h,"keydown",function(b){var c=document.activeElement,d=c&&c.classList?c.classList.contains("shaka-volume-bar"):!1,e=c&&c.classList&&c.classList.contains("shaka-seek-bar");a.$c.contains(c)&&su(a,b);if(a.V.enableKeyboardPlaybackControls)switch(c=a.V.keyboardSeekDistance,b.key){case "ArrowLeft":a.uf&&!d&&0<c&&(b.preventDefault(),tu(a,a.uf.getValue()-c));break;case "ArrowRight":a.uf&&!d&&0<c&&(b.preventDefault(),tu(a,a.uf.getValue()+
1033c));break;case "Home":a.uf&&tu(a,a.Bl.uh().start);break;case "End":a.uf&&tu(a,a.Bl.uh().end);break;case " ":e&&Tja(a)}});a.g.J(a.h,"keyup",function(b){a.Mu.delete(b.key)});a.g.J(a.Ta,"ad-started",function(b){a.ag=b.ad;a.IR()});a.g.J(a.Ta,"ad-stopped",function(){a.ag=null;a.hM()});screen.orientation&&a.g.J(screen.orientation,"change",function(){return r(function(b){return p(b,Uja(a),0)})})}
1034function Uja(a){return r(function(b){return a.j&&0!=a.j.readyState&&!a.l.Lf
1034()&&a.V.enableFullscreenOnRotation&&a.Dy()?screen.orientation.type.includes("landscape")&&!a.Qq()?p(b,Nja(a),0):screen.orientation.type.includes("portrait")&&a.Qq()?p(b,Oja(a),0):b.ua(0):b.return()})}
1035function su(a,b){"mousemove"==b.type&&(a.$c.classList.remove("zx-Wx-Xx"),lu(a));"touchstart"==b.type||"touchmove"==b.type||"touchend"==b.type||"keyup"==b.type?a.tm=Date.now():a.tm+1E3<Date.now()&&(a.tm=null);a.tm&&"mousemove"==b.type||(a.h.style.cursor="",a.Gb=!0,a.m.stop(),a.lo()||(mu(a),lu(a)),a.$q.stop(),"touchend"!=b.type&&"keyup"!=b.type&&a.tm||a.$q.Hc(3))}function Vja(a){return window.matchMedia("hover: hover").matches?a.Wa.some(function(b){return b.matches(":hover")}):!1}
1036function lu(a){var b=a.ag?a.ag.isPaused():!1,c=a.j.paused&&!a.M,d=a.$c.classList.contains("zx-Wx-Xx");b||(!a.ag||!a.ag.isLinear())&&c||a.Gb||d||Vja(a)?(mu(a),a.$c.setAttribute("shown","true"),a.Ia.stop()):a.Ia.Hc(a.V.fadeDelay)}function Pja(a){a.Kb&&(a.Cw()?a.m.vg():a.V.singleClickForPlayAndPause&&Tja(a))}function Tja(a){a.ag&&a.ag.isLinear()?xja(a):yja(a)}
1037function nu(a){var b=a.l.Lf();a.dispatchEvent(new Kh("caststatuschanged",(new Map).set("newStatus",b)));b?a.$c.setAttribute("casting","true"):a.$c.removeAttribute("casting")}h.lo=function(){return this.Kb?null!=this.$c.getAttribute("shown")||null!=this.$c.getAttribute("casting"):!1};function tu(a,b){a.uf.changeTo(b);a.lo()&&mu(a)}
1038function mu(a){if(a.uf)if(a.uf.setValue(a.j.currentTime),a.uf.update(),a.uf.isShowing())for(var b=m(a.s),c=b.next();!c.done;c=b.next())c.value.classList.remove("zx-iy-jy");else for(b=m(a.s),c=b.next();!c.done;c=b.next())c.value.classList.add("zx-iy-jy");a.dispatchEvent(new Kh("timeandseekrangeupdated"))}
1039function Sja(a,b){a.Mu.add(b.key);var c=a.Cw();"Tab"==b.key&&(a.$c.classList.add("zx-Wx-Xx"),lu(a),a.g.J(window,"mousedown",function(){a.g.kc(window,"mousedown")}));"Escape"==b.key&&a.m.vg();c&&a.Mu.has("Tab")&&Wja(a,b)}
1040function Wja(a,b){var c=a.s.filter(function(f){return!f.classList.contains("zx-Ax")});if(c.length){var d=c[0];if(d.childNodes.length){for(c=d.firstElementChild;c&&c.classList.contains("zx-Ax");)c=c.nextElementSibling;for(d=d.lastElementChild;d&&d.classList.contains("zx-Ax");)d=d.previousElementSibling;var e=document.activeElement;a.Mu.has("Shift")?e==c&&(b.preventDefault(),d.focus()):e==d&&(b.preventDefault(),c.focus())}}}
1041function Dja(){var a=new Rt("en");a.le("ar",new Map([["AD_DURATION","\u0645\u062f\u0629 \u0627\u0644\u0625\u0639\u0644\u0627\u0646"],["AD_PROGRESS","\u0627\u0644\u0625\u0639\u0644\u0627\u0646 [AD_ON] \u0645\u0646 [NUM_ADS]"],["AD_TIME","\u0627\u0644\u0625\u0639\u0644\u0627\u0646: [AD_TIME]"],["AUTO_QUALITY","\u062a\u0644\u0642\u0627\u0626\u064a"],["BACK","\u0631\u062c\u0648\u0639"],["CAPTIONS","\u0627\u0644\u062a\u0631\u062c\u0645\u0629 \u0648\u0627\u0644\u0634\u0631\u062d"],["CAST","\u0625\u0631\u0633\u0627\u0644..."],
1042["ENTER_LOOP_MODE","\u062a\u0643\u0631\u0627\u0631 \u0627\u0644\u0641\u064a\u062f\u064a\u0648 \u0627\u0644\u062d\u0627\u0644\u064a"],["ENTER_PICTURE_IN_PICTURE",'\u0627\u0644\u062f\u062e\u0648\u0644 \u0641\u064a \u0648\u0636\u0639 "\u0646\u0627\u0641\u0630\u0629 \u0636\u0645\u0646 \u0646\u0627\u0641\u0630\u0629"'],["EXIT_FULL_SCREEN","\u0625\u0646\u0647\u0627\u0621 \u0648\u0636\u0639 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629"],["EXIT_LOOP_MODE","\u0625\u064a\u0642\u0627\u0641 \u062a\u0643\u0631\u0627\u0631 \u0627\u0644\u0641\u064a\u062f\u064a\u0648 \u0627\u0644\u062d\u0627\u0644\u064a"],
1043["EXIT_PICTURE_IN_PICTURE",'\u0627\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0648\u0636\u0639 "\u0646\u0627\u0641\u0630\u0629 \u0636\u0645\u0646 \u0646\u0627\u0641\u0630\u0629"'],["FAST_FORWARD","\u062a\u0642\u062f\u064a\u0645 \u0633\u0631\u064a\u0639"],["FULL_SCREEN","\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629"],["LANGUAGE","\u0627\u0644\u0644\u063a\u0629"],["LIVE","\u0645\u0628\u0627\u0634\u0631"],["LOOP","\u062a\u0643\u0631\u0627\u0631"],["MORE_SETTINGS","\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a"],
1044["MULTIPLE_LANGUAGES","\u0644\u063a\u0627\u062a \u0645\u062a\u0639\u062f\u062f\u0629"],["MUTE","\u0643\u062a\u0645 \u0627\u0644\u0635\u0648\u062a"],["NOT_APPLICABLE","\u063a\u064a\u0631 \u0633\u0627\u0631\u064d"],["OFF","\u0625\u064a\u0642\u0627\u0641"],["ON","\u062a\u0634\u063a\u064a\u0644"],["PAUSE","\u0625\u064a\u0642\u0627\u0641 \u0645\u0624\u0642\u062a"],["PICTURE_IN_PICTURE","\u0646\u0627\u0641\u0630\u0629 \u0636\u0645\u0646 \u0627\u0644\u0646\u0627\u0641\u0630\u0629"],["PLAY","\u0627\u0644\u062a\u0634\u063a\u064a\u0644"],
1045["PLAYBACK_RATE","\u0633\u0631\u0639\u0629 \u0627\u0644\u062a\u0634\u063a\u064a\u0644"],["RESOLUTION","\u062f\u0631\u062c\u0629 \u0627\u0644\u062f\u0642\u0629"],["REWIND","\u062a\u0631\u062c\u064a\u0639"],["SEEK","\u0627\u0644\u0628\u062d\u062b \u0628\u0627\u0644\u062a\u0645\u0631\u064a\u0631"],["SKIP_AD","\u062a\u062e\u0637\u0651\u064a \u0627\u0644\u0625\u0639\u0644\u0627\u0646"],["SKIP_TO_LIVE","\u0627\u0644\u0627\u0646\u062a\u0642\u0627\u0644 \u0625\u0644\u0649 \u0628\u062b \u0645\u0628\u0627\u0634\u0631"],
1046["UNDETERMINED_LANGUAGE","\u063a\u064a\u0631 \u0645\u062d\u062f\u062f"],["UNMUTE","\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0635\u0648\u062a"],["UNRECOGNIZED_LANGUAGE","\u063a\u064a\u0631 \u0645\u0639\u0631\u0648\u0641"],["VOLUME","\u0645\u0633\u062a\u0648\u0649 \u0627\u0644\u0635\u0648\u062a"]]));a.le("de",new Map([["AD_DURATION","Dauer der Werbeanzeige"],["AD_PROGRESS","Werbung\u00a0[AD_ON] von\u00a0[NUM_ADS]"],["AD_TIME","Werbeanzeige: [AD_TIME]"],["AUTO_QUALITY","Automatisch"],["BACK","Zur\u00fcck"],
1047["CAPTIONS","Untertitel"],["CAST","Streamen..."],["ENTER_LOOP_MODE","In Endlosschleife spielen"],["ENTER_PICTURE_IN_PICTURE","Bild-im-Bild-Modus aktivieren"],["EXIT_FULL_SCREEN","Vollbildmodus beenden"],["EXIT_LOOP_MODE","Endlosschleife stoppen"],["EXIT_PICTURE_IN_PICTURE","Bild-im-Bild-Modus beenden"],["FAST_FORWARD","Vorspulen"],["FULL_SCREEN","Vollbildmodus"],["LANGUAGE","Sprache"],["LIVE","Live"],["LOOP","Sc
1047hleife"],["MORE_SETTINGS","Weitere Einstellungen"],["MULTIPLE_LANGUAGES","Mehrere Sprachen"],
1048["MUTE","Stummschalten"],["NOT_APPLICABLE","Nicht zutreffend"],["OFF","Aus"],["ON","Ein"],["PAUSE","Pause"],["PICTURE_IN_PICTURE","Bild im Bild"],["PLAY","Wiedergabe"],["PLAYBACK_RATE","Geschwindigkeit"],["RESOLUTION","Aufl\u00f6sung"],["REWIND","Zur\u00fcckspulen"],["SEEK","Suche"],["SKIP_AD","\u00dcberspringen"],["SKIP_TO_LIVE","Zum Live-Videostream wechseln"],["UNDETERMINED_LANGUAGE","Unbestimmt"],["UNMUTE","Stummschaltung aufheben"],["UNRECOGNIZED_LANGUAGE","Unbekannt"],["VOLUME","Lautst\u00e4rke"]]));
1049a.le("en",new Map([["AD_DURATION","Ad duration"],["AD_PROGRESS","Ad [AD_ON] of [NUM_ADS]"],["AD_TIME","Ad: [AD_TIME]"],["AIRPLAY","AirPlay"],["AUTO_QUALITY","Auto"],["BACK","Back"],["CAPTIONS","Captions"],["CAST","Cast..."],["ENTER_LOOP_MODE","Loop the current video"],["ENTER_PICTURE_IN_PICTURE","Enter Picture-in-Picture"],["EXIT_FULL_SCREEN","Exit full screen"],["EXIT_LOOP_MODE","Stop looping the current video"],["EXIT_PICTURE_IN_PICTURE","Exit Picture-in-Picture"],["FAST_FORWARD","Fast-forward"],
1050["FULL_SCREEN","Full screen"],["LANGUAGE","Language"],["LIVE","Live"],["LOOP","Loop"],["MORE_SETTINGS","More settings"],["MULTIPLE_LANGUAGES","Multiple languages"],["MUTE","Mute"],["NOT_APPLICABLE","Not applicable"],["OFF","Off"],["ON","On"],["PAUSE","Pause"],["PICTURE_IN_PICTURE","Picture-in-Picture"],["PLAY","Play"],["PLAYBACK_RATE","Playback speed"],["QUALITY","Quality"],["REPLAY","Replay"],["RESOLUTION","Resolution"],["REWIND","Rewind"],["SEEK","Seek"],["SKIP_AD","Skip Ad"],["SKIP_TO_LIVE","Skip ahead to live"],
1051["STATISTICS","Statistics"],["SUBTITLE_FORCED","Forced"],["UNDETERMINED_LANGUAGE","Undetermined"],["UNMUTE","Unmute"],["UNRECOGNIZED_LANGUAGE","Unrecognized"],["VOLUME","Volume"]]));a.le("en-GB",new Map([["AD_DURATION","Ad duration"],["AD_PROGRESS","Ad [AD_ON] of [NUM_ADS]"],["AD_TIME","Ad: [AD_TIME]"],["AUTO_QUALITY","Auto"],["BACK","Back"],["CAPTIONS","Captions"],["CAST","Cast..."],["ENTER_LOOP_MODE","Loop the current video"],["ENTER_PICTURE_IN_PICTURE","Enter picture-in-picture"],["EXIT_FULL_SCREEN",
1052"Exit full screen"],["EXIT_LOOP_MODE","Stop looping the current video"],["EXIT_PICTURE_IN_PICTURE","Exit picture-in-picture"],["FAST_FORWARD","Fast-forward"],["FULL_SCREEN","Full screen"],["LANGUAGE","Language"],["LIVE","Live"],["LOOP","Loop"],["MORE_SETTINGS","More settings"],["MULTIPLE_LANGUAGES","Multiple languages"],["MUTE","Mute"],["NOT_APPLICABLE","Not applicable"],["OFF","Off"],["ON","On"],["PAUSE","Pause"],["PICTURE_IN_PICTURE","Picture-in-picture"],["PLAY","Play"],["PLAYBACK_RATE","Playback speed"],
1053["RESOLUTION","Resolution"],["REWIND","Rewind"],["SEEK","Seek"],["SKIP_AD","Skip ad"],["SKIP_TO_LIVE","Skip ahead to live"],["UNDETERMINED_LANGUAGE","Undetermined"],["UNMUTE","Unmute"],["UNRECOGNIZED_LANGUAGE","Unrecognised"],["VOLUME","volume"]]));a.le("es",new Map([["AD_DURATION","Duraci\u00f3n del anuncio"],["AD_PROGRESS","Anuncio [AD_ON] de [NUM_ADS]"],["AD_TIME","Anuncio: [AD_TIME]"],["AUTO_QUALITY","Autom\u00e1tico"],["BACK","Atr\u00e1s"],["CAPTIONS","Subt\u00edtulos"],["CAST","Enviar..."],
1054["ENTER_LOOP_MODE","Reproducir en bucle el v\u00eddeo actual"],["ENTER_PICTURE_IN_PICTURE","Activar el modo imagen en imagen"],["EXIT_FULL_SCREEN","Salir del modo de pantalla completa"],["EXIT_LOOP_MODE","Dejar de reproducir en bucle el v\u00eddeo actual"],["EXIT_PICTURE_IN_PICTURE","Salir del modo imagen en imagen"],["FAST_FORWARD","Avanzar r\u00e1pidamente"],["FULL_SCREEN","Pantalla completa"],["LANGUAGE","Idioma"],["LIVE","En directo"],["LOOP","Reproducir en bucle"],["MORE_SETTINGS","M\u00e1s ajustes"],
1055["MULTIPLE_LANGUAGES","Varios idiomas"],["MUTE","Silenciar"],["NOT_APPLICABLE","No aplicable"],["OFF","Desactivado"],["ON","Activado"],["PAUSE","Pausar"],["PICTURE_IN_PICTURE","Imagen en imagen"],["PLAY","Reproducir"],["PLAYBACK_RATE","Velocidad de reproducci\u00f3n"],["RESOLUTION","Resoluci\u00f3n"],["REWIND","Rebobinar"],["SEEK","Buscar"],["SKIP_AD","Saltar anuncio"],["SKIP_TO_LIVE","Ir al v\u00eddeo en directo"],["SUBTITLE_FORCED","Forzado"],["UNDETERMINED_LANGUAGE","Sin especificar"],["UNMUTE",
1056"Activar sonido"],["UNRECOGNIZED_LANGUAGE","No reconocida"],["VOLUME","Volumen"]]));a.le("es-419",new Map([["AD_DURATION","Duraci\u00f3n del anuncio"],["AD_PROGRESS","Anuncio [AD_ON] de [NUM_ADS]"],["AD_TIME","Anuncio: [AD_TIME]"],["AUTO_QUALITY","Autom\u00e1tico"],["BACK","Atr\u00e1s"],["CAPTIONS","Subt\u00edtulos"],["CAST","Transmitir..."],["ENTER_LOOP_MODE","Repetir indefinidamente el video actual"],["ENTER_PICTURE_IN_PICTURE","Ingresar al modo de pantalla en pantalla"],["EXIT_FULL_SCREEN","Salir de pantalla completa"],
1057["EXIT_LOOP_MODE","Detener la repetici\u00f3n indefinida del video actual"],["EXIT_PICTURE_IN_PICTURE","Salir del modo de pantalla en pantalla"],["FAST_FORWARD","Avanzar"],["FULL_SCREEN","Pantalla completa"],["LANGUAGE","Idioma"],["LIVE","En directo"],["LOOP","Repetir indefinidamente"],["MORE_SETTINGS","M\u00e1s opciones de configuraci\u00f3n"],["MULTIPLE_LANGUAGES","Varios idiomas"],["MUTE","Silenciar"],["NOT_APPLICABLE","No aplicable"],["OFF","Desactivado"],["ON","Activado"],["PAUSE","Detener"],
1058["PICTURE_IN_PICTURE","Pantalla en pantalla"],["PLAY","Reproducir"],["PLAYBACK_RATE","Velocidad de reproducci\u00f3n"],["RESOLUTION","Resoluci\u00f3n"],["REWIND","Retroceder"],["SEEK","Buscar"],["SKIP_AD","Omitir anuncio"],["SKIP_TO_LIVE","Adelantar hasta la transmisi\u00f3n en vivo"],["SUBTITLE_FORCED","Forzado"],["UNDETERMINED_LANGUAGE","Sin especificar"],["UNMUTE","Dejar de silenciar"],["UNRECOGNIZED_LANGUAGE","No reconocida"],["VOLUME","Volumen"]]));a.le("fr",new Map([["AD_DURATION","Dur\u00e9e de l'annonce"],
1059["AD_PROGRESS","Annonce\u00a0[AD_ON] sur\u00a0[NUM_ADS]"],["AD_TIME","Annonce\u00a0: [AD_TIME]"],["AUTO_QUALITY","Automatique"],["BACK","Retour"],["CAPTIONS","Sous-titres"],["CAST","Caster\u2026"],["ENTER_LOOP_MODE","Lire en boucle la vid\u00e9o en cours"],["ENTER_PICTURE_IN_PICTURE","Utiliser le mode Picture-in-Picture"],["EXIT_FULL_SCREEN","Quitter le mode plein \u00e9cran"],["EXIT_LOOP_MODE","Arr\u00eater la lecture en boucle de la vid\u00e9o en cours"],["EXIT_PICTURE_IN_PICTURE","Quitter le mode\u00a0PIP (Picture-in-picture)"],
1060["FAST_FORWARD","Avance rapide"],["FULL_SCREEN","Plein \u00e9cran"],["LANGUAGE","Langue"],["LIVE","En direct"],["LOOP","R\u00e9p\u00e9ter"],["MORE_SETTINGS","Plus de param\u00e8tres"],["MULTIPLE_LANGUAGES","Plusieurs langues"],["MUTE","Couper le son"],["NOT_APPLICABLE","Non applicable"],["OFF","D\u00e9sactiv\u00e9e"],["ON","Activ\u00e9e"],["PAUSE","Pause"],["PICTURE_IN_PICTURE","Picture-in-Picture"],["PLAY","Visionner"],["PLAYBACK_RATE","Vitesse de lecture"],["RESOLUTION","R\u00e9solution"],["REWIND",
1061"Retour arri\u00e8re"],["SEEK","Chercher"],["SKIP_AD","Passer l'annonce"],["SKIP_TO_LIVE","Acc\u00e9der \u00e0 la partie la plus r\u00e9cente du direct"],["UNDETERMINED_LANGUAGE","Langue ind\u00e9termin\u00e9e"],["UNMUTE","R\u00e9activer le son"],["UNRECOGNIZED_LANGUAGE","Non reconnu"],["VOLUME","Volume"]]));a.le("it",new Map([["AD_DURATION","Durata dell'annuncio"],["AD_PROGRESS","Annuncio [AD_ON] di [NUM_ADS]"],["AD_TIME","Annuncio: [AD_TIME]"],["AUTO_QUALITY","Automatica"],["BACK","Indietro"],["CAPTIONS",
1062"Sottotitoli"],["CAST","Trasmetti..."],["ENTER_LOOP_MODE","Riproduci in loop il video corrente"],["ENTER_PICTURE_IN_PICTURE","Attiva Picture in picture"],["EXIT_FULL_SCREEN","Esci da schermo intero"],["EXIT_LOOP_MODE","Interrompi riproduzione in loop del video corrente"],["EXIT_PICTURE_IN_PICTURE","Esci da Picture in picture"],["FAST_FORWARD","Avanti veloce"],["FULL_SCREEN","Schermo intero"],["LANGUAGE","Lingua"],["LIVE","Dal vivo"],["LOOP","Riproduci in loop"],["MORE_SETTINGS","Altre impostazioni"],
1063["MULTIPLE_LANGUAGES","Pi\u00f9 lingue"],["MUTE","Disattiva audio"],["NOT_APPLICABLE","Non applicabile"],["OFF","Disattivo"],["ON","Attivo"],["PAUSE","Metti in pausa"],["PICTURE_IN_PICTURE","Picture in picture"],["PLAY","Riproduci"],["PLAYBACK_RATE","Velocit\u00e0 di riproduzione"],["RESOLUTION","Risoluzione"],["REWIND","Riavvolgi"],["SEEK","Cerca"],["SKIP_AD","Salta annuncio"],["SKIP_TO_LIVE","Passa alla trasmissione dal vivo"],["UNDETERMINED_LANGUAGE","Indeterminata"],["UNMUTE","Riattiva audio"],
1064["UNRECOGNIZED_LANGUAGE","Non riconosciuto"],["VOLUME","Volume"]]));a.le("ja",new Map([["AD_DURATION","\u5e83\u544a\u518d\u751f\u6642\u9593"],["AD_PROGRESS","[AD_ON] \u756a\u76ee\u306e\u5e83\u544a\uff08\u5168 [NUM_ADS] \u500b\uff09"],["AD_TIME","\u5e83\u544a: [AD_TIME]"],["AUTO_QUALITY","\u81ea\u52d5"],["BACK","\u623b\u308b"],["CAPTIONS","\u5b57\u5e55"],["CAST","\u30ad\u30e3\u30b9\u30c8..."],["ENTER_LOOP_MODE","\u73fe\u5728\u306e\u52d5\u753b\u3092\u30eb\u30fc\u30d7\u518d\u751f"],["ENTER_PICTURE_IN_PICTURE",
1065"\u30d4\u30af\u30c1\u30e3\u30fc \u30a4\u30f3 \u30d4\u30af\u30c1\u30e3\u30fc\u3092\u958b\u59cb"],["EXIT_FULL_SCREEN","\u5168\u753b\u9762\u8868\u793a\u3092\u7d42\u4e86"],["EXIT_LOOP_MODE","\u73fe\u5728\u306e\u52d5\u753b\u306e\u30eb\u30fc\u30d7\u518d\u751f\u3092\u505c\u6b62"],["EXIT_PICTURE_IN_PICTURE","\u30d4\u30af\u30c1\u30e3\u30fc \u30a4\u30f3 \u30d4\u30af\u30c1\u30e3\u30fc\u3092\u7d42\u4e86"],["FAST_FORWARD","\u65e9\u9001\u308a"],["FULL_SCREEN","\u5168\u753b\u9762\u8868\u793a"],["LANGUAGE","\u8a00\u8a9e"],
1066["LIVE","\u30e9\u30a4\u30d6"],["LOOP","\u30eb\u30fc\u30d7"],["MORE_SETTINGS","\u8a73\u7d30\u8a2d\u5b9a"],["MULTIPLE_LANGUAGES","\u591a\u8a00\u8a9e"],["MUTE","\u30df\u30e5\u30fc\u30c8"],["NOT_APPLICABLE","\u8a72\u5f53\u306a\u3057"],["OFF","\u30aa\u30d5"],["ON","\u30aa\u30f3"],["PAUSE","\u4e00\u6642\u505c\u6b62"],["PICTURE_IN_PICTURE","\u30d4\u30af\u30c1\u30e3\u30fc \u30a4\u30f3 \u30d4\u30af\u30c1\u30e3\u30fc"],["PLAY","\u518d\u751f"],["PLAYBACK_RATE","\u518d\u751f\u901f\u5ea6"],["RESOLUTION","\u89e3\u50cf\u5ea6"],
1067["REWIND","\u5dfb\u304d\u623b\u3057"],["SEEK","\u30b7\u30fc\u30af\u518d\u751f"],["SKIP_AD","\u5e83\u544a\u3092\u30b9\u30ad\u30c3\u30d7"],["SKIP_TO_LIVE","\u30e9\u30a4\u30d6\u914d\u4fe1\u307e\u3067\u30b9\u30ad\u30c3\u30d7"],["UNDETERMINED_LANGUAGE","\u4e0d\u660e"],["UNMUTE","\u30df\u30e5\u30fc\u30c8\u3092\u89e3\u9664"],["UNRECOGNIZED_LANGUAGE","\u4e0d\u660e"],["VOLUME","\u97f3\u91cf"]]));a.le("ko",new Map([["AD_DURATION","\uad11\uace0 \uae30\uac04"],["AD_PROGRESS","\uad11\uace0 [AD_ON]/[NUM_ADS]"],
1068["AD_TIME","\uad11\uace0: [AD_TIME]"],["AUTO_QUALITY","\uc790\ub3d9"],["BACK","\ub4a4\ub85c"],["CAPTIONS","\uc790\ub9c9"],["CAST","\uc804\uc1a1..."],["ENTER_LOOP_MODE","\ud604\uc7ac \ub3d9\uc601\uc0c1 \ubc18\ubcf5 \uc7ac\uc0dd"],["ENTER_PICTURE_IN_PICTURE","PIP \ubaa8\ub4dc \uc2dc\uc791"],["EXIT_FULL_SCREEN","\uc804\uccb4\ud654\uba74 \ub2eb\uae30"],["EXIT_LOOP_MODE","\ud604\uc7ac \ub3d9\uc601\uc0c1 \ubc18\ubcf5 \uc7ac\uc0dd \uc911\uc9c0"],["EXIT_PICTURE_IN_PICTURE","PIP \ubaa8\ub4dc \uc885\ub8cc"],
1069["FAST_FORWARD","\ube68\ub9ac \uac10\uae30"],["FULL_SCREEN","\uc804\uccb4\ud654\uba74"],["LANGUAGE","\uc5b8\uc5b4"],["LIVE","\uc2e4\uc2dc\uac04"],["LOOP","\ubc18\ubcf5 \uc7ac\uc0dd"],["MORE_SETTINGS","\uc124\uc815 \ub354\ubcf4\uae30"],["MULTIPLE_LANGUAGES","\uc5ec\ub7ec \uc5b8\uc5b4"],["MUTE","\uc74c\uc18c\uac70"],["NOT_APPLICABLE","\ud574\ub2f9 \uc0ac\ud56d \uc5c6\uc74c"],["OFF","\uc0ac\uc6a9 \uc548\ud568"],["ON","\uc0ac\uc6a9"],["PAUSE","\uc77c\uc2dc\uc911\uc9c0"],["PICTURE_IN_PICTURE","PIP \ubaa8\ub4dc"],
1070["PLAY","\uc7ac\uc0dd"],["PLAYBACK_RATE","\uc7ac\uc0dd \uc18d\ub3c4"],["RESOLUTION","\ud574\uc0c1\ub3c4"],["REWIND","\ub418\uac10\uae30"],["SEEK","\ucc3e\uae30"],["SKIP_AD","\uad11\uace0 \uac74\ub108\ub6f0\uae30"],["SKIP_TO_LIVE","\ub77c\uc774\ube0c \ub3d9\uc601\uc0c1\uc73c\ub85c \uac74\ub108\ub6f0\uae30"],["UNDETERMINED_LANGUAGE","\ubbf8\uc815"],["UNMUTE","\uc74c\uc18c\uac70 \ud574\uc81c"],["UNRECOGNIZED_LANGUAGE","\uc54c \uc218 \uc5c6\uc74c"],["VOLUME","\ubcfc\ub968"]]));a.le("nl",new Map([["AD_DURATION",
1071"Advertentieduur"],["AD_PROGRESS","Advertentie [AD_ON] van [NUM_ADS]"],["AD_TIME","Advertentie: [AD_TIME]"],["AUTO_QUALITY","Automatisch"],["BACK","Terug"],["CAPTIONS","Ondertiteling"],["CAST","Casten..."],["ENTER_LOOP_MODE","De huidige video lussen"],["ENTER_PICTURE_IN_PICTURE","Scherm-in-scherm openen"],["EXIT_FULL_SCREEN","Volledig scherm sluiten"],["EXIT_LOOP_MODE","De huidige video niet meer lussen"],["EXIT_PICTURE_IN_PICTURE","Scherm-in-scherm afsluiten"],["FAST_FORWARD","Vooruitspoelen"],["FULL_SCREEN",
1072"Volledig scherm"],["LANGUAGE","Taal"],["LIVE","Live"],["LOOP","Lussen"],["MORE_SETTINGS","Meer instellingen"],["MULTIPLE_LANGUAGES","Meerdere talen"],["MUTE","Dempen"],["NOT_APPLICABLE","Niet van toepassing"],["OFF","Uit"],["ON","Aan"],["PAUSE","Onderbreken"],["PICTURE_IN_PICTURE","Scherm-in-scherm"],["PLAY","Afspelen"],["PLAYBACK_RATE","Afspeelsnelheid"],["RESOLUTION","Resolutie"],["REWIND","Terugspoelen"],["SEEK","Zoeken"],["SKIP_AD","Advertentie overslaan"],["SKIP_TO_LIVE","Doorgaan naar live"],
1073["UNDETERMINED_LANGUAGE","Onbepaald"],["UNMUTE","Dempen opheffen"],["UNRECOGNIZED_LANGUAGE","Onbekend"],["VOLUME","Volume"]]));a.le("pl",new Map([["AD_DURATION","Czas trwania reklamy"],["AD_PROGRESS","Reklama\u00a0[AD_ON] z\u00a0[NUM_ADS]"],["AD_TIME","Reklama: [AD_TIME]"],["AUTO_QUALITY","Automatycznie"],["BACK","Wstecz"],["CAPTIONS","Napisy"],["CAST","Przesy\u0142aj..."],["ENTER_LOOP_MODE","Odtwarzaj bie\u017c\u0105cy film w\u00a0p\u0119tli"],["ENTER_PICTURE_IN_PICTURE","W\u0142\u0105cz tr
1073yb obrazu w\u00a0obrazie"],
1074["EXIT_FULL_SCREEN","Zamknij pe\u0142ny ekran"],["EXIT_LOOP_MODE","Wy\u0142\u0105cz odtwarzanie bie\u017c\u0105cego filmu w\u00a0p\u0119tli"],["EXIT_PICTURE_IN_PICTURE","Wy\u0142\u0105cz tryb obrazu w\u00a0obrazie"],["FAST_FORWARD","Przewi\u0144 do przodu"],["FULL_SCREEN","Pe\u0142ny ekran"],["LANGUAGE","J\u0119zyk"],["LIVE","Na \u017cywo"],["LOOP","Odtwarzaj w\u00a0p\u0119tli"],["MORE_SETTINGS","Wi\u0119cej ustawie\u0144"],["MULTIPLE_LANGUAGES","Wiele j\u0119zyk\u00f3w"],["MUTE","Wycisz"],["NOT_APPLICABLE",
1075"Nie dotyczy"],["OFF","Wy\u0142\u0105czone"],["ON","W\u0142\u0105czone"],["PAUSE","Wstrzymaj"],["PICTURE_IN_PICTURE","Obraz w\u00a0obrazie"],["PLAY","Odtw\u00f3rz"],["PLAYBACK_RATE","Szybko\u015b\u0107 odtwarzania"],["RESOLUTION","Rozdzielczo\u015b\u0107"],["REWIND","Przewi\u0144 do ty\u0142u"],["SEEK","Szukaj"],["SKIP_AD","Pomi\u0144 reklam\u0119"],["SKIP_TO_LIVE","Przejd\u017a do transmisji na \u017cywo"],["UNDETERMINED_LANGUAGE","Nie okre\u015blono"],["UNMUTE","Wy\u0142\u0105cz wyciszenie"],["UNRECOGNIZED_LANGUAGE",
1076"Nierozpoznany"],["VOLUME","G\u0142o\u015bno\u015b\u0107"]]));a.le("pt-BR",new Map([["AD_DURATION","Dura\u00e7\u00e3o do an\u00fancio"],["AD_PROGRESS","An\u00fancio [AD_ON] de [NUM_ADS]"],["AD_TIME","An\u00fancio: [AD_TIME]"],["AUTO_QUALITY","Autom\u00e1tica"],["BACK","Voltar"],["CAPTIONS","Legendas"],["CAST","Transmitir..."],["ENTER_LOOP_MODE","Repetir o v\u00eddeo atual"],["ENTER_PICTURE_IN_PICTURE","Entrar no modo picture-in-picture"],["EXIT_FULL_SCREEN","Sair do modo tela cheia"],["EXIT_LOOP_MODE",
1077"Parar repeti\u00e7\u00e3o do v\u00eddeo atual"],["EXIT_PICTURE_IN_PICTURE","Sair de picture-in-picture"],["FAST_FORWARD","Avan\u00e7ar"],["FULL_SCREEN","Tela cheia"],["LANGUAGE","Idioma"],["LIVE","Ao vivo"],["LOOP","Repetir"],["MORE_SETTINGS","Mais defini\u00e7\u00f5es"],["MULTIPLE_LANGUAGES","V\u00e1rios idiomas"],["MUTE","Desativar som"],["NOT_APPLICABLE","N\u00e3o relevante"],["OFF","Desativado"],["ON","Ativado"],["PAUSE","Pausar"],["PICTURE_IN_PICTURE","Picture-in-picture"],["PLAY","Reproduzir"],
1078["PLAYBACK_RATE","Velocidade da reprodu\u00e7\u00e3o"],["RESOLUTION","Resolu\u00e7\u00e3o"],["REWIND","Retroceder"],["SEEK","Procurar"],["SKIP_AD","Pular an\u00fancio"],["SKIP_TO_LIVE","Pular para transmiss\u00e3o ao vivo"],["UNDETERMINED_LANGUAGE","Indeterminado"],["UNMUTE","Ativar som"],["UNRECOGNIZED_LANGUAGE","N\u00e3o reconhecido"],["VOLUME","Volume"]]));a.le("ru",new Map([["AD_DURATION","\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u043a\u043b\u0430\u043c\u044b"],
1079["AD_PROGRESS","\u0420\u0435\u043a\u043b\u0430\u043c\u0430 [AD_ON] \u0438\u0437 [NUM_ADS]"],["AD_TIME","\u0420\u0435\u043a\u043b\u0430\u043c\u0430: [AD_TIME]"],["AUTO_QUALITY","\u0410\u0432\u0442\u043e"],["BACK","\u041d\u0430\u0437\u0430\u0434"],["CAPTIONS","\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b"],["CAST","\u0422\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c..."],["ENTER_LOOP_MODE","\u0417\u0430\u0446\u0438\u043a\u043b\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043e"],
1080["ENTER_PICTURE_IN_PICTURE",'\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c "\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435"'],["EXIT_FULL_SCREEN","\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c"],["EXIT_LOOP_MODE","\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0435\u043e"],
1081["EXIT_PICTURE_IN_PICTURE",'\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 \u0440\u0435\u0436\u0438\u043c\u0430 "\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435"'],["FAST_FORWARD","\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u043a\u0430 \u0432\u043f\u0435\u0440\u0435\u0434"],["FULL_SCREEN","\u041f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c"],["LANGUAGE","\u042f\u0437\u044b\u043a"],["LIVE",
1082"\u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440"],["LOOP","\u0417\u0430\u0446\u0438\u043a\u043b\u0438\u0442\u044c"],["MORE_SETTINGS","\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"],["MULTIPLE_LANGUAGES","\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f\u0437\u044b\u043a\u043e\u0432"],["MUTE","\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a"],["NOT_APPLICABLE",
1083"\u041d\u0435\u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e"],["OFF","\u0412\u044b\u043a\u043b."],["ON","\u0412\u043a\u043b."],["PAUSE","\u041f\u0430\u0443\u0437\u0430"],["PICTURE_IN_PICTURE","\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435"],["PLAY","\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438"],["PLAYBACK_RATE","\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f"],
1084["RESOLUTION","\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435"],["REWIND","\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0437\u0430\u0434"],["SEEK","\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u043a\u0430"],["SKIP_AD","\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c"],["SKIP_TO_LIVE","\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043f\u0440\u044f\u043c\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438"],
1085["UNDETERMINED_LANGUAGE","\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e"],["UNMUTE","\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a"],["UNRECOGNIZED_LANGUAGE","\u041d\u0435 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u043d\u043e"],["VOLUME","\u0413\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c"]]));a.le("th",new Map([["AD_DURATION","\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32\u0e42\u0e06\u0e29\u0e13\u0e32"],["AD_PROGRESS","\u0e42\u0e06\u0e29\u0e13\u0e32 [AD_ON] \u0e08\u0e32\u0e01 [NUM_ADS] \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23"],
1086["AD_TIME","\u0e42\u0e06\u0e29\u0e13\u0e32: [AD_TIME]"],["AUTO_QUALITY","\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34"],["BACK","\u0e01\u0e25\u0e31\u0e1a"],["CAPTIONS","\u0e04\u0e33\u0e1a\u0e23\u0e23\u0e22\u0e32\u0e22"],["CAST","\u0e41\u0e04\u0e2a\u0e15\u0e4c..."],["ENTER_LOOP_MODE","\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19"],["ENTER_PICTURE_IN_PICTURE","\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],
1087["EXIT_FULL_SCREEN","\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e41\u0e1a\u0e1a\u0e40\u0e15\u0e47\u0e21\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d"],["EXIT_LOOP_MODE","\u0e2b\u0e22\u0e38\u0e14\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19"],["EXIT_PICTURE_IN_PICTURE","\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],
1088["FAST_FORWARD","\u0e01\u0e23\u0e2d\u0e44\u0e1b\u0e02\u0e49\u0e32\u0e07\u0e2b\u0e19\u0e49\u0e32"],["FULL_SCREEN","\u0e40\u0e15\u0e47\u0e21\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d"],["LANGUAGE","\u0e20\u0e32\u0e29\u0e32"],["LIVE","\u0e2a\u0e14"],["LOOP","\u0e25\u0e39\u0e1b"],["MORE_SETTINGS","\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21"],["MULTIPLE_LANGUAGES","\u0e2b\u0e25\u0e32\u0e22\u0e20\u0e32\u0e29\u0e32"],["MUTE","\u0e1b\u0e34\u0e14\u0e40\u0e2a\u0e35\u0e22\u0e07"],
1089["NOT_APPLICABLE","\u0e44\u0e21\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07"],["OFF","\u0e1b\u0e34\u0e14"],["ON","\u0e40\u0e1b\u0e34\u0e14"],["PAUSE","\u0e2b\u0e22\u0e38\u0e14\u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27"],["PICTURE_IN_PICTURE","\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],["PLAY","\u0e40\u0e25\u0e48\u0e19"],["PLAYBACK_RATE","\u0e04\u0e27\u0e32\u0e21\u0e40\u0e23\u0e47\u0e27\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e25\u0e48\u0e19"],
1090["RESOLUTION","\u0e04\u0e27\u0e32\u0e21\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14"],["REWIND","\u0e01\u0e23\u0e2d\u0e01\u0e25\u0e31\u0e1a"],["SEEK","\u0e04\u0e49\u0e19\u0e2b\u0e32"],["SKIP_AD","\u0e02\u0e49\u0e32\u0e21\u0e42\u0e06\u0e29\u0e13\u0e32"],["SKIP_TO_LIVE","\u0e02\u0e49\u0e32\u0e21\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e01\u0e32\u0e23\u0e16\u0e48\u0e32\u0e22\u0e17\u0e2d\u0e14\u0e2a\u0e14"],["UNDETERMINED_LANGUAGE","\u0e44\u0e21\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14"],["UNMUTE","\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e2a\u0e35\u0e22\u0e07"],
1091["UNRECOGNIZED_LANGUAGE","\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e23\u0e39\u0e49\u0e08\u0e31\u0e01"],["VOLUME","\u0e23\u0e30\u0e14\u0e31\u0e1a\u0e40\u0e2a\u0e35\u0e22\u0e07"]]));a.le("tr",new Map([["AD_DURATION","Reklam s\u00fcresi"],["AD_PROGRESS","[AD_ON]/[NUM_ADS] reklam"],["AD_TIME","Reklam: [AD_TIME]"],["AUTO_QUALITY","Otomatik"],["BACK","Geri"],["CAPTIONS","Altyaz\u0131lar"],["CAST","Yay\u0131nla..."],["ENTER_LOOP_MODE","Mevcut videoyu d\u00f6ng\u00fcye al"],["ENTER_PICTURE_IN_PICTURE","Pencere i\u00e7inde Pencere moduna gir"],
1092["EXIT_FULL_SCREEN","Tam ekrandan \u00e7\u0131k"],["EXIT_LOOP_MODE","Mevcut videonun d\u00f6ng\u00fcs\u00fcn\u00fc durdur"],["EXIT_PICTURE_IN_PICTURE","Pencere \u0130\u00e7inde Pencereden \u00c7\u0131k"],["FAST_FORWARD","\u0130leri sar"],["FULL_SCREEN","Tam ekran"],["LANGUAGE","Dil"],["LIVE","Canl\u0131"],["LOOP","D\u00f6ng\u00fc"],["MORE_SETTINGS","Daha fazla ayar"],["MULTIPLE_LANGUAGES","Birden \u00e7ok dil"],["MUTE","Sesi kapat"],["NOT_APPLICABLE","Ge\u00e7erli de\u011fil"],["OF
1092F","Kapal\u0131"],
1093["ON","A\u00e7\u0131k"],["PAUSE","Duraklat"],["PICTURE_IN_PICTURE","Pencere \u0130\u00e7inde Pencere"],["PLAY","Oynat"],["PLAYBACK_RATE","\u00c7alma h\u0131z\u0131"],["RESOLUTION","\u00c7\u00f6z\u00fcn\u00fcrl\u00fck"],["REWIND","Geri sar"],["SEEK","Ara"],["SKIP_AD","Reklam\u0131 Atla"],["SKIP_TO_LIVE","Canl\u0131 yay\u0131na atla"],["UNDETERMINED_LANGUAGE","Belirsiz"],["UNMUTE","Sesi a\u00e7"],["UNRECOGNIZED_LANGUAGE","Tan\u0131nmayan"],["VOLUME","Ses"]]));a.le("zh",new Map([["AD_DURATION","\u5e7f\u544a\u6301\u7eed\u65f6\u95f4"],
1094["AD_PROGRESS","\u5e7f\u544a [AD_ON]/[NUM_ADS]"],["AD_TIME","\u5e7f\u544a\uff1a[AD_TIME]"],["AUTO_QUALITY","\u81ea\u52a8"],["BACK","\u8fd4\u56de"],["CAPTIONS","\u5b57\u5e55"],["CAST","\u6295\u5c04\u2026"],["ENTER_LOOP_MODE","\u5faa\u73af\u64ad\u653e\u5f53\u524d\u89c6\u9891"],["ENTER_PICTURE_IN_PICTURE","\u8fdb\u5165\u201c\u753b\u4e2d\u753b\u201d\u6a21\u5f0f"],["EXIT_FULL_SCREEN","\u9000\u51fa\u5168\u5c4f\u6a21\u5f0f"],["EXIT_LOOP_MODE","\u505c\u6b62\u5faa\u73af\u64ad\u653e\u5f53\u524d\u89c6\u9891"],
1095["EXIT_PICTURE_IN_PICTURE","\u9000\u51fa\u201c\u753b\u4e2d\u753b\u201d\u6a21\u5f0f"],["FAST_FORWARD","\u5feb\u8fdb"],["FULL_SCREEN","\u5168\u5c4f"],["LANGUAGE","\u8bed\u8a00"],["LIVE","\u76f4\u64ad"],["LOOP","\u5faa\u73af\u64ad\u653e"],["MORE_SETTINGS","\u66f4\u591a\u8bbe\u7f6e"],["MULTIPLE_LANGUAGES","\u591a\u79cd\u8bed\u8a00"],["MUTE","\u9759\u97f3"],["NOT_APPLICABLE","\u4e0d\u9002\u7528"],["OFF","\u5173\u95ed"],["ON","\u5f00\u542f"],["PAUSE","\u6682\u505c"],["PICTURE_IN_PICTURE","\u753b\u4e2d\u753b"],
1096["PLAY","\u64ad\u653e"],["PLAYBACK_RATE","\u64ad\u653e\u901f\u5ea6"],["RESOLUTION","\u5206\u8fa8\u7387"],["REWIND","\u5feb\u9000"],["SEEK","\u8fdb\u5ea6"],["SKIP_AD","\u8df3\u8fc7\u5e7f\u544a"],["SKIP_TO_LIVE","\u8df3\u81f3\u5f53\u524d\u76f4\u64ad"],["UNDETERMINED_LANGUAGE","\u672a\u786e\u5b9a"],["UNMUTE","\u53d6\u6d88\u9759\u97f3"],["UNRECOGNIZED_LANGUAGE","\u65e0\u6cd5\u8bc6\u522b"],["VOLUME","\u97f3\u91cf"]]));a.le("zh-TW",new Map([["AD_DURATION","\u5ee3\u544a\u9577\u5ea6"],["AD_PROGRESS","\u5ee3\u544a [AD_ON]/[NUM_ADS]"],
1097["AD_TIME","\u5ee3\u544a\uff1a[AD_TIME]"],["AUTO_QUALITY","\u81ea\u52d5"],["BACK","\u8fd4\u56de"],["CAPTIONS","\u5b57\u5e55"],["CAST","\u6295\u653e..."],["ENTER_LOOP_MODE","\u5faa\u74b0\u64ad\u653e\u76ee\u524d\u7684\u5f71\u7247"],["ENTER_PICTURE_IN_PICTURE","\u9032\u5165\u5b50\u6bcd\u756b\u9762"],["EXIT_FULL_SCREEN","\u9000\u51fa\u5168\u87a2\u5e55\u6a21\u5f0f"],["EXIT_LOOP_MODE","\u505c\u6b62\u5faa\u74b0\u64ad\u653e\u76ee\u524d\u7684\u5f71\u7247"],["EXIT_PICTURE_IN_PICTURE","\u96e2\u958b\u5b50\u6bcd\u756b\u9762"],
1098["FAST_FORWARD","\u5feb\u8f49"],["FULL_SCREEN","\u5168\u87a2\u5e55"],["LANGUAGE","\u8a9e\u8a00"],["LIVE","\u76f4\u64ad"],["LOOP","\u5faa\u74b0\u64ad\u653e"],["MORE_SETTINGS","\u986f\u793a\u66f4\u591a\u8a2d\u5b9a"],["MULTIPLE_LANGUAGES","\u591a\u7a2e\u8a9e\u8a00"],["MUTE","\u975c\u97f3"],["NOT_APPLICABLE","\u4e0d\u9069\u7528"],["OFF","\u95dc\u9589"],["ON","\u958b\u555f"],["PAUSE","\u66ab\u505c"],["PICTURE_IN_PICTURE","\u5b50\u6bcd\u756b\u9762"],["PLAY","\u64ad\u653e"],["PLAYBACK_RATE","\u64ad\u653e\u901f\u5ea6"],
1099["RESOLUTION","\u89e3\u6790\u5ea6"],["REWIND","\u5012\u8f49"],["SEEK","\u641c\u5c0b"],["SKIP_AD","\u7565\u904e\u5ee3\u544a"],["SKIP_TO_LIVE","\u8df3\u81f3\u5f53\u524d\u76f4\u64ad"],["UNDETERMINED_LANGUAGE","\u4e0d\u660e"],["UNMUTE","\u53d6\u6d88\u975c\u97f3"],["UNRECOGNIZED_LANGUAGE","\u7121\u6cd5\u8fa8\u8b58"],["VOLUME","\u97f3\u91cf"]]));a.AJ(navigator.languages||[]);return a}fb("shaka.ui.Controls",ku);ku.prototype.isOpaque=ku.prototype.lo;ku.prototype.hideAdUI=ku.prototype.hM;
1100ku.prototype.showAdUI=ku.prototype.IR;ku.prototype.toggleFullScreen=ku.prototype.CH;ku.prototype.isFullScreenEnabled=ku.prototype.Qq;ku.prototype.isFullScreenSupported=ku.prototype.Dy;ku.prototype.hideSettingsMenus=ku.prototype.Iq;ku.prototype.anySettingsMenusAreOpen=ku.prototype.Cw;ku.prototype.setLastTouchEventTime=ku.prototype.cP;ku.prototype.getDisplayTime=ku.prototype.sL;ku.prototype.isCastAllowed=ku.prototype.G_;ku.prototype.setSeeking=ku.prototype.jG;ku.prototype.isSeeking=ku.prototype.Q_;
1101ku.prototype.getConfig=ku.prototype.OX;ku.prototype.getClientSideAdContainer=ku.prototype.NX;ku.prototype.getServerSideAdContainer=ku.prototype.lY;ku.prototype.getControlsContainer=ku.prototype.RX;ku.prototype.getLocalPlayer=ku.prototype.ZX;ku.prototype.getPlayer=ku.prototype.Mn;ku.prototype.getLocalVideo=ku.prototype.$X;ku.prototype.getVideo=ku.prototype.mm;ku.prototype.getVideoContainer=ku.prototype.tY;ku.prototype.getLocalization=ku.prototype.aY;ku.prototype.getCastProxy=ku.prototype.MX;
1102ku.prototype.getAd=ku.prototype.getAd;ku.prototype.setEnabledNativeControls=ku.prototype.bP;
1102ku.prototype.setEnabledShakaControls=ku.prototype.dG;ku.prototype.configure=ku.prototype.configure;ku.prototype.loadComplete=ku.prototype.f0;ku.prototype.allowCast=ku.prototype.nU;ku.registerSeekBar=function(a){Rja=a};ku.registerElement=qu;ku.prototype.destroy=ku.prototype.destroy;var ru=new Map,Rja=new ju;function uu(a,b,c){Qt.call(this,a,b);var d=this;Xja(this,c);Yja(this);Zja(this);this.eventManager.J(this.button,"click",function(){d.j()})}pa(uu,Qt);
1103function Xja(a,b){a.button=Mm();a.button.classList.add("shaka-overflow-button");a.icon=Lm("i");a.icon.classList.add("Cx-Dx-Ex");a.icon.textContent=b;a.button.appendChild(a.icon);b=Lm("label");b.classList.add("zx-Kx-Fh-Mh");b.classList.add("zx-Kx-te-Lx");a.nameSpan=Lm("span");b.appendChild(a.nameSpan);a.currentSelection=Lm("span");a.currentSelection.classList.add("zx-Px-Qx-Rx");b.appendChild(a.currentSelection);a.button.appendChild(b);a.parent.appendChild(a.button)}
1104function Yja(a){a.menu=Lm("div");a.menu.classList.add("shaka-no-propagation");a.menu.classList.add("shaka-show-controls-on-mouse-over");a.menu.classList.add("zx-hy-te");a.menu.classList.add("zx-Ax");a.backButton=Mm();a.backButton.classList.add("zx-ky-ly-Kx-Fh");a.menu.appendChild(a.backButton);a.eventManager.J(a.backButton,"click",function(){a.controls.Iq()});var b=Lm("i");b.classList.add("Cx-Dx-Ex");b.textContent="close";a.backButton.appendChild(b);a.backSpan=Lm("span");a.backButton.appendChild(a.backSpan);
1105a.controls.$c.appendChild(a.menu)}function Zja(a){a.parent.classList.contains("zx-Kx-te")&&(a.backButton.firstChild.textContent="arrow_back",a.eventManager.J(a.backButton,"click",function(){function b(c){return 0==c.classList.contains("zx-Ax")}Wt(a.parent,!0);ji(a.parent.childNodes,b)&&ki(a.parent.childNodes,b)[0].focus();lu(a.controls)}))}
1106uu.prototype.j=function(){this.menu.classList.contains("zx-Ax")?(this.controls.dispatchEvent(new Kh("submenuopen")),Wt(this.menu,!0),Ut(this.menu)):Wt(this.menu,!1)};fb("shaka.ui.SettingsMenu",uu);function vu(a,b){Qt.call(this,a,b);var c=this;this.V=this.controls.V;this.o=this.controls.$c;this.j=[];this.g=Mm();this.g.classList.add("shaka-overflow-menu-button");this.g.classList.add("shaka-no-propagation");this.g.classList.add("Cx-Dx-Ex");this.g.classList.add("shaka-tooltip");this.g.textContent="more_vert";this.parent.appendChild(this.g);this.h=Lm("div");this.h.classList.add("zx-Kx-te");this.h.classList.add("shaka-no-propagation");this.h.classList.add("shaka-show-controls-on-mouse-over");this.h.classList.add("zx-Ax");
1107this.o.appendChild(this.h);$ja(this);this.eventManager.J(this.localization,"locale-updated",function(){wu(c)});this.eventManager.J(this.localization,"locale-changed",function(){wu(c)});this.eventManager.J(this.adManager,"ad-started",function(){c.ad&&c.ad.isLinear()&&Wt(c.g,!1)});this.eventManager.J(this.adManager,"ad-stopped",function(){Wt(c.g,!0)});this.eventManager.J(this.controls,"submenuopen",function(){Wt(c.h,!1)});this.eventManager.J(this.h,"touchstart",function(d){c.controls.cP(Date.now());
1108d.stopPropagation()});this.eventManager.J(this.g,"click",function(){aka(c)});wu(this);this.ad&&this.ad.isLinear()&&Wt(this.g,!1)}pa(vu,Qt);vu.prototype.release=function(){this.o=null;for(var a=m(this.j),b=a.next();!b.done;b=a.next())b.value.release();this.j=[];Qt.prototype.release.call(this)};function xu(a,b){yu.set(a,b)}
1109function $ja(a){for(var b=m(a.V.overflowMenuButtons),c=b.next();!c.done;c=b.next())c=c.value,yu.get(c)?(c=yu.get(c),a.j.push(c.create(a.h,a.controls))):lb("Unrecognized overflow menu element requested:",c)}function aka(a){if(a.controls.Cw())a.controls.Iq();else{Wt(a.h,!0);lu(a.controls);var b=function(c){return 0==c.classList.contains("zx-Ax")};ji(a.h.childNodes,b)&&ki(a.h.childNodes,b)[0].focus()}}function wu(a){a.g.ariaLabel=a.localization.resolve("MORE_SETTINGS")}fb("shaka.ui.OverflowMenu",vu);
1110vu.registerElement=xu;function bka(){}bka.prototype.create=function(a,b){return new vu(a,b)};qu("overflow_menu",new bka);var yu=new Map;/*
1111 @license
1112 Copyright 2013 Ali Al Dallal
1113
1114 Licensed under the MIT license.
1115
1116 Permission is hereby granted, free of charge, to any person obtaining a copy
1117 of this software and associated documentation files (the "Software"), to deal
1118 in the Software without restriction, including without limitation the rights
1119 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1120 copies of the Software, and to permit persons to whom the Software is
1121 furnished to do so, subject to the following conditions:
1122
1123 The above copyright notice and this permission notice shall be included in
1124 all copies or substantial portions of the Software.
1125
1126 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1127 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1128 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1129 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1130 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1131 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1132 SOFTWARE.
1133*/
1134for(var zu={ach:{ha:"Lwo",ia:"Acholi"},ady:{ha:"\u0410\u0434\u044b\u0433\u044d\u0431\u0437\u044d",ia:"Adyghe"},af:{ha:"Afrikaans",ia:"Afrikaans"},"af-NA":{ha:"Afrikaans (Namibia)",ia:"Afrikaans (Namibia)"},"af-ZA":{ha:"Afrikaans (South Africa)",ia:"Afrikaans (South Africa)"},ak:{ha:"T\u0255\u0265i",ia:"Akan"},ar:{ha:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",ia:"Arabic"},"ar-AR":{ha:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",ia:"Arabic"},"ar-MA":{ha:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",
1135ia:"Arabic (Morocco)"},"ar-SA":{ha:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629 (\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629)",ia:"Arabic (Saudi Arabia)"},"ay-BO":{ha:"Aymar aru",ia:"Aymara"}
1135,az:{ha:"Az\u0259rbaycan dili",ia:"Azerbaijani"},"az-AZ":{ha:"Az\u0259rbaycan dili",ia:"Azerbaijani"},"be-BY":{ha:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f",ia:"Belarusian"},bg:{ha:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",ia:"Bulgarian"},"bg-BG":{ha:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",
1136ia:"Bulgarian"},bn:{ha:"\u09ac\u09be\u0982\u09b2\u09be",ia:"Bengali"},"bn-IN":{ha:"\u09ac\u09be\u0982\u09b2\u09be (\u09ad\u09be\u09b0\u09a4)",ia:"Bengali (India)"},"bn-BD":{ha:"\u09ac\u09be\u0982\u09b2\u09be(\u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6)",ia:"Bengali (Bangladesh)"},"bs-BA":{ha:"Bosanski",ia:"Bosnian"},ca:{ha:"Catal\u00e0",ia:"Catalan"},"ca-ES":{ha:"Catal\u00e0",ia:"Catalan"},cak:{ha:"Maya Kaqchikel",ia:"Kaqchikel"},"ck-US":{ha:"\u13e3\u13b3\u13a9 (tsalagi)",ia:"Cherokee"},cs:{ha:"\u010ce\u0161tina",
1137ia:"Czech"},"cs-CZ":{ha:"\u010ce\u0161tina",ia:"Czech"},cy:{ha:"Cymraeg",ia:"Welsh"},"cy-GB":{ha:"Cymraeg",ia:"Welsh"},da:{ha:"Dansk",ia:"Danish"},"da-DK":{ha:"Dansk",ia:"Danish"},de:{ha:"Deutsch",ia:"German"}
1137,"de-AT":{ha:"Deutsch (\u00d6sterreich)",ia:"German (Austria)"},"de-DE":{ha:"Deutsch (Deutschland)",ia:"German (Germany)"},"de-CH":{ha:"Deutsch (Schweiz)",ia:"German (Switzerland)"},dsb:{ha:"Dolnoserb\u0161\u0107ina",ia:"Lower Sorbian"},el:{ha:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",
1138ia:"Greek"},"el-GR":{ha:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",ia:"Greek (Greece)"},en:{ha:"English",ia:"English"},"en-GB":{ha:"English (UK)",ia:"English (UK)"},"en-AU":{ha:"English (Australia)",ia:"English (Australia)"},"en-CA":{ha:"English (Canada)",ia:"English (Canada)"},"en-IE":{ha:"English (Ireland)",ia:"English (Ireland)"},"en-IN":{ha:"English (India)",ia:"English (India)"},"en-PI":{ha:"English (Pirate)",ia:"English (Pirate)"},"en-UD":{ha:"English (Upside Down)",ia:"English (Upside Down)"},
1139"en-US":{ha:"English (US)",ia:"English (US)"},"en-ZA":{ha:"English (South Africa)",ia:"English (South Africa)"},"en@pirate":{ha:"English (Pirate)",ia:"English (Pirate)"},eo:{ha:"Esperanto",ia:"Esperanto"},"eo-EO":{ha:"Esperanto",ia:"Esperanto"},es:{ha:"Espa\u00f1ol",ia:"Spanish"},"es-AR":{ha:"Espa\u00f1ol (Argentine)",ia:"Spanish (Argentina)"},"es-419":{ha:"Espa\u00f1ol (Latinoam\u00e9rica)",ia:"Spanish (Latin America)"},"es-CL":{ha:"Espa\u00f1ol (Chile)",ia:"Spanish (Chile)"},"es-CO":{ha:"Espa\u00f1ol (Colombia)",
1140ia:"Spanish (Colombia)"},"es-EC":{ha:"Espa\u00f1ol (Ecuador)",ia:"Spanish (Ecuador)"},"es-ES":{ha:"Espa\u00f1ol (Espa\u00f1a)",ia:"Spanish (Spain)"},"es-LA":{ha:"Espa\u00f1ol (Latinoam\u00e9rica)",ia:"Spanish (Latin America)"},"es-NI":{ha:"Espa\u00f1ol (Nicaragua)",ia:"Spanish (Nicaragua)"},"es-MX":{ha:"Espa\u00f1ol (M\u00e9xico)",ia:"Spanish (Mexico)"},"es-US":{ha:"Espa\u00f1ol (Estados Unidos)",ia:"Spanish (United States)"},"es-VE":{ha:"Espa\u00f1ol (Venezuela)",ia:"Spanish (Venezuela)"},et:{ha:"eesti keel",
1141ia:"Estonian"},"et-EE":{ha:"Eesti (Estonia)",ia:"Estonian (Estonia)"},eu:{ha:"Euskara",ia:"Basque"},"eu-ES":{ha:"Euskara",ia:"Basque"},fa:{ha:"\u0641\u0627\u0631\u0633\u06cc",ia:"Persian"},"fa-IR":{ha:"\u0641\u0627\u0631\u0633\u06cc",ia:"Persian"},"fb-LT":{ha:"Leet Speak",ia:"Leet"},ff:{ha:"Fulah",ia:"Fulah"},fi:{ha:"Suomi",ia:"Finnish"},"fi-FI":{ha:"Suomi",ia:"Finnish"},"fo-FO":{ha:"F\u00f8royskt",ia:"Faroese"},fr:{ha:"Fran\u00e7ais",ia:"French"},"fr-CA":{ha:"Fran\u00e7ais (Canada)",ia:"French (Canada)"},
1142"fr-FR":{ha:"Fran\u00e7ais (France)",ia:"French (France)"},"fr-BE":{ha:"Fran\u00e7ais (Belgique)",ia:"French (Belgium)"},"fr-CH":{ha:"Fran\u00e7ais (Suisse)",ia:"French (Switzerland)"},"fy-NL":{ha:"Frysk",ia:"Frisian (West)"},ga:{ha:"Gaeilge",ia:"Irish"},"ga-IE":{ha:"Gaeilge (Gaelic)",ia:"Irish (Gaelic)"},gl:{ha:"Galego",ia:"Galician"},"gl-ES":{ha:"Galego",ia:"Galician"},"gn-PY":{ha:"Ava\u00f1e'\u1ebd",ia:"Guarani"},"gu-IN":{ha:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0",ia:"Gujarati"},"gx-GR":{ha:"\u1f19\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ae \u1f00\u03c1\u03c7\u03b1\u03af\u03b1",
1143ia:"Classical Greek"},he:{ha:"\u05e2\u05d1\u05e8\u05d9\u05ea\u200f",ia:"Hebrew"},"he-IL":{ha:"\u05e2\u05d1\u05e8\u05d9\u05ea\u200f",ia:"Hebrew"},hi:{ha:"\u0939\u093f\u0928\u094d\u0926\u0940",ia:"Hindi"},"hi-IN":{ha:"\u0939\u093f\u0928\u094d\u0926\u0940",ia:"Hindi"},hr:{ha:"Hrvatski",ia:"Croatian"},"hr-HR":{ha:"Hrvatski",ia:"Croatian"},hsb:{ha:"Hornjoserb\u0161\u0107ina",ia:"Upper Sorbian"},ht:{ha:"Krey\u00f2l",ia:"Haitian Creole"},hu:{ha:"Magyar",ia:"Hungarian"},"hu-HU":{ha:"Magyar",ia:"Hungarian"},
1144"hy-AM":{ha:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",ia:"Armenian"},id:{ha:"Bahasa Indonesia",ia:"Indonesian"},"id-ID":{ha:"Bahasa Indonesia",ia:"Indonesian"},is:{ha:"\u00cdslenska",ia:"Icelandic"},"is-IS":{ha:"\u00cdslenska (Iceland)",ia:"Icelandic (Iceland)"},it:{ha:"Italiano",ia:"Italian"},"it-IT":{ha:"Italiano",ia:"Italian"},ja:{ha:"\u65e5\u672c\u8a9e",ia:"Japanese"},"ja-JP":{ha:"\u65e5\u672c\u8a9e",ia:"Japanese"},"jv-ID":{ha:"Basa Jawa",ia:"Javanese"},"ka-GE":{ha:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8",
1145ia:"Georgian"},"kk-KZ":{ha:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430",ia:"Kazakh"},km:{ha:"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a",ia:"Khmer"},"km-KH":{ha:"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a",ia:"Khmer"},kab:{ha:"Taqbaylit",ia:"Kabyle"},kn:{ha:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1",ia:"Kannada"},"kn-IN":{ha:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (India)",ia:"Kannada (India)"},ko:{ha:"\ud55c\uad6d\uc5b4",ia:"Korean"},"ko-KR":{ha:"\ud55c\uad6d\uc5b4 (\u97e9\u56fd)",ia:"Korean (Korea)"},
1146ku:{ha:"Kurd\u00ee",ia:"Kurdish"},"ku-TR":{ha:"Kurd\u00ee",ia:"Kurdish"},la:{ha:"Latin",ia:"Latin"},"la-VA":{ha:"Latin",ia:"Latin"},lb:{ha:"L\u00ebtzebuergesch",ia:"Luxembourgish"},"li-NL":{ha:"L\u00e8mb\u00f6rgs",ia:"Limburgish"},lt:{ha:"Lietuvi\u0173",ia:"Lithuanian"},"lt-LT":{ha:"Lietuvi\u0173",ia:"Lithuanian"},lv:{ha:"Latvie\u0161u",ia:"Latvian"},"lv-LV":{ha:"Latvie\u0161u",ia:"Latvian"},mai:{ha:"\u092e\u0948\u0925\u093f\u0932\u0940, \u09ae\u09c8\u09a5\u09bf\u09b2\u09c0",ia:"Maithili"},"mg-MG":{ha:"Malagasy",
1147ia:"Malagasy"},mk:{ha:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438",ia:"Macedonian"},"mk-MK":{ha:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438 (\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438)",ia:"Macedonian (Macedonian)"},ml:{ha:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02",ia:"Malayalam"},"ml-IN":{ha:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02",ia:"Malayalam"},"mn-MN":{ha:"\u041c\u043e\u043d\u0433\u043e\u043b",ia:"Mongolian"},mr:{ha:"\u092e\u0930\u093e\u0920\u0940",
1148ia:"Marathi"},"mr-IN":{ha:"\u092e\u0930\u093e\u0920\u0940",ia:"Marathi"},ms:{ha:"Bahasa Melayu",ia:"Malay"},"ms-MY":{ha:"Bahasa Melayu",ia:"Malay"},mt:{ha:"Malti",ia:"Maltese"},"mt-MT":{ha:"Malti",ia:"Maltese"},my:{ha:"\u1017\u1019\u102c\u1005\u1000\u102c",ia:"Burmese"},nb:{ha:"Norsk (bokm\u00e5l)",ia:"Norwegian (bokmal)"},"nb-NO":{ha:"Norsk (bokm\u00e5l)",ia:"Norwegian (bokmal)"},ne:{ha:"\u0928\u0947\u092a\u093e\u0932\u0940",ia:"Nepali"}
1148,"ne-NP":{ha:"\u0928\u0947\u092a\u093e\u0932\u0940",ia:"Nepali"},
1149nl:{ha:"Nederlands",ia:"Dutch"},"nl-BE":{ha:"Nederlands (Belgi\u00eb)",ia:"Dutch (Belgium)"},"nl-NL":{ha:"Nederlands (Nederland)",ia:"Dutch (Netherlands)"},"nn-NO":{ha:"Norsk (nynorsk)",ia:"Norwegian (nynorsk)"},no:{ha:"Norsk",ia:"Norwegian"},oc:{ha:"Occitan",ia:"Occitan"},"or-IN":{ha:"\u0b13\u0b21\u0b3c\u0b3f\u0b06",ia:"Oriya"},pa:{ha:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40",ia:"Punjabi"},"pa-IN":{ha:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (\u0a2d\u0a3e\u0a30\u0a24 \u0a28\u0a42\u0a70)",ia:"Punjabi (India)"},
1150pl:{ha:"Polski",ia:"Polish"},"pl-PL":{ha:"Polski",ia:"Polish"},"ps-AF":{ha:"\u067e\u069a\u062a\u0648",ia:"Pashto"},pt:{ha:"Portugu\u00eas",ia:"Portuguese"},"pt-BR":{ha:"Portugu\u00eas (Brasil)",ia:"Portuguese (Brazil)"},"pt-PT":{ha:"Portugu\u00eas (Portugal)",ia:"Portuguese (Portugal)"},"qu-PE":{ha:"Qhichwa",ia:"Quechua"},"rm-CH":{ha:"Rumantsch",ia:"Romansh"},ro:{ha:"Rom\u00e2n\u0103",ia:"Romanian"},"ro-RO":{ha:"Rom\u00e2n\u0103",ia:"Romanian"},ru:{ha:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",
1151ia:"Russian"},"ru-RU":{ha:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",ia:"Russian"},"sa-IN":{ha:"\u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d",ia:"Sanskrit"},"se-NO":{ha:"Davvis\u00e1megiella",ia:"Northern S\u00e1mi"},"si-LK":{ha:"\u0db4\u0dc5\u0dcf\u0dad",ia:"Sinhala (Sri Lanka)"},sk:{ha:"Sloven\u010dina",ia:"Slovak"},"sk-SK":{ha:"Sloven\u010dina (Slovakia)",ia:"Slovak (Slovakia)"},sl:{ha:"Sloven\u0161\u010dina",ia:"Slovenian"},"sl-SI":{ha:"Sloven\u0161\u010dina",ia:"Slovenian"},"so-SO":{ha:"Soomaaliga",
1152ia:"Somali"},sq:{ha:"Shqip",ia:"Albanian"},"sq-AL":{ha:"Shqip",ia:"Albanian"},sr:{ha:"\u0421\u0440\u043f\u0441\u043a\u0438",ia:"Serbian"},"sr-RS":{ha:"\u0421\u0440\u043f\u0441\u043a\u0438 (Serbia)",ia:"Serbian (Serbia)"},su:{ha:"Basa Sunda",ia:"Sundanese"},sv:{ha:"Svenska",ia:"Swedish"},"sv-SE":{ha:"Svenska",ia:"Swedish"},sw:{ha:"Kiswahili",ia:"Swahili"},"sw-KE":{ha:"Kiswahili",ia:"Swahili (Kenya)"},ta:{ha:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd",ia:"Tamil"},"ta-IN":{ha:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd",ia:"Tamil"},
1153te:{ha:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41",ia:"Telugu"},"te-IN":{ha:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41",ia:"Telugu"},tg:{ha:"\u0437\u0430\u0431\u043e\u0301\u043d\u0438 \u0442\u043e\u04b7\u0438\u043a\u04e3\u0301",ia:"Tajik"},"tg-TJ":{ha:"\u0442\u043e\u04b7\u0438\u043a\u04e3",ia:"Tajik"},th:{ha:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22",ia:"Thai"},"th-TH":{ha:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22 (\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22)",ia:"Thai (Thailand)"},tl:{ha:"Filipino",
1154ia:"Filipino"},"tl-PH":{ha:"Filipino",ia:"Filipino"},tlh:{ha:"tlhIngan-Hol",ia:"Klingon"},tr:{ha:"T\u00fcrk\u00e7e",ia:"Turkish"},"tr-TR":{ha:"T\u00fcrk\u00e7e",ia:"Turkish"},"tt-RU":{ha:"\u0442\u0430\u0442\u0430\u0440\u0447\u0430",ia:"Tatar"},uk:{ha:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",ia:"Ukrainian"},"uk-UA":{ha:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",ia:"Ukrainian"},ur:{ha:"\u0627\u0631\u062f\u0648",ia:"Urdu"},"ur-PK":{ha:"\u0627\u0631\u062f\u0648",
1155ia:"Urdu"},uz:{ha:"O'zbek",ia:"Uzbek"},"uz-UZ":{ha:"O'zbek",ia:"Uzbek"},vi:{ha:"Ti\u1ebfng Vi\u1ec7t",ia:"Vietnamese"},"vi-VN":{ha:"Ti\u1ebfng Vi\u1ec7t",ia:"Vietnamese"},"xh-ZA":{ha:"isiXhosa",ia:"Xhosa"},yi:{ha:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9",ia:"Yiddish"},"yi-DE":{ha:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9 (German)",ia:"Yiddish (German)"},zh:{ha:"\u4e2d\u6587",ia:"Chinese"},"zh-HANS":{ha:"\u4e2d\u6587\u7b80\u4f53",ia:"Chinese Simplified"},"zh-HANT":{ha:"\u4e2d\u6587\u7e41\u9ad4",ia:"Chinese Traditional"},
1156"zh-CN":{ha:"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09",ia:"Chinese Simplified (China)"},"zh-HK":{ha:"\u4e2d\u6587\uff08\u9999\u6e2f\uff09",ia:"Chinese Traditional (Hong Kong)"},"zh-SG":{ha:"\u4e2d\u6587\uff08\u65b0\u52a0\u5761\uff09",ia:"Chinese Simplified (Singapore)"},"zh-TW":{ha:"\u4e2d\u6587\uff08\u53f0\u7063\uff09",ia:"Chinese Traditional (Taiwan)"},"zu-ZA":{ha:"isiZulu",ia:"Zulu"}},cka=m(Object.keys(zu)),Au=cka.next();!Au.done;Au=cka.next()){var dka=Au.value;zu[dka.toLowerCase()]=zu[dka]};function Bu(a,b,c){this.g=a;this.V=Cu(this);b.dataset.shakaPlayerContainer="";b.ui=this;this.kE()&&b.classList.add("shaka-mobile");this.lj=new ku(a,b,c,this.V);this.configure({});c.controls||a.mG(b);b.ui=this;c.ui=this}h=Bu.prototype;h.destroy=function(){var a=this;return r(function(b){if(1==b.g)return a.lj?p(b,a.lj.destroy(),2):b.ua(2);if(4!=b.g)return a.lj=null,a.g?p(b,a.g.destroy(),4):b.ua(4);a.g=null;ua(b)})};
1157h.kE=function(){return/(?:iPhone|iPad|iPod|Android)/.test(navigator.userAgent)?!0:gf()&&1<navigator.maxTouchPoints};h.getConfiguration=function(){var a=Cu(this);nn(a,this.V,Cu(this),{},"");return a};h.configure=function(a,b){2==arguments.length&&"string"==typeof a&&(a=on(a,b));nn(this.V,a,Cu(this),{},"");this.V.castReceiverAppId&&!this.V.overflowMenuButtons.includes("cast")&&this.V.overflowMenuButtons.push("cast");this.lj.configure(this.V);this.lj.dispatchEvent(new Kh("uiupdated"))};h.QX=function(){return this.lj};
1158h.W=function(a){this.lj.dG(a)};
1159function Cu(a){var b={controlPanelElements:"play_pause time_and_duration spacer mute volume fullscreen overflow_menu".split(" "),overflowMenuButtons:"captions quality language picture_in_picture cast playback_rate".split(" "),statisticsList:"width height corruptedFrames decodedFrames droppedFrames drmTimeSeconds licenseTime liveLatency loadLatency bufferingTime manifestTimeSeconds estimatedBandwidth streamBandwidth maxSegmentDuration pauseTime playTime completionPercent".split(" "),contextMenuElements:["loop",
1160"picture_in_picture","statistics"],playbackRates:[.5,.75,1,1.25,1.5,1.75,2],fastForwardRates:[2,4,8,1],rewindRates:[-1,-2,-4,-8],addSeekBar:!0,addBigPlayButton:!1,customContextMenu:!1,castReceiverAppId:"",castAndroidReceiverCompatible:!1,clearBufferOnQualityChange:!0,showUnbufferedStart:!1,seekBarColors:{base:"rgba(255, 255, 255, 0.3)",buffered:"rgba(255, 255, 255, 0.54)",played:"rgb(255, 255, 255)",adBreaks:"rgb(255, 204, 0)"},volumeBarColors:{base:"rgba(255, 255, 255, 0.54)",level:"rgb(255, 255, 255)"},
1161trackLabelFormat:Du,fadeDelay:0,doubleClickForFullscreen:!0,singleClickForPlayAndPause:!0,enableKeyboardPlaybackControls:!0,enableFullscreenOnRotation:!0,forceLandscapeOnFullscreen:!0,enableTooltips:!1,keyboardSeekDistance:5};window.WebKitPlaybackTargetAvailabilityEvent&&b.overflowMenuButtons.push("airplay");a.kE()&&(b.addBigPlayButton=!0,b.controlPanelElements=b.controlPanelElements.filter(function(c){return"play_pause"!=c&&"volume"!=c}));return b}
1162function eka(){var a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q;return r(function(R){switch(R.g){case 1:Eha();if(!Tn())return Eu("shaka-ui-load-failed",fka),R.return();a=document.querySelectorAll("[data-shaka-player-container]");b=document.querySelectorAll("[data-shaka-player]");c=document.querySelectorAll("[data-shaka-player-canvas]");if(!b.length&&!a.length){R.ua(2);break}if(b.length&&!a.length){d=m(b);for(e=d.next();!e.done;e=d.next())if(f=e.value,!f.ui){g=document.createElement("div");k=f.parentElement;
1163k.replaceChild(g,f);g.appendChild(f);l=null;n=m(c);for(q=n.next();!q.done;q=n.next())if(t=q.value,t.parentElement==g){l=t;break}l||(l=document.createElement("canvas"),l.classList.add("zx-Ix-ye"),g.appendChild(l));gka(g,f,l)}R.ua(2);break}u=m(a);v=u.next();case 4:if(v.done){R.ua(2);break}y=v.value;if(y.ui){R.ua(5);break}G=null;K=m(b);for(e=K.next();!e.done;e=K.next())if(J=e.value,J.parentElement==y){G=J;break}G||(G=document.createElement("video"),G.setAttribute("playsinline",""),y.appendChild(G));
1164O=null;P=m(c);for(q=P.next();!q.done;q=P.next())if(Q=q.value,Q.parentElement==y){O=Q;break}O||(O=document.createElement("canvas"),O.classList.add("zx-Ix-ye"),y.appendChild(O));va(R,7);return p(R,gka(y,G,O),9);case 9:xa(R,5);break;case 7:return ya(R),Eu("shaka-ui-load-failed",hka),R.return();case 5:v=u.next();R.ua(4);break;case 2:Eu("shaka-ui-loaded"),ua(R)}})}function Eu(a,b){var c=null;void 0!=b&&(c={reasonCode:b});a=new CustomEvent(a,{detail:c});document.dispatchEvent(a)}
1165function gka(a,b,c){var d,e,f,g,k,l,n,q,t;return r(function(u){switch(u.g){case 1:d=new Hn(b);
1165e=new Bu(d,a,b);d.YI(c);f="";g=!1;a.dataset&&a.dataset.shakaPlayerCastReceiverId?(f=a.dataset.shakaPlayerCastReceiverId,g="true"===a.dataset.shakaPlayerCastAndroidReceiverCompatible):b.dataset&&b.dataset.shakaPlayerCastReceiverId&&(f=b.dataset.shakaPlayerCastReceiverId,g="true"===b.dataset.shakaPlayerCastAndroidReceiverCompatible);f.length&&e.configure({castReceiverAppId:f,castAndroidReceiverCompatible:g});
1166b.controls&&e.lj.bP(!0);if(k=b.getAttribute("src"))l=document.createElement("source"),l.setAttribute("src",k),b.appendChild(l),b.removeAttribute("src");n=m(b.querySelectorAll("source"));q=n.next();case 2:if(q.done){u.ua(0);break}t=q.value;va(u,5);return p(u,e.lj.Mn().load(t.getAttribute("src")),7);case 7:u.ua(0);break;case 5:ya(u);case 3:q=n.next(),u.ua(2)}})}fb("shaka.ui.Overlay",Bu);Bu.prototype.setEnabled=Bu.prototype.W;Bu.prototype.getControls=Bu.prototype.QX;Bu.prototype.configure=Bu.prototype.configure;
1167Bu.prototype.getConfiguration=Bu.prototype.getConfiguration;Bu.prototype.isMobile=Bu.prototype.kE;Bu.prototype.destroy=Bu.prototype.destroy;var Du=0;Bu.TrackLabelFormat={LANGUAGE:Du,ROLE:1,LANGUAGE_ROLE:2,LABEL:3};var fka=0,hka=1;Bu.FailReasonCode={NO_BROWSER_SUPPORT:fka,PLAYER_FAILED_TO_LOAD:hka};"complete"==document.readyState?r(function(a){if(1==a.g)return p(a,Promise.resolve(),2);eka();ua(a)}):window.addEventListener("load",eka);function ika(a,b,c,d,e,f,g){function k(P,Q){return P+": "+Q}function l(P){return"variant"==P.type?P.audioRoles?P.audioRoles.join(", "):void 0:P.roles.join(", ")}var n=a.find(function(P){return 1==P.active}),q=Tt(b,"zx-ky-ly-Kx-Fh");Nm(b);b.appendChild(q);q=new Map;for(var t=m(a),u=t.next();!u.done;u=t.next())u=u.value,q.has(u.language)||q.set(u.language,new Set),q.get(u.language).add(l(u));q=new Set;n=n?k(n.language,l(n)):"";t={};a=m(a);for(u=a.next();!u.done;t={ij:t.ij},u=a.next()){t.ij=u.value;
1168u=t.ij.language;var v=t.ij.forced,y=f.resolve(wja.RT),G=l(t.ij),K=k(u,G);if(!q.has(K)){q.add(K);var J=Mm();J.addEventListener("click",function(P){return function(){c(P.ij)}}(t));var O=Lm("span");J.appendChild(O);O.textContent=jka(u,f);switch(g){case Du:v&&(O.textContent+=" ("+y+")");break;case 1:G?O.textContent=G:(lb("Track #"+t.ij.id+" does not have a role, but the UI is configured to only show role."),O.textContent="?");v&&(O.textContent+=" ("+y+")");break;case 2:G&&(O.textContent+=": "+G);v&&(O.textContent+=
1169" ("+y+")");break;case 3:t.ij.label?O.textContent=t.ij.label:(lb("Track #"+t.ij.id+" does not have a label, but the UI is configured to only show labels."),O.textContent="?")}d&&K==n&&(J.appendChild(Vt()),O.classList.add("zx-chosen-item"),J.ariaSelected="true",e.textContent=O.textContent);b.appendChild(J)}}}
1170function jka(a,b){if(!a&&!b)return"";switch(a){case "mul":return b.resolve("MULTIPLE_LANGUAGES");case "und":return b.resolve("UNDETERMINED_LANGUAGE");case "zxx":return b.resolve("NOT_APPLICABLE")}var c=bg(a);return a in zu?zu[a].ha:c in zu?zu[c].ha+" ("+a+")":b.resolve("UNRECOGNIZED_LANGUAGE")+" ("+a+")"};function Fu(a,b){uu.call(this,a,b,"language");var c=this;this.button.classList.add("shaka-language-button");this.button.classList.add("zx-uy-Zi");this.menu.classList.add("shaka-audio-languages");this.eventManager.J(this.localization,"locale-updated",function(){Gu(c)});this.eventManager.J(this.localization,"locale-changed",function(){Gu(c)});this.eventManager.J(this.player,"trackschanged",function(){var d=0<c.player.Gi().length;Wt(c.button,d);Hu(c)});this.eventManager.J(this.player,"variantchanged",
1171function(){Hu(c)});Gu(this);Hu(this)}pa(Fu,uu);function Hu(a){var b=a.player.Gi();ika(b,a.menu,function(c){a.player.Oz(c.language,c.roles[0])},!0,a.currentSelection,a.localization,a.controls.V.trackLabelFormat);Ut(a.menu);a.controls.dispatchEvent(new Kh("languageselectionupdated"));a.button.setAttribute("shaka-status",a.currentSelection.innerText)}
1172function Gu(a){a.backButton.ariaLabel=a.localization.resolve("BACK");a.button.ariaLabel=a.localization.resolve("LANGUAGE");a.nameSpan.textContent=a.localization.resolve("LANGUAGE");a.backSpan.textContent=a.localization.resolve("LANGUAGE")}fb("shaka.ui.AudioLanguageSelection",Fu);function Iu(){}Iu.prototype.create=function(a,b){return new Fu(a,b)};xu("language",new Iu);qu("language",new Iu);function Ju(a,b){Qt.call(this,a,b);var c=this;this.g=Mm();this.g.classList.add("shaka-airplay-button");this.g.classList.add("shaka-tooltip");this.g.ariaPressed="false";this.h=Lm("i");this.h.classList.add("Cx-Dx-Ex");this.h.textContent="airplay";this.g.appendChild(this.h);window.WebKitPlaybackTargetAvailabilityEvent||this.g.classList.add("zx-Ax");a=Lm("label");a.classList.add("zx-Kx-Fh-Mh");a.classList.add("zx-Kx-te-Lx");this.o=Lm("span");a.appendChild(this.o);this.j=Lm("span");this.j.classList.add("zx-Px-Qx-Rx");
1173a.appendChild(this.j);this.g.appendChild(a);this.parent.appendChild(this.g);Ku(this);kka(this);this.eventManager.J(this.localization,"locale-updated",function(){Ku(c)});this.eventManager.J(this.localization,"locale-changed",function(){Ku(c)});this.eventManager.J(this.g,"click",function(){c.controls.mm().webkitShowPlaybackTargetPicker()});a=this.controls.mm();this.eventManager.J(a,"webkitplaybacktargetavailabilitychanged",function(d){var e=c.player.vL()==to;Wt(c.g,"available"==d.availability&&e)});
1174this.eventManager.J(a,"webkitcurrentplaybacktargetiswirelesschanged",function(){kka(c)})}pa(Ju,Qt);function kka(a){var b=a.controls.mm();a.g.ariaPressed=b&&b.webkitCurrentPlaybackTargetIsWireless?"true":"false"}function Ku(a){a.g.ariaLabel=a.localization.resolve("AIRPLAY");a.o.textContent=a.localization.resolve("AIRPLAY")}fb("shaka.ui.AirPlayButton",Ju);function Lu(){}Lu.prototype.create=function(a,b){return new Ju(a,b)};xu("airplay",new Lu);qu("airplay",new Lu);function Mu(a,b){Qt.call(this,a,b);var c=this;this.h=this.controls.l;this.g=Mm();this.g.classList.add("shaka-cast-button");this.g.classList.add("shaka-tooltip");this.g.ariaPressed="false";this.j=Lm("i");this.j.classList.add("Cx-Dx-Ex");this.j.textContent="cast";this.g.appendChild(this.j);a=Lm("label");a.classList.add("zx-Kx-Fh-Mh");a.classList.add("zx-Kx-te-Lx");this.l=Lm("span");a.appendChild(this.l);this.o=Lm("span");this.o.classList.add("zx-Px-Qx-Rx");a.appendChild(this.o);this.g.appendChild(a);
1175this.parent.appendChild(this.g);Nu(this);lka(this);this.eventManager.J(this.localization,"locale-updated",function(){Nu(c)});this.eventManager.J(this.localization,"locale-changed",function(){Nu(c)});this.eventManager.J(this.g,"click",function(){mka(c)});this.eventManager.J(this.controls,"caststatuschanged",function(){lka(c)})}pa(Mu,Qt);
1176function mka(a){var b;r(function(c){if(1==c.g){if(a.h.Lf())return a.h.nS(),c.ua(0);va(c,3);a.g.disabled=!0;
1176return p(c,a.h.cast(),5)}if(3!=c.g)return a.g.disabled=!1,xa(c,0);b=ya(c);a.g.disabled=!1;8004!=b.code&&a.controls.dispatchEvent(new Kh("error",(new Map).set("detail",b)));ua(c)})}function lka(a){var b=a.h.qJ()&&a.controls.Y,c=a.h.Lf();Wt(a.g,b);a.j.textContent=c?"cast_connected":"cast";b&&(a.g.ariaPressed=c?"true":"false");nka(a)}
1177function nka(a){a.o.textContent=a.h.Lf()?a.h.Cz():a.localization.resolve("OFF")}function Nu(a){a.g.ariaLabel=a.localization.resolve("CAST");a.l.textContent=a.localization.resolve("CAST");nka(a)}fb("shaka.ui.CastButton",Mu);function Ou(){}Ou.prototype.create=function(a,b){return new Mu(a,b)};xu("cast",new Ou);qu("cast",new Ou);function Pu(a,b){Qt.call(this,a,b);var c=this;this.g=Mm();this.g.classList.add("Cx-Dx-Ex");this.g.classList.add("shaka-fast-forward-button");this.g.classList.add("zx-uy-Zi");this.g.setAttribute("shaka-status","1x");this.g.textContent="fast_forward";this.parent.appendChild(this.g);Qu(this);this.h=this.controls.V.fastForwardRates;this.eventManager.J(this.localization,"locale-updated",function(){Qu(c)});this.eventManager.J(this.localization,"locale-changed",function(){Qu(c)});this.eventManager.J(this.g,
1178"click",function(){if(c.video.duration){var d=c.h.indexOf(c.player.lm())+1;d=d!=c.h.length?c.h[d]:c.h[0];c.player.JH(d);c.g.setAttribute("shaka-status",d+"x")}})}pa(Pu,Qt);function Qu(a){a.g.ariaLabel=a.localization.resolve("FAST_FORWARD")}fb("shaka.ui.FastForwardButton",Pu);function oka(){}oka.prototype.create=function(a,b){return new Pu(a,b)};qu("fast_forward",new oka);function Ru(a,b){Qt.call(this,a,b);var c=this;this.h=this.controls.o;this.g=Mm();this.g.classList.add("zx-Hx-Fh");this.g.classList.add("Cx-Dx-Ex");this.g.classList.add("shaka-tooltip");Su(this);this.g.textContent="fullscreen";this.parent.appendChild(this.g);Tu(this);this.eventManager.J(this.localization,"locale-updated",function(){Tu(c)});this.eventManager.J(this.localization,"locale-changed",function(){Tu(c)});this.eventManager.J(this.g,"click",function(){return r(function(d){return p(d,c.controls.CH(),
11790)})});this.eventManager.J(document,"fullscreenchange",function(){c.g.textContent=c.controls.Qq()?"fullscreen_exit":"fullscreen";Tu(c)});this.eventManager.J(this.h,"loadedmetadata",function(){Su(c)});this.eventManager.J(this.h,"loadeddata",function(){Su(c)})}pa(Ru,Qt);function Su(a){a.controls.Dy()?a.g.classList.remove("zx-Ax"):a.g.classList.add("zx-Ax")}function Tu(a){a.g.ariaLabel=a.localization.resolve(a.controls.Qq()?"EXIT_FULL_SCREEN":"FULL_SCREEN")}fb("shaka.ui.FullscreenButton",Ru);
1180function pka(){}pka.prototype.create=function(a,b){return new Ru(a,b)};qu("fullscreen",new pka);function Uu(a,b){Qt.call(this,a,b);var c=this;this.g=Mm();this.g.classList.add("shaka-loop-button");this.g.classList.add("shaka-tooltip");this.j=Lm("i");this.j.classList.add("Cx-Dx-Ex");this.j.textContent="repeat";this.g.appendChild(this.j);a=Lm("label");a.classList.add("zx-Kx-Fh-Mh");a.classList.add("zx-Kx-te-Lx");this.l=Lm("span");this.l.textContent=this.localization.resolve("LOOP");a.appendChild(this.l);this.o=Lm("span");this.o.classList.add("zx-Px-Qx-Rx");a.appendChild(this.o);this.g.appendChild(a);
1181Vu(this);this.parent.appendChild(this.g);this.eventManager.J(this.localization,"locale-updated",function(){Vu(c)});this.eventManager.J(this.localization,"locale-changed",function(){Vu(c)});this.eventManager.J(this.g,"click",function(){c.video.loop=!c.video.loop;c.h.vg();c.h.kf(1)});this.s=this.video.loop;this.h=new Xe(function(){c.s!=c.video.loop&&(Vu(c),c.s=c.video.loop)});this.h.kf(1)}pa(Uu,Qt);Uu.prototype.release=function(){this.h.stop();this.h=null;Qt.prototype.release.call(this)};
1182function Vu(a){a.l.textContent=a.localization.resolve("LOOP");a.o.textContent=a.localization.resolve(a.video.loop?"ON":"OFF");a.j.textContent=a.video.loop?"repeat_on":"repeat";a.g.ariaLabel=a.localization.resolve(a.video.loop?"EXIT_LOOP_MODE":"ENTER_LOOP_MODE")}fb("shaka.ui.LoopButton",Uu);function Wu(){}Wu.prototype.create=function(a,b){return new Uu(a,b)};xu("loop",new Wu);qu("loop",new Wu);du("loop",new Wu);function Xu(a,b){Qt.call(this,a,b);var c=this;this.g=Mm();this.g.classList.add("zx-yy-Fh");this.g.classList.add("Cx-Dx-Ex");this.g.classList.add("shaka-tooltip");this.parent.appendChild(this.g);Yu(this);Zu(this);this.eventManager.J(this.localization,"locale-updated",function(){Yu(c)});this.eventManager.J(this.localization,"locale-changed",function(){Yu(c)});this.eventManager.J(this.g,"click",function(){c.ad&&c.ad.isLinear()?c.ad.setMuted(!c.ad.isMuted()):c.video.muted=!c.video.muted});this.eventManager.J(this.video,
1183"volumechange",function(){Yu(c);Zu(c)});this.eventManager.J(this.adManager,"ad-volume-changed",function(){Yu(c);Zu(c)});this.eventManager.J(this.adManager,"ad-muted",function(){Yu(c);Zu(c)});this.eventManager.J(this.adManager,"ad-stopped",function(){c.ad=null;Yu(c);Zu(c)})}pa(Xu,Qt);
1183function Yu(a){var b=a.ad?a.ad.isMuted()?"UNMUTE":"MUTE":a.video.muted?"UNMUTE":"MUTE";a.g.ariaLabel=a.localization.resolve(b)}
1184function Zu(a){var b=a.ad?a.ad.isMuted()?"volume_off":"volume_up":a.video.muted?"volume_off":"volume_up";a.g.textContent=b}fb("shaka.ui.MuteButton",Xu);function qka(){}qka.prototype.create=function(a,b){return new Xu(a,b)};qu("mute",new qka);function $u(a,b){Qt.call(this,a,b);var c=this;this.l=this.controls.o;this.g=Mm();this.g.classList.add("zx-zy-Fh");this.g.classList.add("shaka-tooltip");this.j=Lm("i");this.j.classList.add("Cx-Dx-Ex");this.j.textContent="picture_in_picture_alt";this.g.appendChild(this.j);a=Lm("label");a.classList.add("zx-Kx-Fh-Mh");a.classList.add("zx-Kx-te-Lx");this.o=Lm("span");this.o.textContent=this.localization.resolve("PICTURE_IN_PICTURE");a.appendChild(this.o);this.h=Lm("span");this.h.classList.add("zx-Px-Qx-Rx");
1185a.appendChild(this.h);this.g.appendChild(a);av(this);this.parent.appendChild(this.g);document.pictureInPictureEnabled&&!this.video.disablePictureInPicture||Wt(this.g,!1);this.eventManager.J(this.localization,"locale-updated",function(){av(c)});this.eventManager.J(this.localization,"locale-changed",function(){av(c)});this.eventManager.J(this.g,"click",function(){rka(c)});this.eventManager.J(this.l,"enterpictureinpicture",function(){c.j.textContent="branding_watermark";c.g.ariaLabel=c.localization.resolve("EXIT_PICTURE_IN_PICTURE");
1186c.h.textContent=c.localization.resolve("ON")});this.eventManager.J(this.l,"leavepictureinpicture",function(){c.j.textContent="picture_in_picture_alt";c.g.ariaLabel=c.localization.resolve("ENTER_PICTURE_IN_PICTURE");c.h.textContent=c.localization.resolve("OFF")});this.eventManager.J(this.controls,"caststatuschanged",function(d){d.newStatus?document.pictureInPictureEnabled&&!c.video.disablePictureInPicture&&Wt(c.g,!1):document.pictureInPictureEnabled&&!c.video.disablePictureInPicture&&Wt(c.g,!0)});
1187this.eventManager.J(this.player,"trackschanged",function(){ska(c)})}pa($u,Qt);function rka(a){var b;r(function(c){if(1==c.g)return va(c,2),document.pictureInPictureElement?p(c,document.exitPictureInPicture(),5):(document.fullscreenElement&&document.exitFullscreen(),p(c,a.video.requestPictureInPicture(),5));if(2!=c.g)return xa(c,0);b=ya(c);a.controls.dispatchEvent(new Kh("error",(new Map).set("detail",b)));ua(c)})}
1188function av(a){a.o.textContent=a.localization.resolve("PICTURE_IN_PICTURE");a.g.ariaLabel=a.localization.resolve(document.pictureInPictureElement?"EXIT_PICTURE_IN_PICTURE":"ENTER_PICTURE_IN_PICTURE");a.h.textContent=a.localization.resolve(document.pictureInPictureElement?"ON":"OFF")}
1189function ska(a){r(function(b){if(!document.pictureInPictureEnabled||a.video.disablePictureInPicture)return Wt(a.g,!1),b.ua(0);if(!a.player||!a.player.Oq())return Wt(a.g,!0),b.ua(0);Wt(a.g,!1);return document.pictureInPictureElement?p(b,document.exitPictureInPicture(),0):b.ua(0)})}fb("shaka.ui.PipButton",$u);function bv(){}bv.prototype.create=function(a,b){return new $u(a,b)};xu("picture_in_picture",new bv);qu("picture_in_picture",new bv);du("picture_in_picture",new bv);function cv(a,b){uu.call(this,a,b,"slow_motion_video");var c=this;this.button.classList.add("shaka-playbackrate-button");this.menu.classList.add("shaka-playback-rates");this.button.classList.add("zx-uy-Zi");this.eventManager.J(this.localization,"locale-updated",function(){dv(c)});this.eventManager.J(this.localization,"locale-changed",function(){dv(c)});this.eventManager.J(this.player,"ratechange",function(){tka(c,c.player.lm())});this.g=new Map(this.controls.V.playbackRates.map(function(d){return[d+
1190"x",d]}));dv(this);uka(this);tka(this,this.player.lm())}pa(cv,uu);function dv(a){a.backButton.ariaLabel=a.localization.resolve("BACK");a.button.ariaLabel=a.localization.resolve("PLAYBACK_RATE");a.nameSpan.textContent=a.localization.resolve("PLAYBACK_RATE");a.backSpan.textContent=a.localization.resolve("PLAYBACK_RATE")}
1191function tka(a,b){var c=Tt(a.menu,"Cx-Dx-Ex zx-chosen-item");if(c){var d=c.parentElement;d.removeAttribute("aria-selected");d.getElementsByTagName("span")[0].classList.remove("zx-chosen-item");d.removeChild(c)}if(c=Array.from(a.menu.querySelectorAll("span")).find(function(e){return a.g.get(e.textContent)==b}))d=c.parentElement,d.appendChild(Vt()),d.ariaSelected="true",c.classList.add("zx-chosen-item");a.currentSelection.textContent=b+"x";a.button.setAttribute("shaka-status",b+"x")}
1192function uka(a){for(var b={},c=m(a.g.keys()),d=c.next();!d.done;b={vs:b.vs},d=c.next()){b.vs=d.value;d=Mm();var e=Lm("span");e.textContent=b.vs;d.appendChild(e);a.eventManager.J(d,"click",function(f){return function(){a.video.playbackRate=a.g.get(f.vs);a.video.defaultPlaybackRate=a.g.get(f.vs)}}(b));a.menu.appendChild(d)}Ut(a.menu)}fb("shaka.ui.PlaybackRateSelection",cv);function ev(){}ev.prototype.create=function(a,b){return new cv(a,b)};xu("playback_rate",new ev);qu("playback_rate",new ev);function fv(a,b){Qt.call(this,a,b);var c=this;this.g=Mm();this.g.classList.add("zx-Px-Vx");gv(this,"0:00");this.parent.appendChild(this.g);this.eventManager.J(this.g,"click",function(){c.player.nd()&&(c.video.currentTime=c.player.uh().end)});this.eventManager.J(this.controls,"timeandseekrangeupdated",function(){var d=c.controls.M,e=c.controls.sL(),f=c.video.duration,g=c.player.uh(),k=g.end-g.start;c.player.nd()?(e=Math.max(0,Math.floor(g.end-e)),f=3600<=k,1<=e||d?(gv(c,"- "+Xt(e,f)),c.g.disabled=
1193!1):(gv(c,c.localization.resolve("LIVE")),c.g.disabled=!0)):(d=3600<=f,e=Xt(e,d),f&&(e+=" / "+Xt(f,d)),gv(c,e),c.g.disabled=!0)});this.eventManager.J(this.player,"trackschanged",function(){c.player.nd()&&(c.g.ariaLabel=c.localization.resolve("SKIP_TO_LIVE"))})}pa(fv,Qt);
1193function gv(a,b){b!=a.g.textContent&&(a.g.textContent=b)}fb("shaka.ui.PresentationTimeTracker",fv);function vka(){}vka.prototype.create=function(a,b){return new fv(a,b)};qu("time_and_duration",new vka);function hv(a,b){uu.call(this,a,b,"settings");var c=this;this.button.classList.add("shaka-resolution-button");this.button.classList.add("zx-uy-Zi");this.menu.classList.add("shaka-resolutions");this.eventManager.J(this.localization,"locale-updated",function(){iv(c)});this.eventManager.J(this.localization,"locale-changed",function(){iv(c)});this.eventManager.J(this.player,"variantchanged",function(){jv(c)});this.eventManager.J(this.player,"trackschanged",function(){jv(c)});this.eventManager.J(this.player,
1194"abrstatuschanged",function(){jv(c)});jv(this)}pa(hv,uu);
1195function jv(a){var b=a.player.Gi(),c=b.find(function(l){return l.active});c&&(b=b.filter(function(l){return l.language==c.language&&l.channelsCount==c.channelsCount}));b=b.filter(function(l,n){return(a.player.Oq()?b.findIndex(function(q){return q.bandwidth==l.bandwidth}):b.findIndex(function(q){return q.height==l.height}))==n});a.player.Oq()?b.sort(function(l,n){return n.bandwidth-l.bandwidth}):b.sort(function(l,n){return n.height-l.height});var d=Tt(a.menu,"zx-ky-ly-Kx-Fh");Nm(a.menu);a.menu.appendChild(d);
1196d=a.player.getConfiguration().abr.enabled;for(var e={},f=m(b),g=f.next();!g.done;e={Bp:e.Bp},g=f.next()){e.Bp=g.value;g=Mm();g.classList.add("explicit-resolution");a.eventManager.J(g,"click",function(l){return function(){var n=l.Bp;a.player.configure({abr:{enabled:!1}});a.player.ZF(n,a.controls.V.clearBufferOnQualityChange)}}(e));var k=Lm("span");k.textContent=a.player.Oq()?Math.round(e.Bp.bandwidth/1E3)+" kbits/s":e.Bp.height+"p";g.appendChild(k);d||e.Bp!=c||(g.ariaSelected="true",g.appendChild(Vt()),
1197k.classList.add("zx-chosen-item"),a.currentSelection.textContent=k.textContent);a.menu.appendChild(g)}e=Mm();e.classList.add("shaka-enable-abr-button");a.eventManager.J(e,"click",function(){a.player.configure({abr:{enabled:!0}});jv(a)});a.g=Lm("span");a.g.classList.add("zx-my-Rx");a.g.textContent=a.localization.resolve("AUTO_QUALITY");e.appendChild(a.g);d&&(e.ariaSelected="true",e.appendChild(Vt()),a.g.classList.add("zx-chosen-item"),a.currentSelection.textContent=a.localization.resolve("AUTO_QUALITY"));
1198a.button.setAttribute("shaka-status",a.currentSelection.textContent);a.menu.appendChild(e);Ut(a.menu);a.controls.dispatchEvent(new Kh("resolutionselectionupdated"));iv(a)}
1199function iv(a){var b=a.player.Oq()?"QUALITY":"RESOLUTION";a.button.ariaLabel=a.localization.resolve(b);a.backButton.ariaLabel=a.localization.resolve(b);a.backSpan.textContent=a.localization.resolve(b);a.nameSpan.textContent=a.localization.resolve(b);a.g.textContent=a.localization.resolve("AUTO_QUALITY");a.player.getConfiguration().abr.enabled&&(a.currentSelection.textContent=a.localization.resolve("AUTO_QUALITY"))}fb("shaka.ui.ResolutionSelection",hv);function kv(){}
1200kv.prototype.create=function(a,b){return new hv(a,b)};xu("quality",new kv);qu("quality",new kv);function lv(a,b){Qt.call(this,a,b);var c=this;this.g=Mm();this.g.classList.add("Cx-Dx-Ex");this.g.classList.add("shaka-rewind-button");this.g.classList.add("zx-uy-Zi");this.g.setAttribute("shaka-status",this.localization.resolve("OFF"));this.g.textContent="fast_rewind";this.parent.appendChild(this.g);mv(this);this.h=this.controls.V.rewindRates;this.eventManager.J(this.localization,"locale-updated",function(){mv(c)});this.eventManager.J(this.localization,"locale-changed",function(){mv(c)});this.eventManager.J(this.g,
1201"click",function(){if(c.video.duration){var d=c.h.indexOf(c.player.lm())+1;d=d!=c.h.length?c.h[d]:c.h[0];c.player.JH(d);c.g.setAttribute("shaka-status",d+"x")}})}pa(lv,Qt);function mv(a){a.g.ariaLabel=a.localization.resolve("REWIND")}fb("shaka.ui.RewindButton",lv);function wka(){}wka.prototype.create=function(a,b){return new lv(a,b)};qu("rewind",new wka);function nv(a,b){Qt.call(this,a,b);var c=this;this.o=Lm("div");this.o.classList.add("zx-qy-cy-ye");this.parent.appendChild(this.o);this.h=Lm("div");this.h.classList.add("zx-qy-cy-ry");Wt(this.h,!1);this.o.appendChild(this.h);this.g=Mm();this.g.classList.add("zx-qy-cy-Fh");this.g.disabled=!0;Wt(this.g,!1);this.g.classList.add("shaka-no-propagation");this.o.appendChild(this.g);ov(this);this.j=new Xe(function(){var d=Math.round(c.ad.getTimeUntilSkippable());0<d?c.h.textContent=d:(c.j.stop(),Wt(c.h,!1))});
1202this.eventManager.J(this.localization,"locale-updated",function(){ov(c)});this.eventManager.J(this.localization,"locale-changed",function(){ov(c)});this.eventManager.J(this.adManager,"ad-started",function(){xka(c)});this.eventManager.J(this.adManager,"ad-skip-state-changed",function(){c.ad.canSkipNow()&&(c.g.disabled=!1,c.j.stop(),Wt(c.h,!1))});this.eventManager.J(this.adManager,"ad-stopped",function(){c.j.stop();c.g.disabled=!0;Wt(c.g,!1);Wt(c.h,!1)});this.eventManager.J(this.g,"click",function(){c.ad.skip()});
1203this.ad&&xka(this)}pa(nv,Qt);nv.prototype.release=function(){this.j.stop();this.j=null;Qt.prototype.release.call(this)};function ov(a){a.g.textContent=a.localization.resolve("SKIP_AD")}function xka(a){a.ad.isSkippable()&&(Wt(a.g,!0),Wt(a.h,!0),a.h.textContent="",a.j.vg(),a.j.kf(.5))}fb("shaka.ui.SkipAdButton",nv);function pv(a,b){au.call(this,a,b);this.button.classList.add("zx-xy-Mx-Fh");this.button.classList.add("Cx-Dx-Ex");this.button.classList.add("shaka-tooltip");this.h();this.g()}pa(pv,au);pv.prototype.h=function(){this.button.textContent=this.video.ended?"replay":this.isPaused()?"play_arrow":"pause"};pv.prototype.g=function(){if(this.video.ended)this.button.ariaLabel=this.localization.resolve("REPLAY");else{var a=this.isPaused()?"PLAY":"PAUSE";this.button.ariaLabel=this.localization.resolve(a)}};
1204fb("shaka.ui.SmallPlayButton",pv);function yka(){}yka.prototype.create=function(a,b){return new pv(a,b)};qu("play_pause",new yka);function qv(a,b){Qt.call(this,a,b);a=Lm("div");a.classList.add("zx-gy");a.ariaHidden="true";this.parent.appendChild(a)}pa(qv,Qt);fb("shaka.ui.Spacer",qv);function zka(){}zka.prototype.create=function(a,b){return new qv(a,b)};qu("spacer",new zka);function rv(a,b){function c(l){return Xt(k.g[l],!1)+" (m)"}function d(l){return Math.round(k.g[l]/1E3)+" (kbits/s)"}function e(l){return k.g[l].toFixed(2)+" (s)"}function f(l){return k.g[l]+" (frames)"}function g(l){return k.g[l]+" (px)"}Qt.call(this,a,b);var k=this;this.j=Mm();this.j.classList.add("shaka-statistics-button");this.o=Lm("i");this.o.classList.add("Cx-Dx-Ex");this.o.textContent="insert_chart_outlined";this.j.appendChild(this.o);a=Lm("label");a.classList.add("zx-Kx-Fh-Mh");this.T=Lm("span");
1205a.appendChild(this.T);this.s=Lm("span");this.s.classList.add("zx-Px-Qx-Rx");a.appendChild(this.s);this.j.appendChild(a);this.parent.appendChild(this.j);this.h=Lm("div");this.h.classList.add("shaka-no-propagation");this.h.classList.add("shaka-show-controls-on-mouse-over");this.h.classList.add("zx-Nx-ye");this.h.classList.add("zx-Ax");this.controls.$c.appendChild(this.h);this.u=[];this.ea=["stateHistory","switchHistory"];this.g=this.player.getStats();this.m={};this.L={width:g,height:g,completionPercent:function(l){return k.g[l]+
1206" (%)"},bufferingTime:e,drmTimeSeconds:e,licenseTime:e,liveLatency:e,loadLatency:e,manifestTimeSeconds:e,estimatedBandwidth:d,streamBandwidth:d,maxSegmentDuration:c,pauseTime:c,playTime:c,corruptedFrames:f,decodedFrames:f,droppedFrames:f,stallsDetected:function(l){return k.g[l]+" (stalls)"},gapsJumped:function(l){return k.g[l]+" (gaps)"}};this.l=new Xe(function(){k.g=k.player.getStats();for(var l=m(k.u),n=l.next();!n.done;n=l.next())n=n.value,k.m[n].textContent=k.L[n](n)});sv(this);Aka(this);this.eventManager.J(this.localization,
1207"locale-updated",function(){sv(k)});this.eventManager.J(this.localization,"locale-changed",function(){sv(k)});this.eventManager.J(this.j,"click",function(){Wt(k.parent,!1);k.h.classList.contains("zx-Ax")?(k.o.textContent="insert_chart",k.l.kf(.1),Wt(k.h,!0)):(k.o.textContent="insert_chart_outlined",k.l.stop(),Wt(k.h,!1));sv(k)})}pa(rv,Qt);
1208function sv(a){a.T.textContent=a.localization.resolve("STATISTICS");a.j.ariaLabel=a.localization.resolve("STATISTICS");var b=a.h.classList.contains("zx-Ax")?"OFF":"ON";a.s.textContent=a.localization.resolve(b)}function Bka(a,b){var c=Lm("div"),d=Lm("label");d.textContent=b+":";c.appendChild(d);d=Lm("span");d.textContent=a.L[b](b);c.appendChild(d);a.m[b]=d;return c}
1209function Aka(a){for(var b=m(a.controls.V.statisticsList),c=b.next();!c.done;c=b.next())c=c.value,c in a.g&&!a.ea.includes(c)?(a.h.appendChild(Bka(a,c)),a.u.push(c)):lb("Unrecognized statistic element:",c)}rv.prototype.release=function(){this.l.stop();this.l=null;Qt.prototype.release.call(this)};fb("shaka.ui.StatisticsButton",rv);function tv(){}tv.prototype.create=function(a,b){return new rv(a,b)};xu("statistics",new tv);du("statistics",new tv);function uv(a,b){uu.call(this,a,b,"closed_caption");var c=this;this.button.classList.add("shaka-caption-button");this.button.classList.add("zx-uy-Zi");this.menu.classList.add("shaka-text-languages");this.player&&this.player.Hj()?this.button.ariaPressed="true":this.button.ariaPressed="false";Cka(this);this.eventManager.J(this.localization,"locale-updated",function(){vv(c);wv(c)});this.eventManager.J(this.localization,"locale-changed",function(){vv(c);wv(c)});this.eventManager.J(this.player,"texttrackvisibility",
1210function(){c.h();wv(c)});this.eventManager.J(this.player,"textchanged",function(){wv(c)});this.eventManager.J(this.player,"trackschanged",function(){Dka(c)});this.h();vv(this);wv(this);Dka(this)}pa(uv,uu);function Cka(a){var b=Mm();b.ariaSelected="true";a.menu.appendChild(b);b.appendChild(Vt());a.g=Lm("span");a.g.classList.add("zx-my-Rx");b.appendChild(a.g)}
1211uv.prototype.h=function(){this.player.Hj()?(this.icon.textContent="closed_caption",this.button.ariaPressed="true"):(this.icon.textContent="closed_caption_disabled",this.button.ariaPressed="false");this.controls.dispatchEvent(new Kh("captionselectionupdated"))};
1212function wv(a){var b=a.player.Ek();ika(b,a.menu,function(c){return Eka(a,c)},a.player.Hj(),a.currentSelection,a.localization,a.controls.V.trackLabelFormat);b=Mm();b.classList.add("shaka-turn-captions-off-button");a.eventManager.J(b,"click",function(){a.player.vv(!1);wv(a)});b.appendChild(a.g);a.menu.appendChild(b);a.player.Hj()||(b.ariaSelected="true",b.appendChild(Vt()),a.g.classList.add("zx-chosen-item"),a.currentSelection.textContent=a.localization.resolve("OFF"));a.button.setAttribute("shaka-status",
1213a.currentSelection.textContent);Ut(a.menu);a.controls.dispatchEvent(new Kh("captionselectionupdated"))}function Eka(a,b){return r(function(c){a.player.Qz(b);return p(c,a.player.vv(!0),0)})}function vv(a){a.button.ariaLabel=a.localization.resolve("CAPTIONS");a.backButton.ariaLabel=a.localization.resolve("BACK");a.nameSpan.textContent=a.localization.resolve("CAPTIONS");a.backSpan.textContent=a.localization.resolve("CAPTIONS");a.g.textContent=a.localization.resolve("OFF")}
1214function Dka(a){var b=0<a.player.Ek().length;Wt(a.button,b);wv(a)}fb("shaka.ui.TextSelection",uv);function xv(){}xv.prototype.create=function(a,b){return new uv(a,b)};xu("captions",new xv);qu("captions",new xv);function yv(a,b){eu.call(this,a,b,["zx-Zx-Kq-ye"],["shaka-volume-bar"]);var c=this;this.V=this.controls.V;this.eventManager.J(this.video,"volumechange",function(){return zv(c)});this.eventManager.J(this.adManager,"ad-volume-changed",function(){return Fka(c)});this.eventManager.J(this.adManager,"ad-muted",function(){return Fka(c)});this.eventManager.J(this.adManager,"ad-stopped",function(){return zv(c)});this.eventManager.J(this.localization,"locale-updated",function(){return Av(c)});this.eventManager.J(this.localization,
1215"locale-changed",function(){return Av(c)});zv(this);Av(this);if(this.ad)this.onChange()}pa(yv,eu);yv.prototype.onChange=function(){this.ad&&this.ad.isLinear()?this.ad.setVolume(this.getValue()):(this.video.volume=this.getValue(),this.video.muted=0==this.video.volume?!0:!1)};function zv(a){a.video.muted?a.setValue(0):a.setValue(a.video.volume);Gka(a)}function Fka(a){var b=a.ad.getVolume();a.setValue(b);Gka(a)}
1216function Gka(a){var b=a.V.volumeBarColors,c=["to right"];
1216c.push(b.level+100*a.getValue()+"%");c.push(b.base+100*a.getValue()+"%");c.push(b.base+"100%");a.container.style.background="linear-gradient("+c.join(",")+")"}function Av(a){a.bar.ariaLabel=a.localization.resolve("VOLUME")}fb("shaka.ui.VolumeBar",yv);function Hka(){}Hka.prototype.create=function(a,b){return new yv(a,b)};qu("volume",new Hka);/*
1217 @license
1218 EME Encryption Scheme Polyfill
1219 Copyright 2019 Google LLC
1220 SPDX-License-Identifier: Apache-2.0
1221*/
1222function Ika(){}var Bv;function Jka(){Bv?console.debug("EmeEncryptionSchemePolyfill: Already installed."):navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration?(Bv=navigator.requestMediaKeySystemAccess,console.debug("EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.requestMediaKeySystemAccess=Kka):console.debug("EmeEncryptionSchemePolyfill: EME not found")}
1223function Kka(a,b){var c=this,d;return r(function(e){if(1==e.g)return console.assert(c==navigator,'bad "this" for requestMediaKeySystemAccess'),p(e,Bv.call(c,a,b),2);d=e.h;if(Lka(d))return console.debug("EmeEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.requestMediaKeySystemAccess=Bv,e.return(d);console.debug("EmeEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support.");navigator.requestMediaKeySystemAccess=Mka;return e.return(Mka.call(c,
1224a,b))})}
1225function Mka(a,b){var c=this,d,e,f,g,k,l,n,q,t,u;return r(function(v){if(1==v.g){console.assert(c==navigator,'bad "this" for requestMediaKeySystemAccess');d=Nka(a);e=[];f=m(b);for(g=f.next();!g.done;g=f.next())k=g.value,l=Oka(k.videoCapabilities,d),n=Oka(k.audioCapabilities,d),k.videoCapabilities&&k.videoCapabilities.length&&!l.length||k.audioCapabilities&&k.audioCapabilities.length&&!n.length||(q=Object.assign({},k),q.videoCapabilities=l,q.audioCapabilities=n,e.push(q));if(!e.length)throw t=Error("Unsupported keySystem or supportedConfigurations."),
1226t.name="NotSupportedError",t.code=DOMException.NOT_SUPPORTED_ERR,t;return p(v,Bv.call(c,a,e),2)}u=v.h;return v.return(new Cv(u,d))})}function Oka(a,b){return a?a.filter(function(c){return!c.encryptionScheme||c.encryptionScheme==b}):a}fb("EmeEncryptionSchemePolyfill",Ika);Ika.install=Jka;function Pka(){}var Dv;
1227function Qka(){Dv?console.debug("McEncryptionSchemePolyfill: Already installed."):navigator.g?(Dv=navigator.g.kt,console.debug("McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.g.kt=Rka):console.debug("McEncryptionSchemePolyfill: MediaCapabilities not found")}
1228function Rka(a){var b=this,c,d;return r(function(e){if(1==e.g)return console.assert(b==navigator.g,'bad "this" for decodingInfo'),p(e,Dv.call(b,a),2);c=e.h;if(!a.zu||!c.kh)return e.return(c);d=c.kh;if(Lka(d))return console.debug("McEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.g.kt=Dv,e.return(c);console.debug("McEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support.");navigator.g.kt=Ska;return e.return(Ska.call(b,a))})}
1229function Ska(a){var b=this,c,d,e,f,g,k,l;return r(function(n){if(1==n.g)return console.assert(b==navigator.g,'bad "this" for decodingInfo'),c=null,a.zu&&(d=a.zu,e=d.keySystem,f=d.audio&&d.audio.eX,g=d.video&&d.video.eX,c=Nka(e),k={L3:!1,G8:!1,Wr:!1,kh:null,BV:a},f&&f!=c||g&&g!=c)?n.return(k):p(n,Dv.call(b,a),2);l=n.h;l.kh&&(l.kh=new Cv(l.kh,c));return n.return(l)})}fb("McEncryptionSchemePolyfill",Pka);Pka.install=Qka;function Cv(a,b){this.h=a;this.g=b;this.keySystem=a.keySystem}
1230Cv.prototype.getConfiguration=function(){var a=this.h.getConfiguration();if(a.videoCapabilities)for(var b=m(a.videoCapabilities),c=b.next();!c.done;c=b.next())c.value.encryptionScheme=this.g;if(a.audioCapabilities)for(b=m(a.audioCapabilities),c=b.next();!c.done;c=b.next())c.value.encryptionScheme=this.g;return a};Cv.prototype.createMediaKeys=function(){return this.h.createMediaKeys()};
1231function Nka(a){if(a.startsWith("com.widevine")||a.startsWith("com.microsoft")||a.startsWith("com.adobe")||a.startsWith("org.w3"))return"cenc";if(a.startsWith("com.apple"))return"cbcs-1-9";console.warn("EmeEncryptionSchemePolyfill: Unknown key system:",a,"Please contribute!");return null}function Lka(a){a=a.getConfiguration();var b=a.audioCapabilities&&a.audioCapabilities[0];return(a=a.videoCapabilities&&a.videoCapabilities[0]||b)&&void 0!==a.encryptionScheme?!0:!1}function Ev(){}
1232function Lha(){Jka();Qka()}fb("EncryptionSchemePolyfills",Ev);Ev.install=Lha;"undefined"!==typeof module&&module.qX&&(module.qX=Ev);function Fv(){return md("iPhone")&&!md("iPod")&&!md("iPad")}function Gv(){return Fv()||md("iPad")||md("iPod")};function Hv(a){Hv[" "](a);return a}Hv[" "]=Qa;function Tka(a,b){try{return Hv(a[b]),!0}catch(c){}return!1}function Uka(a,b){var c=Vka;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Iv=md("Opera"),Jv=od(),Kv=md("Edge"),Lv=Kv||Jv,Mv=md("Gecko")&&!(Kc("WebKit")&&!md("Edge"))&&!(md("Trident")||md("MSIE"))&&!md("Edge"),Nv=Kc("WebKit")&&!md("Edge");Nv&&md("Mobile");var Ov=md("Macintosh"),Pv=md("Windows");md("Linux")||md("CrOS");var Wka=La.navigator||null;Wka&&Jc(Wka.appVersion||"","X11");var Xka=md("Android"),Yka=Fv(),Zka=md("iPad"),$ka=md("iPod"),Qv=Gv();Kc("KaiOS");Kc("GAFP");function ala(){var a=La.document;return a?a.documentMode:void 0}var Rv;
1233a:{var Sv="",Tv=function(){var a=Mc;if(Mv)return/rv:([^\);]+)(\)|;)/.exec(a);if(Kv)return/Edge\/([\d\.]+)/.exec(a);if(Jv)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Nv)return/WebKit\/(\S+)/.exec(a);if(Iv)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Tv&&(Sv=Tv?Tv[1]:"");if(Jv){var Uv=ala();if(null!=Uv&&Uv>parseFloat(Sv)){Rv=String(Uv);break a}}Rv=Sv}var Vka={};function Vv(a){return Uka(a,function(){return 0<=Nc(Rv,a)})}function Wv(a){return Number(bla)>=a}var cla;cla=La.document&&Jv?ala():void 0;
1234var bla=cla;var dla=!Jv||Wv(9),ela=!Mv&&!Jv||Jv&&Wv(9)||Mv&&Vv("1.9.1"),fla=Jv&&!Vv("9"),gla=Jv||Iv||Nv,hla=Jv&&!Wv(9);function Xv(a,b){this.x=w(a)?a:0;this.y=w(b)?b:0}h=Xv.prototype;h.clone=function(){return new Xv(this.x,this.y)};function Yv(a,b){return new Xv(a.x-b.x,a.y-b.y)}h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
1235h.translate=function(a,b){a instanceof Xv?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),Oa(b)&&(this.y+=b));return this};h.scale=function(a,b){b=Oa(b)?b:a;this.x*=a;this.y*=b;return this};function Zv(a,b){this.width=a;this.height=b}function ila(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}h=Zv.prototype;h.clone=function(){return new Zv(this.width,this.height)};h.aspectRatio=function(){return this.width/this.height};h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
1236h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};h.scale=function(a,b){b=Oa(b)?b:a;this.width*=a;this.height*=b;return this};function $v(a){return a?new aw(bw(a)):hb||(hb=new aw)}function z(a){return cw(document,a)}function cw(a,b){return Ma(b)?a.getElementById(b):b}function A(a){return cw(document,a)}function dw(a,b){return(b||document).getElementsByTagName(String(a))}function ew(a,b,c){return fw(document,a,b,c)}function gw(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):fw(document,"*",a,b)}
1237function hw(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):fw(c,"*",a,b)[0]||null}return a||null}
1238function fw(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;return d}return a}
1238a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&Nb(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;return d}return a}
1239function iw(a,b){$b(b,function(c,d){c&&"object"==typeof c&&c.Rk&&(c=c.fh());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:jla.hasOwnProperty(d)?a.setAttribute(jla[d],c):vc(d,"aria-")||vc(d,"data-")?a.setAttribute(d,c):a[d]=c})}var jla={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
1240function jw(a){a=(a||window).document;a=kw(a)?a.documentElement:a.body;return new Zv(a.clientWidth,a.clientHeight)}function lw(a){var b=mw(a);a=a.parentWindow||a.defaultView;return Jv&&Vv("10")&&a.pageYOffset!=b.scrollTop?new Xv(b.scrollLeft,b.scrollTop):new Xv(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function mw(a){return a.scrollingElement?a.scrollingElement:!Nv&&kw(a)?a.documentElement:a.body||a.documentElement}function nw(a){return a?a.parentWindow||a.defaultView:window}
1241function B(a,b,c){return kla(document,arguments)}function kla(a,b){var c=String(b[0]),d=b[1];if(!dla&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Pd(d.name),'"');if(d.type){c.push(' type="',Pd(d.type),'"');var e={};kc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(Ma(d)?c.className=d:Ta(d)?c.className=d.join(" "):iw(c,d));2<b.length&&lla(a,c,b,2);return c}
1242function lla(a,b,c,d){function e(g){g&&b.appendChild(Ma(g)?a.createTextNode(g):g)}for(;d<c.length;d++){var f=c[d];!Ua(f)||Ya(f)&&0<f.nodeType?e(f):Fb(mla(f)?Sb(f):f,e)}}function ow(a,b){return a.createElement(String(b))}function pw(a){return document.createTextNode(String(a))}function qw(a,b,c,d){for(var e=ow(a,"TABLE"),f=e.appendChild(ow(a,"TBODY")),g=0;g<b;g++){for(var k=ow(a,"TR"),l=0;l<c;l++){var n=ow(a,"TD");d&&rw(n,"\u00a0");k.appendChild(n)}f.appendChild(k)}return e}
1243function sw(a,b){var c=ow(a,"DIV");Jv?(b=Ad(Paa,b),Ed(c,b),c.removeChild(c.firstChild)):Ed(c,b);if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(a=a.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}return c}function kw(a){return"CSS1Compat"==a.compatMode}
1244function Cw(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}function Dw(a,b){a.appendChild(b)}function Ew(a,b){lla(bw(a),a,arguments,1)}
1245function Fw(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Gw(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)}function Hw(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)}function Iw(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}function Jw(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function Kw(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}
1246function Lw(a){var b,c=a.parentNode;if(c&&11!=c.nodeType){if(a.removeNode)return a.removeNode(!1);for(;b=a.firstChild;)c.insertBefore(b,a);return Jw(a)}}function Mw(a){return ela&&void 0!=a.children?a.children:Gb(a.childNodes,function(b){return 1==b.nodeType})}function Nw(a){return w(a.firstElementChild)?a.firstElementChild:Ow(a.firstChild,!0)}function nla(a){return w(a.nextElementSibling)?a.nextElementSibling:Ow(a.nextSibling,!0)}
1247function Ow(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a}function Pw(a){return Ya(a)&&1==a.nodeType}function Qw(a){var b;if(gla&&!(Jv&&Vv("9")&&!Vv("10")&&La.SVGElement&&a instanceof La.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return Pw(b)?b:null}
1248function Rw(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}
1249function ola(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(Jv&&!Wv(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?pla(a,b):!c&&Rw(e,b)?-1*qla(a,b):!d&&Rw(f,a)?qla(b,a):(c?a.sourceIndex:e.s
1249ourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=bw(a);c=d.createRange();
1250c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(La.Range.START_TO_END,a)}function qla(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return pla(b,a)}function pla(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}
1251function Sw(a){var b,c=arguments.length;if(!c)return null;if(1==c)return arguments[0];var d=[],e=Infinity;for(b=0;b<c;b++){for(var f=[],g=arguments[b];g;)f.unshift(g),g=g.parentNode;d.push(f);e=Math.min(e,f.length)}f=null;for(b=0;b<e;b++){g=d[0][b];for(var k=1;k<c;k++)if(g!=d[k][b])return f;f=g}return f}function bw(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Tw(a){return a.contentDocument||a.contentWindow.document}
1252function rw(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else Fw(a),a.appendChild(bw(a).createTextNode(String(b)))}var rla={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},sla={IMG:" ",BR:"\n"};function Uw(a){return tla(a)&&ula(a)}function Vw(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))}
1253function tla(a){return Jv&&!Vv("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}function ula(a){a=a.tabIndex;return Oa(a)&&0<=a&&32768>a}function Ww(a){if(fla&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Xw(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");fla||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}
1254function Yw(a){var b=[];Xw(a,b,!1);return b.join("")}function Xw(a,b,c){if(!(a.nodeName in rla))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in sla)b.push(sla[a.nodeName]);else for(a=a.firstChild;a;)Xw(a,b,c),a=a.nextSibling}function mla(a){if(a&&"number"==typeof a.length){if(Ya(a))return"function"==typeof a.item||"string"==typeof a.item;if(Wa(a))return"function"==typeof a.item}return!1}
1255function Zw(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return $w(a,function(f){return(!e||f.nodeName==e)&&(!c||Ma(f.className)&&Nb(f.className.split(/\s+/),c))},!0,d)}function $w(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}function ax(a){try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function aw(a){this.g=a||La.document||document}h=aw.prototype;h.getDocument=function(){return this.g};
1256h.w=function(a){return cw(this.g,a)};h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};h.O=function(a,b,c){return kla(this.g,arguments)};function bx(a,b){return ow(a.g,b)}function cx(a,b){return a.g.createTextNode(String(b))}function dx(a){a=a.g;return a.parentWindow||a.defaultView}h.appendChild=Dw;h.append=Ew;h.By=Gw;h.yM=Hw;h.Ox=Jw;h.xX=Lw;h.xY=Mw;h.uL=Nw;h.H_=Pw;h.contains=Rw;h.eP=rw;h.mY=Ww;function ex(a){if(a.classList)return a.classList;a=a.className;return Ma(a)&&a.match(/\S+/g)||[]}function fx(a,b){return a.classList?a.classList.contains(b):Nb(ex(a),b)}function gx(a,b){a.classList?a.classList.add(b):fx(a,b)||(a.className+=0<a.className.length?" "+b:b)}function hx(a,b){if(a.classList)Fb(b,function(e){gx(a,e)});else{var c={};Fb(ex(a),function(e){c[e]=!0});Fb(b,function(e){c[e]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}}
1257function ix(a,b){a.classList?a.classList.remove(b):fx(a,b)&&(a.className=Gb(ex(a),function(c){return c!=b}).join(" "))}function vla(a,b){a.classList?Fb(b,function(c){ix(a,c)}):a.className=Gb(ex(a),function(c){return!Nb(b,c)}).join(" ")}function jx(a,b,c){c?gx(a,b):ix(a,b)}function wla(a,b,c){fx(a,b)&&(ix(a,b),gx(a,c))}function kx(a,b){var c=!fx(a,b);jx(a,b,c)};function lx(a){var b=999999999;if(mx(a))a.selectionStart=b;else if(Jv&&!Vv("9")){var c=nx(a),d=c[0];d.inRange(c[1])&&(b=ox(a,b),d.collapse(!0),d.move("character",b),d.select())}}
1258function px(a){var b=999999999;if(mx(a))a.selectionEnd=b;else if(Jv&&!Vv("9")){var c=nx(a),d=c[1];if(c[0].inRange(d)){b=ox(a,b);a:{var e=0,f=0;if(mx(a))e=a.selectionStart,f=-1;else if(Jv&&!Vv("9")){var g=nx(a);c=g[0];g=g[1];if(c.inRange(g)){c.setEndPoint("EndToStart",g);if("textarea"==a.type){g.duplicate();f=e=c.text;for(g=!1;!g;)0==c.compareEndPoints("StartToEnd",c)?g=!0:(c.moveEnd("character",-1),c.text==e?f+="\r\n":g=!0);c=[f.length,-1];break a}e=c.text.length;f=-1}}c=[e,f]}a=ox(a,c[0]);
1258d.collapse(!0);
1259d.moveEnd("character",b-a);d.select()}}}function nx(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();"textarea"==a.type?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]}function ox(a,b){"textarea"==a.type&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b}function mx(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var qx=[],rx=[],xla=!1;function sx(a){qx[qx.length]=a;if(xla)for(var b=0;b<rx.length;b++)a(bb(rx[b].g,rx[b]))};function yla(a){var b=La.onerror,c=!1;Nv&&!Vv("535.3")&&(c=!c);La.onerror=function(d,e,f,g,k){b&&b(d,e,f,g,k);a({message:d,fileName:e,line:f,lineNumber:f,Fga:g,error:k});return c}}
1260function zla(a){var b=Pa("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if(Ma(a))return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||La.$googDebugFname||b}catch(f){e="Not available",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:(b=a.message,null==b&&(a.constructor&&
1261a.constructor instanceof Function?(a.constructor.name?b=a.constructor.name:(b=a.constructor,tx[b]?b=tx[b]:(b=String(b),tx[b]||(c=/function\s+([^\(]+)/m.exec(b),tx[b]=c?c[1]:"[Anonymous]"),b=tx[b])),b='Unknown Error of type "'+b+'"'):b="Unknown Error of unknown type"),{message:b,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:a.stack||"Not available"})}var tx={};var Ala=!Jv||Wv(9),Bla=!Jv||Wv(9),Cla=Jv&&!Vv("9"),Dla=function(){if(!La.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{La.addEventListener("test",Qa,b),La.removeEventListener("test",Qa,b)}catch(c){}return a}();function ux(){0!=vx&&(Ela[Za(this)]=this);this.o=this.o;this.fc=this.fc}var vx=0,Ela={};ux.prototype.o=!1;ux.prototype.dispose=function(){if(!this.o&&(this.o=!0,this.qa(),0!=vx)){var a=Za(this);if(0!=vx&&this.fc&&0<this.fc.length)throw Error(this+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete Ela[a]}};
1262function wx(a,b){a.o?w(void 0)?b.call(void 0):b():(a.fc||(a.fc=[]),a.fc.push(w(void 0)?bb(b,void 0):b))}ux.prototype.qa=function(){if(this.fc)for(;this.fc.length;)this.fc.shift()()};function C(a){a&&"function"==typeof a.dispose&&a.dispose()};function xx(a,b){this.type=a;this.h=this.target=b;this.L=this.j=!1;this.BO=!0}xx.prototype.stopPropagation=function(){this.j=!0};xx.prototype.preventDefault=function(){this.L=!0;this.BO=!1};var yx={Bs:"mousedown",Cs:"mouseup",As:"mousecancel",nI:"mousemove",bda:"mouseover",ada:"mouseout",Zca:"mouseenter",$ca:"mouseleave"};function zx(a,b){xx.call(this,a?a.type:"");this.relatedTarget=this.h=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.m=this.l=0;this.key="";this.o=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.s=!1;this.pointerId=0;this.pointerType="";this.g=null;a&&this.init(a,b)}x(zx,xx);var Fla=[1,4,2],Gla={2:"touch",3:"pen",4:"mouse"};
1263zx.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.h=b;(b=a.relatedTarget)?Mv&&(Tka(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.l=Nv||void 0!==a.offsetX?a.offsetX:
1264a.layerX,this.m=Nv||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.o=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.s=Ov?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=Ma(a.pointerType)?
1265a.pointerType:Gla[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};function Ax(a){return(Ala?0==a.g.button:"click"==a.type?!0:!!(a.g.button&Fla[0]))&&!(Nv&&Ov&&a.ctrlKey)}zx.prototype.stopPropagation=function(){zx.D.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
1266zx.prototype.preventDefault=function(){zx.D.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Cla)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};zx.prototype.T=function(){return this.g};var Hla="closure_listenable_"+(1E6*Math.random()|0);function Bx(a){return!(!a||!a[Hla])}var Ila=0;function Jla(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ly=e;this.key=++Ila;this.wr=this.Lw=!1}function Cx(a){a.wr=!0;a.listener=null;a.proxy=null;a.src=null;a.ly=null};function Dx(a){this.src=a;this.yd={};this.g=0}h=Dx.prototype;h.add=function(a,b,c,d,e){var f=a.toString();a=this.yd[f];a||(a=this.yd[f]=[],this.g++);var g=Ex(a,b,d,e);-1<g?(b=a[g],c||(b.Lw=!1)):(b=new Jla(b,this.src,f,!!d,e),b.Lw=c,a.push(b));return b};h.remove=function(a,b,c,d){a=a.toString();if(!(a in this.yd))return!1;var e=this.yd[a];b=Ex(e,b,c,d);return-1<b?(Cx(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.yd[a],this.g--),!0):!1};
1267function Fx(a,b){var c=b.type;c in a.yd&&Qb(a.yd[c],b)&&(Cx(b),0==a.yd[c].length&&(delete a.yd[c],a.g--))}h.tf=function(a){a=a&&a.toString();var b=0,c;for(c in this.yd)if(!a||c==a){for(var d=this.yd[c],e=0;e<d.length;e++)++b,Cx(d[e]);delete this.yd[c];this.g--}return b};h.Rt=function(a,b,c,d){a=this.yd[a.toString()];var e=-1;a&&(e=Ex(a,b,c,d));return-1<e?a[e]:null};
1268h.Fq=function(a,b){var c=w(a),d=c?a.toString():"",e=w(b);return waa(this.yd,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};function Ex(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.wr&&f.listener==b&&f.capture==!!c&&f.ly==d)return e}return-1};var Gx="closure_lm_"+(1E6*Math.random()|0),Hx={},Kla=0;function D(a,b,c,d,e){if(d&&d.once)return Ix(a,b,c,d,e);if(Ta(b)){for(var f=0;f<b.length;f++)D(a,b[f],c,d,e);return null}c=Jx(c);return Bx(a)?a.J(b,c,Ya(d)?!!d.capture:!!d,e):Lla(a,b,c,!1,d,e)}
1269function Lla(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=Ya(e)?!!e.capture:!!e,k=Kx(a);k||(a[Gx]=k=new Dx(a));c=k.add(b,c,d,g,f);if(c.proxy)return c;d=Mla();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Dla||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Nla(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Kla++;return c}
1270function Mla(){var a=Lx,b=Bla?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Ix(a,b,c,d,e){if(Ta(b)){for(var f=0;f<b.length;f++)Ix(a,b[f],c,d,e);return null}c=Jx(c);return Bx(a)?a.$e(b,c,Ya(d)?!!d.capture:!!d,e):Lla(a,b,c,!0,d,e)}function Mx(a,b,c,d,e){if(Ta(b))for(var f=0;f<b.length;f++)Mx(a,b[f],c,d,e);else d=Ya(d)?!!d.capture:!!d,c=Jx(c),Bx(a)?a.kc(b,c,d,e):a&&(a=Kx(a))&&(b=a.Rt(b,c,d,e))&&Nx(b)}
1271function Nx(a){if(!Oa(a)&&a&&!a.wr){var b=a.src;if(Bx(b))Fx(b.tj,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Nla(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Kla--;(c=Kx(b))?(Fx(c,a),0==c.g&&(c.src=null,b[Gx]=null)):Cx(a)}}}function Nla(a){return a in Hx?Hx[a]:Hx[a]="on"+a}
1272function Ola(a,b,c,d){var e=!0;if(a=Kx(a))if(b=a.yd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.wr&&(f=Pla(f,d),e=e&&!1!==f)}return e}function Pla(a,b){var c=a.listener,d=a.ly||a.src;a.Lw&&Nx(a);return c.call(d,b)}
1273function Lx(a,b){if(a.wr)return!0;
1273if(!Bla){var c=b||Pa("window.event");b=new zx(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.h;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.j&&0<=e;e--){b.h=c[e];var f=Ola(c[e],a,!0,b);d=d&&f}for(e=0;!b.j&&e<c.length;e++)b.h=c[e],f=Ola(c[e],a,!1,b),d=d&&f}return d}return Pla(a,new zx(b,this))}
1274function Kx(a){a=a[Gx];return a instanceof Dx?a:null}var Ox="__closure_events_fn_"+(1E9*Math.random()>>>0);function Jx(a){if(Wa(a))return a;a[Ox]||(a[Ox]=function(b){return a.handleEvent(b)});return a[Ox]}sx(function(a){Lx=a(Lx)});function Px(a){ux.call(this);this.g=a;this.h={}}x(Px,ux);var Qla=[];h=Px.prototype;h.J=function(a,b,c,d){return Qx(this,a,b,c,d)};function Qx(a,b,c,d,e,f){Ta(c)||(c&&(Qla[0]=c.toString()),c=Qla);for(var g=0;g<c.length;g++){var k=D(b,c[g],d||a.handleEvent,e||!1,f||a.g||a);if(!k)break;a.h[k.key]=k}return a}h.$e=function(a,b,c,d){return Rla(this,a,b,c,d)};
1275function Rla(a,b,c,d,e,f){if(Ta(c))for(var g=0;g<c.length;g++)Rla(a,b,c[g],d,e,f);else{b=Ix(b,c,d||a.handleEvent,e,f||a.g||a);if(!b)return a;a.h[b.key]=b}return a}h.kc=function(a,b,c,d,e){if(Ta(b))for(var f=0;f<b.length;f++)this.kc(a,b[f],c,d,e);else c=c||this.handleEvent,d=Ya(d)?!!d.capture:!!d,e=e||this.g||this,c=Jx(c),d=!!d,b=Bx(a)?a.Rt(b,c,d,e):a?(a=Kx(a))?a.Rt(b,c,d,e):null:null,b&&(Nx(b),delete this.h[b.key]);return this};
1276h.tf=function(){$b(this.h,function(a,b){this.h.hasOwnProperty(b)&&Nx(a)},this);this.h={}};h.qa=function(){Px.D.qa.call(this);this.tf()};h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Rx(){ux.call(this);this.tj=new Dx(this);this.dU=this;this.lF=null}x(Rx,ux);Rx.prototype[Hla]=!0;h=Rx.prototype;h.vq=function(){return this.lF};h.rv=function(a){this.lF=a};h.addEventListener=function(a,b,c,d){D(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){Mx(this,a,b,c,d)};
1277h.dispatchEvent=function(a){var b,c=this.vq();if(c)for(b=[];c;c=c.vq())b.push(c);c=this.dU;var d=a.type||a;if(Ma(a))a=new xx(a,c);else if(a instanceof xx)a.target=a.target||c;else{var e=a;a=new xx(d,c);kc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.j&&0<=f;f--){var g=a.h=b[f];e=Sx(g,d,!0,a)&&e}a.j||(g=a.h=c,e=Sx(g,d,!0,a)&&e,a.j||(e=Sx(g,d,!1,a)&&e));if(b)for(f=0;!a.j&&f<b.length;f++)g=a.h=b[f],e=Sx(g,d,!1,a)&&e;return e};h.qa=function(){Rx.D.qa.call(this);this.Cm();this.lF=null};
1278h.J=function(a,b,c,d){return this.tj.add(String(a),b,!1,c,d)};h.$e=function(a,b,c,d){return this.tj.add(String(a),b,!0,c,d)};h.kc=function(a,b,c,d){return this.tj.remove(String(a),b,c,d)};h.Cm=function(a){this.tj&&this.tj.tf(a)};function Sx(a,b,c,d){b=a.tj.yd[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.wr&&g.capture==c){var k=g.listener,l=g.ly||g.src;g.Lw&&Fx(a.tj,g);e=!1!==k.call(l,d)&&e}}return e&&0!=d.BO}
1279h.Rt=function(a,b,c,d){return this.tj.Rt(String(a),b,c,d)};h.Fq=function(a,b){return this.tj.Fq(w(a)?String(a):void 0,b)};function Tx(a){Rx.call(this);this.j={};this.h={};this.g=new Px(this);this.l=a}x(Tx,Rx);var Sla=[Jv&&!Vv("11")?"readystatechange":"load","abort","error"];function Ux(a,b,c){(c=Ma(c)?c:c.src)&&(a.j[b]={src:c,VJ:w(void 0)?void 0:null})}Tx.prototype.start=function(){var a=this.j;Fb(ac(a),function(b){var c=a[b];if(c&&(delete a[b],!this.o)){var d;this.l?d=$v(this.l).O("IMG"):d=new Image;c.VJ&&(d.crossOrigin=c.VJ);this.g.J(d,Sla,this.s);this.h[b]=d;d.id=b;d.src=c.src}},this)};
1280Tx.prototype.s=function(a){var b=a.h;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});!this.o&&(a=b.id,delete this.j[a],b=this.h[a])&&(delete this.h[a],this.g.kc(b,Sla,this.s),dc(this.h)&&dc(this.j)&&this.dispatchEvent("complete"))}};
1281Tx.prototype.qa=function(){delete this.j;delete this.h;C(this.g);Tx.D.qa.call(this)};var Vx={},Tla={},Ula={},Vla={};function Wx(){throw Error("Do not instantiate directly");}Wx.prototype.rC=null;Wx.prototype.Fd=function(){return this.content};Wx.prototype.toString=function(){return this.content};
1281function Wla(a){if(a.Yp!==Vx)throw Error("Sanitized content was not of kind HTML.");return Dd(a.toString(),a.rC)}function Xx(){Wx.call(this)}x(Xx,Wx);Xx.prototype.Yp=Vx;function Yx(a,b,c){b=Zx(b(c||$x,void 0,void 0));Ed(a,b)}function ay(a,b){var c=$v();a=a(b||$x,void 0,void 0);a=Zx(a);return sw(c.g,a)}function by(a,b){b=a(b||$x,void 0,void 0);a=bx($v(),"DIV");b=Zx(b);Ed(a,b);1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a}function Zx(a){return Ya(a)?a instanceof Wx?Wla(a):wd("zSoyz"):wd(String(a))}var $x={};/*
1282
1283 Copyright The Closure Library Authors.
1284 SPDX-License-Identifier: Apache-2.0
1285*/
1286function cy(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw Error(e,f||[]);}function dy(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];a||cy("",null,b,d);return a}function Xla(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];"string"!==typeof a&&cy("Expected string but got %s: %s.",[Sa(a),a],b,d)}function ey(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];throw Error("Failure"+(a?": "+a:""),c);}
1287function fy(a,b,c,d){for(var e=[],f=3;f<arguments.length;++f)e[f-3]=arguments[f];a instanceof b||cy("Expected instanceof %s but got %s.",[Yla(b),Yla(a)],c,e)}function Yla(a){return a instanceof Function?a.displayName||a.name||"unknown type name":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?"null":typeof a};fb("jspb.ConstBinaryMessage",function(){});fb("jspb.BinaryMessage",function(){});fb("jspb.BinaryConstants.FieldType",{JT:-1,sba:1,FLOAT:2,xca:3,Bea:4,wca:5,IT:6,HT:7,BOOL:8,iea:9,Yba:10,Qca:11,Qaa:12,Aea:13,Eba:14,Vda:15,Wda:16,Yda:17,Zda:18,Nba:30,Xea:31});fb("jspb.BinaryConstants.WireType",{JT:-1,Wea:0,IT:1,pba:2,eea:3,xba:4,HT:5});
1288fb("jspb.BinaryConstants.FieldTypeToWireType",function(a){switch(a){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}});fb("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1);fb("jspb.BinaryConstants.FLOAT32_EPS",1.401298464324817E-45);fb("jspb.BinaryConstants.FLOAT32_MIN",1.1754943508222875E-38);fb("jspb.BinaryConstants.FLOAT32_MAX",3.4028234663852886E38);
1289fb("jspb.BinaryConstants.FLOAT64_EPS",4.9E-324);fb("jspb.BinaryConstants.FLOAT64_MIN",2.2250738585072014E-308);fb("jspb.BinaryConstants.FLOAT64_MAX",1.7976931348623157E308);fb("jspb.BinaryConstants.TWO_TO_20",1048576);fb("jspb.BinaryConstants.TWO_TO_23",8388608);fb("jspb.BinaryConstants.TWO_TO_31",2147483648);fb("jspb.BinaryConstants.TWO_TO_32",4294967296);fb("jspb.BinaryConstants.TWO_TO_52",4503599627370496);fb("jspb.BinaryConstants.TWO_TO_63",0x7fffffffffffffff);
1290fb("jspb.BinaryConstants.TWO_TO_64",1.8446744073709552E19);fb("jspb.BinaryConstants.ZERO_HASH","\x00\x00\x00\x00\x00\x00\x00\x00");function Zla(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Vb(a,c,c+8192));return b};var $la=pd(),gy=Fv()||md("iPod"),hy=md("iPad"),ama=sd(),iy=rd(),jy=qd()&&!Gv();var bma={},ky=null;function ly(a,b){!1===b||void 0===b?b=0:!0===b&&(b=3);cma();b=bma[b];for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,n=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[n],b[e],b[g]||"",b[l]||"")}return c.join("")}function dma(a){var b=[];ema(a,function(c){b.push(c)});return b}
1291function my(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):Jc("=.",a[b-1])&&(c=Jc("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;ema(a,function(f){d[e++]=f});return d.subarray(0,e)}function ema(a,b){function c(l){for(;d<a.length;){var n=a.charAt(d++),q=ky[n];if(null!=q)return q;if(!xc(n))throw Error("Unknown base64 encoding at char: "+n);}return l}cma();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}}
1292function cma(){if(!ky){ky={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));bma[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===ky[f]&&(ky[f]=e)}}}};var ny=0,oy=0;fb("jspb.utils.getSplit64Low",function(){return ny});fb("jspb.utils.getSplit64High",function(){return oy});function py(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;ny=b;oy=a}fb("jspb.utils.splitUint64",py);function qy(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);a>>>=0;b&&(a=~a>>>0,c=(~c>>>0)+1,4294967295<c&&(c=0,a++,4294967295<a&&(a=0)));ny=c;oy=a}fb("jspb.utils.splitInt64",qy);
1293function fma(a){var b=0>a;a=2*Math.abs(a);py(a);a=ny;var c=oy;b&&(0==a?0==c?c=a=4294967295:(c--,a=4294967295):a--);ny=a;oy=c}fb("jspb.utils.splitZigzag64",fma);
1294function gma(a){var b=0>a?1:0;a=b?-a:a;if(0===a)0<1/a?ny=oy=0:(oy=0,ny=2147483648);else if(isNaN(a))oy=0,ny=2147483647;else if(3.4028234663852886E38<a)oy=0,ny=(b<<31|2139095040)>>>0;else if(1.1754943508222875E-38>a)a=Math.round(a/Math.pow(2,-149)),oy=0,ny=(b<<31|a)>>>0;else{var c=Math.floor(Math.log(a)/Math.LN2);a*=Math.pow(2,-c);a=Math.round(8388608*a);16777216<=a&&++c;oy=0;ny=(b<<31|c+127<<23|a&8388607)>>>0}}fb("jspb.utils.splitFloat32",gma);
1295function hma(a){var b=0>a?1:0;a=b?-a:a;
1295if(0===a)oy=0<1/a?0:2147483648,ny=0;else if(isNaN(a))oy=2147483647,ny=4294967295;else if(1.7976931348623157E308<a)oy=(b<<31|2146435072)>>>0,ny=0;else if(2.2250738585072014E-308>a)a/=Math.pow(2,-1074),oy=(b<<31|a/4294967296)>>>0,ny=a>>>0;else{var c=a,d=0;if(2<=c)for(;2<=c&&1023>d;)d++,c/=2;else for(;1>c&&-1022<d;)c*=2,d--;a*=Math.pow(2,-d);oy=(b<<31|d+1023<<20|1048576*a&1048575)>>>0;ny=4503599627370496*a>>>0}}fb("jspb.utils.splitFloat64",hma);
1296function ry(a){var b=a.charCodeAt(4),c=a.charCodeAt(5),d=a.charCodeAt(6),e=a.charCodeAt(7);ny=a.charCodeAt(0)+(a.charCodeAt(1)<<8)+(a.charCodeAt(2)<<16)+(a.charCodeAt(3)<<24)>>>0;oy=b+(c<<8)+(d<<16)+(e<<24)>>>0}fb("jspb.utils.splitHash64",ry);function sy(a,b){return 4294967296*b+(a>>>0)}fb("jspb.utils.joinUint64",sy);function ty(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=sy(a,b);return c?-a:a}fb("jspb.utils.joinInt64",ty);
1297function uy(a,b,c){var d=b>>31;return c(a<<1^d,(b<<1|a>>>31)^d)}fb("jspb.utils.toZigzag64",uy);function ima(a,b){return vy(a,b,ty)}fb("jspb.utils.joinZigzag64",ima);function vy(a,b,c){var d=-(a&1);return c((a>>>1|b<<31)^d,b>>>1^d)}fb("jspb.utils.fromZigzag64",vy);function jma(a){var b=2*(a>>31)+1,c=a>>>23&255;a&=8388607;return 255==c?a?NaN:Infinity*b:0==c?b*Math.pow(2,-149)*a:b*Math.pow(2,c-150)*(a+Math.pow(2,23))}fb("jspb.utils.joinFloat32",jma);
1298function kma(a,b){var c=2*(b>>31)+1,d=b>>>20&2047;a=4294967296*(b&1048575)+a;return 2047==d?a?NaN:Infinity*c:0==d?c*Math.pow(2,-1074)*a:c*Math.pow(2,d-1075)*(a+4503599627370496)}fb("jspb.utils.joinFloat64",kma);function wy(a,b){return String.fromCharCode(a>>>0&255,a>>>8&255,a>>>16&255,a>>>24&255,b>>>0&255,b>>>8&255,b>>>16&255,b>>>24&255)}fb("jspb.utils.joinHash64",wy);fb("jspb.utils.DIGITS","0123456789abcdef".split(""));
1299function xy(a,b){function c(e,f){e=e?String(e):"";return f?"0000000".slice(e.length)+e:e}if(2097151>=b)return""+sy(a,b);var d=(a>>>24|b<<8)>>>0&16777215;b=b>>16&65535;a=(a&16777215)+6777216*d+6710656*b;d+=8147497*b;b*=2;1E7<=a&&(d+=Math.floor(a/1E7),a%=1E7);1E7<=d&&(b+=Math.floor(d/1E7),d%=1E7);return c(b,0)+c(d,b)+c(a,1)}fb("jspb.utils.joinUnsignedDecimalString",xy);function yy(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b+(0==a?1:0)>>>0);a=xy(a,b);return c?"-"+a:a}
1300fb("jspb.utils.joinSignedDecimalString",yy);function lma(a,b){ry(a);a=ny;var c=oy;return b?yy(a,c):xy(a,c)}fb("jspb.utils.hash64ToDecimalString",lma);fb("jspb.utils.hash64ArrayToDecimalStrings",function(a,b){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=lma(a[d],b);return c});
1301function zy(a){function b(g,k){for(var l=0;8>l&&(1!==g||0<k);l++)k=g*e[l]+k,e[l]=k&255,k>>>=8}function c(){for(var g=0;8>g;g++)e[g]=~e[g]&255}dy(0<a.length);var d=!1;"-"===a[0]&&(d=!0,a=a.slice(1));for(var e=[0,0,0,0,0,0,0,0],f=0;f<a.length;f++)b(10,a.charCodeAt(f)-48);d&&(c(),b(1,1));return Zla(e)}fb("jspb.utils.decimalStringToHash64",zy);fb("jspb.utils.splitDecimalString",function(a){ry(zy(a))});function mma(a){return String.fromCharCode(10>a?48+a:87+a)}
1302function nma(a){return 97<=a?a-97+10:a-48}fb("jspb.utils.hash64ToHexString",function(a){var b=Array(18);b[0]="0";b[1]="x";for(var c=0;8>c;c++){var d=a.charCodeAt(7-c);b[2*c+2]=mma(d>>4);b[2*c+3]=mma(d&15)}return b.join("")});fb("jspb.utils.hexStringToHash64",function(a){a=a.toLowerCase();dy(18==a.length);dy("0"==a[0]);dy("x"==a[1]);for(var b="",c=0;8>c;c++)b=String.fromCharCode(16*nma(a.charCodeAt(2*c+2))+nma(a.charCodeAt(2*c+3)))+b;return b});
1303fb("jspb.utils.hash64ToNumber",function(a,b){ry(a);a=ny;var c=oy;return b?ty(a,c):sy(a,c)});fb("jspb.utils.numberToHash64",function(a){qy(a);return wy(ny,oy)});fb("jspb.utils.countVarints",function(a,b,c){for(var d=0,e=b;e<c;e++)d+=a[e]>>7;return c-b-d});
1304fb("jspb.utils.countVarintFields",function(a,b,c,d){var e=0;d*=8;if(128>d)for(;b<c&&a[b++]==d;)for(e++;;){var f=a[b++];if(0==(f&128))break}else for(;b<c;){for(f=d;128<f;){if(a[b]!=(f&127|128))return e;b++;f>>=7}if(a[b++]!=f)break;for(e++;f=a[b++],0!=(f&128););}return e});function oma(a,b,c,d,e){var f=0;if(128>d)for(;b<c&&a[b++]==d;)f++,b+=e;else for(;b<c;){for(var g=d;128<g;){if(a[b++]!=(g&127|128))return f;g>>=7}if(a[b++]!=g)break;f++;b+=e}return f}
1305fb("jspb.utils.countFixed32Fields",function(a,b,c,d){return oma(a,b,c,8*d+5,4)});fb("jspb.utils.countFixed64Fields",function(a,b,c,d){return oma(a,b,c,8*d+1,8)});fb("jspb.utils.countDelimitedFields",function(a,b,c,d){var e=0;for(d=8*d+2;b<c;){for(var f=d;128<f;){if(a[b++]!=(f&127|128))return e;f>>=7}if(a[b++]!=f)break;e++;for(var g=0,k=1;f=a[b++],g+=(f&127)*k,k*=128,0!=(f&128););b+=g}return e});
1306fb("jspb.utils.debugBytesToTextFormat",function(a){var b='"';if(a){a=Ay(a);for(var c=0;c<a.length;c++)b+="\\x",16>a[c]&&(b+="0"),b+=a[c].toString(16)}return b+'"'});
1307fb("jspb.utils.debugScalarToTextFormat",function(a){if("string"===typeof a){a=String(a);for(var b=['"'],c=0;c<a.length;c++){var d=a.charAt(c),e=d.charCodeAt(0),f=c+1,g;if(!(g=Rd[d])){if(!(31<e&&127>e))if(e=d,e in Sd)d=Sd[e];else if(e in Rd)d=Sd[e]=Rd[e];else{g=e.charCodeAt(0);if(31<g&&127>g)d=e;else{if(256>g){if(d="\\x",16>g||256<g)d+="0"}else d="\\u",4096>g&&(d+="0");d+=g.toString(16).toUpperCase()}d=Sd[e]=d}g=d}b[f]=g}b.push('"');a=b.join("")}else a=a.toString();return a});
1308fb("jspb.utils.stringToByteArray",function(a){for(var b=new Uint8Array(a.length),c=0;c<a.length;c++){var d=a.charCodeAt(c);if(255<d)throw Error("Conversion error: string contains codepoint outside of byte range");b[c]=d}return b});
1309function Ay(a){if(a.constructor===Uint8Array)return a;if(a.constructor===ArrayBuffer)return new Uint8Array(a);if(a.constructor===Array)return new Uint8Array(a);if(a.constructor===String)return my(a);if(a instanceof Uint8Array)return new Uint8Array(a.buffer,a.byteOffset,a.byteLength);ey("Type not convertible to Uint8Array.");return new Uint8Array(0)}fb("jspb.utils.byteSourceToUint8Array",Ay);function By(a,b,c){this.h=null;this.g=this.j=this.o=0;this.l=!1;a&&this.So(a,b,c)}fb("jspb.BinaryDecoder",By);var Cy=[];By.getInstanceCacheLength=function(){return Cy.length};function Dy(a,b,c){if(Cy.length){var d=Cy.pop();a&&d.So(a,b,c);return d}return new By(a,b,c)}By.alloc=Dy;By.prototype.aD=function(){this.clear();100>Cy.length&&Cy.push(this)};By.prototype.free=By.prototype.aD;By.prototype.clone=function(){return Dy(this.h,this.o,this.j-this.o)};By.prototype.clone=By.prototype.clone;
1310By.prototype.clear=function(){this.h=null;this.g=this.j=this.o=0;this.l=!1};By.prototype.clear=By.prototype.clear;By.prototype.Jt=function(){return this.h};By.prototype.getBuffer=By.prototype.Jt;By.prototype.So=function(a,b,c){this.h=Ay(a);this.o=void 0!==b?b:0;this.j=void 0!==c?this.o+c:this.h.length;this.g=this.o};By.prototype.setBlock=By.prototype.So;By.prototype.hD=function(){return this.j};By.prototype.getEnd=By.prototype.hD;By.prototype.setEnd=function(a){this.j=a};By.prototype.setEnd=By.prototype.setEnd;
1311By.prototype.reset=function(){this.g=this.o};By.prototype.reset=By.prototype.reset;By.prototype.zj=function(){return this.g};By.prototype.getCursor=By.prototype.zj;By.prototype.cG=function(a){this.g=a};By.prototype.setCursor=By.prototype.cG;By.prototype.advance=function(a){this.g+=a;dy(this.g<=this.j)};By.prototype.advance=By.prototype.advance;By.prototype.Mp=function(){return this.g==this.j};By.prototype.atEnd=By.prototype.Mp;By.prototype.v3=function(){return this.g>this.j};
1312By.prototype.pastEnd=By.prototype.v3;By.prototype.getError=function(){return this.l||0>this.g||this.g>this.j};By.prototype.getError=By.prototype.getError;By.prototype.Yh=function(a){for(var b=128,c=0,d=0,e=0;4>e&&128<=b;e++)b=this.h[this.g++],c|=(b&127)<<7*e;128<=b&&(b=this.h[this.g++],c|=(b&127)<<28,d|=(b&127)>>4);if(128<=b)for(e=0;5>e&&128<=b;e++)b=this.h[this.g++],d|=(b&127)<<7*e+3;if(128>b)return a(c>>>0,d>>>0);ey("Failed to read varint, encoding is invalid.");this.l=!0};
1313By.prototype.readSplitVarint64=By.prototype.Yh;By.prototype.Xu=function(a){return this.Yh(function(b,c){return vy(b,c,a)})};By.prototype.readSplitZigzagVarint64=By.prototype.Xu;By.prototype.Bz=function(a){var b=this.h,c=this.g;this.g+=8;for(var d=0,e=0,f=c+7;f>=c;f--)d=d<<8|b[f],e=e<<8|b[f+4];return a(d,e)};By.prototype.readSplitFixed64=By.prototype.Bz;By.prototype.VR=function(){for(;this.h[this.g]&128;)this.g++;this.g++};By.prototype.skipVarint=By.prototype.VR;
1314By.prototype.OS=function(a){for(;128<a;)this.g--,a>>>=7;this.g--};By.prototype.unskipVarint=By.prototype.OS;
1315By.prototype.qg=function(){var a=this.h;var b=a[this.g];var c=b&127;if(128>b)return this.g+=1,dy(this.g<=this.j),c;b=a[this.g+1];c|=(b&127)<<7;if(128>b)return this.g+=2,dy(this.g<=this.j),c;b=a[this.g+2];c|=(b&127)<<14;if(128>b)return this.g+=3,dy(this.g<=this.j),c;b=a[this.g+3];c|=(b&127)<<21;if(128>b)return this.g+=4,dy(this.g<=this.j),c;b=a[this.g+4];c|=(b&15)<<28;if(128>b)return this.g+=5,dy(this.g<=this.j),c>>>0;this.g+=5;128<=a[this.g++]&&128<=a[this.g++]&&128<=a[this.g++]&&128<=a[this.g++]&&
1316128<=a[this.g++]&&dy(!1);dy(this.g<=this.j);return c};By.prototype.readUnsignedVarint32=By.prototype.qg;By.prototype.Wu=function(){return~~this.qg()};By.prototype.readSignedVarint32=By.prototype.Wu;By.prototype.s=function(){return this.qg().toString()};By.prototype.xF=function(){return this.Wu().toString()};By.prototype.readSignedVarint32String=By.prototype.xF;By.prototype.BF=function(){var a=this.qg();return a>>>1^-(a&1)};By.prototype.readZigzagVarint32=By.prototype.BF;By.prototype.zF=function(){return this.Yh(sy)};
1317By.prototype.readUnsignedVarint64=By.prototype.zF;By.prototype.AF=function(){return this.Yh(xy)};By.prototype.readUnsignedVarint64String=By.prototype.AF;By.prototype.Az=function(){return this.Yh(ty)};By.prototype.readSignedVarint64=By.prototype.Az;By.prototype.yF=function(){return this.Yh(yy)};By.prototype.readSignedVarint64String=By.prototype.yF;By.prototype.CF=function(){return this.Yh(ima)};By.prototype.readZigzagVarint64=By.prototype.CF;By.prototype.oO=function(){return this.Xu(wy)};
1318By.prototype.readZigzagVarintHash64=By.prototype.oO;By.prototype.DF=function(){return this.Xu(yy)};By.prototype.readZigzagVarint64String=By.prototype.DF;By.prototype.Ri=function(){var a=this.h[this.g];this.g+=1;dy(this.g<=this.j);return a};By.prototype.readUint8=By.prototype.Ri;By.prototype.Zu=function(){var a=this.h[this.g],b=this.h[this.g+1];this.g+=2;dy(this.g<=this.j);return a<<0|b<<8};By.prototype.readUint16=By.prototype.Zu;
1319By.prototype.eb=function(){var a=this.h[this.g],b=this.h[this.g+1],c=this.h[this.g+2],d=this.h[this.g+3];this.g+=4;dy(this.g<=this.j);return(a<<0|b<<8|c<<16|d<<24)>>>0};By.prototype.readUint32=By.prototype.eb;By.prototype.Id=function(){var a=this.eb(),b=this.eb();return sy(a,b)};By.prototype.readUint64=By.prototype.Id;By.prototype.$u=function(){var a=this.eb(),b=this.eb();return xy(a,b)};By.prototype.readUint64String=By.prototype.$u;
1320By.prototype.l4=function(){var a=this.h[this.g];this.g+=1;dy(this.g<=this.j);return a<<24>>24};By.prototype.readInt8=By.prototype.l4;By.prototype.i4=function(){var a=this.h[this.g],b=this.h[this.g+1];this.g+=2;dy(this.g<=this.j);return(a<<0|b<<8)<<16>>16};By.prototype.readInt16=By.prototype.i4;By.prototype.fb=function(){var a=this.h[this.g],b=this.h[this.g+1],c=this.h[this.g+2],d=this.h[this.g+3];this.g+=4;dy(this.g<=this.j);return a<<0|b<<8|c<<16|d<<24};By.prototype.readInt32=By.prototype.fb;
1321By.prototype.zd=function(){var a=this.eb(),b=this.eb();return ty(a,b)};By.prototype.readInt64=By.prototype.zd;By.prototype.Vu=function(){var a=this.eb(),b=this.eb();return yy(a,b)};By.prototype.readInt64String=By.prototype.Vu;By.prototype.Uu=function(){var a=this.eb();return jma(a,0)};By.prototype.readFloat=By.prototype.Uu;By.prototype.Su=function(){var a=this.eb(),b=this.eb();return kma(a,b)};By.prototype.readDouble=By.prototype.Su;By.prototype.Ba=function(){return!!this.h[this.g++]};
1322By.prototype.readBool=By.prototype.Ba;By.prototype.oa=function(){return this.Wu()};By.prototype.readEnum=By.prototype.oa;
1323By.prototype.G=function(a){var b=this.h,c=this.g;a=c+a;for(var d=[],e="";c<a;){var f=b[c++];if(128>f)d.push(f);else if(192>f)continue;else if(224>f){var g=b[c++];d.push((f&31)<<6|g&63)}else if(240>f){g=b[c++];var k=b[c++];d.push((f&15)<<12|(g&63)<<6|k&63)}else if(248>f){g=b[c++];k=b[c++];var l=b[c++];f=(f&7)<<18|(g&63)<<12|(k&63)<<6|l&63;f-=65536;d.push((f>>10&1023)+55296,(f&1023)+56320)}8192<=d.length&&(e+=String.fromCharCode.apply(null,d),d.length=0)}e+=Zla(d);this.g=c;return e};
1324By.prototype.readString=By.prototype.G;By.prototype.R4=function(){var a=this.qg();return this.G(a)};By.prototype.readStringWithLength=By.prototype.R4;
1324By.prototype.Hd=function(a){if(0>a||this.g+a>this.h.length)return this.l=!0,ey("Invalid byte length!"),new Uint8Array(0);var b=this.h.subarray(this.g,this.g+a);this.g+=a;dy(this.g<=this.j);return b};By.prototype.readBytes=By.prototype.Hd;By.prototype.av=function(){return this.Yh(wy)};By.prototype.readVarintHash64=By.prototype.av;
1325By.prototype.Tu=function(){var a=this.h,b=this.g,c=a[b],d=a[b+1],e=a[b+2],f=a[b+3],g=a[b+4],k=a[b+5],l=a[b+6];a=a[b+7];this.g+=8;return String.fromCharCode(c,d,e,f,g,k,l,a)};By.prototype.readFixedHash64=By.prototype.Tu;function E(a,b,c){this.h=Dy(a,b,c);this.s=this.h.zj();this.j=this.g=-1;this.o=!1;this.l=null}fb("jspb.BinaryReader",E);var Ey=[];E.clearInstanceCache=function(){Ey=[]};E.getInstanceCacheLength=function(){return Ey.length};function pma(a,b,c){if(Ey.length){var d=Ey.pop();a&&d.h.So(a,b,c);return d}return new E(a,b,c)}E.alloc=pma;E.prototype.mU=pma;E.prototype.alloc=E.prototype.mU;E.prototype.aD=function(){this.h.clear();this.j=this.g=-1;this.o=!1;this.l=null;100>Ey.length&&Ey.push(this)};
1326E.prototype.free=E.prototype.aD;E.prototype.UX=function(){return this.s};E.prototype.getFieldCursor=E.prototype.UX;E.prototype.zj=function(){return this.h.zj()};E.prototype.getCursor=E.prototype.zj;E.prototype.Jt=function(){return this.h.Jt()};E.prototype.getBuffer=E.prototype.Jt;E.prototype.WX=function(){return this.g};E.prototype.getFieldNumber=E.prototype.WX;E.prototype.uY=function(){return this.j};E.prototype.getWireType=E.prototype.uY;E.prototype.Rh=function(){return 2==this.j};
1327E.prototype.isDelimited=E.prototype.Rh;E.prototype.Ca=function(){return 4==this.j};E.prototype.isEndGroup=E.prototype.Ca;E.prototype.getError=function(){return this.o||this.h.getError()};E.prototype.getError=E.prototype.getError;E.prototype.So=function(a,b,c){this.h.So(a,b,c);this.j=this.g=-1};E.prototype.setBlock=E.prototype.So;E.prototype.reset=function(){this.h.reset();this.j=this.g=-1};E.prototype.reset=E.prototype.reset;E.prototype.advance=function(a){this.h.advance(a)};E.prototype.advance=E.prototype.advance;
1328E.prototype.Aa=function(){if(this.h.Mp())return!1;if(this.getError())return ey("Decoder hit an error"),!1;this.s=this.h.zj();var a=this.h.qg(),b=a>>>3;a&=7;if(0!=a&&5!=a&&1!=a&&2!=a&&3!=a&&4!=a)return ey("Invalid wire type: %s (at position %s)",a,this.s),this.o=!0,!1;this.g=b;this.j=a;return!0};E.prototype.nextField=E.prototype.Aa;E.prototype.OH=function(){this.h.OS(this.g<<3|this.j)};E.prototype.unskipHeader=E.prototype.OH;
1329E.prototype.E8=function(){var a=this.g;for(this.OH();this.Aa()&&this.g==a;)this.za();this.h.Mp()||this.OH()};E.prototype.skipMatchingFields=E.prototype.E8;E.prototype.WR=function(){0!=this.j?(ey("Invalid wire type for skipVarintField"),this.za()):this.h.VR()};E.prototype.skipVarintField=E.prototype.WR;E.prototype.QR=function(){if(2!=this.j)ey("Invalid wire type for skipDelimitedField"),this.za();else{var a=this.h.qg();this.h.advance(a)}};E.prototype.skipDelimitedField=E.prototype.QR;
1330E.prototype.RR=function(){5!=this.j?(ey("Invalid wire type for skipFixed32Field"),this.za()):this.h.advance(4)};E.prototype.skipFixed32Field=E.prototype.RR;E.prototype.SR=function(){1!=this.j?(ey("Invalid wire type for skipFixed64Field"),this.za()):this.h.advance(8)};E.prototype.skipFixed64Field=E.prototype.SR;E.prototype.UR=function(){var a=this.g;do{if(!this.Aa()){ey("Unmatched start-group tag: stream EOF");this.o=!0;break}if(4==this.j){this.g!=a&&(ey("Unmatched end-group tag"),this.o=!0);break}this.za()}while(1)};
1331E.prototype.skipGroup=E.prototype.UR;E.prototype.za=function(){switch(this.j){case 0:this.WR();break;case 1:this.SR();break;case 2:this.QR();break;case 5:this.RR();break;case 3:this.UR();break;default:ey("Invalid wire encoding for field.")}};E.prototype.skipField=E.prototype.za;E.prototype.W4=function(a,b){null===this.l&&(this.l={});dy(!this.l[a]);this.l[a]=b};E.prototype.registerReadCallback=E.prototype.W4;E.prototype.E5=function(a){dy(null!==this.l);a=this.l[a];dy(a);return a(this)};
1332E.prototype.runReadCallback=E.prototype.E5;E.prototype.R=function(a,b){dy(2==this.j);var c=this.h.hD(),d=this.h.qg();d=this.h.zj()+d;this.h.setEnd(d);b(a,this);this.h.cG(d);this.h.setEnd(c)};E.prototype.readMessage=E.prototype.R;E.prototype.h4=function(a,b,c){dy(3==this.j);dy(this.g==a);c(b,this);
1332this.o||4==this.j||(ey("Group submessage did not end with an END_GROUP tag"),this.o=!0)};E.prototype.readGroup=E.prototype.h4;
1333E.prototype.VX=function(){dy(2==this.j);var a=this.h.qg(),b=this.h.zj(),c=b+a;a=Dy(this.h.Jt(),b,a);this.h.cG(c);return a};E.prototype.getFieldDecoder=E.prototype.VX;E.prototype.fb=function(){dy(0==this.j);return this.h.Wu()};E.prototype.readInt32=E.prototype.fb;E.prototype.j4=function(){dy(0==this.j);return this.h.xF()};E.prototype.readInt32String=E.prototype.j4;E.prototype.zd=function(){dy(0==this.j);return this.h.Az()};E.prototype.readInt64=E.prototype.zd;
1334E.prototype.Vu=function(){dy(0==this.j);return this.h.yF()};E.prototype.readInt64String=E.prototype.Vu;E.prototype.eb=function(){dy(0==this.j);return this.h.qg()};E.prototype.readUint32=E.prototype.eb;E.prototype.S4=function(){dy(0==this.j);return this.h.s()};E.prototype.readUint32String=E.prototype.S4;E.prototype.Id=function(){dy(0==this.j);return this.h.zF()};E.prototype.readUint64=E.prototype.Id;E.prototype.$u=function(){dy(0==this.j);return this.h.AF()};E.prototype.readUint64String=E.prototype.$u;
1335E.prototype.N4=function(){dy(0==this.j);return this.h.BF()};E.prototype.readSint32=E.prototype.N4;E.prototype.O4=function(){dy(0==this.j);return this.h.CF()};E.prototype.readSint64=E.prototype.O4;E.prototype.P4=function(){dy(0==this.j);return this.h.DF()};E.prototype.readSint64String=E.prototype.P4;E.prototype.e4=function(){dy(5==this.j);return this.h.eb()};E.prototype.readFixed32=E.prototype.e4;E.prototype.f4=function(){dy(1==this.j);return this.h.Id()};E.prototype.readFixed64=E.prototype.f4;
1336E.prototype.g4=function(){dy(1==this.j);return this.h.$u()};E.prototype.readFixed64String=E.prototype.g4;E.prototype.J4=function(){dy(5==this.j);return this.h.fb()};E.prototype.readSfixed32=E.prototype.J4;E.prototype.K4=function(){dy(5==this.j);return this.h.fb().toString()};E.prototype.readSfixed32String=E.prototype.K4;E.prototype.L4=function(){dy(1==this.j);return this.h.zd()};E.prototype.readSfixed64=E.prototype.L4;E.prototype.M4=function(){dy(1==this.j);return this.h.Vu()};
1337E.prototype.readSfixed64String=E.prototype.M4;E.prototype.Uu=function(){dy(5==this.j);return this.h.Uu()};E.prototype.readFloat=E.prototype.Uu;E.prototype.Su=function(){dy(1==this.j);return this.h.Su()};E.prototype.readDouble=E.prototype.Su;E.prototype.Ba=function(){dy(0==this.j);return!!this.h.qg()};E.prototype.readBool=E.prototype.Ba;E.prototype.oa=function(){dy(0==this.j);return this.h.Az()};E.prototype.readEnum=E.prototype.oa;E.prototype.G=function(){dy(2==this.j);var a=this.h.qg();return this.h.G(a)};
1338E.prototype.readString=E.prototype.G;E.prototype.Hd=function(){dy(2==this.j);var a=this.h.qg();return this.h.Hd(a)};E.prototype.readBytes=E.prototype.Hd;E.prototype.av=function(){dy(0==this.j);return this.h.av()};E.prototype.readVarintHash64=E.prototype.av;E.prototype.Q4=function(){dy(0==this.j);return this.h.oO()};E.prototype.readSintHash64=E.prototype.Q4;E.prototype.Yh=function(a){dy(0==this.j);return this.h.Yh(a)};E.prototype.readSplitVarint64=E.prototype.Yh;
1339E.prototype.Xu=function(a){dy(0==this.j);return this.h.Yh(function(b,c){return vy(b,c,a)})};E.prototype.readSplitZigzagVarint64=E.prototype.Xu;E.prototype.Tu=function(){dy(1==this.j);return this.h.Tu()};E.prototype.readFixedHash64=E.prototype.Tu;E.prototype.Bz=function(a){dy(1==this.j);return this.h.Bz(a)};E.prototype.readSplitFixed64=E.prototype.Bz;function Fy(a,b){dy(2==a.j);var c=a.h.qg();c=a.h.zj()+c;for(var d=[];a.h.zj()<c;)d.push(b.call(a.h));return d}
1340E.prototype.t4=function(){return Fy(this,this.h.Wu)};E.prototype.readPackedInt32=E.prototype.t4;E.prototype.u4=function(){return Fy(this,this.h.xF)};E.prototype.readPackedInt32String=E.prototype.u4;E.prototype.nO=function(){return Fy(this,this.h.Az)};E.prototype.readPackedInt64=E.prototype.nO;E.prototype.v4=function(){return Fy(this,this.h.yF)};E.prototype.readPackedInt64String=E.prototype.v4;E.prototype.C4=function(){return Fy(this,this.h.qg)};E.prototype.readPackedUint32=E.prototype.C4;
1341E.prototype.D4=function(){return Fy(this,this.h.s)};E.prototype.readPackedUint32String=E.prototype.D4;E.prototype.E4=function(){return Fy(this,this.h.zF)};E.prototype.readPackedUint64=E.prototype.E4;E.prototype.G4=function(){return Fy(this,this.h.AF)};E.prototype.readPackedUint64String=E.prototype.G4;E.prototype.z4=function(){return Fy(this,this.h.BF)};E.prototype.readPackedSint32=E.prototype.z4;E.prototype.A4=function(){return Fy(this,this.h.CF)};E.prototype.readPackedSint64=E.prototype.A4;
1342E.prototype.B4=function(){return Fy(this,this.h.DF)};E.prototype.readPackedSint64String=E.prototype.B4;E.prototype.o4=function(){return Fy(this,this.h.eb)};E.prototype.readPackedFixed32=E.prototype.o4;E.prototype.p4=function(){return Fy(this,this.h.Id)};E.prototype.readPackedFixed64=E.prototype.p4;E.prototype.q4=function(){return Fy(this,this.h.$u)};E.prototype.readPackedFixed64String=E.prototype.q4;E.prototype.w4=function(){return Fy(this,this.h.fb)};E.prototype.readPackedSfixed32=E.prototype.w4;
1343E.prototype.x4=function(){return Fy(this,this.h.zd)};E.prototype.readPackedSfixed64=E.prototype.x4;E.prototype.y4=function(){return Fy(this,this.h.Vu)};E.prototype.readPackedSfixed64String=E.prototype.y4;E.prototype.s4=function(){return Fy(this,this.h.Uu)};E.prototype.readPackedFloat=E.prototype.s4;E.prototype.n4=function(){return Fy(this,this.h.Su)};E.prototype.readPackedDouble=E.prototype.n4;E.prototype.m4=function(){return Fy(this,this.h.Ba)};E.prototype.readPackedBool=E.prototype.m4;
1344E.prototype.Qi=function(){return Fy(this,this.h.oa)};E.prototype.readPackedEnum=E.prototype.Qi;E.prototype.I4=function(){return Fy(this,this.h.av)};E.prototype.readPackedVarintHash64=E.prototype.I4;E.prototype.r4=function(){return Fy(this,this.h.Tu)};E.prototype.readPackedFixedHash64=E.prototype.r4;function Gy(){this.g=[]}fb("jspb.BinaryEncoder",Gy);Gy.prototype.length=function(){return this.g.length};Gy.prototype.length=Gy.prototype.length;Gy.prototype.end=function(){var a=this.g;this.g=[];return a};Gy.prototype.end=Gy.prototype.end;Gy.prototype.Vf=function(a,b){dy(a==Math.floor(a));dy(b==Math.floor(b));dy(0<=a&&4294967296>a);for(dy(0<=b&&4294967296>b);0<b||127<a;)this.g.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.g.push(a)};Gy.prototype.writeSplitVarint64=Gy.prototype.Vf;
1345Gy.prototype.fj=function(a,b){dy(a==Math.floor(a));dy(b==Math.floor(b));dy(0<=a&&4294967296>a);dy(0<=b&&4294967296>b);this.Ob(a);this.Ob(b)};Gy.prototype.writeSplitFixed64=Gy.prototype.fj;Gy.prototype.xf=function(a){dy(a==Math.floor(a));for(dy(0<=a&&4294967296>a);127<a;)this.g.push(a&127|128),a>>>=7;this.g.push(a)};Gy.prototype.writeUnsignedVarint32=Gy.prototype.xf;
1346Gy.prototype.tp=function(a){dy(a==Math.floor(a));dy(-2147483648<=a&&2147483648>a);
1346if(0<=a)this.xf(a);else{for(var b=0;9>b;b++)this.g.push(a&127|128),a>>=7;this.g.push(1)}};Gy.prototype.writeSignedVarint32=Gy.prototype.tp;Gy.prototype.dB=function(a){dy(a==Math.floor(a));dy(0<=a&&1.8446744073709552E19>a);qy(a);this.Vf(ny,oy)};Gy.prototype.writeUnsignedVarint64=Gy.prototype.dB;Gy.prototype.cB=function(a){dy(a==Math.floor(a));dy(-9223372036854775808<=a&&0x7fffffffffffffff>a);qy(a);this.Vf(ny,oy)};
1347Gy.prototype.writeSignedVarint64=Gy.prototype.cB;Gy.prototype.eB=function(a){dy(a==Math.floor(a));dy(-2147483648<=a&&2147483648>a);this.xf((a<<1^a>>31)>>>0)};Gy.prototype.writeZigzagVarint32=Gy.prototype.eB;Gy.prototype.fB=function(a){dy(a==Math.floor(a));dy(-9223372036854775808<=a&&0x7fffffffffffffff>a);fma(a);this.Vf(ny,oy)};Gy.prototype.writeZigzagVarint64=Gy.prototype.fB;Gy.prototype.fI=function(a){this.fs(zy(a))};Gy.prototype.writeZigzagVarint64String=Gy.prototype.fI;
1348Gy.prototype.fs=function(a){var b=this;ry(a);uy(ny,oy,function(c,d){b.Vf(c>>>0,d>>>0)})};Gy.prototype.writeZigzagVarintHash64=Gy.prototype.fs;Gy.prototype.saa=function(a){dy(a==Math.floor(a));dy(0<=a&&256>a);this.g.push(a>>>0&255)};Gy.prototype.writeUint8=Gy.prototype.saa;Gy.prototype.raa=function(a){dy(a==Math.floor(a));dy(0<=a&&65536>a);this.g.push(a>>>0&255);this.g.push(a>>>8&255)};Gy.prototype.writeUint16=Gy.prototype.raa;
1349Gy.prototype.Ob=function(a){dy(a==Math.floor(a));dy(0<=a&&4294967296>a);this.g.push(a>>>0&255);this.g.push(a>>>8&255);this.g.push(a>>>16&255);this.g.push(a>>>24&255)};Gy.prototype.writeUint32=Gy.prototype.Ob;Gy.prototype.mf=function(a){dy(a==Math.floor(a));dy(0<=a&&1.8446744073709552E19>a);py(a);this.Ob(ny);this.Ob(oy)};Gy.prototype.writeUint64=Gy.prototype.mf;Gy.prototype.n$=function(a){dy(a==Math.floor(a));dy(-128<=a&&128>a);this.g.push(a>>>0&255)};Gy.prototype.writeInt8=Gy.prototype.n$;
1350Gy.prototype.m$=function(a){dy(a==Math.floor(a));dy(-32768<=a&&32768>a);this.g.push(a>>>0&255);this.g.push(a>>>8&255)};Gy.prototype.writeInt16=Gy.prototype.m$;Gy.prototype.gb=function(a){dy(a==Math.floor(a));dy(-2147483648<=a&&2147483648>a);this.g.push(a>>>0&255);this.g.push(a>>>8&255);this.g.push(a>>>16&255);this.g.push(a>>>24&255)};Gy.prototype.writeInt32=Gy.prototype.gb;Gy.prototype.qd=function(a){dy(a==Math.floor(a));dy(-9223372036854775808<=a&&0x7fffffffffffffff>a);qy(a);this.fj(ny,oy)};
1351Gy.prototype.writeInt64=Gy.prototype.qd;Gy.prototype.cw=function(a){dy(a==Math.floor(a));dy(-9223372036854775808<=+a&&0x7fffffffffffffff>+a);ry(zy(a));this.fj(ny,oy)};Gy.prototype.writeInt64String=Gy.prototype.cw;Gy.prototype.sp=function(a){dy(Infinity===a||-Infinity===a||isNaN(a)||-3.4028234663852886E38<=a&&3.4028234663852886E38>=a);gma(a);this.Ob(ny)};Gy.prototype.writeFloat=Gy.prototype.sp;
1352Gy.prototype.qp=function(a){dy(Infinity===a||-Infinity===a||isNaN(a)||-1.7976931348623157E308<=a&&1.7976931348623157E308>=a);hma(a);this.Ob(ny);this.Ob(oy)};Gy.prototype.writeDouble=Gy.prototype.qp;Gy.prototype.ya=function(a){dy("boolean"===typeof a||"number"===typeof a);this.g.push(a?1:0)};Gy.prototype.writeBool=Gy.prototype.ya;Gy.prototype.ma=function(a){dy(a==Math.floor(a));dy(-2147483648<=a&&2147483648>a);this.tp(a)};Gy.prototype.writeEnum=Gy.prototype.ma;
1353Gy.prototype.wf=function(a){this.g.push.apply(this.g,a)};Gy.prototype.writeBytes=Gy.prototype.wf;Gy.prototype.up=function(a){ry(a);this.Vf(ny,oy)};Gy.prototype.writeVarintHash64=Gy.prototype.up;Gy.prototype.rp=function(a){ry(a);this.Ob(ny);this.Ob(oy)};Gy.prototype.writeFixedHash64=Gy.prototype.rp;
1354Gy.prototype.H=function(a){var b=this.g.length;Xla(a);for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);if(128>d)this.g.push(d);else if(2048>d)this.g.push(d>>6|192),this.g.push(d&63|128);else if(65536>d)if(55296<=d&&56319>=d&&c+1<a.length){var e=a.charCodeAt(c+1);56320<=e&&57343>=e&&(d=1024*(d-55296)+e-56320+65536,this.g.push(d>>18|240),this.g.push(d>>12&63|128),this.g.push(d>>6&63|128),this.g.push(d&63|128),c++)}else this.g.push(d>>12|224),this.g.push(d>>6&63|128),this.g.push(d&63|128)}return this.g.length-
1355b};Gy.prototype.writeString=Gy.prototype.H;function Hy(a,b){this.g=a;this.h=b}fb("jspb.arith.UInt64",Hy);Hy.prototype.cmp=function(a){return this.h<a.h||this.h==a.h&&this.g<a.g?-1:this.h==a.h&&this.g==a.g?
13550:1};Hy.prototype.cmp=Hy.prototype.cmp;Hy.prototype.MF=function(){return new Hy((this.g>>>1|(this.h&1)<<31)>>>0,this.h>>>1>>>0)};Hy.prototype.rightShift=Hy.prototype.MF;Hy.prototype.vE=function(){return new Hy(this.g<<1>>>0,(this.h<<1|this.g>>>31)>>>0)};Hy.prototype.leftShift=Hy.prototype.vE;Hy.prototype.kN=function(){return!!(this.h&2147483648)};
1356Hy.prototype.msb=Hy.prototype.kN;Hy.prototype.u0=function(){return!!(this.g&1)};Hy.prototype.lsb=Hy.prototype.u0;Hy.prototype.jI=function(){return 0==this.g&&0==this.h};Hy.prototype.zero=Hy.prototype.jI;Hy.prototype.add=function(a){return new Hy((this.g+a.g&4294967295)>>>0>>>0,((this.h+a.h&4294967295)>>>0)+(4294967296<=this.g+a.g?1:0)>>>0)};Hy.prototype.add=Hy.prototype.add;
1357Hy.prototype.sub=function(a){return new Hy((this.g-a.g&4294967295)>>>0>>>0,((this.h-a.h&4294967295)>>>0)-(0>this.g-a.g?1:0)>>>0)};Hy.prototype.sub=Hy.prototype.sub;function Iy(a,b){var c=a&65535;a>>>=16;var d=b&65535,e=b>>>16;b=c*d+65536*(c*e&65535)+65536*(a*d&65535);for(c=a*e+(c*e>>>16)+(a*d>>>16);4294967296<=b;)b-=4294967296,c+=1;return new Hy(b>>>0,c>>>0)}Hy.mul32x32=Iy;Hy.prototype.mN=function(a){var b=Iy(this.g,a);a=Iy(this.h,a);a.h=a.g;a.g=0;return b.add(a)};Hy.prototype.mul=Hy.prototype.mN;
1358Hy.prototype.wK=function(a){if(0==a)return[];var b=new Hy(0,0),c=new Hy(this.g,this.h);a=new Hy(a,0);for(var d=new Hy(1,0);!a.kN();)a=a.vE(),d=d.vE();for(;!d.jI();)0>=a.cmp(c)&&(b=b.add(d),c=c.sub(a)),a=a.MF(),d=d.MF();return[b,c]};Hy.prototype.div=Hy.prototype.wK;Hy.prototype.toString=function(){for(var a="",b=this;!b.jI();){b=b.wK(10);var c=b[0];a=b[1].g+a;b=c}""==a&&(a="0");return a};Hy.prototype.toString=Hy.prototype.toString;
1359function Jy(a){for(var b=new Hy(0,0),c=new Hy(0,0),d=0;d<a.length;d++){if("0">a[d]||"9"<a[d])return null;c.g=parseInt(a[d],10);b=b.mN(10).add(c)}return b}Hy.fromString=Jy;Hy.prototype.clone=function(){return new Hy(this.g,this.h)};Hy.prototype.clone=Hy.prototype.clone;function Ky(a,b){this.g=a;this.h=b}fb("jspb.arith.Int64",Ky);Ky.prototype.add=function(a){return new Ky((this.g+a.g&4294967295)>>>0>>>0,((this.h+a.h&4294967295)>>>0)+(4294967296<=this.g+a.g?1:0)>>>0)};Ky.prototype.add=Ky.prototype.add;
1360Ky.prototype.sub=function(a){return new Ky((this.g-a.g&4294967295)>>>0>>>0,((this.h-a.h&4294967295)>>>0)-(0>this.g-a.g?1:0)>>>0)};Ky.prototype.sub=Ky.prototype.sub;Ky.prototype.clone=function(){return new Ky(this.g,this.h)};Ky.prototype.clone=Ky.prototype.clone;Ky.prototype.toString=function(){var a=0!=(this.h&2147483648),b=new Hy(this.g,this.h);a&&(b=(new Hy(0,0)).sub(b));return(a?"-":"")+b.toString()};Ky.prototype.toString=Ky.prototype.toString;
1361function Ly(a){var b=0<a.length&&"-"==a[0];b&&(a=a.substring(1));a=Jy(a);if(null===a)return null;b&&(a=(new Hy(0,0)).sub(a));return new Ky(a.g,a.h)}Ky.fromString=Ly;function F(){this.j=[];this.h=0;this.g=new Gy;this.o=[]}fb("jspb.BinaryWriter",F);function qma(a,b){var c=a.g.end();a.j.push(c);a.j.push(b);a.h+=c.length+b.length}function My(a,b){Ny(a,b,2);b=a.g.end();a.j.push(b);a.h+=b.length;b.push(a.h);return b}function Oy(a,b){var c=b.pop();c=a.h+a.g.length()-c;for(dy(0<=c);127<c;)b.push(c&127|128),c>>>=7,a.h++;b.push(c);a.h++}F.prototype.qT=function(a,b,c){qma(this,a.subarray(b,c))};F.prototype.writeSerializedMessage=F.prototype.qT;
1362F.prototype.M0=function(a,b,c){null!=a&&null!=b&&null!=c&&this.qT(a,b,c)};F.prototype.maybeWriteSerializedMessage=F.prototype.M0;F.prototype.reset=function(){this.j=[];this.g.end();this.h=0;this.o=[]};F.prototype.reset=F.prototype.reset;F.prototype.wa=function(){dy(0==this.o.length);for(var a=new Uint8Array(this.h+this.g.length()),b=this.j,c=b.length,d=0,e=0;e<c;e++){var f=b[e];a.set(f,d);d+=f.length}b=this.g.end();a.set(b,d);d+=b.length;dy(d==a.length);this.j=[a];return a};
1363F.prototype.getResultBuffer=F.prototype.wa;F.prototype.kY=function(a){return ly(this.wa(),a)};F.prototype.getResultBase64String=F.prototype.kY;F.prototype.eJ=function(a){this.o.push(My(this,a))};F.prototype.beginSubMessage=F.prototype.eJ;F.prototype.OK=function(){dy(0<=this.o.length);Oy(this,this.o.pop())};F.prototype.endSubMessage=F.prototype.OK;function Ny(a,b,c){dy(1<=b&&b==Math.floor(b));a.g.xf(8*b+c)}
1364F.prototype.k$=function(a,b,c){switch(a){case 1:this.qp(b,c);break;case 2:this.sp(b,c);break;case 3:this.qd(b,c);break;case 4:this.mf(b,c);break;case 5:this.gb(b,c);break;case 6:this.cI(b,c);break;case 7:this.bI(b,c);break;case 8:this.ya(b,c);break;case 9:this.H(b,c);break;case 10:ey("Group field type not supported in writeAny()");break;case 11:ey("Message field type not supported in writeAny()");break;case 12:this.wf(b,c);break;case 13:this.Ob(b,c);break;case 14:this.ma(b,c);break;case 15:this.dI(b,
1365c);break;case 16:this.eI(b,c);break;case 17:this.sT(b,c);break;case 18:this.tT(b,c);break;case 30:this.rp(b,c);break;case 31:this.up(b,c);break;default:ey("Invalid field type in writeAny()")}};F.prototype.writeAny=F.prototype.k$;function Py(a,b,c){null!=c&&(Ny(a,b,0),a.g.xf(c))}function Qy(a,b,c){null!=c&&(Ny(a,b,0),a.g.tp(c))}F.prototype.gb=function(a,b){null!=b&&(dy(-2147483648<=b&&2147483648>b),Qy(this,a,b))};F.prototype.writeInt32=F.prototype.gb;
1366F.prototype.nT=function(a,b){null!=b&&(b=parseInt(b,10),dy(-2147483648<=b&&2147483648>b),Qy(this,a,b))};F.prototype.writeInt32String=F.prototype.nT;F.prototype.qd=function(a,b){null!=b&&(dy(-9223372036854775808<=b&&0x7fffffffffffffff>b),null!=b&&(Ny(this,a,0),this.g.cB(b)))};F.prototype.writeInt64=F.prototype.qd;F.prototype.cw=function(a,b){null!=b&&(b=Ly(b),Ny(this,a,0),this.g.Vf(b.g,b.h))};F.prototype.writeInt64String=F.prototype.cw;
1367F.prototype.Ob=function(a,b){null!=b&&(dy(0<=b&&4294967296>b),Py(this,a,b))};F.prototype.writeUint32=F.prototype.Ob;F.prototype.vT=function(a,b){null!=b&&(b=parseInt(b,10),dy(0<=b&&4294967296>b),Py(this,a,b))};F.prototype.writeUint32String=F.prototype.vT;F.prototype.mf=function(a,b){null!=b&&(dy(0<=b&&1.8446744073709552E19>b),null!=b&&(Ny(this,a,0),this.g.dB(b)))};F.prototype.writeUint64=F.prototype.mf;F.prototype.wT=function(a,b){null!=b&&(b=Jy(b),Ny(this,a,0),this.g.Vf(b.g,b.h))};
1368F.prototype.writeUint64String=F.prototype.wT;F.prototype.sT=function(a,b){null!=b&&(dy(-2147483648<=b&&2147483648>b),null!=b&&(Ny(this,a,0),this.g.eB(b)))};F.prototype.writeSint32=F.prototype.sT;F.prototype.tT=function(a,b){null!=b&&(dy(-9223372036854775808<=b&&0x7fffffffffffffff>b),null!=b&&(Ny(this,a,0),this.g.fB(b)))};F.prototype.writeSint64=F.prototype.tT;F.prototype.qaa=function(a,b){null!=b&&null!=b&&(Ny(this,a,0),this.g.fs(b))};F.prototype.writeSintHash64=F.prototype.qaa;
1369F.prototype.paa=function(a,b){null!=b&&null!=b&&(Ny(this,a,0),this.g.fI(b))};F.prototype.writeSint64String=F.prototype.paa;F.prototype.bI=function(a,b){null!=b&&(dy(0<=b&&4294967296>b),Ny(this,a,5),this.g.Ob(b))};F.prototype.writeFixed32=F.prototype.bI;F.prototype.cI=function(a,b){null!=b&&(dy(0<=b&&1.8446744073709552E19>b),Ny(this,a,1),this.g.mf(b))};F.prototype.writeFixed64=F.prototype.cI;F.prototype.mT=function(a,b){null!=b&&(b=Jy(b),Ny(this,a,1),this.g.fj(b.g,b.h))};
1370F.prototype.writeFixed64String=F.prototype.mT;F.prototype.dI=function(a,b){null!=b&&(dy(-2147483648<=b&&2147483648>b),Ny(this,a,5),this.g.gb(b))};F.prototype.writeSfixed32=F.prototype.dI;F.prototype.eI=function(a,b){null!=b&&(dy(-9223372036854775808<=b&&0x7fffffffffffffff>b),Ny(this,a,1),this.g.qd(b))};F.prototype.writeSfixed64=F.prototype.eI;F.prototype.rT=function(a,b){null!=b&&(b=Ly(b),Ny(this,a,1),this.g.fj(b.g,b.h))};F.prototype.writeSfixed64String=F.prototype.rT;
1371F.prototype.sp=function(a,b){null!=b&&(Ny(this,a,5),this.g.sp(b))};F.prototype.writeFloat=F.prototype.sp;F.prototype.qp=function(a,b){null!=b&&(Ny(this,a,1),this.g.qp(b))};F.prototype.writeDouble=F.prototype.qp;F.prototype.ya=function(a,b){null!=b&&(dy("boolean"===typeof b||"number"===typeof b),Ny(this,a,0),this.g.ya(b))};F.prototype.writeBool=F.prototype.ya;F.prototype.ma=function(a,b){null!=b&&(dy(-2147483648<=b&&2147483648>b),Ny(this,a,0),this.g.tp(b))};F.prototype.writeEnum=F.prototype.ma;
1372F.prototype.H=function(a,b){null!=b&&(a=My(this,a),this.g.H(b),Oy(this,a))};F.prototype.writeString=F.prototype.H;F.prototype.wf=function(a,b){null!=b&&(b=Ay(b),Ny(this,a,2),this.g.xf(b.length),qma(this,b))};F.prototype.writeBytes=F.prototype.wf;F.prototype.aa=function(a,b,c){null!=b&&(a=My(this,a),c(b,this),Oy(this,a))};F.prototype.writeMessage=F.prototype.aa;F.prototype.o$=function(a,b,c){null!=b&&(Ny(this,1,3),Ny(this,2,0),this.g.tp(a),a=My(this,3),c(b,this),Oy(this,a),Ny(this,1,4))};
1373F.prototype.writeMessageSet=F.prototype.o$;
1373F.prototype.l$=function(a,b,c){null!=b&&(Ny(this,a,3),c(b,this),Ny(this,a,4))};F.prototype.writeGroup=F.prototype.l$;F.prototype.rp=function(a,b){null!=b&&(dy(8==b.length),Ny(this,a,1),this.g.rp(b))};F.prototype.writeFixedHash64=F.prototype.rp;F.prototype.up=function(a,b){null!=b&&(dy(8==b.length),Ny(this,a,0),this.g.up(b))};F.prototype.writeVarintHash64=F.prototype.up;F.prototype.fj=function(a,b,c){Ny(this,a,1);this.g.fj(b,c)};
1374F.prototype.writeSplitFixed64=F.prototype.fj;F.prototype.Vf=function(a,b,c){Ny(this,a,0);this.g.Vf(b,c)};F.prototype.writeSplitVarint64=F.prototype.Vf;F.prototype.uT=function(a,b,c){Ny(this,a,0);var d=this.g;uy(b,c,function(e,f){d.Vf(e>>>0,f>>>0)})};F.prototype.writeSplitZigzagVarint64=F.prototype.uT;F.prototype.X$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)Qy(this,a,b[c])};F.prototype.writeRepeatedInt32=F.prototype.X$;
1375F.prototype.Y$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.nT(a,b[c])};F.prototype.writeRepeatedInt32String=F.prototype.Y$;F.prototype.Z$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Ny(this,a,0),this.g.cB(d))}};F.prototype.writeRepeatedInt64=F.prototype.Z$;F.prototype.haa=function(a,b,c,d){if(null!=b)for(var e=0;e<b.length;e++)this.fj(a,c(b[e]),d(b[e]))};F.prototype.writeRepeatedSplitFixed64=F.prototype.haa;
1376F.prototype.iaa=function(a,b,c,d){if(null!=b)for(var e=0;e<b.length;e++)this.Vf(a,c(b[e]),d(b[e]))};F.prototype.writeRepeatedSplitVarint64=F.prototype.iaa;F.prototype.jaa=function(a,b,c,d){if(null!=b)for(var e=0;e<b.length;e++)this.uT(a,c(b[e]),d(b[e]))};F.prototype.writeRepeatedSplitZigzagVarint64=F.prototype.jaa;F.prototype.$$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.cw(a,b[c])};F.prototype.writeRepeatedInt64String=F.prototype.$$;
1377F.prototype.kaa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)Py(this,a,b[c])};F.prototype.writeRepeatedUint32=F.prototype.kaa;F.prototype.laa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.vT(a,b[c])};F.prototype.writeRepeatedUint32String=F.prototype.laa;F.prototype.maa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Ny(this,a,0),this.g.dB(d))}};F.prototype.writeRepeatedUint64=F.prototype.maa;
1378F.prototype.naa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.wT(a,b[c])};F.prototype.writeRepeatedUint64String=F.prototype.naa;F.prototype.daa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Ny(this,a,0),this.g.eB(d))}};F.prototype.writeRepeatedSint32=F.prototype.daa;F.prototype.eaa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Ny(this,a,0),this.g.fB(d))}};F.prototype.writeRepeatedSint64=F.prototype.eaa;
1379F.prototype.faa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Ny(this,a,0),this.g.fI(d))}};F.prototype.writeRepeatedSint64String=F.prototype.faa;F.prototype.gaa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(Ny(this,a,0),this.g.fs(d))}};F.prototype.writeRepeatedSintHash64=F.prototype.gaa;F.prototype.R$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.bI(a,b[c])};F.prototype.writeRepeatedFixed32=F.prototype.R$;
1380F.prototype.S$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.cI(a,b[c])};F.prototype.writeRepeatedFixed64=F.prototype.S$;F.prototype.T$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.mT(a,b[c])};F.prototype.writeRepeatedFixed64String=F.prototype.T$;F.prototype.aaa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.dI(a,b[c])};F.prototype.writeRepeatedSfixed32=F.prototype.aaa;F.prototype.baa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.eI(a,b[c])};
1381F.prototype.writeRepeatedSfixed64=F.prototype.baa;F.prototype.caa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.rT(a,b[c])};F.prototype.writeRepeatedSfixed64String=F.prototype.caa;F.prototype.V$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.sp(a,b[c])};F.prototype.writeRepeatedFloat=F.prototype.V$;F.prototype.P$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.qp(a,b[c])};F.prototype.writeRepeatedDouble=F.prototype.P$;
1382F.prototype.N$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ya(a,b[c])};F.prototype.writeRepeatedBool=F.prototype.N$;F.prototype.Q$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ma(a,b[c])};F.prototype.writeRepeatedEnum=F.prototype.Q$;F.prototype.vb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.H(a,b[c])};F.prototype.writeRepeatedString=F.prototype.vb;F.prototype.O$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.wf(a,b[c])};
1383F.prototype.writeRepeatedBytes=F.prototype.O$;F.prototype.Da=function(a,b,c){if(null!=b)for(var d=0;d<b.length;d++){var e=My(this,a);c(b[d],this);
1383Oy(this,e)}};F.prototype.writeRepeatedMessage=F.prototype.Da;F.prototype.W$=function(a,b,c){if(null!=b)for(var d=0;d<b.length;d++)Ny(this,a,3),c(b[d],this),Ny(this,a,4)};F.prototype.writeRepeatedGroup=F.prototype.W$;F.prototype.U$=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.rp(a,b[c])};F.prototype.writeRepeatedFixedHash64=F.prototype.U$;
1384F.prototype.oaa=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.up(a,b[c])};F.prototype.writeRepeatedVarintHash64=F.prototype.oaa;F.prototype.w$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.tp(b[c]);Oy(this,a)}};F.prototype.writePackedInt32=F.prototype.w$;F.prototype.x$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.tp(parseInt(b[c],10));Oy(this,a)}};F.prototype.writePackedInt32String=F.prototype.x$;
1385F.prototype.oT=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.cB(b[c]);Oy(this,a)}};F.prototype.writePackedInt64=F.prototype.oT;F.prototype.G$=function(a,b,c,d){if(null!=b){a=My(this,a);for(var e=0;e<b.length;e++)this.g.fj(c(b[e]),d(b[e]));Oy(this,a)}};F.prototype.writePackedSplitFixed64=F.prototype.G$;F.prototype.H$=function(a,b,c,d){if(null!=b){a=My(this,a);for(var e=0;e<b.length;e++)this.g.Vf(c(b[e]),d(b[e]));Oy(this,a)}};
1386F.prototype.writePackedSplitVarint64=F.prototype.H$;F.prototype.I$=function(a,b,c,d){if(null!=b){a=My(this,a);for(var e=this.g,f=0;f<b.length;f++)uy(c(b[f]),d(b[f]),function(g,k){e.Vf(g>>>0,k>>>0)});Oy(this,a)}};F.prototype.writePackedSplitZigzagVarint64=F.prototype.I$;F.prototype.y$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++){var d=Ly(b[c]);this.g.Vf(d.g,d.h)}Oy(this,a)}};F.prototype.writePackedInt64String=F.prototype.y$;
1387F.prototype.pT=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.xf(b[c]);Oy(this,a)}};F.prototype.writePackedUint32=F.prototype.pT;F.prototype.J$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.xf(parseInt(b[c],10));Oy(this,a)}};F.prototype.writePackedUint32String=F.prototype.J$;F.prototype.K$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.dB(b[c]);Oy(this,a)}};F.prototype.writePackedUint64=F.prototype.K$;
1388F.prototype.L$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++){var d=Jy(b[c]);this.g.Vf(d.g,d.h)}Oy(this,a)}};F.prototype.writePackedUint64String=F.prototype.L$;F.prototype.C$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.eB(b[c]);Oy(this,a)}};F.prototype.writePackedSint32=F.prototype.C$;F.prototype.D$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.fB(b[c]);Oy(this,a)}};
1389F.prototype.writePackedSint64=F.prototype.D$;F.prototype.E$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.fs(zy(b[c]));Oy(this,a)}};F.prototype.writePackedSint64String=F.prototype.E$;F.prototype.F$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.fs(b[c]);Oy(this,a)}};F.prototype.writePackedSintHash64=F.prototype.F$;F.prototype.r$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(4*b.length),a=0;a<b.length;a++)this.g.Ob(b[a])};
1390F.prototype.writePackedFixed32=F.prototype.r$;F.prototype.s$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(8*b.length),a=0;a<b.length;a++)this.g.mf(b[a])};F.prototype.writePackedFixed64=F.prototype.s$;F.prototype.t$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(8*b.length),a=0;a<b.length;a++){var c=Jy(b[a]);this.g.fj(c.g,c.h)}};F.prototype.writePackedFixed64String=F.prototype.t$;
1391F.prototype.z$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(4*b.length),a=0;a<b.length;a++)this.g.gb(b[a])};F.prototype.writePackedSfixed32=F.prototype.z$;F.prototype.A$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(8*b.length),a=0;a<b.length;a++)this.g.qd(b[a])};F.prototype.writePackedSfixed64=F.prototype.A$;F.prototype.B$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(8*b.length),a=0;a<b.length;a++)this.g.cw(b[a])};
1392F.prototype.writePackedSfixed64String=F.prototype.B$;F.prototype.v$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(4*b.length),a=0;a<b.length;a++)this.g.sp(b[a])};F.prototype.writePackedFloat=F.prototype.v$;F.prototype.q$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(8*b.length),a=0;a<b.length;a++)this.g.qp(b[a])};F.prototype.writePackedDouble=F.prototype.q$;F.prototype.p$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(b.length),a=0;a<b.length;a++)this.g.ya(b[a])};
1393F.prototype.writePackedBool=F.prototype.p$;F.prototype.gi=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.ma(b[c]);Oy(this,a)}};F.prototype.writePackedEnum=F.prototype.gi;F.prototype.u$=function(a,b){if(null!=b&&b.length)for(Ny(this,a,2),this.g.xf(8*b.length),a=0;a<b.length;a++)this.g.rp(b[a])};F.prototype.writePackedFixedHash64=F.prototype.u$;F.prototype.M$=function(a,b){if(null!=b&&b.length){a=My(this,a);for(var c=0;c<b.length;c++)this.g.up(b[c]);Oy(this,a)}};
1394F.prototype.writePackedVarintHash64=F.prototype.M$;function Ry(a,b){this.j=a;this.g=b;this.pb={};this.h=!0;if(0<this.j.length){for(a=0;a<this.j.length;a++){b=this.j[a];var c=b[0];this.pb[c.toString()]=new rma(c,b[1])}this.h=!0}}fb("jspb.Map",Ry);Ry.prototype.ee=function(){if(this.h){if(this.g){var a=this.pb,b;for(b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b].g;c&&c.ee()}}}else{this.j.length=0;a=Sy(this);a.sort();for(b=0;b<a.length;b++){var d=this.pb[a[b]];(c=d.g)&&c.ee();this.j.push([d.key,d.value])}this.h=!0}return this.j};
1395Ry.prototype.toArray=Ry.prototype.ee;Ry.prototype.sa=function(a,b){for(var c=this.ee(),d=[],e=0;e<c.length;e++){var f=this.pb[c[e][0].toString()];Ty(this,f);var g=f.g;g?(dy(b),d.push([f.key,b(a,g)])):d.push([f.key,f.value])}return d};Ry.prototype.toObject=Ry.prototype.sa;Ry.fromObject=function(a,b,c){b=new Ry([],b);for(var d=0;d<a.length;d++){var e=a[d][0],f=c(a[d][1]);b.set(e,f)}return b};function Uy(a){this.g=0;this.h=a}
1396Uy.prototype.next=function(){return this.g<this.h.length?{done:!1,value:this.h[this.g++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(Uy.prototype[Symbol.iterator]=function(){return this});Ry.prototype.Dc=function(){return Sy(this).length};Ry.prototype.getLength=Ry.prototype.Dc;Ry.prototype.clear=function(){this.pb={};this.h=!1};Ry.prototype.clear=Ry.prototype.clear;Ry.prototype.hK=function(a){a=a.toString();var b=this.pb.hasOwnProperty(a);delete this.pb[a];this.h=!1;return b};
1397Ry.prototype.del=Ry.prototype.hK;Ry.prototype.TX=function(){var a=[],b=Sy(this);b.sort();for(var c=0;c<b.length;c++){var d=this.pb[b[c]];a.push([d.key,d.value])}return a};Ry.prototype.getEntryList=Ry.prototype.TX;Ry.prototype.entries=function(){var a=[],b=Sy(this);b.sort();for(var c=0;c<b.length;c++){var d=this.pb[b[c]];a.push([d.key,Ty(this,d)])}return new Uy(a)};Ry.prototype.entries=Ry.prototype.entries;
1398Ry.prototype.keys=function(){var a=[],b=Sy(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.pb[b[c]].key);return new Uy(a)};Ry.prototype.keys=Ry.prototype.keys;Ry.prototype.values=function(){var a=[],b=Sy(this);b.sort();for(var c=0;c<b.length;c++)a.push(Ty(this,this.pb[b[c]]));return new Uy(a)};Ry.prototype.values=Ry.prototype.values;Ry.prototype.forEach=function(a,b){var c=Sy(this);c.sort();for(var d=0;d<c.length;d++){var e=this.pb[c[d]];
1398a.call(b,Ty(this,e),e.key,this)}};
1399Ry.prototype.forEach=Ry.prototype.forEach;Ry.prototype.set=function(a,b){var c=new rma(a);this.g?(c.g=b,c.value=b.ee()):c.value=b;this.pb[a.toString()]=c;this.h=!1;return this};Ry.prototype.set=Ry.prototype.set;function Ty(a,b){return a.g?(b.g||(b.g=new a.g(b.value)),b.g):b.value}Ry.prototype.get=function(a){if(a=this.pb[a.toString()])return Ty(this,a)};Ry.prototype.get=Ry.prototype.get;Ry.prototype.has=function(a){return a.toString()in this.pb};Ry.prototype.has=Ry.prototype.has;
1400Ry.prototype.ra=function(a,b,c,d,e){var f=Sy(this);f.sort();for(var g=0;g<f.length;g++){var k=this.pb[f[g]];b.eJ(a);c.call(b,1,k.key);this.g?d.call(b,2,Ty(this,k),e):d.call(b,2,k.value);b.OK()}};Ry.prototype.serializeBinary=Ry.prototype.ra;function Vy(a,b,c,d,e,f,g){for(;b.Aa()&&!b.Ca();){var k=b.g;1==k?f=c.call(b):2==k&&(a.g?(dy(e),g||(g=new a.g),d.call(b,g,e)):g=d.call(b))}dy(void 0!=f);dy(void 0!=g);a.set(f,g)}Ry.deserializeBinary=Vy;
1401function Sy(a){a=a.pb;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b}function rma(a,b){this.key=a;this.value=b;this.g=void 0};function Wy(a,b,c,d,e){this.ux=a;this.lq=b;this.Ww=c;this.BH=d;this.Ig=e}fb("jspb.ExtensionFieldInfo",Wy);fb("jspb.ExtensionFieldBinaryInfo",function(a,b,c,d,e,f){this.YK=a;this.eC=b;this.fC=c;this.gJ=d;this.DU=e;this.L_=f});Wy.prototype.jo=function(){return!!this.Ww};Wy.prototype.isMessageType=Wy.prototype.jo;function H(){}fb("jspb.Message",H);H.GENERATE_TO_OBJECT=!0;H.GENERATE_FROM_OBJECT=!1;var Xy="function"==typeof Uint8Array;H.prototype.YX=function(){return this.h};
1402H.prototype.getJsPbMessageId=H.prototype.YX;
1403function Yy(a,b,c,d,e,f){a.Wb=null;b||(b=c?[c]:[]);a.h=c?String(c):void 0;a.gn=0===c?-1:0;a.yh=b;a:{c=a.yh.length;b=-1;if(c&&(b=c-1,c=a.yh[b],!(null===c||"object"!=typeof c||Array.isArray(c)||Xy&&c instanceof Uint8Array))){a.Fo=b-a.gn;a.Ge=c;break a}-1<d?(a.Fo=Math.max(d,b+1-a.gn),a.Ge=null):a.Fo=Number.MAX_VALUE}a.g={};if(e)for(d=0;d<e.length;d++)b=e[d],b<a.Fo?(b+=a.gn,a.yh[b]=a.yh[b]||Zy):($y(a),a.Ge[b]=a.Ge[b]||Zy);if(f&&f.length)for(d=0;d<f.length;d++)az(a,f[d])}H.initialize=Yy;var Zy=[];
1404function $y(a){var b=a.Fo+a.gn;a.yh[b]||(a.Ge=a.yh[b]={})}function bz(a,b,c){for(var d=[],e=0;e<a.length;e++)d[e]=b.call(a[e],c,a[e]);return d}H.toObjectList=bz;H.toObjectExtension=function(a,b,c,d,e){for(var f in c){var g=c[f],k=d.call(a,g);if(null!=k){for(var l in g.lq)if(g.lq.hasOwnProperty(l))break;b[l]=g.BH?g.Ig?bz(k,g.BH,e):g.BH(e,k):k}}};
1405H.serializeBinaryExtensions=function(a,b,c,d){for(var e in c){var f=c[e],g=f.YK;if(!f.fC)throw Error("Message extension present that was generated 
1405without binary serialization support");var k=d.call(a,g);if(null!=k)if(g.jo())if(f.gJ)f.fC.call(b,g.ux,k,f.gJ);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else f.fC.call(b,g.ux,k)}};
1406H.readBinaryExtension=function(a,b,c,d,e){var f=c[b.g];if(f){c=f.YK;if(!f.eC)throw Error("Deserializing extension whose generated code does not support binary format");if(c.jo()){var g=new c.Ww;f.eC.call(b,g,f.DU)}else g=f.eC.call(b);c.Ig&&!f.L_?(b=d.call(a,c))?b.push(g):e.call(a,c,[g]):e.call(a,c,g)}else b.za()};function I(a,b){if(b<a.Fo){b+=a.gn;var c=a.yh[b];return c===Zy?a.yh[b]=[]:c}if(a.Ge)return c=a.Ge[b],c===Zy?a.Ge[b]=[]:c}H.getField=I;function cz(a,b){return I(a,b)}H.getRepeatedField=cz;
1407function sma(a,b){a=I(a,b);return null==a?a:+a}H.getOptionalFloatingPointField=sma;function dz(a,b){a=I(a,b);return null==a?a:!!a}H.getBooleanField=dz;H.getRepeatedFloatingPointField=function(a,b){var c=I(a,b);a.g||(a.g={});if(!a.g[b]){for(var d=0;d<c.length;d++)c[d]=+c[d];a.g[b]=!0}return c};H.getRepeatedBooleanField=function(a,b){var c=I(a,b);a.g||(a.g={});if(!a.g[b]){for(var d=0;d<c.length;d++)c[d]=!!c[d];a.g[b]=!0}return c};
1408function ez(a){if(null==a||"string"===typeof a)return a;if(Xy&&a instanceof Uint8Array)return ly(a);ey("Cannot coerce to b64 string: "+Sa(a));return null}H.bytesAsB64=ez;function tma(a){if(null==a||a instanceof Uint8Array)return a;if("string"===typeof a)return my(a);ey("Cannot coerce to Uint8Array: "+Sa(a));return null}H.bytesAsU8=tma;H.bytesListAsB64=function(a){return a.length&&"string"!==typeof a[0]?Hb(a,ez):a};H.bytesListAsU8=function(a){return!a.length||a[0]instanceof Uint8Array?a:Hb(a,tma)};
1409function L(a,b,c){a=I(a,b);return null==a?c:a}H.getFieldWithDefault=L;function fz(a,b,c){a=dz(a,b);return null==a?c:a}H.getBooleanFieldWithDefault=fz;H.getFloatingPointFieldWithDefault=function(a,b,c){a=sma(a,b);return null==a?c:a};H.getFieldProto3=L;function gz(a,b,c,d){a.Wb||(a.Wb={});if(b in a.Wb)return a.Wb[b];var e=I(a,b);if(!e){if(c)return;e=[];M(a,b,e)}return a.Wb[b]=new Ry(e,d)}H.getMapField=gz;function M(a,b,c){fy(a,H);b<a.Fo?a.yh[b+a.gn]=c:($y(a),a.Ge[b]=c);return a}H.setField=M;
1410function hz(a,b,c){return iz(a,b,c,0)}H.setProto3IntField=hz;H.setProto3FloatField=function(a,b,c){return iz(a,b,c,0)};H.setProto3BooleanField=function(a,b,c){return iz(a,b,c,!1)};function jz(a,b,c){return iz(a,b,c,"")}H.setProto3StringField=jz;H.setProto3BytesField=function(a,b,c){return iz(a,b,c,"")};function uma(a,b,c){return iz(a,b,c,0)}H.setProto3EnumField=uma;H.setProto3StringIntField=function(a,b,c){return iz(a,b,c,"0")};
1411function iz(a,b,c,d){fy(a,H);c!==d?M(a,b,c):b<a.Fo?a.yh[b+a.gn]=null:($y(a),delete a.Ge[b]);return a}function kz(a,b,c,d){fy(a,H);b=I(a,b);void 0!=d?b.splice(d,0,c):b.push(c);return a}H.addToRepeatedField=kz;function vma(a,b,c,d){fy(a,H);(c=az(a,c))&&c!==b&&void 0!==d&&(a.Wb&&c in a.Wb&&(a.Wb[c]=void 0),M(a,c,void 0));return M(a,b,d)}H.setOneofField=vma;function az(a,b){for(var c,d,e=0;e<b.length;e++){var f=b[e],g=I(a,f);null!=g&&(c=f,d=g,M(a,f,void 0))}return c?(M(a,c,d),c):0}
1412H.computeOneofCase=az;function N(a,b,c,d){a.Wb||(a.Wb={});if(!a.Wb[c]){var e=I(a,c);if(d||e)a.Wb[c]=new b(e)}return a.Wb[c]}H.getWrapperField=N;function S(a,b,c){wma(a,b,c);b=a.Wb[c];b==Zy&&(b=a.Wb[c]=[]);return b}H.getRepeatedWrapperField=S;function wma(a,b,c){a.Wb||(a.Wb={});if(!a.Wb[c]){for(var d=I(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.Wb[c]=e}}function T(a,b,c){fy(a,H);a.Wb||(a.Wb={});var d=c?c.ee():c;a.Wb[b]=c;return M(a,b,d)}H.setWrapperField=T;
1413H.setOneofWrapperField=function(a,b,c,d){fy(a,H);a.Wb||(a.Wb={});var e=d?d.ee():d;a.Wb[b]=d;return vma(a,b,c,e)};function lz(a,b,c){fy(a,H);a.Wb||(a.Wb={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=c[e].ee();a.Wb[b]=c;return M(a,b,d)}H.setRepeatedWrapperField=lz;function mz(a,b,c,d,e){wma(a,d,b);var f=a.Wb[b];f||(f=a.Wb[b]=[]);c=c?c:new d;a=I(a,b);void 0!=e?(f.splice(e,0,c),a.splice(e,0,c.ee())):(f.push(c),a.push(c.ee()));return c}H.addToRepeatedWrapperField=mz;
1414H.toMap=function(a,b,c,d){for(var e={},f=0;f<a.length;f++)e[b.call(a[f])]=c?c.call(a[f],d,a[f]):a[f];return e};function xma(a){if(a.Wb)for(var b in a.Wb){var c=a.Wb[b];if(Array.isArray(c))for(var d=0;d<c.length;d++)c[d]&&c[d].ee();else c&&c.ee()}}H.prototype.ee=function(){xma(this);return this.yh};H.prototype.toArray=H.prototype.ee;H.prototype.toString=function(){xma(this);return this.yh.toString()};
1415H.prototype.getExtension=function(a){if(this.Ge){this.Wb||(this.Wb={});var b=a.ux;if(a.Ig){if(a.jo())return this.Wb[b]||(this.Wb[b]=Hb(this.Ge[b]||[],function(c){return new a.Ww(c)})),this.Wb[b]}else if(a.jo())return!this.Wb[b]&&this.Ge[b]&&(this.Wb[b]=new a.Ww(this.Ge[b])),this.Wb[b];return this.Ge[b]}};H.prototype.getExtension=H.prototype.getExtension;
1416H.prototype.e6=function(a,b){this.Wb||(this.Wb={});$y(this);var c=a.ux;a.Ig?(b=b||[],a.jo()?(this.Wb[c]=b,this.Ge[c]=Hb(b,function(d){return d.ee()})):this.Ge[c]=b):a.jo()?(this.Wb[c]=b,this.Ge[c]=b?b.ee():b):this.Ge[c]=b;return this};H.prototype.setExtension=H.prototype.e6;
1417H.difference=function(a,b){if(!(a instanceof b.constructor))throw Error("Messages have different types.");var c=a.ee();b=b.ee();var d=[],e=0,f=c.length>b.length?c.length:b.length;a.h&&(d[0]=a.h,e=1);for(;e<f;e++)nz(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};H.equals=function(a,b){return a==b||!(!a||!b)&&a instanceof b.constructor&&nz(a.ee(),b.ee())};function oz(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(d in b)c[d]=0;for(d in c)if(!nz(a[d],b[d]))return!1;return!0}
1418H.compareExtensions=oz;
1419function nz(a,b){if(a==b)return!0;if(!Ya(a)||!Ya(b))return"number"===typeof a&&isNaN(a)||"number"===typeof b&&isNaN(b)?String(a)==String(b):!1;if(a.constructor!=b.constructor)return!1;if(Xy&&a.constructor===Uint8Array){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!=b[c])return!1;return!0}if(a.constructor===Array){var d=void 0,e=void 0,f=Math.max(a.length,b.length);for(c=0;c<f;c++){var g=a[c],k=b[c];g&&g.constructor==Object&&(dy(void 0===d),dy(c===a.length-1),d=g,g=void 0);k&&k.constructor==
1420Object&&(dy(void 0===e),dy(c===b.length-1),e=k,k=void 0);if(!nz(g,k))return!1}return d||e?(d=d||{},e=e||{},oz(d,e)):!0}if(a.constructor===Object)return oz(a,b);throw Error("Invalid type in JSPB array");}H.compareFields=nz;H.prototype.sV=function(){return pz(this)};H.prototype.cloneMessage=H.prototype.sV;H.prototype.clone=function(){return pz(this)};H.prototype.clone=H.prototype.clone;H.clone=function(a){return pz(a)};function pz(a){return new a.constructor(qz(a.ee()))}
1421H.copyInto=function(a,b){fy(a,H);fy(b,H);dy(a.constructor==b.constructor,"Copy source and target message should have the same type.");a=pz(a);for(var c=b.ee(),d=a.ee(),e=c.length=0;e<d.length;e++)c[e]=d[e];b.Wb=a.Wb;b.Ge=a.Ge};
1422function qz(a){if(Array.isArray(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?qz(dy(d)):d)}return b}if(Xy&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?qz(dy(d)):d);return b}H.registerMessageType=function(a,b){b.Zka=a};function rz(a){Yy(this,a,0,-1,yma,null)}x(rz,H);function sz(a){Yy(this,a,0,-1,null,null)}x(sz,H);function tz(a){Yy(this,a,0,-1,null,null)}x(tz,H);function uz(a){Yy(this,a,0,500,zma,null)}x(uz,H);function vz(a){Yy(this,a,0,500,null,null)}x(vz,H);var yma=[1];rz.prototype.sa=function(a){return Ama(a,this)};function Ama(a,b){var c,d={oha:null==(c=I(b,1))?void 0:c,vfa:null==(c=dz(b,2))?void 0:c};a&&(d.xa=b);return d}
1423function Bma(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();wz(a,c);break;case 2:c=b.Ba();M(a,2,c);break;default:b.za()}return a}rz.prototype.ra=function(){var a=new F;Cma(this,a);return a.wa()};function Cma(a,b){var c=I(a,1);0<c.length&&b.vb(1,c);c=I(a,2);null!=c&&b.ya(2,c)}function wz(a,b){kz(a,1,b,void 0)}sz.prototype.sa=function(a){return Dma(a,this)};function Dma(a,b){var c,d={Fja:(c=xz(b))?c.sa(a,Ama):[]};a&&(d.xa=b);return d}
1424function Ema(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=xz(a);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.R,Bma,"",new rz)});break;default:b.za()}return a}sz.prototype.ra=function(){var a=new F;Fma(this,a);return a.wa()};function Fma(a,b){(a=xz(a,!0))&&0<a.Dc()&&a.ra(1,b,F.prototype.H,F.prototype.aa,Cma)}function xz(a,b){return gz(a,1,b,rz)}tz.prototype.sa=function(a){return Gma(a,this)};
1425function Gma(a,b){var c,d={endpoint:null==(c=I(b,1))?void 0:c,Tma:null==(c=I(b,2))?void 0:c,Dia:null==(c=I(b,3))?void 0:c,Zja:null==(c=dz(b,4))?void 0:c};a&&(d.xa=b);return d}function Hma(a,b){for(;
1425b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;default:b.za()}return a}tz.prototype.ra=function(){var a=new F;Ima(this,a);return a.wa()};
1426function Ima(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.ya(4,c)}tz.prototype.tL=function(){return L(this,1,"")};var zma=[2,4];uz.prototype.sa=function(a){return Jma(a,this)};
1427function Jma(a,b){var c,d={clientId:null==(c=I(b,1))?void 0:c,pma:null==(c=I(b,2))?void 0:c,name:null==(c=I(b,3))?void 0:c,sfa:null==(c=I(b,4))?void 0:c,rpa:(c=gz(b,5,void 0,vz))?c.sa(a,Kma):[],qx:(c=gz(b,1001,void 0,null))?c.sa(a,void 0):[]};a&&(d.xa=b);return d}
1428function Lma(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.Rh()?b.Qi():[b.oa()];for(var d=0;d<c.length;d++)kz(a,2,c[d],void 0);break;case 3:c=b.G();a.sc(c);break;case 4:c=b.G();kz(a,4,c,void 0);break;case 5:c=gz(a,5,void 0,vz);b.R(c,function(e,f){Vy(e,f,E.prototype.G,E.prototype.R,Mma,"",new vz)});break;case 1001:c=gz(a,1001,void 0,null);b.R(c,function(e,f){Vy(e,f,E.prototype.G,E.prototype.G,null,"","")});break;default:b.za()}return a}
1429uz.prototype.ra=function(){var a=new F;Nma(this,a);return a.wa()};function Nma(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);0<c.length&&b.gi(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);0<c.length&&b.vb(4,c);(c=gz(a,5,!0,vz))&&0<c.Dc()&&c.ra(5,b,F.prototype.H,F.prototype.aa,Oma);(c=gz(a,1001,!0,null))&&0<c.Dc()&&c.ra(1001,b,F.prototype.H,F.prototype.H)}uz.prototype.kb=function(){return L(this,3,"")};uz.prototype.sc=function(a){M(this,3,a)};h=vz.prototype;h.sa=function(a){return Kma(a,this)};
1430function Kma(a,b){var c,d={Ib:null==(c=I(b,1))?void 0:c,cc:null==(c=I(b,2))?void 0:c,hc:null==(c=I(b,3))?void 0:c,userName:null==(c=I(b,4))?void 0:c,qx:(c=gz(b,1001,void 0,null))?c.sa(a,void 0):[]};a&&(d.xa=b);return d}
1431function Mma(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 1001:c=gz(a,1001,void 0,null);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.G,null,"","")});break;default:b.za()}return a}h.ra=function(){var a=new F;Oma(this,a);return a.wa()};
1432function Oma(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);(c=gz(a,1001,!0,null))&&0<c.Dc()&&c.ra(1001,b,F.prototype.H,F.prototype.H)}h.dc=function(){return L(this,1,"")};h.Fb=function(){return L(this,2,"")};h.Hb=function(){return L(this,3,"")};h.Ic=function(){return L(this,4,"")};function yz(a){Yy(this,a,0,-1,null,null)}x(yz,H);h=yz.prototype;h.sa=function(a){return Pma(a,this)};function Pma(a,b){var c,d={Kma:null==(c=I(b,1))?void 0:c,startTime:null==(c=I(b,2))?void 0:c,endTime:null==(c=I(b,3))?void 0:c,Oga:null==(c=I(b,5))?void 0:c,Jma:null==(c=I(b,6))?void 0:c,ifa:null==(c=I(b,7))?void 0:c,hash:null==(c=I(b,8))?void 0:c,Yna:(c=gz(b,9,void 0,null))?c.sa(a,void 0):[],be:null==(c=I(b,10))?void 0:c,status:null==(c=I(b,11))?void 0:c};a&&(d.xa=b);return d}
1433function Qma(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.zd();M(a,1,c);break;case 2:c=b.zd();M(a,2,c);break;case 3:c=b.zd();M(a,3,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=gz(a,9,void 0,null);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.zd,null,"",0)});break;case 10:c=b.G();M(a,10,c);break;case 11:c=b.oa();M(a,11,c);break;default:b.za()}return a}
1434h.ra=function(){var a=new F;Rma(this,a);return a.wa()};function Rma(a,b){var c=I(a,1);null!=c&&b.qd(1,c);c=I(a,2);null!=c&&b.qd(2,c);c=I(a,3);null!=c&&b.qd(3,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);(c=gz(a,9,!0,null))&&0<c.Dc()&&c.ra(9,b,F.prototype.H,F.prototype.qd);c=I(a,10);null!=c&&b.H(10,c);c=I(a,11);null!=c&&b.ma(11,c)}h.getStartTime=function(){return L(this,2,0)};h.Ot=function(){return L(this,3,0)};
1435h.Ec=function(){return L(this,11,0)};function zz(a){Yy(this,a,0,-1,Sma,null)}x(zz,H);function Az(a){Yy(this,a,0,-1,Tma,null)}x(Az,H);function Bz(a){Yy(this,a,0,-1,null,null)}x(Bz,H);function Cz(a){Yy(this,a,0,-1,Uma,null)}x(Cz,H);function Dz(a){Yy(this,a,0,-1,null,null)}x(Dz,H);function Ez(a){Yy(this,a,0,-1,null,null)}x(Ez,H);function Fz(a){Yy(this,a,0,-1,null,null)}x(Fz,H);
1435function Gz(a){Yy(this,a,0,500,null,null)}x(Gz,H);function Hz(a){Yy(this,a,0,-1,Vma,null)}x(Hz,H);function Iz(a){Yy(this,a,0,-1,null,null)}x(Iz,H);
1436function Jz(a){Yy(this,a,0,500,null,null)}x(Jz,H);function Kz(a){Yy(this,a,0,-1,Wma,null)}x(Kz,H);var Sma=[7,12];h=zz.prototype;h.sa=function(a){return Xma(a,this)};
1437function Xma(a,b){var c,d={qN:null==(c=I(b,1))?void 0:c,title:null==(c=I(b,2))?void 0:c,dga:null==(c=I(b,3))?void 0:c,icon:null==(c=I(b,4))?void 0:c,Coa:null==(c=I(b,5))?void 0:c,wga:null==(c=I(b,6))?void 0:c,uia:bz(S(b,Bz,7),Lz,a),time:null==(c=I(b,8))?void 0:c,s0:null==(c=I(b,9))?void 0:c,ES:null==(c=I(b,10))?void 0:c,tma:null==(c=I(b,11))?void 0:c,t0:null==(c=I(b,12))?void 0:c,sma:null==(c=I(b,13))?void 0:c,rma:null==(c=I(b,14))?void 0:c};a&&(d.xa=b);return d}
1438function Yma(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.tc(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=new Bz;b.R(c,Zma);mz(a,7,c,Bz,void 0);break;case 8:c=b.zd();M(a,8,c);break;case 9:c=b.G();M(a,9,c);break;case 10:c=b.oa();M(a,10,c);break;case 11:c=b.G();M(a,11,c);break;case 12:c=b.G();kz(a,12,c,void 0);break;case 13:c=b.G();M(a,13,c);break;case 14:c=b.G();
1439M(a,14,c);break;default:b.za()}return a}h.ra=function(){var a=new F;$ma(this,a);return a.wa()};
1440function $ma(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=S(a,Bz,7);0<c.length&&b.Da(7,c,Mz);c=I(a,8);null!=c&&b.qd(8,c);c=I(a,9);null!=c&&b.H(9,c);c=I(a,10);null!=c&&b.ma(10,c);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);0<c.length&&b.vb(12,c);c=I(a,13);null!=c&&b.H(13,c);c=I(a,14);null!=c&&b.H(14,c)}h.getTitle=function(){return L(this,2,"")};h.tc=function(a){M(this,2,a)};
1441h.getTime=function(){return L(this,8,0)};var Tma=[4,5,8,11];h=Az.prototype;h.sa=function(a){return ana(a,this)};
1442function ana(a,b){var c,d={name:null==(c=I(b,1))?void 0:c,description:null==(c=I(b,2))?void 0:c,ES:null==(c=I(b,3))?void 0:c,nha:null==(c=I(b,4))?void 0:c,cia:null==(c=I(b,5))?void 0:c,kd:null==(c=dz(b,6))?void 0:c,xfa:null==(c=dz(b,7))?void 0:c,$na:null==(c=I(b,8))?void 0:c,gla:null==(c=I(b,9))?void 0:c,Rla:null==(c=I(b,10))?void 0:c,Pla:null==(c=I(b,11))?void 0:c};a&&(d.xa=b);return d}
1443function bna(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.sc(c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.Rh()?b.Qi():[b.oa()];for(var d=0;d<c.length;d++)kz(a,4,c[d],void 0);break;case 5:c=b.Rh()?b.Qi():[b.oa()];for(d=0;d<c.length;d++)kz(a,5,c[d],void 0);break;case 6:c=b.Ba();M(a,6,c);break;case 7:c=b.Ba();M(a,7,c);break;case 8:c=b.Rh()?b.Qi():[b.oa()];for(d=0;d<c.length;d++)kz(a,8,c[d],void 0);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.oa();
1444M(a,10,c);break;case 11:c=b.G();kz(a,11,c,void 0);break;default:b.za()}return a}h.ra=function(){var a=new F;cna(this,a);return a.wa()};function cna(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);0<c.length&&b.gi(4,c);c=I(a,5);0<c.length&&b.gi(5,c);c=I(a,6);null!=c&&b.ya(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=I(a,8);0<c.length&&b.gi(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.ma(10,c);c=I(a,11);0<c.length&&b.vb(11,c)}
1445h.kb=function(){return L(this,1,"")};h.sc=function(a){M(this,1,a)};h.getDescription=function(){return L(this,2,"")};Bz.prototype.sa=function(a){return Lz(a,this)};function Lz(a,b){var c,d={ofa:null==(c=I(b,1))?void 0:c,Ps:null==(c=I(b,2))?void 0:c,url:null==(c=I(b,3))?void 0:c,Ufa:null==(c=dz(b,4))?void 0:c,Jka:null==(c=I(b,5))?void 0:c};a&&(d.xa=b);return d}
1446function Zma(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;default:b.za()}return a}Bz.prototype.ra=function(){var a=new F;Mz(this,a);return a.wa()};function Mz(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);null!=c&&b.H(5,c)}var Uma=[1];
1447Cz.prototype.sa=function(a){return dna(a,this)};function dna(a,b){var c,d={bla:null==(c=I(b,1))?void 0:c,aoa:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function ena(a,b){for(;
1447b.Aa()&&!b.Ca();)switch(b.g){case 1:for(var c=b.Rh()?b.Qi():[b.oa()],d=0;d<c.length;d++)kz(a,1,c[d],void 0);break;case 2:c=b.zd();M(a,2,c);break;default:b.za()}return a}Cz.prototype.ra=function(){var a=new F;fna(this,a);return a.wa()};function fna(a,b){var c=I(a,1);0<c.length&&b.gi(1,c);c=I(a,2);null!=c&&b.qd(2,c)}
1448Dz.prototype.sa=function(a){return Nz(a,this)};function Nz(a,b){var c,d={ooa:(c=gz(b,1,void 0,Cz))?c.sa(a,dna):[]};a&&(d.xa=b);return d}function gna(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=gz(a,1,void 0,Cz);b.R(c,function(d,e){Vy(d,e,E.prototype.fb,E.prototype.R,ena,0,new Cz)});break;default:b.za()}return a}Dz.prototype.ra=function(){var a=new F;Oz(this,a);return a.wa()};function Oz(a,b){(a=gz(a,1,!0,Cz))&&0<a.Dc()&&a.ra(1,b,F.prototype.gb,F.prototype.aa,fna)}
1449Ez.prototype.sa=function(a){return hna(a,this)};function hna(a,b){var c,d={endpoint:null==(c=I(b,1))?void 0:c,ama:null==(c=I(b,2))?void 0:c,Ofa:null==(c=I(b,3))?void 0:c,wpa:null==(c=I(b,4))?void 0:c,Kga:null==(c=I(b,5))?void 0:c};a&&(d.xa=b);return d}Ez.prototype.ra=function(){var a=new F;ina(this,a);return a.wa()};function ina(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c)}
1450Ez.prototype.tL=function(){return L(this,1,"")};Fz.prototype.sa=function(a){return jna(a,this)};function jna(a,b){var c,d={domain:null==(c=I(b,1))?void 0:c,Ib:null==(c=I(b,2))?void 0:c,action:null==(c=I(b,3))?void 0:c,i$:null==(c=I(b,4))?void 0:c,noa:(c=N(b,Ez,5))&&hna(a,c)};a&&(d.xa=b);return d}Fz.prototype.ra=function(){var a=new F;kna(this,a);return a.wa()};
1451function kna(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.H(4,c);c=N(a,Ez,5);null!=c&&b.aa(5,c,ina)}Fz.prototype.dc=function(){return L(this,2,"")};Gz.prototype.sa=function(a){return lna(a,this)};function lna(a,b){var c,d={i$:null==(c=I(b,1001))?void 0:c};a&&(d.xa=b);return d}function mna(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1001:var c=b.G();M(a,1001,c);break;default:b.za()}return a}
1452Gz.prototype.ra=function(){var a=new F;nna(this,a);return a.wa()};function nna(a,b){a=I(a,1001);null!=a&&b.H(1001,a)}var Vma=[8];Hz.prototype.sa=function(a){return ona(a,this)};function ona(a,b){var c,d={domain:null==(c=I(b,1))?void 0:c,Ib:null==(c=I(b,2))?void 0:c,qN:null==(c=I(b,3))?void 0:c,action:(c=N(b,Bz,4))&&Lz(a,c),s0:null==(c=I(b,5))?void 0:c,ES:null==(c=I(b,6))?void 0:c,Zna:null==(c=dz(b,7))?void 0:c,t0:null==(c=I(b,8))?void 0:c};a&&(d.xa=b);return d}
1453Hz.prototype.ra=function(){var a=new F;pna(this,a);return a.wa()};function pna(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=N(a,Bz,4);null!=c&&b.aa(4,c,Mz);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=I(a,8);0<c.length&&b.vb(8,c)}Hz.prototype.dc=function(){return L(this,2,"")};Iz.prototype.sa=function(a){return qna(a,this)};function qna(a,b){var c={};a&&(c.xa=b);return c}
1454function rna(a,b){for(;b.Aa()&&!b.Ca();)b.za();return a}Iz.prototype.ra=function(){return(new F).wa()};function sna(){}Jz.prototype.sa=function(a){return tna(a,this)};function tna(a,b){var c,d={settings:(c=N(b,Dz,1))&&Nz(a,c),domain:null==(c=I(b,1001))?void 0:c,Ib:null==(c=I(b,1002))?void 0:c};a&&(d.xa=b);return d}Jz.prototype.ra=function(){var a=new F;una(this,a);return a.wa()};
1455function una(a,b){var c=N(a,Dz,1);null!=c&&b.aa(1,c,Oz);c=I(a,1001);null!=c&&b.H(1001,c);c=I(a,1002);null!=c&&b.H(1002,c)}Jz.prototype.dc=function(){return L(this,1002,"")};var Wma=[1];Kz.prototype.sa=function(a){return vna(a,this)};function vna(a,b){var c,d={Koa:bz(S(b,Az,1),ana,a),settings:(c=N(b,Dz,2))&&Nz(a,c)};a&&(d.xa=b);return d}
1456function wna(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Az;b.R(c,bna);mz(a,1,c,Az,void 0);break;case 2:c=new Dz;b.R(c,gna);T(a,2,c);break;default:b.za()}return a}Kz.prototype.ra=function(){var a=new F;xna(this,a);return a.wa()};function xna(a,b){var c=S(a,Az,1);0<c.length&&b.Da(1,c,cna);c=N(a,Dz,2);null!=c&&b.aa(2,c,Oz)};function Pz(a){Yy(this,a,0,-1,null,null)}x(Pz,H);function Qz(a){Yy(this,a,0,-1,null,null)}x(Qz,H);function Rz(a){Yy(this,a,0,-1,null,null)}x(Rz,H);function Sz(a){Yy(this,a,0,-1,null,null)}x(Sz,H);function Tz(a){Yy(this,a,0,-1,yna,null)}x(Tz,H);function Uz(a){Yy(this,a,0,-1,zna,null)}x(Uz,H);function Vz(a){Yy(this,a,0,-1,Ana,null)}x(Vz,H);function Wz(a){Yy(this,a,0,-1,Bna,null)}x(Wz,H);function Xz(a){Yy(this,a,0,-1,Cna,null)}x(Xz,H);function Yz(a){Yy(this,a,0,-1,Dna,null)}x(Yz,H);
1457function bA(a){Yy(this,a,0,-1,Ena,null)}x(bA,H);function cA(a){Yy(this,a,0,-1,null,null)}x(cA,H);function dA(a){Yy(this,a,0,500,Fna,null)}x(dA,H);function eA(a){Yy(this,a,0,-1,null,null)}x(eA,H);function fA(a){Yy(this,a,0,-1,null,null)}x(fA,H);function gA(a){Yy(this,a,0,-1,null,null)}x(gA,H);
1457function hA(a){Yy(this,a,0,-1,null,null)}x(hA,H);function iA(a){Yy(this,a,0,-1,Gna,null)}x(iA,H);function jA(a){Yy(this,a,0,-1,Hna,null)}x(jA,H);function kA(a){Yy(this,a,0,-1,Ina,null)}x(kA,H);
1458function lA(a){Yy(this,a,0,-1,Jna,null)}x(lA,H);function mA(a){Yy(this,a,0,-1,Kna,null)}x(mA,H);function nA(a){Yy(this,a,0,-1,Lna,null)}x(nA,H);function oA(a){Yy(this,a,0,-1,Mna,null)}x(oA,H);function pA(a){Yy(this,a,0,-1,null,null)}x(pA,H);function qA(a){Yy(this,a,0,-1,Nna,null)}x(qA,H);function rA(a){Yy(this,a,0,-1,Ona,null)}x(rA,H);function sA(a){Yy(this,a,0,-1,Pna,null)}x(sA,H);function tA(a){Yy(this,a,0,-1,Qna,null)}x(tA,H);function uA(a){Yy(this,a,0,-1,Rna,null)}x(uA,H);
1459function vA(a){Yy(this,a,0,-1,Sna,null)}x(vA,H);function wA(a){Yy(this,a,0,-1,Tna,null)}x(wA,H);function xA(a){Yy(this,a,0,-1,null,null)}x(xA,H);function yA(a){Yy(this,a,0,-1,Una,null)}x(yA,H);function zA(a){Yy(this,a,0,-1,Vna,null)}x(zA,H);function AA(a){Yy(this,a,0,-1,Wna,null)}x(AA,H);function BA(a){Yy(this,a,0,-1,Xna,null)}x(BA,H);Pz.prototype.sa=function(a){return CA(a,this)};
1460function CA(a,b){var c,d={style:null==(c=I(b,1))?void 0:c,t8:null==(c=I(b,2))?void 0:c,width:null==(c=I(b,3))?void 0:c,color:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}function DA(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;default:b.za()}return a}Pz.prototype.ra=function(){var a=new F;EA(this,a);return a.wa()};
1461function EA(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.ma(4,c)}Qz.prototype.sa=function(a){return FA(a,this)};function FA(a,b){var c,d={t8:null==(c=I(b,1))?void 0:c,width:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function Yna(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;default:b.za()}return a}Qz.prototype.ra=function(){var a=new F;GA(this,a);return a.wa()};
1462function GA(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.ma(2,c)}Rz.prototype.sa=function(a){return HA(a,this)};function HA(a,b){var c,d={face:null==(c=I(b,1))?void 0:c,size:null==(c=I(b,2))?void 0:c,color:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}function Zna(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.oa();M(a,3,c);break;default:b.za()}return a}Rz.prototype.ra=function(){var a=new F;IA(this,a);return a.wa()};
1463function IA(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.ma(3,c)}Rz.prototype.Md=function(){return L(this,2,0)};h=Sz.prototype;h.sa=function(a){return JA(a,this)};
1464function JA(a,b){var c,d={type:null==(c=I(b,1))?void 0:c,form:(c=KA(b))&&$na(a,c),Dna:(c=LA(b))&&aoa(a,c),poa:(c=MA(b))&&boa(a,c),b:(c=N(b,Xz,5))&&coa(a,c),Jq:(c=N(b,Yz,6))&&doa(a,c),Zoa:(c=N(b,bA,7))&&eoa(a,c),Aoa:(c=N(b,dA,8))&&foa(a,c),br:(c=N(b,fA,9))&&goa(a,c),sja:(c=N(b,gA,10))&&hoa(a,c),vja:(c=N(b,hA,11))&&ioa(a,c),W_:(c=N(b,iA,12))&&joa(a,c),item:(c=b.getItem())&&koa(a,c),table:(c=N(b,kA,14))&&loa(a,c),Loa:(c=N(b,lA,15))&&moa(a,c),xoa:(c=N(b,mA,16))&&noa(a,c),container:(c=NA(b))&&ooa(a,c),
1465zoa:(c=N(b,rA,18))&&poa(a,c),tna:(c=N(b,sA,19))&&qoa(a,c),ob:(c=N(b,tA,20))&&roa(a,c),Ula:(c=N(b,uA,21))&&soa(a,c),Sla:(c=b.Ln())&&toa(a,c),sup:(c=N(b,wA,23))&&uoa(a,c),dma:(c=N(b,eA,24))&&voa(a,c),Lga:(c=N(b,yA,25))&&woa(a,c),Mga:(c=N(b,xA,26))&&xoa(a,c),yna:(c=N(b,zA,27))&&yoa(a,c),vf:(c=b.Bj())&&zoa(a,c),zga:(c=N(b,nA,29))&&Aoa(a,c),Lna:(c=N(b,oA,30))&&Boa(a,c),Mna:(c=N(b,pA,31))&&Coa(a,c),a:(c=N(b,Wz,32))&&Doa(a,c),nka:null==(c=I(b,33))?void 0:c,time:(c=b.getTime())&&Eoa(a,c)};a&&(d.xa=b);return d}
1466function OA(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=new Tz;b.R(c,Foa);T(a,2,c);break;case 3:c=new Uz;b.R(c,Goa);T(a,3,c);break;case 4:c=new Vz;b.R(c,Hoa);T(a,4,c);break;case 5:c=new Xz;b.R(c,Ioa);T(a,5,c);break;case 6:c=new Yz;b.R(c,Joa);T(a,6,c);break;case 7:c=new bA;b.R(c,Koa);T(a,7,c);break;case 8:c=new dA;b.R(c,Loa);T(a,8,c);break;case 9:c=new fA;b.R(c,Moa);T(a,9,c);break;case 10:c=new gA;b.R(c,Noa);T(a,10,c);break;case 11:c=new hA;b.R(c,Ooa);T(a,11,
1467c);break;case 12:c=new iA;b.R(c,Poa);T(a,12,c);break;case 13:c=new jA;b.R(c,Qoa);T(a,13,c);break;case 14:c=new kA;b.R(c,Roa);T(a,14,c);break;case 15:c=new lA;b.R(c,Soa);T(a,15,c);break;case 16:c=new mA;b.R(c,Toa);T(a,16,c);break;case 17:c=new qA;b.R(c,Uoa);T(a,17,c);break;case 18:c=new rA;b.R(c,Voa);T(a,18,c);break;case 19:c=new sA;b.R(c,Woa);T(a,19,c);break;case 20:c=new tA;b.R(c,Xoa);T(a,20,c);break;case 21:c=new uA;b.R(c,Yoa);T(a,21,c);break;case 22:c=new vA;b.R(c,Zoa);T(a,22,c);break;case 23:c=
1468new wA;b.R(c,$oa);T(a,23,c);break;case 24:c=new eA;b.R(c,apa);T(a,24,c);break;case 25:c=new yA;b.R(c,bpa);T(a,25,c);break;case 26:c=new xA;b.R(c,cpa);T(a,26,c);break;case 27:c=new zA;b.R(c,dpa);T(a,27,c);break;case 28:c=new AA;b.R(c,epa);T(a,28,c);break;case 29:c=new nA;b.R(c,fpa);T(a,29,c);break;case 30:c=new oA;b.R(c,gpa);T(a,30,c);break;case 31:c=new pA;b.R(c,hpa);T(a,31,c);break;case 32:c=new Wz;b.R(c,ipa);T(a,32,c);break;case 33:c=b.G();M(a,33,c);break;case 34:c=new BA;b.R(c,jpa);T(a,34,c);break;
1469default:b.za()}return a}h.ra=function(){var a=new F;PA(this,a);return a.wa()};
1470function PA(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=KA(a);
1470null!=c&&b.aa(2,c,kpa);c=LA(a);null!=c&&b.aa(3,c,lpa);c=MA(a);null!=c&&b.aa(4,c,mpa);c=N(a,Xz,5);null!=c&&b.aa(5,c,npa);c=N(a,Yz,6);null!=c&&b.aa(6,c,opa);c=N(a,bA,7);null!=c&&b.aa(7,c,ppa);c=N(a,dA,8);null!=c&&b.aa(8,c,qpa);c=N(a,fA,9);null!=c&&b.aa(9,c,rpa);c=N(a,gA,10);null!=c&&b.aa(10,c,spa);c=N(a,hA,11);null!=c&&b.aa(11,c,tpa);c=N(a,iA,12);null!=c&&b.aa(12,c,upa);c=a.getItem();null!=c&&b.aa(13,c,vpa);c=N(a,kA,14);null!=c&&b.aa(14,c,wpa);
1471c=N(a,lA,15);null!=c&&b.aa(15,c,xpa);c=N(a,mA,16);null!=c&&b.aa(16,c,ypa);c=NA(a);null!=c&&b.aa(17,c,zpa);c=N(a,rA,18);null!=c&&b.aa(18,c,Apa);c=N(a,sA,19);null!=c&&b.aa(19,c,Bpa);c=N(a,tA,20);null!=c&&b.aa(20,c,Cpa);c=N(a,uA,21);null!=c&&b.aa(21,c,Dpa);c=a.Ln();null!=c&&b.aa(22,c,Epa);c=N(a,wA,23);null!=c&&b.aa(23,c,Fpa);c=N(a,eA,24);null!=c&&b.aa(24,c,Gpa);c=N(a,yA,25);null!=c&&b.aa(25,c,Hpa);c=N(a,xA,26);null!=c&&b.aa(26,c,Ipa);c=N(a,zA,27);null!=c&&b.aa(27,c,Jpa);c=a.Bj();null!=c&&b.aa(28,c,Kpa);
1472c=N(a,nA,29);null!=c&&b.aa(29,c,Lpa);c=N(a,oA,30);null!=c&&b.aa(30,c,Mpa);c=N(a,pA,31);null!=c&&b.aa(31,c,Npa);c=N(a,Wz,32);null!=c&&b.aa(32,c,Opa);c=I(a,33);null!=c&&b.H(33,c);c=a.getTime();null!=c&&b.aa(34,c,Ppa)}function QA(a){return L(a,1,0)}function RA(a){return null!=I(a,1)}function KA(a){return N(a,Tz,2)}function LA(a){return N(a,Uz,3)}function MA(a){return N(a,Vz,4)}h.getItem=function(){return N(this,jA,13)};function NA(a){return N(a,qA,17)}h.Ln=function(){return N(this,vA,22)};
1473h.Bj=function(){return N(this,AA,28)};h.getTime=function(){return N(this,BA,34)};var yna=[1];h=Tz.prototype;h.sa=function(a){return $na(a,this)};
1474function $na(a,b){var c,d={Oe:bz(b.hb(),JA,a),name:null==(c=I(b,2))?void 0:c,abbr:null==(c=I(b,3))?void 0:c,c9:null==(c=I(b,4))?void 0:c,fn:null==(c=I(b,5))?void 0:c,font:(c=N(b,Rz,6))&&HA(a,c),mha:null==(c=I(b,7))?void 0:c,ZN:null==(c=I(b,8))?void 0:c,G0:null==(c=I(b,9))?void 0:c,AX:null==(c=I(b,10))?void 0:c,e_:null==(c=I(b,11))?void 0:c,yV:null==(c=I(b,12))?void 0:c,Xs:null==(c=I(b,13))?void 0:c,translate:null==(c=I(b,14))?void 0:c,qU:null==(c=I(b,15))?void 0:c,lfa:null==(c=I(b,16))?void 0:c,cJ:null==
1475(c=I(b,17))?void 0:c};a&&(d.xa=b);return d}
1476function Foa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();a.sc(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=new Rz;b.R(c,Zna);T(a,6,c);break;case 7:c=b.oa();M(a,7,c);break;case 8:c=b.oa();M(a,8,c);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.G();M(a,10,c);break;case 11:c=b.G();M(a,11,c);break;case 12:c=b.G();M(a,12,c);break;case 13:c=b.oa();M(a,13,c);break;case 14:c=
1477b.oa();M(a,14,c);break;case 15:c=b.oa();M(a,15,c);break;case 16:c=b.oa();M(a,16,c);break;case 17:c=b.oa();M(a,17,c);break;default:b.za()}return a}h.ra=function(){var a=new F;kpa(this,a);return a.wa()};
1478function kpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=N(a,Rz,6);null!=c&&b.aa(6,c,IA);c=I(a,7);null!=c&&b.ma(7,c);c=I(a,8);null!=c&&b.ma(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.H(10,c);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.H(12,c);c=I(a,13);null!=c&&b.ma(13,c);c=I(a,14);null!=c&&b.ma(14,c);c=I(a,15);null!=c&&b.ma(15,c);c=I(a,16);null!=c&&b.ma(16,c);c=I(a,17);null!=
1479c&&b.ma(17,c)}h.hb=function(){return S(this,Sz,1)};h.kb=function(){return L(this,2,"")};h.sc=function(a){M(this,2,a)};h.eM=function(){return null!=I(this,15)};var zna=[1];h=Uz.prototype;h.sa=function(a){return aoa(a,this)};
1480function aoa(a,b){var c,d={Oe:bz(b.hb(),JA,a),name:null==(c=I(b,2))?void 0:c,abbr:null==(c=I(b,3))?void 0:c,media:null==(c=I(b,4))?void 0:c,hma:null==(c=I(b,5))?void 0:c,Xh:null==(c=I(b,6))?void 0:c,uO:null==(c=I(b,7))?void 0:c,c9:null==(c=I(b,8))?void 0:c,e_:null==(c=I(b,11))?void 0:c,yV:null==(c=I(b,12))?void 0:c,readOnly:null==(c=I(b,13))?void 0:c,collapse:null==(c=I(b,14))?void 0:c};a&&(d.xa=b);return d}
1481function Goa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();a.sc(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.oa();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 11:c=b.G();M(a,11,c);break;case 12:c=b.G();M(a,12,c);break;case 13:c=b.oa();a.Lg(c);break;case 14:c=b.oa();M(a,14,c);break;default:b.za()}return a}
1482h.ra=function(){var a=new F;lpa(this,a);return a.wa()};function lpa(a,b){var c=a.hb();
14820<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ma(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.H(12,c);c=I(a,13);null!=c&&b.ma(13,c);c=I(a,14);null!=c&&b.ma(14,c)}h.hb=function(){return S(this,Sz,1)};h.kb=function(){return L(this,2,"")};
1483h.sc=function(a){M(this,2,a)};h.Pu=function(){return null!=I(this,2)};h.Nn=function(){return L(this,7,0)};h.$n=function(){return null!=I(this,7)};h.Bm=function(){return L(this,13,0)};h.Lg=function(a){M(this,13,a)};h.Ho=function(){return null!=I(this,13)};var Ana=[1];h=Vz.prototype;h.sa=function(a){return boa(a,this)};
1484function boa(a,b){var c,d={Oe:bz(b.hb(),JA,a),name:null==(c=I(b,2))?void 0:c,abbr:null==(c=I(b,3))?void 0:c,Xh:null==(c=I(b,4))?void 0:c,media:null==(c=I(b,5))?void 0:c,uO:null==(c=I(b,6))?void 0:c,readOnly:null==(c=I(b,7))?void 0:c,collapse:null==(c=I(b,8))?void 0:c};a&&(d.xa=b);return d}
1485function Hoa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();a.sc(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.oa();a.Lg(c);break;case 8:c=b.oa();M(a,8,c);break;default:b.za()}return a}h.ra=function(){var a=new F;mpa(this,a);return a.wa()};
1486function mpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ma(7,c);c=I(a,8);null!=c&&b.ma(8,c)}h.hb=function(){return S(this,Sz,1)};h.kb=function(){return L(this,2,"")};h.sc=function(a){M(this,2,a)};h.Pu=function(){return null!=I(this,2)};h.Nn=function(){return L(this,6,0)};h.$n=function(){return null!=I(this,6)};
1487h.Bm=function(){return L(this,7,0)};h.Lg=function(a){M(this,7,a)};h.Ho=function(){return null!=I(this,7)};var Bna=[1];Wz.prototype.sa=function(a){return Doa(a,this)};function Doa(a,b){var c,d={Oe:bz(b.hb(),JA,a),href:null==(c=I(b,2))?void 0:c,GS:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}function ipa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.oa();M(a,3,c);break;default:b.za()}return a}
1488Wz.prototype.ra=function(){var a=new F;Opa(this,a);return a.wa()};function Opa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ma(3,c)}Wz.prototype.hb=function(){return S(this,Sz,1)};var Cna=[1];Xz.prototype.sa=function(a){return coa(a,this)};function coa(a,b){var c={Oe:bz(b.hb(),JA,a)};a&&(c.xa=b);return c}function Ioa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;default:b.za()}return a}
1489Xz.prototype.ra=function(){var a=new F;npa(this,a);return a.wa()};function npa(a,b){a=a.hb();0<a.length&&b.Da(1,a,PA)}Xz.prototype.hb=function(){return S(this,Sz,1)};var Dna=[1];Yz.prototype.sa=function(a){return doa(a,this)};function doa(a,b){var c={Oe:bz(b.hb(),JA,a)};a&&(c.xa=b);return c}function Joa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;default:b.za()}return a}Yz.prototype.ra=function(){var a=new F;opa(this,a);return a.wa()};
1490function opa(a,b){a=a.hb();0<a.length&&b.Da(1,a,PA)}Yz.prototype.hb=function(){return S(this,Sz,1)};var Ena=[1];bA.prototype.sa=function(a){return eoa(a,this)};function eoa(a,b){var c={Oe:bz(b.hb(),JA,a)};a&&(c.xa=b);return c}function Koa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;default:b.za()}return a}bA.prototype.ra=function(){var a=new F;ppa(this,a);return a.wa()};function ppa(a,b){a=a.hb();0<a.length&&b.Da(1,a,PA)}
1491bA.prototype.hb=function(){return S(this,Sz,1)};cA.prototype.sa=function(a){return Qpa(a,this)};function Qpa(a,b){var c,d={text:null==(c=I(b,1))?void 0:c,language:null==(c=I(b,2))?void 0:c,una:null==(c=dz(b,3))?void 0:c};a&&(d.xa=b);return d}function Rpa(a,b){for(;
1491b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.rl(c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.Ba();M(a,3,c);break;default:b.za()}return a}cA.prototype.ra=function(){var a=new F;Spa(this,a);return a.wa()};
1492function Spa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ya(3,c)}cA.prototype.eg=function(){return L(this,1,"")};cA.prototype.rl=function(a){M(this,1,a)};var Fna=[1001];dA.prototype.sa=function(a){return foa(a,this)};function foa(a,b){var c,d={Boa:null==(c=I(b,1))?void 0:c,Ooa:bz(S(b,cA,1001),Qpa,a),Dpa:null==(c=I(b,1002))?void 0:c};a&&(d.xa=b);return d}
1493function Loa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 1001:c=new cA;b.R(c,Rpa);mz(a,1001,c,cA,void 0);break;case 1002:c=b.G();M(a,1002,c);break;default:b.za()}return a}dA.prototype.ra=function(){var a=new F;qpa(this,a);return a.wa()};function qpa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,cA,1001);0<c.length&&b.Da(1001,c,Spa);c=I(a,1002);null!=c&&b.H(1002,c)}eA.prototype.sa=function(a){return voa(a,this)};function voa(a,b){var c={};a&&(c.xa=b);return c}
1494function apa(a,b){for(;b.Aa()&&!b.Ca();)b.za();return a}eA.prototype.ra=function(){return(new F).wa()};function Gpa(){}fA.prototype.sa=function(a){return goa(a,this)};function goa(a,b){var c={};a&&(c.xa=b);return c}function Moa(a,b){for(;b.Aa()&&!b.Ca();)b.za();return a}fA.prototype.ra=function(){return(new F).wa()};function rpa(){}gA.prototype.sa=function(a){return hoa(a,this)};function hoa(a,b){var c={};a&&(c.xa=b);return c}function Noa(a,b){for(;b.Aa()&&!b.Ca();)b.za();return a}
1495gA.prototype.ra=function(){return(new F).wa()};function spa(){}hA.prototype.sa=function(a){return ioa(a,this)};function ioa(a,b){var c,d={title:null==(c=I(b,1))?void 0:c,source:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function Ooa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.tc(c);break;case 2:c=b.G();M(a,2,c);break;default:b.za()}return a}hA.prototype.ra=function(){var a=new F;tpa(this,a);return a.wa()};
1496function tpa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c)}hA.prototype.getTitle=function(){return L(this,1,"")};hA.prototype.tc=function(a){M(this,1,a)};var Gna=[1];iA.prototype.sa=function(a){return joa(a,this)};function joa(a,b){var c,d={Oe:bz(b.hb(),JA,a),Mka:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function Poa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.oa();M(a,2,c);break;default:b.za()}return a}
1497iA.prototype.ra=function(){var a=new F;upa(this,a);return a.wa()};function upa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.ma(2,c)}iA.prototype.hb=function(){return S(this,Sz,1)};var Hna=[1,2];jA.prototype.sa=function(a){return koa(a,this)};function koa(a,b){var c={Oe:bz(b.hb(),JA,a),vn:bz(S(b,Sz,2),JA,a)};a&&(c.xa=b);return c}
1498function Qoa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=new Sz;b.R(c,OA);mz(a,2,c,Sz,void 0);break;default:b.za()}return a}jA.prototype.ra=function(){var a=new F;vpa(this,a);return a.wa()};function vpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=S(a,Sz,2);0<c.length&&b.Da(2,c,PA)}jA.prototype.hb=function(){return S(this,Sz,1)};var Ina=[1];h=kA.prototype;h.sa=function(a){return loa(a,this)};
1499function loa(a,b){var c,d={Oe:bz(b.hb(),JA,a),border:(c=N(b,Pz,2))&&CA(a,c),backgroundColor:null==(c=I(b,3))?void 0:c,z3:null==(c=I(b,4))?void 0:c,wX:null==(c=I(b,5))?void 0:c,Ul:null==(c=I(b,6))?void 0:c,cellPadding:null==(c=I(b,7))?void 0:c};a&&(d.xa=b);return d}
1500function Roa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=new Pz;b.R(c,DA);T(a,2,c);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.fb();M(a,4,c);break;case 5:c=b.fb();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.oa();M(a,7,c);break;default:b.za()}return a}h.ra=function(){var a=new F;wpa(this,a);return a.wa()};
1501function wpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=N(a,Pz,2);null!=c&&b.aa(2,c,EA);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.gb(4,c);c=I(a,5);null!=c&&b.gb(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ma(7,c)}h.hb=function(){return S(this,Sz,1)};h.hm=function(){return L(this,6,0)};h.tq=function(){return L(this,7,0)};var Jna=[1];lA.prototype.sa=function(a){return moa(a,this)};
1502function moa(a,b){var c,d={Oe:bz(b.hb(),JA,a),border:(c=N(b,Pz,2))&&CA(a,c),backgroundColor:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}function Soa(a,b){for(;
1502b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=new Pz;b.R(c,DA);T(a,2,c);break;case 3:c=b.oa();M(a,3,c);break;default:b.za()}return a}lA.prototype.ra=function(){var a=new F;xpa(this,a);return a.wa()};
1503function xpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=N(a,Pz,2);null!=c&&b.aa(2,c,EA);c=I(a,3);null!=c&&b.ma(3,c)}lA.prototype.hb=function(){return S(this,Sz,1)};var Kna=[1];mA.prototype.sa=function(a){return noa(a,this)};
1504function noa(a,b){var c,d={Oe:bz(b.hb(),JA,a),h$:null==(c=I(b,2))?void 0:c,border:(c=N(b,Pz,3))&&CA(a,c),padding:(c=N(b,Qz,4))&&FA(a,c),$Y:null==(c=I(b,5))?void 0:c,backgroundColor:null==(c=I(b,6))?void 0:c,z3:null==(c=I(b,7))?void 0:c,wX:null==(c=I(b,8))?void 0:c,Gga:null==(c=I(b,9))?void 0:c,sna:null==(c=I(b,10))?void 0:c,GS:null==(c=I(b,11))?void 0:c};a&&(d.xa=b);return d}
1505function Toa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=new Pz;b.R(c,DA);T(a,3,c);break;case 4:c=new Qz;b.R(c,Yna);T(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;case 8:c=b.fb();M(a,8,c);break;case 9:c=b.fb();M(a,9,c);break;case 10:c=b.fb();M(a,10,c);break;case 11:c=b.oa();M(a,11,c);break;default:b.za()}return a}
1506mA.prototype.ra=function(){var a=new F;ypa(this,a);return a.wa()};function ypa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.ma(2,c);c=N(a,Pz,3);null!=c&&b.aa(3,c,EA);c=N(a,Qz,4);null!=c&&b.aa(4,c,GA);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.gb(7,c);c=I(a,8);null!=c&&b.gb(8,c);c=I(a,9);null!=c&&b.gb(9,c);c=I(a,10);null!=c&&b.gb(10,c);c=I(a,11);null!=c&&b.ma(11,c)}mA.prototype.hb=function(){return S(this,Sz,1)};var Lna=[1];h=nA.prototype;
1507h.sa=function(a){return Aoa(a,this)};function Aoa(a,b){var c,d={Oe:bz(b.hb(),JA,a),title:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function fpa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();a.tc(c);break;default:b.za()}return a}h.ra=function(){var a=new F;Lpa(this,a);return a.wa()};function Lpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c)}h.hb=function(){return S(this,Sz,1)};
1508h.getTitle=function(){return L(this,2,"")};h.tc=function(a){M(this,2,a)};var Mna=[1];h=oA.prototype;h.sa=function(a){return Boa(a,this)};function Boa(a,b){var c,d={Oe:bz(b.hb(),JA,a),title:null==(c=I(b,2))?void 0:c,color:null==(c=I(b,3))?void 0:c,Ika:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}
1509function gpa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();a.tc(c);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;default:b.za()}return a}h.ra=function(){var a=new F;Mpa(this,a);return a.wa()};function Mpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.ma(4,c)}h.hb=function(){return S(this,Sz,1)};h.getTitle=function(){return L(this,2,"")};
1510h.tc=function(a){M(this,2,a)};pA.prototype.sa=function(a){return Coa(a,this)};function Coa(a,b){var c,d={x:null==(c=I(b,1))?void 0:c,y:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function hpa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;default:b.za()}return a}pA.prototype.ra=function(){var a=new F;Npa(this,a);return a.wa()};function Npa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c)}var Nna=[1];h=qA.prototype;
1511h.sa=function(a){return ooa(a,this)};
1512function ooa(a,b){var c,d={Oe:bz(b.hb(),JA,a),h$:null==(c=I(b,2))?void 0:c,border:(c=N(b,Pz,3))&&CA(a,c),padding:(c=N(b,Qz,4))&&FA(a,c),$Y:null==(c=I(b,5))?void 0:c,backgroundColor:null==(c=I(b,6))?void 0:c,font:(c=N(b,Rz,7))&&HA(a,c),display:null==(c=I(b,8))?void 0:c,Xh:null==(c=I(b,9))?void 0:c,uO:null==(c=I(b,10))?void 0:c,name:null==(c=I(b,11))?void 0:c,media:null==(c=I(b,12))?void 0:c,GS:null==(c=I(b,13))?void 0:c,readOnly:null==(c=I(b,14))?void 0:c,collapse:null==(c=I(b,15))?void 0:c};a&&(d.xa=
1513b);return d}
1514function Uoa(a,b){for(;
1514b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=new Pz;b.R(c,DA);T(a,3,c);break;case 4:c=new Qz;b.R(c,Yna);T(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=new Rz;b.R(c,Zna);T(a,7,c);break;case 8:c=b.oa();M(a,8,c);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.oa();M(a,10,c);break;case 11:c=b.G();a.sc(c);break;case 12:c=b.oa();M(a,12,c);break;case 13:c=b.oa();
1515M(a,13,c);break;case 14:c=b.oa();a.Lg(c);break;case 15:c=b.oa();M(a,15,c);break;default:b.za()}return a}h.ra=function(){var a=new F;zpa(this,a);return a.wa()};
1516function zpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.ma(2,c);c=N(a,Pz,3);null!=c&&b.aa(3,c,EA);c=N(a,Qz,4);null!=c&&b.aa(4,c,GA);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=N(a,Rz,7);null!=c&&b.aa(7,c,IA);c=I(a,8);null!=c&&b.ma(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.ma(10,c);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.ma(12,c);c=I(a,13);null!=c&&b.ma(13,c);c=I(a,14);null!=c&&b.ma(14,c);c=I(a,15);null!=c&&b.ma(15,c)}
1517h.hb=function(){return S(this,Sz,1)};h.Nn=function(){return L(this,10,0)};h.$n=function(){return null!=I(this,10)};h.kb=function(){return L(this,11,"")};h.sc=function(a){M(this,11,a)};h.Pu=function(){return null!=I(this,11)};h.Bm=function(){return L(this,14,0)};h.Lg=function(a){M(this,14,a)};h.Ho=function(){return null!=I(this,14)};var Ona=[2,20];h=rA.prototype;h.sa=function(a){return poa(a,this)};
1518function poa(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,vn:bz(S(b,Sz,2),JA,a),orientation:null==(c=I(b,3))?void 0:c,display:null==(c=I(b,4))?void 0:c,mC:null==(c=I(b,5))?void 0:c,nC:null==(c=I(b,6))?void 0:c,nt:null==(c=I(b,7))?void 0:c,JC:null==(c=I(b,8))?void 0:c,IC:null==(c=I(b,9))?void 0:c,sC:null==(c=I(b,10))?void 0:c,uC:null==(c=I(b,11))?void 0:c,tC:null==(c=I(b,12))?void 0:c,I0:null==(c=I(b,13))?void 0:c,Eja:null==(c=I(b,14))?void 0:c,QH:null==(c=I(b,15))?void 0:c,HA:null==(c=I(b,16))?void 0:
1519c,label:null==(c=I(b,17))?void 0:c,CU:null==(c=I(b,18))?void 0:c,fq:null==(c=I(b,19))?void 0:c,Xr:bz(S(b,Sz,20),JA,a),password:null==(c=I(b,21))?void 0:c,Ff:null==(c=I(b,22))?void 0:c,check:null==(c=I(b,23))?void 0:c,Xs:null==(c=I(b,24))?void 0:c,translate:null==(c=I(b,25))?void 0:c,multiline:null==(c=I(b,26))?void 0:c,bx:null==(c=I(b,27))?void 0:c,hidden:null==(c=I(b,28))?void 0:c};a&&(d.xa=b);return d}
1520function Voa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new Sz;b.R(c,OA);mz(a,2,c,Sz,void 0);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=b.fb();M(a,5,c);break;case 6:c=b.fb();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;case 8:c=b.fb();M(a,8,c);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.fb();M(a,10,c);break;case 11:c=b.fb();M(a,11,c);break;case 12:c=b.oa();M(a,12,c);break;case 13:c=b.fb();M(a,13,c);break;case 14:c=b.oa();
1521M(a,14,c);break;case 15:c=b.oa();M(a,15,c);break;case 16:c=b.fb();M(a,16,c);break;case 17:c=b.G();M(a,17,c);break;case 18:c=b.oa();M(a,18,c);break;case 19:c=b.oa();M(a,19,c);break;case 20:c=new Sz;b.R(c,OA);mz(a,20,c,Sz,void 0);break;case 21:c=b.oa();M(a,21,c);break;case 22:c=b.G();M(a,22,c);break;case 23:c=b.oa();M(a,23,c);break;case 24:c=b.oa();M(a,24,c);break;case 25:c=b.oa();M(a,25,c);break;case 26:c=b.oa();M(a,26,c);break;case 27:c=b.oa();M(a,27,c);break;case 28:c=b.oa();a.Ui(c);break;default:b.za()}return a}
1522h.ra=function(){var a=new F;Apa(this,a);return a.wa()};
1523function Apa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,Sz,2);0<c.length&&b.Da(2,c,PA);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);null!=c&&b.gb(5,c);c=I(a,6);null!=c&&b.gb(6,c);c=I(a,7);null!=c&&b.gb(7,c);c=I(a,8);null!=c&&b.gb(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.gb(10,c);c=I(a,11);null!=c&&b.gb(11,c);c=I(a,12);null!=c&&b.ma(12,c);c=I(a,13);null!=c&&b.gb(13,c);c=I(a,14);null!=c&&b.ma(14,c);c=I(a,15);null!=c&&b.ma(15,c);c=I(a,16);null!=c&&b.gb(16,c);c=I(a,17);
1524null!=c&&b.H(17,c);c=I(a,18);null!=c&&b.ma(18,c);c=I(a,19);null!=c&&b.ma(19,c);c=S(a,Sz,20);0<c.length&&b.Da(20,c,PA);c=I(a,21);null!=c&&b.ma(21,c);c=I(a,22);null!=c&&b.H(22,c);c=I(a,23);null!=c&&b.ma(23,c);c=I(a,24);null!=c&&b.ma(24,c);c=I(a,25);null!=c&&b.ma(25,c);c=I(a,26);null!=c&&b.ma(26,c);c=I(a,27);null!=c&&b.ma(27,c);c=I(a,28);null!=c&&b.ma(28,c)}h.rb=function(){return L(this,1,"")};h.Yf=function(){return L(this,22,"")};h.Jn=function(){return L(this,28,0)};h.Ui=function(a){M(this,28,a)};
1525var Pna=[2,18];sA.prototype.sa=function(a){return qoa(a,this)};
1526function qoa(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,vn:bz(S(b,Sz,2),JA,a),orientation:null==(c=I(b,3))?void 0:c,kW:null==(c=I(b,4))?void 0:c,mC:null==(c=I(b,5))?void 0:c,nC:null==(c=I(b,6))?void 0:c,nt:null==(c=I(b,7))?void 0:c,JC:null==(c=I(b,8))?void 0:c,IC:null==(c=I(b,9))?void 0:c,sC:null==(c=I(b,10))?void 0:c,uC:null==(c=I(b,11))?void 0:c,tC:null==(c=I(b,12))?void 0:c,height:null==(c=I(b,13))?void 0:c,HA:null==(c=I(b,14))?void 0:c,label:null==(c=I(b,15))?void 0:c,CU:null==(c=I(b,16))?void 0:
1527c,fq:null==(c=I(b,17))?void 0:c,Xr:bz(S(b,Sz,18),JA,a),Ff:null==(c=I(b,19))?void 0:c,check:null==(c=I(b,20))?void 0:c,Xs:null==(c=I(b,21))?void 0:c,translate:null==(c=I(b,22))?void 0:c,Zfa:null==(c=I(b,23))?void 0:c,bx:null==(c=I(b,24))?void 0:c};a&&(d.xa=b);return d}
1528function Woa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new Sz;b.R(c,OA);mz(a,2,c,Sz,void 0);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=b.fb();M(a,5,c);break;case 6:c=b.fb();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;case 8:c=b.fb();M(a,8,c);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.fb();M(a,10,c);break;case 11:c=b.fb();M(a,11,c);break;case 12:c=b.oa();M(a,12,c);break;case 13:c=b.fb();M(a,13,c);break;case 14:c=b.fb();
1529M(a,14,c);break;case 15:c=b.G();M(a,15,c);break;case 16:c=b.oa();M(a,16,c);break;case 17:c=b.oa();M(a,17,c);break;case 18:c=new Sz;b.R(c,OA);mz(a,18,c,Sz,void 0);break;case 19:c=b.G();M(a,19,c);break;case 20:c=b.oa();M(a,20,c);break;case 21:c=b.oa();M(a,21,c);break;case 22:c=b.oa();M(a,22,c);break;case 23:c=b.oa();M(a,23,c);break;case 24:c=b.oa();M(a,24,c);break;default:b.za()}return a}sA.prototype.ra=function(){var a=new F;Bpa(this,a);return a.wa()};
1530function Bpa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,Sz,2);0<c.length&&b.Da(2,c,PA);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);null!=c&&b.gb(5,c);c=I(a,6);null!=c&&b.gb(6,c);c=I(a,7);null!=c&&b.gb(7,c);c=I(a,8);null!=c&&b.gb(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);
1530null!=c&&b.gb(10,c);c=I(a,11);null!=c&&b.gb(11,c);c=I(a,12);null!=c&&b.ma(12,c);c=I(a,13);null!=c&&b.gb(13,c);c=I(a,14);null!=c&&b.gb(14,c);c=I(a,15);null!=c&&b.H(15,c);c=I(a,16);null!=c&&b.ma(16,c);c=I(a,17);
1531null!=c&&b.ma(17,c);c=S(a,Sz,18);0<c.length&&b.Da(18,c,PA);c=I(a,19);null!=c&&b.H(19,c);c=I(a,20);null!=c&&b.ma(20,c);c=I(a,21);null!=c&&b.ma(21,c);c=I(a,22);null!=c&&b.ma(22,c);c=I(a,23);null!=c&&b.ma(23,c);c=I(a,24);null!=c&&b.ma(24,c)}sA.prototype.rb=function(){return L(this,1,"")};sA.prototype.Yf=function(){return L(this,19,"")};var Qna=[2,16];tA.prototype.sa=function(a){return roa(a,this)};
1532function roa(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,vn:bz(S(b,Sz,2),JA,a),orientation:null==(c=I(b,3))?void 0:c,kW:null==(c=I(b,4))?void 0:c,mC:null==(c=I(b,5))?void 0:c,nC:null==(c=I(b,6))?void 0:c,nt:null==(c=I(b,7))?void 0:c,JC:null==(c=I(b,8))?void 0:c,IC:null==(c=I(b,9))?void 0:c,sC:null==(c=I(b,10))?void 0:c,uC:null==(c=I(b,11))?void 0:c,tC:null==(c=I(b,12))?void 0:c,HA:null==(c=I(b,13))?void 0:c,label:null==(c=I(b,14))?void 0:c,fq:null==(c=I(b,15))?void 0:c,Xr:bz(S(b,Sz,16),JA,a),Ff:null==
1533(c=I(b,17))?void 0:c,check:null==(c=I(b,18))?void 0:c,before:null==(c=I(b,19))?void 0:c,after:null==(c=I(b,20))?void 0:c,e3:null==(c=I(b,21))?void 0:c,d3:null==(c=I(b,22))?void 0:c,Xs:null==(c=I(b,23))?void 0:c,QH:null==(c=I(b,24))?void 0:c};a&&(d.xa=b);return d}
1534function Xoa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new Sz;b.R(c,OA);mz(a,2,c,Sz,void 0);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=b.fb();M(a,5,c);break;case 6:c=b.fb();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;case 8:c=b.fb();M(a,8,c);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.fb();M(a,10,c);break;case 11:c=b.fb();M(a,11,c);break;case 12:c=b.oa();M(a,12,c);break;case 13:c=b.fb();M(a,13,c);break;case 14:c=b.G();
1535M(a,14,c);break;case 15:c=b.oa();M(a,15,c);break;case 16:c=new Sz;b.R(c,OA);mz(a,16,c,Sz,void 0);break;case 17:c=b.G();M(a,17,c);break;case 18:c=b.oa();M(a,18,c);break;case 19:c=b.G();M(a,19,c);break;case 20:c=b.G();M(a,20,c);break;case 21:c=b.G();M(a,21,c);break;case 22:c=b.G();M(a,22,c);break;case 23:c=b.oa();M(a,23,c);break;case 24:c=b.oa();M(a,24,c);break;default:b.za()}return a}tA.prototype.ra=function(){var a=new F;Cpa(this,a);return a.wa()};
1536function Cpa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,Sz,2);0<c.length&&b.Da(2,c,PA);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);null!=c&&b.gb(5,c);c=I(a,6);null!=c&&b.gb(6,c);c=I(a,7);null!=c&&b.gb(7,c);c=I(a,8);null!=c&&b.gb(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.gb(10,c);c=I(a,11);null!=c&&b.gb(11,c);c=I(a,12);null!=c&&b.ma(12,c);c=I(a,13);null!=c&&b.gb(13,c);c=I(a,14);null!=c&&b.H(14,c);c=I(a,15);null!=c&&b.ma(15,c);c=S(a,Sz,16);0<c.length&&b.Da(16,c,PA);c=
1537I(a,17);null!=c&&b.H(17,c);c=I(a,18);null!=c&&b.ma(18,c);c=I(a,19);null!=c&&b.H(19,c);c=I(a,20);null!=c&&b.H(20,c);c=I(a,21);null!=c&&b.H(21,c);c=I(a,22);null!=c&&b.H(22,c);c=I(a,23);null!=c&&b.ma(23,c);c=I(a,24);null!=c&&b.ma(24,c)}tA.prototype.rb=function(){return L(this,1,"")};tA.prototype.Yf=function(){return L(this,17,"")};var Rna=[1,3,20];h=uA.prototype;h.sa=function(a){return soa(a,this)};
1538function soa(a,b){var c,d={Oe:bz(b.hb(),JA,a),id:null==(c=I(b,2))?void 0:c,vn:bz(S(b,Sz,3),JA,a),orientation:null==(c=I(b,4))?void 0:c,display:null==(c=I(b,5))?void 0:c,mC:null==(c=I(b,6))?void 0:c,nC:null==(c=I(b,7))?void 0:c,nt:null==(c=I(b,8))?void 0:c,JC:null==(c=I(b,9))?void 0:c,IC:null==(c=I(b,10))?void 0:c,sC:null==(c=I(b,11))?void 0:c,uC:null==(c=I(b,12))?void 0:c,tC:null==(c=I(b,13))?void 0:c,Tla:null==(c=I(b,14))?void 0:c,columns:null==(c=I(b,15))?void 0:c,yka:null==(c=I(b,16))?void 0:c,
1539HA:null==(c=I(b,17))?void 0:c,label:null==(c=I(b,18))?void 0:c,fq:null==(c=I(b,19))?void 0:c,Xr:bz(S(b,Sz,20),JA,a),Ff:null==(c=I(b,21))?void 0:c,check:null==(c=I(b,22))?void 0:c,Xs:null==(c=I(b,23))?void 0:c,QH:null==(c=I(b,24))?void 0:c,bx:null==(c=I(b,25))?void 0:c};a&&(d.xa=b);return d}
1540function Yoa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();M(a,2,c);break;case 3:c=new Sz;b.R(c,OA);mz(a,3,c,Sz,void 0);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.fb();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;case 8:c=b.fb();M(a,8,c);break;case 9:c=b.fb();M(a,9,c);break;case 10:c=b.oa();M(a,10,c);break;case 11:c=b.fb();M(a,11,c);break;case 12:c=b.fb();M(a,12,c);break;case 13:c=b.oa();M(a,13,c);
1541break;case 14:c=b.oa();M(a,14,c);break;case 15:c=b.fb();M(a,15,c);break;case 16:c=b.oa();M(a,16,c);break;case 17:c=b.fb();M(a,17,c);break;case 18:c=b.G();M(a,18,c);break;case 19:c=b.oa();M(a,19,c);break;case 20:c=new Sz;b.R(c,OA);mz(a,20,c,Sz,void 0);break;case 21:c=b.G();
1541M(a,21,c);break;case 22:c=b.oa();M(a,22,c);break;case 23:c=b.oa();M(a,23,c);break;case 24:c=b.oa();M(a,24,c);break;case 25:c=b.oa();M(a,25,c);break;default:b.za()}return a}h.ra=function(){var a=new F;Dpa(this,a);return a.wa()};
1542function Dpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=S(a,Sz,3);0<c.length&&b.Da(3,c,PA);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.gb(6,c);c=I(a,7);null!=c&&b.gb(7,c);c=I(a,8);null!=c&&b.gb(8,c);c=I(a,9);null!=c&&b.gb(9,c);c=I(a,10);null!=c&&b.ma(10,c);c=I(a,11);null!=c&&b.gb(11,c);c=I(a,12);null!=c&&b.gb(12,c);c=I(a,13);null!=c&&b.ma(13,c);c=I(a,14);null!=c&&b.ma(14,c);c=I(a,15);null!=c&&b.gb(15,c);c=I(a,16);null!=c&&b.ma(16,c);c=I(a,
154317);null!=c&&b.gb(17,c);c=I(a,18);null!=c&&b.H(18,c);c=I(a,19);null!=c&&b.ma(19,c);c=S(a,Sz,20);0<c.length&&b.Da(20,c,PA);c=I(a,21);null!=c&&b.H(21,c);c=I(a,22);null!=c&&b.ma(22,c);c=I(a,23);null!=c&&b.ma(23,c);c=I(a,24);null!=c&&b.ma(24,c);c=I(a,25);null!=c&&b.ma(25,c)}h.hb=function(){return S(this,Sz,1)};h.rb=function(){return L(this,2,"")};h.Yf=function(){return L(this,21,"")};var Sna=[1,3,5];h=vA.prototype;h.sa=function(a){return toa(a,this)};
1544function toa(a,b){var c,d={Oe:bz(b.hb(),JA,a),value:null==(c=I(b,2))?void 0:c,vn:bz(S(b,Sz,3),JA,a),fq:null==(c=I(b,4))?void 0:c,Xr:bz(S(b,Sz,5),JA,a),bx:null==(c=I(b,6))?void 0:c,$N:null==(c=I(b,7))?void 0:c};a&&(d.xa=b);return d}
1545function Zoa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();a.setValue(c);break;case 3:c=new Sz;b.R(c,OA);mz(a,3,c,Sz,void 0);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=new Sz;b.R(c,OA);mz(a,5,c,Sz,void 0);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.oa();M(a,7,c);break;default:b.za()}return a}h.ra=function(){var a=new F;Epa(this,a);return a.wa()};
1546function Epa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=S(a,Sz,3);0<c.length&&b.Da(3,c,PA);c=I(a,4);null!=c&&b.ma(4,c);c=S(a,Sz,5);0<c.length&&b.Da(5,c,PA);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ma(7,c)}h.hb=function(){return S(this,Sz,1)};h.getValue=function(){return L(this,2,"")};h.setValue=function(a){return M(this,2,a)};h.kg=function(){return null!=I(this,2)};h.Ci=function(){return L(this,7,0)};var Tna=[1];wA.prototype.sa=function(a){return uoa(a,this)};
1547function uoa(a,b){var c={Oe:bz(b.hb(),JA,a)};a&&(c.xa=b);return c}function $oa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;default:b.za()}return a}wA.prototype.ra=function(){var a=new F;Fpa(this,a);return a.wa()};function Fpa(a,b){a=a.hb();0<a.length&&b.Da(1,a,PA)}wA.prototype.hb=function(){return S(this,Sz,1)};xA.prototype.sa=function(a){return xoa(a,this)};
1548function xoa(a,b){var c,d={from:null==(c=I(b,1))?void 0:c,NA:null==(c=I(b,2))?void 0:c,jb:null==(c=I(b,3))?void 0:c,le:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}function cpa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;default:b.za()}return a}xA.prototype.ra=function(){var a=new F;Ipa(this,a);return a.wa()};
1549function Ipa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c)}var Una=[1];h=yA.prototype;h.sa=function(a){return woa(a,this)};function woa(a,b){var c,d={Oe:bz(b.hb(),JA,a),text:null==(c=I(b,2))?void 0:c,Tfa:null==(c=I(b,3))?void 0:c,name:null==(c=I(b,4))?void 0:c,Gja:null==(c=I(b,5))?void 0:c,Sfa:null==(c=I(b,6))?void 0:c};a&&(d.xa=b);return d}
1550function bpa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;case 2:c=b.G();a.rl(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();a.sc(c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;default:b.za()}return a}h.ra=function(){var a=new F;Hpa(this,a);return a.wa()};
1551function Hpa(a,b){var c=a.hb();0<c.length&&b.Da(1,c,PA);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.ma(6,c)}h.hb=function(){return S(this,Sz,1)};h.eg=function(){return L(this,2,"")};h.rl=function(a){M(this,2,a)};h.kb=function(){return L(this,4,"")};h.sc=function(a){M(this,4,a)};var Vna=[1];zA.prototype.sa=function(a){return yoa(a,this)};function yoa(a,b){var c={Oe:bz(b.hb(),JA,a)};a&&(c.xa=b);return c}
1552function dpa(a,b){for(;
1552b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new Sz;b.R(c,OA);mz(a,1,c,Sz,void 0);break;default:b.za()}return a}zA.prototype.ra=function(){var a=new F;Jpa(this,a);return a.wa()};function Jpa(a,b){a=a.hb();0<a.length&&b.Da(1,a,PA)}zA.prototype.hb=function(){return S(this,Sz,1)};var Wna=[2,7];h=AA.prototype;h.sa=function(a){return zoa(a,this)};
1553function zoa(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,vn:bz(S(b,Sz,2),JA,a),orientation:null==(c=I(b,3))?void 0:c,nt:null==(c=I(b,4))?void 0:c,I0:null==(c=I(b,5))?void 0:c,fq:null==(c=I(b,6))?void 0:c,Xr:bz(S(b,Sz,7),JA,a),Ff:null==(c=I(b,8))?void 0:c,check:null==(c=I(b,9))?void 0:c,readOnly:null==(c=I(b,10))?void 0:c};a&&(d.xa=b);return d}
1554function epa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new Sz;b.R(c,OA);mz(a,2,c,Sz,void 0);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.fb();M(a,4,c);break;case 5:c=b.fb();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=new Sz;b.R(c,OA);mz(a,7,c,Sz,void 0);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.oa();a.Lg(c);break;default:b.za()}return a}h.ra=function(){var a=new F;Kpa(this,a);return a.wa()};
1555function Kpa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,Sz,2);0<c.length&&b.Da(2,c,PA);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.gb(4,c);c=I(a,5);null!=c&&b.gb(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=S(a,Sz,7);0<c.length&&b.Da(7,c,PA);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.ma(10,c)}h.rb=function(){return L(this,1,"")};h.Yf=function(){return L(this,8,"")};h.Bm=function(){return L(this,10,0)};h.Lg=function(a){M(this,10,a)};h.Ho=function(){return null!=I(this,10)};
1556var Xna=[2,10];BA.prototype.sa=function(a){return Eoa(a,this)};
1557function Eoa(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,vn:bz(S(b,Sz,2),JA,a),orientation:null==(c=I(b,3))?void 0:c,display:null==(c=I(b,4))?void 0:c,nt:null==(c=I(b,5))?void 0:c,QH:null==(c=I(b,6))?void 0:c,HA:null==(c=I(b,7))?void 0:c,label:null==(c=I(b,8))?void 0:c,fq:null==(c=I(b,9))?void 0:c,Xr:bz(S(b,Sz,10),JA,a),Ff:null==(c=I(b,11))?void 0:c,check:null==(c=I(b,12))?void 0:c,Xs:null==(c=I(b,13))?void 0:c,before:null==(c=I(b,14))?void 0:c,after:null==(c=I(b,15))?void 0:c,e3:null==(c=I(b,16))?
1558void 0:c,d3:null==(c=I(b,17))?void 0:c};a&&(d.xa=b);return d}
1559function jpa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new Sz;b.R(c,OA);mz(a,2,c,Sz,void 0);break;case 3:c=b.oa();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=b.fb();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=new Sz;b.R(c,OA);mz(a,10,c,Sz,void 0);break;case 11:c=b.G();M(a,11,c);break;case 12:c=b.oa();M(a,12,c);break;case 13:c=b.oa();M(a,13,c);break;
1560case 14:c=b.G();M(a,14,c);break;case 15:c=b.G();M(a,15,c);break;case 16:c=b.G();M(a,16,c);break;case 17:c=b.G();M(a,17,c);break;default:b.za()}return a}BA.prototype.ra=function(){var a=new F;Ppa(this,a);return a.wa()};
1561function Ppa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,Sz,2);0<c.length&&b.Da(2,c,PA);c=I(a,3);null!=c&&b.ma(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);null!=c&&b.gb(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.gb(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=S(a,Sz,10);0<c.length&&b.Da(10,c,PA);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.ma(12,c);c=I(a,13);null!=c&&b.ma(13,c);c=I(a,14);null!=c&&b.H(14,c);c=I(a,15);null!=c&&b.H(15,c);c=I(a,16);null!=c&&b.H(16,c);c=I(a,
156217);null!=c&&b.H(17,c)}BA.prototype.rb=function(){return L(this,1,"")};BA.prototype.Yf=function(){return L(this,11,"")};function SA(a){Yy(this,a,0,-1,Tpa,null)}x(SA,H);function TA(a){Yy(this,a,0,-1,Upa,null)}x(TA,H);function UA(a){Yy(this,a,0,-1,null,null)}x(UA,H);function VA(a){Yy(this,a,0,-1,Vpa,null)}x(VA,H);var Tpa=[1];SA.prototype.sa=function(a){return WA(a,this)};function WA(a,b){var c,d={uV:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}function XA(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();YA(a,c);break;default:b.za()}return a}SA.prototype.ra=function(){var a=new F;ZA(this,a);return a.wa()};
1563function ZA(a,b){a=I(a,1);0<a.length&&b.vb(1,a)}function YA(a,b){kz(a,1,b,void 0)}var Upa=[1];h=TA.prototype;h.sa=function(a){return $A(a,this)};function $A(a,b){var c,d={uV:null==(c=I(b,1))?void 0:c,value:null==(c=I(b,2))?void 0:c,Pja:null==(c=dz(b,3))?void 0:c};a&&(d.xa=b);return d}function aB(a,b){for(;
1563b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();bB(a,c);break;case 2:c=b.G();a.setValue(c);break;case 3:c=b.Ba();M(a,3,c);break;default:b.za()}return a}h.ra=function(){var a=new F;cB(this,a);return a.wa()};
1564function cB(a,b){var c=I(a,1);0<c.length&&b.vb(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ya(3,c)}function bB(a,b){kz(a,1,b,void 0)}h.getValue=function(){return L(this,2,"")};h.setValue=function(a){return M(this,2,a)};h.kg=function(){return null!=I(this,2)};UA.prototype.sa=function(a){return dB(a,this)};
1565function dB(a,b){var c,d={type:null==(c=I(b,1))?void 0:c,Fka:(c=N(b,TA,2))&&$A(a,c),Gka:(c=N(b,UA,3))&&dB(a,c),mna:(c=N(b,TA,4))&&$A(a,c),nna:(c=N(b,UA,5))&&dB(a,c)};a&&(d.xa=b);return d}function eB(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=new TA;b.R(c,aB);T(a,2,c);break;case 3:c=new UA;b.R(c,eB);T(a,3,c);break;case 4:c=new TA;b.R(c,aB);T(a,4,c);break;case 5:c=new UA;b.R(c,eB);T(a,5,c);break;default:b.za()}return a}
1566UA.prototype.ra=function(){var a=new F;fB(this,a);return a.wa()};function fB(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=N(a,TA,2);
1566null!=c&&b.aa(2,c,cB);c=N(a,UA,3);null!=c&&b.aa(3,c,fB);c=N(a,TA,4);null!=c&&b.aa(4,c,cB);c=N(a,UA,5);null!=c&&b.aa(5,c,fB)}var Vpa=[6,8,9,11,16];VA.prototype.sa=function(a){return gB(a,this)};
1567function gB(a,b){var c,d={table:null==(c=I(b,1))?void 0:c,w_:null==(c=I(b,2))?void 0:c,zna:(c=N(b,UA,3))&&dB(a,c),offset:null==(c=I(b,4))?void 0:c,count:null==(c=I(b,5))?void 0:c,kna:bz(S(b,SA,6),WA,a),Nga:(c=N(b,SA,7))&&WA(a,c),Vla:bz(S(b,SA,8),WA,a),fpa:null==(c=I(b,9))?void 0:c,Ib:null==(c=I(b,10))?void 0:c,ona:null==(c=I(b,11))?void 0:c,b$:null==(c=I(b,12))?void 0:c,mja:null==(c=dz(b,13))?void 0:c,HX:null==(c=dz(b,14))?void 0:c,Vg:null==(c=I(b,15))?void 0:c,Tga:bz(S(b,TA,16),$A,a)};a&&(d.xa=b);
1568return d}
1569function Wpa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=new UA;b.R(c,eB);T(a,3,c);break;case 4:c=b.eb();M(a,4,c);break;case 5:c=b.eb();M(a,5,c);break;case 6:c=new SA;b.R(c,XA);hB(a,c);break;case 7:c=new SA;b.R(c,XA);T(a,7,c);break;case 8:c=new SA;b.R(c,XA);mz(a,8,c,SA,void 0);break;case 9:c=b.G();kz(a,9,c,void 0);break;case 10:c=b.G();M(a,10,c);break;case 11:c=b.G();kz(a,11,c,void 0);break;case 12:c=b.G();M(a,12,c);break;case 13:c=
1570b.Ba();M(a,13,c);break;case 14:c=b.Ba();M(a,14,c);break;case 15:c=b.G();M(a,15,c);break;case 16:c=new TA;b.R(c,aB);mz(a,16,c,TA,void 0);break;default:b.za()}return a}VA.prototype.ra=function(){var a=new F;iB(this,a);return a.wa()};
1571function iB(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=N(a,UA,3);null!=c&&b.aa(3,c,fB);c=I(a,4);null!=c&&b.Ob(4,c);c=I(a,5);null!=c&&b.Ob(5,c);c=S(a,SA,6);0<c.length&&b.Da(6,c,ZA);c=N(a,SA,7);null!=c&&b.aa(7,c,ZA);c=S(a,SA,8);0<c.length&&b.Da(8,c,ZA);c=I(a,9);0<c.length&&b.vb(9,c);c=I(a,10);null!=c&&b.H(10,c);c=I(a,11);0<c.length&&b.vb(11,c);c=I(a,12);null!=c&&b.H(12,c);c=I(a,13);null!=c&&b.ya(13,c);c=I(a,14);null!=c&&b.ya(14,c);c=I(a,15);null!=c&&b.H(15,c);c=S(a,TA,16);0<c.length&&
1572b.Da(16,c,cB)}VA.prototype.yj=function(){return L(this,5,0)};function hB(a,b){mz(a,6,b,SA,void 0)}VA.prototype.dc=function(){return L(this,10,"")};function jB(a){Yy(this,a,0,-1,Xpa,null)}x(jB,H);function kB(a){Yy(this,a,0,-1,Ypa,null)}x(kB,H);var Xpa=[4,5];jB.prototype.sa=function(a){return Zpa(a,this)};function Zpa(a,b){var c,d={Xia:null==(c=I(b,1))?void 0:c,displayName:null==(c=I(b,2))?void 0:c,separator:null==(c=I(b,3))?void 0:c,GX:null==(c=I(b,4))?void 0:c,Hga:bz(S(b,kB,5),$pa,a),description:null==(c=I(b,6))?void 0:c,sga:null==(c=dz(b,7))?void 0:c};a&&(d.xa=b);return d}
1573function aqa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();kz(a,4,c,void 0);break;case 5:c=new kB;b.R(c,bqa);mz(a,5,c,kB,void 0);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.Ba();M(a,7,c);break;default:b.za()}return a}jB.prototype.ra=function(){var a=new F;cqa(this,a);return a.wa()};
1574function cqa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);0<c.length&&b.vb(4,c);c=S(a,kB,5);0<c.length&&b.Da(5,c,dqa);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.ya(7,c)}jB.prototype.zk=function(){return L(this,2,"")};jB.prototype.getDescription=function(){return L(this,6,"")};var Ypa=[2,3];h=kB.prototype;h.sa=function(a){return $pa(a,this)};
1575function $pa(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,vma:null==(c=I(b,2))?void 0:c,K3:null==(c=I(b,3))?void 0:c,required:null==(c=dz(b,4))?void 0:c,description:null==(c=I(b,5))?void 0:c,IA:null==(c=I(b,6))?void 0:c,ox:null==(c=I(b,7))?void 0:c};a&&(d.xa=b);return d}
1576function bqa(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();kz(a,2,c,void 0);break;case 3:c=b.G();kz(a,3,c,void 0);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.fb();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;default:b.za()}return a}h.ra=function(){var a=new F;dqa(this,a);return a.wa()};
1577function dqa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);0<c.length&&b.vb(2,c);c=I(a,3);0<c.length&&b.vb(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.gb(6,c);c=I(a,7);null!=c&&b.gb(7,c)}h.rb=function(){return L(this,1,"")};h.Pn=function(){return fz(this,4,!1)};h.getDescription=function(){return L(this,5,"")};function lB(a){Yy(this,a,0,500,eqa,null)}x(lB,H);function mB(a){Yy(this,a,0,-1,null,null)}x(mB,H);function nB(a){Yy(this,a,0,500,fqa,null)}x(nB,H);function oB(a){Yy(this,a,0,-1,null,null)}x(oB,H);function U(a){Yy(this,a,0,-1,null,null)}x(U,H);function pB(a){Yy(this,a,0,-1,null,null)}x(pB,H);function qB(a){Yy(this,a,0,500,gqa,null)}x(qB,H);function rB(a){Yy(this,a,0,500,hqa,null)}x(rB,H);function sB(a){Yy(this,a,0,500,iqa,null)}x(sB,H);
1577function tB(a){Yy(this,a,0,500,null,null)}x(tB,H);
1578function uB(a){Yy(this,a,0,-1,jqa,null)}x(uB,H);function vB(a){Yy(this,a,0,-1,null,null)}x(vB,H);function wB(a){Yy(this,a,0,-1,null,null)}x(wB,H);function xB(a){Yy(this,a,0,-1,kqa,null)}x(xB,H);function yB(a){Yy(this,a,0,-1,$qa,null)}x(yB,H);function zB(a){Yy(this,a,0,-1,null,null)}x(zB,H);function AB(a){Yy(this,a,0,500,ara,null)}x(AB,H);function BB(a){Yy(this,a,0,-1,null,null)}x(BB,H);function CB(a){Yy(this,a,0,-1,null,null)}x(CB,H);function DB(a){Yy(this,a,0,500,bra,null)}x(DB,H);
1579function EB(a){Yy(this,a,0,-1,null,null)}x(EB,H);function FB(a){Yy(this,a,0,500,cra,null)}x(FB,H);function GB(a){Yy(this,a,0,-1,null,null)}x(GB,H);function HB(a){Yy(this,a,0,500,dra,null)}x(HB,H);function IB(a){Yy(this,a,0,-1,null,null)}x(IB,H);function JB(a){Yy(this,a,0,-1,era,null)}x(JB,H);function KB(a){Yy(this,a,0,500,fra,null)}x(KB,H);function LB(a){Yy(this,a,0,500,gra,null)}x(LB,H);function NB(a){Yy(this,a,0,-1,null,null)}x(NB,H);function OB(a){Yy(this,a,0,-1,null,null)}x(OB,H);
1580function PB(a){Yy(this,a,0,-1,null,null)}x(PB,H);function QB(a){Yy(this,a,0,-1,null,null)}x(QB,H);function RB(a){Yy(this,a,0,-1,hra,null)}x(RB,H);function SB(a){Yy(this,a,0,-1,null,null)}x(SB,H);function TB(a){Yy(this,a,0,-1,null,null)}x(TB,H);function UB(a){Yy(this,a,0,-1,ira,null)}x(UB,H);function VB(a){Yy(this,a,0,-1,null,null)}x(VB,H);function WB(a){Yy(this,a,0,-1,null,null)}x(WB,H);function XB(a){Yy(this,a,0,500,jra,null)}x(XB,H);function YB(a){Yy(this,a,0,-1,kra,null)}x(YB,H);
1581function ZB(a){Yy(this,a,0,500,lra,null)}x(ZB,H);function $B(a){Yy(this,a,0,-1,mra,null)}x($B,H);function aC(a){Yy(this,a,0,-1,null,null)}x(aC,H);function bC(a){Yy(this,a,0,-1,nra,null)}x(bC,H);function cC(a){Yy(this,a,0,-1,null,null)}x(cC,H);function dC(a){Yy(this,a,0,500,null,null)}x(dC,H);function eC(a){Yy(this,a,0,-1,null,null)}x(eC,H);function fC(a){Yy(this,a,0,-1,ora,null)}x(fC,H);function gC(a){Yy(this,a,0,-1,pra,null)}x(gC,H);function hC(a){Yy(this,a,0,-1,null,null)}x(hC,H);
1582function iC(a){Yy(this,a,0,-1,qra,null)}x(iC,H);function jC(a){Yy(this,a,0,-1,null,null)}x(jC,H);function kC(a){Yy(this,a,0,-1,rra,null)}x(kC,H);function lC(a){Yy(this,a,0,-1,sra,null)}x(lC,H);function mC(a){Yy(this,a,0,500,tra,null)}x(mC,H);function nC(a){Yy(this,a,0,-1,ura,null)}x(nC,H);function oC(a){Yy(this,a,0,-1,vra,null)}x(oC,H);function pC(a){Yy(this,a,0,-1,null,null)}x(pC,H);function qC(a){Yy(this,a,0,-1,wra,null)}x(qC,H);function rC(a){Yy(this,a,0,-1,xra,null)}x(rC,H);
1583function sC(a){Yy(this,a,0,-1,yra,null)}x(sC,H);function tC(a){Yy(this,a,0,-1,null,null)}x(tC,H);function uC(a){Yy(this,a,0,-1,null,null)}x(uC,H);function vC(a){Yy(this,a,0,-1,zra,null)}x(vC,H);function wC(a){Yy(this,a,0,-1,Ara,null)}x(wC,H);function xC(a){Yy(this,a,0,-1,null,null)}x(xC,H);function yC(a){Yy(this,a,0,-1,null,null)}x(yC,H);function zC(a){Yy(this,a,0,-1,Bra,null)}x(zC,H);function AC(a){Yy(this,a,0,-1,Cra,null)}x(AC,H);function BC(a){Yy(this,a,0,-1,Dra,null)}x(BC,H);
1584function CC(a){Yy(this,a,0,-1,Era,null)}x(CC,H);function DC(a){Yy(this,a,0,-1,Fra,null)}x(DC,H);function EC(a){Yy(this,a,0,500,Gra,null)}x(EC,H);function FC(a){Yy(this,a,0,-1,null,null)}x(FC,H);function GC(a){Yy(this,a,0,500,null,null)}x(GC,H);function HC(a){Yy(this,a,0,500,Hra,null)}x(HC,H);function IC(a){Yy(this,a,0,-1,Ira,null)}x(IC,H);function JC(a){Yy(this,a,0,-1,null,null)}x(JC,H);function KC(a){Yy(this,a,0,500,null,null)}x(KC,H);function LC(a){Yy(this,a,0,500,null,null)}x(LC,H);
1585function MC(a){Yy(this,a,0,-1,null,null)}x(MC,H);function NC(a){Yy(this,a,0,500,Jra,null)}x(NC,H);function OC(a){Yy(this,a,0,-1,null,null)}x(OC,H);function PC(a){Yy(this,a,0,500,Kra,null)}x(PC,H);function QC(a){Yy(this,a,0,500,Lra,null)}x(QC,H);function RC(a){Yy(this,a,0,500,null,null)}x(RC,H);function SC(a){Yy(this,a,0,-1,Mra,null)}x(SC,H);function TC(a){Yy(this,a,0,-1,null,null)}x(TC,H);function UC(a){Yy(this,a,0,-1,null,null)}x(UC,H);function VC(a){Yy(this,a,0,-1,null,null)}x(VC,H);
1586function WC(a){Yy(this,a,0,-1,null,null)}x(WC,H);function XC(a){Yy(this,a,0,500,Nra,null)}x(XC,H);function YC(a){Yy(this,a,0,500,Ora,null)}x(YC,H);function ZC(a){Yy(this,a,0,500,Pra,null)}x(ZC,H);
1586function $C(a){Yy(this,a,0,500,null,null)}x($C,H);function aD(a){Yy(this,a,0,-1,null,null)}x(aD,H);function bD(a){Yy(this,a,0,-1,null,null)}x(bD,H);function cD(a){Yy(this,a,0,500,Qra,null)}x(cD,H);function dD(a){Yy(this,a,0,500,Rra,null)}x(dD,H);function eD(a){Yy(this,a,0,-1,Sra,null)}x(eD,H);
1587function fD(a){Yy(this,a,0,500,null,null)}x(fD,H);function gD(a){Yy(this,a,0,-1,null,null)}x(gD,H);function hD(a){Yy(this,a,0,-1,Tra,null)}x(hD,H);function iD(a){Yy(this,a,0,500,null,null)}x(iD,H);function jD(a){Yy(this,a,0,-1,null,null)}x(jD,H);function kD(a){Yy(this,a,0,-1,Ura,null)}x(kD,H);function lD(a){Yy(this,a,0,-1,null,null)}x(lD,H);function mD(a){Yy(this,a,0,-1,null,null)}x(mD,H);var eqa=[5,7,8,9,10,11,16,17,18,21,25,30,36,37,38,39,41,42,43,44,53];h=lB.prototype;
1588h.sa=function(a){var b,c={n5:null==(b=I(this,1))?void 0:b,Tz:null==(b=I(this,2))?void 0:b,Ps:null==(b=I(this,3))?void 0:b,J:(b=N(this,KB,4))&&Vra(a,b),YW:bz(S(this,LB,5),nD,a),search:(b=N(this,VA,6))&&gB(a,b),x_:bz(S(this,qB,7),oD,a),cj:bz(this.Mc(),pD,a),U1:bz(this.Sd(),qD,a),EW:bz(S(this,AB,10),rD,a),CX:bz(S(this,DB,11),sD,a),dna:(b=N(this,OB,12))&&Wra(a,b),ana:(b=N(this,xB,13))&&Xra(a,b),bna:(b=N(this,uB,14))&&Yra(a,b),offset:null==(b=I(this,15))?void 0:b,cna:bz(S(this,wB,16),Zra,a),XS:bz(S(this,
1589YB,17),tD,a),fJ:bz(S(this,CB,18),uD,a),zma:(b=N(this,bC,19))&&$ra(a,b),$ma:(b=N(this,FC,20))&&vD(a,b),qW:bz(S(this,eC,21),wD,a),vV:(b=N(this,gC,22))&&xD(a,b),g0:(b=N(this,iC,23))&&yD(a,b),eV:(b=N(this,kC,24))&&zD(a,b),W3:bz(S(this,oC,25),AD,a),timeline:(b=N(this,sC,26))&&BD(a,b),wH:(b=N(this,tC,27))&&CD(a,b),Uha:(b=N(this,lC,28))&&asa(a,b),XW:(b=N(this,nC,29))&&DD(a,b),TV:bz(S(this,oC,30),AD,a),fha:(b=N(this,uC,31))&&bsa(a,b),xga:(b=N(this,DC,32))&&csa(a,b),mL:(b=N(this,FB,33))&&ED(a,b),Vv:(b=N(this,
1590EC,35))&&FD(a,b),SV:bz(S(this,NC,36),GD,a),mpa:bz(S(this,ZB,37),HD,a),Lfa:bz(S(this,$B,38),ID,a),r0:bz(S(this,SB,39),JD,a),qn:(b=N(this,PC,40))&&KD(a,b),lJ:bz(S(this,KC,41),LD,a),ena:bz(S(this,mB,42),dsa,a),VY:bz(S(this,LC,43),MD,a),h5:bz(S(this,SC,44),ND,a),sia:(b=N(this,Hz,45))&&ona(a,b),nga:(b=OD(this))&&esa(a,b),Vr:(b=N(this,UC,47))&&PD(a,b),vo:(b=N(this,YC,48))&&QD(a,b),tla:(b=N(this,Jz,49))&&tna(a,b),cla:(b=N(this,aD,50))&&fsa(a,b),Ipa:(b=N(this,Fz,51))&&jna(a,b),A3:(b=N(this,ZC,52))&&RD(a,
1591b),x3:bz(S(this,fD,53),SD,a),vendor:(b=N(this,dD,54))&&TD(a,b),Aia:(b=N(this,IB,55))&&UD(a,b),y3:(b=N(this,hD,56))&&gsa(a,b),FW:(b=N(this,fC,57))&&VD(a,b),loa:(b=N(this,kD,58))&&hsa(a,b),mma:(b=N(this,jD,59))&&isa(a,b),cJ:(b=N(this,$C,60))&&WD(a,b),Iha:(b=gz(this,1001,void 0,null))?b.sa(a,void 0):[],Hha:(b=gz(this,1002,void 0,null))?b.sa(a,void 0):[],nja:null==(b=dz(this,1003))?void 0:b,ema:null==(b=I(this,1004))?void 0:b,gma:null==(b=I(this,1005))?void 0:b};a&&(c.xa=this);return c};
1592h.ra=function(){var a=new F;var b=I(this,1);null!=b&&a.ma(1,b);b=I(this,2);null!=b&&a.Ob(2,b);b=I(this,3);null!=b&&a.ma(3,b);b=N(this,KB,4);null!=b&&a.aa(4,b,jsa);b=S(this,LB,5);0<b.length&&a.Da(5,b,XD);b=N(this,VA,6);null!=b&&a.aa(6,b,iB);b=S(this,qB,7);0<b.length&&a.Da(7,b,YD);b=this.Mc();0<b.length&&a.Da(8,b,ZD);b=this.Sd();0<b.length&&a.Da(9,b,$D);b=S(this,AB,10);0<b.length&&a.Da(10,b,aE);b=S(this,DB,11);0<b.length&&a.Da(11,b,bE);b=N(this,OB,12);null!=b&&a.aa(12,b,ksa);b=N(this,xB,13);null!=b&&
1593a.aa(13,b,lsa);b=N(this,uB,14);null!=b&&a.aa(14,b,msa);b=I(this,15);null!=b&&a.Ob(15,b);b=S(this,wB,16);0<b.length&&a.Da(16,b,nsa);b=S(this,YB,17);0<b.length&&a.Da(17,b,cE);b=S(this,CB,18);0<b.length&&a.Da(18,b,dE);b=N(this,bC,19);null!=b&&a.aa(19,b,osa);b=N(this,FC,20);null!=b&&a.aa(20,b,psa);b=S(this,eC,21);0<b.length&&a.Da(21,b,eE);b=N(this,gC,22);null!=b&&a.aa(22,b,fE);b=N(this,iC,23);null!=b&&a.aa(23,b,gE);b=N(this,kC,24);null!=b&&a.aa(24,b,hE);b=S(this,oC,25);0<b.length&&a.Da(25,b,iE);b=N(this,
1594sC,26);null!=b&&a.aa(26,b,jE);b=N(this,tC,27);null!=b&&a.aa(27,b,kE);b=N(this,lC,28);null!=b&&a.aa(28,b,qsa);b=N(this,nC,29);null!=b&&a.aa(29,b,lE);b=S(this,oC,30);0<b.length&&a.Da(30,b,iE);b=N(this,uC,31);null!=b&&a.aa(31,b,rsa);b=N(this,DC,32);null!=b&&a.aa(32,b,ssa);b=N(this,FB,33);null!=b&&a.aa(33,b,mE);b=N(this,EC,35);null!=b&&a.aa(35,b,nE);b=S(this,NC,36);0<b.length&&a.Da(36,b,oE);b=S(this,ZB,37);0<b.length&&a.Da(37,b,pE);b=S(this,$B,38);0<b.length&&a.Da(38,b,qE);b=S(this,SB,39);0<b.length&&
1595a.Da(39,b,rE);b=N(this,PC,40);null!=b&&a.aa(40,b,sE);b=S(this,KC,41);0<b.length&&a.Da(41,b,tE);b=S(this,mB,42);0<b.length&&a.Da(42,b,tsa);b=S(this,LC,43);0<b.length&&a.Da(43,b,uE);b=S(this,SC,44);0<b.length&&a.Da(44,b,vE);b=N(this,Hz,45);null!=b&&a.aa(45,b,pna);b=OD(this);null!=b&&a.aa(46,b,usa);b=N(this,UC,47);null!=b&&a.aa(47,b,wE);b=N(this,YC,48);null!=b&&a.aa(48,b,xE);b=N(this,Jz,49);null!=b&&a.aa(49,b,una);b=N(this,aD,50);null!=b&&a.aa(50,b,vsa);b=N(this,Fz,51);null!=b&&a.aa(51,b,kna);b=N(this,
1596ZC,52);null!=b&&a.aa(52,b,yE);b=S(this,fD,53);0<b.length&&a.Da(53,b,zE);b=N(this,dD,54);null!=b&&a.aa(54,b,AE);b=N(this,IB,55);null!=b&&a.aa(55,b,BE);b=N(this,hD,56);null!=b&&a.aa(56,b,wsa);b=N(this,fC,57);null!=b&&a.aa(57,b,CE);b=N(this,kD,58);null!=b&&a.aa(58,b,xsa);b=N(this,jD,59);null!=b&&a.aa(59,b,ysa);b=N(this,$C,60);null!=b&&a.aa(60,b,DE);(b=gz(this,1001,!0,null))&&0<b.Dc()&&b.ra(1001,a,F.prototype.H,F.prototype.ma);(b=gz(this,1002,!0,null))&&0<b.Dc()&&b.ra(1002,a,F.prototype.H,F.prototype.ma);
1597b=I(this,1003);null!=b&&a.ya(1003,b);b=I(this,1004);null!=b&&a.H(1004,b);b=I(this,1005);null!=b&&a.H(1005,b);return a.wa()};function EE(a,b){M(a,1,b)}h.Sa=function(){return L(this,2,0)};function FE(a,b){M(a,2,b)}h.Va=function(){return null!=I(this,2)};function GE(a,b){M(a,3,b)}function HE(a,b){mz(a,5,b,LB,void 0)}h.Mc=function(){return S(this,rB,8)};function IE(a,b){mz(a,8,b,rB,void 0)}h.Sd=function(){return S(this,sB,9)};function JE(a,b){mz(a,9,b,sB,void 0)}
1598function KE(a,b){mz(a,10,b,AB,void 0)}function OD(a){return N(a,TC,46)}mB.prototype.sa=function(a){return dsa(a,this)};function dsa(a,b){var c,d={Tz:null==(c=I(b,1))?void 0:c,nK:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}mB.prototype.ra=function(){var a=new F;tsa(this,a);return a.wa()};function tsa(a,b){var c=I(a,1);null!=c&&b.Ob(1,c);c=I(a,2);null!=c&&b.mf(2,c)}mB.prototype.Sa=function(){return L(this,1,0)};mB.prototype.Va=function(){return null!=I(this,1)};
1599var fqa=[5,6,7,8,9,10,14,15,16,19,20,21,27,32,34,36,37,39,40,43,44,47,1001,1004,1006,1008,1009,1012];h=nB.prototype;
1600h.sa=function(a){var b,c={responseType:null==(b=I(this,1))?void 0:b,Tz:null==(b=I(this,2))?void 0:b,be:null==(b=I(this,3))?void 0:b,version:(b=N(this,QB,4))&&zsa(a,b),YW:bz(LE(this),nD,a),x_:bz(ME(this),oD,a),cj:bz(this.Mc(),pD,a),U1:bz(this.Sd(),qD,a),EW:bz(NE(this),rD,a),CX:bz(OE(this),sD,a),jma:(b=N(this,PB,11))&&Asa(a,b),redirect:(b=N(this,VB,12))&&Bsa(a,b),Ala:null==(b=I(this,13))?void 0:b,kla:bz(S(this,JB,14),Csa,a),fJ:bz(S(this,CB,15),uD,a),rF:bz(S(this,cC,16),Dsa,a),jfa:(b=N(this,FC,17))&&
1601vD(a,b),ega:(b=N(this,UB,18))&&Esa(a,b),fga:null==(b=I(this,19))?void 0:b,XS:bz(S(this,YB,20),tD,a),qW:bz(S(this,eC,21),wD,a),vV:(b=N(this,gC,22))&&xD(a,b),Oja:null==(b=dz(this,23))?void 0:b,g0:(b=N(this,iC,24))&&yD(a,b),eV:(b=N(this,kC,25))&&zD(a,b),iia:null==(b=I(this,26))?void 0:b,W3:bz(S(this,oC,27),AD,a),timeline:(b=N(this,sC,28))&&BD(a,b),wH:(b=N(this,tC,29))&&CD(a,b),Tha:(b=N(this,nC,30))&&DD(a,b),pk:(b=N(this,wC,31))&&Fsa(a,b),yla:bz(S(this,zC,32),Gsa,a),mL:(b=N(this,FB,33))&&ED(a,b),jha:null==
1602(b=I(this,34))?void 0:b,oma:bz(S(this,GC,36),Hsa,a),lJ:bz(PE(this),LD,a),Vv:(b=QE(this))&&FD(a,b),SV:bz(RE(this),GD,a),pna:bz(SE(this),HD,a),rga:null==(b=I(this,41))?void 0:b,qn:(b=N(this,PC,42))&&KD(a,b),via:bz(S(this,zz,43),Xma,a),h5:bz(S(this,SC,44),ND,a),tia:(b=N(this,Iz,45))&&qna(a,b),Vr:(b=N(this,UC,46))&&PD(a,b),Ana:bz(S(this,MC,47),Isa,a),R0:(b=N(this,bD,48))&&Jsa(a,b),RK:null==(b=I(this,49))?void 0:b,y3:(b=N(this,iD,50))&&Ksa(a,b),FW:(b=N(this,fC,51))&&VD(a,b),VY:bz(S(this,LC,1001),MD,a),
1603vo:(b=N(this,YC,1002))&&QD(a,b),ula:(b=N(this,Kz,1003))&&vna(a,b),Nka:bz(S(this,jB,1004),Zpa,a),xpa:(b=N(this,Gz,1005))&&lna(a,b),Apa:bz(S(this,dD,1006),TD,a),A3:(b=N(this,ZC,1007))&&RD(a,b),Yfa:bz(S(this,gD,1008),Lsa,a),x3:bz(S(this,fD,1009),SD,a),wla:null==(b=dz(this,1010))?void 0:b,cJ:(b=N(this,$C,1011))&&WD(a,b),Wma:bz(S(this,NB,1012),Msa,a)};a&&(c.xa=this);return c};
1604h.ra=function(){var a=new F;var b=I(this,1);null!=b&&a.ma(1,b);b=I(this,2);null!=b&&a.Ob(2,b);b=I(this,3);null!=b&&a.H(3,b);b=N(this,QB,4);null!=b&&a.aa(4,b,Nsa);b=LE(this);0<b.length&&a.Da(5,b,XD);b=ME(this);0<b.length&&a.Da(6,b,YD);b=this.Mc();0<b.length&&a.Da(7,b,ZD);b=this.Sd();0<b.length&&a.Da(8,b,$D);b=NE(this);0<b.length&&a.Da(9,b,aE);b=OE(this);0<b.length&&a.Da(10,b,bE);b=N(this,PB,11);null!=b&&a.aa(11,b,Osa);b=N(this,VB,12);
1604null!=b&&a.aa(12,b,Psa);b=I(this,13);null!=b&&a.Ob(13,b);b=S(this,
1605JB,14);0<b.length&&a.Da(14,b,Qsa);b=S(this,CB,15);0<b.length&&a.Da(15,b,dE);b=S(this,cC,16);0<b.length&&a.Da(16,b,Rsa);b=N(this,FC,17);null!=b&&a.aa(17,b,psa);b=N(this,UB,18);null!=b&&a.aa(18,b,Ssa);b=I(this,19);0<b.length&&a.vb(19,b);b=S(this,YB,20);0<b.length&&a.Da(20,b,cE);b=S(this,eC,21);0<b.length&&a.Da(21,b,eE);b=N(this,gC,22);null!=b&&a.aa(22,b,fE);b=I(this,23);null!=b&&a.ya(23,b);b=N(this,iC,24);null!=b&&a.aa(24,b,gE);b=N(this,kC,25);null!=b&&a.aa(25,b,hE);b=I(this,26);null!=b&&a.Ob(26,b);
1606b=S(this,oC,27);0<b.length&&a.Da(27,b,iE);b=N(this,sC,28);null!=b&&a.aa(28,b,jE);b=N(this,tC,29);null!=b&&a.aa(29,b,kE);b=N(this,nC,30);null!=b&&a.aa(30,b,lE);b=N(this,wC,31);null!=b&&a.aa(31,b,Tsa);b=S(this,zC,32);0<b.length&&a.Da(32,b,Usa);b=N(this,FB,33);null!=b&&a.aa(33,b,mE);b=I(this,34);0<b.length&&a.vb(34,b);b=S(this,GC,36);0<b.length&&a.Da(36,b,Vsa);b=PE(this);0<b.length&&a.Da(37,b,tE);b=QE(this);null!=b&&a.aa(38,b,nE);b=RE(this);0<b.length&&a.Da(39,b,oE);b=SE(this);0<b.length&&a.Da(40,b,
1607pE);b=I(this,41);null!=b&&a.H(41,b);b=N(this,PC,42);null!=b&&a.aa(42,b,sE);b=S(this,zz,43);0<b.length&&a.Da(43,b,$ma);b=S(this,SC,44);0<b.length&&a.Da(44,b,vE);b=N(this,Iz,45);null!=b&&a.aa(45,b,sna);b=N(this,UC,46);null!=b&&a.aa(46,b,wE);b=S(this,MC,47);0<b.length&&a.Da(47,b,Wsa);b=N(this,bD,48);null!=b&&a.aa(48,b,Xsa);b=I(this,49);null!=b&&a.H(49,b);b=N(this,iD,50);null!=b&&a.aa(50,b,Ysa);b=N(this,fC,51);null!=b&&a.aa(51,b,CE);b=S(this,LC,1001);0<b.length&&a.Da(1001,b,uE);b=N(this,YC,1002);null!=
1608b&&a.aa(1002,b,xE);b=N(this,Kz,1003);null!=b&&a.aa(1003,b,xna);b=S(this,jB,1004);0<b.length&&a.Da(1004,b,cqa);b=N(this,Gz,1005);null!=b&&a.aa(1005,b,nna);b=S(this,dD,1006);0<b.length&&a.Da(1006,b,AE);b=N(this,ZC,1007);null!=b&&a.aa(1007,b,yE);b=S(this,gD,1008);0<b.length&&a.Da(1008,b,Zsa);b=S(this,fD,1009);0<b.length&&a.Da(1009,b,zE);b=I(this,1010);null!=b&&a.ya(1010,b);b=N(this,$C,1011);null!=b&&a.aa(1011,b,DE);b=S(this,NB,1012);0<b.length&&a.Da(1012,b,$sa);return a.wa()};
1609h.Sa=function(){return L(this,2,0)};h.Va=function(){return null!=I(this,2)};function LE(a){return S(a,LB,5)}function ME(a){return S(a,qB,6)}h.Mc=function(){return S(this,rB,7)};h.Sd=function(){return S(this,sB,8)};function NE(a){return S(a,AB,9)}function OE(a){return S(a,DB,10)}function ata(a,b){M(a,13,b)}function PE(a){return S(a,KC,37)}function QE(a){return N(a,EC,38)}function RE(a){return S(a,NC,39)}function SE(a){return S(a,ZB,40)}function bta(a,b){lz(a,1008,b)}h=oB.prototype;
1610h.sa=function(a){return TE(a,this)};function TE(a,b){var c,d={key:null==(c=I(b,1))?void 0:c,value:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function UE(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.setValue(c);break;default:b.za()}return a}h.ra=function(){var a=new F;VE(this,a);return a.wa()};function VE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c)}h.getKey=function(){return L(this,1,"")};h.getValue=function(){return L(this,2,"")};
1611h.setValue=function(a){return M(this,2,a)};h.kg=function(){return null!=I(this,2)};h=U.prototype;h.sa=function(a){return WE(a,this)};function WE(a,b){var c,d={Zb:null==(c=I(b,1))?void 0:c,error:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function XE(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.qb(c);break;default:b.za()}return a}h.ra=function(){var a=new F;YE(this,a);return a.wa()};
1612function YE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c)}h.getError=function(){return L(this,2,"")};h.qb=function(a){return M(this,2,a)};h.xb=function(){return null!=I(this,2)};h=pB.prototype;h.sa=function(a){return cta(a,this)};function cta(a,b){var c,d={key:null==(c=I(b,1))?void 0:c,Zb:null==(c=I(b,2))?void 0:c,jia:null==(c=I(b,3))?void 0:c,title:null==(c=I(b,4))?void 0:c,C:null==(c=I(b,5))?void 0:c};a&&(d.xa=b);return d}
1613function dta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();a.tc(c);break;case 5:c=b.G();M(a,5,c);break;default:b.za()}return a}h.ra=function(){var a=new F;eta(this,a);return a.wa()};function eta(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c)}h.getKey=function(){return L(this,1,"")};
1614h.getTitle=function(){return L(this,4,"")};h.tc=function(a){M(this,4,a)};var gqa=[2,43,52];h=qB.prototype;h.sa=function(a){return oD(a,this)};
1615function oD(a,b){var c,d={Dka:null==(c=I(b,7))?void 0:c,zka:null==(c=I(b,8))?void 0:c,Cka:null==(c=I(b,45))?void 0:c,Bka:null==(c=I(b,47))?void 0:c,Aka:null==(c=I(b,49))?void 0:c,w_:null==(c=I(b,1))?void 0:c,oE:bz(S(b,oB,2),TE,a),Tb:null==(c=dz(b,3))?void 0:c,uc:null==(c=dz(b,4))?void 0:c,IX:null==(c=I(b,5))?void 0:c,domain:null==(c=I(b,6))?void 0:c,Hja:null==(c=I(b,9))?void 0:c,cpa:null==(c=I(b,10))?void 0:c,Dla:null==(c=I(b,11))?void 0:c,Jja:(c=N(b,U,12))&&WE(a,c),BM:(c=N(b,U,13))&&WE(a,c),Cy:(c=
1616N(b,U,14))&&WE(a,c),$ia:(c=N(b,U,15))&&WE(a,c),Qha:(c=N(b,U,16))&&WE(a,c),Ija:(c=N(b,U,19))&&WE(a,c),dpa:(c=N(b,U,20))&&WE(a,c),Ela:(c=N(b,U,21))&&WE(a,c),jn:null==(c=I(b,24))?void 0:c,Qfa:(c=N(b,U,25))&&WE(a,c),be:null==(c=I(b,40))?void 0:c,Mja:bz(S(b,aC,43),fta,a),Pma:null==(c=I(b,44))?void 0:c,Yha:null==(c=I(b,52))?void 0:c,foa:(c=N(b,U,53))&&WE(a,c),state:null==(c=I(b,1001))?void 0:c,lO:null==(c=I(b,1002))?void 0:c,Pfa:null==(c=I(b,1003))?void 0:c};a&&(d.xa=b);return d}
1617function gta(a,b){for(;
1617b.Aa()&&!b.Ca();)switch(b.g){case 7:var c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 45:c=b.G();M(a,45,c);break;case 47:c=b.G();M(a,47,c);break;case 49:c=b.G();M(a,49,c);break;case 1:c=b.G();M(a,1,c);break;case 2:c=new oB;b.R(c,UE);mz(a,2,c,oB,void 0);break;case 3:c=b.Ba();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 9:c=b.G();M(a,9,c);break;case 10:c=b.G();M(a,10,c);break;case 11:c=b.G();M(a,11,
1618c);break;case 12:c=new U;b.R(c,XE);T(a,12,c);break;case 13:c=new U;b.R(c,XE);T(a,13,c);break;case 14:c=new U;b.R(c,XE);T(a,14,c);break;case 15:c=new U;b.R(c,XE);T(a,15,c);break;case 16:c=new U;b.R(c,XE);T(a,16,c);break;case 19:c=new U;b.R(c,XE);T(a,19,c);break;case 20:c=new U;b.R(c,XE);T(a,20,c);break;case 21:c=new U;b.R(c,XE);T(a,21,c);break;case 24:c=b.G();M(a,24,c);break;case 25:c=new U;b.R(c,XE);T(a,25,c);break;case 40:c=b.G();M(a,40,c);break;case 43:c=new aC;b.R(c,hta);mz(a,43,c,aC,void 0);break;
1619case 44:c=b.oa();M(a,44,c);break;case 52:c=b.G();kz(a,52,c,void 0);break;case 53:c=new U;b.R(c,XE);T(a,53,c);break;case 1001:c=b.G();M(a,1001,c);break;case 1002:c=b.G();M(a,1002,c);break;case 1003:c=b.oa();M(a,1003,c);break;default:b.za()}return a}h.ra=function(){var a=new F;YD(this,a);return a.wa()};
1620function YD(a,b){var c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,45);null!=c&&b.H(45,c);c=I(a,47);null!=c&&b.H(47,c);c=I(a,49);null!=c&&b.H(49,c);c=I(a,1);null!=c&&b.H(1,c);c=S(a,oB,2);0<c.length&&b.Da(2,c,VE);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,9);null!=c&&b.H(9,c);c=I(a,10);null!=c&&b.H(10,c);c=I(a,11);null!=c&&b.H(11,c);c=N(a,U,12);null!=c&&b.aa(12,c,YE);c=N(a,U,13);null!=c&&b.aa(13,c,YE);c=N(a,U,14);
1621null!=c&&b.aa(14,c,YE);c=N(a,U,15);null!=c&&b.aa(15,c,YE);c=N(a,U,16);null!=c&&b.aa(16,c,YE);c=N(a,U,19);null!=c&&b.aa(19,c,YE);c=N(a,U,20);null!=c&&b.aa(20,c,YE);c=N(a,U,21);null!=c&&b.aa(21,c,YE);c=I(a,24);null!=c&&b.H(24,c);c=N(a,U,25);null!=c&&b.aa(25,c,YE);c=I(a,40);null!=c&&b.H(40,c);c=S(a,aC,43);0<c.length&&b.Da(43,c,ita);c=I(a,44);null!=c&&b.ma(44,c);c=I(a,52);0<c.length&&b.vb(52,c);c=N(a,U,53);null!=c&&b.aa(53,c,YE);c=I(a,1001);null!=c&&b.H(1001,c);c=I(a,1002);null!=c&&b.H(1002,c);c=I(a,
16221003);null!=c&&b.ma(1003,c)}h.Fx=function(){return L(this,5,"")};h.ef=function(){return L(this,40,"")};h.pg=function(){return null!=I(this,40)};h.getState=function(){return L(this,1001,"")};var hqa=[2,21,22,24,26,29,42];h=rB.prototype;h.sa=function(a){return pD(a,this)};
1623function pD(a,b){var c,d={Ib:null==(c=I(b,1))?void 0:c,oE:bz(S(b,oB,2),TE,a),Tb:null==(c=dz(b,3))?void 0:c,uc:null==(c=dz(b,4))?void 0:c,cc:null==(c=I(b,5))?void 0:c,hc:null==(c=I(b,6))?void 0:c,password:null==(c=I(b,7))?void 0:c,Xha:null==(c=I(b,8))?void 0:c,Ze:null==(c=dz(b,9))?void 0:c,Iia:null==(c=dz(b,10))?void 0:c,hpa:(c=N(b,U,11))&&WE(a,c),BM:(c=N(b,U,12))&&WE(a,c),Cy:(c=N(b,U,13))&&WE(a,c),vX:(c=N(b,U,14))&&WE(a,c),$_:(c=N(b,U,15))&&WE(a,c),u3:(c=N(b,U,16))&&WE(a,c),Zha:(c=N(b,U,17))&&WE(a,
1624c),Sja:(c=N(b,U,18))&&WE(a,c),Jia:(c=N(b,U,19))&&WE(a,c),be:null==(c=I(b,20))?void 0:c,XS:null==(c=I(b,21))?void 0:c,aia:null==(c=I(b,22))?void 0:c,$ha:(c=N(b,U,23))&&WE(a,c),Lka:bz(S(b,dC,24),jta,a),Kka:(c=N(b,U,25))&&WE(a,c),epa:bz(S(b,U,26),WE,a),userName:null==(c=I(b,27))?void 0:c,ipa:(c=N(b,U,28))&&WE(a,c),Vga:null==(c=I(b,29))?void 0:c,FJ:null==(c=dz(b,30))?void 0:c,zha:null==(c=I(b,31))?void 0:c,Vja:null==(c=dz(b,32))?void 0:c,woa:null==(c=I(b,33))?void 0:c,ija:null==(c=I(b,34))?void 0:c,jja:(c=
1625N(b,U,35))&&WE(a,c),b0:null==(c=I(b,36))?void 0:c,Xk:null==(c=I(b,37))?void 0:c,rla:(c=N(b,U,38))&&WE(a,c),Eka:(c=N(b,U,39))&&WE(a,c),Bga:null==(c=dz(b,40))?void 0:c,dka:null==(c=dz(b,41))?void 0:c,Nfa:bz(S(b,$B,42),ID,a),Xja:null==(c=dz(b,43))?void 0:c,Ila:null==(c=I(b,44))?void 0:c,YJ:null==(c=I(b,1001))?void 0:c,Yga:(c=N(b,U,1002))&&WE(a,c),Mfa:null==(c=dz(b,1003))?void 0:c,qx:(c=gz(b,1004,void 0,null))?c.sa(a,void 0):[],Jla:(c=N(b,U,1005))&&WE(a,c)};a&&(d.xa=b);return d}
1626function ZE(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new oB;b.R(c,UE);mz(a,2,c,oB,void 0);break;case 3:c=b.Ba();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.Ba();M(a,9,c);break;case 10:c=b.Ba();M(a,10,c);break;case 11:c=new U;b.R(c,XE);T(a,11,c);break;case 12:c=new U;b.R(c,XE);T(a,12,c);break;case 13:c=new U;b.R(c,XE);T(a,13,c);
1627break;case 14:c=new U;b.R(c,XE);T(a,14,c);break;case 15:c=new U;b.R(c,XE);T(a,15,c);break;case 16:c=new U;b.R(c,XE);T(a,16,c);break;case 17:c=new U;b.R(c,XE);T(a,17,c);break;case 18:c=new U;b.R(c,XE);T(a,18,c);break;case 19:c=new U;b.R(c,XE);T(a,19,c);break;case 20:c=b.G();M(a,20,c);break;case 21:c=b.G();kz(a,21,c,void 0);break;case 22:c=b.Rh()?b.Qi():[b.oa()];for(var d=0;d<c.length;d++)kz(a,22,c[d],void 0);break;case 23:c=new U;b.R(c,XE);T(a,23,c);break;case 24:c=new dC;b.R(c,kta);mz(a,24,c,dC,void 0);
1628break;case 25:c=new U;b.R(c,XE);T(a,25,c);break;case 26:c=new U;b.R(c,XE);mz(a,26,c,U,void 0);break;case 27:c=b.G();M(a,27,c);break;case 28:c=new U;b.R(c,XE);T(a,28,c);break;case 29:c=b.G();kz(a,29,c,void 0);break;case 30:c=b.Ba();M(a,30,c);break;case 31:c=b.oa();M(a,31,c);break;case 32:c=b.Ba();M(a,32,c);break;case 33:c=b.oa();M(a,33,c);break;case 34:c=b.G();M(a,34,c);break;case 35:c=new U;b.R(c,XE);T(a,35,c);break;case 36:c=b.G();M(a,36,c);break;case 37:c=b.G();M(a,37,c);break;case 38:c=new U;b.R(c,
1629XE);T(a,38,c);break;case 39:c=new U;b.R(c,XE);T(a,39,c);break;case 40:c=b.Ba();M(a,40,c);break;case 41:c=b.Ba();M(a,41,c);break;case 42:c=new $B;b.R(c,lta);mz(a,42,c,$B,void 0);break;case 43:c=b.Ba();M(a,43,c);break;case 44:c=b.G();M(a,44,c);break;case 1001:c=b.G();M(a,1001,c);break;case 1002:c=new U;b.R(c,XE);T(a,1002,c);break;case 1003:c=b.Ba();M(a,1003,c);break;case 1004:c=gz(a,1004,void 0,null);b.R(c,function(e,f){Vy(e,f,E.prototype.G,E.prototype.G,null,"","")});break;case 1005:c=new U;b.R(c,
1630XE);T(a,1005,c);break;default:b.za()}return a}h.ra=function(){var a=new F;ZD(this,a);return a.wa()};
1631function ZD(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,oB,2);0<c.length&&b.Da(2,c,VE);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.ya(9,c);c=I(a,10);null!=c&&b.ya(10,c);c=N(a,U,11);null!=c&&b.aa(11,c,YE);c=N(a,U,12);null!=c&&b.aa(12,c,YE);c=N(a,U,13);null!=c&&b.aa(13,c,YE);c=N(a,U,14);null!=c&&b.aa(14,c,YE);c=N(a,U,15);null!=c&&b.aa(15,c,YE);c=N(a,U,16);null!=c&&
1632b.aa(16,c,YE);c=N(a,U,17);null!=c&&b.aa(17,c,YE);c=N(a,U,18);null!=c&&b.aa(18,c,YE);c=N(a,U,19);
1632null!=c&&b.aa(19,c,YE);c=I(a,20);null!=c&&b.H(20,c);c=I(a,21);0<c.length&&b.vb(21,c);c=I(a,22);0<c.length&&b.gi(22,c);c=N(a,U,23);null!=c&&b.aa(23,c,YE);c=S(a,dC,24);0<c.length&&b.Da(24,c,mta);c=N(a,U,25);null!=c&&b.aa(25,c,YE);c=S(a,U,26);0<c.length&&b.Da(26,c,YE);c=I(a,27);null!=c&&b.H(27,c);c=N(a,U,28);null!=c&&b.aa(28,c,YE);c=I(a,29);0<c.length&&b.vb(29,c);c=I(a,30);null!=c&&b.ya(30,c);c=I(a,31);null!=
1633c&&b.ma(31,c);c=I(a,32);null!=c&&b.ya(32,c);c=I(a,33);null!=c&&b.ma(33,c);c=I(a,34);null!=c&&b.H(34,c);c=N(a,U,35);null!=c&&b.aa(35,c,YE);c=I(a,36);null!=c&&b.H(36,c);c=I(a,37);null!=c&&b.H(37,c);c=N(a,U,38);null!=c&&b.aa(38,c,YE);c=N(a,U,39);null!=c&&b.aa(39,c,YE);c=I(a,40);null!=c&&b.ya(40,c);c=I(a,41);null!=c&&b.ya(41,c);c=S(a,$B,42);0<c.length&&b.Da(42,c,qE);c=I(a,43);null!=c&&b.ya(43,c);c=I(a,44);null!=c&&b.H(44,c);c=I(a,1001);null!=c&&b.H(1001,c);c=N(a,U,1002);null!=c&&b.aa(1002,c,YE);c=I(a,
16341003);null!=c&&b.ya(1003,c);(c=gz(a,1004,!0,null))&&0<c.Dc()&&c.ra(1004,b,F.prototype.H,F.prototype.H);c=N(a,U,1005);null!=c&&b.aa(1005,c,YE)}h.dc=function(){return L(this,1,"")};h.Fb=function(){return L(this,5,"")};h.Hb=function(){return L(this,6,"")};h.ef=function(){return L(this,20,"")};h.pg=function(){return null!=I(this,20)};h.Ic=function(){return L(this,27,"")};var iqa=[2,27,32,33];h=sB.prototype;h.sa=function(a){return qD(a,this)};
1635function qD(a,b){var c,d={bb:null==(c=I(b,1))?void 0:c,oE:bz(S(b,oB,2),TE,a),Qja:null==(c=dz(b,3))?void 0:c,uc:null==(c=dz(b,4))?void 0:c,og:null==(c=I(b,5))?void 0:c,cc:null==(c=I(b,6))?void 0:c,hc:null==(c=I(b,7))?void 0:c,dla:null==(c=I(b,8))?void 0:c,Fla:(c=N(b,U,9))&&WE(a,c),BM:(c=N(b,U,10))&&WE(a,c),Cy:(c=N(b,U,11))&&WE(a,c),Ama:(c=N(b,U,12))&&WE(a,c),vX:(c=N(b,U,13))&&WE(a,c),$_:(c=N(b,U,14))&&WE(a,c),ela:(c=N(b,U,15))&&WE(a,c),be:null==(c=I(b,16))?void 0:c,Qp:null==(c=I(b,17))?void 0:c,gga:(c=
1636N(b,U,18))&&WE(a,c),oh:null==(c=I(b,19))?void 0:c,Hla:(c=N(b,U,20))&&WE(a,c),LU:null==(c=I(b,21))?void 0:c,kga:(c=N(b,U,22))&&WE(a,c),Wna:null==(c=I(b,23))?void 0:c,Xna:(c=N(b,U,24))&&WE(a,c),Yg:null==(c=I(b,25))?void 0:c,pW:(c=N(b,U,26))&&WE(a,c),V3:bz($E(b),aF,a),P_:null==(c=dz(b,28))?void 0:c,ut:null==(c=dz(b,29))?void 0:c,nn:null==(c=I(b,30))?void 0:c,Dq:null==(c=I(b,31))?void 0:c,fja:null==(c=I(b,32))?void 0:c,gja:bz(S(b,rB,33),pD,a),Bna:null==(c=I(b,34))?void 0:c,Cna:(c=N(b,U,35))&&WE(a,c),
1637O_:null==(c=dz(b,36))?void 0:c,c4:null==(c=I(b,37))?void 0:c,aW:null==(c=I(b,38))?void 0:c,iga:(c=N(b,U,1001))&&WE(a,c),dja:(c=N(b,U,1002))&&WE(a,c)};a&&(d.xa=b);return d}
1638function bF(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new oB;b.R(c,UE);mz(a,2,c,oB,void 0);break;case 3:c=b.Ba();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=new U;b.R(c,XE);T(a,9,c);break;case 10:c=new U;b.R(c,XE);T(a,10,c);break;case 11:c=new U;b.R(c,XE);T(a,11,c);break;case 12:c=new U;b.R(c,XE);T(a,12,c);break;case 13:c=new U;
1639b.R(c,XE);T(a,13,c);break;case 14:c=new U;b.R(c,XE);T(a,14,c);break;case 15:c=new U;b.R(c,XE);T(a,15,c);break;case 16:c=b.G();M(a,16,c);break;case 17:c=b.G();M(a,17,c);break;case 18:c=new U;b.R(c,XE);T(a,18,c);break;case 19:c=b.G();M(a,19,c);break;case 20:c=new U;b.R(c,XE);T(a,20,c);break;case 21:c=b.G();M(a,21,c);break;case 22:c=new U;b.R(c,XE);T(a,22,c);break;case 23:c=b.G();M(a,23,c);break;case 24:c=new U;b.R(c,XE);T(a,24,c);break;case 25:c=b.oa();M(a,25,c);break;case 26:c=new U;b.R(c,XE);T(a,
164026,c);break;case 27:c=new qC;b.R(c,cF);mz(a,27,c,qC,void 0);break;case 28:c=b.Ba();M(a,28,c);break;case 29:c=b.Ba();M(a,29,c);break;case 30:c=b.G();M(a,30,c);break;case 31:c=b.G();a.Fm(c);break;case 32:c=b.G();kz(a,32,c,void 0);break;case 33:c=new rB;b.R(c,ZE);mz(a,33,c,rB,void 0);break;case 34:c=b.G();M(a,34,c);break;case 35:c=new U;b.R(c,XE);T(a,35,c);break;case 36:c=b.Ba();M(a,36,c);break;case 37:c=b.Id();M(a,37,c);break;case 38:c=b.Id();M(a,38,c);break;case 1001:c=new U;b.R(c,XE);T(a,1001,c);
1641break;case 1002:c=new U;b.R(c,XE);T(a,1002,c);break;default:b.za()}return a}h.ra=function(){var a=new F;$D(this,a);return a.wa()};
1642function $D(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,oB,2);0<c.length&&b.Da(2,c,VE);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);c=N(a,U,9);null!=c&&b.aa(9,c,YE);c=N(a,U,10);null!=c&&b.aa(10,c,YE);c=N(a,U,11);null!=c&&b.aa(11,c,YE);c=N(a,U,12);null!=c&&b.aa(12,c,YE);c=N(a,U,13);null!=c&&b.aa(13,c,YE);c=N(a,U,14);null!=c&&b.aa(14,c,YE);c=N(a,U,15);null!=c&&b.aa(15,c,YE);c=I(a,16);
1643null!=c&&b.H(16,c);c=I(a,17);null!=c&&b.H(17,c);c=N(a,U,18);null!=c&&b.aa(18,c,YE);c=I(a,19);null!=c&&b.H(19,c);c=N(a,U,20);null!=c&&b.aa(20,c,YE);c=I(a,21);null!=c&&b.H(21,c);c=N(a,U,22);null!=c&&b.aa(22,c,YE);c=I(a,23);null!=c&&b.H(23,c);c=N(a,U,24);null!=c&&b.aa(24,c,YE);c=I(a,25);null!=c&&b.ma(25,c);c=N(a,U,26);null!=c&&b.aa(26,c,YE);c=$E(a);0<c.length&&b.Da(27,c,dF);c=I(a,28);null!=c&&b.ya(28,c);c=I(a,29);null!=c&&b.ya(29,c);c=I(a,30);null!=c&&b.H(30,c);c=I(a,31);null!=c&&b.H(31,c);c=I(a,32);
16440<c.length&&b.vb(32,c);c=S(a,rB,33);0<c.length&&b.Da(33,c,ZD);c=I(a,34);null!=c&&b.H(34,c);c=N(a,U,35);null!=c&&b.aa(35,c,YE);c=I(a,36);null!=c&&b.ya(36,c);c=I(a,37);
1644null!=c&&b.mf(37,c);c=I(a,38);null!=c&&b.mf(38,c);c=N(a,U,1001);null!=c&&b.aa(1001,c,YE);c=N(a,U,1002);null!=c&&b.aa(1002,c,YE)}h.Rd=function(){return L(this,1,"")};function eF(a){return L(a,5,"")}h.Fb=function(){return L(this,6,"")};h.Hb=function(){return L(this,7,"")};h.ef=function(){return L(this,16,"")};
1645h.pg=function(){return null!=I(this,16)};function fF(a){return L(a,25,0)}function gF(a){return null!=I(a,25)}function $E(a){return S(a,qC,27)}h.bh=function(){return L(this,30,"")};h.Aj=function(){return L(this,31,"")};h.Fm=function(a){M(this,31,a)};h=tB.prototype;h.sa=function(a){return hF(a,this)};
1646function hF(a,b){var c,d={$r:(c=b.Gf())&&pD(a,c),nF:null==(c=I(b,2))?void 0:c,be:null==(c=I(b,3))?void 0:c,Ff:null==(c=I(b,4))?void 0:c,gE:null==(c=dz(b,5))?void 0:c,permission:null==(c=I(b,6))?void 0:c,o5:null==(c=I(b,7))?void 0:c,Xv:null==(c=dz(b,1001))?void 0:c,El:null==(c=dz(b,1002))?void 0:c,wma:null==(c=dz(b,1003))?void 0:c};a&&(d.xa=b);return d}
1647function nta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new rB;b.R(c,ZE);T(a,1,c);break;case 2:c=b.fb();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.Ba();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.oa();M(a,7,c);break;case 1001:c=b.Ba();M(a,1001,c);break;case 1002:c=b.Ba();M(a,1002,c);break;case 1003:c=b.Ba();M(a,1003,c);break;default:b.za()}return a}h.ra=function(){var a=new F;iF(this,a);return a.wa()};
1648function iF(a,b){var c=a.Gf();null!=c&&b.aa(1,c,ZD);c=I(a,2);null!=c&&b.gb(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ma(7,c);c=I(a,1001);null!=c&&b.ya(1001,c);c=I(a,1002);null!=c&&b.ya(1002,c);c=I(a,1003);null!=c&&b.ya(1003,c)}h.Gf=function(){return N(this,rB,1)};h.mu=function(){return null!=I(this,1)};h.Yf=function(){return L(this,4,"")};h.Td=function(){return L(this,6,0)};
1649h.On=function(){return L(this,7,0)};h.oy=function(){return null!=I(this,7)};var jqa=[3];uB.prototype.sa=function(a){return Yra(a,this)};function Yra(a,b){var c,d={jpa:(c=N(b,tB,1))&&hF(a,c),qfa:null==(c=dz(b,2))?void 0:c,Fha:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}uB.prototype.ra=function(){var a=new F;msa(this,a);return a.wa()};function msa(a,b){var c=N(a,tB,1);null!=c&&b.aa(1,c,iF);c=I(a,2);null!=c&&b.ya(2,c);c=I(a,3);0<c.length&&b.vb(3,c)}vB.prototype.sa=function(a){return jF(a,this)};
1650function jF(a,b){var c,d={type:null==(c=I(b,1))?void 0:c,label:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function ota(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;default:b.za()}return a}vB.prototype.ra=function(){var a=new F;kF(this,a);return a.wa()};function kF(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.H(2,c)}wB.prototype.sa=function(a){return Zra(a,this)};
1651function Zra(a,b){var c,d={OM:null==(c=I(b,1))?void 0:c,label:(c=N(b,vB,2))&&jF(a,c)};a&&(d.xa=b);return d}wB.prototype.ra=function(){var a=new F;nsa(this,a);return a.wa()};function nsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=N(a,vB,2);
1651null!=c&&b.aa(2,c,kF)}var kqa=[3];xB.prototype.sa=function(a){return Xra(a,this)};function Xra(a,b){var c,d={label:null==(c=I(b,1))?void 0:c,II:null==(c=dz(b,2))?void 0:c,Gha:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}
1652xB.prototype.ra=function(){var a=new F;lsa(this,a);return a.wa()};function lsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ya(2,c);c=I(a,3);0<c.length&&b.vb(3,c)}var $qa=[2];yB.prototype.sa=function(a){return pta(a,this)};function pta(a,b){var c,d={Fna:null==(c=I(b,1))?void 0:c,Ena:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function qta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();kz(a,2,c,void 0);break;default:b.za()}return a}
1653yB.prototype.ra=function(){var a=new F;rta(this,a);return a.wa()};function rta(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);0<c.length&&b.vb(2,c)}zB.prototype.sa=function(a){return sta(a,this)};function sta(a,b){var c,d={Eha:null==(c=I(b,1))?void 0:c,version:null==(c=I(b,2))?void 0:c,Epa:null==(c=I(b,3))?void 0:c,Iga:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}
1654function tta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.eb();M(a,2,c);break;case 3:c=b.fb();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;default:b.za()}return a}zB.prototype.ra=function(){var a=new F;uta(this,a);return a.wa()};function uta(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.Ob(2,c);c=I(a,3);null!=c&&b.gb(3,c);c=I(a,4);null!=c&&b.H(4,c)}var ara=[3,5,8,9,15,18,21,1002];h=AB.prototype;h.sa=function(a){return rD(a,this)};
1655function rD(a,b){var c,d={qc:null==(c=I(b,1))?void 0:c,Ac:null==(c=I(b,2))?void 0:c,oE:bz(S(b,oB,3),TE,a),object:(c=lF(b))&&qD(a,c
1655),kpa:bz(S(b,tB,5),hF,a),vu:null==(c=dz(b,6))?void 0:c,uc:null==(c=dz(b,7))?void 0:c,qka:bz(S(b,vB,8),jF,a),Xma:bz(S(b,yB,9),pta,a),lL:(c=N(b,U,10))&&WE(a,c),DX:(c=N(b,U,11))&&WE(a,c),Yja:(c=N(b,U,12))&&WE(a,c),Cy:(c=N(b,U,13))&&WE(a,c),be:null==(c=I(b,14))?void 0:c,fJ:bz(S(b,CB,15),uD,a),Wha:null==(c=I(b,16))?void 0:c,Mla:(c=N(b,U,17))&&WE(a,c),voa:bz(S(b,zB,18),sta,a),
1656qU:null==(c=dz(b,19))?void 0:c,Zla:null==(c=I(b,20))?void 0:c,upa:bz(S(b,pB,21),cta,a),version:null==(c=I(b,22))?void 0:c,Vha:null==(c=I(b,23))?void 0:c,P_:null==(c=dz(b,24))?void 0:c,qF:null==(c=I(b,25))?void 0:c,Ph:null==(c=dz(b,26))?void 0:c,lja:null==(c=dz(b,27))?void 0:c,Uka:null==(c=I(b,28))?void 0:c,Tka:null==(c=I(b,29))?void 0:c,O_:null==(c=dz(b,30))?void 0:c,c4:null==(c=I(b,31))?void 0:c,aW:null==(c=I(b,32))?void 0:c,wy:null==(c=dz(b,1001))?void 0:c,mfa:bz(S(b,WC,1002),mF,a),Vna:null==(c=
1657dz(b,1003))?void 0:c,Qna:null==(c=dz(b,1004))?void 0:c};a&&(d.xa=b);return d}
1658function nF(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=new oB;b.R(c,UE);mz(a,3,c,oB,void 0);break;case 4:c=new sB;b.R(c,bF);T(a,4,c);break;case 5:c=new tB;b.R(c,nta);mz(a,5,c,tB,void 0);break;case 6:c=b.Ba();M(a,6,c);break;case 7:c=b.Ba();M(a,7,c);break;case 8:c=new vB;b.R(c,ota);a.II(c);break;case 9:c=new yB;b.R(c,qta);mz(a,9,c,yB,void 0);break;case 10:c=new U;b.R(c,XE);T(a,10,c);break;case 11:c=new U;b.R(c,XE);T(a,11,c);break;
1659case 12:c=new U;b.R(c,XE);T(a,12,c);break;case 13:c=new U;b.R(c,XE);T(a,13,c);break;case 14:c=b.G();M(a,14,c);break;case 15:c=new CB;b.R(c,pF);mz(a,15,c,CB,void 0);break;case 16:c=b.fb();M(a,16,c);break;case 17:c=new U;b.R(c,XE);T(a,17,c);break;case 18:c=new zB;b.R(c,tta);mz(a,18,c,zB,void 0);break;case 19:c=b.Ba();M(a,19,c);break;case 20:c=b.G();M(a,20,c);break;case 21:c=new pB;b.R(c,dta);mz(a,21,c,pB,void 0);break;case 22:c=b.eb();M(a,22,c);break;case 23:c=b.oa();M(a,23,c);break;case 24:c=b.Ba();
1660M(a,24,c);break;case 25:c=b.G();M(a,25,c);break;case 26:c=b.Ba();M(a,26,c);break;case 27:c=b.Ba();M(a,27,c);break;case 28:c=b.oa();M(a,28,c);break;case 29:c=b.oa();M(a,29,c);break;case 30:c=b.Ba();M(a,30,c);break;case 31:c=b.Id();M(a,31,c);break;case 32:c=b.Id();M(a,32,c);break;case 1001:c=b.Ba();M(a,1001,c);break;case 1002:c=new WC;b.R(c,vta);mz(a,1002,c,WC,void 0);break;case 1003:c=b.Ba();M(a,1003,c);break;case 1004:c=b.Ba();M(a,1004,c);break;default:b.za()}return a}
1661h.ra=function(){var a=new F;aE(this,a);return a.wa()};
1662function aE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=S(a,oB,3);0<c.length&&b.Da(3,c,VE);c=lF(a);null!=c&&b.aa(4,c,$D);c=S(a,tB,5);0<c.length&&b.Da(5,c,iF);c=I(a,6);null!=c&&b.ya(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=S(a,vB,8);0<c.length&&b.Da(8,c,kF);c=S(a,yB,9);0<c.length&&b.Da(9,c,rta);c=N(a,U,10);null!=c&&b.aa(10,c,YE);c=N(a,U,11);null!=c&&b.aa(11,c,YE);c=N(a,U,12);null!=c&&b.aa(12,c,YE);c=N(a,U,13);null!=c&&b.aa(13,c,YE);c=I(a,14);null!=c&&b.H(14,c);c=S(a,CB,15);0<c.length&&
1663b.Da(15,c,dE);c=I(a,16);null!=c&&b.gb(16,c);c=N(a,U,17);null!=c&&b.aa(17,c,YE);c=S(a,zB,18);0<c.length&&b.Da(18,c,uta);c=I(a,19);null!=c&&b.ya(19,c);c=I(a,20);null!=c&&b.H(20,c);c=S(a,pB,21);0<c.length&&b.Da(21,c,eta);c=I(a,22);null!=c&&b.Ob(22,c);c=I(a,23);null!=c&&b.ma(23,c);c=I(a,24);null!=c&&b.ya(24,c);c=I(a,25);null!=c&&b.H(25,c);c=I(a,26);null!=c&&b.ya(26,c);c=I(a,27);null!=c&&b.ya(27,c);c=I(a,28);null!=c&&b.ma(28,c);c=I(a,29);null!=c&&b.ma(29,c);c=I(a,30);null!=c&&b.ya(30,c);c=I(a,31);null!=
1664c&&b.mf(31,c);c=I(a,32);null!=c&&b.mf(32,c);c=I(a,1001);null!=c&&b.ya(1001,c);c=S(a,WC,1002);0<c.length&&b.Da(1002,c,qF);c=I(a,1003);null!=c&&b.ya(1003,c);c=I(a,1004);null!=c&&b.ya(1004,c)}function rF(a){return L(a,1,"")}function sF(a){return L(a,2,"")}function lF(a){return N(a,sB,4)}function tF(a){return fz(a,6,!1)}h.II=function(a,b){return mz(this,8,a,vB,b)};h.ef=function(){return L(this,14,"")};h.pg=function(){return null!=I(this,14)};h.eM=function(){return null!=I(this,19)};
1665BB.prototype.sa=function(a){return wta(a,this)};function wta(a,b){var c,d={bha:null==(c=I(b,1))?void 0:c,cha:null==(c=I(b,2))?void 0:c,aha:null==(c=I(b,3))?void 0:c,yga:null==(c=I(b,4))?void 0:c,Qga:null==(c=I(b,5))?void 0:c,version:null==(c=I(b,6))?void 0:c};a&&(d.xa=b);return d}
1666function xta(a,b){for(;
1666b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.eb();M(a,6,c);break;default:b.za()}return a}BB.prototype.ra=function(){var a=new F;yta(this,a);return a.wa()};
1667function yta(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.Ob(6,c)}h=CB.prototype;h.sa=function(a){return uD(a,this)};
1668function uD(a,b){var c,d={cga:null==(c=I(b,1))?void 0:c,Xla:null==(c=I(b,2))?void 0:c,payload:ez(L(b,3,"")),qc:null==(c=I(b,4))?void 0:c,lastModified:null==(c=I(b,5))?void 0:c,size:null==(c=I(b,6))?void 0:c,be:null==(c=I(b,7))?void 0:c,uJ:null==(c=dz(b,8))?void 0:c,tJ:null==(c=dz(b,9))?void 0:c,xh:null==(c=I(b,10))?void 0:c};a&&(d.xa=b);return d}
1669function pF(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.Hd();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.Id();M(a,5,c);break;case 6:c=b.Id();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.Ba();M(a,8,c);break;case 9:c=b.Ba();M(a,9,c);break;case 10:c=b.Id();M(a,10,c);break;default:b.za()}return a}h.ra=function(){var a=new F;dE(this,a);return a.wa()};
1670function dE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.wf(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.mf(5,c);c=I(a,6);null!=c&&b.mf(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.ya(8,c);c=I(a,9);null!=c&&b.ya(9,c);c=I(a,10);null!=c&&b.mf(10,c)}h.Md=function(){return L(this,6,0)};h.ef=function(){return L(this,7,"")};h.pg=function(){return null!=I(this,7)};var bra=[13,16];DB.prototype.sa=function(a){return sD(a,this)};
1671function sD(a,b){var c,d={Ac:null==(c=I(b,1))?void 0:c,qq:null==(c=I(b,2))?void 0:c,Nia:(c=uF(b))&&JA(a,c),Via:null==(c=I(b,4))?void 0:c,uc:null==(c=dz(b,5))?void 0:c,lL:(c=N(b,U,6))&&WE(a,c),Uia:(c=N(b,U,7))&&WE(a,c),Oia:(c=N(b,U,8))&&WE(a,c),Wia:(c=N(b,U,9))&&WE(a,c),Cy:(c=N(b,U,10))&&WE(a,c),be:null==(c=I(b,11))?void 0:c,fn:null==(c=I(b,12))?void 0:c,yfa:null==(c=I(b,13))?void 0:c,zfa:null==(c=I(b,16))?void 0:c,jb:null==(c=I(b,14))?void 0:c,DX:(c=N(b,U,15))&&WE(a,c),AX:null==(c=I(b,17))?void 0:
1672c,Tia:null==(c=I(b,18))?void 0:c,bx:null==(c=dz(b,19))?void 0:c,Tb:null==(c=dz(b,1002))?void 0:c,Vv:(c=N(b,EC,1003))&&FD(a,c),ft:null==(c=dz(b,1004))?void 0:c,badge:(c=N(b,qC,1005))&&aF(a,c),Bia:(c=gz(b,1006,void 0,IB))?c.sa(a,UD):[],G0:null==(c=I(b,1007))?void 0:c,mL:(c=N(b,FB,1008))&&ED(a,c)};a&&(d.xa=b);return d}
1673function zta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=new Sz;b.R(c,OA);T(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.Ba();M(a,5,c);break;case 6:c=new U;b.R(c,XE);T(a,6,c);break;case 7:c=new U;b.R(c,XE);T(a,7,c);break;case 8:c=new U;b.R(c,XE);T(a,8,c);break;case 9:c=new U;b.R(c,XE);T(a,9,c);break;case 10:c=new U;b.R(c,XE);T(a,10,c);break;case 11:c=b.G();M(a,11,c);break;case 12:c=b.G();M(a,12,c);break;case 13:c=b.G();
1674kz(a,13,c,void 0);break;case 16:c=b.G();kz(a,16,c,void 0);break;case 14:c=b.G();M(a,14,c);break;case 15:c=new U;b.R(c,XE);T(a,15,c);break;case 17:c=b.G();M(a,17,c);break;case 18:c=b.G();M(a,18,c);break;case 19:c=b.Ba();M(a,19,c);break;case 1002:c=b.Ba();M(a,1002,c);break;case 1003:c=new EC;b.R(c,vF);T(a,1003,c);break;case 1004:c=b.Ba();M(a,1004,c);break;case 1005:c=new qC;b.R(c,cF);T(a,1005,c);break;case 1006:c=gz(a,1006,void 0,IB);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.R,Ata,"",new IB)});
1675break;case 1007:c=b.oa();M(a,1007,c);break;case 1008:c=new FB;b.R(c,Bta);T(a,1008,c);break;default:b.za()}return a}DB.prototype.ra=function(){var a=new F;bE(this,a);return a.wa()};
1676function bE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=uF(a);null!=c&&b.aa(3,c,PA);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=N(a,U,6);null!=c&&b.aa(6,c,YE);c=N(a,U,7);null!=c&&b.aa(7,c,YE);c=N(a,U,8);null!=c&&b.aa(8,c,YE);c=N(a,U,9);null!=c&&b.aa(9,c,YE);c=N(a,U,10);null!=c&&b.aa(10,c,YE);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.H(12,c);c=I(a,13);0<c.length&&b.vb(13,c);c=I(a,16);0<c.length&&b.vb(16,c);c=I(a,14);null!=c&&b.H(14,c);c=N(a,U,15);null!=c&&
1677b.aa(15,c,YE);c=I(a,17);null!=c&&b.H(17,c);c=I(a,18);null!=c&&b.H(18,c);c=I(a,19);null!=c&&b.ya(19,c);c=I(a,1002);null!=c&&b.ya(1002,c);c=N(a,EC,1003);null!=c&&b.aa(1003,c,nE);c=I(a,1004);null!=c&&b.ya(1004,c);c=N(a,qC,1005);null!=c&&b.aa(1005,c,dF);(c=gz(a,1006,!0,IB))&&0<c.Dc()&&c.ra(1006,b,F.prototype.H,F.prototype.aa,BE);c=I(a,1007);null!=c&&b.ma(1007,c);c=N(a,FB,1008);null!=c&&b.aa(1008,c,mE)}function wF(a){return L(a,1,"")}function uF(a){return N(a,Sz,3)}
1678DB.prototype.ef=function(){return L(this,11,"")};DB.prototype.pg=function(){return null!=I(this,11)};function xF(a){return L(a,14,"")}EB.prototype.sa=function(a){return Cta(a,this)};function Cta(a,b){var c,d={Ac:null==(c=I(b,1))?void 0:c,qc:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function Dta(a,b){for(;
1678b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;default:b.za()}return a}EB.prototype.ra=function(){var a=new F;Eta(this,a);return a.wa()};
1679function Eta(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c)}var cra=[1002,1004];FB.prototype.sa=function(a){return ED(a,this)};function ED(a,b){var c,d={Tp:null==(c=I(b,1))?void 0:c,o5:null==(c=dz(b,2))?void 0:c,Ona:(c=gz(b,3,void 0,null))?c.sa(a,void 0):[],Qoa:null==(c=dz(b,1001))?void 0:c,Toa:bz(S(b,EC,1002),FD,a),Bja:null==(c=dz(b,1003))?void 0:c,Nna:bz(S(b,HB,1004),Fta,a)};a&&(d.xa=b);return d}
1680function Bta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.Ba();M(a,2,c);break;case 3:c=gz(a,3,void 0,null);b.R(c,function(d,e){Vy(d,e,E.prototype.fb,E.prototype.fb,null,0,0)});break;case 1001:c=b.Ba();M(a,1001,c);break;case 1002:c=new EC;b.R(c,vF);mz(a,1002,c,EC,void 0);break;case 1003:c=b.Ba();M(a,1003,c);break;case 1004:c=new HB;b.R(c,Gta);mz(a,1004,c,HB,void 0);break;default:b.za()}return a}FB.prototype.ra=function(){var a=new F;mE(this,a);return a.wa()};
1681function mE(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.ya(2,c);(c=gz(a,3,!0,null))&&0<c.Dc()&&c.ra(3,b,F.prototype.gb,F.prototype.gb);c=I(a,1001);null!=c&&b.ya(1001,c);c=S(a,EC,1002);0<c.length&&b.Da(1002,c,nE);c=I(a,1003);null!=c&&b.ya(1003,c);c=S(a,HB,1004);0<c.length&&b.Da(1004,c,Hta)}GB.prototype.sa=function(a){return Ita(a,this)};function Ita(a,b){var c={spa:L(b,1,0),displayName:L(b,2,"")};a&&(c.xa=b);return c}
1682function Jta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.fb();hz(a,1,c);break;case 2:c=b.G();jz(a,2,c);break;default:b.za()}return a}GB.prototype.ra=function(){var a=new F;Kta(this,a);return a.wa()};function Kta(a,b){var c=L(a,1,0);0!==c&&b.gb(1,c);c=a.zk();0<c.length&&b.H(2,c)}GB.prototype.zk=function(){return L(this,2,"")};var dra=[3];h=HB.prototype;h.sa=function(a){return Fta(a,this)};
1683function Fta(a,b){var c,d={id:L(b,1,0),displayName:L(b,2,""),K3:bz(S(b,GB,3),Ita,a),$N:L(b,4,0),kq:null==(c=I(b,5))?void 0:c,Uf:null==(c=I(b,6))?void 0:c,disabled:null==(c=dz(b,1001))?void 0:c};a&&(d.xa=b);return d}
1684function Gta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();uma(a,1,c);break;case 2:c=b.G();jz(a,2,c);break;case 3:c=new GB;b.R(c,Jta);mz(a,3,c,GB,void 0);break;case 4:c=b.fb();hz(a,4,c);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 1001:c=b.Ba();M(a,1001,c);break;default:b.za()}return a}h.ra=function(){var a=new F;Hta(this,a);return a.wa()};
1685function Hta(a,b){var c=a.rb();0!==c&&b.ma(1,c);c=a.zk();0<c.length&&b.H(2,c);c=S(a,GB,3);0<c.length&&b.Da(3,c,Kta);c=a.Ci();0!==c&&b.gb(4,c);c=I(a,5);null!=c&&b.ma(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,1001);null!=c&&b.ya(1001,c)}h.rb=function(){return L(this,1,0)};h.zk=function(){return L(this,2,"")};h.Ci=function(){return L(this,4,0)};FB.prototype.On=function(){return fz(this,2,!1)};FB.prototype.oy=function(){return null!=I(this,2)};IB.prototype.sa=function(a){return UD(a,this)};
1686function UD(a,b){var c,d={xia:null==(c=I(b,1))?void 0:c,jna:null==(c=I(b,2))?void 0:c,Bha:null==(c=dz(b,3))?void 0:c,xha:null==(c=dz(b,4))?void 0:c};a&&(d.xa=b);return d}function Ata(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.Ba();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;default:b.za()}return a}IB.prototype.ra=function(){var a=new F;BE(this,a);return a.wa()};
1687function BE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.ya(4,c)}var era=[4,7];h=JB.prototype;h.sa=function(a){return Csa(a,this)};function Csa(a,b){var c,d={bb:null==(c=I(b,1))?void 0:c,cc:null==(c=I(b,2))?void 0:c,hc:null==(c=I(b,3))?void 0:c,Pia:bz(S(b,EB,4),Cta,a),Yg:null==(c=I(b,5))?void 0:c,pW:(c=N(b,U,6))&&WE(a,c),V3:bz(S(b,qC,7),aF,a)};a&&(d.xa=b);return d}
1688function Lta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=new EB;b.R(c,Dta);mz(a,4,c,EB,void 0);break;case 5:c=b.oa();M(a,5,c);break;case 6:c=new U;b.R(c,XE);T(a,6,c);break;case 7:c=new qC;b.R(c,cF);mz(a,7,c,qC,void 0);break;default:b.za()}return a}h.ra=function(){var a=new F;Qsa(this,a);return a.wa()};
1689function Qsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=S(a,EB,4);0<c.length&&b.Da(4,c,Eta);c=I(a,5);null!=c&&b.ma(5,c);c=N(a,U,6);null!=c&&b.aa(6,c,YE);c=S(a,qC,7);0<c.length&&b.Da(7,c,dF)}h.Rd=function(){return L(this,1,"")};h.Fb=function(){return L(this,2,"")};h.Hb=function(){return L(this,3,"")};
1689var fra=[5];KB.prototype.sa=function(a){return Vra(a,this)};
1690function Vra(a,b){var c,d={LH:null==(c=I(b,1))?void 0:c,qq:null==(c=I(b,2))?void 0:c,Nja:null==(c=dz(b,3))?void 0:c,KK:null==(c=I(b,4))?void 0:c,oka:null==(c=I(b,5))?void 0:c,Lja:null==(c=dz(b,6))?void 0:c,version:null==(c=I(b,7))?void 0:c,HX:null==(c=dz(b,8))?void 0:c,Xfa:null==(c=dz(b,9))?void 0:c,Sia:null==(c=dz(b,10))?void 0:c,Vma:null==(c=I(b,11))?void 0:c,Vv:(c=N(b,EC,1002))&&FD(a,c)};a&&(d.xa=b);return d}KB.prototype.ra=function(){var a=new F;jsa(this,a);return a.wa()};
1691function jsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,5);0<c.length&&b.vb(5,c);c=I(a,6);null!=c&&b.ya(6,c);c=I(a,7);null!=c&&b.Ob(7,c);c=I(a,8);null!=c&&b.ya(8,c);c=I(a,9);null!=c&&b.ya(9,c);c=I(a,10);null!=c&&b.ya(10,c);c=I(a,11);null!=c&&b.gb(11,c);c=N(a,EC,1002);null!=c&&b.aa(1002,c,nE)}var gra=[17];h=LB.prototype;h.sa=function(a){return nD(a,this)};
1692function nD(a,b){var c,d={KK:null==(c=I(b,1))?void 0:c,Ps:null==(c=I(b,2))?void 0:c,wka:null==(c=I(b,3))?void 0:c,be:null==(c=I(b,4))?void 0:c,LH:null==(c=I(b,5))?void 0:c,qq:null==(c=I(b,6))?void 0:c,key:null==(c=I(b,7))?void 0:c,value:null==(c=I(b,8))?void 0:c,valueType:null==(c=I(b,9))?void 0:c,hidden:null==(c=dz(b,10))?void 0:c,j8:null==(c=I(b,11))?void 0:c,Joa:null==(c=I(b,12))?void 0:c,Wfa:null==(c=dz(b,13))?void 0:c,vka:null==(c=I(b,14))?void 0:c,vga:null==(c=I(b,15))?void 0:c,Dq:null==(c=
1693I(b,16))?void 0:c,PU:null==(c=I(b,17))?void 0:c,Vv:(c=N(b,EC,1002))&&FD(a,c),qoa:null==(c=I(b,1003))?void 0:c,Qla:null==(c=dz(b,1004))?void 0:c};a&&(d.xa=b);return d}
1694function Mta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.Id();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();a.setValue(c);break;case 9:c=b.oa();a.Xo(c);break;case 10:c=b.Ba();a.Ui(c);break;case 11:c=b.G();a.Vi(c);break;case 12:c=b.G();a.ul(c);break;case 13:c=b.Ba();a.Em(c);break;case 14:c=b.eb();M(a,14,c);break;case 15:c=b.G();
1695M(a,15,c);break;case 16:c=b.G();a.Fm(c);break;case 17:c=b.G();kz(a,17,c,void 0);break;case 1002:c=new EC;b.R(c,vF);T(a,1002,c);break;case 1003:c=b.G();a.zr(c);break;case 1004:c=b.Ba();M(a,1004,c);break;default:b.za()}return a}h.ra=function(){var a=new F;XD(this,a);return a.wa()};
1696function XD(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.mf(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.ya(10,c);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.H(12,c);c=I(a,13);null!=c&&b.ya(13,c);c=I(a,14);null!=c&&b.Ob(14,c);c=I(a,15);null!=c&&b.H(15,c);c=I(a,16);null!=c&&b.H(16,c);c=I(a,17);0<c.length&&b.vb(17,
1697c);c=N(a,EC,1002);null!=c&&b.aa(1002,c,nE);c=I(a,1003);null!=c&&b.H(1003,c);c=I(a,1004);null!=c&&b.ya(1004,c)}h.getKey=function(){return L(this,7,"")};h.getValue=function(){return L(this,8,"")};h.setValue=function(a){return M(this,8,a)};h.kg=function(){return null!=I(this,8)};h.Cj=function(){return L(this,9,0)};h.Xo=function(a){M(this,9,a)};h.Jn=function(){return fz(this,10,!1)};h.Ui=function(a){M(this,10,a)};h.Dg=function(){return L(this,11,"")};h.Vi=function(a){M(this,11,a)};
1698h.Eg=function(){return L(this,12,"")};h.ul=function(a){M(this,12,a)};h.xj=function(){return fz(this,13,!1)};h.Em=function(a){M(this,13,a)};h.Aj=function(){return L(this,16,"")};h.Fm=function(a){M(this,16,a)};h.Dk=function(){return L(this,1003,"")};h.zr=function(a){M(this,1003,a)};NB.prototype.sa=function(a){return Msa(a,this)};function Msa(a,b){var c,d={Uh:null==(c=I(b,1))?void 0:c,ufa:null==(c=dz(b,2))?void 0:c};a&&(d.xa=b);return d}
1699function Nta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.Ba();M(a,2,c);break;default:b.za()}return a}NB.prototype.ra=function(){var a=new F;$sa(this,a);return a.wa()};function $sa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ya(2,c)}OB.prototype.sa=function(a){return Wra(a,this)};function Wra(a,b){var c,d={password:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}OB.prototype.ra=function(){var a=new F;ksa(this,a);return a.wa()};
1700function ksa(a,b){a=I(a,1);null!=a&&b.H(1,a)}PB.prototype.sa=function(a){return Asa(a,this)};function Asa(a,b){var c,d={koa:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}function Ota(a,b){for(;
1700b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;default:b.za()}return a}PB.prototype.ra=function(){var a=new F;Osa(this,a);return a.wa()};function Osa(a,b){a=I(a,1);null!=a&&b.ma(1,a)}QB.prototype.sa=function(a){return zsa(a,this)};
1701function zsa(a,b){var c,d={Uga:null==(c=I(b,1))?void 0:c,kka:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function Pta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;default:b.za()}return a}QB.prototype.ra=function(){var a=new F;Nsa(this,a);return a.wa()};function Nsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c)}var hra=[26,40];RB.prototype.sa=function(a){return Qta(a,this)};
1702function Qta(a,b){var c,d={Tna:null==(c=dz(b,1))?void 0:c,Aga:null==(c=dz(b,2))?void 0:c,wia:null==(c=dz(b,3))?void 0:c,toa:null==(c=dz(b,4))?void 0:c,xla:null==(c=dz(b,5))?void 0:c,mO:null==(c=dz(b,6))?void 0:c,Ioa:null==(c=dz(b,7))?void 0:c,Mma:null==(c=dz(b,8))?void 0:c,dha:null==(c=dz(b,9))?void 0:c,soa:null==(c=dz(b,10))?void 0:c,Cha:null==(c=dz(b,11))?void 0:c,lO:null==(c=I(b,12))?void 0:c,Cpa:null==(c=dz(b,13))?void 0:c,hja:null==(c=dz(b,14))?void 0:c,Bma:null==(c=dz(b,15))?void 0:c,pk:null==
1703(c=dz(b,16))?void 0:c,XW:null==(c=dz(b,17))?void 0:c,bia:null==(c=dz(b,18))?void 0:c,iha:null==(c=dz(b,19))?void 0:c,Cfa:null==(c=dz(b,20))?void 0:c,Pga:null==(c=dz(b,21))?void 0:c,Aja:null==(c=dz(b,22))?void 0:c,$ga:null==(c=dz(b,23))?void 0:c,Poa:null==(c=dz(b,24))?void 0:c,pga:null==(c=dz(b,25))?void 0:c,Gma:null==(c=I(b,26))?void 0:c,Dma:null==(c=dz(b,27))?void 0:c,CE:null==(c=dz(b,28))?void 0:c,Ima:null==(c=dz(b,29))?void 0:c,Roa:null==(c=dz(b,30))?void 0:c,rka:null==(c=dz(b,31))?void 0:c,Lma:null==
1704(c=dz(b,32))?void 0:c,fma:null==(c=dz(b,33))?void 0:c,yma:null==(c=dz(b,34))?void 0:c,cja:null==(c=dz(b,35))?void 0:c,Soa:null==(c=dz(b,36))?void 0:c,bja:null==(c=dz(b,37))?void 0:c,xna:null==(c=dz(b,38))?void 0:c,uga:null==(c=dz(b,39))?void 0:c,ria:null==(c=I(b,40))?void 0:c,Vr:null==(c=dz(b,41))?void 0:c};a&&(d.xa=b);return d}
1705function Rta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.Ba();M(a,1,c);break;case 2:c=b.Ba();M(a,2,c);break;case 3:c=b.Ba();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.Ba();M(a,5,c);break;case 6:c=b.Ba();M(a,6,c);break;case 7:c=b.Ba();M(a,7,c);break;case 8:c=b.Ba();M(a,8,c);break;case 9:c=b.Ba();M(a,9,c);break;case 10:c=b.Ba();M(a,10,c);break;case 11:c=b.Ba();M(a,11,c);break;case 12:c=b.oa();M(a,12,c);break;case 13:c=b.Ba();M(a,13,c);break;case 14:c=b.Ba();M(a,14,c);break;case 15:c=
1706b.Ba();M(a,15,c);break;case 16:c=b.Ba();M(a,16,c);break;case 17:c=b.Ba();M(a,17,c);break;case 18:c=b.Ba();M(a,18,c);break;case 19:c=b.Ba();M(a,19,c);break;case 20:c=b.Ba();M(a,20,c);break;case 21:c=b.Ba();M(a,21,c);break;case 22:c=b.Ba();M(a,22,c);break;case 23:c=b.Ba();M(a,23,c);break;case 24:c=b.Ba();M(a,24,c);break;case 25:c=b.Ba();M(a,25,c);break;case 26:c=b.G();kz(a,26,c,void 0);break;case 27:c=b.Ba();M(a,27,c);break;case 28:c=b.Ba();M(a,28,c);break;case 29:c=b.Ba();M(a,29,c);break;case 30:c=
1707b.Ba();M(a,30,c);break;case 31:c=b.Ba();M(a,31,c);break;case 32:c=b.Ba();M(a,32,c);break;case 33:c=b.Ba();M(a,33,c);break;case 34:c=b.Ba();M(a,34,c);break;case 35:c=b.Ba();M(a,35,c);break;case 36:c=b.Ba();M(a,36,c);break;case 37:c=b.Ba();M(a,37,c);break;case 38:c=b.Ba();M(a,38,c);break;case 39:c=b.Ba();M(a,39,c);break;case 40:c=b.Rh()?b.Qi():[b.oa()];for(var d=0;d<c.length;d++)kz(a,40,c[d],void 0);break;case 41:c=b.Ba();M(a,41,c);break;default:b.za()}return a}
1708RB.prototype.ra=function(){var a=new F;Sta(this,a);return a.wa()};
1709function Sta(a,b){var c=I(a,1);null!=c&&b.ya(1,c);c=I(a,2);null!=c&&b.ya(2,c);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=I(a,6);null!=c&&b.ya(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=I(a,8);null!=c&&b.ya(8,c);c=I(a,9);null!=c&&b.ya(9,c);c=I(a,10);null!=c&&b.ya(10,c);c=I(a,11);null!=c&&b.ya(11,c);c=I(a,12);null!=c&&b.ma(12,c);c=I(a,13);null!=c&&b.ya(13,c);c=I(a,14);null!=c&&b.ya(14,c);c=I(a,15);null!=c&&b.ya(15,c);c=I(a,16);null!=c&&b.ya(16,c);c=I(a,17);null!=c&&
1710b.ya(17,c);c=I(a,18);null!=c&&b.ya(18,c);c=I(a,19);null!=c&&b.ya(19,c);c=I(a,20);null!=c&&b.ya(20,c);c=I(a,21);null!=c&&b.ya(21,c);c=I(a,22);null!=c&&b.ya(22,c);c=I(a,23);null!=c&&b.ya(23,c);c=I(a,24);null!=c&&b.ya(24,c);c=I(a,25);null!=c&&b.ya(25,c);c=I(a,26);0<c.length&&b.vb(26,c);c=I(a,27);null!=c&&b.ya(27,c);c=I(a,28);null!=c&&b.ya(28,c);c=I(a,29);null!=c&&b.ya(29,c);c=I(a,30);null!=c&&b.ya(30,c);c=I(a,31);null!=c&&b.ya(31,c);c=I(a,32);null!=c&&b.ya(32,c);c=I(a,33);null!=c&&b.ya(33,c);c=I(a,34);
1711null!=c&&b.ya(34,c);c=I(a,35);null!=c&&b.ya(35,c);c=I(a,36);null!=c&&b.ya(36,c);c=I(a,37);null!=c&&b.ya(37,c);c=I(a,38);null!=c&&b.ya(38,c);c=I(a,39);null!=c&&b.ya(39,c);c=yF(a);0<c.length&&b.gi(40,c);c=I(a,41);null!=c&&b.ya(41,c)}function zF(){return L(AF,12,0)}function yF(a){return I(a,40)}h=SB.prototype;h.sa=function(a){return JD(a,this)};
1712function JD(a,b){var c,d={text:null==(c=I(b,1))?void 0:c,url:null==(c=I(b,2))?void 0:c,id:null==(c=I(b,3))?void 0:c,start:null==(c=I(b,4))?void 0:c,end:null==(c=I(b,5))?void 0:c,Ze:null==(c=dz(b,6))?void 0:c,eka:null==(c=dz(b,7))?void 0:c,lO:null==(c=I(b,8))?void 0:c};a&&(d.xa=b);return d}
1713function Tta(a,b){for(;
1713b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.rl(c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.eb();M(a,3,c);break;case 4:c=b.zd();M(a,4,c);break;case 5:c=b.zd();a.setEnd(c);break;case 6:c=b.Ba();M(a,6,c);break;case 7:c=b.Ba();M(a,7,c);break;case 8:c=b.oa();M(a,8,c);break;default:b.za()}return a}h.ra=function(){var a=new F;rE(this,a);return a.wa()};
1714function rE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.Ob(3,c);c=I(a,4);null!=c&&b.qd(4,c);c=I(a,5);null!=c&&b.qd(5,c);c=I(a,6);null!=c&&b.ya(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=I(a,8);null!=c&&b.ma(8,c)}h.eg=function(){return L(this,1,"")};h.rl=function(a){M(this,1,a)};h.rb=function(){return L(this,3,0)};h.hD=function(){return L(this,5,0)};h.setEnd=function(a){return M(this,5,a)};h=TB.prototype;h.sa=function(a){return Uta(a,this)};
1715function Uta(a,b){var c,d={title:null==(c=I(b,1))?void 0:c,Zf:null==(c=I(b,2))?void 0:c,qma:null==(c=I(b,3))?void 0:c,cd:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}function Vta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.tc(c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;default:b.za()}return a}h.ra=function(){var a=new F;Wta(this,a);return a.wa()};
1716function Wta(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c)}h.getTitle=function(){return L(this,1,"")};h.tc=function(a){M(this,1,a)};h.gD=function(){return L(this,4,"")};var ira=[8,17,18];UB.prototype.sa=function(a){return Esa(a,this)};
1717function Esa(a,b){var c,d={W9:null==(c=I(b,1))?void 0:c,domain:null==(c=I(b,2))?void 0:c,Rja:null==(c=dz(b,3))?void 0:c,Z9:null==(c=I(b,4))?void 0:c,vpa:null==(c=dz(b,5))?void 0:c,aga:null==(c=dz(b,6))?void 0:c,qia:(c=N(b,RB,7))&&Qta(a,c),r0:bz(S(b,SB,8),JD,a),Aha:null==(c=I(b,9))?void 0:c,Wja:null==(c=dz(b,10))?void 0:c,c0:null==(c=I(b,11))?void 0:c,state:null==(c=I(b,12))?void 0:c,Lia:null==(c=dz(b,13))?void 0:c,Gia:null==(c=I(b,14))?void 0:c,WB:null==(c=I(b,15))?void 0:c,Yoa:null==(c=dz(b,16))?
1718void 0:c,lpa:null==(c=I(b,17))?void 0:c,Oka:bz(S(b,TB,18),Uta,a),oja:null==(c=dz(b,19))?void 0:c,bga:null==(c=dz(b,20))?void 0:c,yha:null==(c=dz(b,21))?void 0:c};a&&(d.xa=b);return d}
1719function Xta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.Ba();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.Ba();M(a,5,c);break;case 6:c=b.Ba();M(a,6,c);break;case 7:c=new RB;b.R(c,Rta);T(a,7,c);break;case 8:c=new SB;b.R(c,Tta);mz(a,8,c,SB,void 0);break;case 9:c=b.oa();M(a,9,c);break;case 10:c=b.Ba();M(a,10,c);break;case 11:c=b.G();M(a,11,c);break;case 12:c=b.G();M(a,12,c);break;case 13:c=b.Ba();M(a,13,c);break;case 14:c=
1720b.Id();M(a,14,c);break;case 15:c=b.G();M(a,15,c);break;case 16:c=b.Ba();M(a,16,c);break;case 17:c=b.G();kz(a,17,c,void 0);break;case 18:c=new TB;b.R(c,Vta);mz(a,18,c,TB,void 0);break;case 19:c=b.Ba();M(a,19,c);break;case 20:c=b.Ba();M(a,20,c);break;case 21:c=b.Ba();M(a,21,c);break;default:b.za()}return a}UB.prototype.ra=function(){var a=new F;Ssa(this,a);return a.wa()};
1721function Ssa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=I(a,6);null!=c&&b.ya(6,c);c=N(a,RB,7);null!=c&&b.aa(7,c,Sta);c=S(a,SB,8);0<c.length&&b.Da(8,c,rE);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.ya(10,c);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.H(12,c);c=I(a,13);null!=c&&b.ya(13,c);c=I(a,14);null!=c&&b.mf(14,c);c=I(a,15);null!=c&&b.H(15,c);c=I(a,16);null!=c&&b.ya(16,c);c=I(a,17);
17220<c.length&&b.vb(17,c);c=S(a,TB,18);0<c.length&&b.Da(18,c,Wta);c=I(a,19);null!=c&&b.ya(19,c);c=I(a,20);null!=c&&b.ya(20,c);c=I(a,21);null!=c&&b.ya(21,c)}UB.prototype.getState=function(){return L(this,12,"")};VB.prototype.sa=function(a){return Bsa(a,this)};function Bsa(a,b){var c,d={location:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}function Yta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;default:b.za()}return a}
1723VB.prototype.ra=function(){var a=new F;Psa(this,a);return a.wa()};function Psa(a,b){a=I(a,1);null!=a&&b.H(1,a)}WB.prototype.sa=function(a){return Zta(a,this)};function Zta(a,b){var c,d={pka:null==(c=I(b,1))?void 0:c,nF:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}function $ta(a,b){for(;
1723b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.fb();M(a,2,c);break;default:b.za()}return a}WB.prototype.ra=function(){var a=new F;aua(this,a);return a.wa()};
1724function aua(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.gb(2,c)}var jra=[4,5,9];XB.prototype.sa=function(a){return BF(a,this)};
1725function BF(a,b){var c,d={Ac:null==(c=I(b,1))?void 0:c,Rka:null==(c=I(b,2))?void 0:c,xja:null==(c=I(b,3))?void 0:c,Kja:bz(S(b,WB,4),Zta,a),lJ:null==(c=I(b,5))?void 0:c,lL:(c=N(b,U,6))&&WE(a,c),Ska:(c=N(b,U,7))&&WE(a,c),yja:(c=N(b,U,8))&&WE(a,c),hga:bz(S(b,U,9),WE,a),Qka:null==(c=I(b,10))?void 0:c,wja:null==(c=I(b,11))?void 0:c,qna:null==(c=I(b,1001))?void 0:c};a&&(d.xa=b);return d}
1726function bua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.fb();M(a,2,c);break;case 3:c=b.fb();M(a,3,c);break;case 4:c=new WB;b.R(c,$ta);mz(a,4,c,WB,void 0);break;case 5:c=b.G();kz(a,5,c,void 0);break;case 6:c=new U;b.R(c,XE);T(a,6,c);break;case 7:c=new U;b.R(c,XE);T(a,7,c);break;case 8:c=new U;b.R(c,XE);T(a,8,c);break;case 9:c=new U;b.R(c,XE);mz(a,9,c,U,void 0);break;case 10:c=b.oa();M(a,10,c);break;case 11:c=b.oa();M(a,11,c);break;case 1001:c=b.fb();M(a,1001,
1727c);break;default:b.za()}return a}XB.prototype.ra=function(){var a=new F;CF(this,a);return a.wa()};function CF(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.gb(2,c);c=I(a,3);null!=c&&b.gb(3,c);c=S(a,WB,4);0<c.length&&b.Da(4,c,aua);c=I(a,5);0<c.length&&b.vb(5,c);c=N(a,U,6);null!=c&&b.aa(6,c,YE);c=N(a,U,7);null!=c&&b.aa(7,c,YE);c=N(a,U,8);null!=c&&b.aa(8,c,YE);c=S(a,U,9);0<c.length&&b.Da(9,c,YE);c=I(a,10);null!=c&&b.ma(10,c);c=I(a,11);null!=c&&b.ma(11,c);c=I(a,1001);null!=c&&b.gb(1001,c)}
1728var kra=[2];YB.prototype.sa=function(a){return tD(a,this)};function tD(a,b){var c,d={name:null==(c=I(b,1))?void 0:c,EX:bz(S(b,XB,2),BF,a),m1:(c=N(b,U,3))&&WE(a,c),be:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}function cua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.sc(c);break;case 2:c=new XB;b.R(c,bua);mz(a,2,c,XB,void 0);break;case 3:c=new U;b.R(c,XE);T(a,3,c);break;case 4:c=b.G();M(a,4,c);break;default:b.za()}return a}YB.prototype.ra=function(){var a=new F;cE(this,a);return a.wa()};
1729function cE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,XB,2);0<c.length&&b.Da(2,c,CF);c=N(a,U,3);null!=c&&b.aa(3,c,YE);c=I(a,4);null!=c&&b.H(4,c)}YB.prototype.kb=function(){return L(this,1,"")};YB.prototype.sc=function(a){M(this,1,a)};var lra=[3,9,11,12];h=ZB.prototype;h.sa=function(a){return HD(a,this)};
1730function HD(a,b){var c,d={rg:null==(c=I(b,1))?void 0:c,name:null==(c=I(b,2))?void 0:c,EX:bz(S(b,XB,3),BF,a),error:null==(c=I(b,4))?void 0:c,uc:null==(c=dz(b,5))?void 0:c,kF:null==(c=I(b,6))?void 0:c,bka:null==(c=dz(b,7))?void 0:c,cka:null==(c=dz(b,8))?void 0:c,Xka:null==(c=I(b,9))?void 0:c,be:null==(c=I(b,10))?void 0:c,Vfa:null==(c=I(b,11))?void 0:c,fia:null==(c=I(b,12))?void 0:c,KK:null==(c=I(b,1001))?void 0:c};a&&(d.xa=b);return d}
1731function dua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.sc(c);break;case 3:c=new XB;b.R(c,bua);mz(a,3,c,XB,void 0);break;case 4:c=b.G();a.qb(c);break;case 5:c=b.Ba();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.Ba();M(a,7,c);break;case 8:c=b.Ba();M(a,8,c);break;case 9:c=b.G();kz(a,9,c,void 0);break;case 10:c=b.G();M(a,10,c);break;case 11:c=b.G();kz(a,11,c,void 0);break;case 12:c=b.G();kz(a,12,c,void 0);break;case 1001:c=b.oa();M(a,1001,c);
1732break;default:b.za()}return a}h.ra=function(){var a=new F;pE(this,a);return a.wa()};function pE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=S(a,XB,3);0<c.length&&b.Da(3,c,CF);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=I(a,8);null!=c&&b.ya(8,c);c=I(a,9);0<c.length&&b.vb(9,c);c=I(a,10);null!=c&&b.H(10,c);c=I(a,11);0<c.length&&b.vb(11,c);c=I(a,12);0<c.length&&b.vb(12,c);c=I(a,1001);null!=c&&b.ma(1001,c)}
1733function DF(a){return L(a,1,"")}h.kb=function(){return L(this,2,"")};h.sc=function(a){M(this,2,a)};h.getError=function(){return L(this,4,"")};h.qb=function(a){return M(this,4,a)};h.xb=function(){return null!=I(this,4)};function EF(a){return fz(a,7,!1)}var mra=[2];$B.prototype.sa=function(a){return ID(a,this)};function ID(a,b){var c,d={b$:null==(c=I(b,1))?void 0:c,PU:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}
1734function lta(a,b){for(;
1734b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();kz(a,2,c,void 0);break;default:b.za()}return a}$B.prototype.ra=function(){var a=new F;qE(this,a);return a.wa()};function qE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);0<c.length&&b.vb(2,c)}aC.prototype.sa=function(a){return fta(a,this)};
1735function fta(a,b){var c,d={type:null==(c=I(b,1))?void 0:c,enabled:null==(c=dz(b,2))?void 0:c,url:null==(c=I(b,3))?void 0:c,userName:null==(c=I(b,4))?void 0:c,password:null==(c=I(b,5))?void 0:c,Rma:null==(c=I(b,6))?void 0:c};a&&(d.xa=b);return d}
1736function hta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.Ba();a.W(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;default:b.za()}return a}aC.prototype.ra=function(){var a=new F;ita(this,a);return a.wa()};
1737function ita(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.ya(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c)}aC.prototype.W=function(a){return M(this,2,a)};aC.prototype.Ic=function(){return L(this,4,"")};var nra=[1];bC.prototype.sa=function(a){return $ra(a,this)};function $ra(a,b){var c,d={apa:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}bC.prototype.ra=function(){var a=new F;osa(this,a);return a.wa()};
1738function osa(a,b){a=I(a,1);0<a.length&&b.vb(1,a)}cC.prototype.sa=function(a){return Dsa(a,this)};function Dsa(a,b){var c,d={cma:null==(c=I(b,1))?void 0:c,ZN:null==(c=I(b,2))?void 0:c,qc:null==(c=I(b,3))?void 0:c,Ac:null==(c=I(b,4))?void 0:c,jb:null==(c=I(b,5))?void 0:c,permission:null==(c=I(b,6))?void 0:c,kk:null==(c=dz(b,7))?void 0:c,object:(c=N(b,sB,8))&&qD(a,c
1738),url:null==(c=I(b,9))?void 0:c};a&&(d.xa=b);return d}
1739function eua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.eb();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.Ba();a.ov(c);break;case 8:c=new sB;b.R(c,bF);T(a,8,c);break;case 9:c=b.G();M(a,9,c);break;default:b.za()}return a}cC.prototype.ra=function(){var a=new F;Rsa(this,a);return a.wa()};
1740function Rsa(a,b){var c=I(a,1);null!=c&&b.Ob(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=N(a,sB,8);null!=c&&b.aa(8,c,$D);c=I(a,9);null!=c&&b.H(9,c)}cC.prototype.Td=function(){return L(this,6,0)};cC.prototype.ov=function(a){M(this,7,a)};h=dC.prototype;h.sa=function(a){return jta(a,this)};
1741function jta(a,b){var c,d={domain:null==(c=I(b,1))?void 0:c,Ib:null==(c=I(b,2))?void 0:c,password:null==(c=I(b,3))?void 0:c,userName:null==(c=I(b,4))?void 0:c,c0:null==(c=I(b,5))?void 0:c,cc:null==(c=I(b,6))?void 0:c,hc:null==(c=I(b,7))?void 0:c,b0:null==(c=I(b,8))?void 0:c,pha:null==(c=dz(b,9))?void 0:c,Tja:null==(c=dz(b,1001))?void 0:c};a&&(d.xa=b);return d}
1742function kta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.Ba();M(a,9,c);break;case 1001:c=b.Ba();M(a,1001,c);break;default:b.za()}return a}h.ra=function(){var a=new F;mta(this,a);return a.wa()};
1743function mta(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.ya(9,c);c=I(a,1001);null!=c&&b.ya(1001,c)}h.dc=function(){return L(this,2,"")};h.Ic=function(){return L(this,4,"")};h.Fb=function(){return L(this,6,"")};h.Hb=function(){return L(this,7,"")};eC.prototype.sa=function(a){return wD(a,this)};
1744function wD(a,b){var c,d={qc:null==(c=I(b,1))?void 0:c,rha:null==(c=I(b,2))?void 0:c,tha:null==(c=I(b,3))?void 0:c,uha:null==(c=I(b,4))?void 0:c,be:null==(c=I(b,5))?void 0:c};a&&(d.xa=b);return d}function fua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;default:b.za()}return a}eC.prototype.ra=function(){var a=new F;eE(this,a);return a.wa()};
1745function eE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c)}var ora=[1,4];fC.prototype.sa=function(a){return VD(a,this)};function VD(a,b){var c,d={BW:null==(c=I(b,1))?void 0:c,bb:null==(c=I(b,2))?void 0:c,userName:null==(c=I(b,3))?void 0:c,jla:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}
1746function gua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();kz(a,1,c,void 0);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();kz(a,4,c,void 0);break;default:b.za()}return a}fC.prototype.ra=function(){var a=new F;CE(this,a);return a.wa()};function CE(a,b){var c=I(a,1);0<c.length&&b.vb(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);0<c.length&&b.vb(4,c)}fC.prototype.Rd=function(){return L(this,2,"")};
1747fC.prototype.Ic=function(){return L(this,3,"")};var pra=[2];gC.prototype.sa=function(a){return xD(a,this)};function xD(a,b){var c,d={sha:null==(c=I(b,1))?void 0:c,coa:null==(c=I(b,2))?void 0:c,be:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}function hua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();kz(a,2,c,void 0);break;case 3:c=b.G();M(a,3,c);break;default:b.za()}return a}gC.prototype.ra=function(){var a=new F;fE(this,a);return a.wa()};
1748function fE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);0<c.length&&b.vb(2,c);c=I(a,3);null!=c&&b.H(3,c)}hC.prototype.sa=function(a){return FF(a,this)};function FF(a,b){var c,d={No:null==(c=I(b,1))?void 0:c,xt:null==(c=I(b,2))?void 0:c,message:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}function GF(a,b){for(;
1748b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.fb();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;default:b.za()}return a}
1749hC.prototype.ra=function(){var a=new F;HF(this,a);return a.wa()};function HF(a,b){var c=I(a,1);null!=c&&b.gb(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c)}var qra=[6,7,8,9];iC.prototype.sa=function(a){return yD(a,this)};
1750function yD(a,b){var c,d={moa:ez(L(b,1,"")),kja:ez(L(b,2,"")),gpa:ez(L(b,3,"")),ppa:ez(L(b,4,"")),Dn:null==(c=dz(b,5))?void 0:c,roa:bz(S(b,hC,6),FF,a),Cja:bz(S(b,hC,7),FF,a),Fpa:bz(S(b,hC,8),FF,a),kia:bz(S(b,hC,9),FF,a),Jha:ez(L(b,10,"")),npa:ez(L(b,11,"")),bpa:ez(L(b,12,"")),Vka:ez(L(b,13,"")),Kha:null==(c=I(b,14))?void 0:c,qla:null==(c=dz(b,15))?void 0:c,efa:ez(L(b,16,"")),wfa:null==(c=dz(b,17))?void 0:c,yoa:ez(L(b,18,""))};a&&(d.xa=b);return d}
1751function iua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.Hd();M(a,1,c);break;case 2:c=b.Hd();M(a,2,c);break;case 3:c=b.Hd();M(a,3,c);break;case 4:c=b.Hd();M(a,4,c);break;case 5:c=b.Ba();M(a,5,c);break;case 6:c=new hC;b.R(c,GF);mz(a,6,c,hC,void 0);break;case 7:c=new hC;b.R(c,GF);mz(a,7,c,hC,void 0);break;case 8:c=new hC;b.R(c,GF);mz(a,8,c,hC,void 0);break;case 9:c=new hC;b.R(c,GF);mz(a,9,c,hC,void 0);break;case 10:c=b.Hd();M(a,10,c);break;case 11:c=b.Hd();M(a,11,c);break;case 12:c=b.Hd();
1752M(a,12,c);break;case 13:c=b.Hd();M(a,13,c);break;case 14:c=b.G();M(a,14,c);break;case 15:c=b.Ba();M(a,15,c);break;case 16:c=b.Hd();M(a,16,c);break;case 17:c=b.Ba();M(a,17,c);break;case 18:c=b.Hd();M(a,18,c);break;default:b.za()}return a}iC.prototype.ra=function(){var a=new F;gE(this,a);return a.wa()};
1753function gE(a,b){var c=I(a,1);null!=c&&b.wf(1,c);c=I(a,2);null!=c&&b.wf(2,c);c=I(a,3);null!=c&&b.wf(3,c);c=I(a,4);null!=c&&b.wf(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=S(a,hC,6);0<c.length&&b.Da(6,c,HF);c=S(a,hC,7);0<c.length&&b.Da(7,c,HF);c=S(a,hC,8);0<c.length&&b.Da(8,c,HF);c=S(a,hC,9);0<c.length&&b.Da(9,c,HF);c=I(a,10);null!=c&&b.wf(10,c);c=I(a,11);null!=c&&b.wf(11,c);c=I(a,12);null!=c&&b.wf(12,c);c=I(a,13);null!=c&&b.wf(13,c);c=I(a,14);null!=c&&b.H(14,c);c=I(a,15);null!=c&&b.ya(15,c);c=I(a,16);null!=
1754c&&b.wf(16,c);c=I(a,17);null!=c&&b.ya(17,c);c=I(a,18);null!=c&&b.wf(18,c)}jC.prototype.sa=function(a){return jua(a,this)};function jua(a,b){var c,d={Zia:null==(c=I(b,1))?void 0:c,message:null==(c=I(b,2))?void 0:c,time:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}function kua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.eb();M(a,3,c);break;default:b.za()}return a}jC.prototype.ra=function(){var a=new F;lua(this,a);return a.wa()};
1755function lua(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.Ob(3,c)}jC.prototype.getTime=function(){return L(this,3,0)};var rra=[2];kC.prototype.sa=function(a){return zD(a,this)};function zD(a,b){var c,d={Iz:null==(c=I(b,1))?void 0:c,ala:bz(S(b,jC,2),jua,a),history:null==(c=dz(b,3))?void 0:c};a&&(d.xa=b);return d}
1756function mua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new jC;b.R(c,kua);mz(a,2,c,jC,void 0);break;case 3:c=b.Ba();M(a,3,c);break;default:b.za()}return a}kC.prototype.ra=function(){var a=new F;hE(this,a);return a.wa()};function hE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,jC,2);0<c.length&&b.Da(2,c,lua);c=I(a,3);null!=c&&b.ya(3,c)}var sra=[2,7];lC.prototype.sa=function(a){return asa(a,this)};
1757function asa(a,b){var c,d={offset:null==(c=I(b,1))?void 0:c,Dfa:null==(c=I(b,2))?void 0:c,kk:null==(c=dz(b,3))?void 0:c,qc:null==(c=I(b,4))?void 0:c,Hoa:null==(c=dz(b,5))?void 0:c,version:null==(c=I(b,6))?void 0:c,hia:null==(c=I(b,7))?void 0:c,Foa:null==(c=I(b,8))?void 0:c};a&&(d.xa=b);return d}lC.prototype.ra=function(){var a=new F;qsa(this,a);return a.wa()};
1758function qsa(a,b){var c=I(a,1);null!=c&&b.Ob(1,c);c=I(a,2);0<c.length&&b.pT(2,c);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=I(a,6);null!=c&&b.Ob(6,c);c=I(a,7);0<c.length&&b.gi(7,c);c=I(a,8);null!=c&&b.H(8,c)}lC.prototype.ov=function(a){M(this,3,a)};var tra=[24];h=mC.prototype;h.sa=function(a){return nua(a,this)};
1759function nua(a,b){var c,d={Fia:null==(c=I(b,1))?void 0:c,uka:null==(c=I(b,2))?void 0:c,time:null==(c=I(b,3))?void 0:c,key:null==(c=I(b,4))?void 0:c,value:null==(c=I(b,5))?void 0:c,$l:null==(c=I(b,6))?void 0:c,version:null==(c=I(b,7))?void 0:c,Bpa:null==(c=I(b,8))?void 0:c,W9:null==(c=I(b,9))?void 0:c,Z9:null==(c=I(b,10))?void 0:c,description:null==(c=I(b,11))?void 0:c,uoa:null==(c=I(b,12))?void 0:c,eja:null==(c=I(b,13))?void 0:c,rna:null==(c=I(b,14))?void 0:c,uc:null==(c=dz(b,15))?void 0:c,Uja:null==
1760(c=dz(b,16))?void 0:c,Bfa:null==(c=I(b,17))?void 0:c,Rga:(c=N(b,BB,18))&&wta(a,c),qha:null==(c=I(b,19))?void 0:c,FI:(c=IF(b))&&pD(a,c),N8:(c=N(b,rB,21))&&pD(a,c),Lla:null==(c=I(b,22))?void 0:c,mla:null==(c=I(b,23))?void 0:c,nfa:bz(S(b,WC,24),mF,a),kfa:null==(c=dz(b,25))?void 0:c,Vv:(c=N(b,EC,1001))&&FD(a,c)};a&&(d.xa=b);return d}
1761function oua(a,b){for(;
1761b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.eb();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();a.setValue(c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.eb();M(a,7,c);break;case 8:c=b.eb();M(a,8,c);break;case 9:c=b.G();M(a,9,c);break;case 10:c=b.G();M(a,10,c);break;case 11:c=b.G();M(a,11,c);break;case 12:c=b.eb();M(a,12,c);break;case 13:c=b.eb();M(a,13,c);break;case 14:c=b.eb();M(a,14,c);break;case 15:c=
1762b.Ba();M(a,15,c);break;case 16:c=b.Ba();M(a,16,c);break;case 17:c=b.eb();M(a,17,c);break;case 18:c=new BB;b.R(c,xta);T(a,18,c);break;case 19:c=b.G();M(a,19,c);break;case 20:c=new rB;b.R(c,ZE);T(a,20,c);break;case 21:c=new rB;b.R(c,ZE);T(a,21,c);break;case 22:c=b.oa();M(a,22,c);break;case 23:c=b.oa();M(a,23,c);break;case 24:c=new WC;b.R(c,vta);mz(a,24,c,WC,void 0);break;case 25:c=b.Ba();M(a,25,c);break;case 1001:c=new EC;b.R(c,vF);T(a,1001,c);break;default:b.za()}return a}
1763h.ra=function(){var a=new F;pua(this,a);return a.wa()};
1764function pua(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.Ob(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.Ob(7,c);c=I(a,8);null!=c&&b.Ob(8,c);c=I(a,9);null!=c&&b.H(9,c);c=I(a,10);null!=c&&b.H(10,c);c=I(a,11);null!=c&&b.H(11,c);c=I(a,12);null!=c&&b.Ob(12,c);c=I(a,13);null!=c&&b.Ob(13,c);c=I(a,14);null!=c&&b.Ob(14,c);c=I(a,15);null!=c&&b.ya(15,c);c=I(a,16);null!=c&&b.ya(16,c);c=I(a,17);null!=c&&b.Ob(17,
1765c);c=N(a,BB,18);null!=c&&b.aa(18,c,yta);c=I(a,19);null!=c&&b.H(19,c);c=IF(a);null!=c&&b.aa(20,c,ZD);c=N(a,rB,21);null!=c&&b.aa(21,c,ZD);c=I(a,22);null!=c&&b.ma(22,c);c=I(a,23);null!=c&&b.ma(23,c);c=S(a,WC,24);0<c.length&&b.Da(24,c,qF);c=I(a,25);null!=c&&b.ya(25,c);c=N(a,EC,1001);null!=c&&b.aa(1001,c,nE)}h.getTime=function(){return L(this,3,0)};h.getKey=function(){return L(this,4,"")};h.getValue=function(){return L(this,5,"")};h.setValue=function(a){return M(this,5,a)};
1766h.kg=function(){return null!=I(this,5)};function JF(a){return L(a,6,0)}function KF(a){return L(a,7,0)}h.getDescription=function(){return L(this,11,"")};function LF(a){return L(a,19,"")}function IF(a){return N(a,rB,20)}var ura=[1];nC.prototype.sa=function(a){return DD(a,this)};function DD(a,b){var c,d={gia:bz(S(b,mC,1),nua,a),eM:null==(c=dz(b,2))?void 0:c,Nla:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}
1767function qua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new mC;b.R(c,oua);mz(a,1,c,mC,void 0);break;case 2:c=b.Ba();M(a,2,c);break;case 3:c=b.eb();M(a,3,c);break;default:b.za()}return a}nC.prototype.ra=function(){var a=new F;lE(this,a);return a.wa()};function lE(a,b){var c=S(a,mC,1);0<c.length&&b.Da(1,c,pua);c=I(a,2);null!=c&&b.ya(2,c);c=I(a,3);null!=c&&b.Ob(3,c)}var vra=[2,5];oC.prototype.sa=function(a){return AD(a,this)};
1768function AD(a,b){var c,d={name:null==(c=I(b,1))?void 0:c,lka:null==(c=I(b,2))?void 0:c,be:null==(c=I(b,3))?void 0:c,url:null==(c=I(b,4))?void 0:c,goa:bz(S(b,CC,5),MF,a),oia:(c=N(b,AC,6))&&rua(a,c),fu:null==(c=I(b,7))?void 0:c,Wla:(c=gz(b,8,void 0,null))?c.sa(a,void 0):[],zia:(c=gz(b,9,void 0,IC))?c.sa(a,sua):[],Qia:(c=gz(b,10,void 0,pC))?c.sa(a,NF):[],Cia:null==(c=I(b,11))?void 0:c};a&&(d.xa=b);return d}
1769function tua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.sc(c);break;case 2:c=b.G();kz(a,2,c,void 0);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=new CC;b.R(c,uua);mz(a,5,c,CC,void 0);break;case 6:c=new AC;b.R(c,vua);T(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=gz(a,8,void 0,null);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.eb,null,"",0)});break;case 9:c=gz(a,9,void 0,IC);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.R,wua,"",
1770new IC)});break;case 10:c=gz(a,10,void 0,pC);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.R,xua,"",new pC)});break;case 11:c=b.G();M(a,11,c);break;default:b.za()}return a}oC.prototype.ra=function(){var a=new F;iE(this,a);return a.wa()};
1771function iE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);0<c.length&&b.vb(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=S(a,CC,5);0<c.length&&b.Da(5,c,OF);c=N(a,AC,6);null!=c&&b.aa(6,c,yua);c=I(a,7);null!=c&&b.H(7,c);(c=gz(a,8,!0,null))&&0<c.Dc()&&c.ra(8,b,F.prototype.H,F.prototype.Ob);(c=gz(a,9,!0,IC))&&0<c.Dc()&&c.ra(9,b,F.prototype.H,F.prototype.aa,zua);(c=gz(a,10,!0,pC))&&0<c.Dc()&&c.ra(10,b,F.prototype.H,F.prototype.aa,PF);c=I(a,11);null!=c&&b.H(11,c)}
1772oC.prototype.kb=function(){return L(this,1,"")};oC.prototype.sc=function(a){M(this,1,a)};pC.prototype.sa=function(a){return NF(a,this)};function NF(a,b){var c,d={mka:(c=gz(b,1,void 0,null))?c.sa(a,void 0):[]};a&&(d.xa=b);return d}function xua(a,b){for(;
1772b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=gz(a,1,void 0,null);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.G,null,"","")});break;default:b.za()}return a}pC.prototype.ra=function(){var a=new F;PF(this,a);return a.wa()};
1773function PF(a,b){(a=gz(a,1,!0,null))&&0<a.Dc()&&a.ra(1,b,F.prototype.H,F.prototype.H)}var wra=[3,5];qC.prototype.sa=function(a){return aF(a,this)};function aF(a,b){var c,d={$d:null==(c=I(b,1))?void 0:c,color:null==(c=I(b,2))?void 0:c,Ema:null==(c=I(b,3))?void 0:c,Goa:null==(c=dz(b,4))?void 0:c,hha:null==(c=I(b,5))?void 0:c,nr:null==(c=I(b,6))?void 0:c,Rha:null==(c=I(b,7))?void 0:c,state:null==(c=I(b,8))?void 0:c};a&&(d.xa=b);return d}
1774function cF(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();kz(a,3,c,void 0);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.G();kz(a,5,c,void 0);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;default:b.za()}return a}qC.prototype.ra=function(){var a=new F;dF(this,a);return a.wa()};
1775function dF(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);0<c.length&&b.vb(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);0<c.length&&b.vb(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c)}qC.prototype.getState=function(){return L(this,8,"")};var xra=[9,10,11];rC.prototype.sa=function(a){return Aua(a,this)};
1776function Aua(a,b){var c,d={event:null==(c=I(b,1))?void 0:c,Nu:null==(c=I(b,2))?void 0:c,ob:null==(c=I(b,3))?void 0:c,reason:null==(c=I(b,4))?void 0:c,Nma:null==(c=I(b,5))?void 0:c,Oma:null==(c=I(b,6))?void 0:c,qc:null==(c=I(b,7))?void 0:c,Ac:null==(c=I(b,8))?void 0:c,Kj:null==(c=I(b,9))?void 0:c,WZ:null==(c=I(b,10))?void 0:c,rX:null==(c=I(b,11))?void 0:c,nF:null==(c=I(b,12))?void 0:c,ce:(c=N(b,qC,13))&&aF(a,c),permission:null==(c=I(b,14))?void 0:c};a&&(d.xa=b);return d}
1777function Bua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.fb();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.fb();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.G();kz(a,9,c,void 0);break;case 10:c=b.G();kz(a,10,c,void 0);break;case 11:c=b.G();kz(a,11,c,void 0);break;case 12:c=b.fb();M(a,12,c);break;case 13:c=new qC;b.R(c,cF);T(a,13,c);break;case 14:c=
1778b.oa();M(a,14,c);break;default:b.za()}return a}rC.prototype.ra=function(){var a=new F;Cua(this,a);return a.wa()};
1779function Cua(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.gb(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.gb(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);0<c.length&&b.vb(9,c);c=I(a,10);0<c.length&&b.vb(10,c);c=I(a,11);0<c.length&&b.vb(11,c);c=I(a,12);null!=c&&b.gb(12,c);c=N(a,qC,13);null!=c&&b.aa(13,c,dF);c=I(a,14);null!=c&&b.ma(14,c)}rC.prototype.Td=function(){return L(this,14,0)};var yra=[2,3];
1780sC.prototype.sa=function(a){return BD(a,this)};function BD(a,b){var c,d={jS:null==(c=I(b,1))?void 0:c,Doa:bz(S(b,rC,2),Aua,a),d_:bz(S(b,AB,3),rD,a)};a&&(d.xa=b);return d}function Dua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new rC;b.R(c,Bua);mz(a,2,c,rC,void 0);break;case 3:c=new AB;b.R(c,nF);mz(a,3,c,AB,void 0);break;default:b.za()}return a}sC.prototype.ra=function(){var a=new F;jE(this,a);return a.wa()};
1781function jE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,rC,2);0<c.length&&b.Da(2,c,Cua);c=S(a,AB,3);0<c.length&&b.Da(3,c,aE)}tC.prototype.sa=function(a){return CD(a,this)};function CD(a,b){var c,d={bb:null==(c=I(b,1))?void 0:c,qc:null==(c=I(b,2))?void 0:c,url:null==(c=I(b,3))?void 0:c,Xk:null==(c=I(b,4))?void 0:c,N8:null==(c=I(b,5))?void 0:c};a&&(d.xa=b);return d}
1782function Eua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;default:b.za()}return a}tC.prototype.ra=function(){var a=new F;kE(this,a);return a.wa()};function kE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c)}tC.prototype.Rd=function(){return L(this,1,"")};
1783uC.prototype.sa=function(a){return bsa(a,this)};function bsa(a,b){var c,d={bb:null==(c=I(b,1))?void 0:c,scope:null==(c=I(b,2))?void 0:c,xh:null==(c=I(b,3))?void 0:c,Gh:null==(c=I(b,4))?void 0:c,offset:null==(c=I(b,5))?void 0:c,Py:null==(c=I(b,6))?void 0:c,Hka:null==(c=I(b,7))?void 0:c};a&&(d.xa=b);return d}uC.prototype.ra=function(){var a=new F;rsa(this,a);return a.wa()};
1784function rsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.Ob(3,c);c=I(a,4);null!=c&&b.Ob(4,c);c=I(a,5);null!=c&&b.Ob(5,c);c=I(a,6);null!=c&&b.Ob(6,c);c=I(a,7);null!=c&&b.ma(7,c)}uC.prototype.Rd=function(){return L(this,1,"")};var zra=[10,11,12,18,23];h=vC.prototype;h.sa=function(a){return QF(a,this)};
1785function QF(a,b){var c,d={name:null==(c=I(b,1))?void 0:c,Nz:null==(c=I(b,2))?void 0:c,Ef:null==(c=I(b,3))?void 0:c,Nha:null==(c=I(b,4))?void 0:c,Nu:null==(c=I(b,5))?void 0:c,tka:null==(c=I(b,6))?void 0:c,nF:null==(c=I(b,7))?void 0:c,Ac:null==(c=I(b,8))?void 0:c,Jfa:null==(c=I(b,9))?void 0:c,Kj:null==(c=I(b,10))?void 0:c,WZ:null==(c=I(b,11))?void 0:c,rX:null==(c=I(b,12))?void 0:c,Io:null==(c=I(b,13))?void 0:c,Mj:null==(c=I(b,14))?void 0:c,hl:null==(c=I(b,15))?void 0:c,Ifa:(c=N(b,rB,16))&&pD(a,c),ce:(c=
1786N(b,qC,17))&&aF(a,c),Kfa:bz(S(b,rB,18),pD,a),jS:null==(c=I(b,19))?void 0:c,Om:null==(c=I(b,20))?void 0:c,og:null==(c=I(b,21)
1786)?void 0:c,fu:null==(c=I(b,22))?void 0:c,Sma:null==(c=I(b,23))?void 0:c,Mha:null==(c=I(b,24))?void 0:c,OF:null==(c=I(b,25))?void 0:c,permission:null==(c=I(b,26))?void 0:c,wna:null==(c=I(b,27))?void 0:c};a&&(d.xa=b);return d}
1787function Fua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.sc(c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.fb();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.fb();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.G();M(a,9,c);break;case 10:c=b.G();kz(a,10,c,void 0);break;case 11:c=b.G();kz(a,11,c,void 0);break;case 12:c=b.G();kz(a,12,c,void 0);break;case 13:c=b.fb();M(a,13,c);break;case 14:c=b.G();M(a,14,
1788c);break;case 15:c=b.G();M(a,15,c);break;case 16:c=new rB;b.R(c,ZE);T(a,16,c);break;case 17:c=new qC;b.R(c,cF);T(a,17,c);break;case 18:c=new rB;b.R(c,ZE);mz(a,18,c,rB,void 0);break;case 19:c=b.G();M(a,19,c);break;case 20:c=b.G();M(a,20,c);break;case 21:c=b.G();M(a,21,c);break;case 22:c=b.G();M(a,22,c);break;case 23:c=b.G();kz(a,23,c,void 0);break;case 24:c=b.fb();M(a,24,c);break;case 25:c=b.oa();M(a,25,c);break;case 26:c=b.oa();M(a,26,c);break;case 27:c=b.fb();M(a,27,c);break;default:b.za()}return a}
1789h.ra=function(){var a=new F;RF(this,a);return a.wa()};
1790function RF(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.gb(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.gb(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.H(9,c);c=I(a,10);0<c.length&&b.vb(10,c);c=I(a,11);0<c.length&&b.vb(11,c);c=I(a,12);0<c.length&&b.vb(12,c);c=I(a,13);null!=c&&b.gb(13,c);c=I(a,14);null!=c&&b.H(14,c);c=I(a,15);null!=c&&b.H(15,c);c=N(a,rB,16);null!=c&&b.aa(16,c,ZD);c=N(a,qC,17);
1791null!=c&&b.aa(17,c,dF);c=S(a,rB,18);0<c.length&&b.Da(18,c,ZD);c=I(a,19);null!=c&&b.H(19,c);c=I(a,20);null!=c&&b.H(20,c);c=I(a,21);null!=c&&b.H(21,c);c=I(a,22);null!=c&&b.H(22,c);c=I(a,23);0<c.length&&b.vb(23,c);c=I(a,24);null!=c&&b.gb(24,c);c=I(a,25);null!=c&&b.ma(25,c);c=I(a,26);null!=c&&b.ma(26,c);c=I(a,27);null!=c&&b.gb(27,c)}h.kb=function(){return L(this,1,"")};h.sc=function(a){M(this,1,a)};h.Td=function(){return L(this,26,0)};var Ara=[2,3,4,5];wC.prototype.sa=function(a){return Fsa(a,this)};
1792function Fsa(a,b){var c,d={jS:null==(c=I(b,1))?void 0:c,TV:bz(S(b,vC,2),QF,a),d_:bz(S(b,AB,3),rD,a),mia:bz(S(b,xC,4),Gua,a),kha:bz(S(b,vC,5),QF,a)};a&&(d.xa=b);return d}function Hua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new vC;b.R(c,Fua);mz(a,2,c,vC,void 0);break;case 3:c=new AB;b.R(c,nF);mz(a,3,c,AB,void 0);break;case 4:c=new xC;b.R(c,Iua);mz(a,4,c,xC,void 0);break;case 5:c=new vC;b.R(c,Fua);mz(a,5,c,vC,void 0);break;default:b.za()}return a}
1793wC.prototype.ra=function(){var a=new F;Tsa(this,a);return a.wa()};function Tsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,vC,2);0<c.length&&b.Da(2,c,RF);c=S(a,AB,3);0<c.length&&b.Da(3,c,aE);c=S(a,xC,4);0<c.length&&b.Da(4,c,Jua);c=S(a,vC,5);0<c.length&&b.Da(5,c,RF)}xC.prototype.sa=function(a){return Gua(a,this)};function Gua(a,b){var c,d={id:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}
1794function Iua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.fb();M(a,1,c);break;default:b.za()}return a}xC.prototype.ra=function(){var a=new F;Jua(this,a);return a.wa()};function Jua(a,b){a=I(a,1);null!=a&&b.gb(1,a)}xC.prototype.rb=function(){return L(this,1,0)};yC.prototype.sa=function(a){return Kua(a,this)};function Kua(a,b){var c,d={title:null==(c=I(b,1))?void 0:c,url:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}
1795function Lua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();a.tc(c);break;case 2:c=b.G();M(a,2,c);break;default:b.za()}return a}yC.prototype.ra=function(){var a=new F;Mua(this,a);return a.wa()};function Mua(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c)}yC.prototype.getTitle=function(){return L(this,1,"")};yC.prototype.tc=function(a){M(this,1,a)};var Bra=[4];zC.prototype.sa=function(a){return Gsa(a,this)};
1796function Gsa(a,b){var c,d={uid:null==(c=I(b,1))?void 0:c,title:null==(c=I(b,2))?void 0:c,body:null==(c=I(b,3))?void 0:c,pfa:bz(S(b,yC,4),Kua,a)};a&&(d.xa=b);return d}function Nua(a,b){for(;
1796b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.tc(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=new yC;b.R(c,Lua);mz(a,4,c,yC,void 0);break;default:b.za()}return a}zC.prototype.ra=function(){var a=new F;Usa(this,a);return a.wa()};
1797function Usa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=S(a,yC,4);0<c.length&&b.Da(4,c,Mua)}zC.prototype.getTitle=function(){return L(this,2,"")};zC.prototype.tc=function(a){M(this,2,a)};var Cra=[1];AC.prototype.sa=function(a){return rua(a,this)};function rua(a,b){var c={Noa:bz(S(b,BC,1),Oua,a)};a&&(c.xa=b);return c}function vua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new BC;b.R(c,Pua);mz(a,1,c,BC,void 0);break;default:b.za()}return a}
1798AC.prototype.ra=function(){var a=new F;yua(this,a);return a.wa()};function yua(a,b){a=S(a,BC,1);0<a.length&&b.Da(1,a,Qua)}var Dra=[2];BC.prototype.sa=function(a){return Oua(a,this)};function Oua(a,b){var c,d={eoa:null==(c=I(b,1))?void 0:c,Moa:bz(S(b,CC,2),MF,a)};a&&(d.xa=b);return d}function Pua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new CC;b.R(c,uua);mz(a,2,c,CC,void 0);break;default:b.za()}return a}BC.prototype.ra=function(){var a=new F;Qua(this,a);return a.wa()};
1799function Qua(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,CC,2);0<c.length&&b.Da(2,c,OF)}var Era=[3,4,5];CC.prototype.sa=function(a){return MF(a,this)};function MF(a,b){var c,d={event:null==(c=I(b,1))?void 0:c,eia:null==(c=I(b,2))?void 0:c,rfa:null==(c=I(b,3))?void 0:c,Uma:null==(c=I(b,4))?void 0:c,lia:null==(c=I(b,5))?void 0:c};a&&(d.xa=b);return d}
1800function uua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();kz(a,3,c,void 0);break;case 4:c=b.G();kz(a,4,c,void 0);break;case 5:c=b.Rh()?b.nO():[b.zd()];for(var d=0;d<c.length;d++)kz(a,5,c[d],void 0);break;default:b.za()}return a}CC.prototype.ra=function(){var a=new F;OF(this,a);return a.wa()};
1801function OF(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);0<c.length&&b.vb(3,c);c=I(a,4);0<c.length&&b.vb(4,c);c=I(a,5);0<c.length&&b.oT(5,c)}var Fra=[1];DC.prototype.sa=function(a){return csa(a,this)};function csa(a,b){var c,d={BW:null==(c=I(b,1))?void 0:c,lna:null==(c=dz(b,2))?void 0:c};a&&(d.xa=b);return d}DC.prototype.ra=function(){var a=new F;ssa(this,a);return a.wa()};function ssa(a,b){var c=I(a,1);0<c.length&&b.vb(1,c);c=I(a,2);null!=c&&b.ya(2,c)}var Gra=[10,1017];
1802h=EC.prototype;h.sa=function(a){return FD(a,this)};
1803function FD(a,b){var c,d={NF:null==(c=I(b,1))?void 0:c,language:null==(c=I(b,2))?void 0:c,PF:null==(c=I(b,3))?void 0:c,event:null==(c=I(b,4))?void 0:c,mode:null==(c=I(b,6))?void 0:c,state:null==(c=I(b,7))?void 0:c,Xk:null==(c=I(b,9))?void 0:c,Kj:null==(c=I(b,10))?void 0:c,n5:null==(c=I(b,11))?void 0:c,CE:null==(c=dz(b,12))?void 0:c,Uoa:null==(c=I(b,13))?void 0:c,gna:null==(c=I(b,14))?void 0:c,Hfa:null==(c=I(b,15))?void 0:c,Woa:null==(c=I(b,16))?void 0:c,Gfa:null==(c=I(b,17))?void 0:c,Efa:null==(c=
1804I(b,18))?void 0:c,Rfa:null==(c=dz(b,19))?void 0:c,Yia:(c=gz(b,20,void 0,null))?c.sa(a,void 0):[],Hma:null==(c=dz(b,21))?void 0:c,qN:null==(c=I(b,22))?void 0:c,version:null==(c=I(b,1001))?void 0:c,vla:null==(c=I(b,1002))?void 0:c,xO:null==(c=I(b,1003))?void 0:c,wO:null==(c=I(b,1004))?void 0:c,vO:null==(c=I(b,1005))?void 0:c,Fh:null==(c=I(b,1006))?void 0:c,Xoa:null==(c=I(b,1008))?void 0:c,Voa:(c=N(b,U,1009))&&WE(a,c),error:(c=b.getError())&&WE(a,c),jb:null==(c=I(b,1011))?void 0:c,Ac:null==(c=I(b,1012))?
1805void 0:c,xma:null==(c=I(b,1013))?void 0:c,Ria:null==(c=dz(b,1014))?void 0:c,Lha:null==(c=dz(b,1015))?void 0:c,GM:null==(c=dz(b,1016))?void 0:c,fna:null==(c=I(b,1017))?void 0:c,Mia:null==(c=I(b,1018))?void 0:c,Kpa:ez(L(b,1019,"")),hoa:null==(c=I(b,1020))?void 0:c};a&&(d.xa=b);return d}
1806function vF(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.eb();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 6:c=b.oa();SF(a,c);break;case 7:c=b.oa();M(a,7,c);break;case 9:c=b.G();M(a,9,c);break;case 10:c=b.G();kz(a,10,c,void 0);break;case 11:c=b.oa();M(a,11,c);break;case 12:c=b.Ba();M(a,12,c);break;case 13:c=b.G();M(a,13,c);break;case 14:c=b.G();M(a,14,c);break;case 15:c=b.G();M(a,15,c);break;case 16:c=b.G();M(a,16,c);break;
1807case 17:c=b.fb();M(a,17,c);break;case 18:c=b.fb();M(a,18,c);break;case 19:c=b.Ba();M(a,19,c);break;case 20:c=gz(a,20,void 0,null);b.R(c,function(e,f){Vy(e,f,E.prototype.G,E.prototype.Hd,null,"","")});break;case 21:c=b.Ba();
1807M(a,21,c);break;case 22:c=b.G();M(a,22,c);break;case 1001:c=b.eb();M(a,1001,c);break;case 1002:c=b.G();M(a,1002,c);break;case 1003:c=b.G();M(a,1003,c);break;case 1004:c=b.G();M(a,1004,c);break;case 1005:c=b.G();M(a,1005,c);break;case 1006:c=b.G();M(a,1006,c);break;case 1008:c=b.G();
1808M(a,1008,c);break;case 1009:c=new U;b.R(c,XE);T(a,1009,c);break;case 1010:c=new U;b.R(c,XE);a.qb(c);break;case 1011:c=b.G();M(a,1011,c);break;case 1012:c=b.G();M(a,1012,c);break;case 1013:c=b.eb();M(a,1013,c);break;case 1014:c=b.Ba();M(a,1014,c);break;case 1015:c=b.Ba();M(a,1015,c);break;case 1016:c=b.Ba();M(a,1016,c);break;case 1017:c=b.Rh()?b.Qi():[b.oa()];for(var d=0;d<c.length;d++)kz(a,1017,c[d],void 0);break;case 1018:c=b.G();M(a,1018,c);break;case 1019:c=b.Hd();M(a,1019,c);break;case 1020:c=
1809b.G();M(a,1020,c);break;default:b.za()}return a}h.ra=function(){var a=new F;nE(this,a);return a.wa()};
1810function nE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.Ob(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.ma(7,c);c=I(a,9);null!=c&&b.H(9,c);c=I(a,10);0<c.length&&b.vb(10,c);c=I(a,11);null!=c&&b.ma(11,c);c=I(a,12);null!=c&&b.ya(12,c);c=I(a,13);null!=c&&b.H(13,c);c=I(a,14);null!=c&&b.H(14,c);c=I(a,15);null!=c&&b.H(15,c);c=I(a,16);null!=c&&b.H(16,c);c=I(a,17);null!=c&&b.gb(17,c);c=I(a,18);null!=c&&b.gb(18,c);c=I(a,19);null!=c&&
1811b.ya(19,c);(c=gz(a,20,!0,null))&&0<c.Dc()&&c.ra(20,b,F.prototype.H,F.prototype.wf);c=I(a,21);null!=c&&b.ya(21,c);c=I(a,22);null!=c&&b.H(22,c);c=I(a,1001);null!=c&&b.Ob(1001,c);c=I(a,1002);null!=c&&b.H(1002,c);c=I(a,1003);null!=c&&b.H(1003,c);c=I(a,1004);null!=c&&b.H(1004,c);c=I(a,1005);null!=c&&b.H(1005,c);c=I(a,1006);null!=c&&b.H(1006,c);c=I(a,1008);null!=c&&b.H(1008,c);c=N(a,U,1009);null!=c&&b.aa(1009,c,YE);c=a.getError();null!=c&&b.aa(1010,c,YE);c=I(a,1011);null!=c&&b.H(1011,c);c=I(a,1012);null!=
1812c&&b.H(1012,c);c=I(a,1013);null!=c&&b.Ob(1013,c);c=I(a,1014);null!=c&&b.ya(1014,c);c=I(a,1015);null!=c&&b.ya(1015,c);c=I(a,1016);null!=c&&b.ya(1016,c);c=I(a,1017);0<c.length&&b.gi(1017,c);c=I(a,1018);null!=c&&b.H(1018,c);c=I(a,1019);null!=c&&b.wf(1019,c);c=I(a,1020);null!=c&&b.H(1020,c)}function SF(a,b){M(a,6,b)}h.getState=function(){return L(this,7,0)};h.getError=function(){return N(this,U,1010)};h.qb=function(a){return T(this,1010,a)};h.xb=function(){return null!=I(this,1010)};
1813FC.prototype.sa=function(a){return vD(a,this)};function vD(a,b){var c={};a&&(c.xa=b);return c}function Rua(a,b){for(;b.Aa()&&!b.Ca();)b.za();return a}FC.prototype.ra=function(){return(new F).wa()};function psa(){}GC.prototype.sa=function(a){return Hsa(a,this)};
1814function Hsa(a,b){var c,d={px:null==(c=I(b,1001))?void 0:c,pu:null==(c=I(b,1002))?void 0:c,details:null==(c=I(b,1003))?void 0:c,kO:null==(c=dz(b,1004))?void 0:c,Dn:null==(c=dz(b,1005))?void 0:c,status:(c=b.Ec())&&Sua(a,c)};a&&(d.xa=b);return d}
1815function Tua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1001:var c=b.G();M(a,1001,c);break;case 1002:c=b.G();M(a,1002,c);break;case 1003:c=b.G();M(a,1003,c);break;case 1004:c=b.Ba();M(a,1004,c);break;case 1005:c=b.Ba();M(a,1005,c);break;case 1006:c=new mD;b.R(c,Uua);T(a,1006,c);break;default:b.za()}return a}GC.prototype.ra=function(){var a=new F;Vsa(this,a);return a.wa()};
1816function Vsa(a,b){var c=I(a,1001);null!=c&&b.H(1001,c);c=I(a,1002);null!=c&&b.H(1002,c);c=I(a,1003);null!=c&&b.H(1003,c);c=I(a,1004);null!=c&&b.ya(1004,c);c=I(a,1005);null!=c&&b.ya(1005,c);c=a.Ec();null!=c&&b.aa(1006,c,Vua)}GC.prototype.Ec=function(){return N(this,mD,1006)};var Hra=[6];HC.prototype.sa=function(a){return Wua(a,this)};
1817function Wua(a,b){var c,d={host:null==(c=I(b,1))?void 0:c,username:null==(c=I(b,2))?void 0:c,password:null==(c=I(b,3))?void 0:c,vha:null==(c=I(b,4))?void 0:c,mimeType:null==(c=I(b,5))?void 0:c,$la:null==(c=I(b,6))?void 0:c,rja:(c=N(b,U,1001))&&WE(a,c),opa:(c=N(b,U,1002))&&WE(a,c),u3:(c=N(b,U,1003))&&WE(a,c),wha:(c=N(b,U,1004))&&WE(a,c),fla:(c=N(b,U,1005))&&WE(a,c)};a&&(d.xa=b);return d}
1818function Xua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();kz(a,6,c,void 0);break;case 1001:c=new U;b.R(c,XE);T(a,1001,c);break;case 1002:c=new U;b.R(c,XE);T(a,1002,c);break;case 1003:c=new U;b.R(c,XE);T(a,1003,c);break;case 1004:c=new U;b.R(c,XE);T(a,1004,c);break;case 1005:c=new U;b.R(c,XE);T(a,1005,c);break;default:b.za()}return a}
1819HC.prototype.ra=function(){var a=new F;Yua(this,a);return a.wa()};function Yua(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);0<c.length&&b.vb(6,c);c=N(a,U,1001);null!=c&&b.aa(1001,c,YE);c=N(a,U,1002);null!=c&&b.aa(1002,c,YE);c=N(a,U,1003);
1819null!=c&&b.aa(1003,c,YE);c=N(a,U,1004);null!=c&&b.aa(1004,c,YE);c=N(a,U,1005);null!=c&&b.aa(1005,c,YE)}var Ira=[1];
1820IC.prototype.sa=function(a){return sua(a,this)};function sua(a,b){var c={yia:bz(S(b,JC,1),Zua,a)};a&&(c.xa=b);return c}function wua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new JC;b.R(c,$ua);mz(a,1,c,JC,void 0);break;default:b.za()}return a}IC.prototype.ra=function(){var a=new F;zua(this,a);return a.wa()};function zua(a,b){a=S(a,JC,1);0<a.length&&b.Da(1,a,ava)}JC.prototype.sa=function(a){return Zua(a,this)};
1821function Zua(a,b){var c,d={form:null==(c=I(b,1))?void 0:c,lma:null==(c=I(b,2))?void 0:c,Zb:null==(c=I(b,3))?void 0:c,qja:null==(c=I(b,4))?void 0:c};a&&(d.xa=b);return d}function $ua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.fb();M(a,4,c);break;default:b.za()}return a}JC.prototype.ra=function(){var a=new F;ava(this,a);return a.wa()};
1822function ava(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.gb(4,c)}h=KC.prototype;h.sa=function(a){return LD(a,this)};
1823function LD(a,b){var c,d={nn:null==(c=I(b,1))?void 0:c,name:null==(c=I(b,2))?void 0:c,tga:null==(c=I(b,3))?void 0:c,IF:null==(c=I(b,4))?void 0:c,Ht:null==(c=dz(b,5))?void 0:c,Qh:null==(c=dz(b,6))?void 0:c,uc:null==(c=dz(b,7))?void 0:c,j8:null==(c=I(b,8))?void 0:c,m1:(c=N(b,U,1001))&&WE(a,c),Zma:(c=N(b,U,1002))&&WE(a,c),be:null==(c=I(b,1003))?void 0:c,Rna:(c=N(b,U,1004))&&WE(a,c)};a&&(d.xa=b);return d}
1824function bva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.sc(c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.Ba();M(a,5,c);break;case 6:c=b.Ba();M(a,6,c);break;case 7:c=b.Ba();M(a,7,c);break;case 8:c=b.G();a.Vi(c);break;case 1001:c=new U;b.R(c,XE);T(a,1001,c);break;case 1002:c=new U;b.R(c,XE);T(a,1002,c);break;case 1003:c=b.G();M(a,1003,c);break;case 1004:c=new U;b.R(c,XE);T(a,1004,c);break;default:b.za()}return a}
1825h.ra=function(){var a=new F;tE(this,a);return a.wa()};function tE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=I(a,6);null!=c&&b.ya(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=I(a,8);null!=c&&b.H(8,c);c=N(a,U,1001);null!=c&&b.aa(1001,c,YE);c=N(a,U,1002);null!=c&&b.aa(1002,c,YE);c=I(a,1003);null!=c&&b.H(1003,c);c=N(a,U,1004);null!=c&&b.aa(1004,c,YE)}h.bh=function(){return L(this,1,"")};
1826h.kb=function(){return L(this,2,"")};h.sc=function(a){M(this,2,a)};h.Dg=function(){return L(this,8,"")};h.Vi=function(a){M(this,8,a)};h.ef=function(){return L(this,1003,"")};h.pg=function(){return null!=I(this,1003)};LC.prototype.sa=function(a){return MD(a,this)};function MD(a,b){var c,d={RL:null==(c=I(b,1))?void 0:c,UE:null==(c=I(b,2))?void 0:c,be:null==(c=I(b,1001))?void 0:c};a&&(d.xa=b);return d}
1827function cva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 1001:c=b.G();M(a,1001,c);break;default:b.za()}return a}LC.prototype.ra=function(){var a=new F;uE(this,a);return a.wa()};function uE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,1001);null!=c&&b.H(1001,c)}MC.prototype.sa=function(a){return Isa(a,this)};function Isa(a,b){var c,d={gha:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}
1828function dva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;default:b.za()}return a}MC.prototype.ra=function(){var a=new F;Wsa(this,a);return a.wa()};function Wsa(a,b){a=I(a,1);null!=a&&b.H(1,a)}var Jra=[1009,1010];NC.prototype.sa=function(a){return GD(a,this)};
1829function GD(a,b){var c,d={clientId:null==(c=I(b,1001))?void 0:c,$r:(c=b.Gf())&&pD(a,c),AV:(c=TF(b))?c.sa(a,Dma):[],Pna:(c=N(b,HC,1004))&&Wua(a,c),ffa:null==(c=dz(b,1005))?void 0:c,gfa:null==(c=I(b,1006))?void 0:c,boa:null==(c=I(b,1007))?void 0:c,be:null==(c=I(b,1008))?void 0:c,Qma:bz(S(b,yz,1009),Pma,a),zja:bz(S(b,tz,1010),Gma,a),hfa:(c=N(b,uz,1011))&&Jma(a,c),xka:null==(c=I(b,1012))?void 0:c,vendor:(c=N(b,dD,1013))&&TD(a,c),tfa:(c=N(b,OC,1014))&&eva(a,c),joa:null==(c=I(b,1015))?void 0:c};a&&(d.xa=
1830b);return d}
1831function fva(a,b){for(;
1831b.Aa()&&!b.Ca();)switch(b.g){case 1001:var c=b.G();M(a,1001,c);break;case 1002:c=new rB;b.R(c,ZE);T(a,1002,c);break;case 1003:c=TF(a);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.R,Ema,"",new sz)});break;case 1004:c=new HC;b.R(c,Xua);T(a,1004,c);break;case 1005:c=b.Ba();M(a,1005,c);break;case 1006:c=b.G();M(a,1006,c);break;case 1007:c=b.oa();M(a,1007,c);break;case 1008:c=b.G();M(a,1008,c);break;case 1009:c=new yz;b.R(c,Qma);mz(a,1009,c,yz,void 0);break;case 1010:c=new tz;
1832b.R(c,Hma);mz(a,1010,c,tz,void 0);break;case 1011:c=new uz;b.R(c,Lma);T(a,1011,c);break;case 1012:c=b.G();M(a,1012,c);break;case 1013:c=new dD;b.R(c,gva);T(a,1013,c);break;case 1014:c=new OC;b.R(c,hva);T(a,1014,c);break;case 1015:c=b.oa();M(a,1015,c);break;default:b.za()}return a}NC.prototype.ra=function(){var a=new F;oE(this,a);return a.wa()};
1833function oE(a,b){var c=I(a,1001);null!=c&&b.H(1001,c);c=a.Gf();null!=c&&b.aa(1002,c,ZD);(c=TF(a,!0))&&0<c.Dc()&&c.ra(1003,b,F.prototype.H,F.prototype.aa,Fma);c=N(a,HC,1004);null!=c&&b.aa(1004,c,Yua);c=I(a,1005);null!=c&&b.ya(1005,c);c=I(a,1006);null!=c&&b.H(1006,c);c=I(a,1007);null!=c&&b.ma(1007,c);c=I(a,1008);null!=c&&b.H(1008,c);c=S(a,yz,1009);0<c.length&&b.Da(1009,c,Rma);c=S(a,tz,1010);0<c.length&&b.Da(1010,c,Ima);c=N(a,uz,1011);null!=c&&b.aa(1011,c,Nma);c=I(a,1012);null!=c&&b.H(1012,c);c=N(a,
1834dD,1013);null!=c&&b.aa(1013,c,AE);c=N(a,OC,1014);null!=c&&b.aa(1014,c,iva);c=I(a,1015);null!=c&&b.ma(1015,c)}NC.prototype.Gf=function(){return N(this,rB,1002)};NC.prototype.mu=function(){return null!=I(this,1002)};function TF(a,b){return gz(a,1003,b,sz)}h=OC.prototype;h.sa=function(a){return eva(a,this)};
1835function eva(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,Sna:(c=N(b,rB,2))&&pD(a,c),EH:null==(c=I(b,3))?void 0:c,Una:null==(c=I(b,4))?void 0:c,version:null==(c=I(b,5))?void 0:c,vf:null==(c=I(b,6))?void 0:c,IX:null==(c=I(b,7))?void 0:c,jka:null==(c=I(b,8))?void 0:c,cd:null==(c=I(b,9))?void 0:c};a&&(d.xa=b);return d}
1836function hva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new rB;b.R(c,ZE);T(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.zd();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.G();M(a,7,c);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.G();M(a,9,c);break;default:b.za()}return a}h.ra=function(){var a=new F;iva(this,a);return a.wa()};
1837function iva(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=N(a,rB,2);null!=c&&b.aa(2,c,ZD);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.qd(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.H(9,c)}h.rb=function(){return L(this,1,"")};h.re=function(){return L(this,3,"")};h.Bj=function(){return L(this,6,"")};h.Fx=function(){return L(this,7,"")};h.gD=function(){return L(this,9,"")};var Kra=[2];
1838PC.prototype.sa=function(a){return KD(a,this)};function KD(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,qga:bz(S(b,QC,2),jva,a),mJ:null==(c=I(b,1001))?void 0:c,Ps:null==(c=I(b,1002))?void 0:c,be:null==(c=I(b,1003))?void 0:c,hla:null==(c=I(b,1004))?void 0:c,ila:null==(c=I(b,1005))?void 0:c,LU:null==(c=I(b,1006))?void 0:c,Jpa:null==(c=dz(b,1007))?void 0:c};a&&(d.xa=b);return d}
1839function kva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new QC;b.R(c,lva);UF(a,c);break;case 1001:c=b.G();M(a,1001,c);break;case 1002:c=b.oa();M(a,1002,c);break;case 1003:c=b.G();M(a,1003,c);break;case 1004:c=b.zd();M(a,1004,c);break;case 1005:c=b.zd();M(a,1005,c);break;case 1006:c=b.G();M(a,1006,c);break;case 1007:c=b.Ba();M(a,1007,c);break;default:b.za()}return a}PC.prototype.ra=function(){var a=new F;sE(this,a);return a.wa()};
1840function sE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=S(a,QC,2);0<c.length&&b.Da(2,c,mva);c=I(a,1001);null!=c&&b.H(1001,c);c=I(a,1002);null!=c&&b.ma(1002,c);c=I(a,1003);null!=c&&b.H(1003,c);c=I(a,1004);null!=c&&b.qd(1004,c);c=I(a,1005);null!=c&&b.qd(1005,c);c=I(a,1006);null!=c&&b.H(1006,c);c=I(a,1007);null!=c&&b.ya(1007,c)}PC.prototype.rb=function(){return L(this,1,"")};function UF(a,b){mz(a,2,b,QC,void 0)}var Lra=[3];QC.prototype.sa=function(a){return jva(a,this)};
1841function jva(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,year:(c=N(b,RC,2))&&VF(a,c),eha:bz(S(b,RC,3),VF,a),be:null==(c=I(b,1002))?void 0:c};a&&(d.xa=b);return d}function lva(a,b){for(;
1841b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.zd();M(a,1,c);break;case 2:c=new RC;b.R(c,nva);T(a,2,c);break;case 3:c=new RC;b.R(c,nva);WF(a,c);break;case 1002:c=b.G();M(a,1002,c);break;default:b.za()}return a}QC.prototype.ra=function(){var a=new F;mva(this,a);return a.wa()};
1842function mva(a,b){var c=I(a,1);null!=c&&b.qd(1,c);c=N(a,RC,2);null!=c&&b.aa(2,c,XF);c=S(a,RC,3);0<c.length&&b.Da(3,c,XF);c=I(a,1002);null!=c&&b.H(1002,c)}QC.prototype.rb=function(){return L(this,1,0)};function WF(a,b){mz(a,3,b,RC,void 0)}RC.prototype.sa=function(a){return VF(a,this)};
1843function VF(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,xh:null==(c=I(b,2))?void 0:c,Gh:null==(c=I(b,3))?void 0:c,description:null==(c=I(b,4))?void 0:c,be:null==(c=I(b,1003))?void 0:c,Ps:null==(c=I(b,1004))?void 0:c};a&&(d.xa=b);return d}
1844function nva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.zd();M(a,1,c);break;case 2:c=b.zd();M(a,2,c);break;case 3:c=b.zd();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 1003:c=b.G();M(a,1003,c);break;case 1004:c=b.oa();M(a,1004,c);break;default:b.za()}return a}RC.prototype.ra=function(){var a=new F;XF(this,a);return a.wa()};
1845function XF(a,b){var c=I(a,1);null!=c&&b.qd(1,c);c=I(a,2);null!=c&&b.qd(2,c);c=I(a,3);null!=c&&b.qd(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,1003);null!=c&&b.H(1003,c);c=I(a,1004);null!=c&&b.ma(1004,c)}RC.prototype.rb=function(){return L(this,1,0)};RC.prototype.getDescription=function(){return L(this,4,"")};var Mra=[2];SC.prototype.sa=function(a){return ND(a,this)};function ND(a,b){var c,d={Yma:null==(c=I(b,1))?void 0:c,jga:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}
1846function ova(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();kz(a,2,c,void 0);break;default:b.za()}return a}SC.prototype.ra=function(){var a=new F;vE(this,a);return a.wa()};function vE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);0<c.length&&b.vb(2,c)}TC.prototype.sa=function(a){return esa(a,this)};function esa(a,b){var c,d={oga:null==(c=I(b,1))?void 0:c,uma:null==(c=I(b,2))?void 0:c,async:null==(c=dz(b,3))?void 0:c};a&&(d.xa=b);return d}
1847TC.prototype.ra=function(){var a=new F;usa(this,a);return a.wa()};function usa(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.ya(3,c)}TC.prototype.ql=function(a){return M(this,3,a)};UC.prototype.sa=function(a){return PD(a,this)};function PD(a,b){var c,d={B8:null==(c=I(b,1))?void 0:c,Ps:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}
1848function pva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;default:b.za()}return a}UC.prototype.ra=function(){var a=new F;wE(this,a);return a.wa()};function wE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c)}VC.prototype.sa=function(a){return qva(a,this)};
1849function qva(a,b){var c,d={ina:null==(c=I(b,1))?void 0:c,closed:null==(c=dz(b,2))?void 0:c,Ega:null==(c=I(b,3))?void 0:c,reason:null==(c=I(b,4))?void 0:c,sla:(c=N(b,rB,5))&&pD(a,c),Dga:(c=N(b,rB,6))&&pD(a,c)};a&&(d.xa=b);return d}
1850function rva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.zd();M(a,1,c);break;case 2:c=b.Ba();M(a,2,c);break;case 3:c=b.zd();M(a,3,c);break;case 4:c=b.oa();M(a,4,c);break;case 5:c=new rB;b.R(c,ZE);T(a,5,c);break;case 6:c=new rB;b.R(c,ZE);T(a,6,c);break;default:b.za()}return a}VC.prototype.ra=function(){var a=new F;sva(this,a);return a.wa()};
1851function sva(a,b){var c=I(a,1);null!=c&&b.qd(1,c);c=I(a,2);null!=c&&b.ya(2,c);c=I(a,3);null!=c&&b.qd(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=N(a,rB,5);null!=c&&b.aa(5,c,ZD);c=N(a,rB,6);null!=c&&b.aa(6,c,ZD)}WC.prototype.sa=function(a){return mF(a,this)};function mF(a,b){var c,d={B8:null==(c=I(b,1))?void 0:c,$r:(c=b.Gf())&&pD(a,c),version:null==(c=I(b,3))?void 0:c,Eoa:null==(c=I(b,4))?void 0:c,hna:(c=N(b,VC,5))&&qva(a,c)};a&&(d.xa=b);return d}
1852function vta(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=new rB;b.R(c,ZE);T(a,2,c);break;case 3:c=b.fb();M(a,3,c);break;case 4:c=b.zd();M(a,4,c);break;case 5:c=new VC;b.R(c,rva);T(a,5,c);break;default:b.za()}return a}WC.prototype.ra=function(){var a=new F;qF(this,a);return a.wa()};function qF(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=a.Gf();null!=c&&b.aa(2,c,ZD);c=I(a,3);null!=c&&b.gb(3,c);c=I(a,4);null!=c&&b.qd(4,c);c=N(a,VC,5);null!=c&&b.aa(5,c,sva)}
1853WC.prototype.Gf=function(){return N(this,rB,2)};WC.prototype.mu=function(){return null!=I(this,2)};var Nra=[4,5];h=XC.prototype;h.sa=function(a){return YF(a,this)};
1854function YF(a,b){var c,d={Vg:null==(c=I(b,1))?void 0:c,type:null==(c=I(b,2))?void 0:c,HV:null==(c=I(b,3))?void 0:c,W_:null==(c=I(b,4))?void 0:c,Ina:null==(c=I(b,5))?void 0:c,link:null==(c=I(b,6))?void 0:c,name:null==(c=I(b,7))?void 0:c,creationTime:null==(c=I(b,8))?void 0:c,Sga:(c=N(b,rB,1001))&&pD(a,c),gka:null==(c=I(b,1002))?void 0:c,fka:null==(c=I(b,1003))?void 0:c};a&&(d.xa=b);return d}
1855function ZF(a,b){for(;
1855b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();kz(a,4,c,void 0);break;case 5:c=b.G();kz(a,5,c,void 0);break;case 6:c=b.G();M(a,6,c);break;case 7:c=b.G();a.sc(c);break;case 8:c=b.zd();M(a,8,c);break;case 1001:c=new rB;b.R(c,ZE);T(a,1001,c);break;case 1002:c=b.fb();M(a,1002,c);break;case 1003:c=b.fb();M(a,1003,c);break;default:b.za()}return a}h.ra=function(){var a=new F;$F(this,a);return a.wa()};
1856function $F(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);0<c.length&&b.vb(4,c);c=I(a,5);0<c.length&&b.vb(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c);c=I(a,8);null!=c&&b.qd(8,c);c=N(a,rB,1001);null!=c&&b.aa(1001,c,ZD);c=I(a,1002);null!=c&&b.gb(1002,c);c=I(a,1003);null!=c&&b.gb(1003,c)}h.Hx=function(){return L(this,6,"")};h.kb=function(){return L(this,7,"")};h.sc=function(a){M(this,7,a)};h.Se=function(){return L(this,1003,0)};
1857var Ora=[3,4];h=YC.prototype;h.sa=function(a){return QD(a,this)};
1858function QD(a,b){var c,d={Wka:null==(c=I(b,1))?void 0:c,HV:null==(c=I(b,2))?void 0:c,Oha:null==(c=I(b,3))?void 0:c,qpa:null==(c=I(b,4))?void 0:c,link:null==(c=I(b,5))?void 0:c,title:null==(c=I(b,6))?void 0:c,Vk:null==(c=dz(b,7))?void 0:c,index:null==(c=I(b,1001))?void 0:c,Wga:null==(c=I(b,1002))?void 0:c,Xga:null==(c=I(b,1003))?void 0:c,total:null==(c=I(b,1004))?void 0:c,be:null==(c=I(b,1005))?void 0:c,Vl:(c=N(b,XC,1006))&&YF(a,c)};a&&(d.xa=b);return d}
1859function tva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();kz(a,3,c,void 0);break;case 4:c=b.G();kz(a,4,c,void 0);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.G();a.tc(c);break;case 7:c=b.Ba();M(a,7,c);break;case 1001:c=b.fb();M(a,1001,c);break;case 1002:c=b.G();M(a,1002,c);break;case 1003:c=b.G();M(a,1003,c);break;case 1004:c=b.fb();a.Ar(c);break;case 1005:c=b.G();M(a,1005,c);break;case 1006:c=new XC;b.R(c,ZF);T(a,1006,c);
1860break;default:b.za()}return a}h.ra=function(){var a=new F;xE(this,a);return a.wa()};
1861function xE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);0<c.length&&b.vb(3,c);c=I(a,4);0<c.length&&b.vb(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.ya(7,c);c=I(a,1001);null!=c&&b.gb(1001,c);c=I(a,1002);null!=c&&b.H(1002,c);c=I(a,1003);null!=c&&b.H(1003,c);c=I(a,1004);null!=c&&b.gb(1004,c);c=I(a,1005);null!=c&&b.H(1005,c);c=N(a,XC,1006);null!=c&&b.aa(1006,c,$F)}h.Hx=function(){return L(this,5,"")};
1862h.getTitle=function(){return L(this,6,"")};h.tc=function(a){M(this,6,a)};h.Ar=function(a){M(this,1004,a)};var Pra=[3];ZC.prototype.sa=function(a){return RD(a,this)};function RD(a,b){var c,d={Oj:null==(c=I(b,1))?void 0:c,type:null==(c=I(b,2))?void 0:c,GX:null==(c=I(b,3))?void 0:c,source:null==(c=I(b,4))?void 0:c,Vl:(c=N(b,XC,1001))&&YF(a,c),be:null==(c=I(b,1002))?void 0:c};a&&(d.xa=b);return d}
1863function uva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.G();kz(a,3,c,void 0);break;case 4:c=b.oa();M(a,4,c);break;case 1001:c=new XC;b.R(c,ZF);T(a,1001,c);break;case 1002:c=b.G();M(a,1002,c);break;default:b.za()}return a}ZC.prototype.ra=function(){var a=new F;yE(this,a);return a.wa()};
1864function yE(a,b){var c=I(a,1);null!=c&&b.ma(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);0<c.length&&b.vb(3,c);c=I(a,4);null!=c&&b.ma(4,c);c=N(a,XC,1001);null!=c&&b.aa(1001,c,$F);c=I(a,1002);null!=c&&b.H(1002,c)}$C.prototype.sa=function(a){return WD(a,this)};function WD(a,b){var c,d={Ac:null==(c=I(b,1))?void 0:c,qq:null==(c=I(b,2))?void 0:c,Vl:(c=N(b,XC,1001))&&YF(a,c),be:null==(c=I(b,1002))?void 0:c};a&&(d.xa=b);return d}
1865function vva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 1001:c=new XC;b.R(c,ZF);T(a,1001,c);break;case 1002:c=b.G();M(a,1002,c);break;default:b.za()}return a}$C.prototype.ra=function(){var a=new F;DE(this,a);return a.wa()};function DE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=N(a,XC,1001);null!=c&&b.aa(1001,c,$F);c=I(a,1002);null!=c&&b.H(1002,c)}aD.prototype.sa=function(a){return fsa(a,this)};
1866function fsa(a,b){var c,d={Hia:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}aD.prototype.ra=function(){var a=new F;vsa(this,a);return a.wa()};function vsa(a,b){a=I(a,1);null!=a&&b.H(1,a)}bD.prototype.sa=function(a){return Jsa(a,this)};function Jsa(a,b){var c,d={R0:null==(c=I(b,1))?void 0:c};a&&(d.xa=b);return d}function wva(a,b){for(;
1866b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;default:b.za()}return a}bD.prototype.ra=function(){var a=new F;Xsa(this,a);return a.wa()};
1867function Xsa(a,b){a=I(a,1);null!=a&&b.H(1,a)}var Qra=[7];h=cD.prototype;h.sa=function(a){return xva(a,this)};function xva(a,b){var c,d={$N:null==(c=I(b,1))?void 0:c,inputType:null==(c=I(b,2))?void 0:c,required:null==(c=dz(b,3))?void 0:c,aka:null==(c=dz(b,4))?void 0:c,readOnly:null==(c=dz(b,5))?void 0:c,Jna:null==(c=dz(b,6))?void 0:c,w9:null==(c=I(b,7))?void 0:c,label:null==(c=I(b,8))?void 0:c,pja:null==(c=I(b,9))?void 0:c,M3:null==(c=dz(b,1001))?void 0:c};a&&(d.xa=b);return d}
1868function yva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.oa();M(a,2,c);break;case 3:c=b.Ba();M(a,3,c);break;case 4:c=b.Ba();M(a,4,c);break;case 5:c=b.Ba();a.Lg(c);break;case 6:c=b.Ba();M(a,6,c);break;case 7:c=b.Rh()?b.Qi():[b.oa()];for(var d=0;d<c.length;d++)kz(a,7,c[d],void 0);break;case 8:c=b.G();M(a,8,c);break;case 9:c=b.G();M(a,9,c);break;case 1001:c=b.Ba();M(a,1001,c);break;default:b.za()}return a}h.ra=function(){var a=new F;zva(this,a);return a.wa()};
1869function zva(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.ma(2,c);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,4);null!=c&&b.ya(4,c);c=I(a,5);null!=c&&b.ya(5,c);c=I(a,6);null!=c&&b.ya(6,c);c=I(a,7);0<c.length&&b.gi(7,c);c=I(a,8);null!=c&&b.H(8,c);c=I(a,9);null!=c&&b.H(9,c);c=I(a,1001);null!=c&&b.ya(1001,c)}h.Ci=function(){return L(this,1,"")};h.Kn=function(){return L(this,2,0)};h.Pn=function(){return fz(this,3,!1)};h.Lg=function(a){M(this,5,a)};var Rra=[3,4,5,6,7];h=dD.prototype;
1870h.sa=function(a){return TD(a,this)};
1871function TD(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,name:null==(c=I(b,2))?void 0:c,w9:null==(c=I(b,3))?void 0:c,Gna:bz(S(b,CB,4),uD,a),ypa:null==(c=I(b,5))?void 0:c,ioa:null==(c=I(b,6))?void 0:c,Dha:null==(c=I(b,7))?void 0:c,AV:(c=gz(b,8,void 0,cD))?c.sa(a,xva):[],status:null==(c=I(b,9))?void 0:c,$oa:null==(c=I(b,10))?void 0:c,$ja:null==(c=dz(b,11))?void 0:c,Afa:null==(c=I(b,12))?void 0:c,Pha:(c=gz(b,13,void 0,pC))?c.sa(a,NF):[],error:null==(c=I(b,1001))?void 0:c,tpa:(c=N(b,CB,1002))&&uD(a,c),
1872statusMessage:null==(c=I(b,1003))?void 0:c,M3:null==(c=dz(b,1004))?void 0:c};a&&(d.xa=b);return d}
1873function gva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.sc(c);break;case 3:c=b.Rh()?b.Qi():[b.oa()];for(var d=0;d<c.length;d++)kz(a,3,c[d],void 0);break;case 4:c=new CB;b.R(c,pF);mz(a,4,c,CB,void 0);break;case 5:c=b.G();kz(a,5,c,void 0);break;case 6:c=b.G();kz(a,6,c,void 0);break;case 7:c=b.G();kz(a,7,c,void 0);break;case 8:c=gz(a,8,void 0,cD);b.R(c,function(e,f){Vy(e,f,E.prototype.G,E.prototype.R,yva,"",new cD)});break;case 9:c=b.oa();M(a,9,c);break;
1874case 10:c=b.Id();M(a,10,c);break;case 11:c=b.Ba();M(a,11,c);break;case 12:c=b.G();M(a,12,c);break;case 13:c=gz(a,13,void 0,pC);b.R(c,function(e,f){Vy(e,f,E.prototype.G,E.prototype.R,xua,"",new pC)});break;case 1001:c=b.G();a.qb(c);break;case 1002:c=new CB;b.R(c,pF);T(a,1002,c);break;case 1003:c=b.G();M(a,1003,c);break;case 1004:c=b.Ba();M(a,1004,c);break;default:b.za()}return a}h.ra=function(){var a=new F;AE(this,a);return a.wa()};
1875function AE(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);0<c.length&&b.gi(3,c);c=S(a,CB,4);0<c.length&&b.Da(4,c,dE);c=I(a,5);0<c.length&&b.vb(5,c);c=I(a,6);0<c.length&&b.vb(6,c);c=I(a,7);0<c.length&&b.vb(7,c);(c=gz(a,8,!0,cD))&&0<c.Dc()&&c.ra(8,b,F.prototype.H,F.prototype.aa,zva);c=I(a,9);null!=c&&b.ma(9,c);c=I(a,10);null!=c&&b.mf(10,c);c=I(a,11);null!=c&&b.ya(11,c);c=I(a,12);null!=c&&b.H(12,c);(c=gz(a,13,!0,pC))&&0<c.Dc()&&c.ra(13,b,F.prototype.H,F.prototype.aa,PF);c=I(a,
18761001);null!=c&&b.H(1001,c);c=N(a,CB,1002);null!=c&&b.aa(1002,c,dE);c=I(a,1003);null!=c&&b.H(1003,c);c=I(a,1004);null!=c&&b.ya(1004,c)}h.rb=function(){return L(this,1,"")};h.kb=function(){return L(this,2,"")};h.sc=function(a){M(this,2,a)};h.Ec=function(){return L(this,9,0)};function aG(a){return L(a,12,"")}h.getError=function(){return L(this,1001,"")};h.qb=function(a){return M(this,1001,a)};h.xb=function(){return null!=I(this,1001)};var Sra=[9,10];h=eD.prototype;h.sa=function(a){return Ava(a,this)};
1877function Ava(a,b){var c,d={id:null==(c=I(b,1))?void 0:c,kma:null==(c=I(b,2))?void 0:c,doa:null==(c=I(b,3))?void 0:c,dia:null==(c=I(b,4))?void 0:c,link:null==(c=I(b,5))?void 0:c,status:null==(c=I(b,6))?void 0:c,size:null==(c=I(b,7))?void 0:c,name:null==(c=I(b,8))?void 0:c,Sha:bz(S(b,rB,9),pD,a),nia:bz(S(b,AB,10),rD,a)};a&&(d.xa=b);return d}
1878function Bva(a,b){for(;
1878b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=b.G();M(a,4,c);break;case 5:c=b.G();M(a,5,c);break;case 6:c=b.oa();M(a,6,c);break;case 7:c=b.Id();M(a,7,c);break;case 8:c=b.G();a.sc(c);break;case 9:c=new rB;b.R(c,ZE);mz(a,9,c,rB,void 0);break;case 10:c=new AB;b.R(c,nF);mz(a,10,c,AB,void 0);break;default:b.za()}return a}h.ra=function(){var a=new F;Cva(this,a);return a.wa()};
1879function Cva(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.H(5,c);c=I(a,6);null!=c&&b.ma(6,c);c=I(a,7);null!=c&&b.mf(7,c);c=I(a,8);null!=c&&b.H(8,c);c=S(a,rB,9);0<c.length&&b.Da(9,c,ZD);c=S(a,AB,10);0<c.length&&b.Da(10,c,aE)}h.rb=function(){return L(this,1,"")};h.Hx=function(){return L(this,5,"")};h.Ec=function(){return L(this,6,0)};h.Md=function(){return L(this,7,0)};h.kb=function(){return L(this,8,"")};
1880h.sc=function(a){M(this,8,a)};fD.prototype.sa=function(a){return SD(a,this)};function SD(a,b){var c,d={query:(c=N(b,VA,1))&&gB(a,c),Vl:(c=N(b,XC,1001))&&YF(a,c),Eia:(c=gz(b,1002,void 0,eD))?c.sa(a,Ava):[]};a&&(d.xa=b);return d}
1881function Dva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=new VA;b.R(c,Wpa);T(a,1,c);break;case 1001:c=new XC;b.R(c,ZF);T(a,1001,c);break;case 1002:c=gz(a,1002,void 0,eD);b.R(c,function(d,e){Vy(d,e,E.prototype.G,E.prototype.R,Bva,"",new eD)});break;default:b.za()}return a}fD.prototype.ra=function(){var a=new F;zE(this,a);return a.wa()};
1882function zE(a,b){var c=N(a,VA,1);null!=c&&b.aa(1,c,iB);c=N(a,XC,1001);null!=c&&b.aa(1001,c,$F);(c=gz(a,1002,!0,eD))&&0<c.Dc()&&c.ra(1002,b,F.prototype.H,F.prototype.aa,Cva)}h=gD.prototype;h.sa=function(a){return Lsa(a,this)};function Lsa(a,b){var c,d={px:null==(c=I(b,1))?void 0:c,name:null==(c=I(b,2))?void 0:c,size:null==(c=I(b,3))?void 0:c};a&&(d.xa=b);return d}
1883function Eva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.G();M(a,1,c);break;case 2:c=b.G();a.sc(c);break;case 3:c=b.G();M(a,3,c);break;default:b.za()}return a}h.ra=function(){var a=new F;Zsa(this,a);return a.wa()};function Zsa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.H(2,c);c=I(a,3);null!=c&&b.H(3,c)}h.kb=function(){return L(this,2,"")};h.sc=function(a){M(this,2,a)};h.Md=function(){return L(this,3,"")};var Tra=[1];hD.prototype.sa=function(a){return gsa(a,this)};
1884function gsa(a,b){var c,d={nma:null==(c=I(b,1))?void 0:c,depth:null==(c=I(b,2))?void 0:c,mode:null==(c=I(b,3))?void 0:c,separator:null==(c=I(b,4))?void 0:c,Kna:null==(c=I(b,5))?void 0:c,Zga:null==(c=I(b,6))?void 0:c,ika:null==(c=I(b,7))?void 0:c};a&&(d.xa=b);return d}hD.prototype.ra=function(){var a=new F;wsa(this,a);return a.wa()};
1885function wsa(a,b){var c=I(a,1);0<c.length&&b.vb(1,c);c=I(a,2);null!=c&&b.qd(2,c);c=I(a,3);null!=c&&b.H(3,c);c=I(a,4);null!=c&&b.H(4,c);c=I(a,5);null!=c&&b.qd(5,c);c=I(a,6);null!=c&&b.H(6,c);c=I(a,7);null!=c&&b.H(7,c)}h=iD.prototype;h.sa=function(a){return Ksa(a,this)};function Ksa(a,b){var c,d={Bla:null==(c=I(b,1))?void 0:c,Cla:null==(c=I(b,2))?void 0:c,done:null==(c=dz(b,3))?void 0:c,error:null==(c=I(b,1001))?void 0:c};a&&(d.xa=b);return d}
1886function Fva(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.zd();M(a,1,c);break;case 2:c=b.zd();M(a,2,c);break;case 3:c=b.Ba();M(a,3,c);break;case 1001:c=b.G();a.qb(c);break;default:b.za()}return a}h.ra=function(){var a=new F;Ysa(this,a);return a.wa()};function Ysa(a,b){var c=I(a,1);null!=c&&b.qd(1,c);c=I(a,2);null!=c&&b.qd(2,c);c=I(a,3);null!=c&&b.ya(3,c);c=I(a,1001);null!=c&&b.H(1001,c)}h.getError=function(){return L(this,1001,"")};h.qb=function(a){return M(this,1001,a)};
1887h.xb=function(){return null!=I(this,1001)};jD.prototype.sa=function(a){return isa(a,this)};function isa(a,b){var c,d={px:null==(c=I(b,1))?void 0:c,zla:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}jD.prototype.ra=function(){var a=new F;ysa(this,a);return a.wa()};function ysa(a,b){var c=I(a,1);null!=c&&b.H(1,c);c=I(a,2);null!=c&&b.Ob(2,c)}var Ura=[1];kD.prototype.sa=function(a){return hsa(a,this)};
1888function hsa(a,b){var c,d={Gla:null==(c=I(b,1))?void 0:c,action:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}kD.prototype.ra=function(){var a=new F;xsa(this,a);return a.wa()};function xsa(a,b){var c=I(a,1);0<c.length&&b.vb(1,c);c=I(a,2);null!=c&&b.ma(2,c)}lD.prototype.sa=function(a){return Gva(a,this)};function Gva(a,b){var c,d={files:null==(c=I(b,1))?void 0:c,time:null==(c=I(b,2))?void 0:c};a&&(d.xa=b);return d}
1889function Hva(a,b){for(;
1889b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.eb();M(a,1,c);break;case 2:c=b.Id();M(a,2,c);break;default:b.za()}return a}lD.prototype.ra=function(){var a=new F;Iva(this,a);return a.wa()};function Iva(a,b){var c=I(a,1);null!=c&&b.Ob(1,c);c=I(a,2);null!=c&&b.mf(2,c)}lD.prototype.getTime=function(){return L(this,2,0)};mD.prototype.sa=function(a){return Sua(a,this)};
1890function Sua(a,b){var c,d={Cma:null==(c=I(b,1))?void 0:c,total:null==(c=I(b,2))?void 0:c,ska:(c=N(b,lD,3))&&Gva(a,c)};a&&(d.xa=b);return d}function Uua(a,b){for(;b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.eb();M(a,1,c);break;case 2:c=b.eb();a.Ar(c);break;case 3:c=new lD;b.R(c,Hva);T(a,3,c);break;default:b.za()}return a}mD.prototype.ra=function(){var a=new F;Vua(this,a);return a.wa()};
1891function Vua(a,b){var c=I(a,1);null!=c&&b.Ob(1,c);c=I(a,2);null!=c&&b.Ob(2,c);c=N(a,lD,3);null!=c&&b.aa(3,c,Iva)}mD.prototype.Ar=function(a){M(this,2,a)};var bG;function Jva(a){this.h=Number("0x"+a);this.g=0;this.j=""}function cG(a,b,c){try{var d=JSON.stringify(b)+"\n"+JSON.stringify(c)+"\n"}catch(g){return}b=Array(2*d.length);for(c=0;c<d.length;c++){var e=a.h&255^a.g;a.h=Math.floor(a.h/Math.pow(2,8))+e*Math.pow(2,40);
1891var f=d.charCodeAt(c)%256^e;b[2*c]=Kva[f>>>4];b[2*c+1]=Kva[f&15];a.g=a.g+e+f&255}a.j+=b.join("")}function Lva(a,b){for(var c in b)if(110==c.charCodeAt(0)%116)for(var d in Object.getPrototypeOf(b[c]))cG(a,d,b[c][d])}
1892Jva.prototype.o=function(){z("sgtoken").value=this.j;return!0};var Kva="eFbkIgCHdJLaEDfcGBhjN4l3sT7tKmAi".split("");
1893function Mva(){var a=z("challenge");if(a)try{var b=new Jva(a.value);Lva(b,window);var c=document.createElement("iframe");c.srcdoc="";document.body.appendChild(c);var d=Object.getOwnPropertyDescriptors(HTMLIFrameElement.prototype);cG(b,c.contentWindow.window===window,d.contentWindow.get.toString());Lva(b,c.contentWindow);c.parentNode.removeChild(c);cG(b,!1,b.g);D(a.form,"submit",b.o,void 0,b)}catch(e){z("sgtoken").value=e.message||"exception"}};function Nva(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;if(dG(a.keyCode))return!0;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!Mv;default:return 166>a.keyCode||183<a.keyCode}}
1894function Ova(a,b,c,d,e,f){if(Nv&&!Vv("525"))return!0;if(Ov&&e)return dG(a);if(e&&!d)return!1;if(!Mv){Oa(b)&&(b=eG(b));var g=17==b||18==b||Ov&&91==b;if((!c||Ov)&&g||Ov&&16==b&&(d||f))return!1}if((Nv||Kv)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(Jv&&d&&b==a)return!1;switch(a){case 13:return Mv?f||e?!1:!(c&&d):!0;case 27:return!(Nv||Kv||Mv)}return Mv&&(d||e||f)?!1:dG(a)}
1895function dG(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Nv||Kv)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:return!0;case 173:return Mv;default:return!1}}function eG(a){if(Mv)a=Pva(a);else if(Ov&&Nv)switch(a){case 93:a=91}return a}
1896function Pva(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function fG(a,b){Rx.call(this);a&&this.ni(a,b)}x(fG,Rx);h=fG.prototype;h.Aq=null;h.Ky=null;h.nE=null;h.Ly=null;h.Jg=-1;h.Jj=-1;h.UB=!1;
1897var Qva={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Rva={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Sva=!Nv||Vv("525"),Tva=Ov&&Mv;h=fG.prototype;
1898h.CY=function(a){if(Nv||Kv)if(17==this.Jg&&!a.ctrlKey||18==this.Jg&&!a.altKey||Ov&&91==this.Jg&&!a.metaKey)this.Jj=this.Jg=-1;-1==this.Jg&&(a.ctrlKey&&17!=a.keyCode?this.Jg=17:a.altKey&&18!=a.keyCode?this.Jg=18:a.metaKey&&91!=a.keyCode&&(this.Jg=91));Sva&&!Ova(a.keyCode,this.Jg,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Jj=eG(a.keyCode),Tva&&(this.UB=a.altKey))};h.CZ=function(a){this.Jj=this.Jg=-1;this.UB=a.altKey};
1899h.handleEvent=function(a){var b=a.g,c=b.altKey;if(Jv&&"keypress"==a.type){var d=this.Jj;var e=13!=d&&27!=d?b.keyCode:0}else(Nv||Kv)&&"keypress"==a.type?(d=this.Jj,e=0<=b.charCode&&63232>b.charCode&&dG(d)?b.charCode:0):Iv&&!Nv?(d=this.Jj,e=dG(d)?b.keyCode:0):("keypress"==a.type?(Tva&&(c=this.UB),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.Jj,e=b.charCode):(d=b.keyCode||this.Jj,e=b.charCode||0)):(d=b.keyCode||this.Jj,e=b.charCode||0),Ov&&63==e&&224==d&&(d=191));var f=d=eG(d);d?63232<=
1900d&&d in Qva?f=Qva[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Rva&&(f=Rva[b.keyIdentifier]);Mv&&Sva&&"keypress"==a.type&&!Ova(f,this.Jg,a.shiftKey,a.ctrlKey,c,a.metaKey)||(a=f==this.Jg,this.Jg=f,b=new Uva(f,e,a,b),b.altKey=c,this.dispatchEvent(b))};h.w=function(){return this.Aq};h.ni=function(a,b){this.Ly&&this.detach();this.Aq=a;this.Ky=D(this.Aq,"keypress",this,b);this.nE=D(this.Aq,"keydown",this.CY,b,this);this.Ly=D(this.Aq,"keyup",this.CZ,b,this)};
1901h.detach=function(){this.Ky&&(Nx(this.Ky),Nx(this.nE),Nx(this.Ly),this.Ly=this.nE=this.Ky=null);this.Aq=null;this.Jj=this.Jg=-1};h.qa=function(){fG.D.qa.call(this);this.detach()};function Uva(a,b,c,d){zx.call(this,d);this.type="key";this.keyCode=a;this.o=b;this.repeat=c}x(Uva,zx);function gG(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}h=gG.prototype;h.clone=function(){return new gG(this.top,this.right,this.bottom,this.left)};h.contains=function(a){return this&&a?a instanceof gG?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
1902h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
1903h.translate=function(a,b){a instanceof Xv?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,Oa(b)&&(this.top+=b,this.bottom+=b));return this};h.scale=function(a,b){b=Oa(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};function hG(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}h=hG.prototype;h.clone=function(){return new hG(this.left,this.top,this.width,this.height)};h.contains=function(a){return a instanceof Xv?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};h.Md=function(){return new Zv(this.width,this.height)};
1904h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
1905h.translate=function(a,b){a instanceof Xv?(this.left+=a.x,this.top+=a.y):(this.left+=a,Oa(b)&&(this.top+=b));return this};h.scale=function(a,b){b=Oa(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};function iG(a,b,c){if(Ma(b))(b=jG(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=jG(c,d);f&&(c.style[f]=e)}}var Vva={};function jG(a,b){var c=Vva[b];if(!c){var d=$d(b);c=d;
1905void 0===a.style[d]&&(d=(Nv?"Webkit":Mv?"Moz":Jv?"ms":Iv?"O":null)+Taa(d),void 0!==a.style[d]&&(c=d));Vva[b]=c}return c}function kG(a,b){var c=a.style[$d(b)];return"undefined"!==typeof c?c:a.style[jG(a,b)]||""}
1906function lG(a,b){var c=bw(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function mG(a,b){return lG(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function nG(a){return mG(a,"position")}function oG(a,b,c){if(b instanceof Xv){var d=b.x;b=b.y}else d=b,b=c;a.style.left=pG(d,!1);a.style.top=pG(b,!1)}function qG(a){return new Xv(a.offsetLeft,a.offsetTop)}
1907function rG(a){a=a?bw(a):document;return!Jv||Wv(9)||kw($v(a).g)?a.documentElement:a.body}function sG(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}Jv&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}
1908function Wva(a){if(Jv&&!Wv(8))return a.offsetParent;var b=bw(a),c=mG(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=mG(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}
1909function tG(a){for(var b=new gG(0,Infinity,Infinity,0),c=$v(a),d=c.getDocument().body,e=c.getDocument().documentElement,f=mw(c.g);a=Wva(a);)if(!(Jv&&0==a.clientWidth||Nv&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=mG(a,"overflow")){var g=uG(a),k=new Xv(a.clientLeft,a.clientTop);g.x+=k.x;g.y+=k.y;b.top=Math.max(b.top,g.y);b.right=Math.min(b.right,g.x+a.clientWidth);b.bottom=Math.min(b.bottom,g.y+a.clientHeight);b.left=Math.max(b.left,g.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);
1910b.top=Math.max(b.top,f);c=jw(dx(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null}
1911function vG(a,b){b=b||mw(document);var c=b||mw(document);var d=uG(a),e=uG(c),f=wG(c);if(c==mw(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;Jv&&!Wv(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Xva(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new Xv(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}
1912function uG(a){var b=bw(a),c=new Xv(0,0),d=rG(b);if(a==d)return c;a=sG(a);b=lw($v(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function xG(a,b){a=Yva(a);b=Yva(b);return new Xv(a.x-b.x,a.y-b.y)}function Zva(a){a=sG(a);return new Xv(a.left,a.top)}function Yva(a){if(1==a.nodeType)return Zva(a);a=a.changedTouches?a.changedTouches[0]:a;return new Xv(a.clientX,a.clientY)}
1913function yG(a,b,c){if(b instanceof Zv)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=pG(b,!0);a.style.height=pG(c,!0)}function pG(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function zG(a){var b=Xva;if("none"!=mG(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}
1914function Xva(a){var b=a.offsetWidth,c=a.offsetHeight,d=Nv&&!b&&!c;return w(b)&&!d||!a.getBoundingClientRect?new Zv(b,c):(a=sG(a),new Zv(a.right-a.left,a.bottom-a.top))}function AG(a){var b=uG(a);a=zG(a);return new hG(b.x,b.y,a.width,a.height)}function BG(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function CG(a,b){a.style.display=b?"":"none"}
1915function $va(a,b){b=hd(b);Jv&&w(a.cssText)?a.cssText=b:a.innerHTML=b}function DG(a){return"rtl"==mG(a,"direction")}var EG=Mv?"MozUserSelect":Nv||Kv?"WebkitUserSelect":null;function FG(a,b,c){c=c?null:a.getElementsByTagName("*");if(EG){if(b=b?"none":"",a.style&&(a.style[EG]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[EG]=b)}}else if(Jv||Iv)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}
1916function GG(a){return new Zv(a.offsetWidth,a.offsetHeight)}function HG(a,b){var c=kw($v(bw(a)).g);if(!Jv||Vv("10")||c&&Vv("8")){var d=a.style;Mv?d.MozBoxSizing="border-box":Nv?d.WebkitBoxSizing="border-box":d.boxSizing="border-box";d.width=Math.max(b.width,0)+"px";d.height=Math.max(b.height,0)+"px"}else d=a.style,c?(c=IG(a),a=wG(a),d.pixelWidth=b.width-a.left-c.left-c.right-a.right,d.pixelHeight=b.height-a.top-c.top-c.bottom-a.bottom):(d.pixelWidth=b.width,d.pixelHeight=b.height)}
1917function JG(a){var b=bw(a),c=Jv&&a.currentStyle;if(c&&kw($v(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=KG(a,c.width,"width","pixelWidth"),a=KG(a,c.height,"height","pixelHeight"),new Zv(b,a);c=GG(a);b=IG(a);a=wG(a);return new Zv(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.to
1917p-b.bottom-a.bottom)}
1918function KG(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b}function LG(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?KG(a,b,"left","pixelLeft"):0}
1919function IG(a){if(Jv){var b=LG(a,"paddingLeft"),c=LG(a,"paddingRight"),d=LG(a,"paddingTop");a=LG(a,"paddingBottom");return new gG(d,c,a,b)}b=lG(a,"paddingLeft");c=lG(a,"paddingRight");d=lG(a,"paddingTop");a=lG(a,"paddingBottom");return new gG(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var awa={thin:2,medium:4,thick:6};
1920function MG(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in awa?awa[b]:KG(a,b,"left","pixelLeft")}
1921function wG(a){if(Jv&&!Wv(9)){var b=MG(a,"borderLeft"),c=MG(a,"borderRight"),d=MG(a,"borderTop");a=MG(a,"borderBottom");return new gG(d,c,a,b)}b=lG(a,"borderLeftWidth");c=lG(a,"borderRightWidth");d=lG(a,"borderTopWidth");a=lG(a,"borderBottomWidth");return new gG(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var bwa=/[^\d]+$/;function cwa(a){return(a=a.match(bwa))&&a[0]||null};function dwa(a,b){this.j=a;this.o=b;this.h=0;this.g=null}dwa.prototype.get=function(){if(0<this.h){this.h--;var a=this.g;this.g=a.next;a.next=null}else a=this.j();return a};function NG(){this.h=this.g=null}var ewa=new dwa(function(){return new OG},function(a){a.reset()});NG.prototype.add=function(a,b){var c=ewa.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c};NG.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.h=null),a.next=null);return a};function OG(){this.next=this.scope=this.wk=null}OG.prototype.set=function(a,b){this.wk=a;this.scope=b;this.next=null};OG.prototype.reset=function(){this.next=this.scope=this.wk=null};function fwa(a){La.setTimeout(function(){throw a;},0)}var PG;
1922function gwa(){var a=La.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!md("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";Fd(e,uc(qc(yaa)));document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(vd(Cd));e.close();var g="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=bb(function(l){if(("*"==k||l.origin==
1923k)&&l.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,k)}}});if("undefined"!==typeof a&&!od()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(w(c.next)){c=c.next;var e=c.ri;c.ri=null;e()}};return function(e){d.next={ri:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var f=document.createElement("SCRIPT");f.onreadystatechange=
1924function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};document.documentElement.appendChild(f)}:function(e){La.setTimeout(e,0)}}function hwa(a){return a}sx(function(a){hwa=a});function QG(a,b){RG||iwa();SG||(RG(),SG=!0);jwa.add(a,b)}var RG;function iwa(){if(La.Promise&&La.Promise.resolve){var a=La.Promise.resolve(void 0);RG=function(){a.then(kwa)}}else RG=function(){var b=kwa;b=hwa(b);!Wa(La.setImmediate)||La.Window&&La.Window.prototype&&!md("Edge")&&La.Window.prototype.setImmediate==La.setImmediate?(PG||(PG=gwa()),PG(b)):La.setImmediate(b)}}var SG=!1,jwa=new NG;
1925function kwa(){for(var a;a=jwa.remove();){try{a.wk.call(a.scope)}catch(c){fwa(c)}var b=ewa;b.o(a);100>b.h&&(b.h++,a.next=b.g,b.g=a)}SG=!1};function TG(a,b){Rx.call(this);this.h=a||1;this.g=b||La;this.j=bb(this.a9,this);this.l=db()}x(TG,Rx);h=TG.prototype;h.enabled=!1;h.Hi=null;h.setInterval=function(a){this.h=a;this.Hi&&this.enabled?(this.stop(),this.start()):this.Hi&&this.stop()};h.a9=function(){if(this.enabled){var a=db()-this.l;0<a&&a<.8*this.h?this.Hi=this.g.setTimeout(this.j,this.h-a):(this.Hi&&(this.g.clearTimeout(this.Hi),this.Hi=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
1926h.start=function(){this.enabled=!0;this.Hi||(this.Hi=this.g.setTimeout(this.j,this.h),this.l=db())};h.stop=function(){this.enabled=!1;this.Hi&&(this.g.clearTimeout(this.Hi),this.Hi=null)};h.qa=function(){TG.D.qa.call(this);this.stop();delete this.g};function UG(a,b,c){if(Wa(a))c&&(a=bb(a,c));else if(a&&"function"==typeof a.handleEvent)a=bb(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:La.setTimeout(a,b||0)}
1926function VG(a){La.clearTimeout(a)};var WG=La.JSON.stringify;var lwa=La.JSON.parse;function mwa(){}mwa.prototype.g=null;function nwa(a){var b;(b=a.g)||(b={},owa(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};var cH;function pwa(){}x(pwa,mwa);function qwa(a){return(a=owa(a))?new ActiveXObject(a):new XMLHttpRequest}function owa(a){if(!a.h&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.h=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.h}cH=new pwa;function dH(a){Rx.call(this);this.headers=new le;this.T=a||null;this.h=!1;this.va=this.g=null;this.Z="";this.m=0;this.L="";this.l=this.Ia=this.u=this.M=!1;this.s=0;this.ea=null;this.Y=rwa;this.Ua=this.cb=this.j=!1}x(dH,Rx);var rwa="",swa=/^https?$/i,twa=["POST","PUT"],uwa=[];function eH(a,b,c,d,e,f,g){var k=new dH;uwa.push(k);b&&k.J("complete",b);k.$e("ready",k.mV);f&&(k.s=Math.max(0,f));g&&(k.j=g);k.send(a,c,d,e)}h=dH.prototype;h.mV=function(){this.dispose();Qb(uwa,this)};
1927h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Z+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Z=a;this.L="";this.m=0;this.M=!1;this.h=!0;this.g=this.T?qwa(this.T):qwa(cH);this.va=this.T?nwa(this.T):nwa(cH);this.g.onreadystatechange=bb(this.ON,this);this.cb&&"onprogress"in this.g&&(this.g.onprogress=bb(function(f){this.MN(f,!0)},this),this.g.upload&&(this.g.upload.onprogress=bb(this.MN,this)));try{this.Ec(),this.Ia=!0,this.g.open(b,String(a),
1928!0),this.Ia=!1}catch(f){this.Ec();vwa(this,f);return}a=c||"";var e=this.headers.clone();d&&de(d,function(f,g){e.set(g,f)});d=Kb(e.dh(),wwa);c=La.FormData&&a instanceof La.FormData;!Nb(twa,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.g.setRequestHeader(g,f)},this);this.Y&&(this.g.responseType=this.Y);"withCredentials"in this.g&&this.g.withCredentials!==this.j&&(this.g.withCredentials=this.j);try{xwa(this),0<this.s&&(this.Ua=ywa(this.g),
1929this.Ec(),this.Ua?(this.g.timeout=this.s,this.g.ontimeout=bb(this.KL,this)):this.ea=UG(this.KL,this.s,this)),this.Ec(),this.u=!0,this.g.send(a),this.u=!1}catch(f){this.Ec(),vwa(this,f)}};function ywa(a){return Jv&&Vv(9)&&Oa(a.timeout)&&w(a.ontimeout)}function wwa(a){return"content-type"==a.toLowerCase()}h.KL=function(){"undefined"!=typeof Ka&&this.g&&(this.L="Timed out after "+this.s+"ms, aborting",this.m=8,this.Ec(),this.dispatchEvent("timeout"),this.abort(8))};
1930function vwa(a,b){a.h=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.L=b;a.m=5;zwa(a);fH(a)}function zwa(a){a.M||(a.M=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}h.abort=function(a){this.g&&this.h&&(this.Ec(),this.h=!1,this.l=!0,this.g.abort(),this.l=!1,this.m=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),fH(this))};h.qa=function(){this.g&&(this.h&&(this.h=!1,this.l=!0,this.g.abort(),this.l=!1),fH(this,!0));dH.D.qa.call(this)};
1931h.ON=function(){this.o||(this.Ia||this.u||this.l?Awa(this):this.eF())};h.eF=function(){Awa(this)};function Awa(a){if(a.h&&"undefined"!=typeof Ka)if(a.va[1]&&4==gH(a)&&2==a.Ec())a.Ec();else if(a.u&&4==gH(a))UG(a.ON,0,a);else if(a.dispatchEvent("readystatechange"),a.GM()){a.Ec();a.h=!1;try{if(hH(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.m=6;try{var b=2<gH(a)?a.g.statusText:""}catch(c){b=""}a.L=b+" ["+a.Ec()+"]";zwa(a)}}finally{fH(a)}}}
1932h.MN=function(a,b){this.dispatchEvent(Bwa(a,"progress"));this.dispatchEvent(Bwa(a,b?"downloadprogress":"uploadprogress"))};function Bwa(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}}function fH(a,b){if(a.g){xwa(a);var c=a.g,d=a.va[0]?Qa:null;a.g=null;a.va=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}}function xwa(a){a.g&&a.Ua&&(a.g.ontimeout=null);a.ea&&(VG(a.ea),a.ea=null)}h.Tb=function(){return!!this.g};
1933h.GM=function(){return 4==gH(this)};function hH(a){var b=a.Ec();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}
1933if(!c){if(b=0===b)a=String(a.Z).match(oe)[1]||null,!a&&La.self&&La.self.location&&(a=La.self.location.protocol,a=a.substr(0,a.length-1)),b=!swa.test(a?a.toLowerCase():"");c=b}return c}function gH(a){return a.g?a.g.readyState:0}h.Ec=function(){try{return 2<gH(this)?this.g.status:-1}catch(a){return-1}};
1934function iH(a){try{return a.g?a.g.responseText:""}catch(b){return""}}function jH(a){if(a.g)return lwa(a.g.responseText)}function kH(a,b){return a.g?a.g.getResponseHeader(b):null}sx(function(a){dH.prototype.eF=a(dH.prototype.eF)});var lH={};var mH=null,nH=null;var oH;mc("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));function pH(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}
1935function qH(a,b,c){Ta(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(oH||(oH={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=oH,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)}function rH(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)}
1936function sH(a,b){var c="";b&&(c=b.id);qH(a,"activedescendant",c)}function tH(a){return rH(a,"label")}function uH(a,b){qH(a,"label",b)};var Cwa=function(){if(Pv){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Mc))?a[1]:"0"}return Ov?(a=/10[_.][0-9_.]+/,(a=a.exec(Mc))?a[0].replace(/_/g,"."):"10"):Xka?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Mc))?a[1]:""):Yka||Zka||$ka?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Mc))?a[1].replace(/_/g,"."):""):""}();function vH(a){return(a=a.exec(Mc))?a[1]:""}var Dwa=function(){if($la)return vH(/Firefox\/([0-9.]+)/);if(Jv||Kv||Iv)return Rv;if(iy)return Gv()?vH(/CriOS\/([0-9.]+)/):vH(/Chrome\/([0-9.]+)/);if(jy&&!Gv())return vH(/Version\/([0-9.]+)/);if(gy||hy){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Mc);if(a)return a[1]+"."+a[2]}else if(ama)return(a=vH(/Android\s+([0-9.]+)/))?a:vH(/Version\/([0-9.]+)/);return""}();function wH(a,b,c){Rx.call(this);this.target=a;this.s=b||a;this.m=c||new hG(NaN,NaN,NaN,NaN);this.j=bw(a);this.g=new Px(this);wx(this,cb(C,this.g));this.deltaY=this.deltaX=this.Nm=this.T=this.screenY=this.screenX=this.clientY=this.clientX=0;this.Kb=!0;this.h=!1;D(this.s,["touchstart","mousedown"],this.bS,!1,this);this.l=Ewa}x(wH,Rx);var Ewa=La.document&&La.document.documentElement&&!!La.document.documentElement.setCapture&&!!La.document.releaseCapture;
1937function xH(a,b){a.m=b||new hG(NaN,NaN,NaN,NaN)}h=wH.prototype;h.W=function(a){this.Kb=a};h.qa=function(){wH.D.qa.call(this);Mx(this.s,["touchstart","mousedown"],this.bS,!1,this);this.g.tf();this.l&&this.j.releaseCapture();this.s=this.target=null};
1938h.bS=function(a){var b="mousedown"==a.type;if(!this.Kb||this.h||b&&!Ax(a))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new yH("start",this,a.clientX,a.clientY,a))){this.h=!0;b&&a.preventDefault();b=this.j;var c=b.documentElement,d=!this.l;this.g.J(b,["touchmove","mousemove"],this.GZ,{capture:d,passive:!1});this.g.J(b,["touchend","mouseup"],this.nx,d);this.l?(c.setCapture(!1),this.g.J(c,"losecapture",this.nx)):this.g.J(nw(b),"blur",this.nx);this.u&&this.g.J(this.u,"scroll",this.V2,
1939d);this.clientX=this.T=a.clientX;this.clientY=this.Nm=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.L=lw($v(this.j).g)}};h.nx=function(a,b){this.g.tf();this.l&&this.j.releaseCapture();this.h?(this.h=!1,this.dispatchEvent(new yH("end",this,a.clientX,a.clientY,a,Fwa(this,this.deltaX),Gwa(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
1940h.GZ=function(a){if(this.Kb){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.h){var d=this.T-this.clientX,e=this.Nm-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new yH("start",this,a.clientX,a.clientY,a)))this.h=!0;else{this.o||this.nx(a);return}}c=Hwa(this,b,c);b=c.x;c=c.y;this.h&&this.dispatchEvent(new yH("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(Iwa(this,a,b,c),a.preventDefault())}};
1941function Hwa(a,b,c){var d=lw($v(a.j).g);b+=d.x-a.L.x;c+=d.y-a.L.y;a.L=d;a.deltaX+=b;a.deltaY+=c;return new Xv(Fwa(a,a.deltaX),Gwa(a,a.deltaY))}h.V2=function(a){var b=Hwa(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Iwa(this,a,b.x,b.y)};function Iwa(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new yH("drag",a,b.clientX,b.clientY,b,c,d))}
1942function Fwa(a,b){var c=a.m;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))}function Gwa(a,b){var c=a.m;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))}function yH(a,b,c,d,e,f,g){xx.call(this,a);this.clientX=c;this.clientY=d;this.left=w(f)?f:b.deltaX;this.top=w(g)?g:b.deltaY}x(yH,xx);
1942(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!La.requestAnimationFrame;++b)La.requestAnimationFrame=La[c+"RequestAnimationFrame"],La.cancelAnimationFrame=La[c+"CancelAnimationFrame"]||La[c+"CancelRequestAnimationFrame"];if(!La.requestAnimationFrame){var d=0;La.requestAnimationFrame=function(e){var f=(new Date).getTime(),g=Math.max(0,16-(f-d));d=f+g;return La.setTimeout(function(){e(f+g)},g)};La.cancelAnimationFrame||(La.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
1943var Jwa=[[],[]],zH=0,AH=!1,Kwa=0;function Lwa(a,b){var c=Kwa++,d={N0:{id:c,wk:a.measure,context:b},l1:{id:c,wk:a.j1,context:b},state:{},Sg:void 0,Gy:!1};return function(){0<arguments.length?(d.Sg||(d.Sg=[]),d.Sg.length=0,d.Sg.push.apply(d.Sg,arguments),d.Sg.push(d.state)):d.Sg&&0!=d.Sg.length?(d.Sg[0]=d.state,d.Sg.length=1):d.Sg=[d.state];d.Gy||(d.Gy=!0,Jwa[zH].push(d));AH||(AH=!0,window.requestAnimationFrame(Mwa))}}
1944function Mwa(){AH=!1;var a=Jwa[zH],b=a.length;zH=(zH+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.N0;c.Gy=!1;e.wk&&e.wk.apply(e.context,c.Sg)}for(d=0;d<b;++d)c=a[d],e=c.l1,c.Gy=!1,e.wk&&e.wk.apply(e.context,c.Sg),c.state={};a.length=0};var Nwa=Jv?uc(qc(new nc(oc,'javascript:""'))):uc(qc(new nc(oc,"about:blank")));tc(Nwa);var Owa=Jv?uc(qc(new nc(oc,'javascript:""'))):uc(qc(new nc(oc,"javascript:undefined")));tc(Owa);function BH(a){Rx.call(this);this.g=a;a=Jv?"focusout":"blur";this.h=D(this.g,Jv?"focusin":"focus",this,!Jv);this.j=D(this.g,a,this,!Jv)}x(BH,Rx);BH.prototype.handleEvent=function(a){var b=new zx(a.g);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};BH.prototype.qa=function(){BH.D.qa.call(this);Nx(this.h);Nx(this.j);delete this.g};function CH(){}Ra(CH);CH.prototype.g=0;function DH(a){return":"+(a.g++).toString(36)};function EH(a){Rx.call(this);this.g=a||$v();this.Yc=FH;this.ic=null;this.ea=!1;this.j=null;this.Ua=void 0;this.va=this.L=this.T=this.Pb=null;this.bk=!1}x(EH,Rx);EH.prototype.Ql=CH.getInstance();var FH=null;
1945function Pwa(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");}h=EH.prototype;h.rb=function(){return this.ic||(this.ic=DH(this.Ql))};function GH(a,b){a.T&&a.T.va&&(ec(a.T.va,a.ic),fc(a.T.va,b,a));a.ic=b}h.w=function(){return this.j};
1946function HH(a){a.Ua||(a.Ua=new Px(a));return a.Ua}function IH(a,b){if(a==b)throw Error("Unable to set parent component");if(b&&a.T&&a.ic&&JH(a.T,a.ic)&&a.T!=b)throw Error("Unable to set parent component");a.T=b;EH.D.rv.call(a,b)}h.He=function(){return this.T};h.rv=function(a){if(this.T&&this.T!=a)throw Error("Method not supported");EH.D.rv.call(this,a)};h.Uc=function(){return this.ea};h.Ra=function(){this.j=bx(this.g,"DIV")};h.render=function(a){this.Ko(a)};
1947h.Ko=function(a,b){if(this.ea)throw Error("Component already rendered");this.j||this.Ra();a?a.insertBefore(this.j,b||null):this.g.getDocument().body.appendChild(this.j);this.T&&!this.T.Uc()||this.K()};h.ue=function(a){if(this.ea)throw Error("Component already rendered");if(a&&this.Tn(a)){this.bk=!0;var b=bw(a);
1947this.g&&this.g.getDocument()==b||(this.g=$v(a));this.Vc(a);this.K()}else throw Error("Invalid element to decorate");};h.Tn=function(){return!0};h.Vc=function(a){this.j=a};
1948h.K=function(){this.ea=!0;KH(this,function(a){!a.Uc()&&a.w()&&a.K()})};h.$=function(){KH(this,function(a){a.Uc()&&a.$()});this.Ua&&this.Ua.tf();this.ea=!1};h.qa=function(){this.ea&&this.$();this.Ua&&(this.Ua.dispose(),delete this.Ua);KH(this,function(a){a.dispose()});!this.bk&&this.j&&Jw(this.j);this.T=this.Pb=this.j=this.va=this.L=null;EH.D.qa.call(this)};h.Tc=function(){return this.Pb};h.Ea=function(a,b){this.jj(a,LH(this),b)};
1949h.jj=function(a,b,c){if(a.ea&&(c||!this.ea))throw Error("Component already rendered");if(0>b||b>LH(this))throw Error("Child component index out of bounds");this.va&&this.L||(this.va={},this.L=[]);if(a.He()==this){var d=a.rb();this.va[d]=a;Qb(this.L,a)}else fc(this.va,a.rb(),a);IH(a,this);Ub(this.L,b,0,a);a.ea&&this.ea&&a.He()==this?(c=this.ib(),b=c.childNodes[b]||null,b!=a.w()&&c.insertBefore(a.w(),b)):c?(this.j||this.Ra(),b=MH(this,b+1),a.Ko(this.ib(),b?b.j:null)):this.ea&&!a.ea&&a.j&&a.j.parentNode&&
19501==a.j.parentNode.nodeType&&a.K()};h.ib=function(){return this.j};function NH(a){null==a.Yc&&(a.Yc=DG(a.ea?a.j:a.g.getDocument().body));return a.Yc}h.Rx=function(a){if(this.ea)throw Error("Component already rendered");this.Yc=a};function LH(a){return a.L?a.L.length:0}function OH(a){var b=[];KH(a,function(c){b.push(c.rb())});return b}function JH(a,b){return a.va&&b?gc(a.va,b)||null:null}function MH(a,b){return a.L?a.L[b]||null:null}function KH(a,b,c){a.L&&Fb(a.L,b,c)}
1951function PH(a,b){return a.L&&b?Db(a.L,b):-1}h.removeChild=function(a,b){if(a){var c=Ma(a)?a:a.rb();a=JH(this,c);c&&a&&(ec(this.va,c),Qb(this.L,a),b&&(a.$(),a.j&&Jw(a.j)),IH(a,null))}if(!a)throw Error("Child is not in parent component");return a};function QH(a,b,c){return a.removeChild(MH(a,b),c)}h.Fg=function(a){for(var b=[];this.L&&0!=this.L.length;)b.push(QH(this,0,a));return b};function Qwa(a,b){this.j=a;this.h=b};function RH(a,b){Rx.call(this);this.g=new Px(this);a=a||null;SH(this);this.Hg=a;b&&(this.Cq=b)}x(RH,Rx);h=RH.prototype;h.Hg=null;h.ZB=!0;h.ZI=null;h.Tq=!1;h.sE=-1;h.QD=!1;h.Cq="toggle_display";h.w=function(){return this.Hg};function SH(a){if(a.Tq)throw Error("Can not change this state of the popup while showing.");}h.isVisible=function(){return this.Tq};
1952h.Ga=function(a){this.M&&this.M.stop();this.ea&&this.ea.stop();if(a){if(!this.Tq&&this.$E()){if(!this.Hg)throw Error("Caller must call setElement before trying to show the popup");this.Kk();a=bw(this.Hg);this.QD&&this.g.J(a,"keydown",this.v2,!0);if(this.ZB)if(this.g.J(a,"mousedown",this.bF,!0),Jv){try{var b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Tw(b)}catch(d){break}a=c;b=a.activeElement}this.g.J(a,"mousedown",this.bF,!0);this.g.J(a,"deactivate",this.CN)}else this.g.J(a,
1953"blur",this.CN);"toggle_display"==this.Cq?(this.Hg.style.visibility="visible",CG(this.Hg,!0)):"move_offscreen"==this.Cq&&this.Kk();this.Tq=!0;this.sE=db();this.M?(Ix(this.M,"end",this.ey,!1,this),this.M.play()):this.ey()}}else TH(this)};h.Kk=Qa;function TH(a,b){if(!a.Tq||!a.ZE(b))return!1;a.g&&a.g.tf();a.Tq=!1;db();a.ea?(Ix(a.ea,"end",cb(a.TJ,b),!1,a),a.ea.play()):a.TJ(b);return!0}h.TJ=function(a){"toggle_display"==this.Cq?this.VZ():"move_offscreen"==this.Cq&&(this.Hg.style.top="-10000px");this.QL(a)};
1954h.VZ=function(){this.Hg.style.visibility="hidden";CG(this.Hg,!1)};h.$E=function(){return this.dispatchEvent("beforeshow")};h.ey=function(){this.dispatchEvent("show")};h.ZE=function(a){return this.dispatchEvent({type:"beforehide",target:a})};h.QL=function(a){this.dispatchEvent({type:"hide",target:a})};h.bF=function(a){a=a.target;Rw(this.Hg,a)||Rwa(this,a)||150>db()-this.sE||TH(this,a)};h.v2=function(a){27==a.keyCode&&TH(this,a.target)&&(a.preventDefault(),a.stopPropagation())};
1955h.CN=function(a){var b=bw(this.Hg);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||Rw(this.Hg,a)||"BODY"==a.tagName)return}else if(a.target!=b)return;150>db()-this.sE||TH(this)};function Rwa(a,b){return Ib(a.ZI||[],function(c){return b===c||Rw(c,b)})}h.qa=function(){RH.D.qa.call(this);
1955this.g.dispose();C(this.M);C(this.ea);delete this.Hg;delete this.g;delete this.ZI};function UH(a,b){EH.call(this,b);this.Bb=!!a;this.l=null;this.mb=Lwa({j1:this.Gz},this)}x(UH,EH);h=UH.prototype;h.VC=null;h.by=!1;h.Ug=null;h.Wf=null;h.$i=null;h.bC=!1;h.ab=function(){return"jb-modalpopup"};h.Dx=function(){return this.Ug};h.Ra=function(){UH.D.Ra.call(this);var a=this.w();hx(a,yc(this.ab()).split(" "));Vw(a,!0);CG(a,!1);Swa(this);Twa(this)};
1956function Swa(a){if(a.Bb&&!a.Wf){var b=a.g.O("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});Fd(b,Nwa);a.Wf=b;a.Wf.className=a.ab()+"-Pi";CG(a.Wf,!1);BG(a.Wf,0)}a.Ug||(a.Ug=a.g.O("DIV",a.ab()+"-Pi"),CG(a.Ug,!1))}function Twa(a){a.$i||(a.$i=bx(a.g,"SPAN"),CG(a.$i,!1),Vw(a.$i,!0),a.$i.style.position="absolute")}h.yO=function(){this.bC=!1};h.Tn=function(a){return!!a&&"DIV"==a.tagName};
1957h.Vc=function(a){UH.D.Vc.call(this,a);a=yc(this.ab()).split(" ");hx(this.w(),a);Swa(this);Twa(this);Vw(this.w(),!0);CG(this.w(),!1)};h.K=function(){this.Wf&&Gw(this.Wf,this.w());Gw(this.Ug,this.w());UH.D.K.call(this);Hw(this.$i,this.w());this.VC=new BH(this.g.getDocument());HH(this).J(this.VC,"focusin",this.E2);VH(this,!1)};h.$=function(){this.isVisible()&&this.Ga(!1);C(this.VC);UH.D.$.call(this);Jw(this.Wf);Jw(this.Ug);Jw(this.$i)};
1958h.Ga=function(a){if(a!=this.by)if(this.u&&this.u.stop(),this.Z&&this.Z.stop(),this.m&&this.m.stop(),this.M&&this.M.stop(),this.Uc()&&VH(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.l=this.g.getDocument().activeElement}catch(e){}this.Gz();a=this.g.getDocument();var b=nw(a)||window;if("fixed"==nG(this.w()))var c=a=0;else c=lw(this.g.g),a=c.x,c=c.y;var d=zG(this.w());b=jw(b);a=Math.max(a+b.width/2-d.width/2,0);c=Math.max(c+b.height/2-d.height/2,0);oG(this.w(),a,c);oG(this.$i,a,c);HH(this).J(dx(this.g),
1959"resize",this.Gz).J(dx(this.g),"orientationchange",this.mb);Uwa(this,!0);this.focus();this.by=!0;this.u&&this.Z?(Ix(this.u,"end",this.ay,!1,this),this.Z.play(),this.u.play()):this.ay()}}else if(this.dispatchEvent("beforehide")){HH(this).kc(dx(this.g),"resize",this.Gz).kc(dx(this.g),"orientationchange",this.mb);this.by=!1;this.m&&this.M?(Ix(this.m,"end",this.$x,!1,this),this.M.play(),this.m.play()):this.$x();a:{try{c=this.g;d=c.getDocument().body;b=c.getDocument().activeElement||d;if(!this.l||this.l==
1960d){this.l=null;break a}(b==d||c.contains(this.w(),b))&&this.l.focus()}catch(e){}this.l=null}}};function VH(a,b){a.Wa||(a.Wa=new Qwa(a.j,a.g));a=a.Wa;if(b){a.g||(a.g=[]);b=a.h.xY(a.h.getDocument().body);for(var c=0;c<b.length;c++){var d=b[c];d==a.j||rH(d,"hidden")||(qH(d,"hidden",!0),a.g.push(d))}}else if(a.g){for(c=0;c<a.g.length;c++)a.g[c].removeAttribute("aria-hidden");a.g=null}}function Uwa(a,b){a.Wf&&CG(a.Wf,b);a.Ug&&CG(a.Ug,b);CG(a.w(),b);CG(a.$i,b)}h.ay=function(){this.dispatchEvent("show")};
1961h.$x=function(){Uwa(this,!1);this.dispatchEvent("hide")};h.isVisible=function(){return this.by};h.focus=function(){this.hL()};h.Gz=function(){this.Wf&&CG(this.Wf,!1);this.Ug&&CG(this.Ug,!1);var a=this.g.getDocument(),b=jw(nw(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.Wf&&(CG(this.Wf,!0),yG(this.Wf,c,a));this.Ug&&(CG(this.Ug,!0),yG(this.Ug,c,a))};
1962h.E2=function(a){this.bC?this.yO():a.target==this.$i&&UG(this.hL,0,this)};h.hL=function(){try{Jv&&this.g.getDocument().body.focus(),this.w().focus()}catch(a){}};h.qa=function(){C(this.u);this.u=null;C(this.m);this.m=null;C(this.Z);this.Z=null;C(this.M);this.M=null;UH.D.qa.call(this)};function WH(a,b,c){UH.call(this,b,c);this.h=a||"modal-dialog";this.Yb=XH()}x(WH,UH);h=WH.prototype;h.fN=!0;h.EK=!0;h.Ew=.5;h.Yx="";h.Xn=null;h.am=null;h.dg=!1;h.hg=null;h.wg=null;h.MA=null;h.Mg=null;h.Li=null;h.Af=null;h.ab=function(){return this.h};h.tc=function(a){this.Yx=a;this.wg&&rw(this.wg,a)};h.getTitle=function(){return this.Yx};h.eP=function(a){a instanceof td||(a=wd(a),a=xd(Bc(vd(a).toString()),a.g()));YH(this,a)};function YH(a,b){a.Xn=b;a.Li&&Ed(a.Li,b)}
1963h.Fd=function(){return null!=this.Xn?vd(this.Xn).toString():""};h.ib=function(){this.w()||this.render();return this.Li};function ZH(a){a.w()||a.render();return a.hg}h.Dx=function(){this.w()||this.render();return WH.D.Dx.call(this)};function Vwa(a,b){a.Ew=b;a.w()&&(b=a.Dx())&&BG(b,a.Ew)}function $H(a,b){var c=yc(a.h+"-Qi-draggable").split(" ");a.w()&&(b?hx(a.hg,c):vla(a.hg,c));b&&!a.am?(b=new wH(a.w(),a.hg),a.am=b,hx(a.hg,c),D(a.am,"start",a.d6,!1,a)):!b&&a.am&&(a.am.dispose(),a.am=null)}
1964h.Ra=function(){WH.D.Ra.call(this);var a=this.w(),b=this.g;this.hg=b.O("DIV",this.h+"-Qi",this.wg=b.O("SPAN",{className:this.h+"-Qi-Fx",id:this.rb()},this.Yx),this.Mg=b.O("SPAN",this.h+"-Qi-close"));Ew(a,this.hg,this.Li=b.O("DIV",this.h+"-zh"),this.Af=b.O("DIV",this.h+"-Si"));pH(this.wg,"heading");pH(this.Mg,"button");Vw(this.Mg,!0);uH(this.Mg,"Close");this.MA=this.wg.id;pH(a,"dialog");qH(a,"labelledby",this.MA||"");this.Xn&&Ed(this.Li,this.Xn);CG(this.Mg,!0);this.Yb&&(a=this.Yb,a.Mh=this.Af,a.render());
1965CG(this.Af,!!this.Yb);Vwa(this,this.Ew)};
1966h.Vc=function(a){WH.D.Vc.call(this,a);a=this.w();var b=this.h+"-zh";this.Li=ew(null,b,a)[0];this.Li||(this.Li=this.g.O("DIV",b),this.Xn&&Ed(this.Li,this.Xn),a.appendChild(this.Li));b=this.h+"-Qi";var c=this.h+"-Qi-Fx",d=this.h+"-Qi-close";(this.hg=ew(null,b,a)[0])?(this.wg=ew(null,c,this.hg)[0],this.Mg=ew(null,d,this.hg)[0]):(this.hg=this.g.O("DIV",b),a.insertBefore(this.hg,this.Li));this.wg?(this.Yx=Ww(this.wg),this.wg.id||(this.wg.id=this.rb())):(this.wg=B("SPAN",{className:c,id:this.rb()}),this.hg.appendChild(this.wg));
1967this.MA=this.wg.id;qH(a,"labelledby",this.MA||"");this.Mg||(this.Mg=this.g.O("SPAN",d),this.hg.appendChild(this.Mg));CG(this.Mg,!0);b=this.h+"-Si";
1967if(this.Af=ew(null,b,a)[0]){if(a=this.Yb=new aI(this.g),(b=this.Af)&&1==b.nodeType){a.Mh=b;b=dw("BUTTON",a.Mh);c=0;for(var e,f;d=b[c];c++)if(e=d.name||d.id,f=Ww(d)||d.value,e){var g=0==c;a.set(e,f,g,d.name==bI);g&&gx(d,"jb-Ui-Vi")}}}else this.Af=this.g.O("DIV",b),a.appendChild(this.Af),this.Yb&&(a=this.Yb,a.Mh=this.Af,a.render()),CG(this.Af,!!this.Yb);
1968Vwa(this,this.Ew)};h.K=function(){WH.D.K.call(this);HH(this).J(this.w(),"keydown",this.NL).J(this.w(),"keypress",this.NL);HH(this).J(this.Af,"click",this.IY);$H(this,this.EK);HH(this).J(this.Mg,"click",this.a3);var a=this.w();pH(a,"dialog");""!==this.wg.id&&qH(a,"labelledby",this.wg.id);if(!this.fN){this.fN=!1;if(this.Uc()){a=this.g;var b=this.Dx();a.Ox(this.Wf);a.Ox(b)}this.isVisible()&&VH(this,!1)}};h.$=function(){this.isVisible()&&this.Ga(!1);$H(this,!1);WH.D.$.call(this)};
1969h.Ga=function(a){a!=this.isVisible()&&(this.Uc()||this.render(),WH.D.Ga.call(this,a))};h.ay=function(){WH.D.ay.call(this);this.dispatchEvent(Wwa)};h.$x=function(){WH.D.$x.call(this);this.dispatchEvent(Xwa);this.dg&&this.dispose()};
1970h.d6=function(){var a=this.g.getDocument(),b=jw(nw(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=zG(this.w());"fixed"==nG(this.w())?xH(this.am,new hG(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height))):xH(this.am,new hG(0,0,c-d.width,a-d.height))};h.a3=function(){cI(this)};function cI(a){var b=a.Yb,c=b&&b.Wn;c?(b=b.get(c),a.dispatchEvent(new dI(c,b))&&a.Ga(!1)):a.Ga(!1)}h.qa=function(){this.Af=this.Mg=null;WH.D.qa.call(this)};
1971function eI(a,b){a.Yb=b;a.Af&&(a.Yb?(b=a.Yb,b.Mh=a.Af,b.render()):Ed(a.Af,Cd),CG(a.Af,!!a.Yb))}h.IY=function(a){a:{for(a=a.target;null!=a&&a!=this.Af;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.Yb.get(a);this.dispatchEvent(new dI(a,b))&&this.Ga(!1)}};
1972h.NL=function(a){var b=!1,c=!1,d=this.Yb,e=a.target;if("keydown"==a.type)if(27==a.keyCode){var f=d&&d.Wn;e="SELECT"==e.tagName&&!e.disabled;f&&!e?(c=!0,b=d.get(f),b=this.dispatchEvent(new dI(f,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.w()){this.bC=!0;try{this.$i.focus()}catch(l){}UG(this.yO,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)f=e.name;else if(e==this.Mg)cI(this);else if(d){var g=d.Ci(),k=g&&fI(d,g);e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==
1973e.tagName)&&!e.disabled;!k||k.disabled||e||(f=g)}f&&d&&(c=!0,b=this.dispatchEvent(new dI(f,String(d.get(f)))))}else e!=this.Mg||32!=a.keyCode&&" "!=a.key||cI(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.Ga(!1)};function dI(a,b){this.type=gI;this.key=a;this.caption=b}x(dI,xx);var gI="dialogselect",Xwa="afterhide",Wwa="aftershow";function aI(a){a||$v();le.call(this)}x(aI,le);h=aI.prototype;h.$w=null;h.Mh=null;h.Wn=null;
1974h.clear=function(){le.prototype.clear.call(this);this.$w=this.Wn=null};h.set=function(a,b,c,d){le.prototype.set.call(this,a,b);c&&(this.$w=a);d&&(this.Wn=a);return this};function hI(a,b,c,d){return a.set(b.key,b.caption,c,d)}h.render=function(){if(this.Mh){Ed(this.Mh,Cd);var a=$v(this.Mh);this.forEach(function(b,c){b=a.O("BUTTON",{name:c},b);c==this.$w&&(b.className="jb-Ui-Vi");this.Mh.appendChild(b)},this)}};h.w=function(){return this.Mh};h.Ci=function(){return this.$w};
1975function fI(a,b){a=dw("BUTTON",a.Mh);for(var c=0,d;d=a[c];c++)if(d.name==b||d.id==b)return d;return null}function iI(a,b,c){if(a=fI(a,b))a.disabled=!c}function Ywa(a,b){a=dw("BUTTON",a.Mh);for(var c=0,d;d=a[c];c++)d.disabled=!b}var bI="cancel",jI={key:"ok",caption:"OK"},kI={key:bI,caption:"Cancel"},Zwa={key:"yes",caption:"Yes"},$wa={key:"no",caption:"No"},axa={key:"save",caption:"Save"},bxa={key:"continue",caption:"Continue"};function XH(){return hI(hI(new aI,jI,!0),kI,!1,!0)}
1976"undefined"!=typeof document&&(hI(new aI,jI,!0,!0),XH(),hI(hI(new aI,Zwa,!0),$wa,!1,!0),hI(hI(hI(new aI,Zwa),$wa,!0),kI,!1,!0),hI(hI(hI(new aI,bxa),axa),kI,!0,!0));var cxa=new Map([["1x5",{Uk:"0,0,240,64",scale:1}],["4x3",{Uk:"0,0,240,128",scale:1}],["4x5",{Uk:"0,0,320,240",scale:1}],["4.3",{Uk:"0,0,480,272",scale:2,pixelDepth:8}],["5.7",{Uk:"0,0,640,480",scale:3,pixelDepth:8}]]);
1977function dxa(a){var b,c,d,e,f,g,k,l,n,q,t,u;return r(function(v){if(1==v.g)return p(v,lI("LcdRefresh","0,"+a.Uk),2);if(3!=v.g)return b=8*a.scale,c=14*a.scale,d=a.Uk.substr(4).split(","),e=parseInt(d[0],10)/2-b/2,f=parseInt(d[1],10)/2-c/2,p(v,lI("LcdWriteImageStreamParams","0,2,"+e+","+f+","+b+","+c),3);g="";for(k=0;14>k;k++){l="";for(n=0;8>n;n++)for(q="BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBWBBBBBBWWWBBBBWWWWBBBBWWWBBBBBBWBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"[8*k+n],t=0;t<a.scale;t++)l+=q;for(u=
19780;u<a.scale;u++)g+=l}return p(v,lI("LcdWriteImageStream","",g),0)})}function exa(){var a=mI,b=nI.De,c;return r(function(d){switch(d.g){case 1:return p(d,dxa(a),2);case 2:if(!a.pixelDepth){d.ua(3);break}return p(d,lI("LcdSetPixelDepth",a.pixelDepth),3);case 3:return c="https:__"+La.location.host+b.replace(/\//g,"_"),p(d,lI("LcdWriteImage","1,2,0,0,"+c),5);case 5:if(a.pixelDepth)return p(d,lI("LcdSetPixelDepth",0),0);d.ua(0)}})}
1979function oI(a,b){var c;return r(function(d){return 1==d.g?(fxa(),c="https://tablet.sigwebtablet.com:47290/SigWeb/"+a,w(b)&&(c+="/"+b),p(d,fetch(c,{cache:"no-cache",credentials:"omit"}),2)):d.return(d.h)})}function gxa(){var a;return r(function(b){if(1==b.g)return p(b,oI("ClearSignature",void 0),2);
1979if(3!=b.g){a=b.h;if(!a.ok)throw Error("unable to get topaz prop: ClearSignature");return p(b,a.text(),3)}return b.return(b.h)})}
1980function hxa(a,b,c){var d,e,f;return r(function(g){if(1==g.g)return fxa(),d="https://tablet.sigwebtablet.com:47290/SigWeb/"+a,w(b)&&(d+="/"+b),e={method:"POST",cache:"no-cache",credentials:"omit"},w(c)&&(e.headers={"Content-Type":"image/png"},e.body=c),p(g,fetch(d,e),2);f=g.h;return g.return(f.ok)})}function lI(a,b,c){return r(function(d){if(1==d.g)return p(d,hxa(a,b,c),2);if(!d.h)throw Error("unable to set topaz prop: "+a);ua(d)})}function ixa(){this.g=Promise.resolve();this.h=0}
1981ixa.prototype.lock=function(){var a=this,b,c,d;return r(function(e){a.h++;c=new Promise(function(f){return b=function(){a.h--;f()}});d=a.g.then(function(){return b});a.g=a.g.then(function(){return c});return e.return(d)})};var jxa=new ixa;
1982function pI(a){return function(){var b=arguments,c,d,e;return r(function(f){switch(f.g){case 1:return c=Array.prototype.slice.call(b),p(f,jxa.lock(),2);case 2:return d=f.h,wa(f,3),p(f,a.apply(void 0,c),5);case 5:e=f.h;case 3:Ba(f);d();Ca(f,4);break;case 4:return f.return(e)}})}}function fxa(){if(!(0<jxa.h))throw Error("must be run from an atomic context");};var qI={},kxa=0,lxa=null,rI=null,sI=!1;function tI(a){sI||(navigator.serviceWorker.removeEventListener("controllerchange",tI),VG(kxa),sI=!0,(rI=navigator.serviceWorker.controller)||console.error("No Active Service Worker ("+(a?"registration failed":"timeout")+")"),lxa(rI))}
1983qI.controller=function(){return r(function(a){return navigator.serviceWorker?sI?a.return(rI):navigator.serviceWorker.controller&&wc(navigator.serviceWorker.controller.scriptURL,'/iep/s/f6EvUbhwtRBCnVHpwv-dR_Uzwtc')?(rI=navigator.serviceWorker.controller,sI=!0,a.return(rI)):a.return(new Promise(function(b){lxa=b;kxa=UG(tI,1E4);navigator.serviceWorker.getRegistration().then(function(){},tI);navigator.serviceWorker.addEventListener("controllerchange",tI)})):a.return(null)})};var uI={},mxa=new Map([["1x5",{sign:{De:'/iep/s/quUEF-_stKNjjuk5BH6fHQdpeaw',vf:"0,9,184,46",Ye:["192,8,48,13","192,25,48,13","192,43,48,13"]},Wq:{De:'/iep/s/ExS-SEntzglx9XaEqPW0dTTXf90',Ye:["40,51,104,13","160,51,40,13"]},Wp:{De:'/iep/s/MBhUN4r1POi7YEIK4Z-OljRLnhg',Ye:["56,51,80,13","144,51,40,13"]},finish:{De:'/iep/s/CCJCtcF-7vz-JbSSgNh25Of_f4I'}}],["4x3",{sign:{De:'/iep/s/Inhl7p0sQVO0F2hJhnLxK1jRj9Y',
1984vf:"0,41,240,60",Ye:["24,109,72,18","104,109,56,18","168,109,48,18"]},Wq:{De:'/iep/s/c5ag2CLCKOvn01csboEtSzgZeMI',Ye:["16,109,144,18","168,109,56,18"]},Wp:{De:'/iep/s/-XCOyN1DRhxLpEcT0t8-9g59R88',Ye:["32,109,112,18","152,109,56,18"]},finish:{De:'/iep/s/8xxlE4T7G8asbL6FaO1Bz-kIJ6s'}}],["4x5",{sign:{De:'/iep/s/ft8wCJWiV3LYL7iXewCC-LryqjI',vf:"0,89,320,80",Ye:["32,209,96,27","136,209,80,27","224,209,64,27"]},Wq:{De:'/iep/s/nGsTh9tt2sxVbiFHO-C5Hn5hN_o',
1985Ye:["8,209,216,27","240,209,80,27"]},Wp:{De:'/iep/s/-nH67p9pYdAzP3rSCCr6_nNY0IQ',Ye:["32,209,160,27","208,209,80,27"]},finish:{De:'/iep/s/1sK-xR1uJZrC6xUZLU5UTIB7XTY'}}],["4.3",{sign:{De:'/iep/s/8Wjs3gGqCkOqx25U2v_oiasZY_k',vf:"0,100,480,120",Ye:["70,229,136,38","216,229,104,38","330,229,80,38"]},Wq:{De:'/iep/s/GFuS89pSx_aRtFJGv_r62y908_U',Ye:["35,229,296,38","341,229,104,38"]},Wp:{De:'/iep/s/n9t4n0bQXerkHXxZJp8e4QBc1G8',
1986Ye:["71,229,224,38","305,229,104,38"]},finish:{De:'/iep/s/XrAnEMdeaTJKs9wiGpgBdAq6LBg'}}],["5.7",{sign:{De:'/iep/s/LBhrcoy1jMC2s6CqLmwYzWxGd9w',vf:"0,187,640,160",Ye:["66,411,208,57","288,411,152,57","454,411,120,57"]},Wq:{De:'/iep/s/SJ0jYblnxdXz4QAMhhC8cNCtmEo',Ye:["14,411,448,57","475,411,152,57"]},Wp:{De:'/iep/s/KYOOFD8tSfmtokXoRYlaY0yO6O4',Ye:["69,411,336,57","419,411,152,57"]},finish:{De:'/iep/s/Tbq1jDWU00nzKXG1UKhqJ9BlyWc'}}]]),
1987vI="start",mI,wI,nI,xI,yI,zI,AI,BI,CI,DI=null,EI=null,FI=null,GI=null,HI=new Map,II=[],JI=-1,KI=0;
1988uI.message=function(a){a=a.data;switch(a.type){case "topaz_sys_resp":DI(a);DI=null;break;case "topaz_no_tablet":if("tablet_sign_start"!=vI)throw Error("noTablet called from state: "+vI);EI(0);break;case "topaz_not_supported":if("not_used"!=vI&&"tablet_sign_start"!=vI)throw Error("notSupported called from state: "+vI);alert("Your SigWeb driver is unsupported. Please upgrade to use your Topaz Signature Pad.");"tablet_sign_start"==vI&&(LI("not_used"),EI(0));break;case "topaz_misconfigured":if("not_used"!=
1989vI&&"tablet_sign_start"!=vI)throw Error("misconfigured called from state: "+vI);alert("This Topaz Signature Pad does not match the model number configured in your SigWeb Driver. Update the model number in your SigWeb driver or use a different device.");"tablet_sign_start"==vI&&(LI("not_used"),EI(0));break;case "topaz_in_use":if("tablet_sign_start"!=vI)throw Error("tabletAlreadyInUse called from state: "+vI);alert("Topaz Signature Pad activated in another SameGoal window.");LI("not_used");EI(0);break;
1990case "topaz_assigned":nxa(a.aspect);break;default:throw Error("unsupported event type: "+a.type);}};
1991uI.system=function(){return r(function(a){if(1==a.g){if("start"!=vI)throw Error("appOpen called in state: "+vI);return navigator.serviceWorker?p(a,qI.controller(),2):a.return({system:"No Service Worker support",supported:!1})}GI=a.h;if(!GI)return a.return({system:"No Active Service Worker",supported:!1});if(!Pv)return a.return({system:"Device not detected / SigWeb driver not installed",supported:!0});GI.postMessage({type:"topaz_sys_req"});return a.return(new Promise(function(b){DI=b}))})};
1992function oxa(a){var b=a.split(",");if(4!=b.length)throw Error("illegal box: "+a);return{x:parseInt(b[0],10),y:parseInt(b[1],10),width:parseInt(b[2],10),height:parseInt(b[3],10)}}
1993function MI(a,b){a=a.includes("x");if(b.vf){var c=oxa(b.vf);if(4*c.height!=c.width)throw Error("signature box must have 4:1 aspect ratio: "+b.vf);if(a&&0!=c.width%8)throw Error("signature width must be a multiple of 8: "+b.vf);if(0!=c.x)throw Error("signature box be left aligned: "+b.vf);}b=m(b.Ye||[]);for(c=b.next();!c.done;c=b.next()){c=c.value;var d=oxa(c);if(a&&0!=d.width%8)throw Error("hotspot width must be a multiple of 8: "+c);if(a&&0!=d.x%8)throw Error("hotspot x offset must be a multiple of 8: "+
1994c);if(e||f||g){if(d.x!=e&&d.y!=f)throw Error("hotspots should share X or Y offsets: "+c);if(d.height!=g)throw Error("hotspots should be uniform heights: "+c);}else{var e=d.x;var f=d.y;var g=d.height}}}
1995uI.tU=function(a){return r(function(b){if(1==b.g){if("start"!=vI)throw Error("appOpen called in state: "+vI);for(var c=m(mxa.entries()),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;MI(d,e.sign);MI(d,e.Wq);MI(d,e.Wp);MI(d,e.finish)}return!Pv||!navigator.serviceWorker||2>a?(LI("no_communicate"),b.return()):p(b,qI.controller(),2)}GI=b.h;if(!GI)return console.error("topaz: no active service worker"),LI("no_communicate"),b.return();LI("not_used");GI.postMessage({type:"topaz_app_open"});
1996ua(b)})};uI.sU=function(){switch(vI){case "start":throw Error("appClosed called in state: "+vI);case "no_communicate":return}LI("not_used");GI.postMessage({type:"topaz_app_close"})};uI.v8=function(a,b,c,d,e){return r(function(f){switch(vI){case "no_communicate":return f.return(0);case "not_used":break;default:throw Error("signOpen called in state: "+vI);}LI("tablet_sign_start");yI=a;zI=b;AI=c;BI=d;CI=e;GI.postMessage({type:"topaz_sign_open"});return f.return(new Promise(function(g){EI=g}))})};
1997uI.u8=pI(function(){return r(function(a){if(1==a.g){if("tablet_sign_start"!=vI&&"tablet_sign"!=vI&&"tablet_liability"!=vI&&"tablet_consent"!=vI&&"tablet_finish"!=vI)throw Error("signClosed called in state: "+vI);VG(FI);return mI?p(a,lI("LcdRefresh","0,"+mI.Uk),2):a.ua(2)}LI("not_used");CI=BI=AI=zI=yI=mI=xI=wI=nI=void 0;GI.postMessage({type:"topaz_sign_close"});ua(a)})});function LI(a){if(a!=vI){var b=["topaz: "+vI+" -> "+a];"tablet_sign"==a&&b.push(mI);console.log.apply(console,b)}vI=a}
1998var nxa=pI(function(a){return r(function(b){if(1==b.g){if("tablet_sign_start"!=vI)throw Error("tabletAssigned called from state: "+vI);mI=cxa.get(a);wI=mxa.get(a);return p(b,NI(wI?wI.sign:void 0,pxa),2)}LI("tablet_sign");EI(mI?2:1);ua(b)})}),pxa=pI(function(a){return r(function(b){switch(b.g){case 1:switch(a){case 0:return b.ua(2);case 1:yI.dispatchEvent(new dI("cancel",""));yI.Ga(!1);break;case 2:yI.dispatchEvent(new dI("clear",""));break;default:throw Error("signCB called for unknown hotspot: "+
1999a);}b.ua(0);break;case 2:return AI.j?p(b,qxa(nI.vf),5):p(b,NI(wI.Wq,rxa),6);case 6:LI("tablet_liability");b.ua(5);break;case 5:b.ua(0)}})}),rxa=pI(function(a){return r(function(b){if(1==b.g){switch(a){case 0:return b.ua(2);case 1:yI.dispatchEvent(new dI("cancel",""));yI.Ga(!1);break;default:throw Error("liabilityCB called for unknown hotspot: "+a);}return b.ua(0)}if(4!=b.g)return CI.checked=!0,p(b,NI(wI.Wp,sxa),4);LI("tablet_consent");return b.ua(0)})}),sxa=pI(function(a){return r(function(b){switch(b.g){case 1:switch(a){case 0:return b.ua(2);
2000case 1:yI.dispatchEvent(new dI("cancel",""));yI.Ga(!1);break;default:throw Error("consentCB called for unknown hotspot: "+a);}b.ua(0);break;case 2:if(BI.value){b.ua(4);break}return p(b,NI(wI.finish),5);case 5:LI("tablet_finish");case 4:yI.dispatchEvent(new dI("adopt","")),BI.value&&yI.Ga(!1),b.ua(0)}})});
2001function NI(a,b){return r(function(c){switch(c.g){case 1:nI=a;xI=b;if(mI&&!nI)throw Error("setScreen called for an LCD tablet without a screen config");if(mI&&!nI.vf){c.ua(2);break}return p(c,lI("DisplayXSize",zI.width),3);case 3:return p(c,lI("DisplayYSize",zI.height),2);case 2:if(!mI){c.ua(5);break}return p(c,exa(),6);case 6:return p(c,txa(),7);case 7:if(!nI.vf){c.ua(8);break}
2001return p(c,lI("JustifyMode",0),9);case 9:return p(c,lI("ClearSigWindow",0),8);case 8:return p(c,lI("LCDSetWindow",nI.vf||
2002"0,0,1,1"),11);case 11:return p(c,lI("SigWindow","1,"+(nI.vf||"0,0,1,1")),12);case 12:return p(c,lI("CaptureMode",2),13);case 13:return p(c,lI("LcdRefresh","2,"+mI.Uk),5);case 5:return KI=0,p(c,gxa(),15);case 15:VG(FI);if(!mI||nI.vf||nI.Ye)FI=UG(uxa,25);ua(c)}})}var uxa=pI(function(){return r(function(a){if(1==a.g)return nI&&nI.Ye&&nI.Ye.length?p(a,vxa(),2):a.ua(2);if(4!=a.g)return nI&&!nI.vf?a.ua(4):p(a,wxa(),4);if("tablet_sign"==vI||"tablet_liability"==vI||"tablet_consent"==vI)FI=UG(uxa,25);ua(a)})});
2003uI.clear=pI(function(){return r(function(a){return 1==a.g?mI?p(a,lI("LcdRefresh","2,"+mI.Uk),2):a.ua(2):p(a,gxa(),0)})});uI.kT=function(){for(var a=zI.getContext("2d"),b=a.getImageData(0,0,zI.width,zI.height),c=b.data,d=0;d<c.length;d+=4)254>c[d]||254>c[d+1]||254>c[d+2]||(c[d+3]=0);a.putImageData(b,0,0)};function qxa(a){return r(function(b){return 1==b.g?p(b,lI("LcdRefresh","1,"+a),2):p(b,lI("LcdRefresh","1,"+a),0)})}
2004function txa(){var a=nI.Ye,b,c;return r(function(d){switch(d.g){case 1:return HI.clear(),II=a||[],JI=-1,p(d,lI("KeyPadClearHotSpotList"),2);case 2:if(!(0<II.length)){d.ua(3);break}return p(d,lI("ClearSigWindow",1),3);case 3:b=0;case 5:if(!(b<II.length)){d.ua(0);break}HI.set(b,0);c=II[b];return p(d,lI("KeyPadAddHotSpot",b+",1,"+c),6);case 6:b++,d.ua(5)}})}
2005function OI(a,b){var c,d;return r(function(e){if(1==e.g)return p(e,oI(a,b),2);if(3!=e.g){c=e.h;if(!c.ok)throw Error("unable to get topaz prop: "+a);d=parseInt;return p(e,c.text(),3)}return e.return(d(e.h,10))})}
2006function vxa(){var a,b;return r(function(c){switch(c.g){case 1:return JI=(JI+1)%II.length,p(c,OI("KeyPadQueryHotSpot",JI),2);case 2:return a=c.h,a==HI.get(JI)||0==a?(HI.set(JI,a),c.return()):p(c,OI("EventStatus"),3);case 3:if(b=2==c.h)return c.return();HI.set(JI,a);return p(c,qxa(II[JI]),4);case 4:xI(JI),ua(c)}})}
2007function xxa(){var a;return r(function(b){if(1==b.g)return p(b,oI("SigImage",0),2);if(3!=b.g){a=b.h;if(!a.ok)throw Error("unable to get topaz prop: SigImage");return p(b,a.blob(),3)}return b.return(b.h)})}
2008function wxa(){var a,b,c,d,e;return r(function(f){if(1==f.g)return p(f,OI("TotalPoints"),2);if(3!=f.g){a=f.h;if(a==KI||0==a)return KI=a,f.return(void 0);KI=a;return p(f,xxa(),3)}b=f.h;d=new Promise(function(g){c=g});e=new FileReader;e.onload=function(g){"data:"!=g.target.result&&yxa(AI,g.target.result)};e.onloadend=function(){c(void 0)};e.readAsDataURL(b);return f.return(d)})};function PI(){return'This endpoint\nemits a record for:\n\n- Each **complete** document that...\n- Is written using a form type of **interest**\n(generally the plan document for each Special Program) and...\n- The student is **non-deleted** in SameGoal.\n\nThis endpoint is typically used by third-party applications\n(eg student information systems (SISes), dashboards and toolbars)\nto add links to student Special Programs documents in SameGoal within their\napplication. Each record emitted includes the following fields:\n\n- **studentID** - Student Id number for the student in the district SIS.\n- **form** - Document form name.\n- **startDate** - Document start date.\n- **endDate** - Document end date, explicit or implied.\n- **url** - Link to view document on samegoal.com "Document Viewer" page.\nThis page displays the full document as a read-only PDF, plus any additional\nviews (eg "IEP at a Glance"). URL contains an encrypted token which expires\nafter 7 days, but can be accessed by anyone with the link. URL access must be\nproperly secured in third-party consumer applications based on user\nroles/permissions in the third-party application.\n- **program** - Special Program document is for (eg "Special Education").\n- **programAbbr** - Special Program abbreviation (eg "SE").\n- **programNote** - Special Program note, if any (eg "Referred: 07/20/2024").\n- **altViewForm** - Additional view for this form. When populated,\nurl defaults to this form view (eg "IEP at a Glance").\n\n**Basic usage:** Third-party applications may integrate links\nof format `<a href="url">form</a>` into their application.\nEach student may have 0 or more links.\n\n**Advanced usage:** Third-party applications may incorporate additional\ndocument information provided in the endpoint into their web application\n(optional).'}
2009var QI="Pre-Enrolled;Enrolled;Out of District;Transferred;Withdrew;Dropped Out;Graduated;Historical/Other;Historical/Idle".split(";");function RI(a){a="'"+a.replace(/'/g,"''").replace(/\\/g,"\\\\")+"'";return 0>a.indexOf("\\")?a:" E"+a}function SI(a){var b=a.indexOf("\x00");
2009-1<b&&(a=a.substr(0,b));return'"'+a.replace(/"/g,'""')+'"'}
2010function zxa(a,b,c){for(var d=0;d<b.length;d++){var e=SI(b[d][0]),f=SI(b[d][0]);1<b[d].length&&void 0!==b[d][1]&&(f=SI(b[d][1]));c.display.push(e);c.select.push(a+"."+f+" AS "+e)}}
2011function Axa(a,b,c){var d=b["Fiscal Year:"];if("duplicate"==b.fy_date_range&&d){d=d.map(function(k){return k.split(" ")[0].substr(2)});for(var e=[],f=m(d),g=f.next();!g.done;g=f.next())g=g.value,e.push("("+g+", 'Jul 1 20"+(g-1)+" 00:00:00'::timestamp, 'Jun 30 20"+g+" 23:59:59'::timestamp)");c.from.push("  JOIN (VALUES "+e.join(",")+') as fiscal_years("year", "start", "end")\n    ON (\n      idr."record_date" <= fiscal_years."end"\n      AND (\n        idr."effective_end_date" IS NULL\n        OR idr."effective_end_date" >= fiscal_years."start"\n      )\n    )');
2012c.and.push('-- true IF dataIssue is EMPTY OR record_date is IN the fiscal year\n      NOT (COALESCE(idr."record"->>\'Data Issue\', \'\') != \'\' AND\n        (idr."record_date" < fiscal_years."start" OR\n        idr."record_date" > fiscal_years."end")\n      )')}e=["GQ","FD"];f=b["Record Date:_start"];g=b["Record Date:_end"];if(f||g)e.includes(a)?f&&c.and.push('(idr."effective_end_date" IS NULL OR idr."effective_end_date" >= SG_DATE('+RI(f)+"))"):f&&c.and.push('idr."record_date" >= SG_DATE('+RI(f)+
2013")"),g&&c.and.push('idr."record_date" <= SG_DATE('+RI(g)+")");else if("single"==b.fy_date_range&&d){a=[];b=m(d);for(d=b.next();!d.done;d=b.next())d=Number(d.value.split(" ")[0].substr(2)),a.push('( idr."record_date" < \'Jul 1 20'+d+' 00:00:00\' AND ( idr."effective_end_date" IS NULL OR   idr."effective_end_date" >= \'Jul 1 20'+(d-1)+" 00:00:00'))");c.and.push("("+a.join(" OR ")+")")}else if(!b.fy_date_range&&d){a=[];b=m(d);for(d=b.next();!d.done;d=b.next())d=Number(d.value.split(" ")[0].substr(2)),
2014a.push('(idr."record_date" >= \'Jul 01 20'+(d-1)+" 00:00:00' AND idr.\"record_date\" < 'Jul 1 20"+d+" 00:00:00')");c.and.push("("+a.join(" OR ")+")")}}
2015function Bxa(a,b,c,d,e){e||(e=d+":");var f=b[e];if(f&&(e=[],b[d+":_length"]!=f.length)){for(b=0;b<f.length;b++)e.push(RI(f[b]));if("Age"==d)c.and.push("DATE_PART('year', age((ior.\"record\"->>'Date of Birth'):: DATE)) IN("+(e+")"));else if("Program"==d){d=[];for(b=0;b<e.length;b++)f=e[b],"Deadlines"==a?d.push('iod."group_name" = '+f):d.push('idf."form_group" = '+f);c.and.push("("+d.join(" OR ")+")")}else a=RI(d),c.and.push('idr."record"->>'+a+(" IN("+e+")"))}}
2016function Cxa(a,b){a=a.map(function(c){return'iod."group_name" = '+RI(c[0])});b.and.push("("+a.join(" OR ")+")")}
2017function V(a,b,c,d){var e=c.report_record_name;e.endsWith("Deadlines")&&(e="Deadlines");var f={ej:[],select:[],zz:[],Xw:[],from:[],and:[],Iu:[],display:[]},g=e;"User"==g&&f.ej.push("\"user_roles_cte\" AS (\n  WITH user_role_and_building_ids AS (\n    SELECT\n      user_id,\n      jsonb_array_elements(user_role)->>'user_role' AS key,\n      jsonb_array_elements(user_role)->'buildings' AS building_ids\n    FROM index_users\n  ),\n  flattened AS (\n    SELECT user_id, key, building_id\n    FROM user_role_and_building_ids\n    LEFT JOIN jsonb_array_elements_text(building_ids) as building_id\n    ON true\n  ),\n  user_role_and_buildings AS (\n    SELECT\n      user_id,\n      key,\n      string_agg(ib.name, ', ' ORDER BY ib.name) as buildings\n    FROM flattened\n    LEFT JOIN index_buildings ib\n    USING (building_id)\n    GROUP BY user_id, key\n  )\nSELECT\n  user_id,\n  string_agg(buildings, ';') AS buildings,\n  string_agg(jsonb_value->>'name', ';') AS user_role\nFROM user_role_and_buildings\nJOIN max_instances\nON col = 'user_role:' || user_role_and_buildings.key\nAND (\"max_instances\".jsonb_value->'is_soft_deleted' IS NULL OR \"max_instances\".jsonb_value->>'is_soft_deleted'='false')\nGROUP BY user_id\nUNION ALL\nSELECT\n  user_id,\n  '',\n  'admin'\nFROM index_users\nWHERE is_admin\n)");"Acknowledgement"==
2018g&&(f.ej.push(Dxa()),f.ej.push("\"ack_raw\" AS (\n  -- find all signature records, combine with required record\n  SELECT a.row AS doc_id,\n         SPLIT_PART(a.col, ':', 2) AS user_id,\n         SPLIT_PART(a.col, ':', 3) AS version,\n         SPLIT_PART(a.col, ':', 5) AS sign_raw,\n         b.jsonb_value->>'required_timestamp' AS required_raw,\n         b.jsonb_value->>'reason' AS reason_raw,\n         b.jsonb_value->>'closed_timestamp' AS closed_raw,\n         b.jsonb_value->'notif_caused_by'->>'user_id' AS actor_id,\n         b.jsonb_value->'closed_by'->>'user_id' AS closed_by_id\n  FROM max_documents a\n  LEFT JOIN max_documents b\n  ON b.col = SUBSTR(a.col, 1, STRPOS(a.col, 'signature')-1) || 'required'\n  AND a.row = b.row\n  WHERE a.col LIKE 'ack:%signature%'\n  UNION ALL\n  -- find all required records with 
2018no corresponding signature\n  SELECT a.row AS doc_id,\n         SPLIT_PART(a.col, ':', 2) AS user_id,\n         SPLIT_PART(a.col, ':', 3) AS version,\n         NULL AS sign_raw,\n         a.jsonb_value->>'required_timestamp' AS required_raw,\n         a.jsonb_value->>'reason' AS reason_raw,\n         a.jsonb_value->>'closed_timestamp' AS closed_raw,\n         a.jsonb_value->'notif_caused_by'->>'user_id' AS actor_id,\n         a.jsonb_value->'closed_by'->>'user_id' AS closed_by_id\n  FROM max_documents a\n  LEFT JOIN max_documents b\n  ON b.col LIKE SUBSTR(a.col, 1, STRPOS(a.col, 'required')-1) || 'signature%'\n  AND a.row = b.row\n  WHERE a.col LIKE 'ack:%required%'\n  AND b.col IS NULL\n)"),
2019f.ej.push("\"ack_middle\" AS (\n  SELECT ack_raw.*,\n         zone,\n         actors.first_name AS actor_first,\n         actors.last_name AS actor_last,\n         actors.user_name AS actor_email,\n         closers.first_name AS closer_first,\n         closers.last_name AS closer_last,\n         closers.user_name AS closer_email,\n         TO_TIMESTAMP(sign_raw::double precision) AT TIME ZONE zone AS sign_timestamp,\n         (TO_TIMESTAMP(sign_raw::double precision) AT TIME ZONE zone)::date AS sign_date,\n         TO_TIMESTAMP(required_raw::double precision) AT TIME ZONE zone AS required_timestamp,\n         (TO_TIMESTAMP(required_raw::double precision) AT TIME ZONE zone)::date AS required_date,\n         TO_TIMESTAMP(closed_raw::double precision) AT TIME ZONE zone AS closed_timestamp,\n         (TO_TIMESTAMP(closed_raw::double precision) AT TIME ZONE zone)::date AS closed_date,\n         (NOW() AT TIME ZONE zone)::date AS current_date,\n         'MM/DD/YYYY' AS date_format\n  FROM ack_raw\n  JOIN timezone\n  ON TRUE\n  LEFT JOIN index_users actors\n  ON actor_id = actors.user_id\n  LEFT JOIN index_users closers\n  ON closed_by_id = closers.user_id\n)"),
2020f.ej.push("\"ack_formatted\" AS (\n  SELECT *,\n         ROW_NUMBER() OVER () AS ack_id, -- a unique id for this row in the CTE used to join with the fake idr in the larger query\n         TO_CHAR(sign_date, date_format) AS \"Sign Date\",\n         TO_CHAR(required_date, date_format) AS \"Notification Date\",\n         CASE WHEN sign_date IS NULL THEN 'No'\n              ELSE 'Yes'\n         END AS \"Acknowledged\",\n         sign_date - required_date AS \"Days to Acknowledge\",\n         CASE WHEN sign_date IS NOT NULL AND required_date IS NOT NULL THEN\n           CASE WHEN sign_date - required_date < 30 THEN '29 days or fewer'\n                WHEN sign_date - required_date < 60 THEN '30-59 days'\n                WHEN sign_date - required_date < 90 THEN '60-89 days'\n                ELSE '90 days or more'\n           END\n         END AS \"Days to Acknowledge Range\",\n         CASE WHEN sign_date IS NULL THEN current_date - required_date END AS \"Outstanding Days\",\n         CASE WHEN sign_date IS NULL THEN\n           CASE WHEN current_date - required_date < 30 THEN '29 days or fewer'\n                WHEN current_date - required_date < 60 THEN '30-59 days'\n                WHEN current_date - required_date < 90 THEN '60-89 days'\n                ELSE '90 days or more'\n           END\n         END AS \"Outstanding Days Range\",\n         CASE WHEN reason_raw = '1' THEN 'Student Team'\n              WHEN reason_raw = '2' THEN 'Manually Added'\n         END AS \"Required Reason\",\n         CASE WHEN actor_id IS NULL THEN NULL\n              WHEN actor_id = '' THEN 'System'\n              ELSE actor_first || ' ' || actor_last || ' (' || actor_email || ')'\n         END AS \"Notification Caused By\",\n         CASE WHEN closed_raw IS NULL THEN 'No'\n              ELSE 'Yes'\n         END AS \"Closed\",\n         closed_date - required_date AS \"Days to Close\",\n         CASE WHEN closed_by_id IS NULL THEN NULL\n              WHEN closed_by_id = '' THEN 'System'\n              ELSE closer_first || ' ' || closer_last || ' (' || closer_email || ')'\n         END AS \"Closed By\"\n  FROM ack_middle\n)"),
2021f.ej.push("\"fake_idr\" AS (\n  SELECT doc_id || '_' || version AS doc_id,\n         'Acknowledgement' AS record_name,\n         NULL AS record_date,\n         NULL AS effective_end_date,\n         TO_JSONB(ack_formatted.*) AS record,\n         true AS finalized,\n         ack_id AS ack_id\n  FROM \"ack_formatted\"\n)"));for(var k=e,l=m(a),n=l.next();!n.done;n=l.next()){var q=n.value,t=Object.keys(q)[0],u=q[t];
2021switch(t){case "index_documents":for(var v=u,y=f,G=0;G<v.length;G++){var K=SI(v[G][0]);
2022switch(v[G][0]){case "Doc URL":y.display.push(K);y.select.push(v[G][1]+" AS "+K);continue;case "DocViewer Reference":y.display.push(K);y.select.push("(id.doc_id|| ',' || id.form_id|| ',' || COALESCE(\n            (SELECT form_id FROM index_forms if2 WHERE if2.\"form_name\"=idr.\"record\"->>'AltViewForm'),\n            ''\n          )) AS "+K);continue}var J=SI(v[G][0]);1<v[G].length&&void 0!==v[G][1]&&(J=SI(v[G][1]));y.display.push(K);y.select.push("id."+J+" AS "+K)}break;case "index_objects_reports":for(var O=
2023u,P=f,Q=0;Q<O.length;Q++){var R=SI(O[Q][0]),aa=RI(O[Q][0]);1<O[Q].length&&void 0!==O[Q][1]&&(aa=RI(O[Q][1]));switch(O[Q][0]){case "GE040":case "GQ040":var fa="RIGHT(' 00000' || COALESCE(ior.\"record\"->>"+(aa+", ''), 6)");P.zz.push({select:fa,name:R,wF:"'^[a-zA-Z0-9]{6}$'"});P.display.push(R);P.select.push(fa+" AS "+R);break;case "GE050":case "GQ050":case "FE050":case "FD050":var za="RIGHT(' 00000000' || COALESCE(ior.\"record\"->>"+(aa+", ''), 9)");P.zz.push({select:za,name:R,wF:"'^[a-zA-Z0-9]{9}$'"});
2024P.display.push(R);P.select.push(za+" AS "+R);break;case "Student Name":P.display.push(R);P.select.push("CONCAT(ior.\"record\"->>'First Name', ' ', ior.\"record\"->>'Last Name') AS "+R);break;case "Age":P.display.push(R);P.select.push("DATE_PART('year', age((ior.\"record\"->>'Date of Birth'):: DATE)) AS "+R);break;default:P.display.push(R),P.select.push('ior."record"->>'+aa+" AS "+R)}}break;case "index_instances_reports":for(var Aa=u,Va=f,Ja=0;Ja<Aa.length;Ja++){var ab=SI(Aa[Ja][0]),Xa=RI(Aa[Ja][0]);
20251<Aa[Ja].length&&void 0!==Aa[Ja][1]&&(Xa=RI(Aa[Ja][1]));switch(Aa[Ja][0]){case "FE040":case "FD040":var Na="RIGHT(' 00000' || COALESCE(iir.\"record\"->>"+(Xa+", ''), 6)");Va.zz.push({select:Na,name:ab,wF:"'^[a-zA-Z0-9]{6}$'"});Va.display.push(ab);Va.select.push(Na+" AS "+ab);continue;default:Va.display.push(ab),Va.select.push('iir."record"->>'+Xa+" AS "+ab)}}break;case "index_objects_enrollments":for(var Xb=c,Lb=u,Mb=f,xb=0;xb<Lb.length;xb++){var zc=Lb[xb][0];1<Lb[xb].length&&void 0!==Lb[xb][1]&&
2026(zc=Lb[xb][1]);if(Lb[xb][0].startsWith("notes")){var he=Xb["Notes:"];if(he&&0!=he.length){Mb.and.push(['(ioe."start" IS NULL OR','  (ioe."program" = \''+zc+"' AND",'  ioe."start" <= CURRENT_DATE AND','  (ioe."end" >= CURRENT_DATE OR ioe."end" IS NULL))',")"].join("\n        "));for(var Lc=0;Lc<he.length;Lc++){var Hd=SI(he[Lc]);Mb.display.push(Hd);Mb.select.push('ioe."notes"->>\''+he[Lc]+"' AS "+Hd)}}}else if(Lb[xb][0].endsWith("Program Participation")||"Status"==Lb[xb][0]){var ie=["CASE WHEN EXISTS (",
2027"  SELECT *",'  FROM "index_objects_enrollments"','  WHERE "program" = \''+zc+"' AND",'        "object_id" = ior."object_id" AND','        "start" <= CURRENT_DATE AND','        ("end" >= CURRENT_DATE OR "end" IS NULL) AND',"        \"state\" = 'Pre-Enrolled'",") THEN 'Eligibility Review'","WHEN EXISTS (","  SELECT *",'  FROM "index_objects_enrollments"','  WHERE "program" = \''+zc+"' AND",'        "object_id" = ior."object_id" AND','        "start" <= CURRENT_DATE AND','        ("end" >= CURRENT_DATE OR "end" IS NULL) AND',
2028"        \"state\" = 'Enrolled'",") THEN 'Participating'","ELSE 'Not Participating'"],jd=SI(Lb[xb][0]);Mb.display.push(jd);Mb.select.push(ie.join("\n")+" END AS "+jd)}else if(Lb[xb][0].startsWith("Notes")){var Wd=SI(Lb[xb][0]),nh=Wd;1<Lb[xb].length&&void 0!==Lb[xb][1]&&(nh=SI(Lb[xb][1]));Mb.display.push(Wd);Mb.select.push("ioe."+nh+"::text AS "+Wd)}else{var oi=SI(Lb[xb][0]),Ki=oi;1<Lb[xb].length&&void 0!==Lb[xb][1]&&(Ki=SI(Lb[xb][1]));Mb.display.push(oi);Mb.select.push("ioe."+Ki+" AS "+oi)}}break;
2029case "index_documents_reports":for(var tk=k,Li=c,bd=u,Cj=f,hf=0;hf<bd.length;hf++){var Ze=SI(bd[hf][0]);switch(bd[hf][0]){case "GE030":case "GQ030":case "FE030":case "FD030":case "GG030":case "FB030":var uk=Li["Data Set:"].split(" ")[0];uk=RI(uk);Cj.display.push(Ze);Cj.select.push(uk+" AS "+Ze);continue}var Eg=bd[hf][0],xl=RI(bd[hf][0]);1<bd[hf].length&&void 0!==bd[hf][1]&&(Eg=bd[hf][1],xl=RI(bd[hf][1]));var Vm=void 0;2<bd[hf].length&&void 0!==bd[hf][2]&&(Vm=RI(bd[hf][2]));
2029var Mf='idr."record"->>'+
2030xl,pi=RI("Document artificially end-dated.");"End Date"===Eg&&"Doc Viewer"===tk&&(Mf='CASE WHEN ioe."end" IS NOT NULL AND ioe."end" < SG_DATE(idr."record"->>\'End Date\') THEN TO_CHAR(ioe."end", \'MM/DD/YYYY\') ELSE idr."record"->>'+xl+" END");"ProgramNote"===Eg&&"Doc Viewer"===tk&&(Mf='CASE WHEN ioe."end" IS NOT NULL AND ioe."end" < SG_DATE(idr."record"->>\'End Date\') THEN '+pi+' ELSE idr."record"->>'+xl+" END");if(Li["Fiscal Year:"]&&"duplicate"==Li.fy_date_range){var yl='idr."record"->>'+RI(bd[hf][0]);
2031switch(Eg){case "Fiscal Year":Mf="'20' || fiscal_years.\"year\"";break;case "Record Date":Mf='CASE WHEN idr."record_date" < fiscal_years."start" THEN to_char(fiscal_years."start", \'YYYYMMDD\') ELSE '+yl+" END";break;case "Effective End Date":Mf='CASE WHEN idr."effective_end_date" IS NULL OR idr."effective_end_date" > fiscal_years."end" THEN to_char(fiscal_years."end", \'YYYYMMDD\') ELSE '+yl+" END"}}Mf=0<=(Li["Replace Unknown Fields:"]||[]).indexOf("true")&&void 0!==Vm?"CASE WHEN "+Mf+" = '?' THEN "+
2032Vm+" ELSE "+Mf+" END":"CASE WHEN "+Mf+" = '?' THEN 'N' ELSE "+Mf+" END";(4>bd[hf].length||"hidden"!=bd[hf][3])&&Cj.display.push(Ze);Cj.select.push(Mf+" AS "+Ze)}break;case "index_objects":for(var Rh=u,oh=f,Sh=0;Sh<Rh.length;Sh++){var ph=SI(Rh[Sh][0]);switch(Rh[Sh][0]){case "District Enrollment":for(var qi="CASE ",Jd=0;Jd<QI.length;Jd++)qi+='WHEN io."district_enrollment" = '+Jd+" THEN '"+QI[Jd]+"'\n";qi+="END AS "+ph;oh.display.push(ph);oh.select.push(qi);continue}var qh=SI(Rh[Sh][0]);1<Rh[Sh].length&&
2033void 0!==Rh[Sh][1]&&(qh=SI(Rh[Sh][1]));oh.display.push(ph);oh.select.push("io."+qh+" AS "+ph)}break;case "index_users":for(var lg=u,Dj=f,mg=0;mg<lg.length;mg++){var Wm=SI(lg[mg][0]),vk=SI(lg[mg][0]);1<lg[mg].length&&void 0!==lg[mg][1]&&(vk=SI(lg[mg][1]));var Ej="iu";["user_role","buildings"].includes(lg[mg][1])&&(Ej="urc");Dj.display.push(Wm);switch(lg[mg][1]){case "force_local_authentication":var Eo=Ej+"."+vk;Dj.select.push("CASE WHEN "+Eo+" THEN 'Yes' WHEN NOT "+Eo+" THEN 'No' END AS "+Wm);continue}switch(lg[mg][0]){case "Last Login":Dj.select.push("GREATEST(to_timestamp(SG_BIGINT(lastauth.jsonb_value#>>'{}')),to_timestamp(SG_BIGINT(lastcookie.jsonb_value#>>'{}'))) AS "+
2034Wm);continue}Dj.select.push(Ej+"."+vk+" AS "+Wm)}break;case "index_forms":zxa("idf",u,f);break;case "index_objects_deadlines":for(var Fj=u,Ac=f,Kd=0;Kd<Fj.length;Kd++){var rh=SI(Fj[Kd][0]),Gj=SI(Fj[Kd][0]);1<Fj[Kd].length&&void 0!==Fj[Kd][1]&&(Gj=SI(Fj[Kd][1]));switch(Fj[Kd][0]){case "Assigned":Ac.ej.push("assignees_cte AS (\n  WITH user_human AS (\n    SELECT user_id, first_name || ' ' || last_name AS human\n    FROM index_users\n  ), user_id_rows AS (\n    SELECT id, jsonb_array_elements_text(assignees) AS user_id\n    FROM \"index_objects_deadlines\"\n  )\n  SELECT iod_cte.id, string_agg(human, ', ') AS human_name\n  FROM \"index_objects_deadlines\" AS iod_cte\n  JOIN user_id_rows AS uir\n    ON iod_cte.id = uir.id\n  JOIN user_human AS uh\n    ON uir.user_id = uh.user_id\n  GROUP BY iod_cte.id\n)");
2035Ac.display.push(rh);Ac.select.push("acte.human_name AS "+rh);continue;case "Determined From":Ac.display.push(rh);Ac.select.push("idf.form_name AS "+rh);continue}Ac.display.push(rh);Ac.select.push("iod."+Gj+" AS "+rh)}break;case "objects_deadlines_group_name":Cxa(u,f);break;default:zxa(t,u,f)}}f.Xw.push("NULLIF(TRIM(idr.\"record\"->>'Data Issue'), '')");for(var zl=m(f.zz),Mi=zl.next();!Mi.done;Mi=zl.next()){var sh=Mi.value;f.Xw.push("CASE WHEN "+sh.select+" ~ "+sh.wF+" THEN NULL ELSE "+RI(sh.name+
2036" Invalid (")+" || "+sh.select+" || ')' END")}for(var Oq=e,Hj=m(b),Al=Hj.next();!Al.done;Al=Hj.next()){var Ij=Al.value;if("GE100"==Ij){for(var Xm="PSTC RFRL CNST TETR IETR RETR NIEP TIEP IIEP IISP RIEP RISP AIEP CIEP SEMD".split(" "),Pq="CASE ",th=0;th<Xm.length;th++)Pq+='WHEN "GE100" = \''+Xm[th]+"' THEN "+(th+1)+"\n";Pq+="END";f.Iu.push(Pq)}else Ij.startsWith("SG_DATE(")||Ij.endsWith("::DECIMAL")?f.Iu.push(Ij):f.Iu.push(SI(Ij))}["Object","User","Deadlines","Program Participation"].includes(Oq)||
2037(f.select.push("'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse' AS \"doc_order\""),f.Iu.push("SPLIT_PART(\"doc_order\", '_', 1)"));var Jj=e;if("Object"==Jj)f.from.push('"index_objects" AS io','JOIN "index_objects_reports" AS ior',"  ON io.object_id = ior.object_id");else if("User"==Jj)f.from.push('"index_users" AS iu'),
2038f.from.push('LEFT JOIN "user_roles_cte" AS urc',"   ON urc.user_id = iu.user_id"),f.from.push('LEFT JOIN "max_users" AS lastauth',"   ON iu.user_id::TEXT = lastauth.row AND","      lastauth.col = 'meta:last_authenticated'"),f.from.push('LEFT JOIN "max_users" AS lastcookie',"   ON iu.user_id::TEXT = lastcookie.row AND","      lastcookie.col = 'meta:last_new_cookie_time'");else if("Deadlines"==Jj)f.from.push('"index_objects_deadlines" AS iod','JOIN "index_objects_reports" AS ior','  ON iod."object_id" = ior."object_id"',
2039'LEFT JOIN "index_documents" AS id','  ON SG_BIGINT(iod."last_doc") = id."doc_id"','LEFT JOIN "index_forms" AS idf','  ON id."form_id" = idf."form_id"','JOIN "index_objects" AS io',"  ON io.object_id = ior.object_id",'LEFT JOIN "assignees_cte" AS acte',"   ON acte.id = iod.id",'JOIN "index_formgroups" as ifg',"   ON idf.form_group = ifg.form_group"),c["Notes:"]&&0<c["Notes:"].length&&f.from.push('LEFT JOIN "index_objects_enrollments" AS ioe','  ON iod."object_id" = ioe."object_id"');else if("Program Participation"==
2040Jj)f.from.push('"index_objects" AS io','LEFT JOIN "index_objects_enrollments" AS ioe','  ON io."object_id" = ioe."object_id"','LEFT JOIN "index_instances_reports" AS iir',"  ON TRUE");else{var wk=['JOIN "index_documents_reports" AS idr','  ON id."doc_id" = SG_BIGINT(SPLIT_PART(idr."doc_id", \'_\', 1))'];"Acknowledgement"==Jj&&(wk=['JOIN "ack_formatted" AS acknowledgements','  ON id."doc_id"::text = acknowledgements."doc_id"','  AND NOT id."deleted"','JOIN "fake_idr" AS idr','  ON acknowledgements."ack_id" = idr."ack_id"']);
2041f.from.push.apply(f.from,['"index_documents" AS id','JOIN "index_objects" AS io','  ON id."object_id" = io."object_id"','JOIN "index_objects_reports" AS ior','  ON id."object_id" = ior."object_id"'].concat(ka(wk),['LEFT JOIN "index_instances_reports" AS iir',"  ON TRUE"]));"Doc Viewer"==Jj&&f.from.push('LEFT JOIN "index_objects_enrollments" AS ioe',' ON id."object_id" = ioe."object_id"',' AND ioe."start" <= SG_DATE(idr."record"->>\'End Date\')',' AND (ioe."end" IS NULL OR ioe."end" >= SG_DATE(idr."record"->>\'Start Date\'))');
2042c["Notes:"]&&0<c["Notes:"].length&&f.from.push('LEFT JOIN "index_objects_enrollments" AS ioe','  ON id."object_id" = ioe."object_id"');for(var Bl=m(a),Qq=Bl.next();!Qq.done;Qq=Bl.next())switch(Object.keys(Qq.value)[0]){case "index_users":f.from.push("LEFT JOIN LATERAL ("," SELECT *",' FROM "index_users" AS iu_cte'," JOIN (",'   SELECT idp_cte."user_id", idp_cte."doc_id"','   FROM "index_documents_permission" AS idp_cte','   WHERE idp_cte."doc_id" = id."doc_id" AND','         idp_cte."permission" = 3',
2043'   ORDER BY idp_cte."id" DESC'," ) AS idp",'   ON iu_cte."user_id" = idp."user_id"',' WHERE iu_cte."deleted" = false'," LIMIT 1",") AS iu",'  ON id."doc_id" = iu."doc_id"');break;case "index_forms":f.from.push('LEFT JOIN "index_forms" AS idf','  ON id."form_id" = idf."form_id"');break;case "acknowledgements_users":f.from.push('JOIN "index_users" AS acknowledgements_users','  ON acknowledgements_users."user_id" = acknowledgements."user_id"')}}var Ym=e,Ni=c.requesting_user_id;Ni&&(Ni=RI(Ni),"Deadlines"==
2044Ym?(f.ej.push("explicit_forms AS (\n  SELECT object_id, form_id\n  FROM index_documents_permission\n  JOIN index_documents\n  USING(doc_id)\n  WHERE user_id = "+Ni+")","building_roles AS (\n  SELECT\n    jsonb_array_elements(user_role)->>'user_role' AS user_role,\n    jsonb_array_elements_text(\n      jsonb_array_elements(user_role)->'buildings'\n    ) AS building_id\n  FROM index_users\n  WHERE user_id = "+Ni+")","building_forms AS (\n  SELECT building_id, form_id\n  FROM index_instances_user_roles\n  JOIN building_roles\n  USING (user_role)\n  WHERE max_allowable > 0\n    AND NOT soft_deleted\n)",
2045"deadline_form_names AS (\n  SELECT\n    -- remove deadlines: prefix and _pb suffix\n    substr(col, 11, length(col) - 13) AS program_name,\n    jsonb_object_keys(\n      jsonb_value->'form_field_map'\n    ) AS form_name\n  FROM max_instances\n  WHERE col LIKE 'deadlines%pb')","deadline_buildings AS (\n  SELECT building_id, array_agg(DISTINCT program_name) AS programs\n  FROM deadline_form_names\n  JOIN index_forms\n  USING(form_name)\n  JOIN building_forms\n  USING(form_id)\n  GROUP BY building_id\n)",
2046"deadline_objects AS(\n  SELECT object_id, array_agg(DISTINCT program_name) AS programs\n  FROM deadline_form_names\n  JOIN index_forms\n  USING(form_name)\n  JOIN explicit_forms\n  USING(form_id)\n  GROUP BY object_id\n)"),f.from.push('JOIN "index_users" as iu\n  ON iu."user_id"='+Ni+'\nLEFT JOIN "deadline_buildings" as bldngs\n  ON io."building_id"=bldngs."building_id"\nLEFT JOIN "deadline_objects" as objs\n  ON io."object_id"=objs."object_id"'),f.and.push('       (\n          substr(iod."program", 11, LENGTH(iod."program") - 16)=ANY(bldngs.programs)\n          OR\n          iu."user_role" IS NULL\n          AND\n          substr(iod."program", 11, LENGTH(iod."program") - 16)=ANY(objs.programs)\n        )')):
2047(f.from.push('LEFT JOIN "index_documents_permission" AS idp','  ON id."doc_id" = idp."doc_id"','  AND idp."user_id" = '+Ni,"LEFT JOIN max_perms","  ON io.building_id = max_perms.building","  AND id.form_id = max_perms.form_id"),f.ej.push(["max_perms AS (\n  WITH assgns AS MATERIALIZED (\n    SELECT\n      assgn->>'user_role' AS user_role,\n      jsonb_array_elements_text(assgn->'buildings') AS building\n    FROM (\n      SELECT jsonb_array_elements(user_role)\n      FROM index_users","    WHERE user_id = "+
2048Ni,"    ) AS assgns(assgn)\n  )\n  SELECT assgns.building, iiur.form_id, MAX(iiur.implicit) AS implicit, MAX(iiur.max_allowable) AS max_allowable FROM assgns\n    JOIN index_instances_user_roles AS iiur\n      ON assgns.user_role = iiur.user_role\n      AND NOT iiur.soft_deleted\n  GROUP BY (assgns.building, iiur.form_id)\n)"].join("\n")),f.and.push("max_perms.form_id IS NOT NULL","(\n  max_perms.implicit != 0\n  OR (\n    idp.permission IS NOT NULL\n    AND max_perms.max_allowable != 0\n))")));var xk=
2049e;["Object","User","Deadlines","Program Participation"].includes(xk)||f.and.push('idr."re
2049cord_name" = '+RI(xk));for(var Oi in c)if(Array.isArray(c[Oi])){for(var Xg=0<c[Oi].length,Cl=m(c[Oi]),Dl=Cl.next();!Dl.done;Dl=Cl.next()){var Th=Dl.value;if("Invalid"!=Th&&"Valid"!=Th){Xg=!1;break}}if(Xg){if(0<=c[Oi].indexOf("Invalid")){var El=SI("Errors");f.display.splice(1,0,El);f.select.push("CONCAT_WS('\\n',"+f.Xw.join(",\n      ")+(") AS "+El))}1==c[Oi].length&&f.and.push("CONCAT_WS(E'\\n',\n      "+f.Xw.join(",\n      ")+
2050"\n    ) "+("Valid"==c[Oi][0]?"":"!")+"= ''")}}Axa(e,c,f);for(var jf in c)if("Record Date:_start"!=jf&&"Record Date:_end"!=jf&&"Progress Date:_start"!=jf&&"Progress Date:_end"!=jf){if(jf.endsWith(":_start")){if(""==c[jf])continue;if(jf.startsWith("Due")){f.and.push('iod."due" >= SG_DATE('+RI(c[jf])+")");continue}f.and.push("SG_DATE(idr.record->>"+RI(jf.replace(":_start",""))+") >= SG_DATE("+RI(c[jf])+")")}jf.endsWith(":_end")&&""!=c[jf]&&(jf.startsWith("Due")?f.and.push('iod."due" <= SG_DATE('+RI(c[jf])+
2051")"):f.and.push("SG_DATE(idr.record->>"+RI(jf.replace(":_end",""))+") <= SG_DATE("+RI(c[jf])+")"))}var Rq=c["ETR Effective Date:"],nd=c["ER Effective Date:"],yk=c["IEP/SP Effective Date:"],uh=c["IEP Effective Date:"],ht=c["MDR Effective Date:"],Zm=c["ETR Consent Date:"],zk=c["Section 504: Plan Effective Date:"],Sq=c["WEP Effective Date:"],tw=c["WAP Effective Date:"],it=c["RIMP Effective Date:"],Tq=c["Effective Date:"],Uq=c["SDI Effective Date:"],Vq=c["Service Effective Date:"],uw=c["AT Effective Date:"],
2052Fo=c["Accommodation Effective Date:"],Go=c["Modification Effective Date:"],Ak=c["LPAC Effective Date:"];if(Rq){var Ho=RI(Rq);f.and.push('idr."record_date" <= '+Ho,'idr."record_date" >= SG_DATE('+Ho+") - INTERVAL '3 years' + INTERVAL '1 day'")}else if(nd){var Fl=RI(nd);f.and.push('idr."record_date" <= '+Fl,'idr."record_date" >= SG_DATE('+Fl+") - INTERVAL '3 years' + INTERVAL '1 day'")}else if(yk)f.and.push("SG_DATE(idr.\"record\"->>'Effective Start') <= SG_DATE("+(RI(yk)+")"),"SG_DATE(idr.\"record\"->>'Effective End') >= SG_DATE("+
2053(RI(yk)+")"));else if(uh)f.and.push("SG_DATE(idr.\"record\"->>'Effective Start') <= SG_DATE("+(RI(uh)+")"),"SG_DATE(idr.\"record\"->>'Effective End') >= SG_DATE("+(RI(uh)+")"));else if(ht){var Gl=RI(ht);f.and.push('idr."record_date" <= '+Gl,'idr."record_date" >= SG_DATE('+Gl+") - INTERVAL '90 days' + INTERVAL '1 day'")}else if(Zm){var Io=RI(Zm);f.and.push('idr."record_date" <= '+Io,'idr."record_date" >= SG_DATE('+Io+") - INTERVAL '60 days' + INTERVAL '1 day'")}else if(zk)f.and.push("SG_DATE(idr.\"record\"->>'Effective Start') <= SG_DATE("+
2054RI(zk)+")","SG_DATE(idr.\"record\"->>'Effective End') >= SG_DATE("+RI(zk)+")");else if(Sq)f.and.push("SG_DATE(idr.\"record\"->>'Effective Start') <= SG_DATE("+RI(Sq)+")","SG_DATE(idr.\"record\"->>'Effective End') >= SG_DATE("+RI(Sq)+")");else if(tw)f.and.push("SG_DATE(idr.\"record\"->>'Transition Start') <= SG_DATE("+RI(tw)+")","SG_DATE(idr.\"record\"->>'Transition End') >= SG_DATE("+RI(tw)+")");else if(it)f.and.push("SG_DATE(idr.\"record\"->>'Start Date') <= SG_DATE("+RI(it)+")","SG_DATE(idr.\"record\"->>'End Date') >= SG_DATE("+
2055RI(it)+")");else if(Tq)f.and.push("SG_DATE(idr.\"record\"->>'Start Date') <= SG_DATE("+(RI(Tq)+")"),"SG_DATE(idr.\"record\"->>'End Date') >= SG_DATE("+(RI(Tq)+")"));else if(Uq)f.and.push("SG_DATE(idr.\"record\"->>'SDI Start Date') <= SG_DATE("+(RI(Uq)+")"),"SG_DATE(idr.\"record\"->>'SDI End Date') >= SG_DATE("+(RI(Uq)+")"));else if(Vq)f.and.push("SG_DATE(idr.\"record\"->>'Service Start Date') <= SG_DATE("+(RI(Vq)+")"),"SG_DATE(idr.\"record\"->>'Service End Date') >= SG_DATE("+(RI(Vq)+")"));else if(uw)f.and.push("SG_DATE(idr.\"record\"->>'AT Start Date') <= SG_DATE("+
2056(RI(uw)+")"),"SG_DATE(idr.\"record\"->>'AT End Date') >= SG_DATE("+(RI(uw)+")"));else if(Fo)f.and.push("SG_DATE(idr.\"record\"->>'Accommodation Start Date') <= SG_DATE("+(RI(Fo)+")"),"SG_DATE(idr.\"record\"->>'Accommodation End Date') >= SG_DATE("+(RI(Fo)+")"));else if(Go)f.and.push("SG_DATE(idr.\"record\"->>'Modification Start Date') <= SG_DATE("+(RI(Go)+")"),"SG_DATE(idr.\"record\"->>
2056'Modification End Date') >= SG_DATE("+(RI(Go)+")"));else if(Ak){var vw=RI(Ak);f.and.push('idr."record_date" <= '+
2057vw,'idr."record_date" >= SG_DATE('+vw+") - INTERVAL '1 year' + INTERVAL '1 day'")}var jt=c["Document:"];if(jt&&c["Document:_length"]!=jt.length){for(var Jo=[],ng=0;ng<jt.length;ng++)Jo.push(RI(jt[ng]));f.and.push("idr.\"record\"->>'FormType' IN("+Jo+")")}if(c["Student:"]){var Wq=RI(c["Student:"]);f.and.push('io."object_id" = '+Wq)}if("Doc Viewer"==e&&"me"!=d){var kt=c["Effective Date:"];if(kt){var Xq=RI(kt);f.and.push('ioe."start" <= SG_DATE('+Xq+")",'(ioe."end" >= SG_DATE('+Xq+') OR ioe."end" IS NULL)');
2058f.and.push('ioe."program" = idr."record"->>\'Program\'')}}"Deadlines"==e&&f.and.push("ifg.active");for(var lt=m("Category;Log Type;Billable Service;Service;Billable Activity;Activity;Missing Supervisor Signature;Audited;Age;Program;Age Range;Direct".split(";")),Ko=lt.next();!Ko.done;Ko=lt.next())Bxa(e,c,f,Ko.value);if(c._filter_cols)for(var mt=m(c._filter_cols),nt=mt.next();!nt.done;nt=mt.next()){var ww=nt.value;Bxa(e,c,f,ww[0],ww[1])}var $m=c["Specially Designed Services:"];if($m&&0!==$m.length&&
2059c["Specially Designed Services:_length"]!=$m.length){for(var Zz=[],xw=m($m),Yq=xw.next();!Yq.done;Yq=xw.next())Zz.push(RI(Yq.value));f.and.push("idr.\"record\"->>'ServiceType' IN ("+Zz.join(",")+")")}var yw=c["District Enrollment:"];if(yw&&yw.length<=QI.length){for(var ot=[],Zq=m(yw),Pi=Zq.next();!Pi.done;Pi=Zq.next()){var Lo=QI.indexOf(Pi.value);0<=Lo&&ot.push(Lo)}ot.sort();f.and.push('io."district_enrollment" IN ('+ot.join(",")+")")}var pt="idr";"Deadlines"==e&&(pt="iod");for(var an in c)if(an.endsWith("Program Enrollment:")){var Mo=
2060c[an];if(3!=Mo.length){var bn=an.substring(0,an.length-19);bn=bn.trim();""==bn&&(bn="Special Education");Mo.sort();for(var cn=[],cd=[],qt=!1,rt=m(Mo),zw=rt.next();!zw.done;zw=rt.next())switch(zw.value){case "Not Participating":qt=!0;break;case "Eligibility Review":cn.push(RI("Pre-Enrolled"));break;case "Participating":cn.push(RI("Enrolled"))}0<cn.length&&cd.push('EXISTS (  SELECT *  FROM "index_objects_enrollments"  WHERE "program" = \''+bn+'\' AND  "object_id" = '+pt+'."object_id" AND  "start" <= CURRENT_DATE AND  ("end" >= CURRENT_DATE OR "end" IS NULL) AND  "state" IN ('+
2061cn.join(",")+"))");qt&&cd.push('NOT EXISTS (  SELECT *  FROM "index_objects_enrollments"  WHERE "program" = \''+bn+'\' AND  "object_id" = '+pt+'."object_id" AND  "start" <= CURRENT_DATE AND  ("end" >= CURRENT_DATE OR "end" IS NULL) AND  "state" IN (\'Pre-Enrolled\', \'Enrolled\'))');f.and.push("("+cd.join(" OR ")+")")}}var No=[],Hl;for(Hl in c)if(Hl.endsWith("Cutover Date:")){var Il=Hl.substring(0,Hl.length-13);Il=Il.trim();var $z="COALESCE("+(c[Hl]?"'"+c[Hl]+"'::date":"NULL")+', COALESCE(NULLIF(iir."record"->>\''+
2062(Il+" Cutover', '')::date, CURRENT_DATE))");No.push('EXISTS (  SELECT 1  FROM "index_objects_enrollments"  WHERE "program" = \''+Il+'\' AND  "object_id" = io."object_id" AND  ("start" >= '+$z+' OR "end" >= '+$z+"))")}0!=No.length&&f.and.push("("+No.join(" OR\n")+")");var Oo=c["Building:"];if(Oo&&Oo.length!=c["Building:_length"]){for(var Po=[],$q=m(Oo),Qo=$q.next();!Qo.done;Qo=$q.next())Po.push(RI(Qo.value));Po.sort();f.and.push("ior.\"record\"->>'Building Reporting ID' IN ("+Po.join(",")+")")}switch(e){case "Object":var st=
2063c["Student Status:"];if(!st){f.and.push("io.\"deleted\" = 'false'");break}if(2==st.length)break;f.and.push('io."deleted" = \''+("Deleted"==st[0]?"true":"false")+"'");break;case "User":f.and.push("iu.\"deleted\" = 'false'");break;default:f.and.push("io.\"deleted\" = 'false'")}"User"==e&&(f.and.push("iu.\"is_doc_only\" = 'false'"),f.and.push("iu.\"is_translation_only\" = 'false'"),f.and.push("iu.\"user_name\" NOT LIKE '%@samegoal.com'"));var tt=c["Document Status:"];["Object","User","Deadlines","Program Participation"].includes(e)||
2064(tt?2!=tt.length&&("Complete"==tt[0]?f.and.push("idr.finalized = 'true'"):f.and.push("idr.finalized = 'false'")):f.and.push("idr.finalized = 'true'"));var ar=c["Attachments:"];ar&&"With or without"!=ar&&("Without only"==ar?f.and.push("id.\"has_attachment\" = 'false'"):f.and.push("id.\"has_attachment\" = 'true'"));
2064var CM=c["Program Codes:"];if("GQ"==e){for(var ut=[],vt=!1,aA=!1,oF=!1,Aw=0;Aw<CM.length;Aw++)switch(CM[Aw]){case "Reading Improvement and Monitoring Plan":aA=!0;break;case "Special Education":vt=
2065!0;break;case "Advanced Learners":oF=!0}vt?(aA||(f.and.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) != "+RI("151")),f.and.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) != "+RI("152"))),oF||(f.and.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) != "+RI("205")),f.and.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) != "+RI("206")))):(aA&&(ut.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) = "+RI("151")),ut.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) = "+RI("152"))),
2066oF&&(ut.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) = "+RI("205")),ut.push('SUBSTRING(idr."record"->> '+RI("GQ060")+",1,3) = "+RI("206"))),0<ut.length&&f.and.push("("+ut.join(" OR ")+")"))}var DM=e;if(c.hasOwnProperty("Progress Date:_start")||c.hasOwnProperty("Progress Date:_end")){var Bw="Goal Number";switch(DM){case "504 Progress Report Compliance":Bw="504 Intervention Number";break;case "IEP Progress Report Compliance":Bw="Goal Number";break;case "RTI Tier 2 Progress Report Compliance":Bw=
2067"Tier 2 Intervention Number";break;case "RTI Tier 3 Progress Report Compliance":Bw="Tier 3 Intervention Number"}var EM=RI(Bw),YY=c["Progress Date:_end"],FM=RI(c["Progress Date:_start"]),GM=RI(YY);f.and.push("SG_DATE(idr.record->>'Start Date') <= SG_DATE("+GM+")");f.and.push("SG_DATE(idr.record->>'End Date') >= SG_DATE("+FM+")");f.and.push("idr.\"record\"->>'Progress Available' = 'No'");f.and.push('NOT EXISTS(\n    SELECT 1 FROM "index_documents_reports" AS idr2\n    WHERE idr2."record"->>'+EM+' = idr."record"->>'+
2068EM+"\n        AND SG_DATE(idr2.record->>'Start Date') >= SG_DATE("+FM+')\n        AND idr."object_id" = idr2."object_id"\n        AND SG_DATE(idr2.record->>\'End Date\') <= SG_DATE('+GM+")\n        AND idr2.\"record\"->>'Progress Available' = 'Yes')")}var HM="";0<f.ej.length&&(HM="WITH "+f.ej.join(",\n")+"\n");return"WITH select_cte AS ( SELECT * FROM (\n"+HM+"  SELECT "+f.select.join(",\n         ")+"\n  FROM "+f.from.join("\n  ")+"\n  WHERE "+f.and.join(" AND\n        ")+") AS order_by_cte\nORDER BY "+
2069f.Iu.join(",\n         ")+"\n)\nSELECT "+f.display.join(",\n       ")+"\nFROM select_cte\n"}function TI(){var a=new Date;return a.getFullYear()+"-"+((10>a.getMonth()+1?"0":"")+(a.getMonth()+1))+"-"+((10>a.getDate()?"0":"")+a.getDate())}var UI={};function VI(a){var b=new WI(a);return UI[a]=b}
2070function XI(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=XI(c.g,b);if(d)return d;c=m(c.Si);for(d=c.next();!d.done;d=c.next())if(d=d.value,d.F&&d.F.toLowerCase()==b.toLowerCase())return d}return null}function WI(a){this.h=a;this.g=[]}function YI(a,b,c,d){b=new ZI(b,c,null);b.vw=d;a.g.push(b);return b}
2071WI.prototype.St=function(a,b,c,d){if("oh"!=a){var e=new Set;e.add("System");e.add("Deadlines");"tx"==a?(e.add("TSDS/PEIMS"),e.add("SHARS Coordination"),e.add("Testing Coordination"),e.add("Transportation Coordination"),e.add("Dyslexia Coordination")):"ca"==a?(e.add("CALPADS"),e.add("LEA BOP Coordination")):"fl"==a&&e.add("State Reporting");for(a=0;a<b.length;a++)e.add(b[a]);for(a=0;a<this.g.length;a++)e.has(this.g[a].kb())||(this.g.splice(a,1),a--)}this.g=this.g.filter(function(f){return Exa(f,c,
2072d)});Fxa(this);return this.g};function Fxa(a){for(var b=0;b<a.g.length;b++)a.g[b].ao=b,Gxa(a.g[b])}function Hxa(){var a=$I(),b=new Set;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=m(aJ(c.value));for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b}WI.prototype.kb=function(){return this.h};function ZI(a,b,c){this.aN=a;this.bW=b;this.vw=void 0;this.h=c;this.ao=void 0;this.g=[];this.Si=[]}
2073function bJ(a,b,c){if(0!=a.Si.length)throw Error("Should not add sub-menus when report object array isnot empty.");b=new ZI(b,c,a);b.vw=void 0;b.h=a;a.g.push(b);return b}function aJ(a){for(var b=new Set,c=m(a.Si),d=c.next();!d.done;d=c.next())b.add(d.value);a=m(a.g);for(d=a.next();!d.done;d=a.next())for(c=m(aJ(d.value)),d=c.next();!d.done;d=c.next())b.add(d.value);return b}ZI.prototype.St=function(){return this.g};
2074function Gxa(a){for(var b=0,c=m(a.g),d=c.next();!d.done;d=c.next())d=d.value,d.ao=b,Gxa(d),b++;a=m(a.Si);for(c=a.next();!c.done;c=a.next())c.value.ao=b,b++}ZI.prototype.kb=function(){return this.aN};function W(a,b){if(0!=a.St().length)throw Error("Should not add report objects when there is sub-menu.");if(void 0===b.kd){for(var c=a;void 0===c.vw&&c.parent;)c=c.parent;b.kd=c.vw}b.parent=a;a.Si.push(b)}
2075function Exa(a,b,c){a.g=a.g.filter(function(d){return Exa(d,b,c)});a.Si=a.Si.filter(function(d){return(void 0===d.Uf||b>=d.Uf)&&(void 0===d.kq||c.includes(d.kq))});return 0<a.Si.length||0<a.g.length}
2076function Ixa(a){var b=[];switch(!0){case !!a["Document ID:"]:a=RI(a["Document ID:"]);b.push("audit_target AS (","  SELECT TRIM(id_val)::TEXT AS doc_id","    FROM (SELECT UNNEST(STRING_TO_ARRAY("+a+", ',')) AS id_val)","   WHERE TRIM(id_val) <> ''",")");break;case !!a["Student:"]:a=RI(a["Student:"]);b.push("audit_target AS (","  SELECT doc_id::TEXT","    FROM index_documents","   WHERE object_id = "+a,")");break;case !!a["User:"]:a=RI(a["User:"]);b.push("audit_target AS (","  SELECT DISTINCT d.row AS doc_id",
2077"    FROM documents d",'   WHERE d."user" = '+a,"   UNION","  SELECT DISTINCT a.fk_entity AS doc_id","    FROM activity_audit a",'   WHERE a."user" = '+a,")");break;default:b.push("audit_target AS (","  SELECT 'XXXXXXX' AS doc_id",")")}return b.join("\n")}
2078function Dxa(){return"timezone AS (\n  SELECT COALESCE(field.jsonb_value #>> '{}', 'America/Chicago') AS zone\n    FROM max_forms ids\n    LEFT JOIN max_instances field\n      ON field.col = 'fields:' || (ids.jsonb_value #>> '{}')\n   WHERE ids.col = 'ids:timezone'\n     AND ids.row = 'INSTANCE_FORM'\n)"}
2079function cJ(a){var b=[],c=[],d=a["Event Types:"];b.push(Dxa());b.push(Ixa(a));(d.includes("permissions")||d.includes("doc_events"))&&b.push("meta_messages AS (\n  SELECT d.row,\n         d.jsonb_value AS meta_message,\n         LAG(d.jsonb_value) OVER (PARTITION BY d.row ORDER BY d.version)\n            AS previous_meta_message,\n         d.version,\n         d.user,\n         d.time AT TIME ZONE current_setting('TIMEZONE')\n           AT TIME ZONE zone AS local_time\n    FROM documents d\n   CROSS JOIN timezone\n    JOIN audit_target t ON d.row = t.doc_id\n   WHERE col = 'meta:message'\n)");d=
2080m(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;switch(e){case "edits":b.push("edits AS (\n  SELECT d.row::BIGINT as doc_id,\n         SUBSTR(d.c
2080ol, 8) AS key,\n         d.jsonb_value #>> '{}' AS value,\n         d.time AT TIME ZONE current_setting('TIMEZONE')\n           AT TIME ZONE zone AS local_time,\n         d.\"user\" AS user_id,\n         NULL::TEXT AS affected_user,\n         'Edit' AS event_type,\n         ifk.description,\n         d.version\n    FROM documents AS d\n   CROSS JOIN timezone\n    JOIN index_documents AS ixd ON d.row::BIGINT = ixd.doc_id\n    JOIN index_forms AS if USING (form_id)\n    LEFT JOIN index_forms_keys ifk\n         ON if.form_id = ifk.form_id\n         AND TRIM(TRAILING '/' FROM REGEXP_REPLACE(\n               SUBSTR(d.col, 8), '(:[0-9]+/)', ':x/', 'g')) = ifk.key\n   WHERE d.col LIKE 'fields:%'\n     AND d.row IN (SELECT doc_id FROM audit_target)\n)");
2081break;case "views":b.push("views AS (\n  SELECT a.fk_entity::BIGINT AS doc_id,\n         '' AS key,\n         '' AS value,\n         a.time AT TIME ZONE current_setting('TIMEZONE')\n           AT TIME ZONE zone AS local_time,\n         a.\"user\" AS user_id,\n         NULL::TEXT AS affected_user,\n         'View' AS event_type,\n         'Document opened' AS description,\n         a.version\n    FROM activity_audit a\n   CROSS JOIN timezone\n    JOIN audit_target t ON a.fk_entity = t.doc_id\n   WHERE a.activity_class = 0\n     AND a.entity_type = 1\n)");
2082break;case "permissions":b.push("permissions AS (\n  WITH current_perms AS (\n    SELECT m.row,\n           m.version,\n           m.local_time,\n           m.\"user\" AS acting_user,\n           (p_curr.perm_data->'user'->>'user_id') AS user_id,\n           (p_curr.perm_data->>'permission')::INT AS current_perm_id\n      FROM meta_messages m,\n           jsonb_array_elements(m.meta_message->'user_permission')\n             AS p_curr(perm_data)\n  ),\n  previous_perms AS (\n    SELECT m.row,\n           m.version,\n           m.local_time,\n           m.\"user\" AS acting_user,\n           (p_prev.perm_data->'user'->>'user_id') AS user_id,\n           (p_prev.perm_data->>'permission')::INT AS previous_perm_id\n      FROM meta_messages m,\n           jsonb_array_elements(m.previous_meta_message\n             ->'user_permission') AS p_prev(perm_data)\n     WHERE m.previous_meta_message IS NOT NULL\n  ),\n  permission_values AS (\n    SELECT * FROM (VALUES\n      (0, 'NONE'), (1, 'VIEW'), (2, 'EDIT'), (3, 'OWNER')\n    ) AS t(perm_id, perm_name)\n  ),\n  changed_perms AS (\n    SELECT COALESCE(curr.row, prev.row)::BIGINT AS doc_id,\n           COALESCE(curr.version, prev.version) AS version,\n           COALESCE(curr.local_time, prev.local_time) AS local_time,\n           COALESCE(curr.acting_user, prev.acting_user) AS acting_user,\n           COALESCE(curr.user_id, prev.user_id) AS changed_user_id,\n           COALESCE(curr_pv.perm_name, 'NONE') AS current_permission,\n           COALESCE(prev_pv.perm_name, 'NONE') AS previous_permission\n      FROM current_perms curr\n      FULL OUTER JOIN previous_perms prev\n           ON curr.row = prev.row\n           AND curr.version = prev.version\n           AND curr.user_id = prev.user_id\n      LEFT JOIN permission_values curr_pv\n           ON curr.current_perm_id = curr_pv.perm_id\n      LEFT JOIN permission_values prev_pv\n           ON prev.previous_perm_id = prev_pv.perm_id\n     WHERE curr.current_perm_id\n           IS DISTINCT FROM prev.previous_perm_id\n        OR prev.previous_perm_id IS NULL\n        OR curr.current_perm_id IS NULL\n  )\n  SELECT cp.doc_id,\n         '' AS key,\n         CONCAT(iu.first_name, ' ', iu.last_name,\n           ' <', iu.user_name, '> ',\n           CASE WHEN iu.is_doc_only THEN '(guardian)' ELSE ''END)\n             AS value,\n         cp.local_time,\n         cp.acting_user AS user_id,\n         cp.changed_user_id AS affected_user,\n         'Permissions Change' AS event_type,\n         CONCAT(cp.previous_permission,\n           ' => ', cp.current_permission) AS description,\n         cp.version\n    FROM changed_perms cp\n    JOIN index_users iu ON cp.changed_user_id = iu.user_id\n)");
2083break;case "doc_events":b.push("doc_events AS (\n  WITH creation_message AS (\n    SELECT d.row::BIGINT AS doc_id,\n           1 AS version,\n           d.time AT TIME ZONE current_setting('TIMEZONE')\n             AT TIME ZONE zone AS local_time,\n           d.\"user\" AS user_id,\n           'Document Created' AS event_type,\n           CASE d.jsonb_value->>'create_type'\n             WHEN '2' THEN 'Copied from Existing'\n             WHEN '1' THEN 'Transferred from External District'\n             ELSE ''\n           END AS description,\n           CASE d.jsonb_value->>'create_type'\n             WHEN '2' THEN CONCAT('Source Document ID: ',\n               d.jsonb_value->>'cfe_src_doc_id')\n             WHEN '1' THEN CONCAT('Transferred from: ',\n               d.jsonb_value->>'d2d_district_name', ' by: ',\n               d.jsonb_value->>'d2d_first_name', ' ',\n               d.jsonb_value->>'d2d_last_name')\n           END AS value\n      FROM documents d\n     CROSS JOIN timezone\n      JOIN audit_target t ON d.row = t.doc_id\n     WHERE d.col = 'meta:creation'\n  ),\n  lifecycle_events AS (\n    SELECT m.row::BIGINT AS doc_id,\n           CASE WHEN m.previous_meta_message IS NULL THEN 2\n                ELSE m.version\n           END AS version,\n           m.local_time,\n           m.\"user\" AS user_id,\n           CASE\n             WHEN m.previous_meta_message IS NULL\n             THEN 'Document Created'\n             WHEN (m.meta_message->>'is_deleted') IS DISTINCT FROM\n                  (m.previous_meta_message->>'is_deleted')\n             THEN CASE WHEN (m.meta_message->>'is_deleted') = 'true'\n                       THEN 'Document Deleted'\n                       ELSE 'Document Undeleted'\n                  END\n             WHEN (m.meta_message->>'is_finalized') IS DISTINCT FROM\n                  (m.previous_meta_message->>'is_finalized')\n             THEN CASE WHEN (m.meta_message->>'is_finalized') = 'true'\n                       THEN 'Document Completed'\n                       ELSE 'Document Incompleted'\n                  END\n             ELSE NULL\n           END AS event_type,\n           '' AS description,\n           CASE WHEN (m.meta_message->>'is_finalized') IS DISTINCT FROM\n                     (m.previous_meta_message->>'is_finalized') AND\n                     (m.meta_message->>'is_finalized') = 'true'\n                THEN m.meta_message->>'override_reason'\n                ELSE ''\n           END AS value\n      FROM meta_messages m\n     WHERE (m.meta_message->>'is_deleted') IS DISTINCT FROM\n           (m.previous_meta_message->>'is_deleted')\n        OR (m.meta_message->>'is_finalized') IS DISTINCT FROM\n           (m.previous_meta_message->>'is_finalized')\n        OR m.previous_meta_message IS NULL\n  ),\n  amendment_events AS (\n    SELECT m.row::BIGINT AS doc_id,\n           m.version,\n           m.local_time,\n           m.\"user\" AS user_id,\n           'Formal Amendment Created' AS event_type,\n           '' as description,\n           '' AS value\n      FROM meta_messages m\n     WHERE m.previous_meta_message IS NOT NULL\n       AND COALESCE(jsonb_array_length(\n             m.meta_message->'tagged_version'), 0) >\n           COALESCE(jsonb_array_length(\n             m.previous_meta_message->'tagged_version'), 0)\n  )\n  SELECT doc_id, '' AS key, value, local_time, user_id,\n         '' AS affected_user, event_type, description, version\n    FROM creation_message\n   UNION ALL\n  SELECT doc_id, '' AS key, value, local_time, user_id,\n         '' AS affected_user, event_type, description, version\n    FROM lifecycle_events l\n   WHERE l.event_type != 'Document Created'\n      OR NOT EXISTS (\n         SELECT 1\n           FROM creation_message c\n          WHERE c.doc_id = l.doc_id\n         )\n   UNION ALL\n  SELECT doc_id, '' AS key, value, local_time, user_id,\n         '' AS affected_user, event_type, description, version\n    FROM amendment_events\n)")}c.push("  SELECT * FROM "+
2084SI(e))}d=[];a["User:"]&&(e=RI(a["User:"]),d.push("(u.user_id  = "+e+" OR u.affected_user = "+e+")"));a["Dates:_start"]&&(e=RI(a["Dates:_start"]),d.push("u.local_time >= "+e+"::TIMESTAMP"));a["Dates:_end"]&&(a=RI(a["Dates:_end"]),d.push("u.local_time < "+a+"::TIMESTAMP + INTERVAL '1 day'"));return"WITH "+b.join(",\n")+",\nunioned AS (\n"+c.join("\n  UNION ALL\n")+'\n)\nSELECT io.print_id as "Student ID",\n        io.first_name || \' \' || io.last_name AS "Student Name",\n        CASE\n          WHEN iu.is_admin THEN \'Admin\'\n          WHEN iu.is_doc_only THEN \'Guardian\'\n          WHEN iu.user_name IS NULL THEN \'External\'\n          ELSE \'Standard\'\n        END AS "User Type",\n        COALESCE(iu.first_name || \' \' || iu.last_name, \'See Value\')\n          AS "User Name",\n        iu.user_name AS "User Email",\n        if.form_name AS "Form Name",\n        u.doc_id AS "Document ID",\n        u.event_type AS "Event Type",\n        TO_CHAR(u.local_time, \'YYYY-MM-DD\') AS "Date",\n        TO_CHAR(u.local_time, \'HH24:MI:SS\') AS "Time",\n        u.key AS "Field Identifier",\n        u.description AS "Description",\n        u.value AS "Value"\n  FROM unioned AS u\n  JOIN index_documents AS ixd\n       USING(doc_id)\n  LEFT JOIN index_users AS iu\n       USING(user_id)\n  JOIN index_objects AS io\n        USING(object_id)\n  JOIN index_forms AS if\n        USING(form_id)'+
2085(d.length?"\n WHERE "+d.join("\n   AND "):"")+"\n  ORDER BY if.form_name, u.doc_id, u.version DESC, u.local_time DESC"};function dJ(a,b,c){var d=Jxa("Optionally limit report output to the selected student.",!1);var e=void 0===e?-1:e;var f=null===b;c=3<=c;b=b&&b.includes(95);if(f||c&&b)0>e&&(e=a.length),a.splice(e,0,d)}function eJ(a,b,c){c=void 0===c?[]:c;for(var d=[],e=0;e<b.length;e++)if(0==c.length)d.push({text:b[e],check:!0});else{for(var f=!1,g=0;g<c.length;g++)if(b[e]==c[g]){f=!0;break}d.push({text:b[e],check:f})}return{name:a,type:"checkbox",options:d,required:!0}}
2086function fJ(a,b){return{name:a,type:"range",C:b}}function Jxa(a,b){return{name:"Student:",type:"student_search",C:a,required:b}}function gJ(){return{name:"Event Types:",type:"checkbox",options:[{text:"Edits",value:"edits",check:!0},{text:"Views",value:"views",check:!0},{text:"Permission Changes",value:"permissions",check:!0},{text:"Document Lifecycle Events",value:"doc_events",check:!0}],required:!0,C:"Include audit records for the selected event types."}}
2087function hJ(){return{name:"Acknowledgements of Receipt",N:"Acknowledgement",C:"This report helps track acknowledgements of receipt. For each requested acknowledgement, it includes information about when the acknowledgement was requested, whether the user has acknowledged the document, and when the acknowledgement of a document took place.",F:"system/acknowledgements",kd:!1,kq:49,Uf:3,inputs:function(a){for(var b=[],c=m(a.buildings),d=c.next();!d.done;d=c.next())d=d.value,b.push({text:(""!=d.name?
2088d.name:"None Assigned")+" ("+d.reporting_id+")",value:d.reporting_id,check:d.building_id?!d.inactive:!0,hidden:d.hidden});return[{name:"Building:",type:"checkbox",options:b,required:!0,Qr:"buildingCheckbox",ld:"Building Reporting Id(s)",np:!0},{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:!1},{text:"Withdrew",check:!1},{text:"Dropped Out",check:!1},{text:"Graduated",check:!1},{text:"Historical/Other",check:!1},
2089{text:"Historical/Idle",check:!1}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}
2089,eJ("Program:",a.activePrograms),eJ("Acknowledged:",["No","Yes"],["No"]),eJ("Closed:",["No","Yes"],["No"]),fJ("Notification Date:","Date a user was notified that their acknowledgement was required.")]},query:function(a){a._filter_cols=[["Closed","Closed:"],["Acknowledged","Acknowledged:"]];return V([{index_documents:[["Doc URL",
2090"'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse' || '&acknowledge=true'"]]},{index_forms:[["Form Name","form_name"]]},{index_objects_reports:[["Student Last Name","Last Name"],["Student First Name","First Name"],["Student ID"],["Grade"],["Building"]]},{acknowledgements:[["Version","version"],["Notification Date"],
2091["Sign Date"],["Acknowledged"],["Outstanding Days"],["Outstanding Days Range"],["Days to Acknowledge"],["Days to Acknowledge Range"],["Required Reason"],["Notification Caused By"],["Closed"],["Days to Close"],["Closed By"]]},{acknowledgements_users:[["User First Name","first_name"],["User Last Name","last_name"],["User Email","user_name"]]},{index_instances_reports:[["District Name"],["District Reporting ID"]]}],["Student ID","Doc URL"],a)}}}
2092function iJ(){return{name:"Document History Audit",N:"History Entry",C:"Displays audit-level information for documents.",F:"system/documentHistoryAudit",kq:89,Uf:3,inputs:function(){return[{name:"Document ID:",type:"document_id",C:"ID(s) of the document(s) for which to show history. One ID per line.",required:!0},gJ(),fJ("Dates:","Range of dates within which to include documents.")]},query:function(a){return cJ(a)}}}
2093function jJ(){return{name:"Student Document Audit",N:"History Entry",C:"Displays audit-level information for documents belonging to a student.",F:"system/studentDocumentAudit",kq:89,Uf:3,inputs:function(){return[Jxa("Student for which document history will be reported.",!0),gJ(),fJ("Dates:","Range of dates within which to include documents.")]},query:function(a){return cJ(a)}}}
2094function kJ(){return{name:"Staff Document Audit",N:"History Entry",C:"Displays audit information for documents modified by a given staff member.",F:"system/staffDocumentAudit",kq:89,Uf:3,inputs:function(){return[{name:"User:",type:"user_search",C:"User for which document history will be reported.",required:!0},gJ(),fJ("Dates:","Range of dates within which to include documents.")]},query:function(a){return cJ(a)}}};var lJ=["Special Education","RTI/MTSS","English Learners","Advanced Learners","K-4 Literacy"],mJ=VI("oh");function nJ(a,b){return{name:a+" Date:",type:"date",Pd:TI(),C:""==b?"Optional":b}}function oJ(){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"Includes data from complete/incomplete documents in SameGoal"}}
2095function Kxa(){for(var a=[],b=m(["Disability","LRE"]),c=b.next();!c.done;c=b.next())a.push({text:c.value,check:!1});return{name:"Notes:",type:"checkbox",options:a,required:!1,C:"Optional Program Participation columns"}}function pJ(a){return{name:a,type:"range",C:"Optional"}}function Lxa(){return{name:"Attachments:",type:"select",options:[{text:"With or without",check:!0},{text:"Without only"},{text:"With only"}]}}
2096function qJ(a){var b=[];a=m(a.buildings);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({text:(""!=c.name?c.name:"None Assigned")+" ("+c.reporting_id+")",value:c.reporting_id,check:c.building_id?!c.inactive:!0,hidden:c.hidden});return{name:"Building:",type:"checkbox",options:b,required:!0,Qr:"buildingCheckbox",ld:"Building Reporting Id(s)",np:!0}}
2097function rJ(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
2098function sJ(){return{name:"Student Status:",type:"checkbox",options:[{text:"Non-Deleted",check:!0},{text:"Deleted",check:!1}],required:!0,C:"Whether to display Deleted/Non-Deleted students."}}function tJ(a){return{name:a+" Cutover Date:",type:"date",C:"Include program participation records with a start date on or after this date."}}
2099function uJ(a,b){return{name:b+" Program Enrollment:",type:"checkbox",options:[{text:"Eligibility Review",check:!0},{text:"Participating",check:!0},{text:"Not Participating",check:a}],required:!0,C:"Includes students who currently have one of the checked statuses"}}
2100function vJ(){var a=new Date;a=5<a.getMonth()?a.getFullYear()+1:a.getFullYear();a%=100;return{name:"Fiscal Year:",type:"checkbox",options:[{text:"FY"+a+" (7/1/"+(a-1)+" - 6/30/"+a+")",check:!0},{text:"FY"+(a-1)+" (7/1/"+(a-2)+" - 6/30/"+(a-1)+")"},{text:"FY"+(a-2)+" (7/1/"+(a-3)+" - 6/30/"+(a-2)+")"},{text:"FY"+(a-3)+" (7/1/"+(a-4)+" - 6/30/"+(a-3)+")"},{text:"FY"+(a-4)+" (7/1/"+(a-5)+" - 6/30/"+(a-4)+")"}],required:!0}}
2101function wJ(){return{name:"Record Date:",type:"range",C:'Optional. Overrides "Fiscal Year" if set.'}}function xJ(a,b){return{name:a,type:"checkbox",options:[{text:"Valid",check:!0},{text:"Invalid",check:b}],required:!0}}function Mxa(){return{name:"Program Codes:",type:"checkbox",options:[{text:"Advanced Learners",check:!0},{text:"Reading Improvement and Monitoring Plan",check:!0},{text:"Special Education",check:!0}],required:!0,C:""}}
2102function yJ(a){for(var b=[],c=0;c<a.length;c++)b.push({text:a[c],check:!0});return{name:"Document:",type:"checkbox",options:b,required:!0}}
2103function zJ(a,b){return V([{objects_deadlines_group_name:[[a]]},{index_objects_deadlines:[["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:[["notes",a]]}],["Due"],b)}
2104function Nxa(a){var b=[{index_objects_deadlines:[["Program","group_name"],["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:lJ.map(function(c){return["notes",c]})}];return V(b,["Due"],a)}
2105var AJ=YI(mJ,"Special Education","Special Education administrative reports."),Oxa=bJ(AJ,"Deadlines","Special Education deadlines reports. These reports highlight upcoming deadlines for special programs."),BJ=bJ(AJ,"Compliance","Special Education compliance reports. The reports highlight upcoming due dates, meeting information, etc."),Pxa=bJ(AJ,"Management","Special Education management reports. These reports highlight caseload and staffing."),CJ=bJ(AJ,"Insights","Special Education insights reports. These reports surface key data and information from documents.");
2106W(CJ,{name:"IEP Graduation Test Exemptions",C:"End of course (EOC)/graduation tests students are excused from the consequences of not passing for current IEPs.",F:"insights/graduationTestExemptions",inputs:function(a){return[qJ(a),rJ(!0),vJ()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2107{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Meeting Date"],["Category"],["Course Title"],["Justification"]]}],['SG_DATE("Meeting Date")',"Category"],a)}});
2108W(CJ,{name:"IEP Third Grade Reading Guarantee (TGRG)",C:"Third Grade Reading Guarantee (TGRG) information for current IEPs in which Third Grade Reading Guarantee was documented as \u201cApplicable\u201d.",F:"insights/thirdGradeReadingGuarantee",inputs:function(a){return[qJ(a),rJ(!0),vJ()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2109{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Meeting Date"],["Significant Cognitive Disability"],["No Significant Cognitive Disability (Student Exempt)"]]}],["Meeting Date"],a)}});
2110var DJ=YI(mJ,"Section 504","Section 504 administrative reports."),EJ=YI(mJ,"Advanced Learners","Advanced Learners administrative reports."),FJ=YI(mJ,"K-4 Literacy","K-4 Literacy administrative reports."),Qxa=YI(mJ,"English Learners","English Learners administrative reports."),GJ=YI(mJ,"RTI/MTSS","Response To Intervention (RTI) administrative reports."),HJ=YI(mJ,"State Reporting","State reporting extracts.",!0);
2111W(HJ,{name:"EMIS (GE) Record",N:"GE",C:"Student Special Education (GE) Record.",F:"stateReporting/ge",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),rJ(!0),vJ(),wJ(),{name:"Data Set:",type:"select",options:[{text:"S (Student)",check:!0},{text:"F (Special Education Federal Follow Up)"}],required:!0}]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2112{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Filler1"],["GE010"],["Filler2"],["GE020"],["GE030"]]},{index_objects_reports:[["GE040","SR Building Reporting ID"],["GE050","Reporting ID"]]},{index_documents_reports:[["GE100"],["GE110"],["GE120"],["GE130"],["GE140"],["GE150"],["GE160"],["GE170"],["GE180"]]}],["GE050","GE110","GE100"],a)}});
2113W(HJ,{name:"EMIS (FE) Record",N:"FE",C:"Student Special Education Graduation Requirement (FE) Record.",F:"stateReporting/fe",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),rJ(!0),vJ(),wJ(),{name:"Data Set:",type:"select",options:[{text:"S (Student)",check:!0},{text:"G (Graduation)"}],required:!0}]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2114{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Filler1"],["FE010"],["Filler2"],["FE020"],["FE030"]]},{index_instances_reports:[["FE040","District Reporting ID"]]},{index_objects_reports:[["FE050","Reporting ID"]]},{index_documents_reports:[["FE060"],["FE070"],["FE080"],["FE090"],["FE100"],["FE110"]]}],["FE050","FE070","FE060","FE090"],a)}});
2115W(HJ,{name:"EMIS (GQ) Record",N:"GQ",C:"Student Program (GQ) Record. Includes data for Special Education, Advanced Learners, and Reading Improvement and Monitoring Plan.",F:"stateReporting/gq",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),Mxa(),rJ(!0),vJ(),wJ(),{name:"Data Set:",type:"select",options:[{text:"S (Student)",check:!0}],required:!0}]},eE:{fy_date_range:"duplicate"},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2116{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Filler1"],["GQ010"],["Filler2"],["GQ020","Fiscal Year"],["GQ030"]]},{index_objects_reports:[["GQ040","SR Building Reporting ID"],["GQ050","Reporting ID"]]},{index_documents_reports:[["GQ060"],["GQ070"],["Filler3"],["GQ090"],["GQ100","Record Date"],["GQ110","Effective End Date"]]}],["GQ050","GQ100","GQ060","GQ110"],a)}});
2117W(HJ,{name:"EMIS (FD) Record",N:"FD",C:"Student Attributes-Effective Date (FD) Record. Includes data for Special Education and Section 504. Note: For FD records that are effective across multiple fiscal years, this report will include a separate line for each fiscal year that it spans.",F:"stateReporting/fd",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),rJ(!0),vJ(),wJ(),{name:"Data Set:",type:"select",options:[{text:"S (Student)",check:!0}],required:!0},{name:"Replace Unknown Fields:",
2118type:"checkbox",options:[{text:"Using '@' character",value:"true",check:!1}],C:"Unknown Fields: FD090, FD100, FD110, FD120, FD130, FD140, FD150, FD160, FD170, FD180, FD190, FD200.",required:!1}]},eE:{fy_date_range:"duplicate"},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2119{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Filler1"],["FD010"],["Filler2"],["FD020","Fiscal Year"],["FD030"]]},{index_instances_reports:[["FD040","District Reporting ID"]]},{index_objects_reports:[["FD050","Reporting ID"]]},{index_documents_reports:[["FD060","Record Date"],["FD070"],["Filler3"],["FD090",void 0,"@@"],["FD100",void 0,"@@"],["FD110",void 0,"@"],["FD120",void 0,"@"],["FD130"],["FD140",void 0,"@"],["FD150",void 0,"@"],["FD160",void 0,
2120"@"],["FD170",void 0,"@"],["FD180",void 0,"@"],["FD190",void 0,"@"],["FD200",void 0,"@"]]}],["FD050","FD060","FD130"],a)}});
2121W(HJ,{name:"EMIS (FD) Changes Record",N:"FD",C:"Student Attributes-Effective Date (FD) Record. Includes data for Special Education and Section 504. Note: For FD records that are effective across multiple fiscal years, this report will include a single line for each change to an FD data element.",F:"stateReporting/fdChanges",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),rJ(!0),vJ(),wJ(),pJ("FD060:"),{name:"Data Set:",type:"select",options:[{text:"S (Student)",check:!0}],required:!0},
2122{name:"Replace Unknown Fields:",type:"checkbox",options:[{text:"Using '@' character",value:"true",check:!1}],C:"Unknown Fields: FD090, FD100, FD110, FD120, FD130, FD140, FD150, FD160, FD170, FD180, FD190, FD200.",required:!1}]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2123{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Filler1"],["FD010"],["Filler2"],["FD020"],["FD030"]]},{index_instances_reports:[["FD040","District Reporting ID"]]},{index_objects_reports:[["FD050","Reporting ID"]]},{index_documents_reports:[["FD060"],["FD070"],["Filler3"],["FD090",void 0,"@@"],["FD100",void 0,"@@"],["FD110",void 0,"@"],["FD120",void 0,"@"],["FD130"],["FD140",void 0,"@"],["FD150",void 0,"@"],["FD160",void 0,"@"],["FD170",void 0,"@"],
2124["FD180",void 0,"@"],["FD190",void 0,"@"],["FD200",void 0,"@"]]}],["FD050","FD060","FD130"],a)}});
2125W(HJ,{name:"EMIS (GG) Record",N:"GG",C:"Student Gifted Education (GG) Record. Includes data from the Gifted Profile.",F:"stateReporting/gg",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),Mxa(),rJ(!0),vJ(),wJ(),{name:"Data Set:",type:"select",options:[{text:"S (Student)",check:!0}],required:!0}]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
2126["Last Name"],["First Name"]]},{index_documents_reports:[["Filler1"],["GG010"],["Filler2"],["GG020"]
2126,["GG030"]]},{index_objects_reports:[["GG040","SR Building Reporting ID"],["GG050","Reporting ID"]]},{index_documents_reports:[["GG055"],["GG060"],["GG070"],["GG080"],["GG090"],["GG100"],["GG110"],["GG120"],["GG130"],["GG140"],["GG150"],["GG160"],["GG170"],["GG180"],["GG190"],["GG200"],["GG210"],["GG220"],["GG230"],["GG240"],["GG250"],["GG260"],["GG430"],["GG440"],["GG450"],["GG460"],["GG470"],["GG480"],
2127["GG490"],["GG510"],["GG520"],["GG530"],["GG540"],["GG550"],["GG560"],["GG570"]]}],["GG050"],a)}});
2128W(HJ,{name:"EMIS (FB) Record",N:"FB",C:"Student Acceleration (FB) Record. Includes data from the Written Acceleration Plan.",F:"stateReporting/fb",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),rJ(!0),vJ(),{name:"Data Set:",type:"select",options:[{text:"S (Student)",check:!0}],required:!0}]},eE:{fy_date_range:"duplicate"},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
2129["Last Name"],["First Name"]]},{index_documents_reports:[["Filler1"],["FB010"],["Filler2"],["FB020","Fiscal Year"],["FB030"]]},{index_objects_reports:[["FB040","SR Building Reporting ID"],["FB050","Reporting ID"]]},{index_documents_reports:[["FB060"],["Filler3"],["Filler4"],["FB100"]]}],["FB050","FB060"],a)}});
2130W(HJ,{name:"Ohio Statewide Assessments Pre-Identification File",N:"Ohio PreID",C:"Statewide assessments information, primarily used in integration with student information systems.",F:"stateReporting/ohioPreId",fixed:!0,inputs:function(a){return[xJ("Record Types:",!0),qJ(a),rJ(!0),vJ(),nJ("Effective","")]},eE:{fy_date_range:"single"},query:function(a){return V([{index_documents_reports:[["Filler1"]]},{index_objects_reports:[["Student ID"]]},{index_documents_reports:[["Filler2"],["EL"],["Filler3"],
2131["504"],["IEP"],["Primary Disability"],["Accommodations: ELA"],["Accommodations: Mathematics"],["Accommodations: Science"],["Accommodations: Social Studies"],["Filler4"],["AASCD"],["OST and AASCD Test Mode: ELA"],["OST and AASCD Test Mode: Math"],["OST and AASCD Test Mode: Science"],["AASCD Test Mode: Social Studies"],["Filler5"]]}],["Student ID"],a)}});
2132W(Pxa,{name:"ETR Caseload",N:"ETR Default",C:"The lead for current ETRs.",F:"insights/etrCaseload",inputs:function(a){return[oJ(),qJ(a),nJ("ETR Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),Lxa(),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2133{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Evaluation Type"],["Meeting Date"],["Last ETR Date"],["Referral Date"],["Consent Date"]]}],["Lead Last","Lead First","Student ID"],a)}});
2134W(BJ,{name:"ETR Meeting Dates",N:"ETR Default",C:"ETR meeting information for current ETRs.",F:"compliance/meetingDates",inputs:function(a){return[oJ(),qJ(a),nJ("ETR Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),Lxa(),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2135{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Last ETR Date"],["Referral Date"],["Consent Date"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2136W(CJ,{name:"ETR Differing Districts",C:'Current ETRs which have a different "District of Service" and "District of Residence".',F:"insights/differingDistricts",inputs:function(a){return[oJ(),qJ(a),nJ("ETR Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2137{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["District of Residence"],["District of Service"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2138W(BJ,{name:"ETR Non Compliance",C:"Current ETRs with a Non Compliance Id (01-09).",F:"compliance/nonCompliance",input
2138s:function(a){return[oJ(),qJ(a),nJ("ETR Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2139{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Non Compliance ID"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2140W(CJ,{name:"ETR Disability",N:"ETR Default",C:"Disability information for current ETRs.",F:"insights/disability",inputs:function(a){return[oJ(),qJ(a),nJ("ETR Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2141{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Disability"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2142W(Pxa,{name:"IEP/SP Caseload",N:"IEP/SP Default",C:"The lead for current IEPs/SPs.",F:"management/iepSPCaseload",inputs:function(a){return[yJ(["IEP","SP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2143{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["ETR Completion Date"],["Next ETR Due Date"],["Effective Start"],["Effective End"],["Next IEP/SP Review Date"],["IEP by third birthday"],["Will be fourteen"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
2144W(BJ,{name:"IEP/SP Meeting Dates",C:"IEP/SP meeting information for current IEPs/SP. Due dates shown are pulled directly from IEP/SPs and may not match calculated deadlines.",F:"compliance/iepSPMeetingDates",inputs:function(a){return[yJ(["IEP","SP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2145{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["ETR Completion Date"],["Next ETR Due Date"],["Effective Start"],["Effective End"],["Next IEP/SP Review Date"],["IEP by third birthday"],["Scholarship"],["Will be fourteen"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2146W(CJ,{name:"IEP/SP Differing Districts",C:'Current IEPs/SPs which have a different "District of Service" and "District of Residence".',F:"insights/iepSPDifferingDistricts",inputs:function(a){return[yJ(["IEP","SP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2147{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Effective Start"],["Effective End"],["District of Residence"],["District of Service"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2148W(BJ,{name:"IEP/SP Non Compliance",N:"IEP/SP Default",C:"Current IEPs/SPs with a Non Compliance Id (01-09).",F:"compliance/iepSPNonCompl
2148iance",inputs:function(a){return[yJ(["IEP","SP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2149{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Effective Start"],["Effective End"],["Non Compliance ID"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2150W(CJ,{name:"IEP by Third Birthday",N:"IEP/SP Default",C:"IEP by third birthday information for current IEPs.",F:"insights/iepByThirdBirthday",inputs:function(a){return[oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2151{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["IEP by third birthday"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2152W(CJ,{name:"IEP Transportation",N:"IEP/SP Default",C:"Transportation information for current IEPs. This section not included on SPs.",F:"insights/iepTransportation",inputs:function(a){return[oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2153{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Requires Special Transportation"],["Requires Transportation To/From Services"],["Requires Transportation Accommodations"],["Accommodations"],["Other Accommodations"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2154W(CJ,{name:"IEP Special Instructional Factors",N:"IEP/SP Default",C:"Special instructional factors for current IEPs. This section not included on SPs.",F:"insights/iepSPInstructionalFactors",inputs:function(a){return[oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2155{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Behavior Which Impedes Learning"],["LEP"],["Blind or Visually Impaired"],["Communication Needs"],["Needs Assistive Technology"],["Requires Specially Designed Physical Education"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2156W(CJ,{name:"IEP/SP Goals",C:"Goals for current IEPs/SPs.",F:"insights/iepSPGoals",inputs:function(a){return[yJ(["IEP","SP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2157{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Next IEP/SP Review Date"],["Effective Start"],["Effective End"],["Goal Number"],["Goal Area"],["Goal Text"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID","Goal Number"],a)}});
2158W(CJ,{name:"IEP/SP Specially Designed Services",C:"Specially Designed Services for current IEPs/SPs.",F:"insights/iepSPSpeciallyDesignedServices",inputs:function(a){return[yJ(["IEP","SP"]),{name:"Specially Designed Services:",type:"checkbox",options:[{text:"Instruction",check:!0},{text:"Related Services"},{text:"Assistive Technology"},{text:"Accommodations"},{text:"Modifications"},{text:"School Personnel"},{text:"Medical"}]},oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),
2159rJ(!1),uJ(!0,"Special Education"),Kxa()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],
2160["Effective End"],["Type of Service"],["Goals Addressed"],["Provider Title"],["Location"],["Amount of Time"],["Frequency"],["Service Code"],["Service Begin"],["Service End"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID","SG_DATE('Effective Start')"],a)}});
2161W(CJ,{name:"IEP Extended School Year Services",N:"IEP/SP Default",C:"ESY information for current IEPs. This section not included on SPs.",F:"insights/iepSPExtendedSchoolYearServices",inputs:function(a){return[yJ(["IEP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2162{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["ESY Services"],["Meet Again"],["Goals Determined the Need"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2163W(CJ,{name:"IEP Least Restrictive Environment",N:"IEP/SP Default",C:"LRE information for current IEPs. This section not included on SPs.",F:"insights/iepLeastRestrictiveEnvironment",inputs:function(a){return[yJ(["IEP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2164{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Outcome"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2165W(CJ,{name:"IEP/SP Testing",C:"Testing information for current IEPs/SPs.",F:"insights/iepSPTesting",inputs:function(a){return[yJ(["IEP","SP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2166{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Participate w/Acc"],["Alt Assmt"],["Alt Assmt Justify"],["Dist ELA Title"],["Dist ELA Detail"],["Dist Reading Title"],["Dist Reading Detail"],["Dist Writing Title"],["Dist Writing Detail"],["Dist Math Title"],["Dist Math Detail"],["Dist Science Title"],["Dist Science Detail"],["Dist Social Studies Title"],["Dist Social Studies Detail"],
2167["Dist Other Title"],["Dist Other Detail"],["State ELA Title"],["State ELA Detail"],["State Reading Title"],["State Reading Detail"],["State Writing Title"],["State Writing Detail"],["State Math Title"],["State Math Detail"],["State Science Title"],["State Science Detail"],["State Social Studies Title"],["State Social Studies Detail"],["State Other Title"],["State Other Detail"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',
2168"Student ID"],a)}});
2169W(CJ,{name:"Alternate Assessment Participation",C:"[IEP  Section 12] Student participation in alternate assessments",F:"insights/alternateAssessmentTesting",inputs:function(a){return[oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
2170["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Participating in Alternate Assessment"]]}],["Student ID"],a)}});
2171W(CJ,{name:"State Testing Requirements",C:"[IEP Section 12] State Testing Requirements",F:"insights/stateTestingRequirements",inputs:function(){return[oJ(),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_documents_reports:[["Meeting Date"],
2172["Effective Start"],["Effective End"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Subject"],["Assessment Title"],["Alternate Assessment"]]}],["Student ID"],a)}});
2173W(CJ,{name:"District Testing Requirements",C:"[IEP Section 12] District Testing Requirements",F:"insights/districtTestingRequirements",inputs:function(){return[oJ(),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2174{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Subject"],["Assessment Title"],["Alternate Assessment"]]}],["Student ID"],a)}});
2175W(CJ,{name:"State Testing Accommodations",C:"[IEP Section 12] State Testing Accommodations",F:"insights/stateTestingAccommodations",inputs:function(){return[oJ(),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2176{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Subject"],["Assessment Title"],["Alternate Assessment"],["Accommodations"]]}],["Student ID"],a)}});
2177W(CJ,{name:"District Testing Accommodations",C:"[IEP Section 12] District Testing Accommodations",F:"insights/districtTestingAccommodations",inputs:function(){return[oJ(),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2178{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Subject"],["Assessment Title"],["Alternate Assessment"],["Accommodations"]]}],["Student ID"],a)}});
2179W(CJ,{name:"IEP Medicaid: District Roster",N:"IEP/SP Default",C:"District roster information for IEPs.",F:"insights/iepSPMedicaidDistrictRoster",input
2179s:function(a){return[yJ(["IEP"]),oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2180{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Date of Birth"],["Street"],["City"],["State"],["Zip"],["Grade"],["Building"],["Building Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2181W(CJ,{name:"Child Outcome Summary",N:"Child Outcomes Summary Form Default",C:"Child Outcome Summary form data (selected fiscal year).",F:"insights/childOutcomeSummary",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),vJ()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2182{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Date of Birth"]]},{index_documents_reports:[["Completion Date"],["Age"],["Summary Type"],["Entry Date"],["Exit Date"],["1a Statement"],["1a"],["1b"],["2a Statement"],["2a"],["2b"],["3a Statement"],["3a"],["3b"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["SG_DATE('Completion Date')","Student ID"],a)}});
2183W(CJ,{name:"Manifestation Determination Review",N:"Manifestation Determination Review Default",C:"This report shows Manifestation Determination Reviews having a date within a given timeframe (within last 90 days of today by default).",F:"insights/manifestationDeterminationReview",inputs:function(a){return[oJ(),qJ(a),nJ("MDR Review","Review within the last 90 days"),pJ("Review Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2184{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Date of Birth"]]},{index_documents_reports:[["Review Date"],["Disability"],["Behavior"],["Reviewed File/IEP"],["Reviewed Parent/Teacher Observations"],["Conduct Caused by Disability"],["Conduct Result of Failure to Implement IEP"],["Behavior (Was / Was not) Manifestation of Disability"],["Report SEMD Event to EMIS"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["SG_DATE('Review Date')",
2185"Student ID"],a)}});
2186W(CJ,{name:"Determination of Suspected Disability",C:"This report documents the number of suspected disability meetings and the outcome of those meetings.",F:"insights/determinationSuspectedDisability",inputs:function(a){return[oJ(),qJ(a),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
2187"last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Disability Determination"],["Parental Agreement/Disagreement"]]}],["SG_DATE('Meeting')","Student ID"],a)}});
2188W(CJ,{name:"Special Education Overview",N:"IEP Overview",C:"This report documents key fields such as disability, LRE, ESY needs, and related services from completed IEPs and the most-recent completed ETR preceding the IEP.",F:"insights/spedOverview",inputs:function(a){return[qJ(a),nJ("IEP Effective",""),pJ("Meeting Date:"),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2189{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Grade"],["Building"]]},{index_documents_reports:[["Most-Recent ETR Meeting Date"],["ETR Meeting Date Determined From"],["Disability"],["Meeting Date"],["Meeting Type"],["Effective Start"],["Effective End"],["LRE"],["Related Service Code"],["Related Service Type"],["Related Service Start Date"],["Related Service End Date"],["Needs ESY"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},
2190{index_documents_reports:[["IEP District Representative"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});W(Oxa,{name:"Special Education Deadlines",C:"A list of all special education deadlines in your district.",F:"specialEducation/deadlines",inputs:function(a){return[qJ(a),rJ(!1),Kxa(),pJ("Due:")]},query:function(a){return zJ("Special Education",a)}});
2191W(BJ,{name:"Indicator 11: Child Find",C:"This report shows initial ETRs having a consent date within a given timeframe (within 60 days of today by default).",F:"compliance/indicator11ChildFind",inputs:function(a){return[oJ(),qJ(a),nJ("ETR Consent","Consent received within the last 60 days"),pJ("Consent Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2192{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Consent Date"],["Meeting Date"],["Evaluation Type"],["Consent Outcome"],["Non Compliance ID"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["SG_DATE('Consent Date')","Student ID"],a)}});
2193W(BJ,{name:"Indicator 13: Transition in the IEP",N:"IEP/SP Indicator 13",C:"This report shows IEP transition information for students that will be 14 before the end of the IEP.",F:"compliance/indicator13Transition",inputs:function(a){return[oJ(),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2194{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Date of Birth"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Effective Start"],["Effective End"],["Will be fourteen"],["Secondary Planning"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2195W(DJ,{name:"504 Plan Details",N:"Section 504 Plan Default",C:"504 Plan details for current 504 plans.",F:"section504/planDetails",inputs:function(a){return[oJ(),qJ(a),nJ("Section 504: Plan Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Section 504"),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2196{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Date of Birth"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Last Evaluation"],["Next Evaluation"],["Effective Start"],["Effective End"],["Next Review"],["Nature of Disability"],["Basis for Disability"],["Affects on Major Life Activities"],["Impact of the Disability"],["How Staff Made Aware"],["How Plan Will Be Monitored"],["Person Responsible"]]},{index_users:[["Lead Last","last_name"],
2197["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2198W(DJ,{name:"504 Plan Accommodations",N:"Section 504 Plan Accommodations",C:"504 Plan accommodations for current 504 plans.",F:"section504/planAccomodations",inputs:function(a){return[oJ(),qJ(a),nJ("Section 504: Plan Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Section 504"),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
2199["First Name"],["Student ID"],["Date of Birth"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Begin Date"],["Limitation"],["Accommodations"],["Person(s) Responsible"],["Location"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2200W(DJ,{name:"504 Testing",N:"Section 504 Plan Default",C:"504 Plan testing information for current 504 plans.",F:"section504/planTesting",inputs:function(a){return[oJ(),qJ(a),nJ("Section 504: Plan Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Section 504"),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2201{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["With Accommodations"],["Reading Grade"],["Reading Accommodations"],["Reading Details"],["Writing Grade"],["Writing Accommodations"],["Writing Details"],["Math Grade"],["Math Accommodations"],["Math Details"],["Science Grade"],["Science Accommodations"],["Science Details"],["Social Studies Grade"],["Social Studies Accommodations"],
2202["Social Studies Details"],["Other Grade"],["Other Accommodations"],["Other Details"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});W(EJ,{name:"Advanced Learners Deadlines",C:"A list of all advanced learners deadlines in your district.",F:"gifted/deadlines",inputs:function(a){return[qJ(a),rJ(!1),pJ("Due:")]},query:function(a){return zJ("Advanced Learners",a)}});
2203W(EJ,{name:"WEP Details",N:"Written Education Plan Default",C:"Details for current Written Education Plans.",F:"gifted/wepDetail
2203s",inputs:function(a){return[oJ(),qJ(a),nJ("WEP Effective",""),pJ("Meeting Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2204{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Effective Start"],["Effective End"],["Next Review Date"],["Student Has WAP"],["Target Graduation Date"],["Areas of Identification"],["Present Levels"],["Superior Cognitive Ability (ID Date)"],["Creative Thinking Ability (ID Date)"],["Specific Academic Ability"],["Reading/ Writing/ Combination (ID Date)"],["Mathematics (ID Date)"],["Science (ID Date)"],
2205["Social Studies (ID Date)"],["Visual Performing Arts"],["Drama/Theater (ID Date)"],["Dance (ID Date)"],["Music (ID Date)"],["Visual Arts (ID Date)"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2206W(EJ,{name:"WAP Details",N:"Written Acceleration Plan Default",C:"Details for current Written Acceleration Plans.",F:"gifted/wapDetails",inputs:function(a){return[oJ(),qJ(a),nJ("WAP Effective",""),pJ("Transition Start:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2207{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Transition Start"],["Transition End"],["Acceleration Type"],["Subject"],["Grade (from-to)"],["From Grade/Subject"],["From Teacher"],["From Building"],["To Grade/Subject"],["To Teacher"],["To Building"],["Transition Strategies"],["Continuing Strategies"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["SG_DATE('Transition Start')",
2208"Student ID"],a)}});
2209W(EJ,{name:"Written Education Plan Bulk Creation",N:"WEP Loader Template",C:"Pulls identification dates from students' most recent Gifted Profile into a report that matches the template for the KPD:Written Education Plan (rev 10/2025) data loader.",F:"gifted/wepBulkCreation",inputs:function(a){return[qJ(a),rJ(!1),uJ(!1,"Advanced Learners")]},query:function(a){return V([{index_objects_reports:[["Last Name"],["First Name"],["Date of Birth"],["Grade"],["Gender"],["Student ID"]]},{index_documents_reports:[["WEP Date"],
2210["Effective Start"],["Effective End"],["Date of Next Review"],["Plan Type"],["Case Manager"],["Superior Cognitive Ability ID Date"],["Cognitive Goal"],["Cognitive Content Areas"],["Cognitive Ohio Learning Standard"],["Cognitive Service Setting/EMIS"],["Cognitive Service Personnel"],["Cognitive Service Personnel Role"],["Cognitive Explanation"],["Cognitive Progress Measures"],["Cognitive Progress Schedule"],["Cognitive Policy for Waiving Assignments/Tests"],["Creative Thinking Ability ID Date"],["Creative Goal"],
2211["Creative Content Areas"],["Creative Ohio Learning Standard"],["Creative Service Setting/EMIS"],["Creative Service Personnel"],["Creative Service Personnel Role"],["Creative Explanation"],["Creative Progress Measures"],["Creative Progress Schedule"],["Creative Policy for Waiving Assignments/Tests"],["Reading/Writing/Combination ID Date"],["Reading/Writing Goal"],["Reading/Writing Content Areas"],["Reading/Writing Ohio Learning Standard"],["Reading/Writing Service Setting/EMIS"],["Reading/Writing Service Personnel"],
2212["Reading/Writing Service Personnel Role"],["Reading/Writing Explanation"],["Reading/Writing Progress Measures"],["Reading/Writing Progress Schedule"],["Reading/Writing Policy for Waiving Assignments/Tests"],["Mathematics ID Date"],["Mathematics Goal"],["Mathematics Content Areas"],["Mathematics Ohio Learning Standard"],["Mathematics Service Setting/EMIS"],["Mathematics Service Personnel"],["Mathematics Service Personnel Role"],["Mathematics Explanation"],["Mathematics Progress Measures"],["Mathematics Progress Schedule"],
2213["Mathematics Policy for Waiving Assignments/Tests"],["Science ID Date"],["Science Goal"],["Science Content Areas"],["Science Ohio Learning Standard"],["Science Service Setting/EMIS"],["Science Service Personnel"],["Science Service Personnel Role"],["Science Explanation"],["Science Progress Measures"],["Science Progress Schedule"],["Science Policy for Waiving Assignments/Tests"],["S
2213ocial Studies ID Date"],["Social Studies Goal"],["Social Studies Content Areas"],["Social Studies Ohio Learning Standard"],
2214["Social Studies Service Setting/EMIS"],["Social Studies Service Personnel"],["Social Studies Service Personnel Role"],["Social Studies Explanation"],["Social Studies Progress Measures"],["Social Studies Progress Schedule"],["Social Studies Policy for Waiving Assignments/Tests"],["Dance ID Date"],["Dance Goal"],["Dance Content Areas"],["Dance Ohio Learning Standard"],["Dance Service Setting/EMIS"],["Dance Service Personnel"],["Dance Service Personnel Role"],["Dance Explanation"],["Dance Progress Measures"],
2215["Dance Progress Schedule"],["Dance Policy for Waiving Assignments/Tests"],["Music ID Date"],["Music Goal"],["Music Content Areas"],["Music Ohio Learning Standard"],["Music Service Setting/EMIS"],["Music Service Personnel"],["Music Service Personnel Role"],["Music Explanation"],["Music Progress Measures"],["Music Progress Schedule"],["Music Policy for Waiving Assignments/Tests"],["Theater ID Date"],["Theater Goal"],["Theater Content Areas"],["Theater Ohio Learning Standard"],["Theater Service Setting/EMIS"],
2216["Theater Service Personnel"],["Theater Service Personnel Role"],["Theater Explanation"],["Theater Progress Measures"],["Theater Progress Schedule"],["Theater Policy for Waiving Assignments/Tests"],["Visual Arts ID Date"],["Visual Arts Goal"],["Visual Arts Content Areas"],["Visual Arts Ohio Learning Standard"],["Visual Arts Service Setting/EMIS"],["Visual Arts Service Personnel"],["Visual Arts Service Personnel Role"],["Visual Arts Explanation"],["Visual Arts Progress Measures"],["Visual Arts Progress Schedule"],
2217["Visual Arts Policy for Waiving Assignments/Tests"]]}],["Student ID"],a)}});
2218W(EJ,{name:"WEP Goals",N:"WEP Goals",C:"Pulls goals from student WEPs into a report that matches the template for the Other: WEP Goals data loader.",F:"gifted/wepGoals",inputs:function(a){return[qJ(a),rJ(!1),uJ(!1,"Advanced Learners"),pJ("WEP Date:")]},query:function(a){return V([{index_objects_reports:[["Last Name"],["First Name"],["Date of Birth"],["Grade"],["Gender"],["Student ID"]]},{index_documents_reports:[["WEP Date"],["Area of identification"],["Specific Academic Ability Area"],["Visual Performing Arts Area"],
2219["Goal"],["Content Areas"],["Ohio Learning Standard"],["Setting"],["Personnel Responsible"],["Personnel Role"],["Explanation"],["Progress Measures"],["Schedule for Reporting Progress"],["Policy for Waiving Assignments and Tests"]]}],["Student ID"],a)}});
2220W(EJ,{name:"Gifted Profile",N:"Gifted Profile Default",C:"Information from the Gifted Profile. This report matches the template for the KPD: Gifted Profile (rev 01/2026) data loader.",F:"gifted/giftedProfile",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2221{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Referral Date"],["Completed Date"],["Cognitive Ability Screened"],["Cognitive Ability Assessed"],["Cognitive Ability Identified"],["Superior Cognitive Ability ID Date"],["Math Screened"],["Math Assessed"],["Math Identified"],["Mathematics ID Date"],["Science Screened"],["Science Assessed"],["Science Identified"],["Science ID Date"],["Social Studies Screened"],["Social Studies Assessed"],
2222["Social Studies Identified"],["Social Studies ID Date"],["Reading/Writing/Combination Screened"],["Reading/Writing/Combination Assessed"],["Reading/Writing/Combination Identified"],["Reading/Writing/Combination ID Date"],["Dance Screened"],["Dance Assessed"],["Dance Identified"],["Dance ID Date"],["Music Screened"],["Music Assessed"],["Music Identified"],["Music ID Date"],["Theater Screened"],["Theater Assessed"],["Theater Identified"],["Theater ID Date"],["Visual Arts Screened"],["Visual Arts Assessed"],
2223["Visual Arts Identified"],["Visual Arts ID Date"],["Creative Thinking Screened"],["Creative Thinking Assessed"],["Creative Thinking Identified"],["Creative Thinking Ability ID Date"]]},{index_users:[["Case Manager","user_name"]]}],["SG_DATE('Referral Date')","Student ID"],a)}});
2224W(EJ,{name:"Testing Data: Achievement Scores",C:"Achievement scores testing information.",F:"gifted/testingDataAchievementScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2225{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Test"],["Setting"],["Grade (Achievement)","Grade"],["Reading"],["Language"],["Math"],["Science"],["Social Studies"],["Core"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2226W(EJ,{name:"Testing Data: Cognitive Scores",C:"Cognitive scores testing information.",F:"gifted/testingDataCognitiveScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2227{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Test"],["Setting"],["Grade (Cognitive)","Grade"],["CSI"],["Verbal"],["Non-Verbal"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2228W(EJ,{name:"Testing Data: NWEA MAP Scores",C:"NWEA MAP scores testing information.",F:"gifted/testingDataNWEAMapScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2229{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Test"],["Term"],["Grade (NWEA MAP Scores)","Grade"],["RIT"],["Lexile"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2230W(EJ,{name:"Testing Data: ACT/Explore/Aspire Scores",C:"ACT/Explore/Aspire scores testing information.",F:"gifted/testingDataACTExploreAspireScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2231{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Test"],["English Sub Sc."],["English %tile"],["Math Sub Sc."],["Math %tile"],["Reading Sub Sc."],["Reading %tile"],["Science Sub Sc."],["Science %tile"],["Composite Sub Sc."],["Composite %tile"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2232W(EJ,{name:"Testing Data: SAT/PSAT Scores",C:"SAT/PSAT scores testing information.",F:"gifted/testingDataSATPSATScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2233{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Test"],["Reading"],["Math"],["Writing"],["Composite"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2234W(EJ,{name:"Testing Data: Ohio Achievement Assessment Scores",C:"Ohio Achievement Assessment scores testing information.",F:"gifted/testingDataOhioAchievementScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2235{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Reading"],["Math"],["Science"],["Social Studies"],["Other"],["Other Category"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2236W(EJ,{name:"Testing Data: Ohio Graduation Scores",C:"Ohio Achievement Assessment scores testing information.",F:"gifted/testingDataOhioGraduationScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2237{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Reading"],["Math"],["Science"],["Social Studies"],["Other"],["Other Category"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2238W(EJ,{name:"Testing Data: Misc. Test Scores",C:"Miscellaneous test scores information.",F:"gifted/testingDataMiscScores",inputs:function(a){return[oJ(),qJ(a),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"Advanced Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2239{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Date"],["Test"],["Col 1"],["Col 1 Score"],["Col 2"],["Col 2 Score"],["Col 3"],["Col 3 Score"],["Col 4"],["Col 4 Score"],["Col 5"],["Col 5 Score"],["Col 6"],["Col 6 Score"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Date')"],a)}});
2240W(FJ,{name:"K-4 Literacy Deadlines",C:"A list of all K-4 literacy deadlines in your district.",F:"tgrg/deadlines",inputs:function(a){return[qJ(a),rJ(!1),pJ("Due:")]},query:function(a){return zJ("K-4 Literacy",a)}});
2241W(FJ,{name:"RIMP Details",N:"RIMP Default",C:"Details for Reading and Improvement Monitoring Plans.",F:"tgrg/detail
2241sRIMP",inputs:function(a){return[oJ(),qJ(a),nJ("RIMP Effective",""),pJ("RIMP Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"K-4 Literacy")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2242{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["RIMP Date"],["School Year"],["Start Date"],["End Date"],["Referral Date"],["Grade Level(s) Retained"],["Grade Level(s) on RIMP"],["Exempt from Retention"],["Status (gr. K)"],["Status (gr. 1)"],["Status (gr. 2)"],["Status (gr. 3)"],["Status (gr. 4)"],["Referred for Evaluation"],["Results of Interventions"],["End of Year Status"],["Parent Comments"],["Reading Intervention Description"],
2243["Reading Intervention Impact"],["Reading Intervention Provider"],["Reading Intervention Start"],["Reading Intervention End"],["Small Group Intervention Description"],["Small Group Intervention Impact"],["Small Group Intervention Provider"],["Small Group Intervention Start"],["Small Group Intervention End"],["Reduced Ratios Intervention Description"],["Reduced Ratios Intervention Impact"],["Reduced Ratios Intervention Provider"],["Reduced Ratios Intervention Start"],["Reduced Ratios Intervention End"],
2244["Extended School Day Intervention Description"],["Extended School Day Intervention Impact"],["Extended School Day Intervention Provider"],["Extended School Day Intervention Start"],["Extended School Day Intervention End"],["Tutoring Intervention Description"],["Tutoring Intervention Impact"],["Tutoring Intervention Provider"],["Tutoring Intervention Start"],["Tutoring Intervention End"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID",
2245"SG_DATE('RIMP Date')"],a)}});
2246W(FJ,{name:"RIMP Details (Fall 2016)",N:"RIMP (Fall 2016) Default",C:"Details for Reading and Improvement Monitoring Plans (Fall 2016).",F:"tgrg/detailsRIMP2016",inputs:function(a){return[oJ(),qJ(a),nJ("RIMP Effective",""),pJ("RIMP Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"K-4 Literacy")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
2247["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["RIMP Date"],["School Year"],["Start Date"],["End Date"],["Grade Level(s) on RIMP"],["Exempt from Retention"],["Status (gr. K)"],["Status (gr. 1)"],["Status (gr. 2)"],["Status (gr. 3)"],["Status (gr. 4)"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('RIMP Date')"],a)}});
2248W(FJ,{name:"RIMP Instructional Focus",N:"RIMP (Fall 2016) Instructional Focus",C:"One row for each reading component included in Part B of current Fall 2016 RIMPs.",F:"tgrg/instructionalFocusRIMP",inputs:function(a){return[oJ(),qJ(a),nJ("RIMP Effective",""),pJ("RIMP Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"K-4 Literacy")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2249{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["RIMP Date"],["School Year"],["Start Date"],["End Date"],["Grade Level(s) on RIMP"],["Exempt from Retention"],["Status (gr. K)"],["Status (gr. 1)"],["Status (gr. 2)"],["Status (gr. 3)"],["Status (gr. 4)"],["Area of Instructional Focus"],["Instru
2249ctor"],["Progress Monitoring Tool"],["Progress Monitoring Frequency"],["Instructional Setting"],["Dates of Intervention"],["Evidence-Based Strategy"],
2250["Frequency and Duration"],["Decision Making Rule"],["Changes in Instruction/Intervention"],["Impact of Intervention"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('RIMP Date')"],a)}});
2251W(FJ,{name:"RIMP Program Participation",N:"RIMP (Fall 2016) Program Participation",C:"One row for each program included in Part C of current Fall 2016 RIMPs.",F:"tgrg/programParticipationRIMP",inputs:function(a){return[oJ(),qJ(a),nJ("RIMP Effective",""),pJ("RIMP Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"K-4 Literacy")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2252{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["RIMP Date"],["School Year"],["Start Date"],["End Date"],["Program Code"],["Program Start Date"],["Program End Date"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('RIMP Date')"],a)}});
2253W(FJ,{name:"RIMP Details (after Fall 2024)",N:"RIMP (Fall 2024) Default",C:"Details for Reading and Improvement Monitoring Plans. Includes information such as key dates and test results from the following RIMP versions: Reading Improvement and Monitoring Plan (Fall 2024), Reading Improvement and Monitoring Plan (K-3), and Reading Improvement and Monitoring Plan (4-9).",F:"tgrg/detailsRIMP2024",inputs:function(a){return[oJ(),qJ(a),pJ("RIMP Date:"),xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),
2254uJ(!0,"K-4 Literacy")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["RIMP Date"],["Start Date"],["Follow-up Date"],["Grade Level(s) on RIMP"],
2255["Beginning of Year Student Score"],["Middle of Year Student Score"],["End of Year Student Score"],["Tier 1 Dyslexia Screening Assessment Results"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('RIMP Date')"],a)}});
2256W(FJ,{name:"RIMP Intervention Codes (after Fall 2024)",N:"RIMP (Fall 2024) Intervention Codes",C:"Instructional supports and their corresponding RIMP intervention code for Reading and Improvement Monitoring Plans. Includes information from the following RIMP versions: Reading Improvement and Monitoring Plan (Fall 2024), Reading Improvement and Monitoring Plan (K-3), and Reading Improvement and Monitoring Plan (4-9).",F:"tgrg/interventionCodesRIMP2024",inputs:function(a){return[oJ(),qJ(a),pJ("RIMP Date:"),
2257xJ("Dates:",!1),rJ(!1),uJ(!0,"Special Education"),uJ(!0,"K-4 Literacy")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["RIMP Date"],
2258["Instructional Support"],["RIMP Intervention Code"],["Number of Days Per Week"],["Number of Minutes per Day"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('RIMP Date')"],a)}});W(Qxa,{name:"English Learners Deadlines",C:"A list of all english learners deadlines in your district.",F:"el/deadlines",inputs:function(a){return[qJ(a),rJ(!1),pJ("Due:")]},query:function(a){return zJ("English Learners",a)}});
2259W(Qxa,{name:"English Learner Plan Details",N:"ELP Details",C:"Details for English Learner Plan (rev 04/2023).",F:"el/englishLearnerPlanDetails",inputs:function(a){return[oJ(),qJ(a),pJ("Plan Date:"),xJ("Dates:",!1),rJ(!1),uJ(!1,"English Learners")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2260{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Plan Date"],["Plan Type"],["Home Language"],["Native Language"],["Years in U.S. Schools"],["IEP"],["504"],["Gifted/Talented"],["OELPS Date"],["OELPS Listening Level"],["OELPS Reading Level"],["OELPS Speaking Level"],["OELPS Writing Level"],["OELPS Proficiency Status"],["OELPA Date"],["OELPA Listening Level"],["OELPA Reading Level"],["OELPA Speaking Level"],["OELPA Writing Level"],
2261["OELPA Proficiency Status"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]}],["Student ID","SG_DATE('Plan Date')"],a)}});W(GJ,{name:"RTI/MTSS Deadlines",C:"A list of all Response to Intervention deadlines in your district.",F:"rti/deadlines",inputs:function(a){return[qJ(a),rJ(!1),pJ("Due:")]},query:function(a){return zJ("RTI/MTSS",a)}});
2262W(GJ,{name:"Tier 2 Plans",N:"RTI T2",C:"Tier 2 intervention plan information.",F:"rti/tier2plan",inputs:function(a){return[qJ(a),oJ(),nJ("Effective",""),pJ("Meeting Date:"),rJ(!1),uJ(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2263{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2264W(GJ,{name:"Tier 2 Plan Caseload",N:"RTI T2 Plan Caseload",C:"The lead for current Tier 2 RTI Plans.",F:"rti/tier2PlanCaseload",inputs:function(a){return[qJ(a),oJ(),nJ("Effective",""),pJ("Meeting Date:"),rJ(!1),uJ(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2265{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
2266W(GJ,{name:"Tier 2 Plan Interventions",N:"RTI T2 Interventions",C:"Tier 2 plan interventions information.",F:"rti/tier2planInterventions",inputs:function(a){return[qJ(a),oJ(),nJ("Effective",""),pJ("Meeting Date:"),rJ(!1),uJ(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2267{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2268W(GJ,{name:"Tier 3 Plans",N:"RTI T3",C:"Tier 3 intervention plan information.",F:"rti/tier3plan",inputs:function(a){return[qJ(a),oJ(),nJ("Effective",""),pJ("Meeting Date:"),rJ(!1),uJ(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2269{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
2270W(GJ,{name:"Tier 3 Plan Caseload",N:"RTI T3 Plan Caseload",C:"The lead for current Tier 3 RTI Plans.",F:"rti/tier3PlanCaseload",inputs:function(a){return[qJ(a),oJ(),nJ("Effective",""),pJ("Meeting Date:"),rJ(!1),uJ(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2271{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
2272W(GJ,{name:"Tier 3 Plan Interventions",N:"RTI T3 Interventions",C:"Tier 3 plan interventions information.",F:"rti/tier3planInterventions",inputs:function(a){return[qJ(a),oJ(),nJ("Effective",""),pJ("Meeting Date:"),rJ(!1),uJ(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2273{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});var IJ=YI(mJ,"Medicaid Coordination","Data integration extracts for medicaid information.");
2274W(IJ,{name:"Students",N:"Object",kd:!0,C:"All students in the district.",ld:"Contains one record for each student in the district.",F:"medicaid/students",inputs:function(){return[rJ(!0),sJ()]},query:function(a){return V([{index_objects_reports:[["Student ID"],["State Reporting ID","Reporting ID"],["Last Name"],["First Name"],["Date of Birth"],["Gender"],["Grade"],["Address","Street"],["City"],["State"],["Zip"],["Building ID","CampusID"],["Building"]]},{index_objects:[["District Enrollment","district_enrollment"],
2275["Deleted","deleted"]]},{index_objects_enrollments:[["Program Participation","Special Education"]]}],["Student ID"],a)}});
2276W(IJ,{name:"IEPs",N:"Medicaid IEPs",C:"Contains one record for each IEP marked complete.",ld:"Contains one record for each IEP marked complete.\n\nRecord includes: _goals, objectives, nursing, personalCareServices,\nrelatedServices, transportation_.",F:"medicaid/ieps",inputs:function(a){return[qJ(a),oJ(),pJ("IEP Meeting Date:"),rJ(!0),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"],
2277["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["IEP Start Date"],["IEP End Date"],["Disability"]]}],["IEP Meeting Date","Student ID"],a)}});
2278W(IJ,{name:"Goals",N:"Goals",C:"Contains one record for each goal documented in an IEP marked complete.",F:"medicaid/goals",inputs:function(a){return[qJ(a),oJ(),pJ("IEP Meeting Date:"),rJ(!0),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2279{index_documents_reports:[["Goal ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Start Date"],["End Date"],["Goal Number"],["Goal Area"],["Goal Text"]]}],["IEP Meeting Date","Student ID"],a)}});
2280W(IJ,{name:"Objectives",N:"Objectives",C:"Contains one record for each objective documented in an IEP marked complete.",F:"medicaid/objectives",inputs:function(a){return[qJ(a),oJ(),pJ("IEP Meeting Date:"),rJ(!0),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2281{index_documents_reports:[["Objective ID"],["Goal ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Objective Number"],["Objective Text"]]}],["IEP Meeting Date","Student ID"],a)}});
2282W(IJ,{name:"Related Services",N:"Related Services",C:"Contains one record for each related service documented in an IEP marked complete.",F:"medicaid/relatedServices",inputs:function(a){return[qJ(a),oJ(),pJ("IEP Meeting Date:"),rJ(!0),uJ(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2283{index_documents_reports:[["Service ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Service Code"],["Related Service"],["Start Date"],["End Date"],["Duration"],["Frequency"],["Location"],["Goal Numbers"]]}],["IEP Meeting Date","Student ID"],a)}});
2284W(YI(mJ,"Testing Coordination","Data integration extracts for third-party testing coordination software.",!0),{name:"TestHound",kd:!0,C:'Contains one record for each assessment to be taken and one row for each corresponding accommodation required in TestHound "Auto Pilot" file format. Contains information from Special Education (IEP, SP) and Section 504: Plan. Content within the rich text "Detail of Accommodations" field is converted to plain text. If this text has at least one newline, accommodations will be split on newlines. Otherwise, accommodations will be split on commas.',
2285F:"testingCoordination/testHound",inputs:function(a){return[yJ(["IEP","SP","504","EL"]),qJ(a),nJ("IEP/SP Effective",""),pJ("Meeting Date:"),rJ(!0),uJ(!1,"Special Education"),uJ(!1,"Section 504"),uJ(!1,"English Learners")]},query:function(a){var b=[{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
2286{index_instances_reports:[["DistrictID","District Reporting ID"]]},{index_objects_reports:[["CampusID","Building Reporting ID"],["LocalID","Student ID"]]},{index_documents_reports:[["Subject"],["Accommodation"],["Notes"]]}],c=[],d=JSON.parse(JSON.stringify(a));d.report_record_name="TH IEP/SP";delete d["Section 504 Program Enrollment:"];delete d["English Learners Program Enrollment:"];c.push("("+V(b,["LocalID"],d)+")");d=JSON.parse(JSON.stringify(a));d.report_record_name="TH 504";delete d["Special Education Program Enrollment:"];
2287delete d["English Learners Program Enrollment:"];c.push("("+V(b,["LocalID"],d)+")");a=JSON.parse(JSON.stringify(a));a.report_record_name="TH EL";delete a["Section 504 Program Enrollment:"];delete a["Special Education Program Enrollment:"];c.push("("+V(b,["LocalID"],a)+")");return c.join("\nUNION ALL\n")}});var JJ=YI(mJ,"System","System-level administrative reports.",!0);
2288W(JJ,{name:"Students",N:"Object",C:"A list of all students in your district.",F:"system/students",kd:!0,inputs:function(a){return[qJ(a),rJ(!1),sJ()]},query:function(a){return V([{index_objects_reports:[["SIS Student ID"],["Student ID"]]},{index_objects:[["SIS Internal ID","sis_internal_id"]]},{index_objects_reports:[["Reporting ID"],["First Name"],["Middle Name"],["Last Name"],["Date of Birth"],["Grade"],["Gender"],["Street"],["City"],["State"],["Zip"],["District of Residence"],["County of Residence"],
2289["District of Service"],["Building"],["Building Reporting ID"],["Medicaid"]]},{index_objects_enrollments:[["Special Education Program Participation","Special Education"],["Section 504 Program Participation","Section 504"],["Advanced Learners Program Participation","Advanced Learners"],["English Learners Program Participation","English Learners"],["RTI/MTSS Program Participation","RTI/MTSS"],["K-4 Literacy Program Participation","K-4 Literacy"]]},{index_objects:[["District Enrollment","district_enrollment"],
2290["Deleted","deleted"]]}],["Student ID"],a)}});W(JJ,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",kd:!0,query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["Roles","user_role"],["Buildings","buildings"],["LDAP Username","ldap_user_name"],["Force Local Authentication","force_local_authentication"],["Last Login"]]}],["Last Name"],a)}});
2291W(JJ,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(a){return[qJ(a),nJ("Effective",""),pJ("Meeting Date:"),rJ(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],["End Date"],["Program"],
2292["ProgramAbbr"],["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a)}});
2293W(JJ,{name:"Student Program Participation",N:"Program Participation",C:"A report of student program participation records, including start date, end date and program. Records are only returned for programs with a cutover date specified.",F:"system/programParticipation",inputs:function(){return[rJ(!1),sJ(),tJ("Advanced Learners"),tJ("English Learners"),tJ("K-4 Literacy"),tJ("RTI/MTSS"),tJ("Section 504"),tJ("Special Education")]},query:function(a){return V([{index_objects:[["Student ID","print_id"],
2294["SIS Student ID","object_name"],["Internal SIS Student ID","sis_internal_id"]]},{index_objects_enrollments:[["Start Date","start"],["End Date","end"],["Program","program"],["Notes","notes"]]}],["Start Date","Student ID"],a)}});
2295W(JJ,{name:"Deadlines",C:"These reports highlight upcoming deadlines for all special programs",F:"system/allDeadlines",inputs:function(a){a=qJ(a);var b=rJ(!1);var c=void 0===c?[]:c;for(var d=[],e=0;e<lJ.length;e++)if(0==c.length)d.push({text:lJ[e],check:!0});else{for(var f=!1,g=0;g<c.length;g++)if(lJ[e]==c[g]){f=!0;break}d.push({text:lJ[e],check:f})}return[a,b,{name:"Program:",type:"checkbox",options:d,required:!0},pJ("Due:")]},query:function(a){return Nxa(a)}});W(JJ,hJ());W(JJ,iJ());W(JJ,jJ());
2296W(JJ,kJ());var Rxa,KJ,LJ,MJ,NJ,Sxa,OJ="",PJ="",QJ="",RJ="",SJ="",TJ="",UJ="",VJ="",WJ=!1,XJ=!1,YJ=!1,ZJ=!1,Txa="",$J="",aK="",bK=0,cK=!1,dK=!1,eK=!1,AF=new RB,fK="",Uxa=!1,Vxa=!!window&&!!window.location&&!!window.location.hash&&!!window.location.hash.match(/\bsgUserOverride\b/),gK="",hK=!1,Wxa=!1;function iK(){return!Uxa&&"samegoal.com"!=window.location.hostname}function jK(){return Vxa?!1:"samegoal.com"==window.location.hostname&&wc(PJ,"@samegoal.com")}function kK(){return"oh"==VJ?lJ:I(AF,26)}
2297function Xxa(a){for(var b=null,c=null,d=ew("link"),e=0,f=d.length;e<f;++e)if("stylesheet"==d[e].rel){var g=pe(d[e].href.match(oe)[5]||null);if(null!==g&&vc(g,"/iep/s/")){b=g.split("/");b=b[b.length-1];break}}d=ew("script");for(e=d.length-1;0<=e;--e)if(g=pe(d[e].src.match(oe)[5]||null),null!==g&&vc(g,"/iep/s/")){c=g.split("/");c=c[c.length-1];break}$J=b;aK=c;b=null!=I(a,4)?N(a,QB,4):null;a=null!==b?L(b,1,""):"";b=null!==b?L(b,2,""):"";if($J!=a||aK!=b)mH.qO=!0}
2298function Yxa(a){var b,c,d,e,f,g,k;return r(function(l){b=null!=I(a,18)?N(a,UB,18):null;SJ=L(b,11,"");UJ=L(b,2,"");VJ=b.getState();XJ=fz(b,5,!1);YJ=fz(b,6,!1);ZJ=fz(b,20,!1);LJ=L(b,14,0);Rxa=S(b,TB,18);KJ=S(b,SB,8);AF=N(b,RB,7)||new RB;Uxa=fz(b,13,!1);gK=L(b,15,"");hK=fz(b,19,!1);Wxa=fz(b,21,!1);c=a.Mc()[0];OJ=c.dc();WJ=fz(c,9,!1);PJ=c.Ic();
2298QJ=c.Fb();RJ=c.Hb();bK=L(c,31,0);cK=fz(c,32,!1);dK=fz(c,41,!1);MJ=S(c,dC,24);NJ=S(a,zz,43);Sxa=fz(a,1010,!1);TJ=L(c,36,"");d=lH;d.object.W(!0);Zxa();e=window.sessionStorage.getItem("currentUserKey");
2299window.sessionStorage.removeItem("currentUserKey");null!=e&&""!=e&&(f=lK(),f.includes(e)||(f.push(e),window.localStorage.setItem("prevLoggedAccts",JSON.stringify(f))));g=uI;k=zF();return p(l,g.tU(k),0)})}function Zxa(){window.localStorage.setItem("appStart",WG({Ib:OJ,userName:PJ,domain:UJ,Ze:WJ,redirect:window.location.href}));window.localStorage.removeItem("appStart")}function lK(){return $xa(function(a){return a.includes("@")})}
2300function $xa(a){var b=window.localStorage.getItem("prevLoggedAccts")||"";try{var c=JSON.parse(b);if(Array.isArray(c))return c=c.filter(a),window.localStorage.setItem("prevLoggedAccts",JSON.stringify(c)),c;window.localStorage.removeItem("prevLoggedAccts");return[]}catch(d){return window.localStorage.removeItem("prevLoggedAccts"),[]}};function mK(a,b){Rx.call(this);this.Vh=a||"";this.ea=b||!1;this.u=ew("BODY")[0];this.h=A("search");this.j=A("results");this.s="";this.L=this.m=this.T=!1;this.g=-1;this.l=0;D(this.u,"keydown",this.gN,!0,this);D(this.h,"keyup",this.Eu,void 0,this);D(this.h,"change",this.Eu,void 0,this);""!=this.h.value&&this.Eu()}pa(mK,Rx);h=mK.prototype;
2301h.gN=function(a){switch(a.keyCode){case 38:case 36:case 33:a.preventDefault();if(0>=this.g)return;break;case 40:case 35:case 34:a.preventDefault();if(this.g>=this.l-1)return;break;case 13:a.preventDefault();if(0>this.g)return;var b=z("result"+this.g);this.Vh?window.location=b.href:this.dispatchEvent(new xx("click",b.dataset.domain));return;default:return}b=z("result"+this.g);switch(a.keyCode){case 38:this.g--;break;case 40:this.g++;break;case 36:this.g=0;break;case 35:this.g=this.l-1;break;case 33:this.g=
23023<this.g?this.g-3:0;break;case 34:this.g=this.g<this.l-3?this.g+3:this.l-1;break;default:throw Error("internal error district directory");}a=z("result"+this.g);ix(b,"oo");gx(a,"oo");vG(a,this.j);this.g==this.l-1&&(this.j.scrollTop=999999999)};h.U0=function(a){var b=be(a.h.id.substring(6));b!=this.g&&(a=z("result"+this.g),this.g=b,b=z("result"+this.g),ix(a,"oo"),gx(b,"oo"))};
2303h.Eu=function(){var a=this.h.value;2>a.length?(this.s=a,this.l=0,this.g=-1,this.j.innerText="Type to search"):this.s!=a&&(this.s=a,this.T||(this.T=!0,this.l=0,this.g=-1,this.j.innerText="Loading...",UG(bb(this.V0,this),250)))};h.V0=function(){this.T=!1;this.L?this.m=!0:nK(this)};function nK(a){a.m=!1;a.L=!0;var b="/iep/districtsearch?q="+encodeURIComponent(a.s);VJ&&(b+="&state="+encodeURIComponent(VJ));eH(b,bb(a.W0,a),"POST",void 0,void 0,1E4)}
2304function oK(a,b,c){b=b.split(" ");for(var d=0,e=b.length;d<e;d++){for(var f=0,g=b[d]+(d+1==e?"":" "),k=g.toLowerCase(),l=0,n=c.length;l<n;l++){var q=c[l];0==k.indexOf(q)&&q.length>f&&(f=q.length)}0<f&&(k=B("B",void 0,g.substr(0,f)),a.appendChild(k));a.appendChild(pw(g.substr(f)))}a.normalize()}
2305h.W0=function(a){a=a.target;if(hH(a))if(this.L=!1,this.m)nK(this);else{a=JSON.parse(iH(a));this.j.innerHTML="";var b=a.districts||[];this.l=b.length;this.g=0<b.length?0:-1;for(var c=this.s.toLowerCase().split(" "),d=0,e=b.length;d<e;d++){var f=b[d],g=B("DIV","po");oK(g,f.name,c);var k=B("DIV","qo");oK(k,f.city+", "+f.state,c);var l=B("DIV","qo");oK(l,f.domain,c);var n="no";0==d&&(n+=" oo");g=[g,k,l];this.ea&&(k=[],f.d2dName&&k.push(f.d2dName),f.d2dTitle&&k.push(f.d2dTitle),f.d2dEmail&&k.push(f.d2dEmail),
2306f.d2dPhone&&k.push(f.d2dPhone),0<k.length&&(k=B("DIV",{style:"font-size:.8em; border-top: 1px solid #ccc"},"Transfer Coordinator: ",k.join(", ")),g.push(k)));f=B(this.Vh?"A":"DIV",{"class":n,href:this.Vh+f.domain,"data-domain":f.domain,id:"result"+d},g);D(f,"mouseover",this.U0,void 0,this);this.Vh||D(f,"click",this.T0,void 0,this);this.j.appendChild(f)}0==b.length&&(b=B("DIV","mo","No results"),this.j.appendChild(b));a.moreResults&&(a=B("DIV","mo","Additional results omitted"),this.j.appendChild(a))}else this.j.innerHTML=
2307"",a=B("DIV","mo","Error querying server"),this.j.appendChild(a),this.L=!1,this.l=0,this.g=-1,this.m&&nK(this)};h.T0=function(){var a=z("result"+this.g);this.dispatchEvent(new xx("click",a.dataset.domain));this.dispatchEvent(new xx("change",this))};h.text=function(){return z("result"+this.g).innerText};h.qa=function(){Rx.prototype.qa.call(this);Mx(this.u,"keydown",this.gN,!0,this);Mx(this.h,"keyup",this.Eu,void 0,this);Mx(this.h,"change",this.Eu,void 0,this)};function pK(a,b,c){this.g=a;this.Xa=a.getElementsByTagName("input")[0];this.h=a.getElementsByTagName("select")[0];this.l=b;D(this.h,"change",this.s,void 0,this);D(this.Xa,"focus",this.j,void 0,this);D(this.Xa,"blur",this.o,void 0,this);c||aya(this)}function aya(a){a.Xa.focus();lx(a.Xa);px(a.Xa)}
2308pK.prototype.s=function(){switch(this.h.options[this.h.selectedIndex].value){case "No district email?":var a=this.h.options[this.h.options.length-1];a.innerText="";a.disabled=!0;this.h.prepend(a);this.h.selectedIndex=0;this.h.style.width="0";this.l&&(this.l.style.display="");break;default:a=this.h.options[0],""==a.innerText&&(a.innerText="No district email?",a.disabled=!1,this.h.append(a),this.h.style.width="",this.l&&(this.l.style.display="none")),this.Xa.value=this.Xa.value.split("@")[0]}aya(this)};
2309pK.prototype.j=function(){gx(this.g,"c")}
2309;pK.prototype.o=function(){ix(this.g,"c")};function qK(a,b){ux.call(this);this.j=null;this.l=b;this.g=[];if(a>this.l)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(b=0;b<a;b++)this.g.push(this.h())}x(qK,ux);function bya(a,b){a.j=b}function rK(a,b){a.g.length<a.l?a.g.push(b):cya(b)}qK.prototype.h=function(){return this.j?this.j():{}};function cya(a){if(Ya(a))if(Wa(a.dispose))a.dispose();else for(var b in a)delete a[b]}qK.prototype.qa=function(){qK.D.qa.call(this);for(var a=this.g;a.length;)cya(a.pop());delete this.g};function sK(){this.g=[];this.h=new le;this.ea=this.va=this.M=this.m=0;this.j=new le;this.s=this.u=0;this.Ia=1;this.o=new qK(0,4E3);this.o.h=function(){return new dya};this.T=new qK(0,50);this.T.h=function(){return new eya};var a=this;this.L=new qK(0,2E3);bya(this.L,function(){return a.Ia++});this.l={}}function eya(){this.YH=this.time=this.count=0}
2310eya.prototype.toString=function(){var a=[];a.push(this.type," ",this.count," (",Math.round(10*this.time)/10," ms)");this.YH&&a.push(" [VarAlloc = ",this.YH,"]");return a.join("")};function dya(){}function fya(a,b,c,d){var e=[];-1==c?e.push("    "):e.push(gya(a.h-c));e.push(" ",hya(a.h-b));0==a.g?e.push(" Start        "):1==a.g?(e.push(" Done "),e.push(gya(a.l-a.startTime)," ms ")):e.push(" Comment      ");e.push(d,a);0<a.o&&e.push("[VarAlloc ",a.o,"] ");return e.join("")}
2311dya.prototype.toString=function(){return null==this.type?this.j:"["+this.type+"] "+this.j};var iya={Gpa:!0};sK.prototype.Cm=function(){this.l={}};function jya(a){a.l.stop&&je(a.h,function(b){this.l.stop(b.id,iya)},a);a.h.clear()}
2312sK.prototype.reset=function(){jya(this);for(var a=0;a<this.g.length;a++){var b=this.g[a];b.id?ne(this.h.pb,b.id)||(rK(this.L,b.id),rK(this.o,b)):rK(this.o,b)}this.g.length=0;this.m=db();this.s=this.u=this.ea=this.va=this.M=0;a=this.j.dh();for(b=0;b<a.length;b++){var c=this.j.get(a[b]);c.count=0;c.time=0;c.YH=0;rK(this.T,c)}this.j.clear()};
2313sK.prototype.toString=function(){for(var a=[],b=-1,c=[],d=0;d<this.g.length;d++){var e=this.g[d];1==e.g&&c.pop();a.push(" ",fya(e,this.m,b,c.join("")));b=e.h;a.push("\n");0==e.g&&c.push("|  ")}if(0!=this.h.yj()){var f=db();a.push(" Unstopped timers:\n");je(this.h,function(g){a.push("  ",g," (",f-g.startTime," ms, started at ",hya(g.startTime),")\n")})}b=this.j.dh();for(d=0;d<b.length;d++)c=this.j.get(b[d]),1<c.count&&a.push(" TOTAL ",c,"\n");a.push("Total tracers created ",this.u,"\n","Total comments created ",
2314this.s,"\n","Overhead start: ",this.M," ms\n","Overhead end: ",this.va," ms\n","Overhead comment: ",this.ea," ms\n");return a.join("")};
2314function gya(a){a=Math.round(a);var b="";1E3>a&&(b=" ");100>a&&(b="  ");10>a&&(b="   ");return b+a}function hya(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)}new sK;function tK(a){ux.call(this);this.h=a}x(tK,ux);tK.prototype.g=function(a){return kya(this,a)};function uK(a,b){return(b?"__wrapper_":"__protected_")+Za(a)+"__"}function kya(a,b){var c=uK(a,!0);b[c]||((b[c]=lya(a,b))[uK(a,!1)]=b);return b[c]}
2315function lya(a,b){function c(){if(a.o)return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(e){var d=e;if(!(d&&"object"===typeof d&&d.message&&0==d.message.indexOf(vK)||"string"===typeof d&&0==d.indexOf(vK)))throw a.h(d),new mya(d);}finally{}}c[uK(a,!1)]=b;return c}
2316function wK(a,b){var c=Pa("window"),d=c[b];c[b]=function(e,f){Ma(e)&&(e=cb(laa,e));arguments[0]=e=kya(a,e);if(d.apply)return d.apply(this,arguments);var g=e;if(2<arguments.length){var k=Array.prototype.slice.call(arguments,2);g=function(){e.apply(this,k)}}return d(g,f)};c[b][uK(a,!1)]=d}tK.prototype.qa=function(){var a=Pa("window");var b=a.setTimeout;b=b[uK(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[uK(this,!1)]||b;a.setInterval=b;tK.D.qa.call(this)};
2317function mya(a){gb.call(this,vK+(a&&a.message?String(a.message):String(a)));(a=a&&a.stack)&&Ma(a)&&(this.stack=a)}x(mya,gb);var vK="Error in protected function: ";function xK(a,b,c){Rx.call(this);this.l=b||null;this.j={};this.m=nya;this.s=a;if(!c)if(this.h=null,Jv&&!Vv("10"))yla(bb(this.g,this));else{this.h=new tK(bb(this.g,this));wK(this.h,"setTimeout");wK(this.h,"setInterval");a=this.h;b=Pa("window");c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&wK(a,e)}a=this.h;xla=!0;b=bb(a.g,a);for(c=0;c<qx.length;c++)qx[c](b);rx.push(a)}}x(xK,Rx);
2318function oya(a,b){xx.call(this,pya);this.error=a;this.context=b}x(oya,xx);var pya="a";function nya(a,b,c,d){eH(a,null,b,c,d)}
2319xK.prototype.g=function(a,b){a=a.error||a;b=b?hc(b):{};a instanceof Error&&kc(b,a.__closure__error__context__984382||{});a=zla(a);if(this.l)try{this.l(a,b)}catch(l){}var c=a.message.substring(0,1900),d=a.stack;try{var e=Zaa(this.s,"script",a.fileName,"error",c,"line",a.lineNumber);if(!dc(this.j)){c=e;var f=te(this.j);e=qe(c,f)}f={};f.trace=d;if(b)for(var g in b)f["context."+g]=b[g];var k=te(f);Oa(null)&&(k=k.substring(0,null));this.m(e,"POST",k,this.L)}catch(l){}try{this.dispatchEvent(new oya(a,b))}catch(l){}};
2320xK.prototype.qa=function(){C(this.h);xK.D.qa.call(this)};function yK(a){ux.call(this);this.s=1;this.j=[];this.l=0;this.g=[];this.h={};this.m=!!a}x(yK,ux);function zK(a,b,c,d){var e=a.h[b];e||(e=a.h[b]=[]);var f=a.s;a.g[f]=b;a.g[f+1]=c;a.g[f+2]=d;a.s=f+3;e.push(f);return f}h=yK.prototype;h.ka=function(a,b,c){var d=!1,e=zK(this,a,function(f){d||(d=!0,this.mp(e),b.apply(c,arguments))},this);return e};h.unsubscribe=function(a,b,c){if(a=this.h[a]){var d=this.g;if(a=Kb(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.mp(a)}return!1};
2321h.mp=function(a){var b=this.g[a];if(b){var c=this.h[b];0!=this.l?(this.j.push(a),this.g[a+1]=Qa):(c&&Qb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
2322h.ba=function(a,b){var c=this.h[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.m)for(e=0;e<c.length;e++){var g=c[e];qya(this.g[g+1],this.g[g+2],d)}else{this.l++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.g[g+1].apply(this.g[g+2],d)}finally{if(this.l--,0<this.j.length&&0==this.l)for(;c=this.j.pop();)this.mp(c)}}return 0!=e}return!1};function qya(a,b,c){QG(function(){a.apply(b,c)})}
2323h.clear=function(a){if(a){var b=this.h[a];b&&(Fb(b,this.mp,this),delete this.h[a])}else this.g.length=0,this.h={}};h.yj=function(a){if(a){var b=this.h[a];return b?b.length:0}a=0;for(b in this.h)a+=this.yj(b);return a};h.qa=function(){yK.D.qa.call(this);this.clear();this.j.length=0};var AK=new yK;function BK(a,b,c){xK.call(this,a,b,c)}x(BK,xK);BK.prototype.g=function(a,b,c){b=b?b:{};b.dontPublish=!!c;BK.D.g.call(this,a,b)};var CK;CK=new BK("/iep/jserror",function(a,b){b.url=window.location.href;b.user_agent=Mc||"unknown";b.css_version=$J;b.js_version=aK;b.error="Error: "+a.message;"Error"!=a.name&&(b.error_title=a.name);b.session=Txa;console.error("ErrorReporter: ",JSON.stringify(b))},void 0);D(CK,pya,function(a){var b=a.error,c;for(c in b);a&&a.context&&a.context.dontPublish||AK.ba("J")});function DK(){var a=window.localStorage.getItem("multi-file-download");return a?JSON.parse(a):null}function EK(a){window.localStorage.setItem("multi-file-download",JSON.stringify(a))}function rya(){window.localStorage.removeItem("multi-file-download")}
2324function sya(){var a=z("multidl-form");a?a.addEventListener("submit",function(b){b.preventDefault();b=[];for(var c=m(a.querySelectorAll('input[type="checkbox"]')),d=c.next();!d.done;d=c.next())d=d.value,d.checked&&(b.includes(d.value)||b.push(d.value));if(0===b.length)FK("Please select at least one option before submitting.");else{FK("");var e=a.querySelector("#multidl-submit");e&&(e.disabled=!0,setTimeout(function(){e.disabled=!1},1E3));tya(b)}}):CK.g(Error('Form with ID "multidl-form" not found.'),
2325void 0,!0)}function FK(a){var b=z("form-error");b&&(b.textContent=a)}function uya(a){var b=z("form-status");b&&(b.textContent=a)}function vya(a){return function(){var b=a.id.split("-")[1],c=z("cb-"+b),d=DK();d?d.Wl==b||d.files.includes(b)||d.kk.includes(b)?FK("File already queued or completed."):(d.files.push(b),EK(d),FK("File queued for download."),c&&
2325(c.checked=!0)):(c&&(c.checked=!0),tya([b]))}}
2326function tya(a){var b=DK();b?FK("A multi-file download is already running. Please wait for it to complete before starting another."):(b=a.shift(),b={files:a,Wl:b,kk:[]},GK(),EK(b),wya(),HK())}function wya(){var a=DK(),b=z("btn-"+a.Wl);b?(document.getElementById("status-"+a.Wl).innerText="Downloading...",null==window.open(b.dataset.url)&&FK("Please enable popups and redirects for this site in order to download multiple files."),FK("")):(FK("Invalid file ID; multi-file download canceled."),rya())}
2327function GK(){var a=z("spinner");a&&(a.style.visibility="visible");uya("Download in progress... Please do not navigate away from this page until all files have completed.")}function HK(){setTimeout(function(){window.location.reload()},2E4)};db();function IK(a){Rx.call(this);a=a||$v();this.g=a.O(Jv?"DIV":"IFRAME",{style:"position:absolute;width:9em;height:9em;top:-99em",tabIndex:-1,"aria-hidden":"true"});a=a.getDocument().body;a.insertBefore(this.g,a.firstChild);if(Jv)var b=this.g;else a:{a=this.g;try{b=a.contentWindow||(a.contentDocument?nw(a.contentDocument):null);break a}catch(c){}b=null}b=this.j=b;Mv&&(a=b.document,a.open(),a.close());D(b,"resize",this.h,!1,this);this.l=this.g.offsetWidth}x(IK,Rx);
2328IK.prototype.qa=function(){IK.D.qa.call(this);Mx(this.j,"resize",this.h,!1,this);this.j=null;Mv&&!Vv("1.9")||Jw(this.g);delete this.g};IK.prototype.h=function(){var a=this.g.offsetWidth;this.l!=a&&(this.l=a,this.dispatchEvent("fontsizechange"))};function JK(a){Rx.call(this);this.h=a||window;this.j=D(this.h,"resize",this.l,!1,this);this.g=jw(this.h)}x(JK,Rx);function xya(){var a=window,b=Za(a);return yya[b]=yya[b]||new JK(a)}var yya={};JK.prototype.Md=function(){return this.g?this.g.clone():null};JK.prototype.qa=function(){JK.D.qa.call(this);this.j&&(Nx(this.j),this.j=null);this.g=this.h=null};JK.prototype.l=function(){var a=jw(this.h);ila(a,this.g)||(this.g=a,this.dispatchEvent("resize"))};function zya(a){var b=a.type;switch(Ma(b)&&b.toLowerCase()){case "checkbox":case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case "select-multiple":b=[];for(var c,d=0;c=a.options[d];d++)c.selected&&b.push(c.value);return b.length?b:null;default:return null!=a.value?a.value:null}};function KK(a){xx.call(this,"navigate");this.EH=a}x(KK,xx);function LK(a){Rx.call(this);this.g=a||window;this.h=null;D(this.g,"popstate",this.gz,!1,this);D(this.g,"hashchange",this.gz,!1,this)}x(LK,Rx);h=LK.prototype;h.Kb=!1;h.W=function(a){a!=this.Kb&&(this.Kb=a)&&this.dispatchEvent(new KK(this.re(),!1))};h.re=function(){return Aya(this)};function MK(a){var b=lH.object;a!=b.re()&&(b.g.history.pushState(null,b.g.document.title||"","#"+a),b.dispatchEvent(new KK(a,!1)))}
2329function NK(a){var b=lH.object;b.g.history.replaceState(null,b.g.document.title||"","#"+a);b.dispatchEvent(new KK(a,!1))}h.qa=function(){Mx(this.g,"popstate",this.gz,!1,this);Mx(this.g,"hashchange",this.gz,!1,this)};function Aya(a){a=a.g.location.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)}h.gz=function(a){if(this.Kb){var b=Aya(this);if("popstate"==a.type||b!=this.h)this.h=b,this.dispatchEvent(new KK(this.re(),!0))}};function OK(a,b,c){ux.call(this);this.l=null!=c?bb(a,c):a;this.j=b;this.h=bb(this.Z2,this);this.g=[]}x(OK,ux);h=OK.prototype;h.EA=!1;h.mF=0;h.xq=null;h.wY=function(a){this.g=arguments;this.xq||this.mF?this.EA=!0:Bya(this)};h.stop=function(){this.xq&&(VG(this.xq),this.xq=null,this.EA=!1,this.g=[])};h.pause=function(){this.mF++};h.qa=function(){OK.D.qa.call(this);this.stop()};h.Z2=function(){this.xq=null;this.EA&&!this.mF&&(this.EA=!1,Bya(this))};
2330function Bya(a){a.xq=UG(a.h,a.j);a.l.apply(null,a.g)};function PK(){this.j=!0}PK.prototype.pK=function(){this.j=!1};function Cya(a,b,c,d,e,f){a.info(function(){if(a.j)if(f){var g="";for(var k=f.split("&"),l=0;l<k.length;l++){var n=k[l].split("=");if(1<n.length){var q=n[0];n=n[1];var t=q.split("_");g=2<=t.length&&"type"==t[1]?g+(q+"="+n+"&"):g+(q+"=redacted&")}}}else g=null;else g=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+g})}
2331function Dya(a,b,c,d,e,f,g){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+g})}PK.prototype.g=function(a,b,c){var d=this;this.info(function(){return"XMLHTTP TEXT ("+a+"): "+Eya(d,b)+(c?" "+c:"")})};function Fya(a,b){a.info(function(){return"TIMEOUT: "+b})}PK.prototype.h=function(){};PK.prototype.info=function(){};
2332function Eya(a,b){if(!a.j)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(a=0;a<c.length;a++)if(Ta(c[a])){var d=c[a];if(!(2>d.length)){var e=d[1];if(Ta(e)&&!(1>e.length)){var f=e[0];if("noop"!=f&&"stop"!=f&&"close"!=f)for(var g=1;g<e.length;g++)e[g]=""}}}return WG(c)}catch(k){return b}};var Gya=null;function QK(){return Gya=Gya||new Rx}function Hya(a){xx.call(this,"serverreachability",a)}x(Hya,xx);function RK(a){var b=QK();b.dispatchEvent(new Hya(b,a))}function Iya(a){xx.call(this,"statevent",a)}x(Iya,xx);function SK(a){var b=QK();b.dispatchEvent(new Iya(b,a))}function Jya(a,b,c,d){xx.call(this,"timingevent",a);this.size=b;this.Hz=d}x(Jya,xx);function TK(a,b){if(!Wa(a))throw Error("Fn must not be null and must be a function");return La.setTimeout(function(){a()},b)};function UK(){xx.call(this,"vd")}x(UK,xx);function VK(){xx.call(this,"ud")}x(VK,xx);function WK(a,b,c,d){this.m=a;this.h=b;this.o=c;this.ic=d||1;this.Gb=new Px(this);this.Pb=Kya;a=Lv?125:void 0;this.Wa=new TG(a);this.L=null;this.j=!1;this.T=this.u=this.s=this.Y=this.cb=this.Za=this.va=null;this.M=[];this.g=null;this.fc=0;this.l=this.ea=null;this.Z=-1;this.Ia=!1;this.Ta=0;this.Ha=null;this.Ua=this.pc=this.Ja=!1}var Kya=45E3,Lya={},XK={};h=WK.prototype;h.setTimeout=function(a){this.Pb=a};function YK(a,b,c){a.Y=1;a.s=Ie(b.clone());a.T=c;a.Ja=!0;Mya(a,null)}
2333function ZK(a,b,c,d){a.Y=1;a.s=Ie(b.clone());a.T=null;a.Ja=c;Mya(a,d)}
2333function Mya(a,b){a.cb=db();$K(a);a.u=a.s.clone();Ge(a.u,"t",a.ic);a.fc=0;a.g=a.m.Vw(a.m.Lv()?b:null);0<a.Ta&&(a.Ha=new OK(bb(a.xT,a,a.g),a.Ta));a.Gb.J(a.g,"readystatechange",a.T4);b=a.L?hc(a.L):{};a.T?(a.ea||(a.ea="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.g.send(a.u,a.ea,a.T,b)):(a.ea="GET",a.g.send(a.u,a.ea,null,b));RK(1);Cya(a.h,a.ea,a.u,a.o,a.ic,a.T)}
2334h.T4=function(a){a=a.target;var b=this.Ha;b&&3==gH(a)?b.wY():this.xT(a)};
2335h.xT=function(a){try{if(a==this.g)a:{var b=gH(this.g),c=this.g.m,d=this.g.Ec();if(!(3>b||3==b&&!Lv&&!iH(this.g))){this.Ia||4!=b||7==c||(8==c||0>=d?RK(3):RK(2));aL(this);var e=this.g.Ec();this.Z=e;var f=iH(this.g);this.j=200==e;Dya(this.h,this.ea,this.u,this.o,this.ic,b,e);if(this.j){if(this.pc&&!this.Ua){b:{if(this.g){var g=kH(this.g,"X-HTTP-Initial-Response");if(g&&!xc(g)){var k=g;break b}}k=null}if(k)this.h.g(this.o,k,"Initial handshake response via X-HTTP-Initial-Response"),this.Ua=!0,bL(this,
2336k);else{this.j=!1;this.l=3;SK(12);cL(this);dL(this);break a}}this.Ja?(Nya(this,b,f),Lv&&this.j&&3==b&&(this.Gb.J(this.Wa,"tick",this.G3),this.Wa.start())):(this.h.g(this.o,f,null),bL(this,f));4==b&&cL(this);this.j&&!this.Ia&&(4==b?this.m.fF(this):(this.j=!1,$K(this)))}else 400==e&&0<f.indexOf("Unknown SID")?(this.l=3,SK(12)):(this.l=0,SK(13)),cL(this),dL(this)}}}catch(l){this.h.h(l)}finally{}};
2337function Nya(a,b,c){for(var d=!0;!a.Ia&&a.fc<c.length;){var e=Oya(a,c);if(e==XK){4==b&&(a.l=4,SK(14),d=!1);a.h.g(a.o,null,"[Incomplete Response]");break}else if(e==Lya){a.l=4;SK(15);a.h.g(a.o,c,"[Invalid Chunk]");d=!1;break}else a.h.g(a.o,e,null),bL(a,e)}4==b&&0==c.length&&(a.l=1,SK(16),d=!1);a.j=a.j&&d;d||(a.h.g(a.o,c,"[Invalid Chunked Response]"),cL(a),dL(a))}h.G3=function(){if(this.g){var a=gH(this.g),b=iH(this.g);this.fc<b.length&&(aL(this),Nya(this,a,b),this.j&&4!=a&&$K(this))}};
2338function Oya(a,b){var c=a.fc,d=b.indexOf("\n",c);if(-1==d)return XK;c=Number(b.substring(c,d));if(isNaN(c))return Lya;d+=1;if(d+c>b.length)return XK;b=b.substr(d,c);a.fc=d+c;return b}h.cancel=function(){this.Ia=!0;cL(this)};function $K(a){a.Za=db()+a.Pb;Pya(a,a.Pb)}function Pya(a,b){if(null!=a.va)throw Error("WatchDog timer not null");a.va=TK(bb(a.c3,a),b)}function aL(a){a.va&&(La.clearTimeout(a.va),a.va=null)}
2339h.c3=function(){this.va=null;var a=db();0<=a-this.Za?(Fya(this.h,this.u),2!=this.Y&&(RK(3),SK(17)),cL(this),this.l=2,dL(this)):Pya(this,this.Za-a)};function dL(a){a.m.FM()||a.Ia||a.m.fF(a)}function cL(a){aL(a);C(a.Ha);a.Ha=null;a.Wa.stop();a.Gb.tf();if(a.g){var b=a.g;a.g=null;b.abort();b.dispose()}}function bL(a,b){try{a.m.PN(a,b),RK(4)}catch(c){a.h.h(c)}}function eL(a,b,c,d){return new WK(a,b,c,d)};function Qya(a,b){this.g=a;this.s=b;this.h=this.m=null;this.l=!1;this.L=null;this.j=-1;this.u=this.o=null}h=Qya.prototype;h.Gk=null;function Rya(a){var b=a.g.Ha.g;if(null!=b)SK(4),b?(SK(10),fL(a.g,a,!1)):(SK(11),fL(a.g,a,!0));else{a.h=eL(a,a.s);a.h.L=a.m;b=a.g;b=gL(b,b.Lv()?a.o:null,a.L);SK(4);Ge(b,"TYPE","xmlhttp");var c=a.g.T,d=a.g.Ja;c&&d&&Fe(b,c,d);ZK(a.h,b,!1,a.o)}}h.Vw=function(a){return this.g.Vw(a)};h.abort=function(){this.h&&(this.h.cancel(),this.h=null);this.j=-1};h.FM=function(){return!1};
2340h.PN=function(a,b){this.j=a.Z;if(0==this.Gk){if(!this.g.va&&(a=a.g)){var c=kH(a,"X-Client-Wire-Protocol");this.u=c?c:null;this.g.T&&(a=kH(a,"X-HTTP-Session-Id"))&&(this.g.Ja=a)}if(b){try{var d=this.g.Bb.s.parse(b)}catch(e){this.s.h(e);b=this.g;b.ea=this.j;hL(b,2);return}this.o=d[0]}else b=this.g,b.ea=this.j,hL(b,2)}else if(1==this.Gk)if(this.l)SK(6);else if("11111"==b){if(SK(5),this.l=!0,!Jv||Wv(10))this.j=200,this.h.cancel(),SK(11),fL(this.g,this,!0)}else SK(7),this.l=!1};
2341h.fF=function(){this.j=this.h.Z;if(this.h.j)0==this.Gk?(this.Gk=1,Rya(this)):1==this.Gk&&(this.l?(SK(11),fL(this.g,this,!0)):(SK(10),fL(this.g,this,!1)));else{0==this.Gk?SK(8):1==this.Gk&&SK(9);var a=this.g;a.ea=this.j;hL(a,2)}};h.Lv=function(){return this.g.Lv()};h.Tb=function(){return this.g.Tb()};function Sya(){this.g=this.h=null};function iL(a){this.pb=new le;if(a){a=ce(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}}function jL(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Za(a):b.charAt(0)+a}h=iL.prototype;h.yj=function(){return this.pb.yj()};h.add=function(a){this.pb.set(jL(a),a)};h.tf=function(a){a=ce(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};h.remove=function(a){return this.pb.remove(jL(a))};h.clear=function(){this.pb.clear()};h.contains=function(a){a=jL(a);return ne(this.pb.pb,a)};h.gc=function(){return this.pb.gc()};
2342h.clone=function(){return new iL(this)};h.dk=function(){return this.pb.dk(!1)};function Tya(a,b){this.g=a;this.map=b;this.context=null};function Uya(a){this.l=a||Vya;La.PerformanceNavigationTiming?(a=La.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(La.chrome&&La.chrome.loadTimes&&La.chrome.loadTimes()&&La.chrome.loadTimes().Hpa);this.o=a?this.l:1;this.g=null;1<this.o&&(this.g=new iL);this.h=null;this.j=[]}var Vya=10;function Wya(a,b){!a.g&&(Jc(b,"spdy")||Jc(b,"quic")||Jc(b,"h2"))&&(a.o=a.l,a.g=new iL,a.h&&(kL(a,a.h),a.h=null))}
2343function Xya(a){return a.h?!0:a.g?a.g.yj()>=a.o:!1}function Yya(a){return a.h?1:a.g?a.g.yj():0}function lL(a,b){return a.h?a.h==b:a.g?a.g.contains(b):!1}function kL(a,b){a.g?a.g.add(b):a.h=b}function Zya(a,b){a.h&&a.h==b?a.h=null:a.g&&a.g.contains(b)&&a.g.remove(b)}Uya.prototype.cancel=function(){this.j=$ya(this);this.h?(this.h.cancel(),this.h=null):this.g&&0!=this.g.pb.h&&(Fb(this.g.gc(),function(a){a.cancel()}),this.g.clear())};
2344function $ya(a){if(null!=a.h)return a.j.concat(a.h.M);if(null!=a.g&&0!=a.g.pb.h){var b=a.j;Fb(a.g.gc(),function(c){b=b.concat(c.M)});return b}return Sb(a.j)};function mL(){}mL.prototype.stringify=function(a){return La.JSON.stringify(a,void 0)};mL.prototype.parse=function(a){return La.JSON.parse(a,void 0)};function aza(){this.s=new mL}function bza(a,b,c){var d=c||"";try{de(a,function(e,f){var g=e;Ya(e)&&(g=WG(e));b.push(d+f+"="+encodeURIComponent(g))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};function cza(a,b){var c=new PK;if(La.Image){var d=new Image;d.onload=cb(nL,c,d,"TestLoadImage: loaded",!0,b);d.onerror=cb(nL,c,d,"TestLoadImage: error",!1,b);d.onabort=cb(nL,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=cb(nL,c,d,"TestLoadImage: timeout",!1,b);La.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)}function nL(a,b,c,d,e){try{b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(f){a.h(f)}};function dza(a){var b="";$b(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b}function oL(a,b,c){if(dc(c))return a;c=dza(c);if(Ma(a))return b=Od(b),c=null!=c?"="+Od(c):"",qe(a,b+c);Fe(a,b,c);return a};function eza(a){this.zb=0;this.o=[];this.l=new PK;this.Ha=new Sya;this.$a=this.Yc=this.cb=this.Na=this.h=this.Ja=this.T=this.Za=this.s=this.Gb=this.L=null;this.ge=this.Pb=0;this.sb=!!Pa("internalChannelParams.failFast",a);this.yb=this.Z=this.M=this.u=this.m=this.g=null;this.Ub=!0;this.ea=this.ac=this.Ta=-1;this.ic=this.Ia=this.Ua=0;this.bc=Pa("internalChannelParams.baseRetryDelayMs",a)||5E3;this.jd=Pa("internalChannelParams.retryDelaySeedMs",a)||1E4;this.Cb=Pa("internalChannelParams.forwardChannelMaxRetries",
2345a)||2;this.Vb=Pa("internalChannelParams.forwardChannelRequestTimeoutMs",a)||2E4;this.$b=a&&a.Lpa||void 0;this.Y=void 0;this.Wa=a&&a.rS||!1;this.fc="";this.j=new Uya(a&&a.Jga);this.Bb=new aza;this.va=a&&w(a.zU)?a.zU:!0;(this.pc=a&&a.pia||!1)&&!this.va&&(this.va=!0);a&&a.pK&&this.l.pK();a&&a.Kia&&(this.Ub=!1);this.mb=void 0}h=eza.prototype;h.kC=8;h.Jf=1;
2346function pL(a){fza(a);if(3==a.Jf){var b=a.Pb++,c=a.cb.clone();Fe(c,"SID",a.fc);Fe(c,"RID",b);Fe(c,"TYPE","terminate");qL(a,c);b=eL(a,a.l,b);b.Y=2;b.s=Ie(c.clone());c=!1;La.navigator&&La.navigator.sendBeacon&&(c=La.navigator.sendBeacon(b.s.toString(),""));!c&&La.Image&&((new Image).src=b.s,c=!0);c||(b.g=b.m.Vw(null),b.g.send(b.s));b.cb=db();$K(b)}gza(a)}function rL(){return sL.g.fc}
2347function fza(a){a.Z&&(a.Z.abort(),a.Z=null);a.h&&(a.h.cancel(),a.h=null);a.u&&(La.clearTimeout(a.u),a.u=null);tL(a);a.j.cancel();a.m&&(Oa(a.m)&&La.clearTimeout(a.m),a.m=null)}function uL(a,b){a.o.push(new Tya(a.ge++,b));3==a.Jf&&vL(a)}h.FM=function(){return 0==this.Jf};h.getState=function(){return this.Jf};function vL(a){Xya(a.j)||a.m||(a.m=!0,QG(a.SN,a),a.Ua=0)}
2348function hza(a,b){if(Yya(a.j)>=a.j.o-(a.m?1:0))return!1;if(a.m)return a.o=b.M.concat(a.o),!0;if(1==a.Jf||2==a.Jf||a.Ua>=(a.sb?0:a.Cb))return!1;a.m=TK(bb(a.SN,a,b),iza(a,a.Ua));a.Ua++;return!0}
2349h.SN=function(a){if(this.m)if(this.m=null,1==this.Jf){if(!a){this.Pb=Math.floor(1E5*Math.random());a=this.Pb++;var b=eL(this,this.l,a),c=this.L;this.Gb&&(c?(c=hc(c),kc(c,this.Gb)):c=this.Gb);null===this.s&&(b.L=c);var d;if(this.pc)a:{for(var e=d=0;e<this.o.length;e++){b:{var f=this.o[e];if("__data__"in f.map&&(f=f.map.__data__,Ma(f))){f=f.length;break b}f=void 0}if(void 0===f)break;d+=f;if(4096<d){d=e;break a}if(4096===d||e===this.o.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=jza(this,b,d);e=this.cb.clone();
2350Fe(e,"RID",a);Fe(e,"CVER",22);this.va&&this.T&&Fe(e,"X-HTTP-Session-Id",this.T);qL(this,e);this.s&&c&&oL(e,this.s,c);kL(this.j,b);this.pc?(Fe(e,"$req",d),Fe(e,"SID","null"),b.pc=!0,YK(b,e,null)):YK(b,e,d);this.Jf=2}}else 3==this.Jf&&(a?kza(this,a):0==this.o.length||Xya(this.j)||kza(this))};
2351function kza(a,b){var c;b?c=b.o:c=a.Pb++;var d=a.cb.clone();Fe(d,"SID",a.fc);Fe(d,"RID",c);Fe(d,"AID",a.Ta);qL(a,d);a.s&&a.L&&oL(d,a.s,a.L);c=eL(a,a.l,c,a.Ua+1);null===a.s&&(c.L=a.L);b&&(a.o=b.M.concat(a.o));b=jza(a,c,1E3);c.setTimeout(Math.round(.5*a.Vb)+Math.round(.5*a.Vb*Math.random()));kL(a.j,c);YK(c,d,b)}function qL(a,b){a.g&&de({},function(c,d){Fe(b,d,c)})}
2352function jza(a,b,c){c=Math.min(a.o.length,c);var d=a.g?bb(a.g.BU,a.g,a):null;a:for(var e=a.o,f=-1;;){var g=["count="+c];-1==f?0<c?(f=e[0].g,g.push("ofs="+f)):f=0:g.push("ofs="+f);for(var k=!0,l=0;l<c;l++){var n=e[l].g,q=e[l].map;n-=f;if(0>n)f=Math.max(0,e[l].g-100),k=!1;else try{bza(q,g,"req"+n+"_")}catch(t){d&&d(q)}}if(k){d=g.join("&");break a}}a=a.o.splice(0,c);b.M=a;return d}function lza(a){a.h||a.u||(a.ic=1,QG(a.RN,a),a.Ia=0)}
2353function wL(a){if(a.h||a.u||3<=a.Ia)return!1;a.ic++;a.u=TK(bb(a.RN,a),iza(a,a.Ia));a.Ia++;return!0}h.RN=function(){this.u=null;this.h=eL(this,this.l,"rpc",this.ic);null===this.s&&(this.h.L=this.L);this.h.Ta=0;var a=this.Yc.clone();Fe(a,"RID","rpc");Fe(a,"SID",this.fc);Fe(a,"CI",this.yb?"0":"1");Fe(a,"AID",this.Ta);qL(this,a);Fe(a,"TYPE","xmlhttp");this.s&&this.L&&oL(a,this.s,this.L);this.Y&&this.h.setTimeout(this.Y);ZK(this.h,a,!0,this.$a)};
2354function fL(a,b,c){var d=b.u;d&&Wya(a.j,d);a.yb=a.Ub&&c;a.ea=b.j;a.cb=gL(a,null,a.Na);vL(a)}
2355h.PN=function(a,b){if(0!=this.Jf&&(this.h==a||lL(this.j,a)))if(this.ea=a.Z,!a.Ua&&lL(this.j,a)&&3==this.Jf){try{var c=this.Bb.s.parse(b)}catch(f){c=null}if(Ta(c)&&3==c.length){b=c;if(0==b[0])a:{if(!this.u){if(this.h)if(this.h.cb+3E3<a.cb)tL(this),this.h.cancel(),this.h=null;else break a;wL(this);SK(18)}}else this.ac=b[1],0<this.ac-this.Ta&&37500>b[2]&&this.yb&&0==this.Ia&&!this.M&&(this.M=TK(bb(this.f2,this),6E3));if(1>=Yya(this.j)&&this.mb){try{this.mb()}catch(f){this.l.h(f)}this.mb=void 0}}else hL(this,
235611)}else if((a.Ua||this.h==a)&&tL(this),!xc(b))for(b=c=this.Bb.s.parse(b),c=0;c<b.length;c++){var d=b[c];this.Ta=d[0];d=d[1];if(2==this.Jf)if("c"==d[0]){this.fc=d[1];this.$a=d[2];var e=d[3];null!=e&&(this.kC=e,this.l.info("VER="+this.kC));e=d[4];null!=e&&(this.zb=e,this.l.info("SVER="+this.zb));d=d[5];null!=d&&Oa(d)&&0<d&&(this.Y=d*=1.5,this.l.info("backChannelRequestTimeoutMs_="+d));this.va&&(d=a.g)&&((e=kH(d,"X-Client-Wire-Protocol"))&&Wya(this.j,e),this.T&&(d=kH(d,"X-HTTP-Session-Id")))&&(this.Ja=
2357d,Fe(this.cb,this.T,d));this.Jf=3;this.g&&this.g.JL();d=a;this.Yc=gL(this,this.Lv()?this.$a:null,this.Na);d.Ua?(Zya(this.j,d),(e=this.Y)&&d.setTimeout(e),d.va&&(aL(d),$K(d)),this.h=d):lza(this);0<this.o.length&&vL(this)}else"stop"!=d[0]&&"close"!=d[0]||hL(this,7);else 3==this.Jf&&("stop"==d[0]||"close"==d[0]?"stop"==d[0]?hL(this,7):pL(this):"noop"!=d[0]&&this.g&&this.g.EJ(d),this.Ia=0)}};h.f2=function(){null!=this.M&&(this.M=null,this.h.cancel(),this.h=null,wL(this),SK(19))};
2358function tL(a){null!=a.M&&(La.clearTimeout(a.M),a.M=null)}
2359h.fF=function(a){var b=null;if(this.h==a){tL(this);this.h=null;var c=2}else if(lL(this.j,a))b=a.M,Zya(this.j,a),c=1;else return;this.ea=a.Z;if(0!=this.Jf)if(a.j)if(1==c){b=a.T?a.T.length:0;a=db()-a.cb;var d=this.Ua;c=QK();c.dispatchEvent(new Jya(c,b,a,d));vL(this)}else lza(this);else if(d=a.l,3==d||0==d&&0<this.ea||!(1==c&&hza(this,a)||2==c&&wL(this)))switch(b&&0<b.length&&(a=this.j,a.j=a.j.concat(b)),d){case 1:hL(this,5);break;case 4:hL(this,10);break;case 3:hL(this,6);break;default:hL(this,2)}};
2360function iza(a,b){var c=a.bc+Math.floor(Math.random()*a.jd);a.Tb()||(c*=2);return c*b}function hL(a,b){a.l.info("Error code "+b);if(2==b){var c=null;a.g&&(c=a.g.wL());var d=bb(a.W8,a);c||(c=new ue("//www.google.com/images/cleardot.gif"),La.location&&"http"==La.location.protocol||ve(c,"https"),Ie(c));cza(c.toString(),d)}else SK(2);a.Jf=0;a.g&&a.g.DJ(b);gza(a);fza(a)}h.W8=function(a){a?(this.l.info("Successfully pinged google.com"),SK(2)):(this.l.info("Failed to ping google.com"),SK(1))};
2361function gza(a){a.Jf=0;a.ea=-1;if(a.g){if(0!=$ya(a.j).length||0!=a.o.length)a.j.j.length=0,Sb(a.o),a.o.length=0;a.g.IL()}}function gL(a,b,c){var d=eba(c);if(""!=d.h)b&&xe(d,b+"."+d.h),ye(d,d.m);else{var e=La.location;d=fba(e.protocol,b?b+"."+e.hostname:e.hostname,+e.port,c)}a.Za&&$b(a.Za,function(f,g){Fe(d,g,f)});b=a.T;c=a.Ja;b&&c&&Fe(d,b,c);Fe(d,"VER",a.kC);qL(a,d);return d}
2362h.Vw=function(a){if(a&&!this.Wa)throw Error("Can't create secondary domain capable XhrIo object.");a=new dH(this.$b);a.j=this.Wa;return a};h.Tb=function(){return!!this.g&&this.g.Tb(this)};h.Lv=function(){return this.Wa};function xL(){}h=xL.prototype;h.JL=function(){};h.EJ=function(){};h.DJ=function(){};h.IL=function(){};h.wL=function(){return null};h.Tb=function(){return!0};h.BU=function(){};function mza(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];vc(d,"/")?b=d:""==b||wc(b,"/")?b+=d:b+="/"+d}return b};function yL(a,b){Rx.call(this);this.g=new eza(b);this.l=a;this.L=b&&b.X8?b.X8:mza(this.l,"test");this.h=b&&b.$ka||null;a=b&&b.Yka||null;b&&b.Cga&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.g.L=a;a=b&&b.Dja||null;b&&b.dN&&(a?a["X-WebChannel-Content-Type"]=b.dN:a={"X-WebChannel-Content-Type":b.dN});b&&b.KJ&&(a?a["X-WebChannel-Client-Profile"]=b.KJ:a={"X-WebChannel-Client-Profile":b.KJ});this.g.Gb=a;(a=b&&b.tja)&&!xc(a)&&(this.g.s=a);this.m=b&&b.rS||!1;this.s=b&&
2363b.Hna||!1;(b=b&&b.uja)&&!xc(b)&&(this.g.T=b,bc(this.h,b)&&ec(this.h,b));this.j=new zL(this)}x(yL,Rx);h=yL.prototype;h.addEventListener=function(a,b,c,d){yL.D.addEventListener.call(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){yL.D.removeEventListener.call(this,a,b,c,d)};h.close=function(){pL(this.g)};
2363h.send=function(a){if(Ma(a)){var b={};b.__data__=a;uL(this.g,b)}else this.s?(b={},b.__data__=WG(a),uL(this.g,b)):uL(this.g,a)};
2364h.qa=function(){this.g.g=null;delete this.j;pL(this.g);delete this.g;yL.D.qa.call(this)};function nza(a){UK.call(this);var b=a.__sm__;if(b){a:{for(var c in b){a=c;break a}a=void 0}(this.o=a)?this.data=gc(b,this.o):this.data=b}else this.data=a}x(nza,UK);function oza(){VK.call(this);this.status=1}x(oza,VK);function zL(a){this.g=a}x(zL,xL);zL.prototype.JL=function(){this.g.dispatchEvent("sd")};zL.prototype.EJ=function(a){this.g.dispatchEvent(new nza(a))};zL.prototype.DJ=function(a){this.g.dispatchEvent(new oza(a))};
2365zL.prototype.IL=function(){this.g.dispatchEvent("td")};var pza=cb(function(a,b){function c(){}c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d},function(){if(Jv&&!Wv(10))throw Error("Environmental error: no available transport.");});function AL(a,b){return null!=a&&a.Yp===b};function qza(a){if(null!=a)switch(a.rC){case 1:return 1;case -1:return-1;case 0:return 0}return null}function X(a){return AL(a,Vx)?a:a instanceof td?Y(vd(a).toString(),a.g()):Y(Pd(String(String(a))),qza(a))}var Y=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));void 0!==d&&(c.rC=d);return c}}(Xx);
2366function BL(a,b){return Wa(a)&&Wa(b)?a.Yp!==b.Yp?!1:a.toString()===b.toString():a instanceof Wx&&b instanceof Wx?a.Yp!=b.Yp?!1:a.toString()==b.toString():a==b}function CL(a){return a instanceof Wx?!!a.Fd():!!a}function DL(a){return AL(a,Vx)?String(a.Fd()).replace(rza,EL):Pd(String(a))}function FL(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")}function Z(a){return AL(a,Vx)?String(String(a.Fd()).replace(sza,"").replace(tza,"&lt;")).replace(rza,EL):Pd(String(a))}
2367function GL(a){return AL(a,Vx)?String(String(a.Fd()).replace(sza,"").replace(tza,"&lt;")).replace(uza,EL):String(a).replace(vza,EL)}var HL=/['()]/g;function wza(a){return"%"+a.charCodeAt(0).toString(16)}function IL(a){a=Od(String(a));HL.lastIndex=0;return HL.test(a)?a.replace(HL,wza):a}function JL(a){AL(a,Tla)||AL(a,Ula)?a=KL(a):a instanceof Pc?a=KL(Rc(a)):a instanceof rc?a=KL(tc(a).toString()):(a=String(a),a=xza.test(a)?a.replace(LL,ML):"about:invalid#zSoyz");return a}
2368function yza(a){AL(a,Tla)||AL(a,Ula)?a=KL(a):a instanceof Pc?a=KL(Rc(a)):a instanceof rc?a=KL(tc(a).toString()):(a=String(a),a=zza.test(a)?a.replace(LL,ML):"about:invalid#zSoyz");return a}function NL(a){AL(a,Vla)?a=FL(a.Fd()):null==a?a="":a instanceof Uc?a=FL(Wc(a)):a instanceof ed?a=FL(hd(a)):(a=String(a),a=Aza.test(a)?a:"zSoyz");return a}
2369var Bza={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"};function EL(a){return Bza[a]}
2370var Cza={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",
2371")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB",
2372"\uff3d":"%EF%BC%BD"};function ML(a){return Cza[a]}
2373var rza=/[\x00\x22\x27\x3c\x3e]/g,vza=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,uza=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,LL=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,Aza=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s+|$))*$/i,xza=
2374/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,zza=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i;function KL(a){return String(a).replace(LL,ML)}var sza=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,tza=/</g;function Dza(a){var b=a.lU,c=a.k6;a=a.i8;return Y('<table border="1"><thead><tr><td class="'+Z("Gd")+'">Host</td><td class="'+Z("Gd")+'">Lost</td><td class="'+Z("Gd")+'">Recv</td><td class="'+Z("Gd")+'">Avg</td><td class="'+Z("Gd")+'">Best</td><td class="'+Z("Gd")+'">Worst</td><td class="'+Z("Gd")+'">Std Dev</td></tr></thead><tbody><tr><td class="'+Z("Gd")+'">googleapis.com</td><td class="'+Z("Gd")+'">'+X(b.goog.lost)+'</td><td class="'+Z("Gd")+'">
2374'+X(b.goog.recv)+'</td><td class="'+Z("Gd")+'">'+
2375X(b.goog.avg)+'</td><td class="'+Z("Gd")+'">'+X(b.goog.fast)+'</td><td class="'+Z("Gd")+'">'+X(b.goog.slow)+'</td><td class="'+Z("Gd")+'">'+X(b.goog.stddev)+'</td></tr><tr><td class="'+Z("Gd")+'">'+X(c)+'</td><td class="'+Z("Gd")+'">'+X(b.sg.lost)+'</td><td class="'+Z("Gd")+'">'+X(b.sg.recv)+'</td><td class="'+Z("Gd")+'">'+X(b.sg.avg)+'</td><td class="'+Z("Gd")+'">'+X(b.sg.fast)+'</td><td class="'+Z("Gd")+'">'+X(b.sg.slow)+'</td><td class="'+Z("Gd")+'">'+X(b.sg.stddev)+'</td></tr><tr><td class="'+
2376Z("Gd")+'">'+X(a)+'</td><td class="'+Z("Gd")+'">'+X(b.shard.lost)+'</td><td class="'+Z("Gd")+'">'+X(b.shard.recv)+'</td><td class="'+Z("Gd")+'">'+X(b.shard.avg)+'</td><td class="'+Z("Gd")+'">'+X(b.shard.fast)+'</td><td class="'+Z("Gd")+'">'+X(b.shard.slow)+'</td><td class="'+Z("Gd")+'">'+X(b.shard.stddev)+"</td></tr></tbody></table>")};var OL={},PL=null,QL=null;OL.message=function(a){a=a.data;switch(a.type){case "networktest_probe_resp":QL(a);QL=null;break;default:throw Error("unsupported event type: "+a.type);}};
2377OL.test=function(){return r(function(a){if(1==a.g)return navigator.serviceWorker?p(a,qI.controller(),2):a.return({message:"No Service Worker support",result:0});PL=a.h;if(!PL)return a.return({message:"No Active Service Worker",result:0});PL.postMessage({type:"networktest_probe",sgHost:La.location.origin,shardHost:fK});return a.return(new Promise(function(b){QL=b}))})};
2378OL.result=function(a){switch(a){case 1:return"Your network appears reliable";case 2:return"Your network is experiencing packet loss. Contact your network administrator.";case 3:return"Third level SameGoal domains are blocked. Contact your administrator to verify that your firewall and antivirus is configured to allow access to SameGoal.";case 4:return"Third level SameGoal domains are blocked and / or your network is experiencing significant packet loss. Contact your administrator to verify that your firewall and antivirus is configured to allow access to SameGoal and your network is not experiencing packet loss.";
2379case 5:return"SameGoal domains are blocked or samegoal.com is down. Contact your network administrator.";case 6:return"Your network is experiencing significant latency. Access to SameGoal will be degraded. Contact your network administrator.";case 7:return"Your network is experiencing packet loss and significant latency. Contact your network administrator.";case 8:return"You are offline. Check your internet connection.";default:return"Unknown result: "+a}};
2380OL.table=function(a,b){Yx(b,Dza,{lU:a,k6:La.location.hostname,i8:fK.replace(/^https:\/\//,"").split(":")[0]})};eL=function(a,b,c,d){a=new WK(a,b,c,d);Jv&&Wv(10)&&(a.mb=!1);return a};PK.prototype.h=function(a){CK.g(a)};PK.prototype.g=function(a,b,c){this.info("XMLHTTP TEXT ("+a+"): "+b+(c?" "+c:""))};xL.prototype.wL=function(){return new ue("/cleardot.gif")};var sL=null,RL=[],SL=[],TL=!0,UL=!0,VL=!1;
2381function Eza(){pza();sL=new yL(fK+"/channel",{rS:!0});D(sL,"sd",Fza);D(sL,"td",Gza);D(sL,"ud",Hza);D(sL,"vd",Iza);var a=sL;a.g.g=a.j;a.m&&(a.g.Wa=!0);var b=a.g,c=a.L,d=a.l;a=a.h||void 0;SK(0);b.Na=d;b.Za=a||{};b.va&&(b.Ha.h=[],b.Ha.g=!1);b.Z=new Qya(b,b.l);null===b.s&&(b.Z.m=b.L);d=c;b.s&&b.L&&(d=oL(c,b.s,b.L));b=b.Z;b.L=d;c=gL(b.g,null,b.L);SK(3);d=b.g.Ha.h;null!=d?(b.o=d[0],b.Gk=1,Rya(b)):(Ge(c,"MODE","init"),!b.g.va&&b.g.T&&Ge(c,"X-HTTP-Session-Id",b.g.T),b.h=eL(b,b.s),b.h.L=b.m,ZK(b.h,c,!1,null),
2382b.Gk=0);UG(Jza,1E4)}
2383function Jza(){var a,b,c,d,e,f;return r(function(g){if(1==g.g){a=z("bootstrap_msg_text");if(!a)return g.return();a.innerHTML='Loading slowly <a href="/iep">reload</a>';b=OL;return p(g,b.test(),2)}c=g.h;if(0==c.result||1==c.result)return g.return();d=B("BUTTON",void 0,"Details");e=B("DIV",{style:"padding-top: 1em","class":"gc"},b.result(c.result)," ",d);f=B("DIV",{style:"display: none; justify-content: center"});b.table(c,f);Ix(d,"click",function(){f.style.display="flex";d.remove()});a.appendChild(e);
2384a.appendChild(f);ua(g)})}function Kza(){var a=SL;SL=[];a=m(a);for(var b=a.next();!b.done;b=a.next())b=b.value,VL&&UL?SL.push(b):sL.send(b)}function Fza(){UL=!1;AK.ba("A");Txa=rL()}function Gza(){UL=!0}function Hza(a){TL?RL.push(a):Lza(a)}function Lza(a){1==a.status?UG(function(){AK.ba("E","network error")},2E3):2==a.status&&AK.ba("E","server error")}function Iza(a){a=a.data.toString();WG(a);TL?RL.push(a):Mza(a)}
2385function Mza(a){a=dma(a);var b=new E(a);for(a=new nB;
2385b.Aa()&&!b.Ca();)switch(b.g){case 1:var c=b.oa();M(a,1,c);break;case 2:c=b.eb();M(a,2,c);break;case 3:c=b.G();M(a,3,c);break;case 4:c=new QB;b.R(c,Pta);T(a,4,c);break;case 5:c=new LB;b.R(c,Mta);mz(a,5,c,LB,void 0);break;case 6:c=new qB;b.R(c,gta);mz(a,6,c,qB,void 0);break;case 7:c=new rB;b.R(c,ZE);mz(a,7,c,rB,void 0);break;case 8:c=new sB;b.R(c,bF);mz(a,8,c,sB,void 0);break;case 9:c=new AB;b.R(c,nF);mz(a,9,c,AB,void 0);break;case 10:c=new DB;b.R(c,
2386zta);mz(a,10,c,DB,void 0);break;case 11:c=new PB;b.R(c,Ota);T(a,11,c);break;case 12:c=new VB;b.R(c,Yta);T(a,12,c);break;case 13:c=b.eb();ata(a,c);break;case 14:c=new JB;b.R(c,Lta);mz(a,14,c,JB,void 0);break;case 15:c=new CB;b.R(c,pF);mz(a,15,c,CB,void 0);break;case 16:c=new cC;b.R(c,eua);mz(a,16,c,cC,void 0);break;case 17:c=new FC;b.R(c,Rua);T(a,17,c);break;case 18:c=new UB;b.R(c,Xta);T(a,18,c);break;case 19:c=b.G();kz(a,19,c,void 0);break;case 20:c=new YB;b.R(c,cua);mz(a,20,c,YB,void 0);break;case 21:c=
2387new eC;b.R(c,fua);mz(a,21,c,eC,void 0);break;case 22:c=new gC;b.R(c,hua);T(a,22,c);break;case 23:c=b.Ba();M(a,23,c);break;case 24:c=new iC;b.R(c,iua);T(a,24,c);break;case 25:c=new kC;b.R(c,mua);T(a,25,c);break;case 26:c=b.eb();M(a,26,c);break;case 27:c=new oC;b.R(c,tua);mz(a,27,c,oC,void 0);break;case 28:c=new sC;b.R(c,Dua);T(a,28,c);break;case 29:c=new tC;b.R(c,Eua);T(a,29,c);break;case 30:c=new nC;b.R(c,qua);T(a,30,c);break;case 31:c=new wC;b.R(c,Hua);T(a,31,c);break;case 32:c=new zC;b.R(c,Nua);
2388mz(a,32,c,zC,void 0);break;case 33:c=new FB;b.R(c,Bta);T(a,33,c);break;case 34:c=b.G();kz(a,34,c,void 0);break;case 36:c=new GC;b.R(c,Tua);mz(a,36,c,GC,void 0);break;case 37:c=new KC;b.R(c,bva);mz(a,37,c,KC,void 0);break;case 38:c=new EC;b.R(c,vF);T(a,38,c);break;case 39:c=new NC;b.R(c,fva);mz(a,39,c,NC,void 0);break;case 40:c=new ZB;b.R(c,dua);mz(a,40,c,ZB,void 0);break;case 41:c=b.G();M(a,41,c);break;case 42:c=new PC;b.R(c,kva);T(a,42,c);break;case 43:c=new zz;b.R(c,Yma);mz(a,43,c,zz,void 0);break;
2389case 44:c=new SC;b.R(c,ova);mz(a,44,c,SC,void 0);break;case 45:c=new Iz;b.R(c,rna);T(a,45,c);break;case 46:c=new UC;b.R(c,pva);T(a,46,c);break;case 47:c=new MC;b.R(c,dva);mz(a,47,c,MC,void 0);break;case 48:c=new bD;b.R(c,wva);T(a,48,c);break;case 49:c=b.G();M(a,49,c);break;case 50:c=new iD;b.R(c,Fva);T(a,50,c);break;case 51:c=new fC;b.R(c,gua);T(a,51,c);break;case 1001:c=new LC;b.R(c,cva);mz(a,1001,c,LC,void 0);break;case 1002:c=new YC;b.R(c,tva);T(a,1002,c);break;case 1003:c=new Kz;b.R(c,wna);T(a,
23901003,c);break;case 1004:c=new jB;b.R(c,aqa);mz(a,1004,c,jB,void 0);break;case 1005:c=new Gz;b.R(c,mna);T(a,1005,c);break;case 1006:c=new dD;b.R(c,gva);mz(a,1006,c,dD,void 0);break;case 1007:c=new ZC;b.R(c,uva);T(a,1007,c);break;case 1008:c=new gD;b.R(c,Eva);mz(a,1008,c,gD,void 0);break;case 1009:c=new fD;b.R(c,Dva);mz(a,1009,c,fD,void 0);break;case 1010:c=b.Ba();M(a,1010,c);break;case 1011:c=new $C;b.R(c,vva);T(a,1011,c);break;case 1012:c=new NB;b.R(c,Nta);mz(a,1012,c,NB,void 0);break;default:b.za()}AK.ba("B",
2391a);b=null!=I(a,3)?L(a,3,""):void 0;c=null!=I(a,49)?L(a,49,""):void 0;if(void 0!==b||void 0!==c)AK.ba("H",b,c);else switch(null!=I(a,1)?L(a,1,0):null){case 22:AK.ba("Ba",a);break;case 85:AK.ba("K",a);break;case 15:AK.ba("j",a);break;case 11:AK.ba("L",a);break;case 1:AK.ba("N",a);break;case 38:AK.ba("O",a);break;case 41:AK.ba("R",a);break;case 3:AK.ba("X",a);break;case 4:AK.ba("Z",a);break;case 5:AK.ba("T",a);break;case 2:AK.ba("V",a);break;case 54:AK.ba("aa",a);break;case 55:AK.ba("aa",a);AK.ba("ba",
2392a);break;case 24:AK.ba("ca",a);break;case 35:AK.ba("U",a);break;case 6:AK.ba("ha",a);break;case 43:AK.ba("wb",a);break;case 88:AK.ba("vb",a);break;case 33:AK.ba("ia",a);break;case 34:AK.ba("ja",a);break;case 7:AK.ba("ga",a);break;case 8:AK.ba("la",a);break;case 9:AK.ba("ma",a);break;case 10:AK.ba("na",a);break;case 13:AK.ba("ra",a);break;case 18:AK.ba("ya",a);break;case 19:AK.ba("za",a);break;case 20:AK.ba("Aa",a);break;case 25:AK.ba("Da",a);break;case 42:AK.ba("S",a);break;case 26:AK.ba("va",a);
2393break;case 60:AK.ba("wa",a);break;case 62:AK.ba("xa",a);break;case 28:AK.ba("rc",a);break;case 29:AK.ba("v",a);break;case 12:window.location=L(N(a,VB,12),1,"");break;case 30:AK.ba("jc",a);break;case 31:AK.ba("sc",a);break;case 32:AK.ba("tc",a);break;case 36:AK.ba("Ic",a);break;case 37:AK.ba("Jc",a);break;case 78:AK.ba("Lc",a);break;
2393case 39:AK.ba("ka",a);break;case 40:AK.ba("oa",a);break;case 44:AK.ba("Yc",a);break;case 46:AK.ba("Zc",a);break;case 53:AK.ba("bd",a);break;case 48:AK.ba("$c",a);break;
2394case 50:AK.ba("ad",a);break;case 67:AK.ba("cd",a);break;case 45:AK.ba("da",a);break;case 49:AK.ba("kc",a);break;case 81:AK.ba("lc",a);break;case 83:AK.ba("mc",a);break;case 51:AK.ba("Bc",a);break;case 52:AK.ba("Cc",a);break;case 56:AK.ba("V",a);break;case 68:AK.ba("V",a);break;case 57:AK.ba("vc",a);break;case 58:AK.ba("ua",a);break;case 59:AK.ba("pa",a);break;case 61:AK.ba("ea",a);break;case 70:AK.ba("fa",a);break;case 63:AK.ba("qa",a);break;case 64:AK.ba("Mc",a);break;case 65:AK.ba("Tc",a);break;
2395case 69:AK.ba("eb",a);break;case 71:AK.ba("Nc",a);break;case 72:AK.ba("Uc",a);break;case 73:AK.ba("Qc",a);break;case 74:AK.ba("Kc",a);break;case 75:AK.ba("pd",a);break;case 76:AK.ba("Wc",a);break;case 77:AK.ba("Xc",a);break;case 79:AK.ba("Oc",a);break;case 80:AK.ba("Gc",a);break;case 84:AK.ba("nc",a);break;case 82:AK.ba("Rc",a);break;case 86:AK.ba("Sc",a);break;case 87:AK.ba("Ga",a);break;case 89:AK.ba("oc",a);break;case 91:AK.ba("pc",a);break;case 95:AK.ba("qc",a);case 92:AK.ba("qd",a);break;case 93:AK.ba("rd",
2396a);break;case 94:AK.ba("Zb",a);break;case 96:AK.ba("Pc",a);break;default:throw Error("unsupported message type: "+L(a,1,0));}}function Nza(){for(var a=0,b=RL.length;a<b;++a){var c=RL[a];c instanceof VK?Lza(c):Mza(c)}RL=null;TL=!1};var WL=[],XL=[];function Oza(a){var b=a.getValue();100<b.length&&(b=b.substring(0,100),b+="...<remainder truncated due to large value>");return{edit_type:L(a,1,0),action_type:L(a,2,0),unique_id:L(a,5,""),form_type:L(a,6,0),key:a.getKey(),value:b,value_type:a.Cj(),hidden:a.Jn(),short_name:a.Dg(),topic:a.Eg(),autofill:a.xj(),last_saved:L(a,14,0),case_id:L(a,15,""),grade:a.Aj()}}
2397function Pza(a){var b=rL(),c=JSON.parse(window.localStorage.getItem("networkErrors")||"[]");Array.isArray(c)||(c=[]);a={tag:a,sessionID:b,timestamp:(new Date).toISOString(),requests:WL.slice(-10),lastEdit:XL.map(Oza)};c.push(a);window.localStorage.setItem("networkErrors",JSON.stringify(c));WL=[];XL=[]};var Qza={taa:"account_password",Gca:"linked_account",Hca:"linked_account_delete",qba:"display_option",dba:"dashboard",Ida:"recent",Waa:"caseload",yaa:"all",Dca:"label",Nca:"manage_labels",Paa:"bulk_share",rba:"district_transfer",lba:"deadlines",hda:"notification_settings",tba:"download_backups",Sba:"form",zT:"batch_edit",Uba:"form_preview",Zaa:"check",Aaa:"attachments",Xda:"share",jda:"no_permission",lca:"instance_form",Qea:"user_form",oda:"object_form",sea:"translation_config",rea:"translation",
2398tea:"translation_confirmation",Zba:"guardian_home",Nea:"users_list",Oea:"user_add",Uea:"user_update",Pea:"user_docs_list",uaa:"admin_reset_password",Oda:"rename_user",kda:"objects_list",lda:"object_add",pda:"object_update",nda:"object_docs_list",mda:"object_collapse",Nda:"rename_object",jea:"student_team",tca:"instance_settings",vca:"instance_update",mca:"instance_forms_list",nca:"instance_form_add",pca:"instance_form_update",oca:"instance_form_settings",yba:"enrollment_programs_list",zba:"enrollment_program_add",
2399Aba:"enrollment_program_update",Bba:"enrollment_timeline",mba:"deadline_list",ica:"instance_banks",jca:"instance_bank_update",uca:"instance_technical",rca:"instance_reports",sca:"instance_reports_custom",Rea:"user_roles_list",Tea:"user_role_update",Sea:"user_role_reports",Bda:"pdf_import",Cda:"pdf_import_list",zda:"pdf_export_list",Ada:"pdf_export_load",Maa:"buildings_list",Naa:"building_add",Oaa:"building_update",qca:"instance_labels_list",Wba:"grades_list",kca:"instance_csv_loader",Jca:"load_data",
2400Saa:"calendar",Taa:"calendar_building_list",hba:"data_transfer_list",gba:"data_transfer_add",iba:"data_vendor_add",jba:"data_vendor_update",eba:"data_export_update",fba:"data_import_update",Oca:"meeting",bba:"create_instance",Gba:"exception"};function YL(a){ux.call(this);a=null!=a.match(/\bpageName=[^&]/)?a:a?"pageName=recent&"+a:"pageName=recent";this.g=null;a:{var b=a.split("&");for(var c=0,d=b.length;c<d;c++){var e=b[c].split("=");if("pageName"==e[0]){b=e[1];break a}}b=""}if(!cc(Qza,b)||!WJ&&Rza.has(b))a="pageName=",AK.ba("Ha"),AK.ba("d");b=new Map;if(null!==a&&""!=a){c=new Ce(a);d=c.dh();e=0;for(var f=d.length;e<f;++e){var g=d[e];b.set(g,c.gc(g)[0])}}this.g=b;this.h=Be((new Ce(a)).toString())}x(YL,ux);var Rza=new Set("admin_reset_password buildings_list building_add building_update calendar calendar_building_list create_instance data_export_update data_import_update data_transfer_add data_transfer_list data_vendor_add data_vendor_update district_transfer download_backups grades_list instance_banks instance_bank_update instance_csv_loader instance_form instance_forms_list instance_form_settings instance_settings instance_technical load_data object_add pdf_export_list pdf_import_list rename_user users_list user_add user_docs_list user_roles_list user_role_update user_update".split(" "));
2401YL.prototype.re=function(){return this.h};function ZL(a,b){return a.g.has(b)}YL.prototype.na=function(a){return this.g.get(a)};YL.prototype.setAttribute=function(a,b){this.g.set(a,b);var c=[];this.g.forEach(function(d,e){c.push(e+"="+d)});this.h=Be((new Ce(c.join("&"))).toString())};function $L(a,b){a=new Ce(a.h);b=m(b);for(var c=b.next();!c.done;c=b.next())a.remove(c.value);return a.toString()}
2402function Sza(){for(var a=new Ce(mH.g.h),b=new Ce,c=m(Tza),d=c.next();!d.done;d=c.next())d=d.value,Le(a,d)&&He(b,d,a.gc(d));return b.toString()}function Uza(a){var b=z("page_body").parentElement;b&&"div"===b.tagName.toLowerCase()&&(a?b.classList.add("Oe"):b.classList.remove("Oe"))};function aM(){this.X=AK;this.g=new YL("pageName=recent");this.o=!0;this.h=null;this.s=new Map;this.j=[];this.l={};zK(this.X,"i",this.V4,this)}Ra(aM);h=aM.prototype;h.oG="";h.qO=!1;h.xm=function(){for(var a=0,b=nH.g.length;a<b;a++)if(!nH.g[a].xm())return!1;return!0};function bM(){return confirm("Your changes have not been saved. Are you sure you want to leave this page?")}
2403h.gV=function(a){var b=Zw(a.target,"A");null!=b&&(null!=b.target&&"_blank"==b.target.toString()||this.xm()||(bM()?this.X.ba("h"):a.preventDefault()))};function cM(){var a=mH,b=new YL(La.location.hash.substr(1));dM(a,b,!0)}
2404function dM(a,b,c){c||(c=a.g.re()!=b.re()?!0:!1);if(c||a.o){if(a.o){c=nH;Jw(z("bootstrap_msg"));var d=b.na("media");if(w(d)&&1!=d)2==d&&Vza(c);else{gx(document.body,"ke");d=(d=ZL(b,"collapse"))||ZL(b,"meetingMode");var e=ew("BODY")[0];D(e,"click",mH.gV,!0,mH);c.l=new EH;c.l.render(e);e=c.l.w();var f=KJ,g=f&&0<f.length?f[0].eg():"";f=f&&0<f.length?L(f[0],2,""):"";for(var k=[],l=m(Rxa),n=l.next();!n.done;n=l.next())n=n.value,k.push({m0:n.getTitle(),TM:L(n,2,""),AE:n.gD(),UM:L(n,3,"")});g=ay(Wza,{Ey:iK(),
2405Rq:jK(),Eo:YJ,FA:ZJ,Sy:g,Ty:f,wH:yF(AF).includes(53),pj:cK||dK,Uf:zF(),SM:k,l6:Xza()});e.appendChild(g);c.m=z("top_bar");new Yza;new eM;new fM;new gM;e=z("toolbar");g=[];g.push(hM("+undo","undo"));g.push(hM("+redo","redo"));g.push(iM());f=Zza();f.rc=!0;g.push(f);f=$za();f.rc=!0;g.push(f);g.push(hM("+bold","format_bold"));g.push(hM("+italic","format_italic"));g.push(hM("+underline","format_underline"));g.push(hM("+foreColor","format_color_text"));g.push(hM("+backColor","format_color_fill"));g.push(aAa());
2406g.push(iM());g.push(jM("+insertHorizontalRule","Insert Horizontal Rule","horizontal_rule","E K S",void 0,void 0));g.push(bAa());g.push(jM("+imageInsertLocal","Insert image","image","E K S",void 0,void 0));g.push(iM());g.push(hM("+insertOrderedList","format_list_numbered"));g.push(hM("+insertUnorderedList","format_list_bulleted"));g.push(hM("+indent","format_indent_increase"));g.push(hM("+outdent","format_indent_decrease"));g.push(hM("+justifyLeft","format_align_left"));g.push(hM("+justifyCenter",
2407"format_align_center"));g.push(hM("+justifyRight","format_align_right"));g.push(hM("+justifyFull","format_align_justify"));g.push(iM());g.push(cAa());e=kM(g,e);dAa(lM.getInstance(),e);e=z("doc_toolbar");f=zF();g=[];g.push(iM());k=mM("completion_menu","Document is complete","lock","E K Q");l=nM(void 0,oM.getInstance());k.gf(l);k.W(!1);k.Ga(!1);pM=k;g.push(pM);3<=f&&(f=qM("translation","Click to translate","translate","E Q",void 0,void 0),f.W(!1),rM=f,g.push(rM));f=jM("info/details","Info/Details",
2408"info","E K Q",void 0,void 0);f.Ga(!1);sM=f;g.push(sM);f=jM("prevError","Previous Error","chevron_left","E K Q",void 0,void 0);f.rd("od");tM=f;g.push(tM);f=jM("nextError","Next Error","chevron_right","E K Q",void 0,void 0);f.rd("od");uM=f;g.push(uM);f=qM("validation","Validation Mode","check_circle_outline","E Q",void 0,void 0);f.W(!1);vM=f;g.push(vM);f=qM("docHistory","Document History","history","E Q",void 0,void 0);f.W(!1);wM=f;g.push(wM);f=mM("meeting_mode","Meeting Mode","desktop_windows","E Q");
2409xM(f,"Present","solo");k=xM(f,"Present Limited","limited");l=eAa();k.Ea(l,!0);xM(f,"Share Meeting Mode","share_meeting");f.W(!1);yM=f;g.push(yM);f=qM("meeting_exit","Exit Meeting Mode","desktop_windows","E Q",void 0,void 0);f.W(!1);f.Ga(!1);zM=f;g.push(zM);f=mM("print","Print","print","E K Q");k=nM(void 0,oM.getInstance());f.gf(k);f.W(!1);AM=f;g.push(AM);g.push(iM());BM=kM(g,e);BM.W(!0);c.L=BM;e=sM;g=tM;f=uM;D(vM,"action",c.dT,!0,c);D(e,"action",c.lW,!0,c);D(g,"action",c.q1,!0,c);D(f,"action",c.p1,
2410!0,c);zK(c.X,"Sa",c.DH,c);D(wM,"action",c.oW,!0,c);rM&&D(rM,"action",c.q9,!0,c);e=z("collapse_expand_toolbar");g=qM("collapse","Collapse","expand_less","E K S",void 0,void 0);e=kM([g],e);e.W(!0);c.h=e;D(MH(c.h,0),"action",c.sx,!0,c);c.T=new EH;c.T.render(z("save_region_hook"));e=new IM(c.X,c.T);
2410e=new JM(c.X,e);c.g.push(e);c.s=e;KM=new EH;LM=new EH;LM=new MM;NM=new OM(PM,KM,LM,"horizontal");cK||dK?(NM.iu=0,NM.bE=0):NM.bE=175;QM=new JK;D(QM,"resize",RM);fAa=new IK;D(fAa,"fontsizechange",RM);e=NM;e.render(z("page_body"));
2411d&&(SM(MH(c.h,0),16,!0),c.sx(null),TM(e));c.u=KM;d=new UM(c.X,c.u);d=new VM(c.X,d);c.g.push(d);c.o=LM;c.j=new WM(c.X,c.o);d=new XM(c.X,c.j,"yd");c.g.push(d);(d=z("notifications"))&&new gAa(d);(d=z("support"))&&new hAa(d,c.X);(d=z("login_message_close"))&&Ix(d,"click",c.LJ,void 0,c);YM(c,!1)}}a.xm()?iAa(a,b):bM()?iAa(a,b):(a=a.g.re(),NK(a))}}
2412function iAa(a,b){var c=a.g.re();a.j.push(c);var d=a.g.na("pageName");a.oG=c;a.s.set(d,c);C(a.g);a.g=b;a.o=!1;a.qO&&window.location.reload();b=0;for(c=nH.g.length;b<c;b++)a.l[nH.g[b].Xf]=!1;a.X.ba("e",a.g)}function jAa(a){var b=mH;C(b.g);b.g=new YL(a)}h.V4=function(a){a=this.l[a]=!0;for(var b=0,c=nH.g.length;b<c;b++)if(!this.l[nH.g[b].Xf]){a=!1;break}a&&(this.X.ba("f"),iK()&&(nw().appReady=!0))};function ZM(a){return""==a.oG?"pageName=recent":a.oG}
2413function $M(a){var b=aM.getInstance().s.get(a);return w(b)?"#"+b:"#pageName="+a};function XM(a,b,c){ux.call(this);this.Xf=c;this.X=a;this.l=b;this.j=this.h=null;zK(this.X,"g",this.m6,this);zK(this.X,"e",this.cF,this);zK(this.X,"f",this.dF,this)}x(XM,ux);h=XM.prototype;h.Xf="yd";h.xm=function(){return null===this.h?!0:this.h.xm()};h.m6=function(){if(!this.o){var a=this.h;null===a||a.Tf()}};h.cF=function(a){if(!this.o){aN(this);var b=this.h;null===b||b.Tf();this.h=this.l.j(a);this.j=b;null===this.h?this.X.ba("i",this.Xf):(this.h.Xf=this.Xf,bN(this.h,a))}};
2414h.dF=function(){this.o||(aN(this),null===this.h||cN(this.h))};function aN(a){null!==a.j&&(C(a.j),a.j=null)};function dN(){ux.call(this);this.g=new Map;this.j=[];this.h=new TG(6E4);this.X=AK;zK(this.X,"B",this.NZ,this);zK(this.X,"A",this.n6,this);zK(this.X,"E",this.nG,this);zK(this.X,"z",this.S8,this);D(this.h,"tick",this.b9,void 0,this)}x(dN,ux);Ra(dN);h=dN.prototype;h.ct="Ad";h.Sv=0;
2415function eN(a,b,c){var d={reqType:L(b,1,0),timestamp:(new Date).toISOString()};WL.push(d);1==d.reqType&&(XL=S(b,LB,5));if(!UL||VL){for(d=b.Sa();0!=a.j.length;){var e=a.j.pop(),f=e.X5;e=e.nK;var g=new mB;M(g,1,f);M(g,2,Math.round(e));mz(b,42,g,mB,void 0)}b=ly(b.ra());f={p:b};VL&&UL?SL.push(f):sL.send(f);w(c)&&c||(a.g.set(d,{startTime:Date.now(),traceStart:performance.now(),request:b}),a.h.stop(),a.h.start(),0!=a.Sv?--a.Sv:a.X.ba("C"),iK()&&(nw().outstandingRequests=!0))}else a.nG()}
2416h.NZ=function(a){if(!this.o){var b=a.Va()?a.Sa():null;if(null!==b&&w(this.g.get(b))){var c=performance.now(),d=this.g.get(b),e=c-d.traceStart;d&&(0>e&&(CK.g(Error("inconsistent delta: reqType: "+L(a,1,0)+", currTime: "+c+"ms, start: "+d.traceStart+"ms"),void 0,!0),e=0),this.j.push({X5:b,nK:e}));this.g.delete(b);0==this.g.size&&(this.h.stop(),this.X.ba("D"),iK()&&(nw().outstandingRequests=!1));console.log("handleServerReply: "+L(a,1,0)+",  "+(new Date).toLocaleTimeString()+" ("+e+"ms)")}}};
2417h.b9=function(){if(UL)this.nG();else{for(var a,b=performance.now(),c=m(this.g.keys()),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.g.get(d),f=b-e.traceStart;6E4<f&&(this.g.delete(d),!w(a)||d<a.Tz)&&(e.elapsedMs=f,a={Tz:d,request:e})}this.h.stop();0==this.g.size?this.X.ba("D"):(this.h.start(),this.X.ba("C"));if(w(a))var g=a.request;this.X.ba("G",g)}};
2418h.n6=function(){if(!this.o)switch(this.ct){case "zd":this.ct="Bd";this.jE&&(this.h.stop(),this.h.start());break;case "Ad":this.ct="Bd",0==!this.g.size?this.X.ba("C"):this.X.ba("D"),this.jE&&this.h.start()}};h.nG=function(){if(!this.o)switch(this.ct){case "zd":case "Bd":this.h.stop(),this.ct="Ad",this.X.ba("E","channel closed")}};h.S8=function(){this.o||(this.Sv+=1)};function fN(a,b){if(!a)throw Error("Invalid class name "+a);if(!Wa(b))throw Error("Invalid decorator function "+b);gN[a]=b}var kAa={},gN={};function hN(a){this.g=a}Ra(hN);function iN(a,b){a=new a;a.ab=function(){return b};return a}function jN(a,b){a&&(a.tabIndex=b?0:-1)}h=hN.prototype;h.Yt=function(a){return a.g.O("DIV",this.rD(a).join(" "))};h.ib=function(a){return a};h.qD=function(a){return"DIV"==a.tagName};function lAa(a,b,c){c.id&&GH(b,c.id);var d=a.ab(),e=!1,f=ex(c);f&&Fb(f,function(g){g==d?e=!0:g&&this.lG(b,g,d)},a);e||gx(c,d);kN(a,b,a.ib(c));return c}
2419h.lG=function(a,b,c){b==c+"-th"?a.W(!1):b==c+"-Lq"?lN(a,mN):b==c+"-bl"&&lN(a,nN)};function kN(a,b,c,d){if(c){d=d||c.firstChild;for(var e;d&&d.parentNode==c;){e=d.nextSibling;if(1==d.nodeType){var f=a.Lt(d);f&&(f.j=d,b.isEnabled()||f.W(!1),b.Ea(f),f.ue(d))}else d.nodeValue&&""!=yc(d.nodeValue)||c.removeChild(d);d=e}}}h.Lt=function(a){a:{a=ex(a);for(var b=0,c=a.length;b<c;b++){var d=a[b];if(d=d in gN?gN[d]():null){a=d;break a}}a=null}return a};
2420h.sD=function(a){a=a.w();FG(a,!0,Mv);Jv&&(a.hideFocus=!0);var b=this.g;b&&pH(a,b)};h.Wc=function(a){return a.w()};h.ab=function(){return"jb-ye"};h.rD=function(a){var b=this.ab(),c=[b,a.om==mN?b+"-Lq":b+"-bl"];a.isEnabled()||c.push(b+"-th");return c};h.rL=function(){return nN};function oN(){}var pN;Ra(oN);function qN(a,b){a=new a;a.ab=function(){return b};return a}var mAa={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};h=oN.prototype;h.Ik=function(){};h.We=function(a){return a.g.O("DIV",rN(this,a).join(" "),a.Fd())};h.ib=function(a){return a};h.zi=function(a,b,c){if(a=a.w?a.w():a){var d=[b];
2420Jv&&!Vv("7")&&(d=sN(ex(a),b),d.push(b));(c?hx:vla)(a,d)}};h.Un=function(){return!0};
2421h.Xc=function(a,b){b.id&&GH(a,b.id);var c=this.ib(b);c&&c.firstChild?a.To(c.firstChild.nextSibling?Sb(c.childNodes):c.firstChild):a.To(null);var d=0,e=this.ab(),f=this.ab(),g=!1,k=!1,l=!1,n=Sb(ex(b));Fb(n,function(t){g||t!=e?k||t!=f?d|=this.Lx(t):k=!0:(g=!0,f==e&&(k=!0));1==this.Lx(t)&&Uw(c)&&Vw(c,!1)},this);a.pm=d;g||(n.push(e),f==e&&(k=!0));k||n.push(f);(a=a.Ai)&&n.push.apply(n,a);if(Jv&&!Vv("7")){var q=sN(n);0<q.length&&(n.push.apply(n,q),l=!0)}if(!g||!k||a||l)b.className=n.join(" ");return b};
2422h.Dj=function(a){NH(a)&&this.Tx(a.w(),!0);a.isEnabled()&&this.ih(a,a.isVisible())};function tN(a,b,c){if(a=c||a.Ik())c=b.getAttribute("role")||null,a!=c&&pH(b,a)}function nAa(a,b,c){var d=b.jd;null!=d&&uH(c,d);b.isVisible()||qH(c,"hidden",!b.isVisible());b.isEnabled()||a.bj(c,1,!b.isEnabled());uN(b,8)&&a.bj(c,8,vN(b,8));uN(b,16)&&a.bj(c,16,b.Pc());uN(b,64)&&a.bj(c,64,vN(b,64))}h.Sx=function(a,b){FG(a,!b,!Jv&&!Iv)};h.Tx=function(a,b){this.zi(a,this.ab()+"-Np",b)};
2423h.vD=function(a){var b;return uN(a,32)&&(b=a.Wc())?Uw(b):!1};h.ih=function(a,b){var c;if(uN(a,32)&&(c=a.Wc())){if(!b&&vN(a,32)){try{c.blur()}catch(d){}vN(a,32)&&a.Ux(null)}Uw(c)!=b&&Vw(c,b)}};h.Ga=function(a,b){CG(a,b);a&&qH(a,"hidden",!b)};h.bu=function(a,b,c){var d=a.w();if(d){var e=this.Kt(b);e&&this.zi(a,e,c);this.bj(d,b,c)}};
2424h.bj=function(a,b,c){pN||(pN={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=pN[b];var d=a.getAttribute("role")||null;d&&(d=mAa[d]||b,b="checked"==b||"selected"==b?d:b);b&&qH(a,b,c)};h.Fc=function(a,b){var c=this.ib(a);c&&(Fw(c),b&&(Ma(b)?rw(c,b):(a=function(d){if(d){var e=bw(c);c.appendChild(Ma(d)?e.createTextNode(d):d)}},Ta(b)?Fb(b,a):!Ua(b)||"nodeType"in b?a(b):Fb(Sb(b),a))))};h.Wc=function(a){return a.w()};h.ab=function(){return"jb-control"};
2425function rN(a,b){var c=a.ab(),d=[c],e=a.ab();e!=c&&d.push(e);c=b.getState();for(e=[];c;){var f=c&-c;e.push(a.Kt(f));c&=~f}d.push.apply(d,e);(a=b.Ai)&&d.push.apply(d,a);Jv&&!Vv("7")&&d.push.apply(d,sN(d));return d}function sN(a,b){var c=[];b&&(a=Rb(a,[b]));Fb([],function(d){!Jb(d,cb(Nb,a))||b&&!Nb(d,b)||c.push(d.join("_"))});return c}h.Kt=function(a){this.h||oAa(this);return this.h[a]};h.Lx=function(a){this.j||(this.h||oAa(this),this.j=ic(this.h));a=parseInt(this.j[a],10);return isNaN(a)?0:a};
2426function oAa(a){var b=a.ab();Jc(b.replace(/\xa0|\s/g," ")," ");a.h={1:b+"-th",2:b+"-Bh",4:b+"-xl",8:b+"-Dh",16:b+"-rh",32:b+"-Kl",64:b+"-Op"}};function wN(){}x(wN,oN);Ra(wN);h=wN.prototype;h.Ik=function(){return"button"};h.bj=function(a,b,c){switch(b){case 8:case 16:qH(a,"pressed",c);break;default:case 64:case 1:wN.D.bj.call(this,a,b,c)}};h.We=function(a){var b=wN.D.We.call(this,a);this.pd(b,a.Ei());var c=a.getValue();c&&this.setValue(b,c);uN(a,16)&&this.bj(b,16,a.Pc());return b};h.Xc=function(a,b){b=wN.D.Xc.call(this,a,b);var c=this.getValue(b);a.Xd=c;a.Zz(this.Ei(b));uN(a,16)&&this.bj(b,16,a.Pc());return b};h.getValue=Qa;h.setValue=Qa;
2427h.Ei=function(a){return a.title};h.pd=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};function pAa(a,b){var c=NH(b),d=a.ab()+"-qv-Cs";a=a.ab()+"-qv-Ds";b.zi(c?a:d,!1);b.zi(c?d:a,!1)}h.ab=function(){return"jb-Fh"};function xN(a,b,c){EH.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=Za(b);if(d=kAa[d])break;b=b.D?b.D.constructor:null}b=d?Wa(d.getInstance)?d.getInstance():new d:null}this.l=b;this.To(w(a)?a:null);this.jd=null}x(xN,EH);h=xN.prototype;h.wD=null;h.pm=0;h.Rv=39;h.oi=255;h.Dl=0;h.Wx=!0;h.Ai=null;h.Vx=!0;h.Ss=!1;h.xD=null;function yN(a,b){a.Uc()&&b!=a.Vx&&qAa(a,b);a.Vx=b}h.Wc=function(){return this.l.Wc(this)};
2428h.rd=function(a){a&&(this.Ai?Nb(this.Ai,a)||this.Ai.push(a):this.Ai=[a],this.l.zi(this,a,!0))};h.zi=function(a,b){b?this.rd(a):a&&this.Ai&&Qb(this.Ai,a)&&(0==this.Ai.length&&(this.Ai=null),this.l.zi(this,a,!1))};h.Ra=function(){var a=this.l.We(this);this.j=a;tN(this.l,a,this.cu());this.Ss||this.l.Sx(a,!1);this.isVisible()||this.l.Ga(a,!1)};h.cu=function(){return this.xD};function zN(a,b){a.jd=b;(a=a.w())&&uH(a,b)}h.ib=function(){return this.l.ib(this.w())};h.Tn=function(a){return this.l.Un(a)};
2429h.Vc=function(a){this.j=a=this.l.Xc(this,a);tN(this.l,a,this.cu());this.Ss||this.l.Sx(a,!1);this.Wx="none"!=a.style.display};h.K=function(){xN.D.K.call(this);nAa(this.l,this,this.j);this.l.Dj(this);if(this.Rv&-2&&(this.Vx&&qAa(this,!0),uN(this,32))){var a=this.Wc();if(a){var b=this.Ha||(this.Ha=new fG);b.ni(a);HH(this).J(b,"key",this.we).J(a,"focus",this.HY).J(a,"blur",this.Ux)}}};
2430function qAa(a,b){var c=HH(a),d=a.w();b?(c.J(d,yx.Bs,a.Gg).J(d,[yx.Cs,yx.As],a.Mi).J(d,"mouseover",a.qm).J(d,"mouseout",a.jy),a.gu!=Qa&&c.J(d,"contextmenu",a.gu),Jv&&(Vv(9)||c.J(d,"dblclick",a.TL),a.Ta||(a.Ta=new AN(a),wx(a,cb(C,a.Ta))))):(c.kc(d,yx.Bs,a.Gg).kc(d,[yx.Cs,yx.As],a.Mi).kc(d,"mouseover",a.qm).kc(d,"mouseout",a.jy),a.gu!=Qa&&c.kc(d,"contextmenu",a.gu),Jv&&(Vv(9)||c.kc(d,"dblclick",a.TL),C(a.Ta),a.Ta=null))}
2431h.$=function(){xN.D.$.call(this);this.Ha&&this.Ha.detach();this.isVisible()&&this.isEnabled()&&this.l.ih(this,!1)};h.qa=function(){xN.D.qa.call(this);this.Ha&&(this.Ha.dispose(),delete this.Ha);delete this.l;this.Ta=this.Ai=this.wD=null};h.Fd=function(){return this.wD};h.Fc=function(a){this.l.Fc(this.w(),a);this.To(a)};h.To=function(a){this.wD=a};h.Zd=function(){var a=this.Fd();if(!a)return"";
2431a=Ma(a)?a:Ta(a)?Hb(a,Yw).join(""):Ww(a);return Md(a)};h.Uz=function(a){this.Fc(a)};
2432h.Rx=function(a){xN.D.Rx.call(this,a);var b=this.w();b&&this.l.Tx(b,a)};function BN(a){a.Ss=!0;var b=a.w();b&&a.l.Sx(b,!0)}h.isVisible=function(){return this.Wx};h.Ga=function(a,b){return b||this.Wx!=a&&this.dispatchEvent(a?"show":"hide")?((b=this.w())&&this.l.Ga(b,a),this.isEnabled()&&this.l.ih(this,a),this.Wx=a,!0):!1};h.isEnabled=function(){return!vN(this,1)};
2433h.W=function(a){var b=this.He();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!CN(this,1,!a)||(a||(DN(this,!1),this.gg(!1)),this.isVisible()&&this.l.ih(this,a),SM(this,1,!a,!0))};h.gg=function(a){CN(this,2,a)&&SM(this,2,a)};h.Tb=function(){return vN(this,4)};function DN(a,b){CN(a,4,b)&&SM(a,4,b)}h.bi=function(a){CN(this,8,a)&&SM(this,8,a)};h.Pc=function(){return vN(this,16)};h.nc=function(a){CN(this,16,a)&&SM(this,16,a)};h.qv=function(a){CN(this,32,a)&&SM(this,32,a)};
2434h.Gc=function(a){CN(this,64,a)&&SM(this,64,a)};h.getState=function(){return this.pm};function vN(a,b){return!!(a.pm&b)}function SM(a,b,c,d){d||1!=b?uN(a,b)&&c!=vN(a,b)&&(a.l.bu(a,b,c),a.pm=c?a.pm|b:a.pm&~b):a.W(!c)}function uN(a,b){return!!(a.Rv&b)}h.gd=function(a,b){if(this.Uc()&&vN(this,a)&&!b)throw Error("Component already rendered");!b&&vN(this,a)&&SM(this,a,!1);this.Rv=b?this.Rv|a:this.Rv&~a};function EN(a,b){return!!(a.oi&b)&&uN(a,b)}
2435function CN(a,b,c){return uN(a,b)&&vN(a,b)!=c&&(!(a.Dl&b)||a.dispatchEvent(Pwa(b,c)))&&!a.o}h.qm=function(a){!rAa(a,this.w())&&this.dispatchEvent("enter")&&this.isEnabled()&&EN(this,2)&&this.gg(!0)};h.jy=function(a){!rAa(a,this.w())&&this.dispatchEvent("leave")&&(EN(this,4)&&DN(this,!1),EN(this,2)&&this.gg(!1))};h.gu=Qa;function rAa(a,b){return!!a.relatedTarget&&Rw(b,a.relatedTarget)}
2436h.Gg=function(a){this.isEnabled()&&(EN(this,2)&&this.gg(!0),Ax(a)&&(EN(this,4)&&DN(this,!0),this.l&&this.l.vD(this)&&this.Wc().focus()));!this.Ss&&Ax(a)&&a.preventDefault()};h.Mi=function(a){this.isEnabled()&&(EN(this,2)&&this.gg(!0),this.Tb()&&this.Nf(a)&&EN(this,4)&&DN(this,!1))};h.TL=function(a){this.isEnabled()&&this.Nf(a)};
2437h.Nf=function(a){EN(this,16)&&this.nc(!this.Pc());EN(this,8)&&this.bi(!0);EN(this,64)&&this.Gc(!vN(this,64));var b=new xx("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.s=a.s);return this.dispatchEvent(b)};h.HY=function(){EN(this,32)&&this.qv(!0)};h.Ux=function(){EN(this,4)&&DN(this,!1);EN(this,32)&&this.qv(!1)};h.we=function(a){return this.isVisible()&&this.isEnabled()&&this.Vn(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
2438h.Vn=function(a){return 13==a.keyCode&&this.Nf(a)};if(!Wa(xN))throw Error("Invalid component class "+xN);if(!Wa(oN))throw Error("Invalid renderer class "+oN);var sAa=Za(xN);kAa[sAa]=oN;fN("jb-control",function(){return new xN(null)});function AN(a){ux.call(this);this.j=a;this.h=!1;this.g=new Px(this);wx(this,cb(C,this.g));a=this.j.j;this.g.J(a,"mousedown",this.l).J(a,"mouseup",this.s).J(a,"click",this.m)}x(AN,ux);var tAa=!Jv||Wv(9);AN.prototype.l=function(){this.h=!1};
2439AN.prototype.s=function(){this.h=!0};function uAa(a,b){if(!tAa)return a.button=0,a.type=b,a;var c=document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c}
2440AN.prototype.m=function(a){if(this.h)this.h=!1;else{var b=a.g,c=b.button,d=b.type,e=uAa(b,"mousedown");this.j.Gg(new zx(e,a.h));e=uAa(b,"mouseup");this.j.Mi(new zx(e,a.h));tAa||(b.button=c,b.type=d)}};AN.prototype.qa=function(){this.j=null;AN.D.qa.call(this)};function FN(){}x(FN,wN);Ra(FN);h=FN.prototype;h.Ik=function(){};h.We=function(a){yN(a,!1);a.oi&=-256;a.gd(32,!1);return a.g.O("BUTTON",{"class":rN(this,a).join(" "),disabled:!a.isEnabled(),title:a.Ei()||"",value:a.getValue()||""},a.Zd()||"")};h.Un=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};h.Xc=function(a,b){yN(a,!1);a.oi&=-256;a.gd(32,!1);if(b.disabled){var c=this.Kt(1);gx(b,c)}return FN.D.Xc.call(this,a,b)};
2441h.Dj=function(a){HH(a).J(a.w(),"click",a.Nf)};h.Sx=Qa;h.Tx=Qa;h.vD=function(a){return a.isEnabled()};h.ih=Qa;h.bu=function(a,b,c){FN.D.bu.call(this,a,b,c);(a=a.w())&&1==b&&(a.disabled=c)};h.getValue=function(a){return a.value};h.setValue=function(a,b){a&&(a.value=b)};h.bj=Qa;function GN(a,b,c){xN.call(this,a,b||FN.getInstance(),c)}x(GN,xN);h=GN.prototype;h.getValue=function(){return this.Xd};h.setValue=function(a){this.Xd=a;this.l.setValue(this.w(),a)};h.Ei=function(){return this.ac};h.pd=function(a){this.ac=a;this.l.pd(this.w(),a)};h.Zz=function(a){this.ac=a};h.qa=function(){GN.D.qa.call(this);delete this.Xd;delete this.ac};h.K=function(){GN.D.K.call(this);if(uN(this,32)){var a=this.Wc();
2441a&&HH(this).J(a,"keyup",this.Vn)}};
2442h.Vn=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.Nf(a):32==a.keyCode};fN("jb-Fh",function(){return new GN(null)});function HN(){}x(HN,wN);Ra(HN);h=HN.prototype;h.We=function(a){var b=rN(this,a);b=a.g.O("DIV","jb-kb-lb "+b.join(" "),a.Fd());this.pd(b,a.Ei());return b};h.Ik=function(){return"button"};h.Un=function(a){return"DIV"==a.tagName};h.Xc=function(a,b){gx(b,"jb-kb-lb");return HN.D.Xc.call(this,a,b)};h.getValue=function(){return""};h.ab=function(){return"jb-flat-Fh"};fN("jb-flat-Fh",function(){return new GN(null,HN.getInstance())});function IN(a,b,c){EH.call(this,c);this.Ve=b||hN.getInstance();this.om=a||this.Ve.rL()}x(IN,EH);var mN="horizontal",nN="vertical";h=IN.prototype;h.Uq=null;h.au=null;h.Ve=null;h.om=null;h.Hk=!0;h.Kb=!0;h.gm=!0;h.Ue=-1;h.cf=null;h.nh=!1;h.SI=!1;h.jk=null;h.Wc=function(){return this.Uq||this.Ve.Wc(this)};function JN(a){return a.au||(a.au=new fG(a.Wc()))}h.Ra=function(){this.j=this.Ve.Yt(this)};h.ib=function(){return this.Ve.ib(this.w())};h.Tn=function(a){return this.Ve.qD(a)};
2443h.Vc=function(a){this.j=lAa(this.Ve,this,a);"none"==a.style.display&&(this.Hk=!1)};h.K=function(){IN.D.K.call(this);KH(this,function(b){b.Uc()&&vAa(this,b)},this);var a=this.w();this.Ve.sD(this);this.Ga(this.Hk,!0);HH(this).J(this,"enter",this.HD).J(this,"highlight",this.FY).J(this,"unhighlight",this.GY).J(this,"open",this.HZ).J(this,"close",this.EY).J(a,yx.Bs,this.uD).J(bw(a),[yx.Cs,yx.As],this.iZ).J(a,[yx.Bs,yx.Cs,yx.As,"mouseover","mouseout","contextmenu"],this.eZ);this.gm&&KN(this,!0)};
2444function KN(a,b){var c=HH(a),d=a.Wc();b?c.J(d,"focus",a.Zt).J(d,"blur",a.tD).J(JN(a),"key",a.we):c.kc(d,"focus",a.Zt).kc(d,"blur",a.tD).kc(JN(a),"key",a.we)}h.$=function(){this.ve(-1);this.cf&&this.cf.Gc(!1);this.nh=!1;IN.D.$.call(this)};h.qa=function(){IN.D.qa.call(this);this.au&&(this.au.dispose(),this.au=null);this.Ve=this.cf=this.jk=this.Uq=null};h.HD=function(){return!0};
2445h.FY=function(a){var b=PH(this,a.target);if(-1<b&&b!=this.Ue){var c=LN(this);c&&c.gg(!1);this.Ue=b;c=LN(this);this.nh&&DN(c,!0);this.cf&&c!=this.cf&&(uN(c,64)?c.Gc(!0):this.cf.Gc(!1))}b=this.w();null!=a.target.w()&&qH(b,"activedescendant",a.target.w().id)};h.GY=function(a){a.target==LN(this)&&(this.Ue=-1);this.w().removeAttribute("aria-activedescendant")};h.HZ=function(a){(a=a.target)&&a!=this.cf&&a.He()==this&&(this.cf&&this.cf.Gc(!1),this.cf=a)};
2446h.EY=function(a){a.target==this.cf&&(this.cf=null);var b=this.w(),c=a.target.w();b&&vN(a.target,2)&&c&&sH(b,c)};h.uD=function(a){this.Kb&&(this.nh=!0);var b=this.Wc();b&&Uw(b)?b.focus():a.preventDefault()};h.iZ=function(){this.nh=!1};
2447h.eZ=function(a){a:{var b=a.target;if(this.jk)for(var c=this.w();b&&b!==c;){var d=b.id;if(d in this.jk){b=this.jk[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case yx.Bs:b.Gg(a);break;case yx.Cs:case yx.As:b.Mi(a);break;case "mouseover":b.qm(a);break;case "mouseout":b.jy(a);break;case "contextmenu":b.gu(a)}};h.Zt=function(){};h.tD=function(){this.ve(-1);this.nh=!1;this.cf&&this.cf.Gc(!1)};
2448h.we=function(a){return this.isEnabled()&&this.isVisible()&&(0!=LH(this)||this.Uq)&&this.$t(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
2449h.$t=function(a){var b=LN(this);if(b&&"function"==typeof b.we&&b.we(a)||this.cf&&this.cf!=b&&"function"==typeof this.cf.we&&this.cf.we(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.gm)this.Wc().blur();else return!1;break;case 36:MN(this);break;case 35:wAa(this);break;case 38:if(this.om==nN)NN(this);else return!1;break;case 37:if(this.om==mN)NH(this)?ON(this):NN(this);else return!1;break;case 40:if(this.om==nN)ON(this);else return!1;break;case 39:if(this.om==
2450mN)NH(this)?NN(this):ON(this);else return!1;break;default:return!1}return!0};function vAa(a,b){var c=b.w();c=c.id||(c.id=b.rb());a.jk||(a.jk={});a.jk[c]=b}h.Ea=function(a,b){IN.D.Ea.call(this,a,b)};h.jj=function(a,b,c){a.Dl|=2;a.Dl|=64;!this.gm&&this.SI||a.gd(32,!1);yN(a,!1);var d=a.He()==this?PH(this,a):-1;IN.D.jj.call(this,a,b,c);a.Uc()&&this.Uc()&&vAa(this,a);a=d;-1==a&&(a=LH(this));a==this.Ue?this.Ue=Math.min(LH(this)-1,b):a>this.Ue&&b<=this.Ue?this.Ue++:a<this.Ue&&b>this.Ue&&this.Ue--};
2451h.removeChild=function(a,b){if(a=Ma(a)?JH(this,a):a){var c=PH(this,a);-1!=c&&(c==this.Ue?(a.gg(!1),this.Ue=-1):c<this.Ue&&this.Ue--);(c=a.w())&&c.id&&this.jk&&ec(this.jk,c.id)}a=IN.D.removeChild.call(this,a,b);yN(a,!0);return a};function lN(a,b){if(a.w())throw Error("Component already rendered");a.om=b}h.isVisible=function(){return this.Hk};
2452h.Ga=function(a,b){if(b||this.Hk!=a&&this.dispatchEvent(a?"show":"hide")){this.Hk=a;var c=this.w();c&&(CG(c,a),this.gm&&jN(this.Wc(),this.Kb&&this.Hk),b||this.dispatchEvent(this.Hk?"aftershow":"afterhide"));return!0}return!1};h.isEnabled=function(){return this.Kb};h.W=function(a){this.Kb!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.Kb=!0,KH(this,function(b){b.iT?delete b.iT:b.W(!0)})):(KH(this,function(b){b.isEnabled()?b.W(!1):b.iT=!0}),this.nh=this.Kb=!1),this.gm&&jN(this.Wc(),a&&this.Hk))};
2453function PN(a,b){b!=a.gm&&a.Uc()&&KN(a,b);a.gm=b;a.Kb&&a.Hk&&jN(a.Wc(),b)}h.ve=function(a){(a=MH(this,a))?a.gg(!0):-1<this.Ue&&LN(this).gg(!1)};function LN(a){return MH(a,a.Ue)}
2453function MN(a){QN(a,function(b,c){return(b+1)%c},LH(a)-1)}function wAa(a){QN(a,function(b,c){b--;return 0>b?c-1:b},0)}function ON(a){QN(a,function(b,c){return(b+1)%c},a.Ue)}function NN(a){QN(a,function(b,c){b--;return 0>b?c-1:b},a.Ue)}
2454function QN(a,b,c){c=0>c?PH(a,a.cf):c;var d=LH(a);c=b.call(a,c,d);for(var e=0;e<=d;){var f=MH(a,c);if(f&&a.sJ(f)){a.fG(c);break}e++;c=b.call(a,c,d)}}h.sJ=function(a){return a.isVisible()&&a.isEnabled()&&uN(a,2)};h.fG=function(a){this.ve(a)};function RN(){}x(RN,oN);Ra(RN);RN.prototype.ab=function(){return"jb-menuheader"};function xAa(a,b,c){xN.call(this,a,c||RN.getInstance(),b);this.gd(1,!1);this.gd(2,!1);this.gd(4,!1);this.gd(32,!1);this.pm=1}x(xAa,xN);fN("jb-menuheader",function(){return new xAa(null)});function SN(){this.g=[]}x(SN,oN);Ra(SN);function TN(a,b){var c=a.g[b];if(!c){switch(b){case 0:c=a.ab()+"-Ah";break;case 1:c=a.ab()+"-yh";break;case 2:c=a.ab()+"-zh"}a.g[b]=c}return c}h=SN.prototype;h.Ik=function(){return"menuitem"};h.We=function(a){var b=a.g.O("DIV",rN(this,a).join(" "),yAa(this,a.Fd(),a.g));UN(this,a,b,uN(a,8)||uN(a,16));return b};h.ib=function(a){return a&&a.firstChild};
2455h.Xc=function(a,b){var c=Nw(b),d=TN(this,2);c&&fx(c,d)||b.appendChild(yAa(this,b.childNodes,a.g));fx(b,"jb-Ch")&&(a.gd(16,!0),a&&b&&UN(this,a,b,!0));return SN.D.Xc.call(this,a,b)};h.Fc=function(a,b){var c=this.ib(a),d=VN(this,a)?c.firstChild:null;SN.D.Fc.call(this,a,b);d&&!VN(this,a)&&c.insertBefore(d,c.firstChild||null)};function yAa(a,b,c){a=TN(a,2);return c.O("DIV",a,b)}h.Wo=function(a,b,c){a&&b&&UN(this,a,b,c)};
2456function VN(a,b){return(b=a.ib(b))?(b=b.firstChild,a=TN(a,1),!!b&&Pw(b)&&fx(b,a)):!1}function UN(a,b,c,d){tN(a,c,b.cu());nAa(a,b,c);d!=VN(a,c)&&(jx(c,"jb-Ch",d),c=a.ib(c),d?(a=TN(a,1),c.insertBefore(b.g.O("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}h.Kt=function(a){switch(a){case 2:return TN(this,0);case 16:case 8:return"jb-Ch-Dh";default:return SN.D.Kt.call(this,a)}};
2457h.Lx=function(a){var b=TN(this,0);switch(a){case "jb-Ch-Dh":return 16;case b:return 2;default:return SN.D.Lx.call(this,a)}};h.ab=function(){return"jb-Pp"};function WN(a,b,c,d){xN.call(this,a,d||SN.getInstance(),c);this.setValue(b)}x(WN,xN);h=WN.prototype;h.getValue=function(){var a=this.Tc();return null!=a?a:this.Zd()};h.setValue=function(a){this.Pb=a};h.gd=function(a,b){WN.D.gd.call(this,a,b);switch(a){case 8:this.Pc()&&!b&&this.nc(!1);(a=this.w())&&this.l.Wo(this,a,b);break;case 16:(a=this.w())&&this&&a&&UN(this.l,this,a,b)}};h.Wo=function(a){this.gd(8,a)};
2458h.Zd=function(){var a=this.Fd();return Ta(a)?(a=Hb(a,function(b){return Pw(b)&&(fx(b,"jb-Pp-Rp")||fx(b,"jb-Pp-mnemonic-separator"))?"":Yw(b)}).join(""),Md(a)):WN.D.Zd.call(this)};h.oL=function(){var a=this.g,b=this.Fd();return Ta(b)&&(b=Kb(b,function(c){return fx(c,"jb-Pp-Rp")}))?a.mY(b):null};h.Mi=function(a){var b=this.He();if(b){var c=b.M;b.M=null;if(b=c&&Oa(a.clientX))b=new Xv(a.clientX,a.clientY),b=c==b?!0:c&&b?c.x==b.x&&c.y==b.y:!1;if(b)return}WN.D.Mi.call(this,a)};
2459h.Vn=function(a){return a.keyCode==this.LE&&this.Nf(a)?!0:WN.D.Vn.call(this,a)};h.fY=function(){return this.LE};fN("jb-Pp",function(){return new WN(null)});WN.prototype.cu=function(){return uN(this,16)?"menuitemcheckbox":u
2459N(this,8)?"menuitemradio":WN.D.cu.call(this)};WN.prototype.He=function(){return xN.prototype.He.call(this)};WN.prototype.vq=function(){return xN.prototype.vq.call(this)};function XN(){}x(XN,oN);Ra(XN);XN.prototype.We=function(a){return a.g.O("DIV",this.ab())};XN.prototype.Xc=function(a,b){b.id&&GH(a,b.id);if("HR"==b.tagName){var c=b;b=this.We(a);Gw(b,c);Jw(c)}else gx(b,this.ab());return b};XN.prototype.Fc=function(){};XN.prototype.ab=function(){return"jb-lq"};function YN(a,b){xN.call(this,null,a||XN.getInstance(),b);this.gd(1,!1);this.gd(2,!1);this.gd(4,!1);this.gd(32,!1);this.pm=1}x(YN,xN);YN.prototype.K=function(){YN.D.K.call(this);var a=this.w();pH(a,"separator")};fN("jb-lq",function(){return new YN});function oM(a){this.g=a||"menu"}x(oM,hN);Ra(oM);h=oM.prototype;h.qD=function(a){return"UL"==a.tagName||oM.D.qD.call(this,a)};h.Lt=function(a){return"HR"==a.tagName?new YN:oM.D.Lt.call(this,a)};h.lk=function(a,b){return Rw(a.w(),b)};h.ab=function(){return"jb-te"};h.sD=function(a){oM.D.sD.call(this,a);a=a.w();qH(a,"haspopup","true")};function ZN(a){YN.call(this,XN.getInstance(),a)}x(ZN,YN);fN("jb-lq",function(){return new YN});function $N(a,b){IN.call(this,nN,b||oM.getInstance(),a);PN(this,!1)}x($N,IN);h=$N.prototype;h.AD=!0;h.SB=!1;h.ab=function(){return this.Ve.ab()};h.lk=function(a){if(this.Ve.lk(this,a))return!0;for(var b=0,c=LH(this);b<c;b++){var d=MH(this,b);if("function"==typeof d.lk&&d.lk(a))return!0}return!1};h.Jb=function(a){this.Ea(a,!0)};h.Gd=function(a){return MH(this,a)};h.Se=function(){return LH(this)};h.Te=function(){return this.isVisible()?uG(this.w()):null};function aO(a,b){(a.AD=b)&&PN(a,!0)}
2460h.Ga=function(a,b,c){(b=$N.D.Ga.call(this,a,b))&&a&&this.Uc()&&this.AD&&this.Wc().focus();a&&c&&Oa(c.clientX)?this.M=new Xv(c.clientX,c.clientY):this.M=null;return b};h.HD=function(a){this.AD&&this.Wc().focus();return $N.D.HD.call(this,a)};h.sJ=function(a){return(this.SB||a.isEnabled())&&a.isVisible()&&uN(a,2)};h.Vc=function(a){zAa(this,a);$N.D.Vc.call(this,a)};
2461h.$t=function(a){var b=$N.D.$t.call(this,a);b||KH(this,function(c){!b&&c.fY&&c.LE==a.keyCode&&(this.isEnabled()&&this.ve(PH(this,c)),b=c.we(a))},this);return b};h.ve=function(a){$N.D.ve.call(this,a);(a=MH(this,a))&&vG(a.w(),this.w())};function zAa(a,b){var c=a.Ve;b=fw(a.g.g,"DIV",c.ab()+"-zh",b);for(var d=b.length,e=0;e<d;e++)kN(c,a,b[e])};function bO(a,b,c,d,e,f,g,k,l){var n;if(n=c.offsetParent){var q="HTML"==n.tagName||"BODY"==n.tagName;if(!q||"static"!=nG(n)){var t=uG(n);if(!q){q=DG(n);var u;if(u=q){u=jy&&0<=Nc(Dwa,10);var v;if(v=Qv)v=0<=Nc(Cwa,10);u=Mv||u||v}q=u?-n.scrollLeft:!q||Lv&&Vv("8")||"visible"==mG(n,"overflowX")?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft;t=Yv(t,new Xv(q,n.scrollTop))}}}n=t||new Xv;t=AG(a);if(q=tG(a)){var y=new hG(q.left,q.top,q.right-q.left,q.bottom-q.top);q=Math.max(t.left,y.left);u=Math.min(t.left+
2462t.width,y.left+y.width);q<=u&&(v=Math.max(t.top,y.top),y=Math.min(t.top+t.height,y.top+y.height),v<=y&&(t.left=q,t.top=v,t.width=u-q,t.height=y-v))}q=$v(a);v=$v(c);if(q.getDocument()!=v.getDocument()){u=q.getDocument().body;v=dx(v);y=new Xv(0,0);var G=nw(bw(u));if(Tka(G,"parent")){var K=u;do{var J=G==v?uG(K):Zva(K);y.x+=J.x;y.y+=J.y}while(G&&G!=v&&G!=G.parent&&(K=G.frameElement)&&(G=G.parent))}u=Yv(y,uG(u));!Jv||Wv(9)||kw(q.g)||(u=Yv(u,lw(q.g)));t.left+=u.x;t.top+=u.y}a=AAa(a,b);b=t.left;a&4?b+=t.width:
2463a&2&&(b+=t.width/2);b=new Xv(b,t.top+(a&1?t.height:0));b=Yv(b,n);e&&(b.x+=(a&4?-1:1)*e.x,b.y+=(a&1?-1:1)*e.y);if(g)if(l)var O=l;else if(O=tG(c))O.top-=n.y,O.right-=n.x,O.bottom-=n.y,O.left-=n.x;e=O;l=b.clone();O=AAa(c,d);d=zG(c);a=k?k.clone():d.clone();k=l;l=a;k=k.clone();l=l.clone();a=0;if(f||0!=O)O&4?k.x-=l.width+(f?f.right:0):O&2?k.x-=l.width/2:f&&(k.x+=f.left),O&1?k.y-=l.height+(f?f.bottom:0):f&&(k.y+=f.top);g&&(e?(f=k,O=l,a=0,65==(g&65)&&(f.x<e.left||f.x>=e.right)&&(g&=-2),132==(g&132)&&(f.y<
2464e.top||f.y>=e.bottom)&&(g&=-5),f.x<e.left&&g&1&&(f.x=e.left,a|=1),g&16&&(b=f.x,f.x<e.left&&(f.x=e.left,a|=4),f.x+O.width>e.right&&(O.width=Math.min(e.right-f.x,b+O.width-e.left),O.width=Math.max(O.width,0),a|=4)),f.x+O.width>e.right&&g&1&&(f.x=Math.max(e.right-O.width,e.left),a|=1),g&2&&(a|=(f.x<e.left?16:0)|(f.x+O.width>e.right?32:0)),f.y<e.top&&g&4&&(f.y=e.top,a|=2),g&32&&(b=f.y,f.y<e.top&&(f.y=e.top,a|=8),f.y+O.height>e.bottom&&(O.height=Math.min(e.bottom-f.y,b+O.height-e.top),O.height=Math.max(O.height,
24650),a|=8)),f.y+O.height>
2465e.bottom&&g&4&&(f.y=Math.max(e.bottom-O.height,e.top),a|=2),g&8&&(a|=(f.y<e.top?64:0)|(f.y+O.height>e.bottom?128:0)),g=a):g=256,a=g);g=new hG(0,0,0,0);g.left=k.x;g.top=k.y;g.width=l.width;g.height=l.height;f=a;f&496||(oG(c,new Xv(g.left,g.top)),a=g.Md(),ila(d,a)||HG(c,a));return f}function AAa(a,b){return(b&8&&DG(a)?b^4:b)&-9};function BAa(){}BAa.prototype.g=function(){};function cO(a,b,c){this.element=a;this.h=b;this.s=c}x(cO,BAa);cO.prototype.g=function(a,b,c){bO(this.element,this.h,a,b,void 0,c,this.s)};function dO(a,b,c,d){cO.call(this,a,b);this.j=c?5:0;this.o=d||void 0}x(dO,cO);dO.prototype.l=function(){return this.j};dO.prototype.g=function(a,b,c,d){var e=bO(this.element,this.h,a,b,null,c,10,d,this.o);if(e&496){var f=eO(e,this.h);b=eO(e,b);e=bO(this.element,f,a,b,null,c,10,d,this.o);e&496&&(f=eO(e,f),b=eO(e,b),bO(this.element,f,a,b,null,c,this.j,d,this.o))}};function eO(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function fO(a,b,c,d){dO.call(this,a,b,c||d);if(c||d)this.j=65|(d?32:132)}x(fO,dO);function gO(){}x(gO,wN);Ra(gO);h=gO.prototype;h.We=function(a){var b=rN(this,a);b=a.g.O("DIV","jb-kb-lb "+b.join(" "),this.Xx(a.Fd(),a.g));this.pd(b,a.Ei());return b};h.Ik=function(){return"button"};h.ib=function(a){return a&&a.firstChild&&a.firstChild.firstChild};h.Xx=function(a,b){return b.O("DIV","jb-kb-lb "+(this.ab()+"-Kp-Lp"),b.O("DIV","jb-kb-lb "+(this.ab()+"-Mp-Lp"),a))};h.Un=function(a){return"DIV"==a.tagName};
2466h.Xc=function(a,b){CAa(b,!0);CAa(b,!1);a:{var c=a.g.uL(b);var d=this.ab()+"-Kp-Lp";if(c&&fx(c,d)&&(c=a.g.uL(c),d=this.ab()+"-Mp-Lp",c&&fx(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.Xx(b.childNodes,a.g));hx(b,["jb-kb-lb",this.ab()]);return gO.D.Xc.call(this,a,b)};h.ab=function(){return"jb-custom-Fh"};
2467function CAa(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var e=c.nodeValue;if(""==yc(e))a.removeChild(c);else{c.nodeValue=b?Nd(e):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function hO(){}x(hO,gO);Ra(hO);h=hO.prototype;h.ib=function(a){return hO.D.ib.call(this,a&&a.firstChild)};h.Xc=function(a,b){var c=ew("*","jb-te",b)[0];if(c){CG(c,!1);bw(c).body.appendChild(c);var d=new $N;d.ue(c);a.gf(d)}return hO.D.Xc.call(this,a,b)};h.Xx=function(a,b){return hO.D.Xx.call(this,[this.Zx(a,b),b.O("DIV","jb-kb-lb "+(this.ab()+"-Il"),"\u00a0")],b)};h.Zx=function(a,b){return b.O("DIV","jb-kb-lb "+(this.ab()+"-Hl"),a)};h.ab=function(){return"jb-te-Fh"};function iO(a,b,c,d,e){GN.call(this,a,c||hO.getInstance(),d);this.gd(64,!0);this.yb=new fO(null,9);b&&this.gf(b);this.Na=new TG(500);!gy&&!hy||Vv("533.17.9")||(this.Sh=!0);this.Pl=e||oM.getInstance()}x(iO,GN);h=iO.prototype;h.Sh=!1;h.K=function(){iO.D.K.call(this);DAa(this,!0);this.Fa&&jO(this,this.Fa,!0);qH(this.j,"haspopup",!!this.Fa)};h.$=function(){iO.D.$.call(this);DAa(this,!1);if(this.Fa){this.Gc(!1);this.Fa.$();jO(this,this.Fa,!1);var a=this.Fa.w();a&&Jw(a)}};
2468h.qa=function(){iO.D.qa.call(this);this.Fa&&(this.Fa.dispose(),delete this.Fa);delete this.Rl;this.Na.dispose()};h.Gg=function(a){iO.D.Gg.call(this,a);this.Tb()&&(this.Gc(!vN(this,64),a),this.Fa&&(this.Fa.nh=vN(this,64)))};h.Mi=function(a){iO.D.Mi.call(this,a);this.Fa&&!this.Tb()&&(this.Fa.nh=!1)};h.Nf=function(){DN(this,!1);return!0};h.hZ=function(a){this.Fa&&this.Fa.isVisible()&&!this.lk(a.target)&&this.Gc(!1)};h.lk=function(a){return a&&Rw(this.w(),a)||this.Fa&&this.Fa.lk(a)||!1};
2469h.Vn=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;if(this.Fa&&this.Fa.isVisible()){var b=13==a.keyCode||32==a.keyCode,c=this.Fa.we(a);return 27==a.keyCode||b?(this.Gc(!1),!0):c}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Gc(!0,a),!0):!1};h.Eq=function(){this.Gc(!1)};h.EZ=function(){this.Tb()||this.Gc(!1)};h.Ux=function(a){this.Sh||this.Gc(!1);iO.D.Ux.call(this,a)};
2470h.Sb=function(){this.Fa||this.gf(new $N(this.g,this.Pl));return this.Fa||null};h.gf=function(a){var b=this.Fa;a!=b&&(b&&(this.Gc(!1),this.Uc()&&jO(this,b,!1),delete this.Fa),this.Uc()&&qH(this.j,"haspopup",!!a),a&&(this.Fa=a,IH(a,this),a.Ga(!1),aO(a,this.Sh),this.Uc()&&jO(this,a,!0)));return b};h.Jb=function(a){this.Sb().Ea(a,!0)};h.zD=function(a,b){this.Sb().jj(a,b,!0)};h.Bq=function(a){(a=QH(this.Sb(),a,!0))&&a.dispose()};h.Gd=function(a){return this.Fa?MH(this.Fa,a):null};
2471h.Se=function(){return this.Fa?LH(this.Fa):0};h.Ga=function(a,b){(a=iO.D.Ga.call(this,a,b))&&!this.isVisible()&&this.Gc(!1);return a};h.W=function(a){iO.D.W.call(this,a);this.isEnabled()||this.Gc(!1)};
2472h.Gc=function(a,b){iO.D.Gc.call(this,a);if(this.Fa&&vN(this,64)==a){if(a)this.Fa.Uc()||this.Fa.render(),this.xd=tG(this.w()),this.Yd=AG(this.w()),EAa(this),!b||40!=b.keyCode&&38!=b.keyCode?this.Fa.ve(-1):MN(this.Fa);else{DN(this,!1);this.Fa.nh=!1;var c=this.w();c&&(qH(c,"activedescendant",""),qH(c,"owns",""));null!=this.Bb&&(this.Bb=void 0,(c=this.Fa.w())&&yG(c,"",""))}this.Fa.Ga(a,!1,b);this.o||(b=HH(this),c=a?b.J:b.kc,c.call(b,this.g.getDocument(),"mousedown",this.hZ,!0),this.Sh&&c.c
2472all(b,this.Fa,
2473"blur",this.EZ),c.call(b,this.Na,"tick",this.OY),a?this.Na.start():this.Na.stop())}this.Fa&&this.Fa.w()&&this.Fa.j.removeAttribute("aria-hidden")};function EAa(a){if(a.Fa.Uc()){var b=a.Rl||a.w(),c=a.yb;a.yb.element=b;b=a.Fa.w();a.Fa.isVisible()||(b.style.visibility="hidden",CG(b,!0));!a.Bb&&a.yb.l&&a.yb.j&32&&(a.Bb=zG(b));c.g(b,c.h^1,null,a.Bb);a.Fa.isVisible()||(CG(b,!1),b.style.visibility="visible")}}
2474h.OY=function(){var a=AG(this.w()),b=tG(this.w());var c=this.Yd;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.xd,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.Yd=a,this.xd=b,EAa(this))};function jO(a,b,c){var d=HH(a);c=c?d.J:d.kc;c.call(d,b,"action",a.Eq);c.call(d,b,"close",a.LY);c.call(d,b,"highlight",a.MY);c.call(d,b,"unhighlight",a.NY)}
2475function DAa(a,b){var c=HH(a);(b?c.J:c.kc).call(c,a.w(),"keydown",a.yZ)}h.MY=function(a){(a=a.target.w())&&FAa(this,a)};h.yZ=function(a){uN(this,32)&&this.Wc()&&this.Fa&&this.Fa.isVisible()&&a.stopPropagation()};h.NY=function(){if(!LN(this.Fa)){var a=this.w();qH(a,"activedescendant","");qH(a,"owns","")}};h.LY=function(a){if(vN(this,64)&&a.target instanceof WN){a=a.target;var b=a.w();a.isVisible()&&vN(a,2)&&null!=b&&FAa(this,b)}};
2476function FAa(a,b){a=a.w();var c=rH(b,"activedescendant");b=bw(b).getElementById(c)||b;b.id||(c=CH.getInstance(),b.id=DH(c));sH(a,b);qH(a,"owns",b.id)}fN("jb-te-Fh",function(){return new iO(null)});function kO(){}x(kO,HN);Ra(kO);kO.prototype.We=function(a){var b=rN(this,a);b=a.g.O("DIV","jb-kb-lb "+b.join(" "),[GAa(this,a.Fd(),a.g),HAa(this,a.g)]);this.pd(b,a.Ei());return b};kO.prototype.ib=function(a){return a&&a.firstChild};
2477kO.prototype.Xc=function(a,b){var c=ew("*","jb-te",b)[0];if(c){CG(c,!1);a.g.getDocument().body.appendChild(c);var d=new $N;d.ue(c);a.gf(d)}ew("*",this.ab()+"-Hl",b)[0]||b.appendChild(GAa(this,b.childNodes,a.g));ew("*",this.ab()+"-Il",b)[0]||b.appendChild(HAa(this,a.g));return kO.D.Xc.call(this,a,b)};function GAa(a,b,c){return c.O("DIV","jb-kb-lb "+(a.ab()+"-Hl"),b)}function HAa(a,b){return b.O("DIV",{"class":"jb-kb-lb "+(a.ab()+"-Il"),"aria-hidden":!0},"\u00a0")}kO.prototype.ab=function(){return"jb-flat-te-Fh"};
2478fN("jb-flat-te-Fh",function(){return new iO(null,null,kO.getInstance())});function lO(a){Rx.call(this);this.g=[];IAa(this,a)}x(lO,Rx);h=lO.prototype;h.ol=null;h.$F=null;h.Se=function(){return this.g.length};h.Gd=function(a){return this.g[a]||null};function IAa(a,b){b&&(Fb(b,function(c){mO(this,c,!1)},a),Tb(a.g,b))}h.Jb=function(a){var b=this.Se();a&&(mO(this,a,!1),Ub(this.g,b,0,a))};h.qe=function(){return this.ol};function nO(a,b){b!=a.ol&&(mO(a,a.ol,!1),a.ol=b,mO(a,b,!0));a.dispatchEvent("select")}function oO(a){var b=a.ol;return b?Db(a.g,b):-1}
2479h.clear=function(){Ob(this.g);this.ol=null};h.qa=function(){lO.D.qa.call(this);delete this.g;this.ol=null};function mO(a,b,c){b&&("function"==typeof a.$F?a.$F(b,c):"function"==typeof b.bi&&b.bi(c))};function pO(a,b,c,d,e){iO.call(this,a,b,c,d,e||new oM("listbox"));this.h=this.Fd();this.m=null;this.xD="listbox"}x(pO,iO);h=pO.prototype;h.Nc=null;h.K=function(){pO.D.K.call(this);this.QA();JAa(this)};h.Vc=function(a){pO.D.Vc.call(this,a);(a=this.Zd())?qO(this,a):this.qe()||rO(this,0)};h.qa=function(){pO.D.qa.call(this);this.Nc&&(this.Nc.dispose(),this.Nc=null);this.h=null};h.Eq=function(a){sO(this,a.target);pO.D.Eq.call(this,a);a.stopPropagation();this.dispatchEvent("action")};
2480h.ky=function(){var a=this.qe();pO.D.setValue.call(this,a&&a.getValue());this.QA()};h.gf=function(a){var b=pO.D.gf.call(this,a);a!=b&&(this.Nc&&this.Nc.clear(),a&&(this.Nc?KH(a,function(c){tO(c);this.Nc.Jb(c)},this):uO(this,a)));return b};function qO(a,b){a.h=b;a.QA()}h.Jb=function(a){tO(a);pO.D.Jb.call(this,a);this.Nc?this.Nc.Jb(a):uO(this,this.Sb());vO(this)};h.zD=function(a,b){tO(a);pO.D.zD.call(this,a,b);if(this.Nc){var c=this.Nc;a&&(mO(c,a,!1),Ub(c.g,b,0,a))}else uO(this,this.Sb())};
2481h.Bq=function(a){pO.D.Bq.call(this,a);if(this.Nc){var b=this.Nc;(a=b.Gd(a))&&Qb(b.g,a)&&a==b.ol&&(b.ol=null,b.dispatchEvent("select"))}};function sO(a,b){if(a.Nc){var c=a.qe();nO(a.Nc,b);b!=c&&a.dispatchEvent("change")}}function rO(a,b){a.Nc&&sO(a,a.Nc.Gd(b))}
2481h.setValue=function(a){if(null!=a&&this.Nc)for(var b=0,c;c=this.Nc.Gd(b);b++)if(c&&"function"==typeof c.getValue&&c.getValue()==a){sO(this,c);return}sO(this,null)};h.getValue=function(){var a=this.qe();return a?a.getValue():null};
2482h.qe=function(){return this.Nc?this.Nc.qe():null};function wO(a){return a.Nc?oO(a.Nc):-1}function uO(a,b){a.Nc=new lO;b&&KH(b,function(c){tO(c);this.Nc.Jb(c)},a);JAa(a)}function JAa(a){a.Nc&&HH(a).J(a.Nc,"select",a.ky)}h.QA=function(){var a=this.qe();this.Fc(a?a.Zd():this.h);var b=this.l.ib(this.w());b&&this.g.H_(b)&&(null==this.m&&(this.m=tH(b)),a=a?a.w():null,uH(b,a?tH(a):this.m),vO(this))};
2483function vO(a){var b=a.l;if(b&&(b=b.ib(a.w()))){var c=a.j;b.id||(b.id=DH(CH.getInstance()));pH(b,"option");qH(c,"activedescendant",b.id);a.Nc&&(c=Sb(a.Nc.g),qH(b,"setsize",KAa(c)),a=oO(a.Nc),qH(b,"posinset",0<=a?KAa(Vb(c,0,a+1)):0))}}function KAa(a){return saa(a,function(b){return b instanceof WN})}function tO(a){a.xD=a instanceof WN?"option":"separator"}h.Gc=function(a,b){pO.D.Gc.call(this,a,b);vN(this,64)?this.Sb().ve(wO(this)):vO(this)};fN("jb-tv",function(){return new pO(null)});function xO(){this.g=[]}x(xO,SN);Ra(xO);xO.prototype.Xc=function(a,b){b=xO.D.Xc.call(this,a,b);a&&b&&UN(this,a,b,!0);fx(b,this.ab()+"-ll-rh")?yO(a,zO):fx(b,this.ab()+"-kl-rh")?yO(a,AO):yO(a,BO);return b};xO.prototype.ab=function(){return"jb-tristatemenuitem"};function CO(a,b,c,d,e){WN.call(this,a,b,c,d||new xO);this.gd(16,!0);this.u=e||!1}x(CO,WN);var BO=0,AO=1,zO=2;CO.prototype.h=BO;CO.prototype.m=!1;CO.prototype.u=!1;function yO(a,b){DO(a,b);a.m=b==AO}function DO(a,b){a.dispatchEvent(b!=BO?"check":"uncheck")&&(SM(a,16,b!=BO),a.h=b,b=a.l,b.zi(a,b.ab()+"-kl-rh",a.h==AO),b.zi(a,b.ab()+"-ll-rh",a.h==zO))}
2484CO.prototype.Nf=function(a){switch(this.h){case BO:DO(this,this.u||this.m?AO:zO);break;case AO:DO(this,zO);break;case zO:DO(this,BO)}var b=this.l.ab()+"-yh";a=a.target&&fx(a.target,b);return this.dispatchEvent(a||this.m?"change":"action")};fN("jb-tristatemenuitem",function(){return new CO(null)});function EO(a,b,c,d){var e="Dl";d&&""!=d&&(e=d);d=qN(kO,e);iO.call(this,a,b,d,c);this.rd("Bl");this.gd(32,!1)}x(EO,iO);EO.prototype.Eq=function(){};var LAa={lI:["BC","AD"],GT:["Before Christ","Anno Domini"],LT:"JFMAMJJASOND".split(""),OT:"JFMAMJJASOND".split(""),mI:"January February March April May June July August September October November December".split(" "),Gs:"January February March April May June July August September October November December".split(" "),uI:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),xI:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),CI:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
2485QT:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),wI:"Sun Mon Tue Wed Thu Fri Sat".split(" "),yI:"Sun Mon Tue Wed Thu Fri Sat".split(" "),gda:"SMTWTFS".split(""),PT:"SMTWTFS".split(""),vI:["Q1","Q2","Q3","Q4"],rI:["1st quarter","2nd quarter","3rd quarter","4th quarter"],kI:["AM","PM"],BB:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],BI:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],BT:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],qw:6,DI:[5,6],rw:5},FO=
2486LAa;FO=LAa;function GO(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31}function MAa(a,b,c,d,e){a=new Date(a,b,c);e=e||0;return a.valueOf()+864E5*(((w(d)?d:3)-e+7)%7-((a.getDay()+6)%7-e+7)%7)}function HO(a,b,c,d,e,f){Ma(a)?(this.l=a==IO?b:0,this.o=a==JO?b:0,this.g=a==KO?b:0,this.Zf=a==NAa?b:0,this.h=a==OAa?b:0,this.j=a==PAa?b:0):(this.l=a||0,this.o=b||0,this.g=c||0,this.Zf=d||0,this.h=e||0,this.j=f||0)}
2487HO.prototype.clone=function(){return new HO(this.l,this.o,this.g,this.Zf,this.h,this.j)};var IO="y",JO="m",KO="d",NAa="h",OAa="n",PAa="s";HO.prototype.add=function(a){this.l+=a.l;this.o+=a.o;this.g+=a.g;this.Zf+=a.Zf;this.h+=a.h;this.j+=a.j};
2488function LO(a,b,c){Oa(a)?(this.ob=QAa(a,b||0,c||1),MO(this,c||1)):Ya(a)?(this.ob=QAa(a.getFullYear(),a.getMonth(),a.getDate()),MO(this,a.getDate())):(this.ob=new Date(db()),a=this.ob.getDate(),this.ob.setHours(0),this.ob.setMinutes(0),this.ob.setSeconds(0),this.ob.setMilliseconds(0),MO(this,a))}function QAa(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}h=LO.prototype;h.em=FO.qw;h.Dt=FO.rw;h.clone=function(){var a=new LO(this.ob);a.em=this.em;a.Dt=this.Dt;return a};
2489h.getFullYear=function(){return this.ob.getFullYear()};h.getMonth=function(){return this.ob.getMonth()};h.getDate=function(){return this.ob.getDate()};h.getTime=function(){return this.ob.getTime()};h.getDay=function(){return this.ob.getDay()};h.getUTCFullYear=function(){return this.ob.getUTCFullYear()};h.getUTCMonth=function(){return this.ob.getUTCMonth()};h.getUTCDate=function(){return this.ob.getUTCDate()};h.getUTCHours=function(){return this.ob.getUTCHours()};h.getUTCMinutes=function(){return this.ob.getUTCMinutes()};
2490h.getTimezoneOffset=function(){return this.ob.getTimezoneOffset()};h.set=function(a){this.ob=new Date(a.getFullYear(),a.getMonth(),a.getDate())};h.setFullYear=function(a){this.ob.setFullYear(a)};h.setMonth=function(a){this.ob.setMonth(a)};h.setDate=function(a){this.ob.setDate(a)};h.setTime=function(a){this.ob.setTime(a)};
2491h.add=function(a){if(a.l||a.o){var b=this.getMonth()+a.o+12*a.l,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(GO(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.g&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.g),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),MO(this,a.getDate()))};
2492h.yq=function(a){return[this.getFullYear(),Vd(this.getMonth()+1,2),Vd(this.getDate(),2)].join(a?"-":"")};h.CL=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};h.toString=function(){return this.yq()};function MO(a,b){a.getDate()!=b&&a.ob.setUTCHours(a.ob.getUTCHours()+(a.getDate()<b?1:-1))}h.valueOf=function(){return this.ob.valueOf()};
2493function NO(a,b,c,d,e,f,g){this.ob=Oa(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,g||0):new Date(a&&a.getTime?a.getTime():db())}x(NO,LO);h=NO.prototype;h.getHours=function(){return this.ob.getHours()};h.getMinutes=function(){return this.ob.getMinutes()};h.getSeconds=function(){return this.ob.getSeconds()};h.getMilliseconds=function(){return this.ob.getMilliseconds()};h.getUTCHours=function(){return this.ob.getUTCHours()};h.getUTCMinutes=function(){return this.ob.getUTCMinutes()};h.setHours=function(a){this.ob.setHours(a)};
2494h.setMinutes=function(a){this.ob.setMinutes(a)};h.setSeconds=function(a){this.ob.setSeconds(a)};h.setMilliseconds=function(a){this.ob.setMilliseconds(a)};h.add=function(a){LO.prototype.add.call(this,a);a.Zf&&this.ob.setUTCHours(this.ob.getUTCHours()+a.Zf);a.h&&this.ob.setUTCMinutes(this.ob.getUTCMinutes()+a.h);a.j&&this.ob.setUTCSeconds(this.ob.getUTCSeconds()+a.j)};
2495h.yq=function(a){var b=LO.prototype.yq.call(this,a);return a?b+" "+Vd(this.getHours(),2)+":"+Vd(this.getMinutes(),2)+":"+Vd(this.getSeconds(),2):b+"T"+Vd(this.getHours(),2)+Vd(this.getMinutes(),2)+Vd(this.getSeconds(),2)};h.CL=function(a){return this.getTime()==a.getTime()};h.toString=function(){return this.yq()};h.clone=function(){var a=new NO(this.ob);a.em=this.em;a.Dt=this.Dt;return a};var OO={arabic:!0,dari:!0,hebrew:!0,pashto:!0,"persian (farsi)":!0,sindhi:!0,urdu:!0,uyghur:!0,yiddish:!0};function RAa(a){var b={};(new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",month:"numeric",day:"numeric",year:"numeric",timeZoneName:"short"})).formatToParts(a).forEach(function(c){b[c.type]=c.value});return b.hour+":"+b.minute+b.dayPeriod.toLowerCase()+" "+b.timeZoneName+" on "+(b.month+"/"+b.day+"/"+b.year)}
2496function PO(a){return a.getMonth()+1+"/"+a.getDate()+"/"+a.getFullYear()}function QO(a){a=a.split("/");return new Date(Number(a[2]),Number(a[0])-1,Number(a[1]),0,0,0)}function RO(a,b){var c=a?a:new LO;c.setDate(1);a=new LO(c);b&&c.setDate(c.getDate()-c.getDay());c=PO(c);a.setMonth(a.getMonth()+1);a.setDate(a.getDate()-1);b&&a.setDate(a.getDate()+6-a.getDay());return[c,PO(a)]}function SAa(a){a=a?a:new LO;a.setDate(a.getDate()-a.getDay());var b=PO(a);a.setDate(a.getDate()+6);return[b,PO(a)]}
2497function SO(a){var b=-1;a=a?a:new LO;var c=new Date(LJ);c.setFullYear(a.getFullYear());c.setMinutes(c.getMinutes()+c.getTimezoneOffset());c>a&&b--;c.setFullYear(c.getFullYear()+b);return PO(c)}function TAa(a,b,c){var d=[];a=m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push({name:e.kb(),reporting_id:L(e,4,""),building_id:e.bh(),inactive:fz(e,6,!1)});if(w(b)&&w(c))for(b=c[b.F],c=m(d),a=c.next();!a.done;a=c.next())a=a.value,a.hidden=!b.includes(a.building_id);return TO(d)}
2498function TO(a){var b=[],c=[];a=m(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,!d.hidden){var e=b.indexOf(d.reporting_id);"false"==d.inactive?d.inactive=!1:"true"==d.inactive&&(d.inactive=!0);if(-1==e)b.push(d.reporting_id),c.push({name:[d.name],reporting_id:d.reporting_id,building_id:d.building_id,inactive:d.inactive});else{a:{var f=c[e].name;for(var g=0;g<f.length;g++)if(f[g].toLocaleLowerCase()==d.name.toLocaleLowerCase()){f=!0;break a}f=!1}f||(c[e].name.push(d.name),c[e].inactive=d.inactive&&
2499c[e].inactive)}
2499}c.sort(UAa);b=m(c);for(d=b.next();!d.done;d=b.next())a=d.value,a.inactive&&(a.name[0]="[INACTIVE] "+a.name[0]);return c}function UAa(a,b){return a.inactive&&!b.inactive?1:!a.inactive&&b.inactive?-1:a.name[0].localeCompare(b.name[0])}function $I(){var a=VJ,b=UI[a];if(!b)return[];var c=kK(),d=yF(AF),e=zF();return b.St(a,c,e,d)}
2500function UO(a,b){if(null==a)return b?b:0;if(null==a)var c=!1;else{var d=window.getComputedStyle(a);c="auto"==d.zIndex;var e=d.position;e=("absolute"==e||"relative"==e)&&!c||"fixed"==e||"sticky"==e;var f=a.parentElement,g=void 0;f&&(g=window.getComputedStyle(f));f=g&&("flex"==g.display||"inline-flex"==g.display);g=g&&("grid"==g.display||"inline-grid"==g.display);var k=d.getPropertyValue("container-type");k="size"==k||"inline-size"==k;var l=parseFloat(d.opacity);l=!isNaN(l)&&1>l;var n=d.getPropertyValue("mix-blend-mode");
2501n=!!n&&"normal"!=n;var q=d.getPropertyValue("transform"),t=d.getPropertyValue("scale"),u=d.getPropertyValue("rotate"),v=d.getPropertyValue("translate"),y=d.getPropertyValue("filter"),G=d.getPropertyValue("backdrop-filter"),K=d.getPropertyValue("perspective"),J=d.getPropertyValue("clip-path"),O=d.getPropertyValue("mask"),P=d.getPropertyValue("mask-image"),Q=d.getPropertyValue("mask-border");q=!!q&&"none"!=q||!!t&&"none"!=t||!!u&&"none"!=u||!!v&&"none"!=v||!!y&&"none"!=y||!!G&&"none"!=G||!!K&&"none"!=
2502K||!!J&&"none"!=J||!!O&&"none"!=O||!!P&&"none"!=P||!!Q&&"none"!=Q;t="isolate"==d.getPropertyValue("isolation");d="layout"==d.contain||"paint"==d.contain||"strict"==d.contain||"content"==d.contain;c=e||k||f&&!c||g&&!c||l||n||q||t||d}c&&(b=void 0);c=window.getComputedStyle(a).zIndex;if("auto"==c)return UO(a.parentElement,b);d=c=parseInt(c,10);void 0!==b&&(d=Math.max(c,b));return UO(a.parentElement,Math.max(c,d))}
2503function VAa(a){for(;a;){var b=getComputedStyle(a);if("scroll"==b.overflowX||"scroll"==b.overflowY||"auto"==b.overflowY||"auto"==b.overflowX)return a;a=a.parentElement}return null}function VO(a,b,c){var d=new TG(b);c&&(a=a.bind(c));D(d,"tick",function(){a();d.stop()});return{Zw:function(){d.stop();d.start()},dispose:function(){d.enabled&&a();d.stop();d.Cm();d.dispose()}}}
2504function WO(a){a=Date.now()-a;var b=0>a,c=b?"from now":"ago";a=Math.abs(a);return 1E4>a&&!b?"just now":3E4>a?"a few moments "+c:6E4>a?Math.floor(a/1E3)+" seconds "+c:12E4>a?"about a minute "+c:36E5>a?Math.floor(a/6E4)+" minutes "+c:72E5>a?"an hour "+c:864E5>a?Math.floor(a/36E5)+" hours "+c:1728E5>a?"a day "+c:6048E5>a?Math.floor(a/864E5)+" days "+c:12096E5>a?"1 week "+c:2592E6>a?Math.floor(a/6048E5)+" weeks "+c:38016E5>a?"about a month "+c:"months "+c}
2505function WAa(a,b){if(a===b)return!0;if(null==a||null==b||a.length!==b.length)return!1;for(var c=0;c<a.length;++c)if(a[c]!==b[c])return!1;return!0};function XO(){}x(XO,oN);Ra(XO);XO.prototype.We=function(a){var b=a.g.O("SPAN",rN(this,a).join(" "));a=a.Cc();XAa(this,b,a);return b};XO.prototype.Xc=function(a,b){b=XO.D.Xc.call(this,a,b);var c=ex(b),d=YO;Nb(c,ZO(this,$O))?d=$O:Nb(c,ZO(this,aP))?d=aP:Nb(c,ZO(this,YO))&&(d=YO);a.ik=d;qH(b,"checked",d==$O?"mixed":d==aP?"true":"false");return b};XO.prototype.Ik=function(){return"checkbox"};
2506function XAa(a,b,c){if(b){var d=ZO(a,c);fx(b,d)||($b(YAa,function(e){e=ZO(this,e);jx(b,e,e==d)},a),qH(b,"checked",c==$O?"mixed":c==aP?"true":"false"))}}XO.prototype.ab=function(){return"jb-yh"};function ZO(a,b){a=a.ab();if(b==aP)return a+"-rh";if(b==YO)return a+"-unchecked";if(b==$O)return a+"-sh";throw Error("Invalid checkbox state: "+b);};function bP(a,b,c){c=c||XO.getInstance();xN.call(this,null,c,b);this.ik=w(a)?a:YO}x(bP,xN);var aP=!0,YO=!1,$O=null,YAa={$aa:aP,Dea:YO,Gea:$O};h=bP.prototype;h.hh=null;h.Cc=function(){return this.ik};h.Pc=function(){return this.ik==aP};h.nc=function(a){a!=this.ik&&(this.ik=a,XAa(this.l,this.w(),this.ik))};function ZAa(a,b){if(a.Uc()){var c=vN(a,32);a.$();a.hh=b;a.K();c&&a.j.focus()}else a.hh=b}h.toggle=function(){this.nc(this.ik?YO:aP)};
2507h.K=function(){bP.D.K.call(this);if(this.Vx){var a=HH(this);this.hh&&a.J(this.hh,"click",this.GD).J(this.hh,"mouseover",this.qm).J(this.hh,"mouseout",this.jy).J(this.hh,"mousedown",this.Gg).J(this.hh,"mouseup",this.Mi);a.J(this.w(),"click",this.GD)}a=this.j;this.hh&&a!=this.hh&&xc(tH(a))&&(this.hh.id||(this.hh.id=this.rb()+".lbl"),qH(a,"labelledby",this.hh.id))};
2508h.GD=function(a){a.stopPropagation();var b=this.ik?"uncheck":"check";this.isEnabled()&&!a.target.href&&this.dispatchEvent(b)&&(a.preventDefault(),this.toggle(),this.dispatchEvent("change"))};h.Vn=function(a){32==a.keyCode&&(this.Nf(a),this.GD(a));return!1};fN("jb-yh",function(){return new bP});function cP(a,b,c){GN.call(this,a,b||gO.getInstance(),c)}x(cP,GN);fN("jb-custom-Fh",function(){return new cP(null)});function dP(){}x(dP,HN);Ra(dP);dP.prototype.ab=function(){return"jb-link-Fh"};fN("jb-link-Fh",function(){return new GN(null,dP.getInstance())});function eP(){Rx.call(this)}x(eP,Rx);h=eP.prototype;h.Xd=0;h.Pi=0;h.Lj=100;h.uj=0;h.Lk=!1;h.setValue=function(a){a=fP(this,a);this.Xd!=a&&(this.Xd=a+this.uj>this.Lj?this.Lj-this.uj:a<this.Pi?this.Pi:a,this.Lk||this.dispatchEvent("change"))};h.getValue=function(){return fP(this,this.Xd)};function $Aa(a,b){if(a.Pi!=b){var c=a.Lk;a.Lk=!0;a.Pi=b;b+a.uj>a.Lj&&(a.uj=a.Lj-a.Pi);b>a.Xd&&a.setValue(b);b>a.Lj&&(a.uj=0,aBa(a,b),a.setValue(b));a.Lk=c;a.Lk||a.dispatchEvent("change")}}
2509function bBa(a){return fP(a,a.Pi)}function aBa(a,b){b=fP(a,b);if(a.Lj!=b){var c=a.Lk;a.Lk=!0;a.Lj=b;b<a.Xd+a.uj&&a.setValue(b-a.uj);b<a.Pi&&(a.uj=0,$Aa(a,b),a.setValue(a.Lj));b<a.Pi+a.uj&&(a.uj=a.Lj-a.Pi);a.Lk=c;a.Lk||a.dispatchEvent("change")}}function cBa(a){return fP(a,a.Lj)}function fP(a,b){return a.Pi+Math.round(b-a.Pi)};function gP(a){EH.call(this,a);this.h=new eP;D(this.h,"change",this.cZ,!1,this)}x(gP,EH);var dBa={vertical:"Jq-Kq-bl",horizontal:"Jq-Kq-Lq"};h=gP.prototype;h.Ra=function(){this.l=this.g.O("DIV","Jq-Kq-Mq");this.j=this.g.O("DIV",dBa.horizontal,this.l);eBa(this);fBa(this);gBa(this)};h.K=function(){gP.D.K.call(this);Jv&&7>Rv&&D(this.w(),"resize",this.WA,!1,this);this.WA();var a=this.w();pH(a,"progressbar");qH(a,"live","polite")};h.$=function(){gP.D.$.call(this);hBa(this)};
2510function hBa(a){Jv&&7>Rv&&Mx(a.w(),"resize",a.WA,!1,a)}h.Vc=function(a){gP.D.Vc.call(this,a);gx(this.w(),dBa.horizontal);a=ew(null,"Jq-Kq-Mq",this.w())[0];a||(a=this.g.O("DIV","Jq-Kq-Mq"),this.w().appendChild(a));this.l=a};h.getValue=function(){return this.h.getValue()};h.setValue=function(a){this.h.setValue(a);this.w()&&eBa(this)};function eBa(a){var b=a.w();qH(b,"valuenow",a.getValue())}function fBa(a){var b=a.w();qH(b,"valuemin",bBa(a.h))}function gBa(a){var b=a.w();qH(b,"valuemax",cBa(a.h))}
2511h.cZ=function(){this.WA();this.dispatchEvent("change")};h.WA=function(){if(this.l){var a=bBa(this.h),b=cBa(this.h);a=(this.getValue()-a)/(b-a);this.l.style.width=Math.round(100*a)+"%"}};h.qa=function(){hBa(this);gP.D.qa.call(this);this.l=null;this.h.dispose()};function hP(a,b,c){iO.call(this,null,null,a,c);this.h=b||null}x(hP,iO);h=hP.prototype;h.Rz=2;h.W=function(a){hP.D.W.call(this,a);iP(this).disabled=!a};h.Gg=function(a){this.g.contains(iP(this),a.target)||hP.D.Gg.call(this,a)};function iP(a){var b=a.ib();return fw(a.g.g,"INPUT","jb-selectionmenubutton-yh",b)[0]}h.dZ=function(){2==this.Rz?(jP(this,0),this.Gd(0)&&this.Gd(0).dispatchEvent("action")):(jP(this,2),this.Gd(1)&&this.Gd(1).dispatchEvent("action"))};
2512h.DZ=function(a){0==a.target.Tc()?jP(this,0):jP(this,2)};function kP(a){a.Gd(0)&&a.Gd(1)&&(HH(a).J(a.Sb(),"action",a.DZ),a.Gd(0).Pb=0,a.Gd(1).Pb=2)}
2512function iBa(a){HH(a).J(iP(a),"click",a.dZ)}h.Ra=function(){hP.D.Ra.call(this);var a=bx(this.g,"INPUT");a.type="checkbox";a.className="jb-selectionmenubutton-yh";this.Fc(a);a=new WN("All",null,this.g,this.h);var b=new WN("None",null,this.g,this.h);this.Jb(a);this.Jb(b);iBa(this);kP(this)};h.Vc=function(a){hP.D.Vc.call(this,a);iBa(this);kP(this)};
2513h.gf=function(a){hP.D.gf.call(this,a);kP(this)};function jP(a,b){if(a.Rz!=b){var c=iP(a);0==b?(c.checked=!0,BG(c,1)):1==b?(c.checked=!0,BG(c,.5)):(c.checked=!1,BG(c,1));a.Rz=b}}h.Di=function(){return this.Rz};fN("jb-selectionmenubutton-Fh",function(){return new hP});function lP(){}x(lP,oN);Ra(lP);h=lP.prototype;h.ab=function(){return"jb-tab"};h.Ik=function(){return"tab"};h.We=function(a){var b=lP.D.We.call(this,a);(a=a.Ei())&&this.pd(b,a);return b};h.Xc=function(a,b){b=lP.D.Xc.call(this,a,b);var c=this.Ei(b);c&&a.Zz(c);vN(a,8)&&(c=a.He())&&Wa(c.Gm)&&(SM(a,8,!1),c.Gm(a));return b};h.Ei=function(a){return a.title||""};h.pd=function(a,b){a&&(a.title=b||"")};function mP(a,b,c){xN.call(this,a,b||lP.getInstance(),c);this.gd(8,!0);this.Dl|=9}x(mP,xN);mP.prototype.Ei=function(){return this.h};mP.prototype.pd=function(a){this.l.pd(this.w(),a);this.Zz(a)};mP.prototype.Zz=function(a){this.h=a};fN("jb-tab",function(){return new mP(null)});function nP(){this.g="tablist"}x(nP,hN);Ra(nP);nP.prototype.ab=function(){return"jb-tab-Kq"};nP.prototype.lG=function(a,b,c){this.j||(this.h||jBa(this),this.j=ic(this.h));var d=this.j[b];d?(lN(a,d==oP||d==pP?nN:mN),a.Ha=d):nP.D.lG.call(this,a,b,c)};nP.prototype.rD=function(a){var b=nP.D.rD.call(this,a);this.h||jBa(this);b.push(this.h[a.Ha]);return b};function jBa(a){var b=a.ab();
2513a.h=lc(kBa,b+"-Bs",lBa,b+"-Es",oP,b+"-Hi",pP,b+"-Ii")};function qP(a,b,c){a=a||kBa;lN(this,a==oP||a==pP?nN:mN);this.Ha=a;IN.call(this,this.om,b||nP.getInstance(),c);mBa(this)}x(qP,IN);var kBa="top",lBa="bottom",oP="start",pP="end";h=qP.prototype;h.ai=null;h.K=function(){qP.D.K.call(this);mBa(this)};h.qa=function(){qP.D.qa.call(this);this.ai=null};h.removeChild=function(a,b){rP(this,a);return qP.D.removeChild.call(this,a,b)};h.fG=function(a){qP.D.fG.call(this,a);this.Gm(MH(this,a))};h.Gm=function(a){a?a.bi(!0):this.ai&&this.ai.bi(!1)};
2514function rP(a,b){if(b&&b==a.ai){for(var c=PH(a,b),d=c-1;b=MH(a,d);d--){var e=b;if(e.isVisible()&&e.isEnabled()){a.Gm(b);return}}for(c+=1;b=MH(a,c);c++)if(d=b,d.isVisible()&&d.isEnabled()){a.Gm(b);return}a.Gm(null)}}h.QZ=function(a){this.ai&&this.ai!=a.target&&this.ai.bi(!1);this.ai=a.target};h.RZ=function(a){a.target==this.ai&&(this.ai=null)};h.OZ=function(a){rP(this,a.target)};h.PZ=function(a){rP(this,a.target)};h.Zt=function(){LN(this)||this.ve(PH(this,this.ai||MH(this,0)))};
2515function mBa(a){HH(a).J(a,"select",a.QZ).J(a,"unselect",a.RZ).J(a,"disable",a.OZ).J(a,"hide",a.PZ)}fN("jb-tab-Kq",function(){return new qP});function sP(a,b,c,d,e){pO.call(this,a,b,c,d,e)}x(sP,pO);function nBa(a,b){if("string"==typeof b)return b;if(Array.isArray(b)||NodeList.prototype.isPrototypeOf(b)){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next())c.push(nBa(a,d.value));return c}return b?b.cloneNode(!0):b}sP.prototype.QA=function(){var a=this.qe(),b=this.h;a&&(a instanceof tP?b=uP(a,a.m):(a=a.Fd(),b=nBa(this,a)));this.Fc(b)};function BP(a){Rx.call(this);this.g=null;this.h=a;a=Jv||Kv||Nv&&!Vv("531")&&"TEXTAREA"==a.tagName;this.j=new Px(this);this.j.J(this.h,a?["keydown","paste","cut","drop","input"]:"input",this)}x(BP,Rx);
2516BP.prototype.handleEvent=function(a){if("input"==a.type)Jv&&Vv(10)&&0==a.keyCode&&0==a.o||(CP(this),this.dispatchEvent(oBa(a)));else if("keydown"!=a.type||Nva(a)){var b="keydown"==a.type?this.h.value:null;Jv&&229==a.keyCode&&(b=null);var c=oBa(a);CP(this);this.g=UG(function(){this.g=null;this.h.value!=b&&this.dispatchEvent(c)},0,this)}};function CP(a){null!=a.g&&(VG(a.g),a.g=null)}function oBa(a){a=new zx(a.g);a.type="input";return a}
2517BP.prototype.qa=function(){BP.D.qa.call(this);this.j.dispose();CP(this);delete this.h};function DP(){this.g=[]}x(DP,SN);Ra(DP);DP.prototype.ab=function(){return"jb-filterobsmenuitem"};function EP(a,b,c,d){WN.call(this,a,b,c,d||new DP)}x(EP,WN);EP.prototype.K=function(){EP.D.K.call(this)};fN("jb-filterobsmenuitem",function(){return new EP(null)});function FP(a,b){$N.call(this,b,a)}x(FP,$N);h=FP.prototype;h.YM=0;h.yD="";h.zw=!1;h.Ra=function(){FP.D.Ra.call(this);var a=this.g,b=a.O("DIV",this.Ve.ab()+"-al",this.l=a.O("DIV",null,this.yD),this.h=a.O("INPUT",{type:"text"})),c=this.w();a.appendChild(c,b);b=this.rb()+".content-el";this.Ee=a.O("DIV",{"class":this.Ve.ab()+"-zh",id:b});a.appendChild(c,this.Ee);pBa(this);qH(this.h,"autocomplete","list");qH(this.h,"owns",b);qH(this.h,"expanded",!0)};
2518function pBa(a){PN(a,!0);var b=a.h;if(a.gm){var c=a.Wc(),d=a.Uc();a.Uq=b;var e=a.Wc();d&&(a.Uq=c,KN(a,!1),a.Uq=b,JN(a).ni(e),KN(a,!0))}else throw Error("Can't set key event target for container that doesn't support keyboard focus!");Mv&&a.h.setAttribute("autocomplete","off");a.YM&&(a.h.maxLength=a.YM)}function qBa(a){a.Oc&&(Mx(a.Oc,"input",a.YL,!1,a),Mx(a.h.parentNode,"click",a.FN,!1,a),a.Oc.dispose(),a.Oc=void 0,a.m=void 0)}
2519h.Ga=function(a,b,c){(b=FP.D.Ga.call(this,a,b,c))&&a&&this.Uc()?(this.h&&(this.h.value="",this.SC("")),!this.Oc&&this.h&&(this.Oc=new BP(this.h),FG(this.h,!1),D(this.Oc,"input",this.YL,!1,this),D(this.h.parentNode,"click",this.FN,!1,this),this.zw&&(this.m=[]))):b&&!a&&qBa(this);return b};h.qa=function(){qBa(this);this.l=this.h=void 0;FP.D.qa.call(this)};h.YL=function(){this.SC(this.h.value);var a=LN(this);a&&a.isVisible()||MN(this);this.dispatchEvent("filterchange")};
2520h.SC=function(a){if(this.u!=a){this.l&&(this.l.style.visibility=""==a?"visible":"hidden");if(this.zw&&this.m){var b=a.match(/^(.+),[ ]*([^,]*)$/),c=b&&b[1]?b[1].split(","):[];if(","==a.substr(a.length-1,1)||c.length!=this.m.length){var d=c[c.length-1]||"";if(LN(this)&&""!=d){var e=LN(this).Zd();0==e.toLowerCase().indexOf(d.toLowerCase())&&(c[c.length-1]=e,this.h.value=c.join(",")+",")}this.m=c;this.dispatchEvent("change");this.ve(-1)}b&&(a=2<b.length?yc(b[2]):"")}
2520b=new RegExp("(^|[- ,_/.:])"+Ud(a),
2521"i");for(d=0;c=MH(this,d);d++)if(!(c instanceof EP||this.Z&&this.Z[c.rb()]))if(e=c.Zd()){var f=e.match(b);""==a||f?(c.Ga(!0),(e=e.indexOf(f[0]))&&e++,this.Hw(c,e,a.length)):c.Ga(!1)}else c.Ga(""==a);this.u=a}};h.Hw=function(a,b,c){var d=a.Zd();if(0==c)b=cx(this.g,d);else{var e=d.substr(b+c);b=this.g.O("SPAN",null,d.substr(0,b),this.g.O("B",null,d.substr(b,c)),e)}(c=a.oL&&a.oL())?a.Fc([b,this.g.O("SPAN","jb-Pp-Rp",c)]):a.Fc(b)};
2522h.$t=function(a){return a.shiftKey||a.ctrlKey||a.altKey||36==a.keyCode||35==a.keyCode?!1:27==a.keyCode?(this.dispatchEvent("blur"),!0):FP.D.$t.call(this,a)};h.ve=function(a){FP.D.ve.call(this,a);a=this.ib();var b=LN(this)?LN(this).w():null;this.h&&sH(this.h,b);if(b&&Rw(a,b)){var c=Jv&&!Vv(8)?0:a.offsetTop,d=b.offsetTop+b.offsetHeight-c-(a.clientHeight+a.scrollTop)+1;a.scrollTop+=Math.max(d,0);d=a.scrollTop-(b.offsetTop-c)+1;a.scrollTop-=Math.max(d,0)}};h.FN=function(){this.h.focus()};
2523h.ib=function(){return this.Ee||this.w()};h.Vc=function(a){this.j=a;zAa(this,a);a=fw(this.g.g,"DIV",this.Ve.ab()+"-al",a)[0];this.l=Nw(a);this.h=nla(this.l);this.Ee=nla(a);kN(this.Ve,this,a.parentNode,this.Ee);pBa(this)};function tP(a,b,c,d,e,f,g){WN.call(this,a,c,d,e);this.Ja=b;this.h=null==g?!1:g;this.m=uP(this,a);f&&D(this,["show","hide"],this.u,void 0,this)}x(tP,WN);tP.prototype.Ga=function(a,b){this.h&&(a=!1);return tP.D.Ga.call(this,a,b)};function uP(a,b){if("string"==typeof b)return b;if(Array.isArray(b)||NodeList.prototype.isPrototypeOf(b)){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next())c.push(uP(a,d.value));return c}return b?b.cloneNode(!0):b}tP.prototype.u=function(a){a.stopPropagation()};function GP(a,b){$N.call(this,b,a);this.Y=new Set}x(GP,FP);
2524GP.prototype.SC=function(a){if(this.u!=a){this.l&&(this.l.style.visibility=""==a?"visible":"hidden");if(this.zw&&this.m){var b=a.match(/^(.+),[ ]*([^,]*)$/),c=b&&b[1]?b[1].split(","):[];if(","==a.slice(-1)||c.length!=this.m.length){var d=c[c.length-1]||"";if(LN(this)&&""!=d){var e=LN(this).Zd();0==e.toLowerCase().indexOf(d.toLowerCase())&&(c[c.length-1]=e,this.h.value=c.join(",")+",")}this.m=c;this.dispatchEvent("change");this.ve(-1)}b&&(a=2<b.length?yc(b[2]):"")}b=0<a.length&&"("==a[0]?new RegExp(Ud(a),
2525"i"):new RegExp("(^|\\b)"+Ud(a),"i");c=!1;for(d=LH(this)-1;0<=d;d--){var f=MH(this,d);f instanceof tP&&f.h?f.Ga(!1):f instanceof EP||this.Z&&this.Z[f.rb()]||((e=f.Zd())?this.Y.has(e)||(e=e.match(b),""==a||e?(f.Ga(!0),c=!0,this.Hw(f,e?e.
2525index:0,a.length)):f.Ga(!1)):(f.Ga(""==a||c),c=!1))}if((a?a.length:0)<(this.u?this.u.length:0))for(e=0;e<LH(this);e++)if(MH(this,e)instanceof WN){this.ve(e);break}this.u=a}};GP.prototype.setValue=function(){};
2526GP.prototype.uD=function(a){this.isEnabled()&&(this.nh=!0);a.preventDefault()};GP.prototype.Hw=function(a,b,c){a instanceof tP&&a.Ja?(a.Fc(uP(a,a.m)),0!=c&&(b=a.Zd().slice(b,b+c),b=0<b.length&&"("==b[0]?new RegExp(Ud(b),"i"):new RegExp("\\b"+Ud(b),"i"),HP(a.Fd(),b,c,0,a.g))):GP.D.Hw.call(this,a,b,c)};
2527function HP(a,b,c,d,e){d++;if(!(20<=d)&&a&&!Ma(a)){if(a instanceof Node&&a.nodeType==Node.TEXT_NODE){var f=a.textContent;if(!f)return;var g=f.match(b);if(!g)return;g=g.index;var k=f.slice(g+c);f=e.O("SPAN",null,f.slice(0,g),e.O("B",null,f.slice(g,g+c)),k);e.By(f,a);e.Ox(a)}a instanceof Node?a.hasChildNodes()&&HP(a.childNodes,b,c,d,e):(a instanceof Array||a instanceof NodeList)&&a.forEach(function(l){return HP(l,b,c,d,e)})}};function rBa(a){a=a.hint;return Y('<td style="padding:0px;max-width:0px" align="right">'+(a?'<div style="top:-30px;position:relative;width:75px;height:0px;left:-70px" aria-label='+GL(a)+'><svg width="60" viewBox="-40 -40 580 250"><polygon points="100,0 500,0 500,200 100,200 0,100" fill="white" stroke="grey" stroke-width="3"/><text x="80" y="135" font-size="8em" fill="grey"> '+X(a)+" </text></svg></div>":"")+"</td>")}
2528function IP(a){a=a.Ie;return Y(a.dH?'<div class="student_info_tooltip '+Z("Gk")+'"><div class="'+Z("Gn")+'" style="background-color: '+Z(NL(a.Ed))+"; border-color: "+Z(NL(a.dC))+'">person</div><div class="'+Z("Nk")+" "+Z("Wk")+'"><div class="'+Z("Xk")+'">District Enrollment</div><div>'+X(a.Yg)+"</div></div></div>":"")}
2529function JP(a){var b=a.ce,c=a.bb;a=a.Tb;for(var d='<div class="student_info_tooltip '+Z("Gk")+'"><div class="'+Z("Hn")+'" style="'+(BL(b.state,"Enrolled")?"background-color:"+Z(NL(b.Ed))+";":"background-color:#f1ecf5;color:"+Z(NL(b.Ed))+";")+'">'+X(b.$d)+'</div><div class="'+Z("Nk")+" "+Z("Wk")+'">',e=b.X3,f=e.length,g=0;g<f;g++){var k=e[g];d+=0==g?'<div class="'+Z("Xk")+'">'+X(k)+"</div>":'<div class="'+Z("Yk")+'">'+X(k)+"</div>"}e=BL(b.state,"Enrolled")?'<div class="'+Z("Yk")+'"><a href="#pageName=enrollment_timeline&amp;objectId='+
2530Z(c)+'" class="'+Z("Mb")+'">More details</a></div>':BL(b.state,"Pre-Enrolled")?'<div><div class="'+Z("Yk")+'">Eligibility under review</div><div class="'+Z("Yk")+'"><a href="#pageName=enrollment_timeline&amp;objectId='+Z(c)+'" class="'+Z("Mb")+'">More details</a></div></div>':'<div><div class="'+Z("Xk")+'">'+X(b.nr)+'</div><div class="'+Z("Yk")+'">Not currently participating</div><div class="'+Z("Yk")+'"><a href="#pageName=enrollment_timeline&amp;objectId='+Z(c)+'" class="'+Z("Mb")+'">More details</a></div></div>';
2531d+=e;if(a){d+=0<b.FC.length?'<div style="margin-bottom: .8em;"></div>':"";e=b.FC;f=e.length;for(g=0;g<f;g++)k=e[g],d+=0==g?'<div class="'+Z("Xk")+'">'+X(k)+"</div>":'<div class="'+Z("Yk")+'">'+X(k)+"</div>";d+=0<b.FC.length?'<div class="'+Z("Yk")+'"><a href="#pageName=deadline_list&amp;objectId='+Z(c)+'" class="'+Z("Mb")+'">More details</a></div>':""}d+="</div>"+(a?'<div class="'+Z("Ik")+'" style="background-color: '+Z(NL(b.PW))+';"></div>':"")+"</div>";return Y(d)}
2532function sBa(){return Y('<div title="complete" class="'+Z("jb-kb-lb")+" "+Z("nj")+'">lock</div>')}function KP(a){a=a.wb;return Y('<td class="'+Z("Tm")+'"><span id="'+Z(a)+'"></span></td>')}function LP(a){a=a.ce;return Y(a?'<td class="'+Z("Vm")+'"><div class="student_info_tooltip '+Z("Gk")+'"><div class="'+Z("In")+'" style="background-color:'+Z(NL(a.Ed))+';"></div><div class="'+Z("Nk")+" "+Z("Wk")+'">'+X(a.nr)+"</div></div></td>":"")}
2533function MP(a){a=a.qc;return Y('<td class="'+Z("Tm")+'"><div title="caseload" id="star-'+Z(a)+'" class="'+Z("jb-kb-lb")+'"></div></td>')}
2534function NP(a){var b=a.complete,c=a.Tg,d=a.gk,e=a.jl;a=Y;b='<td class="'+Z("Vm")+'">'+(1==b?sBa():"")+(e?'<div title="Scheduled for purge" class="'+Z("jb-kb-lb")+" "+Z("nj")+'">auto_delete</div>':"")+'</td><td class="'+Z("Vm")+'">';var f;0!=c?f=Y('<a href="'+Z(JL(d))+'"><div class="'+Z("jb-kb-lb")+" "+Z("qj")+'"><div title="attachment" class="'+Z("jb-kb-lb")+" "+Z("lj")+" "+Z("pj")+'"><div class="'+Z("rj")+'">'+X(c)+"</div></div></div></a>"):f="";return a(b+f+"</td>")}
2535function OP(a){var b=a.uc,c=a.jb,d=a.Fh,e=a.Ph,f=a.py;null==a.wd||Ta(a.wd);a=a.wd;return Y('<td class="'+Z("Hm")+" "+Z("Pm")+'"'+(a?' style="width: 100%"':"")+">"+(a?'<div style="position: relative;"><div class="'+Z("en")+'">':"")+(1==b?'<span class="'+Z("dn")+'">'+X(c)+"</span>":f?'<a tag="doc_button" href="'+Z(JL(d))+'">'+X(c)+"</a>":'<span tag="doc_button" class="'+Z("Am")+'">'+X(c)+"</span>")+(a?PP({wd:a,Ph:e})+"</div></div>":"")+"</td>")}
2536function tBa(a){var b=a.oh,c=a.Zk,d=a.zo;null==a.wd||Ta(a.wd);var e=a.wd;var f=a.Ie;Ta(a.fd);var g=a.fd;a=a.bb;
2536b='<td class="'+Z("Hm")+'"><a href="'+Z(JL(d))+'">'+X(b)+"</a> ("+X(c)+")"+IP({Ie:f});c=g.length;for(d=0;d<c;d++)b+=JP({ce:g[d],bb:a,Tb:f.Tb});b+="</td>"+(e?'<td class="'+Z("Hm")+" "+Z("Qm")+'" style="width: 100%"><div style="position: relative;"><div class="'+Z("en")+'">'+PP({wd:e,Ph:!1})+"</div></div></td>":"");return Y(b)}
2537function PP(a){Ta(a.wd);var b=a.wd;a=a.Ph;for(var c="",d=b.length,e=0;e<d;e++){var f=b[e];c+=!CL(f[1])||a&&BL(f[0],"Created")?"":'<span class="'+Z("fn")+'">'+(f[0]?'<span class="'+Z("gn")+'">'+X(f[0])+"</span>":"")+(BL(f[1],"[BLANK]")?"":'<span class="'+Z("hn")+'">'+X(f[1])+"</span>")+"</span>"}return Y(c)}function QP(a){a=a.type;return Y('<tr><td class="'+Z("Nm")+'">No '+X(a)+"</td></tr>")}
2538function uBa(a){Ta(a.items);a=a.items;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+="<tr"+(e.wy?' class="'+Z("Dm")+'"':"")+">"+LP({ce:e.xx})+MP({qc:e.qc})+NP({complete:e.vu,Tg:e.Tg,gk:e.gk})+OP({uc:e.uc,jb:e.jb,Fh:e.Fh,Ph:e.Ph,py:0<e.zn})+tBa({oh:e.oh,Zk:e.Zk,zo:e.zo,wd:e.wd,Ie:e.tn,fd:e.fd,bb:e.bb})+"</tr>"}else b+=QP({type:"documents"});return Y(b+"</table></div>")}
2539function vBa(a){Ta(a.items);a=a.items;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d],f="<tr"+(e.wy?' class="'+Z("Dm")+'"':"")+">",g=e.fd,k=e.bb,l=e.Lz,n=e.oh,q=e.Zk,t=e.zo;var u=e.tn;Ta(g);var v="";if(1==l)v+='<td class="'+Z("Sm")+'"></td>';else{v+='<td class="'+Z("Qm")+'"><a href="'+Z(JL(t))+'">'+X(n)+"</a> ("+X(q)+")"+IP({Ie:u});l=g.length;for(n=0;n<l;n++)v+=JP({ce:g[n],bb:k,Tb:u.Tb});v+="</td>"}u=Y(v);b+=f+u+LP({ce:e.xx})+
2540KP({wb:e.qc})+MP({qc:e.qc})+NP({complete:e.vu,Tg:e.Tg,gk:e.gk,jl:e.jl})+OP({uc:e.uc,jb:e.jb,Fh:e.Fh,wd:e.wd,Ph:e.Ph,py:0<e.zn})+rBa({hint:e.zC})+"</tr>"}else b+=QP({type:"documents"});return Y(b+"</table></div>")}
2541function wBa(a){Ta(a.items);a=a.items;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+="<tr"+(e.wy?' class="'+Z("Dm")+'"':"")+">"+LP({ce:e.xx})+KP({wb:e.qc})+MP({qc:e.qc})+NP({complete:e.vu,Tg:e.Tg,gk:e.gk,jl:e.jl})+OP({uc:e.uc,jb:e.jb,Fh:e.Fh,wd:e.wd,Ph:e.Ph,py:0<e.zn})+rBa({hint:e.zC})+"</tr>"}else b+=QP({type:"documents"});return Y(b+"</table></div>")}
2542function xBa(a){Ta(a.items);a=a.items;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+="<tr>"+KP({wb:e.Ib})+'<td class="'+Z("Hm")+'" style="width: 30%;">'+(BL(e.uc,!0)?'<span class="'+Z("dn")+'">'+X(e.hc)+", "+X(e.cc)+"</span>":'<a href="#pageName=user_docs_list&amp;userId='+Z(e.Ib)+'">'+(BL(e.hc,"")?X(e.userName):X(e.hc)+", "+X(e.cc))+"</a>")+'</td><td class="'+Z("Hm")+'" style="width: 15%;">'+X(e.userName)+'</td><td class="'+
2543Z("Hm")+'" style="width: 15%;">'+(BL(e.Ze,!0)?"admin":"")+'</td><td class="'+Z("Hm")+'">';e=e.roles;for(var f=e.length,g=0;g<f;g++){var k=e[g];b+='<span title="'+Z(k.KU)+'">'+X(k.A5)+(g!=f-1?", ":"")+"</span>"}b+="</td></tr>"}else b+=QP({type:"users"});return Y(b+"</table></div>")}
2544function yBa(a){Ta(a.items);var b=a.items;var c=a.Y1;a='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">';var d=b.length;if(0<d)for(c=0;c<d;c++){var e=b[c];a+="<tr>"+KP({wb:e.bb})+'<td class="'+Z("Hm")+'" style="width: 5%;">';if(BL(e.uc,!0)){var f=e.jl?'<span title="Scheduled for purge" class="'+Z("jb-kb-lb")+" "+Z("nj")+'">auto_delete</span>':e.R5?'<span title="Scheduled for departure" class="'+Z("jb-kb-lb")+" "+Z("nj")+'">auto_delete</span>':"";a+='<span class="'+Z("dn")+'">'+X(e.hc)+
2545", "+X(e.cc)+" ("+X(e.og)+")"+f+"</span>"}else{a+='<a href="#pageName=object_docs_list&amp;objectId='+Z(e.bb)+'">'+X(e.hc)+", "+X(e.cc)+"</a> ("+X(e.og)+")"+IP({Ie:e});f=e.fd;for(var g=f.length,k=0;k<g;k++)a+=JP({ce:f[k],bb:e.bb,Tb:e.Tb})}a+='</td><td class="'+Z("Hm")+'">'+PP({wd:e.wd,Ph:!1})+"</td></tr>"}else a+=QP({type:c});return Y(a+"</table></div>")}
2546function zBa(a){Ta(a.forms);a=a.forms;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+='<tr><td class="'+Z("Tm")+'">
2546<span id='+GL(e.zX)+'></span></td><td class="'+Z("Hm")+'">'+(BL(e.uc,!0)?'<span class="'+Z("dn")+'">'+X(e.jb)+"</span>":'<a href="#pageName=instance_form_settings&amp;formId='+Z(e.TS)+'">'+X(e.jb)+"</a>")+(e.pU?'<span id="'+Z(e.jb)+'" class="'+Z("Om")+'"></span>':"")+"</td></tr>"}else b+=QP({type:"forms"});
2547return Y(b+"</table></div>")}
2548function ABa(a){Ta(a.$S);a=a.$S;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+='<tr id="row'+Z(e.wb)+'"><td class="'+Z("Tm")+' "><span id='+GL(e.wb)+'></span></td><td class="'+Z("Hm")+'"><span'+(e.uc?' class="'+Z("dn")+'"':"")+'><a href="#pageName=user_role_update&amp;userRoleId='+Z(e.dX)+'">'+X(e.name)+'</a></span></td><td class="'+Z("Hm")+'">'+(e.kF?"Generated by: "+X(e.kF):"")+'</td><td class="'+Z("Hm")+'">'+(e.R_?
2549'<span class="'+Z("Jk")+" "+Z("sgBadgeSystemGenerated")+'">System Generated</span>':"")+"</td></tr>"}else b+=QP({type:"user roles"});return Y(b+"</table></div>")}
2550function BBa(a){Ta(a.forms);a=a.forms;var b='<div class="'+Z("Ce")+'"><table class="'+Z("le")+'" width="100%" style="table-layout: fixed;"><tr><th class="'+Z("Em")+'" width="5%"><div id="selection_button"></div></th><th class="'+Z("Em")+'" width="50%"><div id="actions_button2"></div></th><th class="'+Z("Em")+'" width="15%"><div id="actions_button3"></div></th><th class="'+Z("Em")+'" width="15%"><span id="impl_permission"></span><span id="impl_permission_tooltip"></span></th><th class="'+Z("Em")+'" width="15%"><span id="max_permission"></span><span id="max_permission_tooltip"></span></th></tr>',
2551c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+='<tr id="row'+Z(e.wb)+'"><td class="'+Z("Tm")+'" width="5%"><span id='+GL(e.wb)+'></span></td><td class="'+Z("Im")+" "+(e.uc?Z("dn"):"")+'" width="50%">'+X(e.name)+'</td><td class="'+Z("Im")+'" width="15%"><span id="formgroup'+Z(e.wb)+'" class="'+Z("hn")+'"></span></td><td class="'+Z("Im")+'" width="15%"><div id="implperm'+Z(e.wb)+'"></div></td><td class="'+Z("Im")+'" width="15%"><div id="maxperm'+Z(e.wb)+'"></div></td></tr>'}else b+=QP({type:"user role forms"});
2552return Y(b+"</table></div>")}
2553function CBa(a){Ta(a.Qb);var b=a.Qb;a=a.Xb;var c='<div class="'+Z("Ce")+'"><div width="100%" class="'+Z("in")+'">Included in a SIS Demographics Integration</div><table width="100%" class="'+Z("le")+'">',d=b.length;if(0<d)for(var e=0;e<d;e++){var f=b[e];c+=f.Ht?DBa({Qp:f,Xb:a}):""}else c+=QP({type:"buildings"});c+='</table><div width="100%" class="'+Z("in")+'">Not Included</div><table width="100%" class="'+Z("le")+'">';d=b.length;for(e=0;e<d;e++)f=b[e],c+=f.Ht?"":DBa({Qp:f,Xb:a});return Y(c+"</table></div>")}
2554function DBa(a){var b=a.Qp;a=a.Xb;return Y('<tr><td class="'+Z("Tm")+'"><span id='+GL(b.nn)+'></span></td><td class="'+Z("Hm")+'" style="width: 30%;">'+(BL(b.uc,!0)?'<span class="'+Z("dn")+'">'+X(b.name)+" ("+X(b.IF)+")</span>":'<a href="#pageName=building_update&amp;backToken='+Z(a)+"&amp;buildingId="+Z(b.nn)+'">'+X(b.name)+" ("+X(b.IF)+")</a>")+"</td></tr>")}
2555function EBa(a){Ta(a.forms);a=a.forms;var b='<div class="'+Z("Ce")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+='<div class="'+Z("Hm")+'"><a href="#pageName=instance_bank_update&amp;formId='+Z(e.TS)+'">'+X(e.jb)+"</a></div>"}else b+=QP({type:"forms"});return Y(b+"</div>")}
2556function FBa(a){Ta(a.cK);a=a.cK;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];var f=BL(e.JA,"sgStatusValid")?" "+Z("Xm"):BL(e.JA,"sgStatusPending")?" "+Z("Ym"):BL(e.JA,"sgStatusInvalid")?" "+Z("Zm"):" "+Z("an");b+="<tr>"+KP({wb:e.clientId})+'<td class="'+Z("Hm")+'"><span class="'+Z("Wm")+f+'" title="'+Z(e.gS)+'"></span><a href='+GL(JL(e.href))+">"+X(e.name)+"</a>"+PP({wd:e.wd})+"</td></tr>"}else b+=QP({type:"data imports/exports"});
2557return Y(b+"</table></div>")}function GBa(a){Ta(a.aO);a=a.aO;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+='<tr><td class="'+Z("Hm")+'"><a href="#pageName=pdf_export_load&amp;collectionId='+Z(e.Vg)+'">'+X(e.name)+"</a>"+PP({wd:e.wd})+"</td></tr>"}else b+=QP({type:"pdf exports"});return Y(b+"</table></div>")}
2558function HBa(a){Ta(a.rf);a=a.rf;for(var b='<p class="'+Z("hc")+'"><strong>Note</strong>: Grade level values can be modified here using the Actions above, but any changes will be overwritten by nightly data integrations. To permanently modify grade level values for students, please update them in the SIS.</p><div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'"><thead><tr><th class="'+Z("in")+'"></th><th class="'+Z("in")+'">Grade Level</th><th class="'+Z("in")+'">Count<span id="student_count_note" class="'+
2559Z("Gk")+" "+Z("mx")+'"><i class="'+Z("E")+'">info</i><span class="'+Z("Nk")+'">Student counts shown below include deleted students. <br/>Note that clicking the count to view students in the grade level will not show deleted students.</span></span></th></tr></thead><tbody>',c=a.length,d=0;d<c;d++){var e=a[d];e=Y('<tr><td class="'+Z("Tm")+'">
2559<span id='+GL(e.wb)+'></span></td><td class="'+Z("Hm")+'" style="width: 45%;">'+X(e.RL)+'</td><td class="'+Z("Hm")+'"><a href="#pageName=objects_list&amp;searchGrades='+
2560Z(BL(e.wb,"XX")?"":e.wb)+'&amp;searchInactive=true">'+X(e.UE)+" student"+(1<e.UE?"s":"")+"</a></td></tr>");b+=e}return Y(b+"</table></div>")}
2561function IBa(a){Ta(a.Zh);a=a.Zh;var b='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'"><tr><th class="'+Z("Em")+'" width="1%"><div id="selection_button"></div></th><th class="'+Z("Em")+'" width="50%">Report</th><th class="'+Z("Em")+'" width="15%"><div id="filter_button"></div></th></tr>',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];e=Y("<tr>"+KP({wb:e.endpoint})+'<td class="'+Z("Hm")+'"><a href="#pageName=instance_reports&amp;path='+Z(e.path)+'">'+X(e.name)+'</a></td><td class="'+
2562Z("Hm")+'">'+X(e.category)+"</td></tr>");b+=e}else b+=QP({type:"reports"});return Y(b+"</table></div>")}function JBa(){return Y('<span>Learn more about permissions <a href="/iep/g/support/online-guides/administrative-guide/user-roles#form-permissions" target="_blank">here</a></span>')};function KBa(a){var b=a.name,c=a.link;a=a.PE;return Y('<a class="'+Z("Wp")+'" href="'+Z(JL(c))+'"'+(a?' rel="noopener noreferrer" target="_blank"':"")+'><div class="'+Z("Zp")+'">'+X(b)+"</div></a>")}function LBa(a){a=a.name;return Y('<a class="'+Z("Wp")+'"><div class="'+Z("Zp")+'">'+X(a)+"</div></a>")}
2563function MBa(a){var b=a.name,c=a.link,d=a.PE,e=a.Ie;Ta(a.fd);var f=a.fd;a=a.bb;b='<div class="'+Z("Yp")+'"><a class="'+Z("ge")+" "+Z("Xp")+'" href="'+Z(JL(c))+'"'+(d?' rel="noopener noreferrer" target="_blank"':"")+'><div class="'+Z("Zp")+'" style="padding-right:0px;"><div class="'+Z("Cd")+'" data-text="'+Z(b)+'">'+X(b)+'</div></div></a><div class="'+Z("bq")+'">'+X(IP({Ie:e}));c=f.length;for(d=0;d<c;d++)b+=X(JP({ce:f[d],bb:a,Tb:e.Tb}));return Y(b+"</div></div>")}
2564function NBa(a){var b=a.$d,c=a.name,d=a.backgroundColor;a=a.color;return Y('<div class="'+Z("eq")+'"><div class="'+Z("fq")+'" style="background-color: '+Z(NL(d))+"; color: "+Z(NL(a))+'">'+X(b)+'</div><div class="'+Z("gq")+'">'+X(c)+"</div></div>")};function RP(a,b,c,d){d=qN(XO,w(d)?d:"ph");a=new bP(a,b,c||d);a.rd("ue");zN(a,"checkbox");return a}function OBa(a,b,c,d){d=qN(XO,w(d)&&d?"Rq":"Qq");a=new bP(a,b,c||d);a.rd("Pq");return a}function PBa(a){a.J("show",function(){var b=AK.ka("e",function(){return a.Ga(!1)});a.J("hide",function(){AK.mp(b)})})}function SP(a){a=new WH(a||"Ki",void 0,void 0);PBa(a);return a}
2565function TP(a,b,c,d,e){d=qN(HN,1==d?"vl":2==d?"wl":"ul");a=new cP(a,c||d,b);a.rd("nl");switch(e||0){case 0:a.rd("ol");break;case 1:a.rd("ql");break;case 3:a.rd("rl");break;case 4:a.rd("sl");break;case 2:a.rd("pl");break;case 5:a.rd("tl")}return a}function UP(a){var b=qN(dP,"Am");a=new GN(a,b,void 0);a.gd(32,!1);return a}function VP(){return new ZN(void 0)}function WP(a,b){var c=qN(SN,"Sp");return new WN(a,b,void 0,c)}
2566function XP(a,b){var c=qN(SN,"Vp");a=w(b)?ay(KBa,{name:a,link:b,PE:void 0}):ay(LBa,{name:a});return new WN(a,void 0,void 0,c)}function nM(a,b){var c=iN(oM,"Ep");return new $N(a,b||c)}function QBa(a,b,c){if(w(c)&&c)c="Nl";else{c="Jl";var d=oM.getInstance()}c=qN(kO,c);d=nM(b,d);a=new iO(a,d,c,b);a.gd(32,!1);return a}function YP(a){var b=qN(kO,"Dl"),c=nM(void 0);a=new iO(a,c,b,void 0);a.rd("Bl");a.gd(32,!1);return a}
2567function RBa(){var a=qN(kO,"Dl"),b=qN(SN,"Sp");a=new hP(a,b,void 0);a.rd("Cl");b=nM(void 0);a.gf(b);zN(a,"menu_button");a.gd(32,!1);return a}function ZP(a,b,c,d,e){var f=iN(oM,"Fp"),g;e?g=$P(c):g=nM(c,f);f=b||qN(kO,"Jl");var k;d?k=new sP(a,g,f,c):k=new pO(a,g,f,c);e&&(k.Sh=!0,aO(g,!0));w(b)||k.rd("Ll");zN(k,a);return k}function aQ(a){var b=iN(oM,"Fp");b=nM(void 0,b);var c=qN(kO,"Dl");b=new pO(a,b,c,void 0);b.rd("Bl");zN(b,a);return b}
2568function $P(a){var b=iN(oM,"Zk");a=new GP(b,a);a.yD="Search";a.l&&rw(a.l,a.yD);a.zw=!0;return a}function bQ(a,b){var c=qN(xO,"jl");return new CO(a,b,void 0,c,void 0)}function SBa(a){var b=qN(lP,"Su");return new mP(a,b,void 0)}function TBa(){var a=iN(nP,"pe");return new qP(void 0,a,void 0)}function UBa(a,b){b=SP(b);b.dg=!0;var c=b.ib();c.classList.add("Oi");c.appendChild(a);return b};function cQ(a,b,c,d,e,f,g,k,l){this.$b=a;this.u=Array.isArray(b)?b:Array.from(Object.entries(b));null===c&&(c=Object.values(b).flat());this.Y=c;w(g)?this.Vb=g:this.Vb="empty";this.oe=k;w(f)||(f=!1);this.sb=f;this.m=VBa(this,this.Y,!l);this.sb&&WBa(this);this.Za=e;a=XBa(this);EO.call(this,a,this.m,d)}x(cQ,EO);h=cQ.prototype;h.Gc=function(a){cQ.D.Gc.call(this,a);if(a){a=this.Sb().w();var b=UO(this.w());a.style.zIndex=Math.max(b,16001)+1}};
2569function XBa(a){if(w(a.Za)){if(a.mi()){var b=String(a.Za).charAt(0);b=b.toUpperCase();return b+String(a.Za).slice(1)}return 0==a.Y.length?a.oe?a.oe:"No "+a.Za:3>=a.Y.length?(b=a.Y.map(function(c){return""==c?a.Vb:c}).join(", "),25<b.length&&(b=b.substring(0,25)+"..."),b):a.Y.length+" "+a.Za}return a.$b}function YBa(a){return 0!=a.u.map(function(b){return b[1]}).flat().length}
2570function VBa(a,b,c){var d=$P();aO(d,c);
2570if(!YBa(a))return b=VP(),d.Ea(b,!0),d;var e=new Set(b);a.u.forEach(function(f){var g=m(f);f=g.next().value;g=g.next().value;if(0!=f.length){var k=VP();d.Ea(k,!0);k=k.w();k.className="mq";k.innerText=f;if(a.sb)throw"can not have named groups and group checked elements";}g.forEach(function(l){var n=l;0==l.length&&(n=a.Vb);n=bQ(n,{label:l});d.Ea(n,!0);e.has(l)?yO(n,zO):yO(n,BO)})});d.render();nw().e2e&&d.w().setAttribute("data-e2e","search_filter_"+a.$b.toLowerCase());
2571return d}
2572h.Ra=function(){var a=this.g;cQ.D.Ra.call(this);this.h=B("DIV",{"class":"E sgFilterSearchIcon cl",id:"search"},"search");a.yM(this.h,this.m.h||null);this.mb=B("SPAN",{"class":"gl"},"Select all");this.Z=B("SPAN",{"class":"fl"},"Clear");var b=B("DIV",{"class":"el"},[this.mb,"-",this.Z]);a.By(b,this.m.ib());b=B("DIV",{"class":"pr"});this.Wa=B("BUTTON",{"class":"ul nl ol",style:"margin-left: 10px;"},"OK");this.Ja=B("BUTTON",{"class":"ul nl ol"},"Cancel");var c=B("DIV","hl",[this.Ja,this.Wa]);b=B("DIV",
2573{"class":"il"},[b,c]);a.appendChild(this.m.w(),b)};h.K=function(){cQ.D.K.call(this);YBa(this)||this.W(!1);D(this.Z,"click",this.kP,void 0,this);D(this.mb,"click",this.q6,void 0,this);D(this.h,"click",this.bM,void 0,this);D(this.Wa,"click",this.bM,void 0,this);D(this.Ja,"click",this.r6,void 0,this)};h.kP=function(){dQ(this).forEach(function(a){return yO(a,BO)})};h.q6=function(){dQ(this).forEach(function(a){return yO(a,zO)})};h.Be=function(){return"filter.js"+this.$b};
2574function eQ(a){return null!=a&&a instanceof CO?a.h==zO:!1}function WBa(a){var b=-1;a.m.Fg(!0).filter(function(d){return d instanceof CO||0!=d.w().innerText.localeCompare("Unselected")}).sort(function(d,e){return eQ(d)&&!eQ(e)?-1:eQ(e)&&!eQ(d)?1:d.Tc().label.localeCompare(e.Tc().label)}).forEach(function(d,e){a.m.Ea(d,!0);eQ(d)||-1!=b||(b=e)});if(0<=b){var c=VP();a.m.jj(c,b,!0);c=c.w();c.className="mq";c.innerText="Unselected"}}h.bM=function(){ZBa(this);this.Gc(!1)};
2575function ZBa(a,b){a.Y=dQ(a).filter(function(d){return eQ(d)}).map(function(d){return d.Tc().label});var c=XBa(a);a.Fc(c);a.sb&&WBa(a);b||a.dispatchEvent(a.Be())}h.r6=function(){this.Gc(!1)};h.Cc=function(){return this.Y};h.mi=function(){return dQ(this).map(function(a){return eQ(a)}).reduce(function(a,b){return a&&b},!0)};function dQ(a){return OH(a.m).map(function(b){return JH(a.m,b)}).filter(function(b){return b instanceof CO})}h.$=function(){cQ.D.$.call(this);this.m&&this.m.dispose()};
2576h.Pz=function(a,b){if(a)for(var c=m(dQ(this)),d=c.next();!d.done;d=c.next()){d=d.value;var e=BO;a.includes(d.Tc().label)&&(e=zO);yO(d,e)}else this.kP();ZBa(this,b)};function fQ(a,b,c,d,e,f,g,k){var l=this;this.me={};this.Cb={};for(var n=m(b),q=n.next();!q.done;q=n.next()){q=q.value;var t=this.Kc(q);this.me[t]=q.bh();this.Cb[q.bh()]=t}n=null;null!=c&&(n=c.map(function(u){return l.Cb[u]}));b={"":b.filter(function(u){return!fz(u,6,!1)||c&&c.includes(u.bh())}).map(this.Kc)};cQ.call(this,a,b,n,d,e,f,g,"",k)}x(fQ,cQ);fQ.prototype.Kc=function(a){return a.kb()+" ("+L(a,4,"")+")"};
2577fQ.prototype.Cc=function(){var a=this.me;return this.Y.map(function(b){return a[b]?a[b]:""})};fQ.prototype.Pz=function(a,b){var c=this,d=[];null!=a&&(d=a.map(function(e){return c.Cb[e]}));fQ.D.Pz.call(this,d,b)};function gQ(a,b,c,d){EH.call(this,b);this.KG=a;a=new fQ("buildings",c.allBuildings,c.buildings,void 0,"buildings",!0,"None Assigned");a.rd("Gl");D(a,a.Be(),this.iW,void 0,this);this.xM=a;this.h=null;this.l="40px";w(d)&&(this.l=d)}x(gQ,EH);h=gQ.prototype;h.KG="";h.GC=null;h.iW=function(){this.dispatchEvent("change")};h.tK=function(){this.dispatchEvent("delete")};
2578h.Ra=function(){var a=this.g.O("TD",{style:"text-align:left;width:"+this.l},this.KG);this.GC=this.g.O("DIV","jb-kb-lb");this.m=this.g.O("DIV","jb-kb-lb");var b=this.g.O("TD",{style:"text-align:left;padding-left:10px;"},this.m),c=this.g.O("TD",{style:"text-align:right;padding-left:10px;"},this.GC);a=this.g.O("TR",void 0,a,b,c);a=this.g.O("TABLE",{style:"width:100%; min-width: 200px;"},a);this.j=this.g.O("DIV","Hm",a)};
2579h.K=function(){gQ.D.K.call(this);this.h=TP("X",void 0,void 0,void 0,1);this.h.render(this.GC);this.xM.render(this.m);D(this.h,"action",this.tK,void 0,this)};h.$=function(){gQ.D.$.call(this);Mx(this.h,"action",this.tK,void 0,this);C(this.h)};h.kb=function(){return this.KG};function hQ(a,b,c){xN.call(this,void 0,void 0,c);w(a)&&(this.En=a);w(b)&&(this.Fn=b);this.h=null}x(hQ,xN);h=hQ.prototype;h.En="";h.Fn=150;h.Nb=null;h.Ld=null;h.cp=null;h.required=!1;h.Ra=function(){this.cp=this.g.O("DIV",{"class":"jb-kb-lb xk"},this.En);this.Tm();this.Nb=this.g.O("DIV","jb-kb-lb");this.Ld=this.g.O("DIV","jb-kb-lb fc");
2579this.j=this.g.O("DIV","jb-kb-lb Ak",this.cp,this.Nb,this.Ld)};
2580h.Vc=function(a){hQ.D.Vc.call(this,a);this.Ea(this.h,!1);this.h.ue(a);this.cp=a.querySelector('[data-tag="input_field_label"]');this.cp.innerText=this.En;this.Ld=a.querySelector('[data-tag="input_error"]');this.Nb=a.querySelector('[data-tag="input_content"]');this.Nb||(this.Nb=a);this.Tm();this.j=a};h.ib=function(){return this.Nb};h.K=function(){hQ.D.K.call(this);this.qb("");this.h&&-1==PH(this,this.h)&&(this.Ea(this.h,!1),yN(this,!0))};h.$=function(){hQ.D.$.call(this);C(this.h)};
2581h.qa=function(){hQ.D.qa.call(this);delete this.Nb;delete this.Ld;delete this.En;delete this.Fn;this.h=null};h.W=function(a){this.h.W(a);hQ.D.W.call(this,a);this.h.W(a)};h.focus=function(){this.h.w().focus()};h.kg=function(){return!!this.getValue()};h.setValue=function(a,b){w(a)&&null!==a&&this.h.setValue(a);w(b)&&null!==b?this.qb(b):this.qb("")};h.qb=function(a){this.Ld.style.display=""==a?"none":"";a?this.Ld.innerHTML=a:this.Ld.innerText=""};h.Je=function(){this.dispatchEvent("change")};h.Jm=function(){};
2582h.Tm=function(){this.cp&&(this.fontWeight&&(this.cp.style.fontWeight=this.fontWeight),this.cp.style.minWidth=this.Fn+"px")};h.Wc=function(){return this.h?this.h.Wc?this.h.Wc():this.h.w():null};h.Nf=function(){};
2583h.Gg=function(a){if(this.isEnabled()&&(EN(this,2)&&this.gg(!0),Ax(a))){EN(this,4)&&DN(this,!0);var b=this.Wc(),c;if(c=b){c="A"==b.tagName&&b.hasAttribute("href")||"INPUT"==b.tagName||"TEXTAREA"==b.tagName||"SELECT"==b.tagName||"BUTTON"==b.tagName?!b.disabled&&(!tla(b)||ula(b)):Uw(b);var d;c&&Jv?(!Wa(b.getBoundingClientRect)||Jv&&null==b.parentElement?d={height:b.offsetHeight,width:b.offsetWidth}:d=b.getBoundingClientRect(),d=null!=d&&0<d.height&&0<d.width):d=c;c=d}c&&b.focus()}!this.Ss&&Ax(a)&&a.preventDefault()};
2584h.qv=function(a){this.h&&this.h.qv&&this.h.qv(a)};h.gd=function(a,b){this.h&&this.h.gd&&this.h.gd(a,b)};function iQ(a,b,c,d,e,f,g,k){hQ.call(this,c,d,e);this.Za=a;this.Z=[];w(b)&&(this.Z=b);this.Y=0;this.m=null;this.u=new Map;this.Wa=w(g)?g:!1;this.mb=w(k)?k:"";this.Ja=f}x(iQ,hQ);h=iQ.prototype;
2585h.K=function(){iQ.D.K.call(this);var a=B("div");this.h=new EH;this.h.render(a);this.Nb.appendChild(a);this.Nb.id="dynamic-list";if(0<this.Z.length){a=B("div");var b=B("div"),c=iN(oM,"Fp");c=nM(void 0,c);c.render(b);this.Nb.appendChild(b);b=qN(kO,"Jl");this.m=new pO(this.Za,c,b);this.m.rd("Ll");this.m.render(a);this.Nb.appendChild(a);a=0;for(b=this.Z.length;a<b;a++)c=WP(this.Z[a],this.Z[a]),this.m.Jb(c);D(this.m,"change",this.RO,void 0,this)}else this.Nb.innerHTML="none configured"};
2586h.$=function(){this.clear();null!==this.m&&(Mx(this.m,"change",this.RO,void 0,this),C(this.m));this.u.clear();iQ.D.$.call(this)};h.RO=function(){if(null!==this.m){var a=this.m.getValue();null===a||jQ(this,a,this.Ja);this.dispatchEvent("change")}};h.clear=function(){for(var a=m(this.u.keys()),b=a.next();!b.done;b=a.next())b=this.u.get(b.value),Mx(b,"delete",this.HC,void 0,this),this.h.removeChild(b,!0);this.u.clear();null!==this.m&&(sO(this.m,null),kQ(this))};
2587h.HC=function(a){a=a.target;var b=a.kb();this.u.has(b)&&(Mx(a,"delete",this.HC,void 0,this),this.h.removeChild(a,!0),this.u.delete(b),this.Wa&&kQ(this),this.dispatchEvent("change"))};h.e7=function(){this.dispatchEvent("change")};function jQ(a,b,c){a.u.has(b)?console.error("This item is already in the list: "+b):(w(c)||(c=a.Ja),c=new gQ(b,null,c,"150px"),a.h.Ea(c,!0),D(c,"delete",a.HC,void 0,a),D(c,"change",a.e7,void 0,a),a.u.set(b,c),a.Wa&&kQ(a))}
2588function lQ(a,b){null!==a.m&&(b=b&&a.Y!=a.Z.length,a.m.W(b))}h.setValue=function(a,b){this.clear();if(w(a)&&null!==a)for(var c=0,d=a.length;c<d;c++){var e=a[c];""!=e&&jQ(this,e,this.Ja)}w(b)&&null!==b?this.qb(b):this.qb("")};function $Ba(a,b,c){a.clear();if(w(b)&&null!==b&&w(c)&&null!==c&&b.length==c.length)for(var d=0,e=b.length;d<e;d++){var f=b[d];""!=f&&jQ(a,f,c[d])}a.qb("")}
2589h.getValue=function(){for(var a=[],b=m(this.u.keys()),c=b.next();!c.done;c=b.next())c=this.u.get(c.value),a.push(c.kb());return a};h.Tc=function(){return Array.from(this.u.entries()).map(function(a){var b=m(a);a=b.next().value;b=b.next().value;return{key:a,Oa:{checked:b.xM.Cc()}}})};function mQ(a){return{allBuildings:a,buildings:[]}}
2590function kQ(a){a.Y=0;KH(a.m.Sb(),function(b){var c=b.Fd();a.u.has(c)?(b.w().style.display="none",a.Y++):b.w().style.display=""});sO(a.m,null);a.Y==a.Z.length?(lQ(a,!1),a.m.Uz(a.mb)):(lQ(a,!0),a.m.Uz(a.Za))};function nQ(a,b){var c=new lB;FE(c,a);b(c);eN(dN.getInstance(),c,!1)}function oQ(a,b,c,d){var e=new lB;FE(e,a);pQ(e,b,d,void 0);c(e);eN(dN.getInstance(),e)}
2591function aCa(a,b,c,d,e,f){var g=!1;
2591"boolean"==typeof d&&(g=d);"true"==d&&(g=!0);GE(a,2);if("Kd"==b)for(EE(a,8),f=0,d=e.length;f<d;f++){b=new rB;var k=e[f];M(b,1,k);switch(c){case "Cd":M(b,3,g);break;case "Dd":M(b,4,g);break;case "Hd":M(b,43,g)}IE(a,b)}else if("Ld"==b){EE(a,9);f=0;for(var l=e.length;f<l;f++)b=new sB,k=e[f],M(b,1,k),"Dd"==c?M(b,4,g):"Fd"==c?M(b,28,g):"Gd"==c&&M(b,30,d),JE(a,b)}else if("Md"==b)for(EE(a,10),d=0,l=e.length;d<l;d++)b=new AB,k=e[d],M(b,1,k),"Dd"==c?M(b,7,g):"Fd"==c?M(b,
259224,g):"Ed"==c&&(M(b,6,g),f&&(f.get("override_reason")&&(k=f.get("override_reason"),M(b,20,k)),f.has("share_student_team")&&(k=f.get("share_student_team"),M(b,1004,k)))),KE(a,b);else if("Id"==b)for(EE(a,6),f=0,d=e.length;f<d;f++)b=new DB,k=e[f],M(b,1,k),"Dd"==c&&M(b,5,g),mz(a,11,b,DB,void 0);else if("Qd"==b)for(EE(a,56),f=0,d=e.length;f<d;f++)b=new KC,k=e[f],M(b,1,k),"Dd"==c?M(b,7,g):"Cd"==c&&M(b,6,!g),mz(a,41,b,KC,void 0);else return;e=0;"Cd"==c?e=g?6:7:"Dd"==c?e=g?0:1:"Fd"==c?e=g?4:5:"Ed"==c?e=g?
25932:3:"Gd"==c&&(e=8);null==I(a,46)&&(c=new TC,T(a,46,c));a=OD(a);M(a,1,e)}function qQ(a,b,c,d,e,f,g){var k=new lB;FE(k,a);aCa(k,b,c,d,e,f);g&&OD(k).ql(!0);eN(dN.getInstance(),k)}function bCa(a,b,c){var d=new TC;T(a,46,d);w(b)&&(d=OD(a),M(d,2,b));c&&OD(a).ql(!0)}function pQ(a,b,c,d){T(a,6,b);bCa(a,c,d)}
2594function cCa(a,b,c){GE(a,2);EE(a,10);for(var d=m(b.keys()),e=d.next();!e.done;e=d.next()){var f=e.value;e=new AB;M(e,1,f);f=b.get(f);for(var g=0;g<f.length;g++){var k=f[g];void 0!==c&&M(k,1001,c);var l=k.Td();dCa(l);mz(e,5,k,tB,void 0)}KE(a,e)}}function rQ(a,b,c,d,e,f){var g=new lB;EE(g,6);FE(g,a);GE(g,0);a=new DB;w(b)&&M(a,1,b);w(c)&&M(a,2,c);w(d)&&M(a,4,d);w(e)&&(b=new EC,M(b,1,e),w(f)&&M(b,1001,f),T(a,1003,b));mz(g,11,a,DB,void 0);eN(dN.getInstance(),g)}
2595function sQ(a,b,c,d,e,f,g,k,l){var n=new lB;EE(n,7);FE(n,a);GE(n,b);a=new qB;w(c)&&M(a,1,c);w(d)&&M(a,3,d);w(e)&&M(a,4,e);w(f)&&M(a,5,f);w(g)&&M(a,6,g);w(k)&&M(a,24,k);w(l)&&M(a,44,l);mz(n,7,a,qB,void 0);eN(dN.getInstance(),n)}
2596function tQ(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O){var P=new lB;EE(P,8);w(a)&&FE(P,a);w(b)&&GE(P,b);b=new rB;w(c)&&M(b,1,c);w(d)&&M(b,27,d);w(e)&&M(b,3,e);w(f)&&M(b,4,f);w(g)&&M(b,5,g);w(k)&&M(b,6,k);w(l)&&M(b,7,l);w(n)&&M(b,9,n);w(q)&&M(b,10,q);w(t)&&M(b,30,t);w(u)&&M(b,31,u);w(v)&&M(b,37,v);w(y)&&M(b,36,y);w(O)&&M(b,44,O);w(G)&&M(b,1001,G);w(K)&&(c=K.map(function(Q){var R=new $B;M(R,1,Q.EO);M(R,2,Q.Oa.checked||[]);return R}),lz(b,42,c),M(b,1003,0==c.length));yF(AF).includes(29)&&w(J)&&M(b,43,J);
2597IE(P,b);eN(dN.getInstance(),P,!w(a))}function uQ(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y){var G=new lB;EE(G,9);FE(G,a);GE(G,b);a=new sB;w(c)&&M(a,1,c);w(d)&&M(a,19,d);w(e)&&M(a,4,e);w(f)&&M(a,5,f);w(g)&&M(a,23,g);w(k)&&M(a,6,k);w(l)&&M(a,7,l);w(n)&&M(a,8,n);w(q)&&M(a,17,q);w(t)&&M(a,21,t);w(u)&&M(a,25,u);w(v)&&M(a,30,v);w(y)&&a.Fm(y);JE(G,a);eN(dN.getInstance(),G)}
2598function dCa(a){if(null===a)throw Error("unable to set permission to Null");if(!yF(AF).includes(49)&&4==a)throw Error("unable to set permission to Varies");}function vQ(a,b,c,d,e,f,g,k,l,n,q){EE(a,10);GE(a,b);b=new AB;w(c)&&M(b,1,c);w(d)&&M(b,2,d);w(g)&&M(b,6,g);w(k)&&M(b,7,k);w(l)&&M(b,19,l);w(n)&&M(b,22,n);w(q)&&M(b,1003,q);c=new sB;w(e)&&M(c,1,e);T(b,4,c);if(w(f))for(e=0;e<f.length;e++)c=f[e],d=c.Td(),dCa(d),mz(b,5,c,tB,void 0);KE(a,b)}
2599function wQ(a,b,c,d,e,f,g,k,l,n){var q=new lB;FE(q,a);vQ(q,b,c,d,e,f,g,k,l,n);eN(dN.getInstance(),q)}
2600function xQ(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O){var P=new NC;w(c)&&M(P,1001,c);var Q=new rB;w(e)&&M(Q,5,e);w(f)&&M(Q,6,f);w(g)&&M(Q,27,g);T(P,1002,Q);J&&(e=new dD,M(e,1,J),T(P,1013,e));J=n?n:0;n=new uz;kz(n,2,J,void 0);w(c)&&M(n,1,c);w(l)&&n.sc(l);w(k)&&M(n,4,k||[]);if(w(O))for(c=gz(n,5,void 0,vz),O=m(O.entries()),k=O.next();!k.done;k=O.next())l=m(k.value),k=l.next().value,l=l.next().value,c.set(k,l);T(P,1011,n);if(w(q))for(O=TF(P),q=m(q.entries()),c=q.next();!c.done;c=q.next())k=m(c.value),c=
2601k.next().value,k=k.next().value,O.set(c,k);w(t)&&lz(P,1010,t);t=new HC;w(u)&&M(t,1,u);w(v)&&M(t,2,v);w(y)&&M(t,3,y);w(G)&&M(t,4,G);w(K)&&M(t,5,K);w(d)&&M(P,1007,d);T(P,1004,t);d=new lB;EE(d,47);FE(d,a);GE(d,b);mz(d,36,P,NC,void 0);eN(dN.getInstance(),d)}
2602function eCa(a,b,c,d,e,f,g,k,l,n,q){var t=[];if(0<c.length&&"all"!=c[0]){var u=new TA;bB(u,"index_objects_deadlines");bB(u,"deadlines_list");u.setValue(c.join(","));Pb(t,u)}c=new TA;bB(c,"scope");switch(d){case 0:bB(c,"student");c.setValue(b);break;case 4:bB(c,"all");break;case 5:bB(c,"unassigned");break;default:bB(c,"caseload")}Pb(t,c);n&&(c=new TA,bB(c,"building_filter_ids"),c.setValue(n.join(",")),Pb(t,c));q&&(n=new TA,bB(n,"grade_filter_levels"),n.setValue(q.join(",")),Pb(t,n));l&&(q=new TA,bB(q,
2603"view_layout"),bB(q,l),Pb(t,q));l=new TA;bB(l,"meta:message");bB(l,"start");l.setValue(e.toString());Pb(t,l);e=new TA;bB(e,"meta:message");bB(e,"end");e.setValue(f.toString());Pb(t,e);f=new TA;bB(f,"meta:message");bB(f,"is_deleted");f.setValue("false");Pb(t,f);f=new TA;bB(f,"limit_type");0==k?f.setValue("day"):f.setValue("overall");Pb(t,f);t=yQ(t);k=new lB;EE(k,35);FE(k,a);a=new VA;M(a,1,"deadlines");T(a,3,t);M(a,4,g);T(k,6,a);g=new uC;b&&M(g,1,b);M(g,2,d);T(k,31,g);eN(dN.getInstance(),k)}
2604function zQ(a,b,c,d,e,f,g,k,l,n){var q=[],t=!1;w(b)&&(t=b);b=new TA;bB(b,"meta:message");bB(b,"is_deleted");b.setValue(t.toString());Pb(q,b);w(l)&&(t=new TA,bB(t,"meta:message"),bB(t,"active"),t.setValue(l.toString()),Pb(q,t));w(c)&&(l=new TA,bB(l,"meta:message"),bB(l,"alt_view_for"),l.setValue(c),Pb(q,l));w(e)&&(c=new TA,bB(c,"meta:message"),bB(c,"user_permission"),bB(c,"user"),bB(c,"user_id"),c.setValue(e),Pb(q,c));w(f)&&(e=new TA,bB(e,"meta:message"),bB(e,"object"),bB(e,"object_id"),e.setValue(f),
2605Pb(q,e));w(g)&&g&&(f=new TA,bB(f,"max_allowable"),f.setValue(""),Pb(q,f));k&&(k=new TA,bB(k,"order_by_form_group"),Pb(q,k));w(n)&&"FORM ACTIVITY ALL FORMS ALLOWLIST"==n&&(n=new TA,bB(n,"special_use"),n.setValue("all_forms"),Pb(q,n));n=new VA;q=yQ(q);M(n,1,"forms");T(n,3,q);w(a)&&M(n,4,a);w(d)&&M(n,5,4294967295);return n}function AQ(a,b,c,d,e,f,g,k,l){b=zQ(void 0,b,c,!0,d,e,f,g,k,l);BQ(a,5,b)}
2606function fCa(a,b,c,d){EE(a,51);GE(a,d?1:3);var e=[];
2606c.forEach(function(f,g){var k=new $B;M(k,1,g);M(k,2,f||[]);e.push(k)});lz(a,38,e);b=b.map(function(f){var g=new rB;M(g,1,f);return g});lz(a,8,b)}function gCa(a,b,c,d){EE(a,66);c=m([c,d]);for(d=c.next();!d.done;d=c.next()){d=d.value;var e=new KC;M(e,1,d);mz(a,41,e,KC,void 0)}b=m(b);for(d=b.next();!d.done;d=b.next())c=d.value,d=new rB,M(d,1,c),IE(a,d)}
2607function hCa(a,b,c,d,e,f,g,k,l,n){var q=[],t=!1;w(e)&&(t=e);e=new TA;bB(e,"meta:message");bB(e,"is_deleted");e.setValue(t.toString());Pb(q,e);t=!1;w(k)&&(t=k);k=new TA;bB(k,"meta:message");bB(k,"is_admin");k.setValue(t.toString());Pb(q,k);w(l)&&(k=new TA,bB(k,"meta:message"),bB(k,"is_doc_viewer_only"),k.setValue(l.toString()),Pb(q,k));if(l=n)a:if(n)switch(n){case "true":case "false":case "all":l=!0;break a;default:l=!1}else l=!1;l&&(l=new TA,bB(l,"meta:message"),bB(l,"is_translation_only"),l.setValue(n),
2608Pb(q,l));w(b)&&!xc(b)&&(n=new TA,bB(n,"meta:message"),bB(n,"first_name"),n.setValue(b),Pb(q,n));w(c)&&!xc(c)&&(b=new TA,bB(b,"meta:message"),bB(b,"last_name"),b.setValue(c),Pb(q,b));w(d)&&!xc(d)&&(c=new TA,bB(c,"user_filter_ids"),c.setValue(d),Pb(q,c));w(f)&&(d=new TA,bB(d,"building_filter_ids"),d.setValue(f.join(",")),Pb(q,d));w(g)&&(f=new TA,bB(f,"role_filter_ids"),f.setValue(g.join(",")),Pb(q,f));g=yQ(q);q=new VA;M(q,1,"users");T(q,3,g);w(a)&&M(q,4,a);return q}
2609function CQ(a,b,c,d){b=hCa(void 0,b,c,d,void 0,void 0,void 0,void 0);BQ(a,2,b)}
2610function iCa(a,b,c,d){function e(l){l=m(l.Mc());for(var n=l.next();!n.done;n=l.next())n=n.value,g[n.dc()]=n;k++;3==k&&(l=Object.values(g),lz(f,7,l),d(f))}var f=new nB,g={};M(f,2,a);var k=0;if(!c)throw Error("missing activity");DQ(c,"V","users_by_single_string",function(l){return CQ(l,b)},e);DQ(c,"V","users_by_single_string",function(l){return CQ(l,void 0,b)},e);DQ(c,"V","users_by_single_string",function(l){return CQ(l,void 0,void 0,b)},e)}
2611function jCa(a,b,c,d,e,f,g,k,l,n,q,t){var u=[],v=!1;w(e)&&(v=e);e=!1;w(t)&&(e=t);f=!w(f)||f;t=new TA;bB(t,"meta:message");bB(t,"is_deleted");t.setValue(v.toString());Pb(u,t);f||(v=new TA,bB(v,"meta:message"),bB(v,"district_enrollment"),v.setValue(f.toString()),Pb(u,v));w(b)&&!xc(b)&&(v=new TA,bB(v,"meta:message"),bB(v,"first_name"),v.setValue(b),Pb(u,v));w(c)&&!xc(c)&&(b=new TA,bB(b,"meta:message"),bB(b,"last_name"),b.setValue(c),Pb(u,b));w(d)&&!xc(d)&&(c=new TA,bB(c,"student_filter_ids"),c.setValue(d),
2612Pb(u,c));w(g)&&(d=new TA,bB(d,"index_objects_enrollments"),bB(d,"programs"),d.setValue(g.join(",")),Pb(u,d));e&&(d=OJ,c=new TA,bB(c,"caseload_filter"),c.setValue(d),Pb(u,c));if(e||w(g))g=new TA,bB(g,"programOrCaseload"),Pb(u,g);w(k)&&(g=new TA,bB(g,"meta:message"),bB(g,"user_permission"),bB(g,"user"),bB(g,"user_id"),g.setValue(k),Pb(u,g));w(l)&&(k=new TA,bB(k,"building_filter_ids"),k.setValue(l.join(",")),Pb(u,k));w(n)&&(l=new TA,bB(l,"grade_filter_levels"),l.setValue(n.join(",")),Pb(u,l));w(q)&&
2613(n=new TA,bB(n,"deadline_filter_names"),n.setValue(q.join(",")),Pb(u,n));q=new TA;bB(q,"permission_requests");q.setValue("true");Pb(u,q);u=yQ(u);q=new VA;M(q,1,"objects");T(q,3,u);w(a)&&M(q,4,a);return q}
2614function kCa(a,b,c,d){function e(l){l=m(l.Sd());for(var n=l.next();!n.done;n=l.next())n=n.value,g[n.Rd()]=n;k++;3==k&&(l=Object.values(g),lz(f,8,l),d(f))}var f=new nB,g={};M(f,2,a);var k=0;if(!c)throw Error("missing activity");DQ(c,"X","objects_by_single_string",function(l){return EQ(l,b)},e);DQ(c,"X","objects_by_single_string",function(l){return EQ(l,void 0,b)},e);DQ(c,"X","objects_by_single_string",function(l){return EQ(l,void 0,void 0,b)},e)}
2615function EQ(a,b,c,d){b=jCa(void 0,b,c,d,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0);BQ(a,3,b)}
2616function lCa(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q){var R=[];if(w(g)){var aa=new TA;bB(aa,"meta:message");bB(aa,"is_deleted");aa.setValue(g.toString());Pb(R,aa)}w(d)&&!xc(d)&&(g=new TA,bB(g,"meta:message"),bB(g,"user_permission"),bB(g,"user"),bB(g,"user_id"),g.setValue(d),Pb(R,g));w(f)&&(d=new TA,bB(d,"meta:message"),bB(d,"is_finalized"),d.setValue(f.toString()),Pb(R,d));w(c)&&!xc(c)&&(f=new TA,bB(f,"meta:message"),bB(f,"object"),bB(f,"object_id"),f.setValue(c),Pb(R,f));w(e)&&!xc(e)&&(c=new TA,
2617bB(c,"form_filter_ids"),c.setValue(e),Pb(R,c));w(v)&&(c=new TA,bB(c,"building_filter_ids"),c.setValue(v),Pb(R,c));w(G)&&(e=new TA,bB(e,"grade_filter_levels"),e.setValue(G),Pb(R,e));w(J)&&(G=new TA,bB(G,"programs"),G.setValue(J),Pb(R,G));w(k)&&!xc(k)&&(J=new TA,bB(J,"user_labels:"+OJ),bB(J,"item"),J.setValue(k),w(l)&&l&&M(J,3,!0),Pb(R,J));w(q)&&(k=new TA,bB(k,"start_date"),k.setValue(q),Pb(R,k));w(t)&&(q=new TA,bB(q,"end_date"),q.setValue(t),Pb(R,q));w(u)&&(t=new TA,bB(t,"student_filter_ids"),t.setValue(u),
2618Pb(R,t));w(y)&&(u=new TA,bB(u,"is_owner"),u.setValue(y.toString()),Pb(R,u));w(O)&&(y=new TA,bB(y,"meta:message;district_enrollment"),y.setValue(O.toString()),Pb(R,y));w(P)&&(O=new TA,bB(O,"effective"),O.setValue(P.toDateString()),Pb(R,O),O=new TA,bB(O,"not_past"),O.setValue(P.toDateString()),Pb(R,O));Q&&(P=new TA,bB(P,"effective_inverted"),P.setValue(Q.toString()),Pb(R,P));Q=new TA;bB(Q,"permission_requests");Q.setValue("true");Pb(R,Q);Q=yQ(R);R=new VA;M(R,1,"documents");M(R,14,a);T(R,3,Q);w(b)&&
2619M(R,4,b);w(n)&&n&&(a=new SA,YA(a,"user_modification:"+OJ),mz(R,8,a,SA,void 0));w(K)&&M(R,15,K);return R}function BQ(a,b,c){var d=new lB;EE(d,b);FE(d,a);T(d,6,c);eN(dN.getInstance(),d)}function mCa(a,b,c){b=b.map(function(e){var f=new ZB;M(f,1,e);return f});var d=new lB;EE(d,50);FE(d,a);GE(d,c?3:8);lz(d,37,b);eN(dN.getInstance(),d)}function nCa(a,b){b=b.map(function(d){var e=new ZB;M(e,1,d);return e});var c=new lB;EE(c,52);FE(c,a);lz(c,37,b);eN(dN.getInstance(),c)}
2620function oCa(a,b){b=b.map(function(d){var e=new ZB;M(e,1,d);return e});var c=new lB;EE(c,50);FE(c,a);GE(c,1);lz(c,37,b);eN(dN.getInstance(),c)}function pCa(a,b){var c=new lB;EE(c,50);FE(c,a);null!=I(b,1)?GE(c,2):GE(c,1);lz(c,37,[b]);eN(dN.getInstance(),c)}
2621function qCa(a,b,c,d){function e(g){switch(g){case "none":return 0;case "view":return 1;case "edit":return 2;case "owner":return 3}}var f=new ZB;b&&M(f,1,b);f.sc(c);b=d.map(function(g){var k=new XB;M(k,1,g.id);var l=e(g.H0);M(k,10,l);g=e(g.ZZ);M(k,11,g);return k});lz(f,3,b);pCa(a,f)}function rCa(a,b){var c=new ZB;M(c,1,b);b=new lB;EE(b,50);FE(b,a);GE(b,0);lz(b,37,[c]);eN(dN.getInstance(),b)}
2622function FQ(a,b,c){var d=new VA;M(d,1,"instances");M(d,10,b);b=[];w(c)&&c&&(c=new TA,M(c,1,["deleted"]),c.setValue("false"),b.push(c));c=yQ(b);T(d,3,c);c=new lB;EE(c,49);FE(c,a);T(c,6,d);eN(dN.getInstance(),c)}function GQ(a,b,c,d,e,f,g){b=sCa(b,c,d,e,f,g);BQ(a,22,b)}
2623function sCa(a,b,c,d,e,f){var g=new VA;M(g,1,"buildings");var k=new SA;YA(k,"name");hB(g,k);k=new SA;YA(k,"reporting_id");hB(g,k);k=new SA;YA(k,"building_id");hB(g,k);k=new SA;YA(k,"inactive");hB(g,k);k=new SA;YA(k,"from_sis");hB(g,k);k=[];var l=!1;w(e)&&(l=e);e=new TA;bB(e,"deleted");e.setValue(l.toString());Pb(k,e);w(c)&&!xc(c)&&(e=new TA,bB(e,"name"),e.setValue(c),Pb(k,e));w(d)&&!xc(d)&&(c=new TA,bB(c,"reporting_id"),c.setValue(d),Pb(k,c));w(f)&&(d=new TA,bB(d,"inactive"),d.setValue(f.toString()),
2624Pb(k,d));f=yQ(k);T(g,3,f);w(a)?M(g,4,a):M(g,4,0);w(b)&&M(g,5,4294967295);return g}function tCa(a,b){var c=new VA;M(c,1,"index_objects");var d=new SA;YA(d,"grade");hB(c,d);d=new SA;YA(d,"num_students");hB(c,d);a?M(c,4,a):M(c,4,0);b&&M(c,5,4294967295);return c}function uCa(a,b,c,d,e,f,g){var k=new Bz;M(k,2,c);M(k,1,d);c=new Hz;M(c,3,b);T(c,4,k);void 0!=e&&M(c,8,e||[]);void 0!==f&&M(c,6,f);void 0!==g&&M(c,7,g);b=new lB;EE(b,63);FE(b,a);T(b,45,c);eN(dN.getInstance(),b)}
2625function HQ(a,b,c){var d=new UC;M(d,1,b);M(d,2,c);b=new lB;EE(b,67);FE(b,a);T(b,47,d);w(void 0)&&(a=new dD,M(a,1,void 0),T(b,54,a));eN(dN.getInstance(),b)}
2626function IQ(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y){var G=new lB;EE(G,0);FE(G,a);a=new KB;M(a,3,b);M(a,8,c);w(d)&&M(a,1,d);w(e)&&(3==e?M(a,2,3):0==e?M(a,2,0):1==e?M(a,2,1):2==e&&M(a,2,2));w(f)||(f=0);M(a,4,f);if(w(g))for(b=0;b<g.length;b++)kz(a,5,g[b],void 0);if(w(n)&&w(q)&&w(t)){g=new EC;M(g,2,n.toLowerCase());M(g,3,q);switch(t){case "FORM":SF(g,2);break;case "DOC":SF(g,0)}T(a,1002,g)}w(k)&&M(a,6,k);w(u)&&M(a,9,u);w(l)&&M(a,7,l);w(v)&&M(a,10,v);w(y)&&M(a,11,y);T(G,4,a);eN(dN.getInstance(),G)}
2627function vCa(a,b,c){nQ(a,function(d){EE(d,94);for(var e=m(b),f=e.next();!f.done;f=e.next())HE(d,f.value);c&&(e=new sB,M(e,1,c),JE(d,e))})}function wCa(a,b,c,d,e,f){var g=new lB;EE(g,1);FE(g,a);for(a=0;a<b.length;a++){var k=b[a];if(null!==k){if(w(c)&&w(d)&&w(e)){var l=new EC;M(l,2,c.toLowerCase());M(l,3,d);switch(e){case "FORM":SF(l,2);break;case "DOC":SF(l,0)}T(k,1002,l)}HE(g,k)}}f&&(b=new sB,M(b,1,f),JE(g,b));eN(dN.getInstance(),g)}
2628function JQ(a,b,c){var d=new lB;FE(d,a);xCa(d,b,c);eN(dN.getInstance(),d)}function xCa(a,b,c){EE(a,12);var d=new xB;M(d,1,"caseload");M(d,2,b);for(var e=0;e<c.length;e++)kz(d,3,c[e],void 0);b=b?9:10;null==I(a,46)&&(c=new TC,T(a,46,c));c=OD(a);M(c,1,b);T(a,13,d)}function yQ(a){var b=new UA;if(1==a.length)M(b,1,2),T(b,2,a[0]);else if(1<a.length){var c=a.length/2,d=yQ(a.slice(0,c));a=yQ(a.slice(c));M(b,1,0);T(b,3,d);T(b,5,a)}return b}
2629function KQ(a,b){var c=new lB;EE(c,14);FE(c,a);M(c,15,b);eN(dN.getInstance(),c)}function yCa(a,b){EE(a,18);var c=new bC;M(c,1,b||[]);T(a,19,c)}function zCa(a,b,c,d,e,f,g){var k=OJ,l=new lB;EE(l,19);FE(l,a);GE(l,b);a=new rB;w(k)&&M(a,1,k);w(c)&&M(a,7,c);c=new dC;w(d)&&M(c,1,d);w(e)&&M(c,4,e);w(f)&&M(c,3,f);(w(d)||w(e)||w(f))&&mz(a,24,c,dC,void 0);if(g)for(d=m(g),e=d.next();!e.done;e=d.next())e=e.value,f=new dC,M(f,1,e.domain),M(f,2,e.lf),mz(a,24,f,dC,void 0);IE(l,a);eN(dN.getInstance(),l)}
2630function ACa(a,b,c){var d=new lB;EE(d,37);FE(d,a);a=new DC;M(a,1,b||[]);w(c)&&M(a,2,c);T(d,32,a);eN(dN.getInstance(),d)}
2631function LQ(a,b,c){var d=new lB;EE(d,38);FE(d,a);GE(d,b);a=c.BX?c.BX:[];0==a.length&&c.Ac&&(a=[c.Ac]);a=m(a);for(b=a.next();!b.done;b=a.next()){b=b.value;var e=new DB;M(e,1,b);mz(d,11,e,DB,void 0)}a=new FB;w(c.zJ)&&M(a,1,c.zJ);w(c.GH)&&M(a,1003,c.GH);w(c.li)&&M(a,2,c.li);b=gz(a,3,void 0,null);if(c.vl){e=m(c.vl.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,b.set(f,c.vl.get(f))}T(d,33,a);eN(dN.getInstance(),d)}
2632function MQ(a,b,c,d){var e=new lB;EE(e,b);FE(e,a);a=new gC;M(a,1,c);c=0;for(b=d.length;c<b;c++)kz(a,2,d[c],void 0);T(e,22,a);eN(dN.getInstance(),e)}function BCa(a,b,c){var d=new lB;EE(d,26);var e=new LB;M(e,5,a);M(e,7,b);e.setValue(c?"1":"0");HE(d,e);eN(dN.getInstance(),d,!0)}function NQ(a,b){var c=new lB;EE(c,28);var d=new kC;M(d,1,a);""!=b?(a=new jC,M(a,2,b),mz(d,2,a,jC,void 0)):M(d,3,!0);T(c,24,d);eN(dN.getInstance(),c,!0)}
2633function CCa(a,b,c,d,e,f,g,k){var l=new lB;c?EE(l,33):EE(l,76);FE(l,a);for(a=0;a<b.length;a++)c=new AB,M(c,1,b[a]),KE(l,c);b=new rB;d&&M(b,5,d);e&&M(b,6,e);f&&M(b,27,f);k&&M(b,34,k);if(w(g))switch(g){case 2:M(b,33,2);break;case 1:M(b,33,1);break;default:M(b,33,0)}IE(l,b);eN(dN.getInstance(),l,!0)}
2634function DCa(a,b,c,d){var e=new lB;EE(e,34);FE(e,a);a=new lC;M(a,4,b);M(a,1,c);b="";try{(b=(new Intl.DateTimeFormat).resolvedOptions().timeZone)||(b="America/Ne
2634w_York")}catch(f){b="America/New_York"}M(a,8,b);d&&M(a,7,d||[]);T(e,28,a);eN(dN.getInstance(),e,!0)}function ECa(a,b,c,d){var e=new lB;EE(e,36);FE(e,a);GE(e,d);a=new lC;M(a,4,b);M(a,6,c);T(e,28,a);eN(dN.getInstance(),e,!0)}
2635function FCa(a,b){var c=new lB;if(w(b)){var d=new XC;M(d,1,b);b=new fD;T(b,1001,d);lz(c,53,[b])}EE(c,83);GE(c,0);FE(c,a);eN(dN.getInstance(),c,!0)}function OQ(a,b){var c=new lB;T(c,40,b);EE(c,55);FE(c,a);eN(dN.getInstance(),c,!0)}function PQ(a,b,c,d,e,f,g,k,l){var n=new lB;EE(n,56);w(a)&&FE(n,a);w(b)&&GE(n,b);b=new KC;w(c)&&M(b,1,c);w(d)&&M(b,6,d);w(e)&&M(b,7,e);w(f)&&b.sc(f);w(g)&&b.Vi(g);w(k)&&M(b,4,k);w(l)&&M(b,5,l);mz(n,41,b,KC,void 0);eN(dN.getInstance(),n,!w(a))}
2636function GCa(a,b){EE(a,69);GE(a,1);var c=new YC,d=new XC;M(d,2,0);w(b.rj)&&M(d,4,b.rj||[]);w(b.title)&&d.sc(b.title);w(b.Vk)&&M(c,7,b.Vk);T(c,1006,d);T(a,48,c)}function HCa(a,b){nQ(a,function(c){return GCa(c,b)})}function ICa(a,b,c){oQ(a,b,function(d){return GCa(d,c)})}function JCa(a,b){EE(a,79);GE(a,1);var c=new ZC,d=new XC;M(d,2,1);void 0!==b.items&&M(d,4,b.items||[]);void 0!==b.Oj&&M(c,1,b.Oj);void 0!==b.forms&&M(c,3,b.forms||[]);void 0!==b.type&&M(c,2,b.type);T(c,1001,d);T(a,52,c)}
2637function KCa(a,b){nQ(a,function(c){return JCa(c,b)})}function LCa(a,b,c){oQ(a,b,function(d){return JCa(d,c)},void 0)}function MCa(a,b){EE(a,93);GE(a,1);var c=new $C,d=new XC;M(d,2,4);void 0!==b.items&&M(d,4,b.items||[]);void 0!==b.qq&&M(c,2,b.qq);T(c,1001,d);T(a,60,c)}function NCa(a,b){nQ(a,function(c){return MCa(c,b)})}function OCa(a,b,c){oQ(a,b,function(d){return MCa(d,c)},void 0)}
2638function PCa(a,b){nQ(a,function(c){EE(c,93);GE(c,0);var d=new XC;M(d,1,b);M(d,1002,1);var e=new $C;T(e,1001,d);T(c,60,e)})}function QQ(a,b){var c=new Jz,d=new Dz;if(w(b))for(var e in b){var f=parseInt(e,10);gz(d,1,void 0,Cz).set(f,b[f])}T(c,1,d);b=new lB;EE(b,70);FE(b,a);T(b,49,c);eN(dN.getInstance(),b)}
2639function QCa(a,b,c,d){var e=new Ez;M(e,1,c.endpoint);var f=ly(new Uint8Array(c.getKey("p256dh")));M(e,2,f);c=ly(new Uint8Array(c.getKey("auth")));M(e,3,c);c=new Fz;M(c,3,b);T(c,5,e);d&&M(c,4,d);b=new lB;EE(b,75);FE(b,a);T(b,51,c);eN(dN.getInstance(),b,!0)}function RCa(a,b,c,d,e,f,g,k){var l=new lB;EE(l,86);FE(l,a);var n=new hD;b.forEach(function(q){kz(n,1,q,void 0)});M(n,2,c);M(n,3,d);M(n,4,e);M(n,5,f);M(n,6,g);M(n,7,k);T(l,56,n);eN(dN.getInstance(),l)}
2640function SCa(a,b){EE(a,90);var c=new sB;M(c,1,b.bb);JE(a,c);void 0!==b.vS&&lz(a,8,b.vS)}function TCa(a,b,c){var d=new kD;M(d,1,b||[]);M(d,2,c);b=new lB;EE(b,91);FE(b,a);T(b,58,d);eN(dN.getInstance(),b)};var RQ=0;function UCa(a){a=a.f_;return Y("<div>"+(BL(a,"")?"":'<div class="'+Z("Id")+'" id="select_dg_text">'+X(a)+"</div><br>")+'<div id="select_dg_content"></div></div>')}function VCa(a){a=a||{};var b=a.Wk;a=a.RK;return Y("<div>"+(b?X(b):"An error has occurred. Please retry.")+(a?"<br>If the problem persists, contact support and provide the error code: <strong>"+X(a)+"</strong>":"")+'<div class="'+Z("Nd")+'">Click OK to refresh the page.</div></div>')};var WCa=["#pageName=pdf_import"];function gM(){ux.call(this);this.X=AK;this.g=SP("Li");var a=hI(new aI,jI,!0,!0);eI(this.g,a);zK(this.X,"G",this.mX,this);zK(this.X,"H",this.Y5,this);zK(this.X,"I",this.p6,this);zK(this.X,"J",this.MM,this);zK(this.X,"E",this.d5,this);D(this.g,gI,this.o6,void 0,this)}x(gM,ux);h=gM.prototype;h.VD=!1;h.QC=!1;
2641h.mX=function(a){if(!this.o)throw SQ(this,"Slow request","Your request was not processed within one minute. This is often due to a slow upload or download speed, especially when accessing documents containing a lot of authored content or images."),this.VD=!0,w(a)||(a="not available"),Error("Expected response not received for request: "+JSON.stringify(a));};h.Y5=function(a,b){this.QC?(this.MM(b),this.QC=!1):(a||(a="Sorry, a server error occurred."),SQ(this,"Server error",a,b))};
2642h.p6=function(a){SQ(this,"Internal error",a)};function SQ(a,b,c,d){a.o||(c=ay(VCa,{Wk:c,RK:d}),d=a.g.ib(),a.g.g.getDocument().body&&d&&(d.innerHTML="",d.appendChild(c),a.g.tc(b),a.g.Ga(!0)))}h.MM=function(a){this.VD?this.VD=!1:(this.QC=!0,SQ(this,"Error","S
2642orry, there has been an error on the page. This error has been logged to our servers.",a))};
2643h.d5=function(a){WCa.some(function(b){return window.location.href.includes(b)})||(SQ(this,"Error","Cannot connect to server. Please check your connection."),Pza(a))};h.o6=function(a){"cancel"!=a.key&&(cK||dK||MK(""),window.location.reload())};var XCa={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0,"* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,
2644"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0,"* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,
2645"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},YCa={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0,"* CLASS":!0,"* ID":!0,"* STYLE":!0};var TQ={};
2646function ZCa(a){if(Jv&&!Vv(9))return[0,0,0,0];var b=TQ.hasOwnProperty(a)?TQ[a]:null;if(b)return b;65536<Object.keys(TQ).length&&(TQ={});var c=[0,0,0,0];b=UQ(a,/\\[0-9A-Fa-f]{6}\s?/g);b=UQ(b,/\\[0-9A-Fa-f]{1,5}\s/g);b=UQ(b,/\\./g);b=b.replace(/:not\(([^\)]*)\)/g,"     $1 ");b=b.replace(/{[^]*/gm,"");b=VQ(b,c,/(\[[^\]]+\])/g,2);b=VQ(b,c,/(#[^\#\s\+>~\.\[:]+)/g,1);b=VQ(b,c,/(\.[^\s\+>~\.\[:]+)/g,2);b=VQ(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3);b=VQ(b,c,/(:[\w-]+\([^\)]*\))/gi,2);
2647b=VQ(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");VQ(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return TQ[a]=b}function VQ(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function UQ(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};var $Ca={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},aDa=/[\n\f\r"'()*<>]/g,bDa={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29",
2648"*":"%2a","<":"%3c",">":"%3e"};function cDa(a){return bDa[a]}
2649function dDa(a,b,c){b=yc(b);if(""==b)return null;var d=String(b.substr(0,4)).toLowerCase();if(0==("url("<d?-1:"url("==d?0:1))return!b.endsWith(")")||1<(b?b.split("(").length-1:0)||1<(b?b.split(")").length-1:0)||!c?b=null:b=c?(b=c(Qd(b.substring(4,b.length-1)),a))&&"about:invalid#zClosurez"!=Rc(b)?'url("'+Rc(b).replace(aDa,cDa)+'")':null:null,b;if(0<b.indexOf("(")){if(/"|'/.test(b))return null;for(a=/([\-\w]+)\(/g;c=a.exec(b);)if(!(c[1]in $Ca))return null}return b};function WQ(a,b){a=La[a];return a&&a.prototype?(b=Object.getOwnPropertyDescriptor(a.prototype,b))&&b.get||null:null}function XQ(a,b){return(a=La[a])&&a.prototype&&a.prototype[b]||null}var eDa=WQ("Element","attributes")||WQ("Node","attributes"),fDa=XQ("Element","hasAttribute"),gDa=XQ("Element","getAttribute"),hDa=XQ("Element","setAttribute"),iDa=XQ("Element","removeAttribute");WQ("Element","innerHTML")||WQ("HTMLElement","innerHTML");
2650var jDa=XQ("Element","getElementsByTagName"),kDa=XQ("Element","matches")||XQ("Element","msMatchesSelector"),lDa=WQ("Node","nodeName"),mDa=WQ("Node","nodeType"),nDa=WQ("Node","parentNode");WQ("Node","childNodes");var oDa=WQ("HTMLElement","style")||WQ("Element","style"),pDa=WQ("HTMLStyleElement","sheet"),qDa=XQ("CSSStyleDeclaration","getPropertyValue"),rDa=XQ("CSSStyleDeclaration","setProperty");
2651function YQ(a,b,c,d){if(a)return a.apply(b);a=b[c];if(!d(a))throw Error("Clobbering detected");return a}function ZQ(a,b,c,d){if(a)return a.apply(b,d);if(Jv&&10>document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}function sDa(a){return YQ(eDa,a,"attributes",function(b){return b instanceof NamedNodeMap})}
2652function $Q(a,b,c){try{ZQ(hDa,a,"setAttribute",[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}}function tDa(a){return YQ(oDa,a,"style",function(b){return b instanceof CSSStyleDeclaration})}function uDa(a){return YQ(pDa,a,"sheet",function(b){return b instanceof CSSStyleSheet})}function aR(a){return YQ(lDa,a,"nodeName",function(b){return"string"==typeof b})}function bR(a){return YQ(mDa,a,"nodeType",function(b){return"number"==typeof b})}
2653function cR(a){return YQ(nDa,a,"parentNode",function(b){return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})}function vDa(a,b){return ZQ(qDa,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""}function wDa(a,b,c){ZQ(rDa,a,a.setProperty?"setProperty":"setAttribute",[b,c])};var xDa=Jv&&10>document.documentMode?null:/\s*([^\s'",]+[^'",]*(('([^'\r\n\f\\]|\\[^])*')|("([^"\r\n\f\\]|\\[^])*")|[^'",])*)/g,yDa={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};
2654function zDa(a,b,c){var d=[];a=ADa(Sb(a.cssRules));
2654Fb(a,function(e){if(b&&!/[a-zA-Z][\w-:\.]*/.test(b))throw Error("Invalid container id");if(!(b&&Jv&&10==document.documentMode&&/\\['"]/.test(e.selectorText))){var f=b?e.selectorText.replace(xDa,"#"+b+" $1"):e.selectorText;d.push(Iaa(f,BDa(e.style,c)))}});return Jaa(d)}function ADa(a){return Gb(a,function(b){return b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})}
2655function CDa(a,b,c){a=DDa("<style>"+a+"</style>");return null==a||null==a.sheet?id:zDa(a.sheet,void 0!=b?b:null,c)}function DDa(a){if(Jv&&!Vv(10)||"function"!=typeof La.DOMParser)return null;a=Dd("<html><head></head><body>"+a+"</body></html>");return(new DOMParser).parseFromString(vd(a),"text/html").body.children[0]}
2656function BDa(a,b){if(!a)return Yc;var c=document.createElement("div").style,d=dR(a);Fb(d,function(e){var f=Nv&&e in yDa?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");vc(f,"--")||vc(f,"var")||(e=vDa(a,e),e=dDa(f,e,b),null!=e&&wDa(c,f,e))});return Xc(c.cssText||"")}
2657function EDa(a){var b=Array.from(ZQ(jDa,a,"getElementsByTagName",["STYLE"])),c=taa(b,function(e){return Sb(uDa(e).cssRules)});c=ADa(c);c.sort(function(e,f){e=ZCa(e.selectorText);a:{f=ZCa(f.selectorText);for(var g=Yb,k=Math.min(e.length,f.length),l=0;l<k;l++){var n=g(e[l],f[l]);if(0!=n){e=n;break a}}e=Yb(e.length,f.length)}return-e});a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,null,!1);for(var d;d=a.nextNode();)Fb(c,function(e){ZQ(kDa,d,d.matches?"matches":"msMatchesSelector",[e.selectorText])&&
2658e.style&&FDa(d,e.style)});Fb(b,Jw)}function FDa(a,b){var c=dR(a.style),d=dR(b);Fb(d,function(e){if(!(0<=c.indexOf(e))){var f=vDa(b,e);wDa(a.style,e,f)}})}function dR(a){Ua(a)?a=Sb(a):(a=ac(a),Qb(a,"cssText"));return a};var GDa="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),HDa=0;function eR(){this.j=[];this.h=[];this.g="data-elementweakmap-index-"+HDa++}eR.prototype.set=function(a,b){if(ZQ(fDa,a,"hasAttribute",[this.g])){var c=parseInt(ZQ(gDa,a,"getAttribute",[this.g])||null,10);this.h[c]=b}else c=this.h.push(b)-1,$Q(a,this.g,c.toString()),this.j.push(a);return this};
2659eR.prototype.get=function(a){if(ZQ(fDa,a,"hasAttribute",[this.g]))return a=parseInt(ZQ(gDa,a,"getAttribute",[this.g])||null,10),this.h[a]};eR.prototype.clear=function(){this.j.forEach(function(a){ZQ(iDa,a,"removeAttribute",[this.g])},this);this.j=[];this.h=[]};var IDa=!Jv||Wv(10),JDa=!Jv||null==document.documentMode;function fR(){}
2660fR.prototype.s=function(a){if(!IDa)return ow(document,"SPAN");var b=ow(document,"SPAN");this.h&&"*"==this.j&&(b.id=this.h);this.m&&(a=DDa("<div>"+a+"</div>"),EDa(a),a=a.innerHTML);a=Dd(a);var c=document.createElement("template");if(JDa&&"content"in c)Ed(c,a),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;Ed(d.body,a)}a=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=GDa?new WeakMap:new eR;d=a.nextNode();){a:{var e=d;switch(bR(e)){case 3:e=
2661KDa(this,e);break a;case 1:if("TEMPLATE"==aR(e).toUpperCase())e=null;else{var f=aR(e).toUpperCase();if(f in this.o)var g=null;else this.l[f]?g=document.createElement(f):(g=ow(document,"SPAN"),this.T&&$Q(g,"data-sanitizer-original-tag",f.toLowerCase()));if(g){var k=g,l=sDa(e);if(null!=l)for(var n=0;f=l[n];n++)if(f.specified){var q=e;var t=f;var u=t.name;if(vc(u,"data-sanitizer-"))t=null;else{var v=aR(q);t=t.value;var y={tagName:yc(v).toLowerCase(),attributeName:yc(u).toLowerCase()},G={wC:void 0};"style"==
2662y.attributeName&&(G.wC=tDa(q));q=gR(v,u);q in this.g?(u=this.g[q],t=u(t,y,G)):(u=gR(null,u),u in this.g?(u=this.g[u],t=u(t,y,G)):t=null)}null===t||$Q(k,f.name,t)}e=g}else e=null}break a;default:e=null}}if(e){if(1==bR(e)&&c.set(d,e),d=cR(d),f=!1,d)g=bR(d),k=aR(d).toLowerCase(),l=cR(d),11!=g||l?"body"==k&&l&&(g=cR(l))&&!cR(g)&&(f=!0):f=!0,g=null,f||!d?g=b:1==bR(d)&&(g=c.get(d)),g.content&&(g=g.content),g.appendChild(e)}else Fw(d)}c.clear&&c.clear();return b};var LDa={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var MDa={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT
2662:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,
2663NAV:!0,NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};function hR(a){a=a||new NDa;ODa(a);this.g=hc(a.g);this.o=hc(a.o);this.l=hc(a.l);this.T=a.ea;Fb(a.T,function(b){if(!vc(b,"data-"))throw new ib('Only "data-" attributes allowed, got: %s.',[b]);if(vc(b,"data-sanitizer-"))throw new ib('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.g["* "+b.toUpperCase()]=iR},this);this.L=a.j;this.j=a.va;this.h=null;this.m=a.u}x(hR,fR);
2664function PDa(a){return function(b,c){return(b=a(yc(b),c))&&"about:invalid#zClosurez"!=Rc(b)?Rc(b):null}}function NDa(){this.g={};Fb([XCa,YCa],function(a){Fb(ac(a),function(b){this.g[b]=iR},this)},this);this.h={};this.T=[];this.o=hc(LDa);this.l=hc(MDa);this.ea=!1;this.Ia=Tc;this.m=this.L=this.M=this.j=uaa;this.va=null;this.s=this.u=!1}
2665function QDa(a){Fb("a abbr acronym address area article aside b bdi bdo big blockquote br caption center cite code col colgroup dd del details dfn div dl dt em figcaption figure font h1 h2 h3 h4 h5 h6 hgroup hr i img ins kbd li map mark meter ol p pre progress rp rt ruby s samp section small span strike strong sub summary sup table tbody td tfoot th thead time tr tt u ul var wbr".split(" "),function(b){this.l[b.toUpperCase()]=!0;delete this.o[b.toUpperCase()]},a)}
2666function RDa(a,b){Fb(b,function(c){Ma(c)&&(c={tagName:"*",attributeName:c,oF:null});var d=gR(c.tagName,c.attributeName);this.g[d]=c.oF?c.oF:iR;this.h[d]=!0},a)}function SDa(a,b){return function(c,d,e,f){c=a(c,d,e,f);return null==c?null:b(c,d,e,f)}}function jR(a,b,c,d){a[c]&&!b[c]&&(a[c]=SDa(a[c],d))}
2667function ODa(a){if(a.s)throw Error("HtmlSanitizer.Builder.build() can only be used once.");jR(a.g,a.h,"* USEMAP",TDa);var b=PDa(a.Ia);Fb(["* ACTION","* CITE","* HREF"],function(d){jR(this.g,this.h,d,b)},a);var c=PDa(a.j);Fb(["* LONGDESC","* SRC","LINK HREF"],function(d){jR(this.g,this.h,d,c)},a);Fb(["* FOR","* HEADERS","* NAME"],function(d){jR(this.g,this.h,d,cb(UDa,this.M))},a);jR(a.g,a.h,"A TARGET",cb(VDa,["_blank","_self"]));jR(a.g,a.h,"* CLASS",cb(WDa,a.L));jR(a.g,a.h,"* ID",cb(XDa,a.L));jR(a.g,
2668a.h,"* STYLE",cb(a.m,c));a.s=!0}function gR(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function YDa(a,b,c,d){if(!d.wC)return null;b=Wc(BDa(d.wC,function(e,f){c.IV=f;e=a(e,c);var g;null==e?g=null:g=Sc(e);return g}));return""==b?null:b}function iR(a){return yc(a)}function VDa(a,b){b=yc(b);return Nb(a,b.toLowerCase())?b:null}function TDa(a){return(a=yc(a))&&"#"==a.charAt(0)?a:null}function UDa(a,b,c){return a(yc(b),c)}
2669function WDa(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e<b.length;e++){var f=a(b[e],c);f&&d.push(f)}return 0==d.length?null:d.join(" ")}function XDa(a,b,c){return a(yc(b),c)}function ZDa(a,b){a.h=$Da(a);IDa?(a=a.s(b),0<sDa(a).length&&(b=ow(document,"SPAN"),b.appendChild(a),a=b),a=(new XMLSerializer).serializeToString(a),a=a.slice(a.indexOf(">")+1,a.lastIndexOf("</"))):a="";return Dd(a)}function aEa(a,b){a.h=$Da(a);return fR.prototype.s.call(a,b)}
2670function $Da(a){var b=!("STYLE"in a.o)&&"STYLE"in a.l;return"*"==a.j&&b?"sanitizer-"+Yd():a.j}function KDa(a,b){var c=b.data;(b=cR(b))&&"style"==aR(b).toLowerCase()&&!("STYLE"in a.o)&&"STYLE"in a.l&&(c=hd(CDa(c,a.h,bb(function(d,e){return this.L(d,{IV:e})},a))));return document.createTextNode(c)};var bEa="#d8bfd8   #e4e4e4 #e4e4e4 #e4e4e4 #e4e4e4 #e4e4e4 #e4e4e4".split(" "),cEa="#9370db  #c5bfbf #c5bfbf #c5bfbf #c5bfbf #c5bfbf #c5bfbf #c5bfbf".split(" ");function kR(a){void 0===a&&(a=1);var b=cEa[a],c=bEa[a],d="",e=!0;switch(a){case 0:d="Pre-Enrolled";break;case 1:e=!1;break;case 3:d="Transferred";break;case 4:d="Withdrew";break;case 5:d="Dropped Out";break;case 6:d="Graduated";break;case 7:d="Historical/Other";break;case 8:d="Historical/Idle"}return{Yg:d,dH:e,Ed:c,dC:b,Tb:2>a}};function dEa(a){var b=NE(a)[0],c=null!=I(b,4)?lF(b):null;if(!c)throw Error("object cannot be null");a=c.Hb();var d=c.Fb(),e=L(c,8,""),f=c.Rd();c=eF(c);for(var g=[],k=S(b,tB,5),l=[],n=0;n<k.length;n++){var q=k[n],t=q.mu()?q.Gf():null,u=t.dc(),v=t.Fb();t=t.Hb();var y=null!=I(q,6)?q.Td():null;g.push({Ib:u,cc:v,hc:t,permission:y});u==OJ&&(q=q.Yf().trim(),""!=q&&(l=q.split(",")))}b=null!=I(b,23)?L(b,23,0):null;return[a,d,e,f,c,g,b,l]}
2671function eEa(a){var b=[];if(null==I(a,28))return b;var c={timeZone:"UTC",day:"2-digit",month:"2-digit",year:"numeric"},d=0;for(a=S(N(a,sC,28),rC,2);d<a.length;d++){var e=a[d],f=L(e,1,""),g=L(e,2,""),k=L(e,3,0),l=(new Date(1E3*k)).toLocaleDateString("en-US",c),n=L(e,4,"")||"Not entered";0<n.length&&'"'==n[0]&&'"'==n[n.length-1]&&(n=n.substr(1,n.length-2));var q=L(e,7,""),t=L(e,8,""),u=I(e,9),v=I(e,10),y=I(e,11).map(function(K){return":"!=K[K.length-1]?K:K.substr(0,K.length-1)}),G;N(e,qC,13)&&(G=lR([N(e,
2672qC,13)])[0]);e=e.Td();b.push({event:f,Nu:g,ob:k,BC:l,reason:n,tk:q,form:t,keys:u,Lq:v,Ct:y,permission:e,ce:G})}return b}
2673function fEa(a){var b=[];if(null==I(a,31))return b;var c={timeZone:"UTC",day:"2-digit",month:"2-digit",year:"numeric"},d=0;for(a=S(N(a,wC,31),vC,2);d<a.length;d++){for(var e=a[d],f=L(e,19,""),g=L(e,14,""),k=e.kb(),l=L(e,20,""),n=L(e,21,""),q=L(e,15,""),t=L(e,2,""),u=L(e,3,0),v=L(e,22,""),y=e.Td(),G=S(e,rB,18),K=[],J=0;J<G.length;J++){var O="",P="",Q="",R="";O=G[J].Fb();P=G[J].Hb();Q=G[J].dc();R=G[J].Ic();K.push({cc:O,hc:P,lf:Q,userName:R})}u=(new Date(1E3*u)).toLocaleDateString("en-US",c);G=L(e,6,
2674"");J=L(e,8,"");O=I(e,11);R=I(e,12);P=L(e,13,0);Q=L(e,25,0);var aa;N(e,qC,17)&&(aa=lR([N(e,qC,17)])[0]);e=R.map(function(fa){return":"!=fa[fa.length-1]?fa:fa.substr(0,fa.length-1)});-1<G.indexOf("-1")&&(-1<G.indexOf("StudentCalendar")&&0==y&&(y=1),-1<G.indexOf("StudentAbsence")&&0==y&&(y=1));f={Mj:g,name:k,fu:v,Ef:u,hl:q,Nz:X(ZDa(new hR,t)),nf:K,permission:y,tk:G,form:J,Lq:O,Ct:e,Io:P,ce:aa,bb:f,Om:l,og:n,OF:Q};b.push(f)}return b}
2675function gEa(a){var b=[];if(null==I(a,31))return b;var c=0;for(a=S(N(a,wC,31),AB,3);c<a.length;c++){var d=a[c],e=rF(d),f=sF(d),g=null!=I(d,23)?L(d,23,0):0;d=lF(d).Rd();b.push({gx:e,xk:f,permission:g,bb:d})}return b}
2676function mR(a,b,c){var d=new Map,e=[],f=[];
2676OE(a).forEach(function(g){if(null!=I(g,1005)){var k=N(g,qC,1005);k={$d:L(k,1,""),Ed:L(k,2,""),nr:L(g,17,"")}}k={id:wF(g),name:xF(g),group:L(g,17,""),badge:k,ft:fz(g,1004,!1)};var l=L(g,12,"");b&&fz(g,5,!1)?f.push(k):""!=l?(d.has(l)||d.set(l,[]),d.get(l).push(k)):e.push(k)});c&&e.sort(hEa);return[e,f,d]}function hEa(a,b){return a.group==b.group?a.name.localeCompare(b.name):a.group.localeCompare(b.group)}
2677function iEa(a){var b=[],c=[],d=0;for(a=a.Mc();d<a.length;d++){var e=a[d],f=e.dc(),g=e.Ic(),k=e.Hb(),l=e.Fb(),n=fz(e,3,!1),q=fz(e,4,!1),t=fz(e,9,!1);e=S(e,$B,42).map(function(u){return{rg:L(u,1,""),Qb:I(u,2)}});e.sort(function(u,v){return u.rg.localeCompare(v.rg)});b.push({wb:f,Ib:f,userName:g,hc:k,cc:l,Tb:n,uc:q,Ze:t,roles:e});c.push(f)}return[b,c]}
2678function jEa(a){if(19!=a.length)return"";var b=new Date(0);b.setUTCSeconds(Number(a.substring(0,10)));return(10>b.getMonth()+1?"0":"")+(b.getMonth()+1)+"/"+((10>b.getDate()?"0":"")+b.getDate())+"/"+b.getFullYear()}
2679function nR(a,b,c){var d={};b.forEach(function(jd){d[jd.id]=jd});b=[];var e=[],f=new Map,g="",k=0;for(a=NE(a);k<a.length;k++){var l=a[k],n=rF(l),q=sF(l),t=d[q]||{},u=t.name||"Unknown",v=t.badge;t=tF(l);var y=fz(l,7,!1),G=L(l,25,""),K=fz(l,26,!1),J=fz(l,24,!1),O=fz(l,1001,!1),P=[];O&&P.push(["HISTORICAL","[BLANK]"]);var Q=jEa(n);""!=Q&&"Upload"!=u&&P.push(["Created",Q]);Q=0;for(var R=S(l,oB,3);Q<R.length;Q++){var aa=R[Q];P.push([null!=I(aa,1)?aa.getKey():null,aa.kg()?aa.getValue():null])}Q=[];R=0;
2680for(aa=S(l,vB,8);R<aa.length;R++)Q.push(null!=I(aa[R],2)?L(aa[R],2,""):null);R=null!=I(l,23)?L(l,23,0):null;aa=null!=I(l,29)?L(l,29,0):null;for(var fa=0,za="",Aa="",Va=new Map,Ja=0,ab=S(l,tB,5);Ja<ab.length;Ja++){var Xa=ab[Ja],Na=Xa.mu()?Xa.Gf():null,Xb=Xa.Td();3==Xb&&(za=Na.Fb(),Aa=Na.Hb());Na=Na.dc();w(c)&&c==Na&&(fa=Xb);Va.set(Na,Xa)}Ja="#pageName=form";Ja+="&docId="+Od(n);Ja+="&formId="+Od(q);ab=S(l,CB,15).length;Xa="#pageName=attachments";Xa+="&docId="+Od(n);Xa+="&formId="+Od(q);if(l=null!=I(l,
26814)?lF(l):null)var Lb=l.Hb(),Mb=l.Fb(),xb=eF(l),zc=l.Rd(),he=Lb+","+Mb+","+xb,Lc=gF(l)?fF(l):1,Hd=lR($E(l)),ie=fz(l,29,!1);l=!1;he==g&&(l=!0);g=he;Xb=Lb+", "+Mb;89<Xb.length&&(Xb=Xb.substring(0,90));Na="#pageName=object_docs_list&objectId="+Od(zc);q={wb:n,qc:n,Ac:q,jb:u,xx:v,vu:t,uc:y,qF:G,Ph:K,wd:P,labels:Q,Fh:Ja,zn:R,n3:fa,o3:za,p3:Aa,Lz:l,oh:Xb,Zk:xb,zo:Na,Tg:ab,gk:Xa,tn:kR(Lc),fd:Hd,ut:ie,bb:zc,jl:J,wy:O};b.push(q);e.push(n);f.set(n,{qj:Va,yK:R,zK:aa,complete:t,GW:q})}return[b,e,f]}
2682function oR(a){var b=NE(a),c=b.filter(function(d){return 0<S(d,pB,21).length});return 0<c.length?{Fu:0,Hh:b.length,cm:{"failed validation":c.length}}:pR(NE(a).map(function(d){return d.ef()}))}function kEa(a){return pR(NE(a).flatMap(function(b){return S(b,tB,5).map(function(c){return L(c,3,"")})}))}function qR(a){return pR(a.Mc().map(function(b){return b.ef()}))}function lEa(a){return pR(SE(a).map(function(b){return L(b,10,"")}))}function mEa(a){return pR(a.Sd().map(function(b){return b.ef()}))}
2683function nEa(a){return pR(OE(a).map(function(b){return b.ef()}))}function oEa(a){return pR(PE(a).map(function(b){return b.ef()}))}function pEa(a){return pR(LE(a).map(function(b){return L(b,4,"")}))}function pR(a){for(var b=0,c=0,d={},e=0;e<a.length;e++){var f=a[e];""==f?b+=1:(c+=1,d[f]||(d[f]=0),d[f]+=1)}return{Fu:b,Hh:c,cm:d}}
2684function qEa(a,b,c){var d=a.Fu,e=a.Hh;a=a.cm;var f=d+e,g=d.toString(),k="s",l="have been";1==d&&(l="has been");1==f&&(k="");0!=e&&(g=d.toString()+" out of "+f.toString());b=g+" "+b+k+" "+l+" "+c+".";for(var n in a)b+="\n- "+n+" ("+a[n]+")";return b}function rR(a,b){switch(a){case 3:return"Is Owner";case 2:return b?"Can View & Sign":"Can Edit";case 1:return"Can View";case 4:return"Varies";case 0:return"No access";default:return""}}
2685function rEa(a){switch(a){case 1:return"Standard";case 2:return"Plus";case 3:return"Pro";default:return""}}function sR(a){switch(a){case 2:return"Required";case 1:return"Not Required";case 3:return"Varies";default:return""}}function lR(a){for(var b=[],c=0;c<a.length;c++){for(var d=L(a[c],1,""),e=I(a[c],3),f=I(a[c],5),g=[],k=0;k<f.length;k++)g[k]=X(ZDa(new hR,f[k]));f=L(a[c],2,"");k=L(a[c],7,"");var l=L(a[c],6,""),n=a[c].getState();b.push({$d:d,X3:e,FC:g,Ed:f,PW:k,nr:l,state:n})}return b}
2686function sEa(a){var b=[],c=0;for(a=S(a,cC,16);c<a.length;c++){var d=a[c],e=L(d,9,""),f=L(d,3,""),g=L(d,4,""),k=L(d,5,""),l=L(d,2,0),n=d.Td(),q=fz(d,7,!1),t=N(d,sB,8);
2686d=t.Fb();var u=t.Hb(),v=t.Rd(),y=eF(t),G=lR($E(t)),K=fz(t,29,!1);t=gF(t)?fF(t):1;b.push({url:e,qc:f,Ac:g,jb:k,ZN:l,permission:n,kk:q,cc:d,hc:u,bb:v,og:y,fd:G,ut:K,Yg:t})}return b}
2687function tEa(a){var b=L(S(a,gD,1008)[0],1,"").split("-");if(3>b.length)return"unknown date and time";a=b[b.length-2];b=b[b.length-1];a=new Date(Date.UTC(parseInt(a.slice(0,4),10),parseInt(a.slice(4,6),10)-1,parseInt(a.slice(6,8),10),parseInt(b.slice(0,2),10),parseInt(b.slice(2,4),10),parseInt(b.slice(4,6),10)));return(new Intl.DateTimeFormat(void 0,{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",hour12:!0,timeZoneName:"short"})).format(a)}
2688function tR(a){a=new Date(1E3*a);return(new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit",hour12:!0,timeZoneName:"short"})).format(a)}
2689function uEa(a,b){a=S(a,fD,1009);if(!a)throw Error("PDF export cannot be null");var c=fK,d=[];a=gz(a[0],1002,void 0,eD);var e=rL();a.forEach(function(f){var g=f.rb(),k=S(f,rB,9),l="";0<k.length&&(l=k[k.length-1],l=l.Fb()+" "+l.Hb());k=new nB;var n=S(f,AB,10);lz(k,9,n);d.push({wb:g,name:f.kb(),PM:l,aL:vEa(f.Ec()),url:c+f.Hx()+"&SID="+e,Dn:nR(k,b)[0]})});return d}
2690function vEa(a){switch(a){case 0:case 2:return"Ready to download";case 1:return"Downloading...";case 3:return"Downloaded";default:return"Unknown"}}
2691function wEa(a){a=S(a,yz,1009);var b=new Map,c="sgStatusNone",d="There are no runs of this process today.";if(!a||0==a.length)return b.set("statusClass",c),b.set("statusMsg",d),b;a.sort(function(e,f){return L(f,1,0)-L(e,1,0)});switch(a[0].Ec()){case 1:c="sgStatusValid";d="Most recent run finished successfully.";break;case 3:c="sgStatusPending";d="Run is currently pending completion.";break;case 2:case 4:c="sgStatusInvalid",d="Most recent run finished with errors."}b.set("statusClass",c);b.set("statusMsg",
2692d);return b}
2693function xEa(a){var b=[],c=[];if(null==a)return[b,c];var d=0;for(a=RE(a);d<a.length;d++){var e=a[d];if(yF(AF).includes(34)){var f=N(e,dD,1013);if(f){var g=b,k=f.rb(),l=(new Date(1E3*L(f,10,0))).toLocaleDateString("en-US",{timeZone:"UTC",day:"2-digit",month:"2-digit",year:"numeric"}),n=L(f,1003,""),q="sgStatusNone",t=UJ;switch(f.Ec()){case 0:""==n&&(n="Valid");q="sgStatusValid";break;case 5:q="sgStatusPending";break;case 6:q="sgStatusInvalid"}yF(AF).includes(66)&&"sgStatusInvalid"!=q&&(e=N(e,OC,1014),
2694w(e)&&""!=e.Bj()||(n="Invalid - missing agreement to share data with vendor",q="sgStatusInvalid"));e=""!=aG(f)?aG(f):f.kb();var u=[];u.push(["Type:","Integration"]);u.push(["Last updated:",l]);""!=n&&u.push(["Status:",n]);g.push({wb:k,name:e,domain:t,clientId:k,JA:q,gS:n,wd:u,type:"vendor",href:"#pageName=data_vendor_update&vendorId="+k});c.push(f.rb());continue}}f=L(e,1001,"");g=e.Gf();t=N(e,HC,1004);u=fz(e,1005,!1);q=L(e,1006,"");var v=L(e,1012,"");k="Export";l="#pageName=data_export_update&clientId="+
2695f;var y=(n=N(e,uz,1011))?I(n,2):[];0<y.length&&1==y[0]&&(k="Import",l="#pageName=data_import_update&clientId="+f);t=t?L(t,1,""):"";u=u?q<v?"Expiring Soon":"Accepted":q==v?"Accepted":q?"Expired":"Missing";q&&(u+=" v"+q);e=wEa(e);q=[];q.push(["Type:",k]);q.push(["Client ID:",f]);q.push(["User:",g.Ic()]);q.push(["Name:",g.Hb()+", "+g.Fb()]);q.push(["TOS:",u]);t&&q.push(["Host:",t]);b.push({wb:f,name:n&&n.kb()?n.kb():f,domain:UJ,clientId:f,JA:e.get("statusClass"),gS:e.get("statusMsg"),wd:q,type:k.toLowerCase(),
2696href:l})}return[b,c]}function yEa(a,b,c){b=gz(b,1,void 0,Cz).get(L(a,3,0));var d=w(b)?I(b,1):I(a,4),e=I(a,5);return{id:L(a,3,0),name:a.kb(),description:a.getDescription(),LM:fz(a,7,!1),methods:Object.keys(c).map(function(f){return{name:f,isEnabled:e.includes(c[f]),Pc:d.includes(c[f]),Ys:null}})}};function fM(){ux.call(this);this.X=AK;this.j=uR;this.g=new TG(6E3);D(this.g,"tick",this.JJ,void 0,this);zK(this.X,"f",this.B3,this);zK(this.X,"Ha",this.C3,this);zK(this.X,"d",this.D3,this);zK(this.X,"Ma",this.z1,this);zK(this.X,"Ia",this.B1,this);zK(this.X,"Ka",this.D1,this);zK(this.X,"La",this.C1,this);zK(this.X,"Na",this.w1,this);zK(this.X,"Ya",this.K5,this);zK(this.X,"$a",this.A1,this);zK(this.X,"ab",this.B_,this);zK(this.X,"bb",this.C_,this);zK(this.X,"cb",this.ZT,this);zK(this.X,"db",this.nW,
2697this);zK(this.X,"ib",this.sW,this);zK(this.X,"jb",this.LW,this);zK(this.X,"kb",this.tW,this);zK(this.X,"lb",this.AW,this);zK(this.X,"mb",this.vW,this);zK(this.X,"nb",this.JW,this);zK(this.X,"ob",this.zW,this);zK(this.X,"pb",this.KW,this);zK(this.X,"qb",this.DW,this);zK(this.X,"rb",this.xW,this);zK(this.X,"sb",this.wW,this);zK(this.X,"tb",this.HW,this);zK(this.X,"ub",this.uW,this);zK(this.X,"yb",this.X_,this);zK(this.X,"zb",this.Z_,this);zK(this.X,"Ab",this.Y_,this);zK(this.X,"Bb",this.U9,this);zK(this.X,
2698"Cb",this.d$,this);zK(this.X,"Db",this.a$,this);zK(this.X,"Eb",this.V9,this);zK(this.X,"Fb",this.S9,this);zK(this.X,"Gb",this.X9,this);zK(this.X,"Hb",this.T9,this);zK(this.X,"Ib",this.e$,this);zK(this.X,"Jb",this.Y9,this);zK(this.X,"Kb",this.z5,this);zK(this.X,"Lb",this.B5,this);zK(this.X,"Mb",this.v1,this);zK(this.X,"Nb",this.u1,this);zK(this.X,"Ob",this.P1,this);zK(this.X,"Pb",this.Z1,this);zK(this.X,"Qb",this.L1,this);zK(this.X,"Rb",this.T1,this);zK(this.X,"Sb",this.M1,this);zK(this.X,"Tb",this.a2,
2699this);zK(this.X,"Ub",this.O1,this);zK(this.X,"Yb",this.V1,this);zK(this.X,"$b",this.R1,this);zK(this.X,"ac",this.Q1,this);zK(this.X,"Vb",this.W1,this);zK(this.X,"Wb",this.N1,this);zK(this.X,"Xb",this.S1,this);zK(this.X,"bc",this.r_,this);zK(this.X,"cc",this.z_,this);zK(this.X,"dc",this.s_,this);zK(this.X,"ec",this.v_,this);zK(this.X,"fc",this.t_,this);zK(this.X,"gc",this.u_,this);zK(this.X,"hc",this.y_,this);zK(this.X,"xb",this.FX,this);zK(this.X,"Yc",this.s9,this);zK(this.X,"$",this.C5,this);zK(this.X,
2700"Dc",this.PV,this);zK(this.X,"Ec",this.RV,this);zK(this.X,"Fc",this.QV,this);zK(this.X,"ed",this.IU,this);zK(this.X,"fd",this.MU,this);zK(this.X,"gd",this.FU,this);zK(this.X,"hd",this.JU,this);zK(this.X,"id",this.GU,this);zK(this.X,"jd",this.NU,this);zK(this.X,"kd",this.HU,this);zK(this.X,"md",this.SY,this);zK(this.X,"ld",this.TY,this);zK(this.X,"dd",this.sX,this);zK(this.X,"nd",this.cU,this);zK(this.X,"od",this.D9,this);zK(this.X,"Vc",this.K1,this);zK(this.X,"hb",this.DV,this);zK(this.X,"Fa",this.G1,
2701this)}x(fM,ux);Ra(fM);fM.prototype.h=0;var uR="Sd";function vR(a,b,c){if(!a.o){var d=z("confirmation_status");d.textContent=b;b=6E3;c&&(b=12E3);nw().e2e&&(b=100);"Rd"==a.j?(a.g.stop(),a.g.setInterval(b),a.g.start()):(a.g.setInterval(b),a.g.start(),gx(d,"Yb"),a.j="Rd")}}h=fM.prototype;h.JJ=function(){if(!this.o&&this.j!=uR){var a=z("confirmation_status");a.innerHTML="";ix(a,"Yb");this.j=uR}};h.B3=function(){0!=this.h?--this.h:this.JJ()};h.C3=function(){this.h+=1};h.D3=function(){vR(this,"Sorry, we did not find what you were looking for.")};
2702h.z1=function(){vR(this,"No documents selected.")};h.B1=function(){vR(this,"No forms selected.")};h.C1=function(){vR(this,"No students selected.")};h.w1=function(){vR(this,"No buildings selected.")};h.B_=function(){vR(this,"Please select at least two grades to merge.")};h.C_=function(){vR(this,"Please select exactly one grade to update.")};h.K5=function(){vR(this,"SameGoal users cannot perform this action.")};h.D1=function(){vR(this,"No users selected.")};h.A1=function(){vR(this,"You do not have permission to create any forms.")};
2703h.ZT=function(){vR(this,"The password has been updated.")};h.nW=function(){vR(this,"Display option updated")};function wR(a,b,c,d){var e={};"document"==c?e=oR(b):"user"==c||"role assignment"==c?e=qR(b):"student"==c?e=mEa(b):"form"==c?e=nEa(b):"building"==c&&(e=oEa(b));vR(a,qEa(e,c,d),0<e.Hh)}h.sW=function(){vR(this,"A new document has been created.")};h.LW=function(){vR(this,"The document has been updated.")};h.tW=function(){vR(this,"The document(s) have been updated.")};
2704h.AW=function(){vR(this,"The document(s) have been transferred.",!0)};h.vW=function(){vR(this,"The document(s) have been added to your caseload.")};h.JW=function(){vR(this,"The document(s) have been removed from your caseload.")};h.zW=function(a){wR(this,a,"document","deleted")};h.KW=function(a){wR(this,a,"document","undeleted")};h.DW=function(a){wR(this,a,"document","marked incomplete")};h.xW=function(a){wR(this,a,"document","marked complete")};h.wW=function(a){wR(this,a,"document","created from existing")};
2705h.HW=function(a){wR(this,a,"document","scheduled for purge")};h.uW=function(a){wR(this,a,"document","canceled from purge")};h.X_=function(){vR(this,"Label added.")};h.Z_=function(){vR(this,"Label updated.")};h.Y_=function(){vR(this,"Label deleted.")};h.U9=function(a){wR(this,a,"user","deleted")};h.d$=function(a){wR(this,a,"user","undeleted")};h.a$=function(a){var b=1==qR(a).Fu?"promoted to a full user account":"promoted to full user accounts";wR(this,a,"user",b)};
2706h.V9=function(a){var b=1==qR(a).Fu?"converted to a doc viewer only account":"converted to doc viewer only accounts";wR(this,a,"user",b)};h.S9=function(a){wR(this,a,"user","set to active")};h.X9=function(a){wR(this,a,"user","set to inactive")};h.z5=function(a){wR(this,a,"role assignment","added")};h.B5=function(a){wR(this,a,"role assignment","removed")};h.T9=function(){vR(this,"The user has been added.")};h.e$=function(){vR(this,"The user has been updated.")};h.v1=function(){vR(this,"No buildings on selected users.")};
2707h.u1=function(){vR(this,"Instance has no non-deleted, active buildings.")};h.Y9=function(a){wR(this,a,"user","moved")};h.IU=function(a){wR(this,a,"building","deleted")};h.MU=function(a){wR(this,a,"building","undeleted")};h.FU=function(a){wR(this,a,"building","set active")};h.JU=function(a){wR(this,a,"building","set inactive")};h.GU=function(){vR(this,"The building has been added.")};h.NU=function(){vR(this,"The building has been updated.")};h.HU=function(a){vR(this,""!=a?a:"The buildings have been merged.")};
2708h.SY=function(a){vR(this,""!=a?a:"The grades have been merged.")};h.TY=function(a){vR(this,""!=a?a:"The grade has been updated.")};h.sX=function(a){vR(this,""!=a?a:"File uploaded successfully.")};h.cU=function(){vR(this,"The action has been queued.")};h.D9=function(){vR(this,"This action is not supported on more than 50 items.")};h.P1=function(a){wR(this,a,"student","deleted")};h.Z1=function(a){wR(this,a,"student","undeleted")};h.L1=function(a){wR(this,a,"student","set to active")};
2709h.T1=function(a){wR(this,a,"student","set to inactive")};h.M1=function(){vR(this,"The student has been added.")};h.a2=function(){vR(this,"The student has been updated.")};h.O1=function(){vR(this,"The student records have been collapsed.")};h.V1=function(){vR(this,"The student records have been moved.")};h.R1=function(a){vR(this,""!=a?a:"The student has been scheduled for departure.")};h.Q1=function(a){wR(this,a,"student","canceled for student departure")};h.W1=function(a){wR(this,a,"student","scheduled for purge")};
2710h.S1=function(a){wR(this,a,"document","created")};h.N1=function(a){wR(this,a,"student","canceled from purge")};h.r_=function(){vR(this,"A new instance has been created.")};h.z_=function(){vR(this,"Basic information has been updated.")};h.s_=function(){vR(this,"The form has been added.")};h.v_=function(){vR(this,"The form has been updated.")};h.t_=function(a){wR(this,a,"form","deleted")};h.u_=function(a){wR(this,a,"form","undeleted")};h.y_=function(){vR(this,"Technical settings have been updated.")};
2711h.FX=function(){vR(this,"Form settings updated.")};h.s9=function(){vR(this,"Translation configured.")};h.C5=function(){vR(this,"Role save complete.")};h.PV=function(){vR(this,"The data import/export has been added. An email has been sent to accept the terms of service.")};h.RV=function(){vR(this,"The data import/export has been updated.")};h.QV=function(){vR(this,"The data import/export(s) have been deleted.")};h.K1=function(){vR(this,"Notification settings updated.")};h.DV=function(){vR(this,"Copied.")};
2712h.G1=function(){vR(this,"The selected file is not an image.")};var zEa=["#pageName=pdf_import"];function eM(){ux.call(this);this.X=AK;zK(this.X,"C",this.k0,this);zK(this.X,"D",this.l0,this);zK(this.X,"E",this.b5,this);zK(this.X,"F",this.c5,this);zK(this.X,"Sa",this.f$,this);zK(this.X,"Ta",this.g$,this);this.g="noop"}x(eM,ux);function xR(a,b){var c=z("server_status");if(c){c.innerHTML=a;a=fx(c,"Vb");var d=fx(c,"Ub");w(b)&&b?(d&&ix(c,"Ub"),a||gx(c,"Vb")):(a&&ix(c,"Vb"),d||gx(c,"Ub"))}else CK.g(Error("Missing server status element"),void 0,!0)}
2713function yR(a){var b=z("server_status");b?(b.innerHTML="",fx(b,"Vb")&&ix(b,"Vb"),fx(b,"Ub")&&ix(b,"Ub"),a.g="noop"):CK.g(Error("Missing server status element"),void 0,!0)}h=eM.prototype;h.k0=function(a){this.o||(this.g="LOADING",xR('<svg class="qu ru" viewBox="0 0 66 66">  <circle class="tu" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle></svg><div class="vu">'+(a||"Loading")+"</div>"))};h.l0=function(){this.o||"LOADING"==this.g&&yR(this)};
2714h.b5=function(a){this.o||zEa.some(function(b){return window.location.href.includes(b)})||(this.g="REMOTE_ERROR",xR("Cannot connect to server ("+a+"). Please check your connection.",!0))};h.c5=function(){this.o||"REMOTE_ERROR"==this.g&&yR(this)};h.f$=function(){this.o||(this.g="VALIDATION_CLEAR",xR("No validation errors."))};h.g$=function(){this.o||setTimeout(bb(function(){"VALIDATION_CLEAR"==this.g&&yR(this)},this),2E3)};function zR(a){ux.call(this);this.g=a||$v();this.h={}}x(zR,ux);zR.prototype.qa=function(){$b(this.h,this.g.Ox,this.g);this.g=this.h=null;zR.D.qa.call(this)};function AEa(a,b){var c=BEa(a);rw(c,"");UG(function(){rw(c,b)},1)}
2715function BEa(a){var b=a.h.assertive;if(b)return b.removeAttribute("aria-hidden"),b;b=bx(a.g,"DIV");b.style.position="absolute";b.style.top="-1000px";b.style.height="1px";b.style.overflow="hidden";qH(b,"live","assertive");qH(b,"atomic","true");a.g.getDocument().body.appendChild(b);return a.h.assertive=b};function AR(){this.g=new zR}x(AR,oN);Ra(AR);h=AR.prototype;h.Un=function(a){return"DIV"==a.tagName&&!a.firstChild};h.Xc=function(a,b){AR.D.Xc.call(this,a,b);CEa(this,a,b);BR(a,b);return b};
2716function BR(a,b){var c=a.Md();b.style.width=c.width+"em";var d=b.firstChild.childNodes[1];d.style.width=c.width+"em";d.style.height=c.height+"em";NH(a)&&((a=a.He())?(b=a.w(),a=kG(b,"right"),""==a&&(a=qG(b),c=zG(b),0!=c.width&&0!=a.x&&(a=AG(rG()).width-a.x-c.width,iG(b,"right",a+"px"))),""!=kG(b,"left")&&iG(b,"left","")):iG(b,"right","0px"))}
2717function CEa(a,b,c){var d=b.g.O("DIV",a.ab()+"-aj"),e=b.g.O("DIV",{"class":a.ab(
2717)+"-Yi",style:"width:100%;height:100%"}),f=b.g.O("DIV",a.ab()+"-Xi");c.appendChild(b.g.O("DIV",{style:"width:100%;height:100%;touch-action:none;"},d,e,f));c.appendChild(b.g.O("DIV",a.ab()+"-Zi"))}h.We=function(a){var b=rN(this,a);b=a.g.O("DIV",{"class":b?b.join(" "):"","aria-hidden":"true"});CEa(this,a,b);BR(a,b);return b};h.Dj=function(a){AR.D.Dj.call(this,a);var b=a.getValue();DEa(this,a,b.width,b.height);EEa(a)};
2718function DEa(a,b,c,d){var e=b.w();if(e){var f=e.firstChild.lastChild.style;f.width=c+"em";f.height=d+"em";NH(b)&&(f.right="0");AEa(a.g,String(c)+(" by "+String(d)));rw(e.lastChild,"\u202a"+(c+" x "+d)+"\u202c")}}
2719function EEa(a){var b=a.w().firstChild.firstChild;var c=bw(b),d=c.body,e=xG(b,d);b.style.display="none";var f=NH(a)&&0<e.x?Math.floor(e.x/18):Math.floor((d.scrollWidth-e.x)/18);c=Jv?rG(d).scrollHeight-20:Math.max(nw(c).innerHeight,d.scrollHeight)-20;e=Math.floor((c-e.y)/18);b.style.width=Math.min(20,f)+"em";b.style.height=Math.min(20,e)+"em";b.style.display="";NH(a)&&(b.style.right="0")}h.ab=function(){return"jb-dimension-wi"};function CR(a,b){xN.call(this,null,a||AR.getInstance(),b);this.h=new Zv(5,5)}x(CR,xN);h=CR.prototype;h.vy=1;h.uy=1;h.K=function(){CR.D.K.call(this);var a=HH(this);a.J(this.w().firstChild,yx.nI,this.LD).J(dx(this.g),"resize",this.dM);var b=this.He();b&&a.J(b,"show",this.cM)};h.$=function(){CR.D.$.call(this);var a=HH(this);a.kc(this.w().firstChild,yx.nI,this.LD).kc(dx(this.g),"resize",this.dM);var b=this.He();b&&a.kc(b,"show",this.cM)};h.cM=function(){this.isVisible()&&this.setValue(1,1)};
2720h.qa=function(){CR.D.qa.call(this);delete this.h};h.LD=function(a){var b=NH(this)?a.target.offsetWidth-a.l:a.l;this.setValue(Math.min(20,Math.ceil(b/18)),Math.min(20,Math.ceil(a.m/18)))};h.Gg=function(a){if(!a.pointerType||"mouse"==a.pointerType||FEa(this,a))CR.D.Gg.call(this,a),a.pointerType&&"mouse"!=a.pointerType&&this.LD(a)};h.Mi=function(a){a.pointerType&&"mouse"!=a.pointerType&&!FEa(this,a)||CR.D.Mi.call(this,a)};h.dM=function(){EEa(this)};
2721h.we=function(a){var b=this.vy,c=this.uy;switch(a.keyCode){case 40:b++;break;case 38:b--;break;case 37:if(NH(this))c++;else{if(1==c)return!1;c--}break;case 39:if(NH(this)){if(1==c)return!1;c--}else c++;break;default:return CR.D.we.call(this,a)}this.setValue(c,b);return!0};h.Md=function(){return this.h};h.getValue=function(){return new Zv(this.uy,this.vy)};
2722h.setValue=function(a,b){w(b)||(b=a.height,a=a.width);a=Math.max(1,a);b=Math.max(1,b);a=Math.min(20,a);b=Math.min(20,b);if(this.uy!=a||this.vy!=b){var c=this.l;this.h.width=Math.max(Math.min(a+1,20),5);this.h.height=Math.max(Math.min(b+1,20),5);BR(this,this.w());this.uy=a;this.vy=b;DEa(c,this,a,b)}};function FEa(a,b){a=a.w().firstChild.getBoundingClientRect();return b.clientX>=a.left&&b.clientX<=a.right&&b.clientY>=a.top&&b.clientY<=a.bottom}fN("jb-dimension-wi",function(){return new CR});function DR(a,b,c){WN.call(this,a,b,c);this.Wo(!0)}x(DR,WN);DR.prototype.Nf=function(){return this.dispatchEvent("action")};fN("jb-Ch",function(){return new DR(null)});function ER(){this.g=[]}x(ER,SN);Ra(ER);ER.prototype.We=function(a){var b=ER.D.We.call(this,a);gx(b,"jb-Cu");GEa(this,a,b);return b};ER.prototype.Xc=function(a,b){b=ER.D.Xc.call(this,a,b);gx(b,"jb-Cu");GEa(this,a,b);var c=ew("DIV","jb-te",b);if(c.length){var d=new $N(a.g);c=c[0];CG(c,!1);a.g.getDocument().body.appendChild(c);d.ue(c);a.gf(d,!0)}return b};ER.prototype.Fc=function(a,b){var c=this.ib(a),d=c&&c.lastChild;ER.D.Fc.call(this,a,b);d&&c.lastChild!=d&&fx(d,"jb-Cu-Du")&&c.appendChild(d)};
2723ER.prototype.Dj=function(a){ER.D.Dj.call(this,a);var b=a.ib(),c=fw(a.g.g,"SPAN","jb-Cu-Du",b)[0];HEa(a,c);c!=b.lastChild&&b.appendChild(c);a=a.w();qH(a,"haspopup","true")};function GEa(a,b,c){var d=b.g.O("SPAN");d.className="jb-Cu-Du";HEa(b,d);a.ib(c).appendChild(d)}function HEa(a,b){NH(a)?(gx(b,"jb-Cu-Du-Np"),rw(b,"\u25c4")):(ix(b,"jb-Cu-Du-Np"),rw(b,"\u25ba"))};function FR(a,b,c,d){WN.call(this,a,b,c,d||ER.getInstance())}x(FR,WN);h=FR.prototype;h.du=null;h.gH=null;h.JE=!1;h.jf=null;h.tx=!1;h.K=function(){FR.D.K.call(this);HH(this).J(this.He(),"hide",this.LN);this.jf&&GR(this,this.jf,!0)};h.$=function(){HH(this).kc(this.He(),"hide",this.LN);this.jf&&(GR(this,this.jf,!1),this.tx||(this.jf.$(),Jw(this.jf.w())));FR.D.$.call(this)};h.qa=function(){this.jf&&!this.tx&&this.jf.dispose();this.jf=null;FR.D.qa.call(this)};
2724h.gg=function(a){FR.D.gg.call(this,a);a||(this.du&&VG(this.du),this.du=UG(this.qk,218,this))};h.fH=function(){var a=this.He();a&&LN(a)==this&&(IEa(this,!0),JEa(this))};h.qk=function(){var a=this.jf;a&&a.He()==this&&(IEa(this,!1),KH(a,function(b){"function"==typeof b.qk&&b.qk()}))};function HR(a){a.du&&VG(a.du);a.gH&&VG(a.gH)}h.Ga=function(a,b){(a=FR.D.Ga.call(this,a,b))&&!this.isVisible()&&this.qk();return a};
2725function JEa(a){KH(a.He(),function(b){b!=this&&"function"==typeof b.qk&&
2725(b.qk(),HR(b))},a)}h.we=function(a){var b=a.keyCode,c=NH(this)?37:39,d=NH(this)?39:37;if(!this.JE){if(!this.isEnabled()||b!=c&&b!=this.LE)return!1;this.fH();MN(this.Sb());HR(this)}else if(!this.Sb().we(a))if(b==d)this.qk();else return!1;a.preventDefault();return!0};h.o2=function(){if(this.jf.He()==this){HR(this);var a=this.vq();a.ve(PH(a,this));JEa(this)}};h.LN=function(a){a.target==this.vq()&&(this.qk(),HR(this))};
2726h.qm=function(a){this.isEnabled()&&(HR(this),this.gH=UG(this.fH,218,this));FR.D.qm.call(this,a)};h.Nf=function(a){HR(this);if(uN(this,8)||uN(this,16))return FR.D.Nf.call(this,a);this.fH();return!0};
2727function IEa(a,b){!b&&a.Sb()&&a.Sb().ve(-1);a.dispatchEvent(Pwa(64,b));var c=a.Sb();b!=a.JE&&jx(a.w(),"jb-Cu-Op",b);if(b!=c.isVisible()&&(b&&(c.Uc()||c.render(),c.ve(-1)),c.Ga(b),b)){c=new dO(a.w(),12,!1);var d=a.Sb(),e=d.w();d.isVisible()||(e.style.visibility="hidden",CG(e,!0));c.g(e,8);d.isVisible()||(CG(e,!1),e.style.visibility="visible")}a.JE=b}function GR(a,b,c){var d=HH(a);(c?d.J:d.kc).call(d,b,"enter",a.o2)}h.Jb=function(a){this.Sb().Ea(a,!0)};h.Gd=function(a){return MH(this.Sb(),a)};
2728h.Se=function(){return LH(this.Sb())};h.Sb=function(){this.jf?this.tx&&this.jf.He()!=this&&IH(this.jf,this):this.gf(new $N(this.g),!0);this.jf.w()||this.jf.Ra();return this.jf};h.gf=function(a,b){var c=this.jf;a!=c&&(c&&(this.qk(),this.Uc()&&GR(this,c,!1)),this.jf=a,this.tx=!b,a&&(IH(a,this),a.Ga(!1,!0),aO(a,!1),PN(a,!1),this.Uc()&&GR(this,a,!0)))};h.lk=function(a){return this.Sb().lk(a)};fN("jb-Cu",function(){return new FR(null)});function IR(){}x(IR,XN);Ra(IR);IR.prototype.We=function(a){return a.g.O("DIV",rN(this,a).join(" ")+" jb-kb-lb","\u00a0")};IR.prototype.Xc=function(a,b){b=IR.D.Xc.call(this,a,b);gx(b,"jb-kb-lb");return b};IR.prototype.ab=function(){return"jb-pv-separator"};function JR(a,b){YN.call(this,a||IR.getInstance(),b)}x(JR,YN);fN("jb-pv-separator",function(){return new JR});function KR(){this.g="toolbar"}x(KR,hN);Ra(KR);KR.prototype.Lt=function(a){return"HR"==a.tagName?new YN(IR.getInstance()):KR.D.Lt.call(this,a)};KR.prototype.ab=function(){return"jb-pv"};KR.prototype.rL=function(){return mN};function LR(a,b,c){IN.call(this,b,a||KR.getInstance(),c)}x(LR,IN);LR.prototype.Zt=function(a){LR.D.Zt.call(this,a);this.nh||MN(this)};function MR(){}x(MR,gO);Ra(MR);MR.prototype.ab=function(){return"jb-pv-Fh"};function NR(a,b,c){GN.call(this,a,b||MR.getInstance(),c)}x(NR,GN);fN("jb-pv-Fh",function(){return new NR(null)});var OR={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
2729darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
2730ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
2731lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
2732moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
2732almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
2733seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function KEa(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(PR.test(c))return b.sy=LEa(c),b.type="hex",b;c=MEa(a);if(c.length){a=c[0];var d=c[1];c=c[2];a=Number(a);d=Number(d);c=Number(c);if(a!=(a&255)||d!=(d&255)||c!=(c&255))throw Error('"('+a+","+d+","+c+'") is not a valid RGB color');c|=a<<16|d<<8;a=16>a?"#"+(16777216|c).toString(16).substr(1):"#"+c.toString(16);b.sy=a;b.type="rgb";return b}if(OR&&(c=OR[a.toLowerCase()]))return b.sy=c,b.type="named",b;throw Error(a+" is not a valid color string");
2734}var NEa=/#(.)(.)(.)/;function LEa(a){if(!PR.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(NEa,"#$1$1$2$2$3$3"));return a.toLowerCase()}var PR=/^#(?:[0-9a-f]{3}){1,2}$/i,OEa=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function MEa(a){var b=a.match(OEa);if(b){a=Number(b[1]);var c=Number(b[2]);b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]};function QR(){}x(QR,hO);Ra(QR);QR.prototype.Zx=function(a,b){return QR.D.Zx.call(this,b.O("DIV","jb-Eh-te-Fh-Gh",a),b)};QR.prototype.setValue=function(a,b){a&&PEa(this.ib(a),b)};function PEa(a,b){if(a&&a.firstChild){var c;if(c=b)c=!!(PR.test("#"==b.charAt(0)?b:"#"+b)||MEa(b).length||OR&&OR[b.toLowerCase()]);b=c?KEa(b).sy:null;a.firstChild.style.borderBottomColor=b||(Jv?"":"transparent")}}QR.prototype.Dj=function(a){var b=a.w();this.setValue(b,a.getValue());gx(b,"jb-Eh-te-Fh");QR.D.Dj.call(this,a)};function RR(a,b,c,d,e){this.s=!!b;this.node=null;this.l=0;this.ea=!1;this.u=!c;a&&SR(this,a,d);this.depth=void 0!=e?e:this.l||0;this.s&&(this.depth*=-1)}x(RR,fe);function SR(a,b,c,d){if(a.node=b)a.l=Oa(c)?c:1!=a.node.nodeType?0:a.s?-1:1;Oa(d)&&(a.depth=d)}h=RR.prototype;h.nk=function(a){this.node=a.node;this.l=a.l;this.depth=a.depth;this.s=a.s;this.u=a.u};h.clone=function(){return new RR(this.node,this.s,!this.u,this.l,this.depth)};
2735h.kH=function(){var a=this.s?-1:1;this.l==a&&(this.l=-1*a,this.depth+=this.l*(this.s?-1:1))};h.next=function(){if(this.ea){if(!this.node||this.u&&0==this.depth)throw ee;var a=this.node;var b=this.s?-1:1;if(this.l==b){var c=this.s?a.lastChild:a.firstChild;c?SR(this,c):SR(this,a,-1*b)}else(c=this.s?a.previousSibling:a.nextSibling)?SR(this,c):SR(this,a.parentNode,-1*b);this.depth+=this.l*(this.s?-1:1)}else this.ea=!0;a=this.node;if(!this.node)throw ee;return a};
2736h.splice=function(a){var b=this.node,c=this.s?1:-1;this.l==c&&(this.l=-1*c,this.depth+=this.l*(this.s?-1:1));this.s=!this.s;RR.prototype.next.call(this);this.s=!this.s;c=Ua(arguments[0])?arguments[0]:arguments;for(var d=c.length-1;0<=d;d--)Hw(c[d],b);Jw(b)};function TR(a,b,c,d){RR.call(this,a,b,c,null,d)}x(TR,RR);TR.prototype.next=function(){do TR.D.next.call(this);while(-1==this.l);return this.node};var QEa=!Jv&&!qd();function REa(a){if(/-[a-z]/.test("gridWidth"))return null;if(QEa&&a.dataset){if(sd()&&!("gridWidth"in a.dataset))return null;a=a.dataset.gridWidth;return void 0===a?null:a}return a.getAttribute("data-"+ae())};function UR(){}x(UR,oN);Ra(UR);var SEa=0;h=UR.prototype;h.We=function(a){var b=rN(this,a);b=a.g.O("DIV",b,TEa(this,a.Fd(),a.Md(),a.g));pH(b,"grid");a=a.Md().width;if(QEa&&b.dataset)b.dataset.gridWidth=a;else{if(/-[a-z]/.test("gridWidth"))throw Error("");b.setAttribute("data-"+ae(),a)}return b};
2737function TEa(a,b,c,d){for(var e=[],f=0,g=0;f<c.height;f++){for(var k=[],l=0;l<c.width;l++){var n=b&&b[g++];k.push(VR(a,n,d))}e.push(WR(a,k,d))}a=d.O("TABLE",a.ab()+"-rq",d.O("TBODY",a.ab()+"-body",e));a.cellSpacing="0";a.cellPadding="0";return a}function WR(a,b,c){a=c.O("TR",a.ab()+"-row",b);pH(a,"row");return a}function VR(a,b,c){a=c.O("TD",{"class":a.ab()+"-Ih",id:a.ab()+"-Ih"+SEa++},b);pH(a,"gridcell");qH(a,"selected",!1);UEa(a);return a}
2738function UEa(a){if(!Ww(a)&&!tH(a)){for(var b=new TR(a),c="",d;!c&&(d=Xaa(b));)1==d.nodeType&&(c=tH(d)||d.title);c&&uH(a,c)}}h.Un=function(){return!1};h.Xc=function(){return null};
2739h.Fc=function(a,b){if(a){var c=ew("TBODY",this.ab()+"-body",a)[0];if(c){var d=0;Fb(c.rows,function(l){Fb(l.cells,function(n){Fw(n);n.removeAttribute("aria-label");if(b){var q=b[d++];q&&(n.appendChild(q),UEa(n))}},this)},this);if(d<b.length){for(var e=[],f=$v(a),g=REa(a);d<b.length;){var k=b[d++];e.push(VR(this,k,f));e.length==g&&(k=WR(this,e,f),c.appendChild(k),e.length=0)}if(0<e.length){for(;e.length<g;)e.push(VR(this,"",f));k=WR(this,e,f);c.appendChild(k)}}}FG(a,!0,Mv)}};
2740function YR(a,b,c){for(b=b.w();c&&1==c.nodeType&&c!=b;){if("TD"==c.tagName&&fx(c,a.ab()+"-Ih"))return c.firstChild;c=c.parentNode}return null}h.ab=function(){return"jb-Hh"};function ZR(a,b,c){xN.call(this,a,b||UR.getInstance(),c);this.oi&=-89;this.h=new VEa;this.h.rv(this);this.Y=-1}x(ZR,xN);h=ZR.prototype;h.Nh=null;h.Jk=-1;h.Kf=null;h.qa=function(){ZR.D.qa.call(this);this.Kf&&(this.Kf.dispose(),this.Kf=null);this.Nh=null;this.h.dispose()};h.To=function(a){ZR.D.To.call(this,a);WEa(this);this.Kf?(this.Kf.clear(),IAa(this.Kf,a)):(this.Kf=new lO(a),a=bb(this.PY,this),this.Kf.$F=a,HH(this).J(this.Kf,"select",this.ky));this.Jk=-1};h.Zd=function(){return""};h.Uz=function(){};
2741h.qm=function(a){ZR.D.qm.call(this,a);var b=YR(this.l,this,a.target);b&&a.relatedTarget&&Rw(b,a.relatedTarget)||b!=$R(this)&&XEa(this,b)};h.Gg=function(a){ZR.D.Gg.call(this,a);this.Tb()&&(a=YR(this.l,this,a.target),a!=$R(this)&&XEa(this,a))};h.Nf=function(a){var b=$R(this);return b?(a&&(this.qe()?"mouseup"!=a.type||YR(this.l,this,a.target):1)&&this.Kf&&nO(this.Kf,b),ZR.D.Nf.call(this,a)):!1};
2742h.we=function(a){var b=this.Fd();b=b?b.length:0;var c=this.Nh.width;if(0==b||!this.isEnabled())return!1;if(13==a.keyCode||32==a.keyCode)return this.Nf(a);if(36==a.keyCode)return aS(this,0),!0;if(35==a.keyCode)return aS(this,b-1),!0;var d=0>
2742this.Jk?this.Kf?oO(this.Kf):-1:this.Jk;switch(a.keyCode){case 37:if(-1==d||0==d)d=b;aS(this,d-1);a.preventDefault();return!0;case 39:return d==b-1&&(d=-1),aS(this,d+1),a.preventDefault(),!0;case 38:-1==d&&(d=b+c-1);if(d>=c)return aS(this,d-c),a.preventDefault(),
2743!0;break;case 40:if(-1==d&&(d=-c),d<b-c)return aS(this,d+c),a.preventDefault(),!0}return!1};h.ky=function(){};h.Md=function(){return this.Nh};function $R(a){var b=a.Fd();return b&&b[a.Jk]}function aS(a,b){b!=a.Jk&&(YEa(a,a.Jk,!1),a.Y=a.Jk,a.Jk=b,YEa(a,b,!0),a.dispatchEvent("Td"))}function XEa(a,b){var c=a.Fd();aS(a,c&&b?Db(c,b):-1)}h.qe=function(){return this.Kf?this.Kf.qe():null};function ZEa(a,b){a.Kf&&(a=a.Kf,nO(a,a.Gd(b)))}
2744function YEa(a,b,c){if(a.w()){var d=a.Fd();if(d&&0<=b&&b<d.length){var e=(e=$R(a))?e.parentNode:null;a.h.w()!=e&&(a.h.j=e);e=a.h;e.gg(c);vN(e,2)==c&&(e=a.l,b=d[b])&&(b=b?b.parentNode:null,jx(b,e.ab()+"-Ih-Bh",c),c?qH(a.j,"activedescendant",b.id):b.id==rH(a.j,"activedescendant")&&a.j.removeAttribute("aria-activedescendant"))}}}h.gg=function(a){a&&-1==this.Jk?aS(this,-1<this.Y?this.Y:0):a||aS(this,-1);ZR.D.gg.call(this,a)};
2745h.PY=function(a,b){this.w()&&a&&(a=a.parentNode,jx(a,this.l.ab()+"-Ih-Dh",b),qH(a,"selected",b))};function WEa(a){var b=a.Fd();if(b)if(a.Nh&&a.Nh.width){if(b=Math.ceil(b.length/a.Nh.width),!Oa(a.Nh.height)||a.Nh.height<b)a.Nh.height=b}else b=Math.ceil(Math.sqrt(b.length)),a.Nh=new Zv(b,b);else a.Nh=new Zv(0,0)}function VEa(){xN.call(this,null);this.Dl|=2}x(VEa,xN);function bS(a,b,c){this.m=a||[];ZR.call(this,null,b||UR.getInstance(),c);this.m=this.m;this.Z=this.u=null;this.Fc($Ea(this))}x(bS,ZR);bS.prototype.Z=null;bS.prototype.u=null;bS.prototype.lD=function(){var a=this.qe();return a?(a=kG(a,"background-color"),cS(a)):null};bS.prototype.tv=function(a){a=cS(a);this.Z||(this.Z=Hb(this.m,function(b){return cS(b)}));ZEa(this,a?Db(this.Z,a):-1)};
2746function $Ea(a){return Hb(a.m,function(b,c){var d=this.g.O("DIV",{"class":this.l.ab()+"-Jh",style:"background-color:"+b});this.u&&this.u[c]?b=this.u[c]:"#"==b.charAt(0)&&(b=LEa(b),b=parseInt(b.substr(1),16),b="RGB ("+[b>>16,b>>8&255,b&255].join(", ")+")");d.title=b;return d},a)}function cS(a){if(a)try{return KEa(a).sy}catch(b){}return null};function dS(a,b,c,d){iO.call(this,a,b,c||QR.getInstance(),d)}x(dS,iO);var aFa={Xba:"#000 #444 #666 #999 #ccc #eee #f3f3f3 #fff".split(" "),cea:"#f00 #f90 #ff0 #0f0 #0ff #00f #90f #f0f".split(" "),xda:"#f4cccc #fce5cd #fff2cc #d9ead3 #d0e0e3 #cfe2f3 #d9d2e9 #ead1dc #ea9999 #f9cb9c #ffe599 #b6d7a8 #a2c4c9 #9fc5e8 #b4a7d6 #d5a6bd #e06666 #f6b26b #ffd966 #93c47d #76a5af #6fa8dc #8e7cc3 #c27ba0 #cc0000 #e69138 #f1c232 #6aa84f #45818e #3d85c6 #674ea7 #a64d79 #990000 #b45f06 #bf9000 #38761d #134f5c #0b5394 #351c75 #741b47 #660000 #783f04 #7f6000 #274e13 #0c343d #073763 #20124d #4c1130".split(" ")};
2747function bFa(a){var b=new $N(a);$b(aFa,function(c){c=new bS(c,null,a);if(c.w())throw Error("Component already rendered");c.Nh=Oa(8)?new Zv(8,void 0):8;WEa(c);b.Ea(c,!0)});return b}h=dS.prototype;h.lD=function(){return this.getValue()};h.tv=function(a){this.setValue(a)};h.setValue=function(a){for(var b=0,c;c=this.Gd(b);b++)"function"==typeof c.tv&&c.tv(a);dS.D.setValue.call(this,a)};
2748h.Eq=function(a){"function"==typeof a.target.lD?this.setValue(a.target.lD()):"none"==a.target.getValue()&&this.setValue(null);dS.D.Eq.call(this,a);a.stopPropagation();this.dispatchEvent("action")};h.Gc=function(a,b){a&&0==this.Se()&&(this.gf(bFa(this.g)),this.setValue(this.getValue()));dS.D.Gc.call(this,a,b)};fN("jb-Eh-te-Fh",function(){return new dS(null)});function eS(){}x(eS,hO);Ra(eS);eS.prototype.ab=function(){return"jb-pv-te-Fh"};function fS(){}x(fS,eS);Ra(fS);fS.prototype.Zx=function(a,b){a=b.O("DIV","jb-Eh-te-Fh-Gh",a);return b.O("DIV","jb-kb-lb "+(this.ab()+"-Hl"),a)};fS.prototype.setValue=function(a,b){a&&PEa(this.ib(a),b)};fS.prototype.Dj=function(a){this.setValue(a.w(),a.getValue());gx(a.w(),"jb-pv-Eh-te-Fh");fS.D.Dj.call(this,a)};function gS(a,b,c,d){dS.call(this,a,b,c||fS.getInstance(),d)}x(gS,dS);fN("jb-pv-Eh-te-Fh",function(){return new gS(null)});function hS(a,b,c,d){iO.call(this,a,b,c||eS.getInstance(),d)}x(hS,iO);fN("jb-pv-te-Fh",function(){return new hS(null)});function iS(a,b,c,d){pO.call(this,a,b,c||eS.getInstance(),d)}x(iS,pO);fN("jb-pv-tv",function(){return new iS(null)});function jS(a){var b=a.indexOf(",");return Qd((-1!=b?a.substring(0,b):a).toLowerCase())}function kS(a,b){Fb(b,function(c){var d=c.caption;c=c.value;var e=jS(c);d=new DR(d,c,a.g);GH(d,e);a.Jb(d);d.ib().style.fontFamily=c})}function cFa(a){Fb(dFa,function(b){var c=b.value;b=new DR(b.caption,c,a.g);a.Jb(b);b=b.ib();b.style.fontSize=(lS[c]||10)+"px";b.firstChild.style.height="1.1em"})}var lS=[10,10,13,16,18,24,32,48];
2749function eFa(a){Fb(fFa,function(b){var c=b.Mb,d=a.g;b=new DR(d.O("DIV",null,b.caption),c,d);GH(b,String(c));a.Jb(b)})}function kM(a,b){var c=$v(b);c=new LR(KR.getInstance(),mN,c);var d=DG(b);c.Rx(d);PN(c,!1);for(var e=0,f;f=a[e];e++)f.gd(32,!1),f.Rx(d),c.Ea(f,!0);c.render(b);return c}function jM(a,b,c,d,e,f){c=new NR(mS(c,d,f),e,f);GH(c,a);c.pd(b);return c}function qM(a,b,c,d,e,f){a=jM(a,b,c,d,e,f);a.gd(16,!0);return a}
2750function mM(a,b,c,d){c=new hS(mS(c,d,void 0),null,void 0,void 0);GH(c,a);c.pd(b);return c}function nS(a,b,c,d,e,f){e=new iS(null,null,e,f);d&&Fb(d.split(/\s+/),e.rd,e);e.rd("jb-pv-tv");qO(e,c);GH(e,a);e.pd(b);return e}function gFa(a,b,c,d,e,f){c=new gS(mS(c,d,f),null,e,f);GH(c,a);c.pd(b);return c}function mS(a,b,c){a&&""!=a||!Mv||Vv("1.9a")||(a="\u00a0");return(c||$v()).O("DIV",b,a)};var hFa=[{caption:"Normal",value:"arial,sans-serif"},{caption:"Normal / serif",value:"times new roman,serif"},{caption:"Courier New",value:"courier new,monospace"},{caption:"Georgia",value:"georgia,serif"},{caption:"Trebuchet",value:"trebuchet ms,sans-serif"},{caption:"Verdana",value:"verdana,sans-serif"}],iFa={ja:[{caption:"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af",value:"ms pgothic,sans-serif"},{caption:"\uff2d\uff33 \uff30\u660e\u671d",value:"ms pmincho,serif"},{caption:"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af",
2751value:"ms gothic,monospace"}],ko:[{caption:"\uad74\ub9bc",value:"gulim,sans-serif"},{caption:"\ubc14\ud0d5",value:"batang,serif"},{caption:"\uad74\ub9bc\uccb4",value:"gulimche,monospace"}],"zh-tw":[{caption:"\u65b0\u7d30\u660e\u9ad4",value:"pmingliu,serif"},{caption:"\u7d30\u660e\u9ad4",value:"mingliu,serif"}],"zh-cn":[{caption:"\u5b8b\u4f53",value:"simsun,serif"},{caption:"\u9ed1\u4f53",value:"simhei,sans-serif"},{caption:"MS Song",value:"ms song,monospace"}]};
2752function jFa(a){var b="en-us".replace(/_/,"-").toLowerCase(),c=[];b in iFa&&(c=iFa[b]);
2752c.length&&kS(a,c);kS(a,hFa)}var dFa=[{caption:"Small",value:1},{caption:"Normal",value:2},{caption:"Large",value:4},{caption:"Huge",value:6}],fFa=[{caption:"Heading",Mb:"H2"},{caption:"Subheading",Mb:"H3"},{caption:"Minor heading",Mb:"H4"},{caption:"Normal",Mb:"P"}];function kFa(a,b,c,d,e,f){var g=jM(a,b,c,d,e,f);g.M=function(k){g.W(k)};return g}
2753function lFa(a,b){try{if(Jv){var c="000000"+b.toString(16),d=c.substr(c.length-6,6);b="#"+d.substring(4,6)+d.substring(2,4)+d.substring(0,2)}b!=a.getValue()&&a.setValue(b)}catch(e){}}
2754for(var oS={},mFa=[{Mb:"+undo",Lb:"Undo",bd:"uv-Hb uv-undo",Zg:kFa,rc:!0},{Mb:"+redo",Lb:"Redo",bd:"uv-Hb uv-redo",Zg:kFa,rc:!0},{Mb:"+fontName",Lb:"Font",bd:"uv-vv",Zg:function(a,b,c,d,e,f){var g=nS(a,b,c,d,e,f);jFa(g);qO(g,"Normal");gx(g.Sb().ib(),"jb-te-Qp");g.M=function(k){var l=null;k&&0<k.length&&(l=JH(g.Sb(),jS(k)));l!=g.qe()&&sO(g,l)};return g},rc:!0},{Mb:"+fontSize",Lb:"Font size",bd:"uv-wv",Zg:function(a,b,c,d,e,f){var g=nS(a,b,c,d,e,f);cFa(g);qO(g,"Normal");gx(g.Sb().ib(),"jb-te-Qp");g.M=
2755function(k){Ma(k)&&"px"==cwa(k)&&(k=Eb(lS,parseInt(k,10)));k=0<k?k:null;k!=g.getValue()&&g.setValue(k)};return g},rc:!0},{Mb:"+bold",Lb:"Bold",bd:"uv-Hb uv-bold",rc:!0},{Mb:"+italic",Lb:"Italic",bd:"uv-Hb uv-italic",rc:!0},{Mb:"+underline",Lb:"Underline",bd:"uv-Hb uv-underline",rc:!0},{Mb:"+foreColor",Lb:"Text color",bd:"uv-Hb uv-foreColor",Zg:function(a,b,c,d,e,f){a=gFa(a,b,c,d,e,f);a.tv("#000");a.M=cb(lFa,a);return a},rc:!0},{Mb:"+backColor",Lb:"Text background color",bd:"uv-Hb uv-backColor",Zg:function(a,
2756b,c,d,e,f){a=gFa(a,b,c,d,e,f);a.tv("#FFF");a.M=cb(lFa,a);return a},rc:!0},{Mb:"+link",Lb:"Add or remove link",caption:"Link",bd:"uv-link",rc:!0},{Mb:"+insertOrderedList",Lb:"Numbered list",bd:"uv-Hb uv-insertOrderedList",rc:!0},{Mb:"+insertUnorderedList",Lb:"Bullet list",bd:"uv-Hb uv-insertUnorderedList",rc:!0},{Mb:"+outdent",Lb:"Decrease indent",bd:"uv-Hb uv-outdent",Zg:jM},{Mb:"+indent",Lb:"Increase indent",bd:"uv-Hb uv-indent",Zg:jM},{Mb:"+justifyLeft",Lb:"Align left",bd:"uv-Hb uv-justifyLeft",
2757rc:!0},{Mb:"+justifyCenter",Lb:"Align center",bd:"uv-Hb uv-justifyCenter",rc:!0},{Mb:"+justifyRight",Lb:"Align right",bd:"uv-Hb uv-justifyRight",rc:!0},{Mb:"+justifyFull",Lb:"Justify",bd:"uv-Hb uv-justifyFull",rc:!0},{Mb:"+removeFormat",Lb:"Remove formatting",bd:"uv-Hb uv-removeFormat",Zg:jM},{Mb:"image",Lb:"Insert image",bd:"uv-Hb uv-image",Zg:jM},{Mb:"+strikeThrough",Lb:"Strikethrough",bd:"uv-Hb uv-strikeThrough",rc:!0},{Mb:"+subscript",Lb:"Subscript",bd:"uv-Hb uv-subscript",rc:!0},{Mb:"+superscript",
2758Lb:"Superscript",bd:"uv-Hb uv-superscript",rc:!0},{Mb:"ltr",Lb:"Left-to-right",bd:"uv-Hb uv-ltr",rc:!0},{Mb:"rtl",Lb:"Right-to-left",bd:"uv-Hb uv-Np",Zg:function(a,b,c,d,e,f){var g=qM(a,b,c,d,e,f);g.M=function(k){k=!!k;jx(g.He().w(),"uv-Np-mode",k);g.nc(k)};return g},rc:!0},{Mb:"+BLOCKQUOTE",Lb:"Quote",bd:"uv-Hb uv-BLOCKQUOTE",rc:!0},{Mb:"+formatBlock",Lb:"Format",caption:"Format",bd:"uv-formatBlock",Zg:function(a,b,c,d,e,f){var g=nS(a,b,c,d,e,f);eFa(g);qO(g,"Normal");gx(g.Sb().ib(),"jb-te-Qp");g.M=
2759function(k){k=k&&0<k.length?k:null;k!=g.getValue()&&g.setValue(k)};return g},rc:!0},{Mb:"editHtml",Lb:"Edit HTML source",caption:"Edit HTML",bd:"uv-editHtml",Zg:jM}],nFa=0,pS;pS=mFa[nFa];nFa++)oS[pS.Mb]=pS;mFa=null;function qS(a,b,c){ux.call(this);this.h=a;this.l=b||0;this.g=c;this.j=bb(this.BL,this)}x(qS,ux);h=qS.prototype;h.Wt=0;h.qa=function(){qS.D.qa.call(this);this.stop();delete this.h;delete this.g};h.start=function(a){this.stop();this.Wt=UG(this.j,w(a)?a:this.l)};h.stop=function(){this.Tb()&&VG(this.Wt);this.Wt=0};function rS(a){a.Tb()&&(a.stop(),a.BL())}h.Tb=function(){return 0!=this.Wt};h.BL=function(){this.Wt=0;this.h&&this.h.call(this.g)};function oFa(){ux.call(this)}x(oFa,ux);function pFa(a){var b=null,c=sS(a,!a.j);var d=sS(a,a.j);if(c&&d){b=c.parentNode;c=Db(b.childNodes,c);var e=d.parentNode;d=Db(e.childNodes,d);e==b&&(a.j?c--:d--);b=tS(b,c,e,d);b=a.g(b);b.select()}else a.g();d=b;a.dispose();return d};function uS(a){ux.call(this);this.s=Zd();this.l=Zd();this.j=a.Tk();this.h=$v(a.getDocument());a.EL(this.h.O("SPAN",{id:this.s}),this.h.O("SPAN",{id:this.l}))}x(uS,oFa);function sS(a,b){return a.h.w(b?a.s:a.l)}uS.prototype.g=function(a){Jw(sS(this,!0));Jw(sS(this,!1));return a};uS.prototype.qa=function(){this.g();this.h=null};function vS(){}
2759function wS(a){if(a.getSelection)return a.getSelection();a=a.document;var b=a.selection;if(b){try{var c=b.createRange();if(c.parentElement){if(c.parentElement().document!=a)return null}else if(!c.length||c.item(0).document!=a)return null}catch(d){return null}return b}return null}function xS(a){for(var b=[],c=0,d=a.Rn();c<d;c++)b.push(a.Kh(c));return b}function yS(a){a=a.Ii();return 1==a.nodeType?a:a.parentNode}function qFa(a){return a.Tk()?a.dd():a.ke()}
2760function rFa(a){return a.Tk()?a.se():a.Hf()}vS.prototype.Tk=function(){return!1};vS.prototype.getDocument=function(){return bw(Jv?this.Ii():this.dd())};vS.prototype.fv=function(a){this.If()||this.zq();return this.nm(a,!0)};function sFa(a){return a.dd()&&a.ke()?new uS(a):null}function zS(a,b){RR.call(this,a,b,!0)}x(zS,RR);function AS(a,b,c,d,e){this.h=this.g=null;this.o=this.j=0;this.m=!!e;if(a){this.g=a;this.j=b;this.h=c;this.o=d;if(1==a.nodeType&&"BR"!=a.tagName)if(a=a.childNodes,b=a[b])this.g=b,this.j=0;else{a.length&&(this.g=Cb(a));var f=!0}1==c.nodeType&&((this.h=c.childNodes[d])?this.o=0:this.h=c)}RR.call(this,this.m?this.h:this.g,this.m,!0);if(f)try{this.next()}catch(g){if(g!=ee)throw g;}}x(AS,zS);h=AS.prototype;h.Px=function(){return this.g};
2761h.wu=function(){return this.ea&&(this.node!=(this.m?this.g:this.h)?!1:this.m?this.j?-1!=this.l:1==this.l:!this.o||1!=this.l)};h.next=function(){if(this.wu())throw ee;return AS.D.next.call(this)};h.kH=function(){AS.D.kH.apply(this);if(Rw(this.node,this.m?this.g:this.h))throw ee;};h.nk=function(a){this.g=a.g;this.h=a.h;this.j=a.j;this.o=a.o;this.m=a.m;AS.D.nk.call(this,a)};h.clone=function(){var a=new AS(this.g,this.j,this.h,this.o,this.m);a.nk(this);return a};function BS(){}function CS(a,b,c){c=c&&!b.gh();b=b.It();try{return c?0<=a.Bh(b,0,1)&&0>=a.Bh(b,1,0):0<=a.Bh(b,0,0)&&0>=a.Bh(b,1,1)}catch(d){if(!Jv)throw d;return!1}}BS.prototype.dk=function(){return new AS(this.fg(),this.Ki(),this.Ji(),this.Fk())};function DS(a){this.g=a}x(DS,BS);function ES(a){var b=bw(a).createRange();if(3==a.nodeType)b.setStart(a,0),b.setEnd(a,a.length);else if(FS(a)){for(var c,d=a;(c=d.firstChild)&&FS(c);)d=c;b.setStart(d,0);for(d=a;(c=d.lastChild)&&FS(c);)d=c;b.setEnd(d,1==d.nodeType?d.childNodes.length:d.length)}else c=a.parentNode,a=Db(c.childNodes,a),b.setStart(c,a),b.setEnd(c,a+1);return b}function GS(a,b,c,d){var e=bw(a).createRange();e.setStart(a,b);e.setEnd(c,d);return e}h=DS.prototype;h.clone=function(){return new this.constructor(this.g.cloneRange())};
2762h.It=function(){return this.g};h.oD=function(){return this.g.commonAncestorContainer};h.fg=function(){return this.g.startContainer};h.Ki=function(){return this.g.startOffset};h.Ji=function(){return this.g.endContainer};h.Fk=function(){return this.g.endOffset};h.Bh=function(a,b,c){return this.g.compareBoundaryPoints(1==c?1==b?La.Range.START_TO_START:La.Range.START_TO_END:1==b?La.Range.END_TO_START:La.Range.END_TO_END,a)};h.gh=function(){return this.g.collapsed};h.eg=function(){return this.g.toString()};
2763h.select=function(a){var b=nw(bw(this.fg()));this.mv(b.getSelection(),a)};h.mv=function(a){a.removeAllRanges();a.addRange(this.g)};
2764h.GL=function(){var a=this.g;a.extractContents();if(a.startContainer.hasChildNodes()){var b=a.startContainer.childNodes[a.startOffset];if(b){var c=b.previousSibling;""==Yw(b)&&Jw(b);c&&""==Yw(c)&&Jw(c)}}if(Lv){b=this.fg();c=this.Ki();var d=this.Ji(),e=this.Fk(),f=b.nextSibling;b==d&&b.parentNode&&3==b.nodeType&&f&&3==f.nodeType&&(b.nodeValue+=f.nodeValue,Jw(f),a.setStart(b,c),a.setEnd(d,e))}};h.FL=function(a,b){var c=this.g.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};
2765h.HL=function(a,b){var c=nw(bw(this.fg()));if(c=HS(c))var d=c.dd(),e=c.ke(),f=c.se(),g=c.Hf();var k=this.g.cloneRange(),l=this.g.cloneRange();k.collapse(!1);l.collapse(!0);k.insertNode(b);l.insertNode(a);k.detach();l.detach();if(c){if(3==d.nodeType)for(;f>d.length;){f-=d.length;do d=d.nextSibling;while(d==a||d==b)}if(3==e.nodeType)for(;g>e.length;){g-=e.length;do e=e.nextSibling;while(e==a||e==b)}tS(d,f,e,g).select()}};h.collapse=function(a){this.g.collapse(a)};function IS(a){this.g=a}x(IS,DS);IS.prototype.mv=function(a,b){!b||this.gh()?IS.D.mv.call(this,a,b):(a.collapse(this.Ji(),this.Fk()),a.extend(this.fg(),this.Ki()))};function JS(a,b){this.h=this.g=this.s=null;this.o=this.j=-1;this.l=a;this.m=b}x(JS,BS);function KS(a){var b=bw(a).body.createTextRange();if(1==a.nodeType)b.moveToElementText(a),FS(a)&&!a.childNodes.length&&b.collapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeType;if(3==e)c+=d.length;else if(1==e){b.moveToElementText(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.move("character",c);b.moveEnd("character",a.length)}return b}h=JS.prototype;
2766h.clone=function(){var a=new JS(this.l.duplicate(),this.m);a.s=this.s;a.g=this.g;a.h=this.h;return a};h.It=function(){return this.l};function LS(a){a.s=a.g=a.h=null;a.j=a.o=-1}
2767h.oD=function(){if(!this.s){var a=this.l.text,b=this.l.duplicate(),c=a.length-a.replace(/ +$/,"").length;c&&b.moveEnd("character",-c);c=b.parentElement();b=Ld(b.htmlText).length;if(this.gh()&&0<b)return this.s=c;for(;b>Ld(c.outerHTML).length;)c=c.parentNode;for(;1==c.childNodes.length&&c.innerText==tFa(c.firstChild)&&FS(c.firstChild);)c=c.firstChild;0==a.length&&(c=uFa(this,c));this.s=c}return this.s};
2768function uFa(a,b){for(var c=b.childNodes,d=0,e=c.length;d<e;d++){var f=c[d];if(FS(f)){var g=KS(f),k=g.htmlText!=f.outerHTML;if(a.gh()&&k?0<=a.Bh(g,1,1)&&0>=a.Bh(g,1,0):a.l.inRange(g))return uFa(a,f)}}return b}h.fg=function(){this.g||(this.g=MS(this,1),this.gh()&&(this.h=this.g));return this.g};h.Ki=function(){0>this.j&&(this.j=vFa(this,1),this.gh()&&(this.o=this.j));return this.j};h.Ji=function(){if(this.gh())return this.fg();this.h||(this.h=MS(this,0));return this.h};
2769h.Fk=function(){if(this.gh())return this.Ki();0>this.o&&(this.o=vFa(this,0),this.gh()&&(this.j=this.o));return this.o};h.Bh=function(a,b,c){return this.l.compareEndPoints((1==b?"Start":"End")+"To"+(1==c?"Start":"End"),a)};
2770function MS(a,b,c){c=c||a.oD();if(!c||!c.firstChild)return c;for(var d=1==b,e=0,f=c.childNodes.length;e<f;e++){var g=d?e:f-e-1,k=c.childNodes[g];try{var l=NS(k)}catch(q){continue}var n=l.It();if(a.gh())if(!FS(k)){if(0==a.Bh(n,1,1)){a.j=a.o=g;break}}else{if(CS(l,a))return MS(a,b,k)}else{if(CS(a,l)){if(!FS(k)){d?a.j=g:a.o=g+1;break}return MS(a,b,k)}if(0>a.Bh(n,1,0)&&0<a.Bh(n,0,1))return MS(a,b,k)}}return c}
2771function vFa(a,b){var c=1==b,d=c?a.fg():a.Ji();if(1==d.nodeType){d=d.childNodes;for(var e=d.length,f=c?1:-1,g=c?0:e-1;0<=g&&g<e;g+=f){var k=d[g];if(!FS(k)&&0==a.l.compareEndPoints((1==b?"Start":"End")+"To"+(1==b?"Start":"End"),NS(k).It()))return c?g:g+1}return-1==g?0:g}a=a.l.duplicate();b=KS(d);a.setEndPoint(c?"EndToEnd":"StartToStart",b);a=a.text.length;return c?d.length-a:a}function tFa(a){return 3==a.nodeType?a.nodeValue:a.innerText}
2772h.gh=function(){return 0==this.l.compareEndPoints("StartToEnd",this.l)};h.eg=function(){return this.l.text};h.select=function(){this.l.select()};
2773h.GL=function(){if(!this.gh()&&this.l.htmlText){var a=this.fg(),b=this.Ji(),c=this.l.text,d=this.l.duplicate();d.moveStart("character",1);d.moveStart("character",-1);d.text==c&&(this.l=d);this.l.text="";LS(this);c=this.fg();d=this.Ki();try{var e=a.nextSibling;a==b&&a.parentNode&&3==a.nodeType&&e&&3==e.nodeType&&(a.nodeValue+=e.nodeValue,Jw(e),this.l=KS(c),this.l.move("character",d),LS(this))}catch(f){}}};
2774function OS(a,b,c){var d=d||$v(a.parentElement());if(1!=b.nodeType){var e=!0;b=d.O("DIV",null,b)}a.collapse(c);c=d||$v(a.parentElement());var f,g=f=b.id;f||(f=b.id=Zd());a.pasteHTML(b.outerHTML);(b=c.w(f))&&(g||b.removeAttribute("id"));e&&(a=b.firstChild,d.xX(b),b=a);return b}h.FL=function(a,b){a=OS(this.l.duplicate(),a,b);LS(this);return a};h.HL=function(a,b){var c=this.l.duplicate(),d=this.l.duplicate();OS(c,a,!0);OS(d,b,!1);LS(this)};
2775h.collapse=function(a){this.l.collapse(a);a?(this.h=this.g,this.o=this.j):(this.g=this.h,this.j=this.o)};function PS(a){this.g=a}x(PS,DS);PS.prototype.mv=function(a){a.collapse(this.fg(),this.Ki());this.Ji()==this.fg()&&this.Fk()==this.Ki()||a.extend(this.Ji(),this.Fk());0==a.rangeCount&&a.addRange(this.g)};function QS(a){this.g=a}x(QS,DS);QS.prototype.Bh=function(a,b,c){return Vv("528")?QS.D.Bh.call(this,a,b,c):this.g.compareBoundaryPoints(1==c?1==b?La.Range.START_TO_START:La.Range.END_TO_START:1==b?La.Range.START_TO_END:La.Range.END_TO_END,a)};QS.prototype.mv=function(a,b){b?a.setBaseAndExtent(this.Ji(),this.Fk(),this.fg(),this.Ki()):a.setBaseAndExtent(this.fg(),this.Ki(),this.Ji(),this.Fk())};function wFa(a){return hla?new JS(a,bw(a.parentElement())):Nv?new QS(a):Mv?new IS(a):Iv?new PS(a):new DS(a)}
2775function NS(a){if(Jv&&!Wv(9)){var b=new JS(KS(a),bw(a));if(FS(a)){for(var c,d=a;(c=d.firstChild)&&FS(c);)d=c;b.g=d;b.j=0;for(d=a;(c=d.lastChild)&&FS(c);)d=c;b.h=d;b.o=1==d.nodeType?d.childNodes.length:d.length;b.s=a}else b.g=b.h=b.s=a.parentNode,b.j=Db(b.s.childNodes,a),b.o=b.j+1;a=b}else a=Nv?new QS(ES(a)):Mv?new IS(ES(a)):Iv?new PS(ES(a)):new DS(ES(a));return a}
2776function FS(a){return Cw(a)||3==a.nodeType};function RS(){this.o=this.h=this.j=this.g=this.l=null;this.s=!1}x(RS,vS);function SS(a,b){var c=new RS;c.l=a;c.s=!!b;return c}function tS(a,b,c,d){var e=new RS;e.s=TS(a,b,c,d);if(Pw(a)&&!Cw(a)){var f=a.parentNode;b=Db(f.childNodes,a);a=f}Pw(c)&&!Cw(c)&&(f=c.parentNode,d=Db(f.childNodes,c),c=f);e.s?(e.g=c,e.j=d,e.h=a,e.o=b):(e.g=a,e.j=b,e.h=c,e.o=d);return e}h=RS.prototype;h.clone=function(){var a=new RS;a.l=this.l&&this.l.clone();a.g=this.g;a.j=this.j;a.h=this.h;a.o=this.o;a.s=this.s;return a};
2777h.nD=function(){return"text"};h.Jh=function(){return US(this).It()};function VS(a){a.g=a.j=a.h=a.o=null}h.Rn=function(){return 1};h.Kh=function(){return this};
2778function US(a){var b;if(!(b=a.l)){b=a.dd();var c=a.se(),d=a.ke(),e=a.Hf();if(Jv&&!Wv(9)){var f=b,g=c,k=d,l=e,n=!1;1==f.nodeType&&(g=f.childNodes[g],n=!g,f=g||f.lastChild||f,g=0);var q=KS(f);g&&q.move("character",g);f==k&&g==l?q.collapse(!0):(n&&q.collapse(!1),n=!1,1==k.nodeType&&(k=(g=k.childNodes[l])||k.lastChild||k,l=0,n=!g),f=KS(k),f.collapse(!n),l&&f.moveEnd("character",l),q.setEndPoint("EndToEnd",f));l=new JS(q,bw(b));l.g=b;l.j=c;l.h=d;l.o=e;b=l}else b=Nv?new QS(GS(b,c,d,e)):Mv?new IS(GS(b,c,
2779d,e)):Iv?new PS(GS(b,c,d,e)):new DS(GS(b,c,d,e));b=a.l=b}return b}h.Ii=function(){return US(this).oD()};h.dd=function(){return this.g||(this.g=US(this).fg())};h.se=function(){return null!=this.j?this.j:this.j=US(this).Ki()};h.ke=function(){return this.h||(this.h=US(this).Ji())};h.Hf=function(){return null!=this.o?this.o:this.o=US(this).Fk()};h.Tk=function(){return this.s};
2780h.Mx=function(a,b){var c=a.nD();return"text"==c?CS(US(this),US(a),b):"control"==c?(a=WS(a),(b?Ib:Jb)(a,function(d){return this.Sn(d,b)},this)):!1};h.Sn=function(a,b){return this.Mx(SS(NS(a),void 0),b)};function xFa(a){if(Jv&&!Wv(9)){var b=!1;try{b=a.parentNode}catch(c){}return!!b}return Rw(a.ownerDocument.body,a)}
2781h.Nx=function(){var a;if((a=(!this.g||xFa(this.g))&&(!this.h||xFa(this.h)))&&!(a=!(Jv&&!Wv(9)))){a=US(this);var b=a.m.body.createTextRange();b.moveToElementText(a.m.body);a=CS(a,new JS(b,a.m),!0)}return a};h.If=function(){return US(this).gh()};h.eg=function(){return US(this).eg()};h.dk=function(){return new AS(this.dd(),this.se(),this.ke(),this.Hf())};h.select=function(){US(this).select(this.s)};h.zq=function(){US(this).GL();VS(this)};h.nm=function(a,b){a=US(this).FL(a,b);VS(this);return a};
2782h.EL=function(a,b){US(this).HL(a,b);VS(this)};h.collapse=function(a){a=this.Tk()?!a:a;this.l&&this.l.collapse(a);a?(this.h=this.g,this.o=this.j):(this.g=this.h,this.j=this.o);this.s=!1};function XS(){}x(XS,vS);XS.prototype.Mx=function(a,b){var c=xS(this);a=xS(a);return(b?Ib:Jb)(a,function(d){return Ib(c,function(e){return e.Mx(d,b)})})};XS.prototype.Sn=function(a,b){return this.Mx(SS(NS(a),void 0),b)};XS.prototype.nm=function(a,b){b?Gw(a,this.dd()):Hw(a,this.ke());return a};XS.prototype.EL=function(a,b){this.nm(a,!0);this.nm(b,!1)};function YS(){this.j=this.h=this.g=null}x(YS,XS);function yFa(a){var b=new YS;b.g=a;return b}function zFa(a){for(var b=bw(arguments[0]).body.createControlRange(),c=0,d=arguments.length;c<d;c++)b.addElement(arguments[c]);return yFa(b)}h=YS.prototype;h.clone=function(){return zFa.apply(this,WS(this))};h.nD=function(){return"control"};h.Jh=function(){return this.g||document.body.createControlRange()};h.Rn=function(){return this.g?this.g.length:0};h.Kh=function(a){a=this.g.item(a);return SS(NS(a),void 0)};
2783h.Ii=function(){return Sw.apply(null,WS(this))};h.dd=function(){return ZS(this)[0]};h.se=function(){return 0};h.ke=function(){var a=ZS(this),b=Cb(a);return Kb(a,function(c){return Rw(c,b)})};h.Hf=function(){return this.ke().childNodes.length};function WS(a){if(!a.h&&(a.h=[],a.g))for(var b=0;b<a.g.length;b++)a.h.push(a.g.item(b));return a.h}function ZS(a){a.j||(a.j=WS(a).concat(),a.j.sort(function(b,c){return b.sourceIndex-c.sourceIndex}));return a.j}
2784h.Nx=function(){var a=!1;try{a=Jb(WS(this),function(b){return Jv?!!b.parentNode:Rw(b.ownerDocument.body,b)})}catch(b){}return a};h.If=function(){return!this.g||!this.g.length};h.eg=function(){return""};h.dk=function(){return new $S(this)};h.select=function(){this.g&&this.g.select()};h.zq=function(){if(this.g){for(var a=[],b=0,c=this.g.length;b<c;b++)a.push(this.g.item(b));Fb(a,Jw);this.collapse(!1)}};h.fv=function(a){a=this.nm(a,!0);this.If()||this.zq();return a};
2785h.collapse=function(){this.j=this.h=this.g=null};function $S(a){this.L=this.h=this.g=null;a&&(this.L=ZS(a),this.g=this.L.shift(),this.h=Cb(this.L)||this.g);RR.call(this,this.g,!1,!0)}x($S,zS);h=$S.prototype;h.Px=function(){return this.g};h.wu=function(){return!this.depth&&!this.L.length};h.next=function(){if(this.wu())throw ee;if(!this.depth){var a=this.L.shift();SR(this,a,1,1);return a}return $S.D.next.call(this)};h.nk=function(a){this.L=a.L;this.g=a.g;this.h=a.h;$S.D.nk.call(this,a)};
2786h.clone=function(){var a=new $S(null);a.nk(this);return a};function aT(){this.g=[];this.j=[];this.o=this.h=null}x(aT,XS);h=aT.prototype;h.clone=function(){var a=new aT;a.g=Sb(this.g);return a};h.nD=function(){return"mutli"};h.Jh=function(){return this.g[0]};h.Rn=function(){return this.g.length};h.Kh=function(a){this.j[a]||(this.j[a]=SS(wFa(this.g[a]),void 0));return this.j[a]};h.Ii=function(){if(!this.o){for(var a=[],b=0,c=this.Rn();b<c;b++)a.push(this.Kh(b).Ii());this.o=Sw.apply(null,a)}return this.o};
2787function bT(a){a.h||(a.h=xS(a),a.h.sort(function(b,c){var d=b.dd();b=b.se();var e=c.dd();c=c.se();return d==e&&b==c?0:TS(d,b,e,c)?1:-1}));return a.h}h.dd=function(){return bT(this)[0].dd()};h.se=function(){return bT(this)[0].se()};h.ke=function(){return Cb(bT(this)).ke()};h.Hf=function(){return Cb(bT(this)).Hf()};h.Nx=function(){return Jb(xS(this),function(a){return a.Nx()})};h.If=function(){return 0==this.g.length||1==this.g.length&&this.Kh(0).If()};h.eg=function(){return Hb(xS(this),function(a){return a.eg()}).join("")};
2788h.dk=function(){return new cT(this)};h.select=function(){var a=wS(nw(this.getDocument()));a.removeAllRanges();for(var b=0,c=this.Rn();b<c;b++)a.addRange(this.Kh(b).Jh())};h.zq=function(){Fb(xS(this),function(a){a.zq()})};
2788h.collapse=function(a){if(!this.If()){var b=a?this.Kh(0):this.Kh(this.Rn()-1);this.j=[];this.o=this.h=null;b.collapse(a);this.j=[b];this.h=[b];this.g=[b.Jh()]}};
2789function cT(a){this.T=null;this.L=0;a&&(this.T=Hb(bT(a),function(b){return ge(b)}));RR.call(this,a?this.Px():null,!1,!0)}x(cT,zS);h=cT.prototype;h.Px=function(){return this.T[0].Px()};h.wu=function(){return this.T[this.L].wu()};h.next=function(){try{var a=this.T[this.L],b=a.next();SR(this,a.node,a.l,a.depth);return b}catch(c){if(c!==ee||this.T.length-1==this.L)throw c;this.L++;return this.next()}};h.nk=function(a){this.T=Sb(a.T);cT.D.nk.call(this,a)};
2790h.clone=function(){var a=new cT(null);a.nk(this);return a};function HS(a){return(a=wS(a||window))&&AFa(a)}function AFa(a){var b=!1;if(a.createRange)try{var c=a.createRange()}catch(e){return null}else if(a.rangeCount){if(1<a.rangeCount){c=new aT;b=0;for(var d=a.rangeCount;b<d;b++)c.g.push(a.getRangeAt(b));return c}c=a.getRangeAt(0);b=TS(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)}else return null;return BFa(c,b)}function BFa(a,b){var c;a&&a.addElement?c=yFa(a):c=SS(wFa(a),b);return c}function dT(a){return SS(NS(a),void 0)}
2791function eT(a,b){return tS(a,b,a,b)}function TS(a,b,c,d){if(a==c)return d<b;var e;if(1==a.nodeType&&b)if(e=a.childNodes[b])a=e,b=0;else if(Rw(a,c))return!0;if(1==c.nodeType&&d)if(e=c.childNodes[d])c=e,d=0;else if(Rw(c,a))return!1;return 0<(ola(a,c)||b-d)};var fT=Jv&&!Wv(9),gT=Mv||Nv||Iv||Kv||Jv&&Wv(9),hT=Jv||Nv||Iv||Kv||!1,CFa=Nv||!1,DFa=Jv||Nv||Iv,EFa=Mv&&!0,FFa=Mv||Nv||Iv,GFa=Mv||Iv,iT=Mv&&Vv("1.8")||Nv||Iv,HFa=Nv||Jv&&Vv("9"),IFa=Mv||Nv&&!Vv("527"),JFa=Jv||Iv,KFa=!Nv||Vv("525"),LFa=Nv&&!Vv("531"),MFa=Nv&&!Vv("528"),NFa=Jv||Kv||Mv||Iv,OFa=Mv||Nv&&!Vv("526"),PFa=Jv||Iv,QFa=!Jv&&!Iv,RFa=!Nv&&!Kv;iy&&0<=Nc(Dwa,"4")||jy&&Vv("533")||Mv&&Vv("2.0")||Jv&&Vv("10")||Iv&&Laa();var SFa=Iv&&Vv("11.10");function jT(){Rx.call(this);this.Kb=this.OB();this.Ma=null}x(jT,Rx);function kT(a){return a.Ma&&a.Ma.g}h=jT.prototype;h.MS=function(){this.Ma&&(this.disable(this.Ma),this.Ma=null)};h.enable=function(a){this.Ma==a&&(this.Kb=!0)};h.disable=function(a){this.Ma==a&&(this.Kb=!1)};h.isEnabled=function(a){return this.Ma==a?this.Kb:!1};h.OB=Zb;h.KM=Zb;h.qa=function(){this.Ma&&this.MS(this.Ma);jT.D.qa.call(this)};
2792var lT=ic({ID:1,JD:2,KD:3,ky:4,Ok:5,execCommand:6,queryCommandValue:7,fO:8,HJ:10,lV:11}),mT={8:!0,10:!0,11:!0};jT.prototype.execCommand=function(a,b){var c=this.KM(a);c||(Mv&&nT(this.Ma,!0),this.Ma.Zl());try{var d=this.Ag.apply(this,arguments)}finally{c||(this.Ma.nj(),oT(this.Ma))}return d};jT.prototype.Th=function(){return!1};function TFa(a,b,c){this.h=a;this.j=b;this.g=c||{}}function UFa(a,b){this.M=a;this.g=b};function pT(a,b,c){this.g=a;this.h=!!c;a&&!b&&this.next()}x(pT,fe);pT.prototype.next=function(){var a=this.g;if(!a)throw ee;this.g=this.h?a.previousSibling:a.nextSibling;return a};function qT(a,b,c){w(c)||(c=b&&a.childNodes.length?a.childNodes.length-1:0);pT.call(this,a.childNodes[c],!0,b)}x(qT,pT);var rT={ADDRESS:!0,ARTICLE:!0,ASIDE:!0,BLOCKQUOTE:!0,BODY:!0,CAPTION:!0,CENTER:!0,COL:!0,COLGROUP:!0,DETAILS:!0,DIR:!0,DIV:!0,DL:!0,DD:!0,DT:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,ISINDEX:!0,OL:!0,LI:!0,MAIN:!0,MAP:!0,MENU:!0,NAV:!0,OPTGROUP:!0,OPTION:!0,P:!0,PRE:!0,SECTION:!0,SUMMARY:!0,TABLE:!0,TBODY:!0,TD:!0,TFOOT:!0,TH:!0,THEAD:!0,TR:!0,UL:!0},VFa={IMG:!0,IFRAME:!0,EMBED:!0};
2793function sT(a){for(var b;b=a&&1==a.nodeType?tT(ke(new qT(a,!1),uT)):null;)a=b;return a}function tT(a){try{return a.next()}catch(b){return null}}function uT(a){return 1==a.nodeType||3==a.nodeType&&!Id(a.nodeValue)}function vT(a,b){var c=Yw(a);if(a.getElementsByTagName)for(var d in VFa)if(a.tagName==d||0<a.getElementsByTagName(d).length)return!1;return!b&&"\u00a0"==c||Id(c)}function wT(a){return a.length||a.childNodes.length}
2794function xT(a){return a.getAttribute&&"true"==a.getAttribute("g_editable")}function yT(a,b){Jv&&Fw(a);a.innerHTML=b};function zT(a){var b=a&&a.nodeName;return!(!a||"block"!=(1!=a.nodeType?null:Jv?a.currentStyle?a.currentStyle.display:null:lG(a,"display"))&&"TD"!=b&&"TABLE"!=b&&"LI"!=b)}function AT(a){return $w(a,zT,!0)};function BT(a,b){var c=WFa(a,1,b);c=WFa(c,0,b);var d=c.dd();a=c.ke();var e=c.se();c=c.Hf();if(d==a){for(;a!=b&&0==e&&c==wT(a);)d=a.parentNode,e=Db(d.childNodes,a),c=e+1,a=d;d=a}return tS(d,e,a,c)}function WFa(a,b,c){for(var d=(b=1==b)?a.dd():a.ke(),e=b?a.se():a.Hf(),f=yS(a);d!=f&&d!=c&&!(b&&0!=e||!b&&e!=wT(d));){var g=d.parentNode;e=Db(g.childNodes,d);e=b?e:e+1;d=g}c=b?d:a.dd();f=b?e:a.se();d=b?a.ke():d;a=b?a.Hf():e;return tS(c,f,d,a)}
2795function CT(a,b){var c=a.parentNode;a=Db(c.childNodes,a)+(b?0:1);b=DT(c,a,b,!0);eT(b.node,b.offset).select()}function ET(a){for(var b=null,c=a.firstChild;c;){var d=c.nextSibling;3==c.nodeType?""==c.nodeValue?a.removeChild(c):b?(b.nodeValue+=c.nodeValue,a.removeChild(c)):b=c:(ET(c),b=null);c=d}}function XFa(a,b){if(b)var c=YFa(b),d=AT(yS(b));d?(a=Sw(d,a),Jv?ET(a):a.normalize()):a&&(Jv?ET(a):a.normalize());return c?c():null}function FT(a,b){return b?DT(a.dd(),a.se()):DT(a.ke(),a.Hf())}
2796function YFa(a){var b=a.Tk(),c=ZFa(FT(a,!b)),d=$Fa(c),e=c.node.previousSibling;3==c.node.nodeType&&(c.node=null);var f=ZFa(FT(a,b)),g=$Fa(f),k=f.node.previousSibling;3==f.node.nodeType&&(f.node=null);return function(){!c.node&&e&&(c.node=e.nextSibling,c.node||(c=new GT(e,wT(e))));!f.node&&k&&(f.node=k.nextSibling,f.node||(f=new GT(k,wT(k))));return tS(c.node||d.node.firstChild||d.node,c.offset,f.node||g.node.firstChild||g.node,f.offset)}}
2797function ZFa(a){var b;if(3==a.node.nodeType)for(b=a.node.previousSibling;b&&3==b.nodeType;b=b.previousSibling)a.offset+=wT(b);else b=a.node.previousSibling;var c=a.node.parentNode;a.node=b?b.nextSibling:c.firstChild;return a}function aGa(a){var b=yS(a);return a.dd()!=b.parentElement&&xT(b)||!!$w(b,xT)}function GT(a,b){this.node=a;this.offset=b}function $Fa(a){var b=a.node.parentNode;return new GT(b,Db(b.childNodes,a.node))}
2798function DT(a,b,c,d){for(;1==a.nodeType;){var e=a.childNodes[b];if(e||a.lastChild)if(e){var f=e.previousSibling;if(c&&f){if(d&&HT(f))break;a=f;b=wT(a)}else{if(d&&HT(e))break;a=e;b=0}}else{if(d&&HT(a.lastChild))break;a=a.lastChild;
2798b=wT(a)}else break}return new GT(a,b)}function HT(a){return 1==a.nodeType&&!Cw(a)}function IT(a){uS.call(this,a)}x(IT,uS);
2799IT.prototype.g=function(a){var b=sS(this,!0),c=sS(this,!1);b=b&&c?Sw(b,c):b||c;IT.D.g.call(this);if(a)return XFa(b,a);b&&(a=HS(nw(bw(b))),(a=XFa(b,a))&&a.select())};function JT(a,b){Rx.call(this);this.s=this.id=a;this.g=null;this.l={};this.m={};for(var c in lT)this.m[c]=[];this.cb=id;this.L={};this.L[KT]=1;this.L[LT]=1;this.M=new qS(this.sK,bGa,this);this.Y={};for(var d in cGa)this.Y[cGa[d]]=0;Mv&&(this.h=new qS(this.hy,dGa,this));this.j=new Px(this);this.Wb=[];this.mh=MT;this.u=$v(b||document);this.Mf=this.u.w(this.id);this.ic=HFa;this.ea=dx(this.u)}x(JT,Rx);JT.prototype.Zb=null;
2800var KT="change",LT="delayedchange",cGa={aba:"cvc",Ica:"load",Jea:"unload",Gaa:"beforechange",Yaa:KT,nba:LT,Haa:"beforefocus",Oba:"focus",Kaa:"blur",Jaa:"beforetab",bca:"ifrsz",Iaa:"beforeselectionchange",Uda:"selectionchange"},MT=0,NT=null;JT.prototype.Ia=null;JT.prototype.T=!1;JT.prototype.w=function(){return this.Zb};JT.prototype.addListener=function(a,b,c,d){var e=this.w();EFa&&e&&this.Ng()&&(e=e.ownerDocument);d?Qx(this.j,e,a,b,c,d):this.j.J(e,a,b,c)};
2801function OT(a,b){var c=b.eh();a.l[c]=b;for(var d in lT)b[lT[d]]&&a.m[d].push(b);b.Ma=a;2==a.mh&&b.enable(a)}var dGa=15,bGa=250;JT.prototype.Ng=function(){return!0};JT.prototype.Wa=Zb;var PT={46:!0,8:!0};Jv||(PT[9]=!0);var eGa={86:!0,88:!0};Pv&&!Mv&&(PT[229]=!0);function fGa(a){var b=!(a.ctrlKey||a.metaKey)&&a.keyCode in PT;return(a.ctrlKey||a.metaKey)&&a.keyCode in eGa||b}function gGa(a,b){a.mh=2;a.Zb=b;a.g=$v(b);b.setAttribute("g_editable","true");pH(b,"textbox")}
2802function hGa(a){a.mh=MT;for(var b in a.l){var c=a.l[b];c.OB()||c.disable(a)}a.Zb=null;a.g=null}function iGa(a){a.j&&a.j.tf();if((gy||hy)&&a.Ng()&&a.Wa()){try{var b=dx(a.g);b.removeEventListener("keydown",a.va,!1);b.removeEventListener("touchend",a.va,!1)}catch(c){}delete a.va}if(Iv&&a.Ng()){try{b=dx(a.g),b.removeEventListener("focus",a.Ua,!1),b.removeEventListener("blur",a.Z,!1)}catch(c){}delete a.Ua;delete a.Z}a.h&&a.h.stop();a.M.stop()}
2803JT.prototype.qa=function(){this.Mf&&this.execCommand("clearlorem");hGa(this);iGa(this);QT(this);this.u=null;this.j&&(this.j.dispose(),this.j=null);for(var a;a=this.Wb.pop();)a.dispose();NT==this.id&&(NT=null);for(var b in this.l)this.l[b].dispose();delete this.l;JT.D.qa.call(this)};var jGa=["DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMCharacterDataModified"];
2804function kGa(a,b){if(9==b.keyCode&&!a.dispatchEvent({type:"beforetab",shiftKey:b.shiftKey,altKey:b.altKey,ctrlKey:b.ctrlKey})||Mv&&b.metaKey&&!Vv(29)&&(37==b.keyCode||39==b.keyCode))return b.preventDefault(),!1;var c;(c=b.o)||(c=fGa(b)?!0:!(!Mv||b.ctrlKey||b.metaKey||Mv&&!b.o));a.Ja=c;a.Ja&&a.Zl();return!0}var lGa={8:1,9:1,13:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,46:1},mGa={65:!0,86:!0,88:!0},nGa={8:1,9:1,13:1,27:1,33:1,34:1,37:1,38:1,39:1,40:1};h=JT.prototype;
2805h.tu=function(a,b){for(var c=this.m[a],d=Vb(arguments,1),e=0;e<c.length;++e){var f=c[e];if((f.isEnabled(this)||mT[a])&&f[lT[a]].apply(f,d))return!0}return!1};h.D_=function(a,b){for(var c=this.m[a],d=Vb(arguments,1),e=0;e<c.length;++e){var f=c[e];(f.isEnabled(this)||mT[a])&&f[lT[a]].apply(f,d)}};h.Dz=function(a,b,c){for(var d=this.m[a],e=Vb(arguments,1),f=0;f<d.length;++f){var g=d[f];if(g.isEnabled(this)||mT[a])e[0]=g[lT[a]].apply(g,e)}return e[0]};
2806function oGa(a,b,c){var d={};a=a.Dz(8,b||"",d);iG(c,d);yT(c,a)}h.yY=function(a){Ov&&65==a.keyCode&&pGa(this,a);(Mv||kGa(this,a))&&!this.tu(1,a)&&KFa&&qGa(this,a)};h.zZ=function(a){if(Mv){if(!kGa(this,a))return}else this.Ja=!0,this.Zl();this.tu(2,a)||KFa||qGa(this,a)};h.AZ=function(a){Mv||!this.Ja&&!fGa(a)||this.hy();this.tu(3,a);pGa(this,a)};
2807function pGa(a,b){!RT(a,"selectionchange")&&(lGa[b.keyCode]||(b.ctrlKey||b.metaKey)&&mGa[b.keyCode])&&(a.dispatchEvent("beforeselectionchange"),a.Ia.start())}function qGa(a,b){if(!b.altKey||b.shiftKey){var c=b.o||b.keyCode,d=String.fromCharCode(c).toLowerCase(),e=Ov?b.metaKey:b.ctrlKey,f=b.altKey&&b.shiftKey;(e||f||nGa[b.keyCode])&&17!=c&&(Ov&&Mv&&"`"==d&&" "==b.g.key&&(d=" "),220==b.keyCode&&(d="\\"),a.tu
2807(5,b,d,e)&&b.preventDefault())}}
2808h.execCommand=function(a,b){for(var c=arguments,d,e=this.m[6],f=0;f<e.length;++f){var g=e[f];if(g.isEnabled(this)&&g.Th(a)){d=g.execCommand.apply(g,c);break}}return d};h.queryCommandValue=function(a){var b=2==this.mh&&this.T;if(Ma(a))return rGa(this,a,b);for(var c={},d=0;d<a.length;d++)c[a[d]]=rGa(this,a[d],b);return c};function rGa(a,b,c){for(var d=a.m[7],e=0;e<d.length;++e){var f=d[e];if(f.isEnabled(a)&&f.Th(b)&&(c||f.OB()))return f.queryCommandValue(b)}return c?null:!1}
2809h.jZ=function(a,b){if(!RT(this,KT)){b=b.g;try{if(b.originalTarget.prefix||"scrollbar"==b.originalTarget.nodeName)return}catch(c){return}b.prevValue!=b.newValue&&a.call(this,b)}};h.MD=function(a){RT(this,KT)||(a=a.T?a.g:a,a.target.firebugIgnore||this.h.start())};h.VL=function(){Jv&&this.execCommand("clearlorem",!0);Mv&&this.KC();this.nj()};function ST(a){return(a=a.g&&dx(a.g))&&HS(a)}
2810function oT(a,b,c){if(!RT(a,"selectionchange")){var d=ST(a);d=d&&yS(d);a.T=!!d&&Rw(a.w(),d);a.dispatchEvent("cvc");a.dispatchEvent({type:"selectionchange",Yla:b&&b.type});a.tu(4,b,c)}}h.MZ=function(){var a=this.Pb;this.Pb=null;oT(this,void 0,a)};h.Zl=function(){RT(this,"beforechange")||this.dispatchEvent("beforechange")};function nT(a,b){b&&(a.h&&rS(a.h),a.L[KT]=1);TT(a);a.L[LT]=1}function UT(a,b,c){!b&&a.h&&rS(a.h);a.L[KT]=0;a.L[LT]=0;b&&a.hy();c&&a.sK()}
2811function RT(a,b){return!!a.L[b]||a.Y[b]&&500>=db()-a.Y[b]}h.nj=function(a){UT(this,!0,a)};h.hy=function(){RT(this,KT)||(this.h&&this.h.stop(),RT(this,LT)||this.M.start())};h.sK=function(){RT(this,LT)||(this.M.stop(),this.dispatchEvent(LT))};function TT(a){a.h&&rS(a.h);rS(a.M)}h.KC=function(){this.qK();this.ex()};h.qK=function(){RT(this,"beforefocus")||(this.execCommand("clearlorem",!0),this.dispatchEvent("beforefocus"))};
2812h.ex=function(){if(!RT(this,"focus")){NT=this.id;this.T=!0;this.dispatchEvent("focus");if(Mv){var a=this.w(),b=ST(this);if(b){var c=qFa(b);0!=rFa(b)||c&&c!=a&&"BODY"!=c.tagName||eT(sT(a),0).select()}}!DFa&&this.Ng()&&dx(this.g).parent.getSelection().removeAllRanges()}};h.Xt=function(){RT(this,"blur")||(NT==this.id&&(NT=null),this.T=!1,this.dispatchEvent("blur"))};function sGa(a){Zw(a.target,"A")&&a.preventDefault()}h.zY=function(a){NT=this.id;if(Jv){var b=a.target;b&&"A"==b.tagName&&a.ctrlKey&&dx(this.u).open(b.href)}};
2813h.AY=function(a){this.dispatchEvent("beforeselectionchange");oT(this,a);Jv&&(this.Pb=a.target,this.Ia.start())};function VT(a){if(a.queryCommandValue("usinglorem"))return"\u00a0";if(2!=a.mh)return a.Mf.innerHTML;var b=a.w(),c=b.cloneNode(!1);b=b.innerHTML;Jv&&b.match(/^\s*<script/i)&&(b="\u00a0"+b);c.innerHTML=b;a.D_(11,c);return a.Dz(10,c.innerHTML)}
2814function WT(a,b,c,d){if(!a.jE()){d&&a.execCommand("clearlorem");c&&nT(a,!1);var e=a.w();if(e){if(a.Ng()&&Nv)for(var f=dw("HEAD",e.ownerDocument),g=f.length-1;1<=g;--g)f[g].parentNode.removeChild(f[g])}else e=a.Mf;e&&oGa(a,b&&vd(b).toString(),e);d&&a.execCommand("updatelorem");2==a.mh&&(c?(Mv&&rS(a.h),UT(a)):a.nj())}}h.KS=function(){var a=this.g.getDocument();a.designMode="on";iT&&a.execCommand("styleWithCSS",!1,!1)};
2815h.AM=function(){if(this.cb.fh()&&XT(this)){var a=this.cb,b=this.w();b=$v(b);var c=b.getDocument();if(Jv&&c.createStyleSheet)b=c.createStyleSheet(),$va(b,a);else{c=fw(b.g,"HEAD",void 0,void 0)[0];if(!c){var d=fw(b.g,"BODY",void 0,void 0)[0];c=b.O("HEAD");d.parentNode.insertBefore(c,d)}d=b.O("STYLE");$va(d,a);b.appendChild(c,d)}}};h.jE=function(){return 1==this.mh};
2816h.focus=function(){if(!hT&&this.Ng())dx(this.g).focus();else{if(Iv)var a=this.ea.pageXOffset,b=this.ea.pageYOffset;this.w().focus();Iv&&this.ea.scrollTo(a,b)}};function tGa(a){a.mh=1;var b=a.Mf;a.nodeName=b.nodeName;a.Za=b.className;a.cssText=b.style.cssText;gx(b,"editable");a.Uy(void 0)}
2817h.Uy=function(a){var b=this.Mf;if(b){b=b.innerHTML;var c={};b=this.Dz(8,b,c);var d=this.u.O("IFRAME",uGa(this));if(XT(this)){var e=bb(this.nM,this,d,b,c);this.Ha=D(d,"load",e,!0);a&&Fd(d,a)}a=this.Mf;d.className=a.className;d.id=a.id;Kw(d,a);XT(this)||this.nM(d,b,c)}};
2818h.iy=function(){if(Jv){var a=wS(dx(this.g)||window);if(a)if(a.empty)try{a.empty()}catch(c){}else try{a.removeAllRanges()}catch(c){}}NT!=this.id&&this.execCommand("updatelorem");(gy||hy)&&this.Ng()&&this.Wa()&&(a=dx(this.g),this.va=bb(a.focus,a),a.addEventListener("keydown",this.va,!1),a.addEventListener("touchend",this.va,!1));
2818Iv&&this.Ng()?(this.Ua=bb(this.KC,this),this.Z=bb(this.Xt,this),a=dx(this.g),a.addEventListener("focus",this.Ua,!1),a.addEventListener("blur",this.Z,!1)):(JFa?(this.addListener("focus",
2819this.ex),this.addListener("focusin",this.qK)):this.addListener("focus",this.KC),this.addListener("blur",this.Xt,Mv));Mv?CFa||!this.Ng()?this.j.J(this.w(),"DOMSubtreeModified",this.MD):(a=this.g.getDocument(),this.j.J(a,jGa,this.MD,!0),this.j.J(a,"DOMAttrModified",bb(this.jZ,this,this.MD),!0)):(this.addListener(["beforecut","beforepaste","drop","dragend"],this.Zl),this.addListener(["cut","paste"],vaa(this.nj)),this.addListener("drop",this.VL));this.addListener(Nv?"dragend":"dragdrop",this.VL);this.addListener("keydown",
2820this.yY);this.addListener("keypress",this.zZ);this.addListener("keyup",this.AZ);this.Ia=new qS(this.MZ,250,this);this.ic&&this.addListener("click",sGa);this.addListener("mousedown",this.zY);this.addListener("mouseup",this.AY);this.w();this.AM();UT(this);this.dispatchEvent("load");for(var b in this.l)this.l[b].enable(this)};
2821function vGa(a){if(a.mh==MT)throw Error("makeUneditable: Field is already uneditable");TT(a);rS(a.Ia);a.execCommand("clearlorem");var b=null;a.w()&&(b=VT(a));QT(a);var c=a.Mf;NT==c.id&&(NT=null);iGa(a);if(Ma(b)){yT(c,b);b=a.Mf;b.removeAttribute("contentEditable");b.removeAttribute("g_editable");b.removeAttribute("role");a.id?b.id=a.id:b.removeAttribute("id");b.className=a.Za||"";var d=a.cssText;d?iw(b,{style:d}):b.removeAttribute("style");Ma(a.Ta)&&(iG(b,"lineHeight",a.Ta),a.Ta=null)}a.AO();hGa(a);
2822Nv&&c.blur();a.execCommand("updatelorem");a.dispatchEvent("unload")}h.AO=function(){var a=this.Mf;if(a){var b;b=this.Ng()&&(b=this.g)?(b=dx(b))&&b.frameElement:null;b&&Kw(a,b)}};function XT(a){if(!w(a.Gb)&&(a.Gb=!1,Jv&&a.Ng())){for(var b=dx(a.u);b!=b.parent;)try{b=b.parent}catch(c){break}b=b.location;a.Gb="https:"==b.protocol&&-1==b.search.indexOf("nocheckhttps")}return a.Gb}
2823h.nM=function(a,b,c){QT(this);a.allowTransparency="true";var d=kw($v(this.Mf).g);c=new TFa(this.id,d,c);if(XT(this)){var e=Tw(a).body;hT&&(e.contentEditable=!0);e.className="editable";e.setAttribute("g_editable",!0);e.hideFocus=!0;e.id=c.h;iG(e,c.g);e.innerHTML=b}else{d=new UFa(this.w(),this.cb.fh());var f=[];f.push('<html style="background:none transparent;min-width:0;');f.push('">');f.push("<head><style>");d&&d.g&&f.push(d.g);Mv&&c.j&&f.push(" img {-moz-force-broken-image-icon: 1;}");f.push("</style></head>");
2824f.push('<body g_editable="true" hidefocus="true" ');hT&&f.push("contentEditable ");f.push('class="editable ');f.push('" id="',c.h,'" style="min-width:0;');Iv&&f.push(";outline:hidden");for(e in c.g)f.push(";"+e+":"+c.g[e]);f.push('">',b,"</body></html>");b=f.join("");e=Tw(a);e.open();e.write(b);e.close()}gGa(this,Tw(a).body);!hT&&this.Ng()&&this.KS();this.iy()};function QT(a){a.Ha&&(Nx(a.Ha),a.Ha=null)}
2825function uGa(a){a="padding:0;"+a.Mf.style.cssText;wc(a,";")||(a+=";");a+="background-color:white;";Jv&&(a+="overflow:visible;");return{frameBorder:0,style:a}};function wGa(a,b){RDa(a,b)};function xGa(){var a=new NDa;a.m=YDa;a.j=Caa;QDa(a);wGa(a,["abbr","align","alt","cite","colspan","coords","datetime","dir","face","headers","height","high","href","id","lang","low","max","min","name","nowrap","open","optimum","rel","rowspan","scope","shape","size","sizes","span","summary","title","usemap","valign","width","src","type","value",{tagName:"*",attributeName:"style",oF:function(b){return b?b.replace(/(margin(?:-(?:left|right|top|bottom))?)\s*:\s*([^;!]*)/gi,function(c,d,e){return d+": "+
2826e.replace(/-[\d.]+[a-z%]*/gi,"0")}):b}}]);return new hR(a)}function yGa(a){var b=document.createRange(),c=window.getSelection();b.setStartAfter(a);b.setEndAfter(a);c.removeAllRanges();c.addRange(b)}function YT(a,b,c){var d=ST(b);nT(b,!0);d.If()||(c.getDocument().execCommand("delete",!1,null),d=ST(b));a=d.nm(a,!1);b.nj();CT(a,!1);oT(b)}
2827function ZT(a,b,c){D(a,"load",function(){var d=zG(a).width,e=zG(a).height,f=d/e;if(d*e>c){e=B("CANVAS");var g=e.getContext("2d"),k=Math.pow(c/(a.width*a.height),.5);d=a.width*k;k*=a.height;e.width=d;e.height=k;g.drawImage(a,0,0,d,k);e=e.toDataURL("image/jpeg",.8);a.src=e}d>b&&(f=b/f,a.style.width=b+"px",a.style.height=f+"px")})}
2828function $T(a,b,c,d,e,f,g,k){this.WD=a;this.Qf=b;this.Dv=c;this.VP=d;this.Nm=e;this.Ur=f;this.Sr=g;this.Ma=k;a=window.getComputedStyle(this.Qf);this.borderWidth=parseFloat(a?a.borderWidth:"3");this.borderWidth*=this.Ma.EU;this.aspectRatio=(this.Ur-this.borderWidth)/(this.Sr-this.borderWidth);
2828this.Gt=this.Ma.maxWidth+this.borderWidth;this.Ft=this.Ma.maxWidth/this.aspectRatio+this.borderWidth}h=$T.prototype;h.WD=null;h.Qf=null;h.Dv=0;h.VP=0;h.Nm=0;h.Ur=0;h.Sr=0;h.Ma=null;h.jJ=null;h.kJ=null;
2829h.borderWidth=0;h.Gt=0;h.Ft=0;h.aspectRatio=0;
2830h.Q2=function(a){var b=a.clientX-this.VP,c=a.clientY-this.Nm;a=this.Dv==aU.CS||this.Dv==aU.gC;var d=this.Dv==aU.gC||this.Dv==aU.iJ;c=m(zGa(this,a?this.Ur+b:this.Ur-b,d?this.Sr+c:this.Sr-c));b=c.next().value;c=c.next().value;var e=this.Qf.children;if(c>=this.Ft||b>=this.Gt){this.Qf.classList.remove("Fs");this.Qf.classList.add("Gs");for(var f=0;f<this.Qf.childElementCount;f++)e[f].classList.remove("Hs"),e[f].classList.add("Is")}else for(this.Qf.classList.remove("Gs"),this.Qf.classList.add("Fs"),f=0;f<
2831this.Qf.childElementCount;f++)e[f].classList.remove("Is"),e[f].classList.add("Hs");this.Qf.style.width=b+"px";this.Qf.style.height=c+"px";d||(d=zG(this.Qf).height,iG(this.Qf,"top",this.Sr-d+"px"));a||(a=zG(this.Qf).width,iG(this.Qf,"left",this.Ur-a+"px"))};
2832function zGa(a,b,c){b=Math.min(a.Gt,Math.max(Math.min(a.Ur,20),b));c=Math.min(a.Ft,Math.max(Math.min(a.Sr,20),c));var d=(c-a.borderWidth)*a.aspectRatio+a.borderWidth,e=(b-a.borderWidth)/a.aspectRatio+a.borderWidth;e>c?c=e:d>b&&(b=d);if(e>a.Ft||d>a.Gt)b=a.Gt,c=a.Ft;return[b,c]}
2833h.R2=function(){Mx(document,"mousemove",this.jJ);Mx(document,"mouseup",this.kJ);this.WD.style.width=zG(this.Qf).width-this.borderWidth+"px";this.WD.style.height=(zG(this.Qf).width-this.borderWidth)/this.aspectRatio+"px";bU(this.Ma);this.Ma.nj()};var aU=Object.freeze({CS:1,i9:2,gC:3,iJ:4});
2834function AGa(a,b,c,d){var e=c.classList.contains("As-Bs-Cs")?aU.i9:c.classList.contains("As-Bs-Ds")?aU.CS:c.classList.contains("As-Es-Cs")?aU.iJ:aU.gC;D(c,"mousedown",function(f){f.preventDefault();d.hasFocus()||d.w().focus();f=new $T(b,a,e,f.clientX,f.clientY,zG(a).width,zG(a).height,d);var g=f.Q2.bind(f),k=f.R2.bind(f);D(document,"mousemove",g);D(document,"mouseup",k);f.jJ=g;f.kJ=k})};function cU(){jT.call(this)}x(cU,jT);cU.prototype.eh=function(){return"SgImagePlugin"};cU.prototype.Th=function(a){return"+imageInsertUrl"==a||"+imageInsertLocal"==a};cU.prototype.Ag=function(a){"+imageInsertUrl"==a?console.log("handleImageInsertUrl"):"+imageInsertLocal"==a&&BGa(this)};cU.prototype.HJ=function(a){var b=B("DIV");b.innerHTML=a;bU(this.Ma,b);return b.innerHTML};
2835function BGa(a){var b=B("INPUT");b.type="file";b.accept="image/*";b.multiple=!1;dU(a.Ma);b.onchange=function(c){c=c.target.files[0];if(c.type.startsWith("image/")){var d=new FileReader;d.readAsDataURL(c);d.onload=function(e){var f=kT(a);e=e.target.result;var g=B("IMG");g.setAttribute("src",e);YT(g,a.Ma,f);yGa(g);ZT(g,a.Ma.maxWidth,a.Ma.XM)}}else AK.ba("Fa")};b.click()};function eU(){}x(eU,oN);Ra(eU);h=eU.prototype;h.Ik=function(){};h.Xc=function(a,b){yN(a,!1);a.oi&=-256;a.gd(32,!1);eU.D.Xc.call(this,a,b);a.Fc(b.value);return b};h.We=function(a){yN(a,!1);a.oi&=-256;a.gd(32,!1);return a.g.O("TEXTAREA",{"class":rN(this,a).join(" "),disabled:!a.isEnabled()},a.Fd()||"")};h.Un=function(a){return"TEXTAREA"==a.tagName};h.Tx=Qa;h.vD=function(a){return a.isEnabled()};h.ih=Qa;h.bu=function(a,b,c){eU.D.bu.call(this,a,b,c);(a=a.w())&&1==b&&(a.disabled=c)};h.bj=Qa;
2836h.Fc=function(a,b){a&&(a.value=b)};h.ab=function(){return"jb-textarea"};function fU(a,b,c){xN.call(this,a,b||eU.getInstance(),c);yN(this,!1);BN(this);this.Gq=""!=a;a||this.To("")}x(fU,xN);var CGa=!(Jv&&!Wv(11));h=fU.prototype;h.Sq=!1;h.ny=!1;h.Gq=!1;h.Mk=0;h.KE=0;h.fM=!1;h.Yy=!1;h.WF=!1;h.VF=!1;h.kr="";function gU(a){return a.h.top+a.h.bottom+a.u.top+a.u.bottom}function DGa(a){var b=a.KE,c=a.w();b&&c&&a.Yy&&(b-=gU(a));return b}h.setValue=function(a){this.Fc(String(a))};h.getValue=function(){return this.w().value!=this.kr||hU(this)||this.Gq?this.w().value:""};
2837h.Fc=function(a){fU.D.Fc.call(this,a);this.Gq=""!=a;this.resize()};h.W=function(a){fU.D.W.call(this,a);this.w().disabled=!a};h.resize=function(){this.w()&&this.m()};function hU(a){return"placeholder"in a.w()}function EGa(a){a.kr&&(hU(a)?a.w().placeholder=a.kr:!a.w()||a.Gq||a.ny||(gx(a.w(),FGa),a.w().value=a.kr))}
2838h.K=function(){fU.D.K.call(this);var a=this.w();iG(a,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});this.h=IG(a);this.u=wG(a);HH(this).J(a,"scroll",this.m).J(a,"focus",this.m).J(a,"keyup",this.m).J(a,"mouseup",this.Y).J(a,"blur",this.Z);EGa(this);this.resize()};
2839function iU(a){if(!a.fM){var b=a.w().cloneNode(!1);iG(b,{position:"absolute",height:"auto",top:"-9999px",margin:"0",padding:"1px",border:"1px solid #000",overflow:"hidden"});a.g.getDocument().body.appendChild(b);var c=b.scrollHeight;b.style.padding="10px";var d=b.scrollHeight;a.WF=d>c;b.style.borderWidth="10px";a.VF=b.scrollHeight>d;b.style.height="100px";100!=b.offsetHeight&&(a.Yy=!0);Jw(b);a.fM=!0}b=a.w();isNaN(a.h.top)&&(a.h=IG(b),a.u=wG(b));c=a.w().scrollHeight;var e=a.w();d=e.offsetHeight-e.clientHeight;
2840if(!a.WF){var f=a.h;d-=f.top+f.bottom}a.VF||(e=wG(e),d-=e.top+e.bottom);c+=0<d?d:0;a.Yy?c-=gU(a):(a.WF||(d=a.h,c+=d.top+d.bottom),a.VF||(a=wG(b),c+=a.top+a.bottom));return c}function jU(a,b){a.Mk!=b&&(a.Mk=b,a.w().style.height=b+"px")}function GGa(a){var b=a.w();b.style.height="auto";var c=b.value.match(/\n/g)||[];b.rows=c.length+1;a.Mk=0}var FGa="textarea-placeholder-Nh";fU.prototype.Z=function(){hU(this)||(this.ny=!1,""==this.w().value&&(this.Gq=!1,EGa(this)))};
2841fU.prototype.m=function(a){if(!this.Sq){var b=this.w();!hU(this)&&a&&"focus"==a.type&&(b.value==this.kr&&this.kr&&!this.ny&&(ix(b,FGa),b.value=""),this.ny=!0,this.Gq=""!=b.value);var c=!1;this.Sq=!0;a=this.Mk;if(b.scrollHeight){var d=!1,e=!1,f=iU(this),g=b.offsetHeight,k=DGa(this);var l=0;var n=this.w();l&&n&&this.Yy&&(l-=gU(this));k&&f<k?(jU(this,k),d=!0):l&&f>l?(jU(this,l),b.style.overflowY="",e=!0):g!=f?jU(this,f):this.Mk||(this.Mk=f);d||e||!CGa||(c=!0)}else GGa(this);this.Sq=!1;c&&(b=this.w(),
2842this.Sq||(this.Sq=!0,(e=b.scrollHeight)?(f=iU(this),c=DGa(this),c&&f<=c||(d=this.h,b.style.paddingBottom=d.bottom+1+"px",iU(this)==f&&(b.style.paddingBottom=d.bottom+e+"px",b.scrollTop=0,e=iU(this)-e,e>=c?jU(this,e):jU(this,c)),b.style.paddingBottom=d.bottom+"px")):GGa(this),this.Sq=!1));a!=this.Mk&&this.dispatchEvent("resize")}};
2843fU.prototype.Y=function(){var a=this.w(),b=a.offsetHeight;a.filters&&a.filters.length&&(a=a.filters.item("DXImageTransform.Microsoft.DropShadow"))&&(b-=a.offX);b!=this.Mk&&(this.Mk=this.KE=b)};function kU(a,b,c){EH.call(this,c);this.label=a;this.Pb=b;this.h=null}x(kU,EH);h=kU.prototype;h.label="";h.Zo=null;h.Nb=null;h.Kb=!0;h.pP=!0;h.Ra=function(){this.Nb=this.g.O("DIV","jb-kb-lb");this.Zo=this.g.O("DIV","jb-kb-lb vh",this.label);this.j=this.g.O("DIV","jb-kb-lb",this.Nb,this.Zo)};h.K=function(){kU.D.K.call(this);this.h=this.oP();this.h.render(this.Nb);ZAa(this.h,this.Zo);this.W(this.Kb);this.Ga(this.pP);D(this.h,"change",this.zc,void 0,this)};
2844h.$=function(){kU.D.$.call(this);Mx(this.h,"change",this.zc,void 0,this);C(this.h)};h.qa=function(){kU.D.qa.call(this);delete this.label;this.h=this.Nb=this.Zo=null};h.oP=function(){return RP()};h.W=function(a){this.Kb=a;this.h&&this.h.W(a);this.Zo&&(a?this.Zo.classList.remove("vh-th"):this.Zo.classList.add("vh-th"))};h.zc=function(){this.dispatchEvent("change")};h.Pc=function(){return this.h.Pc()};h.Cc=function(){return this.h.Cc()};h.nc=function(a){this.h.nc(a)};
2845h.Ga=function(a){this.pP=a;this.w()&&(a?this.w().style.display="":this.w().style.display="none")};function lU(a,b,c){EH.call(this,c);this.items=a;w(b)&&(this.wG=b)}x(lU,EH);h=lU.prototype;h.wG=!1;h.Ra=function(){var a="jb-kb-lb";this.wG||(a+=" Qd");this.j=this.g.O("DIV",a)};h.K=function(){lU.D.K.call(this);for(var a=0;a<this.items.length;a++){var b=this.items[a],c=this.WM(b.label,b.Oa);void 0!==b.enabled&&c.W(b.enabled);this.Ea(c,!0);void 0!==b.checked&&c.nc(b.checked);this.wG&&(b=B("BR"),c=this.w(),Ew(c,b))}};h.WM=function(a,b){return new kU(a,b)};
2846h.je=function(){for(var a=[],b=OH(this),c=0,d=b.length;c<d;c++)a.push(JH(this,b[c]));return a};h.W=function(a){for(var b=this.je(),c=0,d=b.length;c<d;c++)b[c].W(a)};h.getValue=function(){for(var a=[],b=this.je(),c=0,d=b.length;c<d;c++){var e=b[c];e.Pc()&&a.push(e.Tc())}if(0==a.length)return"";b="";c=0;for(d=a.length;c<d;c++)e=a[c],xc(b)?b=e:b=b+"\n"+e;return b};h.setValue=function(a){a=a.split("\n");for(var b=this.je(),c=0,d=b.length;c<d;c++){var e=b[c],f=e.Tc(),g=YO;w(f)&&Nb(a,f)&&(g=aP);e.nc(g)}};function mU(a,b,c,d,e){EH.call(this,e);this.Y=b;this.Wa=a;this.Ta=c?c:!1;this.Ha=d?d:!1;this.h=null;this.u=this.m=!1;this.Kb=!0;this.Z=this.Ha;this.Ja=!1;this.M=null}x(mU,EH);function HGa(a,b){if(!a||0==a.length)return null;for(var c=new mU,d=0,e=a.length;d<e;d++)c.Ea(a[d],!0);c.render(b);return c}function nU(a,b){var c=new mU;b.Ea(c,!1);c.ue(a)}h=mU.prototype;
2847h.Ra=function(){var a="Lk",b="H";this.Ha&&(a="Kk",b=this.Ta?b+" lk":b+" kk");a=B("SPAN",a,this.Wa);var c="info";w(this.Y)&&(c=this.Y);document.body.append(a);this.l||(b=[B("I",b,c)],this.l=B("SPAN","nk",b));this.h=a;IGa(this);this.j=this.l;(this.u=this.u)?oU(this):pU(this)};h.ib=function(){return this.h};h.Vc=function(a){var b=a.children[1];this.l=a;this.h=b;b.classList.replace("Nk","Lk");b.classList.contains("Vk")&&(this.Ja=!0);IGa(this);document.body.append(b)};
2848h.qa=function(){mU.D.qa.call(this);this.h&&this.h.remove()};h.K=function(){mU.D.K.call(this);this.Kb&&JGa(this);KGa(this)};h.$=function(){mU.D.$.call(this);this.Kb&&LGa(this);this.m=!1};
2849function JGa(a){D(a.l,"mouseenter",a.iz,void 0,a);D(a.l,"mouseleave",a.jz,void 0,a);D(a.h,"mouseenter",a.iz,void 0,a);D(a.h,"mouseleave",a.jz,void 0,a);a.M&&a.M.unobserve(a.l);a.M=new IntersectionObserver(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())a.h.style.display=0<c.value.intersectionRatio?"":"none"},{root:VAa(a.l),threshold:[0,.1]});a.M.observe(a.l)}
2850function LGa(a){Mx(a.l,"mouseenter",a.iz,void 0,a);Mx(a.l,"mouseleave",a.jz,void 0,a);Mx(a.h,"mouseenter",a.iz,void 0,a);Mx(a.h,"mouseleave",a.jz,void 0,a);a.M.unobserve(a.l)}h.W=function(a){this.Uc()&&(!a&&this.Kb&&(LGa(this),this.m=this.u),a&&!this.Kb&&JGa(this));this.Kb=a};function qU(a,b){a.u!=b&&(a.u=b,a.u?oU(a):pU(a))}function KGa(a){var b=UO(a.l),c=UO(a.h);a.h.style.zIndex=Math.max(c,b+1)}function IGa(a){a.h&&(jx(a.h,"Vk",a.Ja),jx(a.h,"Pk",a.Z),jx(a.h,"Ok",!a.Z),KGa(a))}
2851function oU(a){var b=a.l.getBoundingClientRect(),c=b.left+b.width/2,d=jw(),e=c<=d.width/2;a.Z?(a.h.style.bottom=d.height-(b.top-7)+"px",a.h.style.top=""):(a.h.style.top=b.bottom+7+"px",a.h.style.bottom="");b=document.body.getBoundingClientRect();
2851e?(a.h.style.left=c+"px",a.h.style.right=""):(a.h.style.right=b.width-c+"px",a.h.style.left="");jx(a.h,"Tk",e);jx(a.h,"Sk",!e);a.m=!0;requestAnimationFrame(function(){a.m?oU(a):pU(a)})}function pU(a){jx(a.h,"Tk",!1);jx(a.h,"Sk",!1);a.m=!1}
2852h.iz=function(){this.u||oU(this)};h.jz=function(){this.u||(this.m=!1)};function rU(a,b,c){EH.call(this,c);this.m=a}x(rU,EH);h=rU.prototype;
2853h.Ra=function(){this.Xa=this.g.O("INPUT",{"class":"d",autocomplete:"new-street-address"});for(var a=[],b=m(this.m),c=b.next();!c.done;c=b.next())c=c.value,a.push(this.g.O("OPTION",{value:c},"@"+c));a.push(this.g.O("OPTION",void 0,"No district email?"));this.h=this.g.O("SELECT","e",a);this.u=this.g.O("DIV",{"class":"b",style:"padding: 0"},this.Xa,this.h);this.l=this.g.O("DIV",{"class":"ac",style:"display: none; padding: 2px 0; width: 15em; white-space: normal"},"Always use a district/agency email when one exists. ");
2854this.j=this.M=this.g.O("DIV",{style:"padding: 2px 0"},this.u,this.l)};h.K=function(){rU.D.K.call(this);new pK(this.u,this.l,!0);D(this.Xa,"change",this.mP,void 0,this);D(this.h,"change",this.mP,void 0,this)};h.getValue=function(){var a=this.h.options[this.h.selectedIndex].value;if(!a)for(var b=m(this.h.options),c=b.next();!c.done;c=b.next())if(c=c.value,c.value){a=c.value;break}b=this.Xa.value;return b+(b.includes("@")?"":"@"+a)};
2855h.setValue=function(a){var b=a.split("@");if(2!=b.length)this.Xa.value=a,this.h.selectedIndex=2>b.length?0:this.h.options.length-1;else{var c=b[0];b=b[1];for(var d=m(this.h.options),e=d.next();!e.done;e=d.next())if(e=e.value,e.value==b){e.selected=!0;this.Xa.value=c;return}this.Xa.value=a;this.h.selectedIndex=this.h.options.length-1}};h.mP=function(){this.dispatchEvent("action")};function sU(a,b){EH.call(this,b);this.h=a||""}var tU;x(sU,EH);h=sU.prototype;h.vj=null;function uU(){null!=tU||(tU="placeholder"in ow(document,"INPUT"));return tU}h.ig=!1;h.Ra=function(){this.j=this.g.O("INPUT",{type:"text"})};h.Vc=function(a){sU.D.Vc.call(this,a);this.h||(this.h=a.getAttribute("label")||"");ax(bw(a))==a&&(this.ig=!0,a=this.w(),ix(a,"Mh-Nh-Mh"));uU()&&(this.w().placeholder=this.h);a=this.w();qH(a,"label",this.h)};
2856h.K=function(){sU.D.K.call(this);var a=new Px(this);a.J(this.w(),"focus",this.PL);a.J(this.w(),"blur",this.KY);if(uU())this.l=a;else{Mv&&a.J(this.w(),["keypress","keydown","keyup"],this.pZ);var b=bw(this.w());a.J(nw(b),"load",this.TZ);this.l=a;MGa(this)}vU(this);this.w().lc=this};h.$=function(){sU.D.$.call(this);this.l&&(this.l.dispose(),this.l=null);this.w().lc=null};function MGa(a){!a.m&&a.l&&a.w().form&&(a.l.J(a.w().form,"submit",a.rZ),a.m=!0)}
2857h.qa=function(){sU.D.qa.call(this);this.l&&(this.l.dispose(),this.l=null)};h.PL=function(){this.ig=!0;var a=this.w();ix(a,"Mh-Nh-Mh");if(!uU()&&!this.Pk()&&!this.u){var b=this;a=function(){b.w()&&(b.w().value="")};Jv?UG(a,10):a()}};h.KY=function(){uU()||(this.l.kc(this.w(),"click",this.PL),this.vj=null);this.ig=!1;vU(this)};h.pZ=function(a){27==a.keyCode&&("keydown"==a.type?this.vj=this.w().value:"keypress"==a.type?this.w().value=this.vj:"keyup"==a.type&&(this.vj=null),a.preventDefault())};
2858h.rZ=function(){this.Pk()||(this.w().value="",UG(this.aZ,10,this))};h.aZ=function(){this.Pk()||(this.w().value=this.h)};h.TZ=function(){vU(this)};h.hasFocus=function(){return this.ig};h.Pk=function(){return!!this.w()&&""!=this.w().value&&this.w().value!=this.h};h.clear=function(){this.w().value="";null!=this.vj&&(this.vj="")};h.reset=function(){this.Pk()&&(this.clear(),vU(this))};h.setValue=function(a){null!=this.vj&&(this.vj=a);this.w().value=a;vU(this)};
2859h.getValue=function(){return null!=this.vj?this.vj:this.Pk()?this.w().value:""};function vU(a){var b=a.w();uU()?a.w().placeholder!=a.h&&(a.w().placeholder=a.h):MGa(a);qH(b,"label",a.h);a.Pk()?(b=a.w(),ix(b,"Mh-Nh-Mh")):(a.u||a.ig||(b=a.w(),gx(b,"Mh-Nh-Mh")),uU()||UG(a.w5,10,a))}h.W=function(a){this.w().disabled=!a;var b=this.w();jx(b,"Mh-Nh-Mh-th",!a)};h.isEnabled=function(){return!this.w().disabled};h.w5=function(){!this.w()||this.Pk()||this.ig||(this.w().value=this.h)};function wU(a,b,c,d){sU.call(this,a,d);w(b)&&b&&(this.password=!0);w(a)&&a&&(this.label=a);w(c)&&c&&(this.nP=!0)}x(wU,sU);h=wU.prototype;h.password=!1;h.nP=!1;h.Ra=function(){var a={"class":"zk"};this.password?(a.type="password",this.nP||(a.autocomplete="new-password")):a.type="text";this.j=this.Xa=this.g.O("input",a)};h.K=function(){wU.D.K.call(this);var a=HH(this);this.Oc=new BP(this.Xa);a.J(this.Oc,"input",this.z6);D(this.Xa,["blur","focus"],this.G2,void 0,this)};h.z6=function(){this.dispatchEvent("action")};
2860function xU(a,b){b&&Object.keys(b).forEach(function(c){a.Xa.setAttribute(c,b[c])})}h.G2=function(a){this.dispatchEvent(a.type)};h.$=function(){C(this.Oc);this.Oc=null;wU.D.$.call(this)};h.qa=function(){wU.D.qa.call(this);this.Xa=null};function yU(a,b,c){kU.call(this,a,b,c)}x(yU,kU);yU.prototype.oP=function(){return OBa()};function zU(a,b,c){lU.call(this,a,b,c);this.h=!0}x(zU,lU);h=zU.prototype;h.WM=function(a,b){a=new yU(a,b);D(a,"change",this.vP,void 0,this);return a};h.vP=function(a){a=a.target.rb();for(var b=this.je(),c=0,d=b.length;c<d;c++){var e=b[c];e.rb()!=a?e.nc(!1):this.h||e.nc(!0)}};h.getValue=function(){for(var a="",b=this.je(),c=0,d=b.length;c<d;c++){var e=b[c];if(e.Pc()){a=e.Tc();break}}return a};
2861h.setValue=function(a){for(var b=this.je(),c=0,d=b.length;c<d;c++){var e=b[c];w(e.Tc())&&e.Tc()==a?e.nc(aP):e.nc(YO)}};h.qa=function(){zU.D.qa.call(this);for(var a=this.je(),b=0,c=a.length;b<c;b++)Mx(a[b],"change",this.vP,void 0,this)};h.yw=function(a){this.h=a};function AU(a,b){return new lU(a,b,void 0)}function BU(a){return new wU(void 0,!0,a,void 0)}function eAa(){return new mU("Hides the student name and attribute badges next to the form name.")};function NGa(a){this.element=Zw(a,"TABLE");this.g=$v(this.element);CU(this)}
2862function CU(a){var b=a.rows=[],c=dw("TBODY",a.element)[0];if(c){a=[];for(c=c.firstChild;c;c=c.nextSibling)"TR"==c.nodeName&&a.push(c);c=0;for(var d;d=a[c];c++){for(var e=b[c],f=d,g=[],k=0;d=f.childNodes[k];k++)"TD"!=d.nodeName&&"TH"!=d.nodeName||g.push(d);d=g;for(g=f=0;k=d[g];g++){for(;e&&e.columns[f];)f++;k=new OGa(k,c,f);for(var l=0;l<k.rowSpan;l++){var n=c+l,q=b[n];q||b.push(q=new PGa(a[n],n));n=f+k.colSpan;q.columns.length<n&&(q.columns.length=n);for(n=0;n<k.colSpan;n++)q.columns[f+n]=k}f+=k.colSpan}}}}
2863function DU(a,b){b=null!=b?b:a.rows.length;if(0==b){var c=a.rows[0];var d=!1}else c=a.rows[b-1],d=!0;for(var e=bx(a.g,"TR"),f=0,g;g=c.columns[f];f+=1)d&&g.wt>b||!d&&g.Mm<b?(EU(g,g.rowSpan+1),1<g.colSpan&&(f+=g.colSpan-1)):e.appendChild(FU(a)),d?Hw(e,c.element):Gw(e,c.element);CU(a)}
2864function GU(a,b){b=null!=b?b:a.rows[0]&&a.rows[0].columns.length||0;for(var c=[],d=0,e;e=a.rows[d];d++)(e=e.columns[b])&&e.vt>=b&&e.ip<b?(HU(e,e.colSpan+1),d+=e.rowSpan-1):(e=FU(a),e.style.width=QGa+"px",IU(a,e,d,b),c.push(e));CU(a)}function RGa(a,b){for(var c=a.rows[b],d=0,e;e=c.columns[d];d+=e.colSpan)1<e.rowSpan&&(EU(e,e.rowSpan-1),e.Mm==b&&IU(a,e.element,b+1,e.ip));c.element.parentNode.removeChild(c.element);CU(a)}
2865function SGa(a,b){for(var c=0,d;d=a.rows[c];c++)d=d.columns[b],1<d.colSpan?HU(d,d.colSpan-1):d.element.parentNode.removeChild(d.element),c+=d.rowSpan-1;CU(a)}
2866function TGa(a,b,c,d,e){var f=[];if(b!=d||c!=e){for(var g=b;g<=d;g++)for(var k=c;k<=e;k++){var l=a.rows[g].columns[k];if(l.Mm<b||l.wt>d||l.ip<c||l.vt>e)return;f.push(l)}k=f[0];var n=k.element,q=a.g.getDocument();for(g=1;l=f[g];g++)if(l=l.element,l.parentNode&&l!=n){n.lastChild&&3==n.lastChild.nodeType&&n.appendChild(q.createTextNode(" "));for(var t;t=l.firstChild;)n.appendChild(t);l.parentNode.removeChild(l)}HU(k,e-c+1);EU(k,d-b+1);e>c&&(n.removeAttribute("width"),n.style.width=null);CU(a)}}
2867function UGa(a,b,c){for(var d=a.rows[b].columns[c],e=[],f=0;f<d.rowSpan;f++)for(var g=0;g<d.colSpan;g++)if(0<f||0<g){var k=FU(a);IU(a,k,b+f,c+g);e.push(k)}HU(d,1);EU(d,1);CU(a)}function IU(a,b,c,d){a=a.rows[c];for(var e=null,f;f=a.columns[d];d+=f.colSpan)if(f.Mm==c){e=f.element;break}a.element.insertBefore(b,e)}function FU(a){return a.g.O("TD",{},"\u00a0")}function PGa(a,b){this.index=b;this.element=a;this.columns=[]}
2868function OGa(a,b,c){this.element=a;this.colSpan=parseInt(a.colSpan,10)||1;this.rowSpan=parseInt(a.rowSpan,10)||1;this.Mm=b;this.ip=c;JU(this)}function JU(a){a.vt=a.ip+a.colSpan-1;a.wt=a.Mm+a.rowSpan-1}function HU(a,b){b!=a.colSpan&&(1<b?a.element.colSpan=b:(a.element.colSpan=1,a.element.removeAttribute("colSpan")),a.colSpan=b,JU(a))}function EU(a,b){b!=a.rowSpan&&(1<b?a.element.rowSpan=b.toString():(a.element.rowSpan="1",a.element.removeAttribute("rowSpan")),a.rowSpan=b,JU(a))}var QGa=60;
2869function VGa(a,b,c){var d={borderWidth:"1",borderColor:"#888"};for(e in void 0)d[e]=(void 0)[e];a=qw((new aw(a)).g,c,b,!0);b=Math.max(10,Math.min(QGa,600/b));c=dw("TD",a);var e=0;for(var f;f=c[e];e++)f.style.width=b+"px";iG(a,{borderCollapse:"collapse",borderColor:d.borderColor,borderWidth:d.borderWidth+"px"});a.border=d.borderWidth;a.setAttribute("bordercolor",d.borderColor);a.setAttribute("cellspacing","0");return a};function KU(){jT.call(this);this.g=[];this.h=bb(this.T_,this)}x(KU,jT);KU.prototype.eh=function(){return String(Za(this.constructor))};var WGa=ic({qea:"+table",gca:"+insertRowAfter",hca:"+insertRowBefore",eca:"+insertColumnAfter",fca:"+insertColumnBefore",Lda:"+removeRows",Kda:"+removeC
2869olumns",dea:"+splitCell",Pca:"+mergeCells",Mda:"+removeTable"});h=KU.prototype;h.Th=function(a){return a in WGa};
2870h.enable=function(a){KU.D.enable.call(this,a);Mv&&kT(this).getDocument().execCommand("enableObjectResizing",!1,"true")};function XGa(a){var b=ST(a.Ma).Ii();return a.Cx(b)}h.Cx=function(a){a=$w(a,this.h,!0);return $w(a,xT)?a:null};h.queryCommandValue=function(a){if("+table"==a)return!!XGa(this)};
2871h.Ag=function(a,b){var c=null,d=ST(this.Ma);if("+table"==a){if(!aGa(d))return null;b=b||{width:4,height:2};a=kT(this).getDocument();b=VGa(a,b.width,b.height);d.fv(b);Jv||(c=dw("TD",b)[0])}else{var e=new YGa(d,bb(this.Cx,this));b=e.s;if(!b)return null;switch(a){case "+insertRowBefore":DU(b,e.h);break;case "+insertRowAfter":DU(b,e.l+1);break;case "+insertColumnBefore":GU(b,e.g);break;case "+insertColumnAfter":GU(b,e.o+1);break;case "+removeRows":d=e.h;var f=e.l;if(0==d&&f==b.rows.length-1)return this.Ag("+removeTable");
2872a=e.g;f=f-d+1;for(e=0;e<f;e++)RGa(b,d);0<b.rows.length&&(c=b.rows[Math.min(d,b.rows.length-1)].columns[a].element);break;case "+removeColumns":a=e.g;f=e.o;if(0==a&&f==b.rows[0].columns.length-1)return this.Ag("+removeTable");d=e.h;f=f-a+1;for(e=0;e<f;e++)SGa(b,a);if(b=b.rows[d])c=b.columns[Math.min(a,b.columns.length-1)].element;break;case "+mergeCells":ZGa(e)&&TGa(b,e.h,e.g,e.l,e.o);break;case "+splitCell":$Ga(e)&&UGa(b,e.h,e.g);break;case "+removeTable":b.element.parentNode.removeChild(b.element)}}c&&
2873(d=dT(c),d.collapse(!1),d.select());return null};h.T_=function(a){return"TABLE"!=a.tagName?!1:Jb(this.g,function(b){return b(a)})};
2874function YGa(a,b){this.j=[];var c=yS(a);if(b=c&&b(c))if(b=new NGa(b),b.rows.length&&b.rows[0].columns.length){for(var d=0,e;e=b.rows[d];d++)for(var f=0,g;g=e.columns[f];f++){var k=g.element;if(c==k||c.parentNode==k||a.Sn(k,!1))this.j.length?(this.h=Math.min(this.h,g.Mm),this.l=Math.max(this.l,g.wt),this.g=Math.min(this.g,g.ip),this.o=Math.max(this.o,g.vt)):(this.h=g.Mm,this.l=g.wt,this.g=g.ip,this.o=g.vt),this.j.push(g)}this.s=b}}
2875function ZGa(a){if(!a.j.length)return!1;var b=a.j[0],c=a.j[a.j.length-1];return!(a.h<b.Mm||a.l>c.wt||a.g<b.ip||a.o>c.vt)}function $Ga(a){var b=a.j.length;return 0<b&&a.j[0]==a.j[b-1]};function LU(){jT.call(this)}x(LU,jT);LU.prototype.eh=function(){return"SgInsertBreakPlugin"};LU.prototype.Th=function(a){return"+insertBreak"==a};LU.prototype.Ag=function(a){if("+insertBreak"==a){a=kT(this);var b=a.O("pagebreak");YT(b,this.Ma,a)}};LU.prototype.Ok=function(){return!1};function MU(){jT.call(this)}x(MU,jT);MU.prototype.eh=function(){return"SgInsertTabPlugin"};MU.prototype.Th=function(a){return"+insertTab"==a};MU.prototype.Ag=function(a){"+insertTab"==a&&aHa(this)};MU.prototype.Ok=function(a,b,c){return c&&"m"==b?(aHa(this),a.preventDefault(),!0):!1};function aHa(a){var b=kT(a),c=b.O("span",null,"\u00a0\u00a0 \u00a0");YT(c,a.Ma,b)};function NU(){jT.call(this)}x(NU,jT);var bHa=/^(DIV|TR|LI|BLOCKQUOTE|H\d|PRE|XMP)/;function OU(a){a.push("<br>")}h=NU.prototype;h.eh=function(){return"RemoveFormatting"};h.Th=function(a){return"+removeFormat"==a};h.Ag=function(a){"+removeFormat"==a&&cHa(this)};h.Ok=function(a,b,c){return!c||a.metaKey&&a.ctrlKey||a.shiftKey?!1:" "==b?(this.Ma.execCommand("+removeFormat"),!0):!1};
2876function cHa(a){if(!ST(a.Ma).If()){var b=bb(a.Ez,a);dHa(a,b);kT(a).getDocument().execCommand("RemoveFormat",!1,void 0);LFa&&dHa(a,function(c){return c.replace(Vv("528")?/&nbsp;/g:/\u00A0/g," ")})}}function eHa(a,b){for(a=a.Ma.w();b&&b!=a;){if("TABLE"==b.tagName)return b;b=b.parentNode}return null}
2877function dHa(a,b){var c=ST(a.Ma);if(!(1<c.Rn())){if(Mv||Kv){var d=BT(c,a.Ma.w()),e=eHa(a,d.dd()),f=eHa(a,d.ke());if(e||f){if(e==f)return;var g=c;var k=e;c=f;d=new IT(g);var l=g.dd(),n=g.se(),q=g.ke();g=g.Hf();var t=kT(a);if(k){var u=cx(t,"");Hw(u,k);l=u;n=0}c&&(u=cx(t,""),Gw(u,c),q=u,g=0);tS(l,n,q,g).select();k=d;e||(c=Jw(sS(k,!0)),a.h=c);f||(c=Jw(sS(k,!1)),a.g=c);c=ST(a.Ma);d=BT(c,a.Ma.w())}d.select();c=d}l=c;c=kT(a).O("DIV");d=l.Jh();gT?c.appendChild(d.cloneContents()):fT&&(l=l.eg(),l=l.replace(/\r\n/g,
2878"\r"),n=l.length,q=n-l.replace(/[\s\xa0]+$/,"").length,d.moveStart("character",n-Nd(l).length),d.moveEnd("character",-q),l=d.htmlText,"Formatted"==d.queryCommandValue("formatBlock")&&(l=Bc(d.htmlText)),c.innerHTML=l);d=b(c.innerHTML);g=ST(a.Ma);b=kT(a);l=Zd();c=Zd();d='<span id="'+l+'"></span>'+d+'<span id="'+c+'"></span>';q=Zd();n='<span id="'+q+'"></span>';if(fT){t=g.Kh(0).Jh();t.pasteHTML(n);for(var v;(v=t.parentElement())&&vT(v)&&!xT(v);){g=v.nodeName;if("TD"==g||"TR"==g||"TH"==g)break;Jw(v)}t.pasteHTML(d);
2879(q=b.w(q))&&Jw(q)}else if(gT){b.getDocument().execCommand("insertImage",!1,q);g=new RegExp("<[^<]*"+q+"[^>]*>");v=yS(ST(a.Ma));3==v.nodeType&&(v=v.parentNode);for(;!g.test(v.innerHTML);)v=v.parentNode;if(Mv)yT(v,v.innerHTML.replace(g,d.replace(/\$/g,"$$$$")));else{yT(v,v.innerHTML.replace(g,n));for(v=q=b.w(q);(v=q.parentNode)&&vT(v)&&!xT(v);){g=v.nodeName;if("TD"==g||"TR"==g||"TH"==g)break;Hw(q,v);Jw(v)}yT(v,v.innerHTML.replace(new RegExp(n,"i"),d.replace(/\$/g,"$$$$")))}}v=b.w(l);b=b.w(c);tS(v,0,
2880b,b.childNodes.length).select();Jw(v);Jw(b);(Mv||Kv)&&k&&(c=ST(a.Ma),v=a.Ma.w(),a.h&&(v.insertBefore(a.h,v.firstChild),a.h=null),a.g&&(v.appendChild(a.g),a.g=null),b=k,a=null,v=sS(b,!0),b=sS(b,!1),v&&b&&(a=tS(v,0,b,0)),e=e?a:c,a=f?a:c,f=e.dd(),e=e.se(),v=a.ke(),a=a.Hf(),tS(f,e,v,a).select(),k.dispose())}}
2881h.Ez=function(a){var b=ow(document,"DIV");b.innerHTML=a;a=[];b=[b.childNodes,0];for(var c=[],d=0,e=[],f=0,g=0;0<=g;g-=2){for(var k=!1;0<f&&g<=e[f-1];)f--,k=!0;k&&OU(a);for(k=!1;0<d&&g<=c[d-1];)d--,k=!0;k&&OU(a);k=b[g];for(var l=b[g+1];l<k.length;){var n=k[l++],q=n.nodeName,t=this.mD(n);if(null!=t)a.push(t);else{switch(q){case "#text":n=0<d?n.nodeValue:Ld(n.nodeValue);n=Pd(n);a.push(n);continue;case "P":OU(a);OU(a);break;case "BR":OU(a);continue;case "TABLE":OU(a);e[f++]=g;break;case "PRE":case "XMP":c[d++]=
2882g;break;case "STYLE":case "SCRIPT":case "SELECT":continue;case "A":if(n.href&&""!=n.href){a.push("<a href='");a.push(n.href);a.push("'>");a.push(this.Ez(n.innerHTML));a.push("</a>");continue}else break;case "IMG":a.push("<img src='");
2882a.push(n.src);a.push("'");"0"==n.border&&a.push(" border='0'");a.push(">");continue;case "TD":n.previousSibling&&a.push(" ");break;case "TR":n.previousSibling&&OU(a);break;case "DIV":if(t=n.parentNode,t.firstChild==n&&bHa.test(t.tagName))break;default:bHa.test(q)&&OU(a)}n=
2883n.childNodes;0<n.length&&(b[g++]=k,b[g++]=l,k=n,l=0)}}}return a.join("").replace(/\xa0|[ \t]+/g," ")};h.mD=function(){return null};function PU(){jT.call(this)}x(PU,NU);h=PU.prototype;h.eh=function(){return"RemoveAdvFormatting"};h.Th=function(a){return"+removeAdvFormat"==a};h.Ag=function(a){"+removeAdvFormat"==a&&cHa(this)};h.Ok=function(a,b,c){return c?" "==b?(this.Ma.execCommand("+removeAdvFormat"),!0):!1:!1};
2884function fHa(a,b){var c=[];c.push("<"+b.nodeName+("TABLE"==b.nodeName?' border="1" style="border-collapse:collapse;width:100%;border:1px solid #888;"':"")+">");for(var d=!0,e=0,f=b.childNodes.length;e<f;++e){var g=b.childNodes[e];1==g.nodeType?"TABLE"==g.nodeName||"TBODY"==g.nodeName||"TD"==g.nodeName||"TFOOT"==g.nodeName||"TH"==g.nodeName||"THEAD"==g.nodeName||"TR"==g.nodeName?(c.push(fHa(a,g)),d=!1):(g=a.Ez("<"+g.nodeName+">"+g.innerHTML+"</"+g.nodeName+">"),Id(g)||(d=!1),c.push(g)):3==g.nodeType&&
2885(g=a.Ez(g.nodeValue),Id(g)||(d=!1),c.push(g))}"TD"==b.nodeName&&d&&(c=Vb(c,0,1),c.push("&nbsp;"));c.push("</"+b.nodeName+">");return c.join("")}h.mD=function(a){return"TABLE"==a.nodeName?fHa(this,a):"IMG"==a.nodeName?"<BR>":null};var gHa=[{caption:"Arial",value:"arial,helvetica,sans-serif"},{caption:"Arial Black",value:"arial black,sans-serif"},{caption:"Arial Narrow",value:"arial narrow,sans-serif"},{caption:"Comic Sans MS",value:"comic sans ms,cursive,sans-serif"},{caption:"Courier New",value:"courier new,courier,monospace"},{caption:"Garamond",value:"garamond,serif"},{caption:"Georgia",value:"georgia,serif"},{caption:"Noto Sans",value:"Noto Sans, Noto Sans Arabic, Noto Kufi Arabic, Noto Sans Armenian, Noto Sans Bengali, Noto Sans Devanagari, Noto Sans Ethiopic, Noto Sans Georgian, Noto Sans Gujarati, Noto Sans Gurmukhi, Noto Sans Hebrew, Noto Sans JP, Noto Sans Kannada, Noto Sans Khmer, Noto Sans KR, Noto Sans Lao, Noto Sans Malayalam, Noto Sans Myanmar, Noto Sans Oriya, Noto Sans SC, Noto Sans Sinhala, Noto Sans Tamil, Noto Sans TC, Noto Sans Telugu, Noto Sans Thai, sans-serif"},
2886{caption:"Tahoma",value:"tahoma,sans-serif"},{caption:"Times New Roman",value:"times new roman,times,serif"},{caption:"Trebuchet MS",value:"trebuchet ms,helvetica,sans-serif"},{caption:"Verdana",value:"verdana,sans-serif"}],hHa=[["8pt",1],["10pt",2],["12pt",3],["14pt",4],["18pt",5]],iHa=[{label:"Insert Tab",Mb:"+insertTab",Kq:"keyboard_tab"},{label:"Insert Page Break",Mb:"+insertBreak",Kq:"uv-xv"},{label:"Strikethrough",Mb:"+strikeThrough",Kq:"format_strikethrough"},{label:"Superscript",Mb:"+superscript",
2887Kq:"superscript"},{label:"Subscript",Mb:"+subscript",Kq:"subscript"},{label:"Edit HTML",Mb:"editHtml",Kq:"code"}],jHa=[{label:"Insert table",Mb:"+table"},{label:"separator",Mb:"Wd",rc:!0},{label:"Insert row above",Mb:"+insertRowBefore",rc:!0},{label:"Insert row below",Mb:"+insertRowAfter",rc:!0},{label:"Insert column left",Mb:"+insertColumnBefore",rc:!0},{label:"Insert column right",Mb:"+insertColumnAfter",rc:!0},{label:"separator",Mb:"Wd",rc:!0},{label:"Delete table",Mb:"+removeTable",rc:!0},{label:"Delete row",
2888Mb:"+removeRows",rc:!0},{label:"Delete column",Mb:"+removeColumns",rc:!0}],kHa=[{label:"Remove formatting",Mb:"+removeFormat"},{label:"Remove formatting - except tables",Mb:"+removeAdvFormat"}];for(var QU in oS)if(oS[QU].bd="E K S","+foreColor"==QU||"+backColor"==QU)oS[QU].bd="E K S sv";function hM(a,b){if(a=oS[a]){var c=a.Zg||qM;var d=a.Mb,e=a.Lb,f=a.bd,g=$v();c=c(d,e,b,f,void 0,g);a.rc&&(c.rc=!0)}return c}function iM(){var a=qN(IR,"rv");return new JR(a,void 0)}function Zza(){var a=nS("+fontName","Font","Arial","uv-vv",void 0,void 0);kS(a,gHa);gx(a.Sb().ib(),"jb-te-Qp");a.M=function(b){var c=null;b&&0<b.length&&(c=JH(a.Sb(),jS(b)));c!=a.qe()&&sO(a,c)};return a}
2889function $za(){for(var a=nS("+fontSize","Font size","10 pt","uv-wv",void 0,void 0),b=0;b<hHa.length;b++){var c=hHa[b],d=c[0];c=c[1];var e=new DR(d,c,a.g);GH(e,d);a.Jb(e);d=e.ib();d.style.fontSize=(lS[c]||10)+"px";d.firstChild.style.height="1.1em"}gx(a.Sb().ib(),"jb-te-Qp");a.M=function(f){Ma(f)&&"px"==cwa(f)&&(f=Eb(lS,parseInt(f,10)));f=0<f?f:null;f!=a.getValue()&&a.setValue(f)};return a}
2890function xM(a,b,c,d,e,f){if("separator"==b)return c=VP(),a.Jb(c),c;if("Insert table"==b)return f=new FR("Insert table"),b=qN(SN,""),b=new WN(null,void 0,a.g,b),e=qN(AR,"Wi"),e.ih=function(){},e=new CR(e),GH(e,c),b.Ea(e,!0),f.Jb(b),a.Jb(f),b;d=B("div","jb-Pp-Rp",d);if(e){if("uv-xv"==e){var g=B("div","jb-Pp-Hb");gx(g,e)}else g=B("div","jb-Pp-Hb E sgBaseMaterialIconsOutlined K Q"),rw(g,e);b=[d,g,pw(b)]}else b=[d,pw(b)];b=new WN(b,void 0,a.g);GH(b,c);w(f)&&(b.rc=f);a.Jb(b);return b}
2891function RU(a,b){Fb(b,function(c){xM(a,c.label,c.Mb,void 0,c.Kq,c.rc)})}function aAa(){var a=mM("Ud","Additional Formatting","more_horiz","E K S");RU(a,iHa);return a}function bAa(){var a=mM("Yd","Table Menu","table_chart","E K S");RU(a,jHa);return a}function cAa(){var a=mM("+removeAdvFormat","Remove Formatting","format_clear","E K S");RU(a,kHa);return a}var BM=null,AM=null,rM=null,pM=null,vM=null,uM=null,tM=null,sM=null,wM=null,zM=null,yM=null;
2892function SU(a,b,c,d,e,f){a="&docId="+Od(a);null!=b&&(a+="&altFormId="+Od(b));null!=c&&(a+="&sectionNum="+c);null!=d&&(a+="&displaySection="+d);null!=e&&e&&(a+="&includeAttachments=true");null!=f&&(a+="&version="+f);return a}function TU(a,b,c,d,e,f,g){b="#pageName=form_preview"+SU(b,c,d,void 0,e,f);g&&(b+="&async");a=XP(a,b);AM.Sb().Ea(a,!0)}
2893function lHa(a,b){"caseload"==b&&(b="List");b=(a?"Print Deadlines ":"Print ")+(b.charAt(0).toUpperCase()+b.slice(1)+" Page");a=AM.Sb();b=XP(b);D(b,"action",function(){La.print()});a.Ea(b,!0)}
2894function UU(a,b,c,d,e,f,g){if(!eK){TU("Full Document",b,void 0,void 0,void 0,g);w(f)&&0<f&&!cK&&TU("Full Document + PDF Attachments",b,void 0,void 0,!0,g);
2894if(w(c)&&0<c.length&&!cK)for(a=VP(),AM.Sb().Ea(a,!0),a=a.w(),a.className="mq",a.innerText="Viewing",c=m(c),a=c.next();!a.done;a=c.next())a=a.value,TU(a.name&&!/[^0-9]/.test(a.name)?"Section "+a.name:a.name,b,void 0,a.er.toString(),void 0,g);if(w(e)&&w(d)&&0<e.length&&!cK){c=VP();AM.Sb().Ea(c,!0);c=c.w();c.className="mq";c.innerText="Additional Views";
2895c={};a=0;for(f=e.length;a<f;a++)c[e[a]]=d[a];e.sort();Ob(d);a=0;for(f=e.length;a<f;a++){var k=e[a],l=c[k];Pb(d,l);TU(k,b,l,void 0,void 0,g)}}BM.W(!0);AM.W(!0)}}function VU(a,b){lHa(a,b);BM.W(!0);AM.W(!0)}var WU=!1,XU=!1;function mHa(){BM.W(!0);vM.W(!0);uM.W(!0);tM.W(!0)}
2896function YU(){ZU();var a=vM;WU=!1;a&&(a.Ga(!1),a.W(!1),a.nc(!1),a.w().style.color="#333",a.pd("Jump to errors"));nHa(!1);null!==rM&&(rM.W(!1),rM.nc(!1),rM.Ga(!1));XU=!1;null!==wM&&(wM.W(!1),wM.nc(!1),wM.Ga(!1));null!==pM&&(pM.Sb().Fg(!0),pM.W(!1),pM.Ga(!1));a=yM;if(null!==a){a.W(!1);a.Ga(!0);a.Cm();for(var b=0;b<a.Se();b++)a.Gd(b).Cm()}a=zM;null!==a&&(a.W(!1),a.nc(!1),a.Ga(!1),a.Cm());null===BM||BM.W(!1)}function ZU(){null!==AM&&(AM.Sb().Fg(!0),AM.W(!1))}
2897function nHa(a){var b=sM,c=tM,d=uM,e=vM;b&&b.Ga(a);a?(c&&(ix(c.w(),"od"),gx(c.w(),"pd")),d&&(ix(d.w(),"od"),gx(d.w(),"pd")),e&&e.pd("Stop jumping to errors")):(c&&(ix(c.w(),"pd"),gx(c.w(),"od")),d&&(ix(d.w(),"pd"),gx(d.w(),"od")),e&&e.pd("Jump to errors"))};function $U(a,b){Rx.call(this);this.u=a;this.T="DOC";this.j=b;this.L=AK;this.Ka=SP();this.Ka.tc("Request Translation");this.g=this.l=this.s=this.m=this.h=null;a=new aI;hI(a,kI,!1,!0);hI(a,{caption:"Request Translation",key:"translate"}
2897,!0,!1);hI(a,{caption:"Display Form Translation",key:"display_form"},!1,!1);this.Ka.dg=!0;eI(this.Ka,a);iI(a,"translate",!1);iI(a,"display_form",!1);switch(this.u){case "":if(fz(AF,36,!1)||WJ){var c=[];c=c.concat(oHa("This request will be sent to a translator to complete. Future modifications will require a new translation request. "));
2898c=gK?c.concat(pHa(this)):c.concat(qHa(this));c=c.concat(aV(this,!1));b=this.Ka.ib();c=B("DIV","Kv",c);b.appendChild(c)}else c=[],c=c.concat(oHa("This request will be sent to an administrator for approval. Future modifications will require a new translation request. ")),c=c.concat(bV(this,this.pE)),c=c.concat(aV(this,!0)),b=this.Ka.ib(),c=B("DIV","Lv",c),b.appendChild(c);iI(a,"translate",!1);fI(a,"display_form").style.display="none";fI(a,"translate").style.margin="0 0 0 5px";break;default:this.T="FORM";
2899b=this.Ka.ib();c=gK;var d="Send a translation/retranslation request of this form to a translator. The translator will receive an email (since you are sending this as an administrative user, you will not need to approve/deny this request). ";c&&(d="Send a translation/retranslation request of this form to a translator. Since you are sending this as an administrative user, you will not need to approve/deny this request. ");d=B("DIV","Wv",d,B("A",{href:"/iep/g/support/online-guides/user-guide/translation",
2900rel:"noopener noreferrer",target:"_blank"},"Learn more"));b.appendChild(d);b.appendChild(B("BR"));this.Ka.tc("Translate/retranslate form");iI(this.Ka.Yb,"translate",!1);d=[];d=c?d.concat(pHa(this)):d.concat(qHa(this));d=d.concat(aV(this,!1));c=B("DIV","Mv",d);b.appendChild(c);iI(a,"translate",!1);fI(a,"display_form").style.display="none"}D(this.Ka,gI,this.LZ,void 0,this);gx(this.Ka.w(),"Jv");this.Ka.Ga(!0);rM&&rM.nc(!1)}x($U,Rx);
2901var cV=[["af","Afrikaans"],["sq","Albanian"],["am","Amharic"],["ar","Arabic"],["hy","Armenian"],["az","Azerbaijani"],["eu","Basque"],["be","Belarusian"],["bn","Bengali"],["bs","Bosnian"],["bg","Bulgarian"],["ca","Catalan"],["ceb","Cebuano"],["zh-CN","Chinese (Simplified)"],["zh-TW","Chinese (Traditional)"],["co","Corsican"],["hr","Croatian"],["cs","Czech"],["da","Danish"],["fa-AF","Dari"],["nl","Dutch"],["eo","Esperanto"],["et","Estonian"],["fi","Finnish"],["fr","French"],["fy","Frisian"],["gl","Galician"],
2902["ka","Georgian"],["de","German"],["el","Greek"],["gu","Gujarati"],["ht","Haitian Creole"],["ha","Hausa"],["haw","Hawaiian"],["he","Hebrew"],["hi","Hindi"],["hmn","Hmong"],["hu","Hungarian"],["is","Icelandic"],["ig","Igbo"],["id","Indonesian"],["ga","Irish"],["it","Italian"],["ja","Japanese"],["jv","Javanese"],["kn","Kannada"],["kk","Kazakh"],["km","Khmer"],["rw","Kinyarwanda"],["ko","Korean"],["ku","Kurdish"],["ky","Kyrgyz"],["lo","Lao"],["lv","Latvian"],["lt","Lithuanian"],["lb","Luxembourgish"],
2903["mk","Macedonian"],["mg","Malagasy"],["ms","Malay"],["ml","Malayalam"],["mt","Maltese"],["mi","Maori"],["mr","Marathi"],["mn","Mongolian"],["my","Myanmar"],["ne","Nepali"],["no","Norwegian"],["ny","Nyanja (Chichewa)"],["or","Odia (Oriya)"],["ps","Pashto"],["fa","Persian (Farsi)"],["pl","Polish"],["pt","Portuguese (Portugal, Brazil)"],["pa","Punjabi"],["ro","Romanian"],["ru","Russian"],["sm","Samoan"],["gd","Scots Gaelic"],["sr","Serbian"],["st","Sesotho"],["sn","Shona"],["sd","Sindhi"],["si","Sinhala (Sinhalese)"],
2904["sk","Slovak"],["sl","Slovenian"],["so","Somali"],["es","Spanish"],["su","Sundanese"],["sw","Swahili"],["sv","Swedish"],["tl","Tagalog (Filipino)"],["tg","Tajik"],["ta","Tamil"],["tt","Tatar"],["te","Telugu"],["th","Thai"],["tr","Turkish"],["tk","Turkmen"],["uk","Ukrainian"],["ur","Urdu"],["ug","Uyghur"],["uz","Uzbek"],["vi","Vietnamese"],["cy","Welsh"],["xh","Xhosa"],["yi","Yiddish"],["yo","Yoruba"],["zu","Zulu"]];
2905function oHa(a){var b=B("A",{href:"/iep/g/support/online-guides/user-guide/translation",rel:"noopener noreferrer",target:"_blank"},"Learn more"),c=[];c.push(a);c.push(b);return[B("DIV","Wv",c)]}function rHa(a,b){b=B("DIV","Pv","Include note for "+(b?"administrator":"translator")+" (optional):");a.l=B("TEXTAREA","Xv");return[b,a.l]}
2906function bV(a,b){var c=B("DIV","Nv","* Language:"),d=B("OPTION","Yv","Select a language...");d.disabled=!0;d.selected=!0;d.display="none";d.value="";var e=[];e.push(d);for(d=0;d<cV.length;d++){var f=cV[d];e.push(B("OPTION",f[0]+"_",f[1]))}a.s=B("SELECT","Tv",e);D(a.s,"change",b,void 0,a);return[c,a.s]}
2907function sHa(a){a.h=B("DIV","Vv");a.m=B("A",{href:"/iep/g/support/online-guides/user-guide/translation#form-translation-retranslation",rel:"noopener noreferrer",target:"_blank"},"");return[B("DIV","Vv",a.h,a.m)]}function tHa(){var a=B("DIV","Qv","Translation Vendor:"),b=B("DIV","Uv",gK);return[a,b]}function pHa(a){a=bV(a,a.pE);return a=a.concat(tHa())}
2908function qHa(a){var b=B("DIV","Qv","* Translator Email:");a.g=B("INPUT","Uv");D(a.g,"change",a.pH,void 0,a);b=[b,a.g];return b=b.concat(bV(a,a.pE))}
2909function aV(a,b){var c=B("INPUT",{type:"radio",name:"requestType",id:"modified"});var d=B("LABEL",{"for":"modified"},"Modified fields"),e=B("DIV","aw",c,d);d=B("INPUT",{type:"radio",name:"requestType",id:"review"});var f=B("LABEL",{"for":"review"},"All fields"),g=B("DIV","bw",d,f);
2909f=B("DIV",["Ov","Zv"],"* Translate:");e=B("DIV",["Rv","Zv"],e,g);iI(a.Ka.Yb,"translate",!1);D(c,"change",a.IS,void 0,a);D(d,"change",a.IS,void 0,a);a.ea=B("DIV","Sv");c=[f,e,a.ea];c=c.concat(rHa(a,b));return c=c.concat(sHa(a))}
2910function uHa(){switch(!0){case z("modified").checked:break;case z("review").checked:return 1}return 0}h=$U.prototype;h.pH=function(){this.m.innerText="";this.h.innerText="";this.h.style.color="RED";this.g&&(this.g.disabled=!1);if(""!=this.s.value){var a=z("review").checked,b=z("modified").checked;(a||b)&&iI(this.Ka.Yb,"translate",!0)}};
2911h.pE=function(){this.L.ka("bd",this.HS,this);var a=++RQ;dV(this.j,a,"translation_language_event");var b="FORM"==this.T?this.u:this.j.$f,c=this.s.value,d=this.T,e=new lB;EE(e,48);FE(e,a);a=new EC;w(b)&&M(a,1,b);w(c)&&M(a,2,c.toLowerCase());switch(d){case "DOC":SF(a,0);break;case "FORM":SF(a,2);break;case "FORM_DISPLAY":SF(a,3)}T(e,35,a);eN(dN.getInstance(),e);iI(this.Ka.Yb,"translate",!1);z("review").checked=!1;z("modified").checked=!1;this.pH()};
2912h.IS=function(){switch(!0){case z("modified").checked:this.ea.innerHTML="Includes all fields not translated during prior document translations.";break;case z("review").checked:this.ea.innerHTML="Each field previously translated will be displayed with its existing translation.  Each field not previously translated will be machine translated, if enabled. All field translations will be made available for edit/review."}this.pH()};
2913h.LZ=function(a){switch(a.key){case "translate":if(""==this.u)vHa(this,a);else{iI(this.Ka.Yb,"translate",!1);a.preventDefault();a.stopPropagation();var b=++RQ;dV(this.j,b,"translate");this.L.ka("Yc",this.HH,this);var c=void 0;gK||(c=this.g?this.g.value:"");a=this.u;var d=uHa(),e=this.s.value,f=this.l.value,g=new lB;EE(g,39);FE(g,b);b=new EC;M(b,1,a);M(b,11,d);M(b,2,e.toLowerCase());M(b,4,0);f&&M(b,9,f);SF(b,2);c&&M(b,13,c);T(g,35,b);eN(dN.getInstance(),g,!0)}break;case "display_form":this.T="FORM_DISPLAY",
2914vHa(this,a),window.location.reload()}};function vHa(a,b){iI(a.Ka.Yb,"translate",!1);b.preventDefault();b.stopPropagation();var c=++RQ;dV(a.j,c,"translate");a.L.ka("Yc",a.HH,a);b=a.j.$f;var d=uHa(),e=a.s.value,f=a.l.value,g=a.T,k=fz(AF,36,!1)||WJ;a=a.g?a.g.value:"";var l=new lB;EE(l,39);FE(l,c);c=new EC;M(c,1,b);M(c,2,e.toLowerCase());M(c,11,d);M(c,4,0);k&&(M(c,19,k),M(c,13,a));M(c,9,f);switch(g){case "DOC":SF(c,0);break;case "FORM_DISPLAY":SF(c,3)}T(l,35,c);eN(dN.getInstance(),l,!0)}
2915h.HH=function(a){if(eV(this.j,a.Va()?a.Sa():null,"translate")){var b=null!=I(a,38)?QE(a):null;null!=I(a,38)&&b.xb()?(this.h.innerText=b.getError().getError(),"no_fields"==b.getError().getError()&&wHa(this,!0),"no_fields_no_form"==b.getError().getError()&&xHa(this)):(this.Ka.Ga(!1),this.Ka=null,this.dispatchEvent("translation_success"))}else this.L.ka("Yc",this.HH,this)};function fV(){["Ov","Zv"].forEach(function(a){gw(a).forEach(function(b){return b.style.display="none"})})}
2916function xHa(a){yHa(a,"No document content requires translation, and a form translation in this language is not currently saved. A user with administrative permissions must first initiate a form translation in the selected language.","Learn More")}function yHa(a,b,c){fV();iI(a.Ka.Yb,"display_form",!1);fI(a.Ka.Yb,"display_form").style.display="none";a.h.style.color="ORANGERED";a.h.innerText=b;c?(a.m.innerText="Learn More",a.m.style.display=""):a.m.style.display="none";a.g&&(a.g.disabled=!0)}
2917function wHa(a,b){iI(a.Ka.Yb,"display_form",!0);fI(a.Ka.Yb,"display_form").style.display="";b&&(iI(a.Ka.Yb,"translate",!1),a.h.style.color="GREEN",a.h.innerText="No document content requires translation and a form translation is saved. Click \u201cDisplay Form Translation\u201d below.")}
2918h.HS=function(a){if(eV(this.j,a.Va()?a.Sa():null,"translation_language_event"))if(a=null!=I(a,38)?QE(a):null,a.xb())yHa(this,a.getError().getError(),"");else if(a=I(a,1017),0==a.length)xHa(this);else{a.includes(2)?(1==a.length&&fV(),wHa(this,1==a.length)):(iI(this.Ka.Yb,"display_form",!1),fI(this.Ka.Yb,"display_form").style.display="none");gw("Zv").forEach(function(c){return c.style.display="inline"});hw("aw").style.display="none";hw("bw").style.display="none";var b=!0;a.includes(0)&&(hw("aw").style.display=
2919"inline",b=!1);a.includes(1)&&(hw("bw").style.display="inline",b=!1);b&&fV()}else this.L.ka("bd",this.HS,this)};function zHa(a){var b=a.$d,c=a.backgroundColor,d=a.color,e=a.rk,f=a.first,g=a.Au,k=a.cd,l=a.pj,n=a.J5,q=a.Uf;Ta(a.Bu);var t=a.Bu;var u=a.B0;a=a.Vr;b='<div class="'+Z("qd")+'" style="background-color: '+Z(NL(c))+"; color: "+Z(NL(d))+'">'+X(b)+'</div><div class="'+Z("ed")+'" style="display: none; top: unset; height: unset; max-width: 350px; overflow: auto"><div style="padding: 1em; text-align: center; border-bottom: 1px solid #ccc"><div class="'+Z("rd")+'" style="background-color: '+Z(NL(c))+"; color: "+
2920Z(NL(d))+'">'+X(b)+'</div><div class="'+Z("Cd")+'" style="line-height: 1.35em; padding-top: 15px">'+X(f)+" "+X(g)+'</div><div class="'+Z("Cd")+'" style="line-height: 1.35em">'+X(k)+'</div><div class="'+Z("Cd")+'" style="line-height: 1.35em"><b>'+X(e)+'</b></div></div><div class="'+Z("gd")+'">'+(l?"":'<a href="#pageName=account_password" class="'+Z("td")+'">Change password</a>'+(a?'<div id="store_signature" class="'+Z("td")+'">Store signature</div>':"")+'<a href="#pageName=display_option" class="'+
2921Z("td")+'">Display density</a>')+'<hr class="'+Z("wd")+'">';if(!l){l=t.length;for(c=0;c<l;c++)d=t[c],b+='<a href="/iep/switch?domain='+IL(d.domain)+"&user="+IL(d.cd)+'" class="'+Z("td")+'" style="display: flex; align-items: center"><div class="'+Z("qd")+'" style="background-color: '+Z(NL(d.backgroundColor))+"; color: "+Z(NL(d.color))+'">'+X(d.$d)+'</div><div style="padding-left: 1em; overflow: hidden"><div class="'+Z("pc")+'">'+X(d.rk)+'</div><div class="'+Z("Cd")+'" style="font-size: .8em">'+X(d.cd)+
2922"</div></div></a>";b+='<div style="position: relative"><a href="#pageName=linked_account" class="'+Z("td")+'">Add account</a>'+(u?'<a href="#pageName=linked_account_delete" class="'+Z("td")+" "+Z("vd")+" "+Z("E")+'">settings</a>':"")+'</div><hr class="'+Z("wd")+'">'}b+='<a href="/iep/logout" class="'+Z("td")+'" id="sign_out">Sign out</a>'+(n?'<hr class="'+Z("wd")+'"><div class="'+Z("td")+'">SameGoal:'+(0!=q?' <a href="/iep/switchtier?tier=BASIC">Basic</a>':"")+(1!=q?' <a href="/iep/switchtier?tier=STANDARD">Standard</a>':
2923"")+(2!=q?' <a href="/iep/switchtier?tier=PLUS">Plus</a>':"")+(3!=q?' <a href="/iep/switchtier?tier=PRO">Pro</a>':"")+"</div>":"")+"</div></div>";return Y(b)};var AHa=0;var BHa=!!La.navigator.webdriver,CHa=dw("HTML")[0],DHa=dw("BODY")[0],gV=document.getElementById("draft-watermark"),hV=!1;function EHa(a,b){a.style.position="relative";b=B("SPAN",{style:"position: absolute; inset: 0; z-index: -1; background-color: "+b});Iw(a,b,0)}
2924function FHa(a){for(var b=m(a.children),c=b.next();!c.done;c=b.next())c=c.value,(c.id||"").endsWith(".field")?GHa(c):FHa(c);if(b=a.style.backgroundColor)if(a.style.backgroundColor="transparent","TR"!=a.tagName)EHa(a,b);else for(a=m(a.children),c=a.next();!c.done;c=a.next())EHa(c.value,b)}var HHa="white #fff #ffffff #ffffffff rgb(255,255,255) rgba(255,255,255,1) hsl(0,0%,100%) hsla(0,0%,100%,1)".split(" ");
2925function GHa(a){0<=HHa.indexOf(a.style.backgroundColor.toLowerCase().replace(/\s/g,""))&&(a.style.backgroundColor="transparent");a=m(a.children);for(var b=a.next();!b.done;b=a.next())GHa(b.value)}function iV(){return!!BHa&&!nw().e2e};function IHa(a){var b=a.P9,c=a.Q9;a=a.key;return Y('<div class="'+Z("jb-kb-lb")+" "+Z("uk")+'">'+(c?'<div id="cfe_hint_'+Z(a)+'"><span class="'+Z("mb")+'">Disable copy to new document</span>: Determines if the input value will be excluded when <a href="/iep/g/support/online-guides/administrative-guide/field-settings#copy-from-existing-support" target="_blank">copy to new document</a> is used.</div>':"")+(b?'<div id="bank_hint_'+Z(a)+'"><span class="'+Z("mb")+'">District banks only</span>
2925: Determines whether users can enter their own input or if they are restricted to entering <a href="/iep/g/support/online-guides/administrative-guide/district-banks-for-admin" target="_blank">district banks</a>.</div>':
2926"")+'</div><hr class="'+Z("vk")+'">')};function jV(a,b,c,d,e,f){var g=this;this.Z=a;this.u=b;this.m=null===c?[]:c;this.h=JHa(this,this.u,this.m);EO.call(this,a,this.h,f,d);if(e&&0<e.length){var k=this.g;e.forEach(function(l){k.By(l,g.h.ib())})}}x(jV,EO);h=jV.prototype;h.Gc=function(a){jV.D.Gc.call(this,a);if(a){a=this.Sb().w();var b=UO(this.w());a.style.zIndex=Math.max(b,16001)+1}};function KHa(a,b,c){a.h.Fg(!0);a.u=b;a.m=null===c?[]:c;LHa(a.u,a.m,a.h)}
2927function JHa(a,b,c){var d=$P();LHa(b,c,d);D(d,"hide",a.D5,void 0,a);d.render();return d}function LHa(a,b,c){if(0==Object.values(a).flat().length){var d=VP();c.Ea(d,!0)}var e=new Set(b);Object.entries(a).forEach(function(f){var g=m(f);f=g.next().value;g=g.next().value;if(0!=f.length){var k=VP();c.Ea(k,!0);k=k.w();k.className="mq";k.innerText=f}g.forEach(function(l){var n=l;0==l.length&&(n="empty");n=bQ(n,{label:l});c.Ea(n,!0);e.has(l)?yO(n,zO):yO(n,BO)})})}
2928h.D5=function(){this.m=kV(this).filter(function(a){return eQ(a)}).map(function(a){return a.Tc().label});this.dispatchEvent(this.Be())};h.K=function(){jV.D.K.call(this);0==Object.values(this.u).flat().length&&this.W(!1)};h.Be=function(){return"checklistmenubutton.js"+this.Z};h.Cc=function(){return this.m};function MHa(a,b){kV(a).map(function(c){b.includes(c.Zd())?yO(c,zO):yO(c,BO)})}h.mi=function(){return kV(this).map(function(a){return eQ(a)}).reduce(function(a,b){return a&&b},!0)};
2929function kV(a){return OH(a.h).map(function(b){return JH(a.h,b)}).filter(function(b){return b instanceof CO})}function NHa(a){for(var b=OH(a.h).map(function(e){return JH(a.h,e)}),c=0,d=b.length;c<d;c++)if("District banks only"==b[c].Zd())return b[c];return null}h.$=function(){jV.D.$.call(this);this.h&&this.h.dispose()};function lV(a){var b=a.ym;a=a.s;return(null===a?"":mV(a))+(b?"/"+b:"")}function mV(a){var b=a.s;if(b)return b;b=a.g;var c=lV(b);c+=b.Ig()?":"+a.L:"";return a.s=c}function nV(a){for(var b=!0,c="",d=0;d<a.length;++d){var e=a[d];(b=b?":"!=e:"/"==e)&&(c+=e)}return c}function OHa(a,b,c){if(b&&!b(a))return!1;a=m(PHa(a));for(var d=a.next();!d.done;d=a.next()){d=d.value;if(c&&!c(d))return!1;d=m(QHa(d));for(var e=d.next();!e.done;e=d.next())if(!OHa(e.value,b,c))return!1}return!0}var RHa=null;function oV(a,b,c,d,e,f,g,k,l,n,q){EH.call(this,l.l);this.Za=l;this.Ia=null;this.m=a;this.Ha=b;this.Na=this.Ta=this.Z=null;this.Cb=g;this.Wa=!0;this.Vb=!1;this.sb=k;this.Ub=!1;1!=c&&(this.Ub=!0);this.u=null;this.ac=0;null!=n&&(this.ac=n);this.Bb=null;null!=q&&(this.Bb=q);this.yb=this.pc=this.cb=null;this.u=null===d?this.m==pV?1:0:d;null!==e&&(this.eq=e);this.Bv=l.ud;this.HG=f;this.Ja="";this.l=new Map;this.M=[]}x(oV,EH);h=oV.prototype;h.eq=null;h.GG=null;h.KA=null;h.Mv=null;h.HG=!1;h.qf=null;
2930h.Bv=1;h.Ih=new IB;var pV="$d";h=oV.prototype;
2931h.Ra=function(){var a=!1;0!=this.eq||0!=this.u||0!=this.pc||"ce"!=this.m||0!=this.cb&&1!=this.cb||(a=!0);var b={},c=[];null===this.eq||0==this.eq||(b.style="width: "+this.eq+"px;");0==this.u&&c.push("Xe");0==this.u&&this.m==pV?c.push("xc"):0==this.u&&"ce"==this.m&&1==this.pc?c.push("xc"):c.push("yc");b["class"]=c.join(" ");this.Ta=B("SPAN");if(this.Ub){this.Z=B("TD",b);c=0;for(var d=this.Ha.length;c<d;c++)this.Ha[c].render(this.Z);this.Z.appendChild(this.Ta)}else{this.Mv=B("DIV","ad");c=0;for(d=this.Ha.length;c<
2932d;c++)this.Ha[c].render(this.Mv);c=B("TD","ad",this.Mv);this.Z=B("TD",b,c,this.Ta)}1==this.Bv&&(this.hint=HGa(this.Cb,this.Z));b=[];b.push("yc");"ce"==this.m&&2!=this.cb&&0==this.u&&0==this.pc&&(b.push("Ze"),a&&b.push("af"));if("ae"==this.m||"be"==this.m)1==this.u&&b.push("bf"),0==this.Bb&&b.push("gf"),b.push("jb-kb-lb"),(!this.HG||this.HG&&1==this.Bv)&&b.push("cf");if(b!=[]){var e={};e["class"]=b.join(" ")}nw().e2e&&(e["data-e2e"]=this.sb);e=B("DIV",e);c=[];c.push("xc");b=B("TD",c.join(" "),e);this.Na=
2933B("TD",c.join(" ")+" ok");0==this.u?(b=B("TR",void 0,this.Z,b),1==this.Bv&&Ew(b,this.Na),b=B("TBODY",void 0,b)):(c=B("TR",void 0,this.Z),b=B("TR",void 0,b),1==this.Bv&&Ew(b,this.Na),b=1==this.u?B("TBODY",void 0,c,b):B("TBODY",void 0,b,c));b=B("TABLE","df",b);c=["lc"];d=!0;if(a||this.m==pV||0==this.yb)d=!1;"ae"==this.m&&0==this.Bb&&(d=!1,c.push("ff"));d&&(c.push("jb-kb-lb"),c.push("ef"));if(c!=[]){var f={};f["class"]=c.join(" ")}a=B("DIV",f,b);this.GG=e;this.j=a;qV(this,this.Wa);if(0<this.l.size&&
2934this.Ta&&0!=this.l.size&&(a=[],0!=this.l.get("useCfe")&&a.push("Disable copy to new document"),1==this.l.get("useBank")&&a.push("District banks only"),0!=a.length)){gx(this.Ta,"tk");fz(this.Ih,3,!1)&&this.M.push("District banks only");fz(this.Ih,4,!1)&&this.M.push("Disable copy to new document");e=this.Ja.replace(/\//g,"");f=B("DIV",{id:"field_"+e,"class":"E K"});this.Ta.appendChild(f);e=by(IHa,{Q9:0!=this.l.get("useCfe"),P9:1==this.l.get("useBank"),key:e});this.qf=new jV("settings",{"":a},this.M,
2935"Nl",[e]);this.qf.render(f);wla(f.querySelector(".Nl-Hl"),"Nl-Hl","Q");if(a=this.qf.h.w().querySelector(".Zk-al"))a.style.display="none";this.qf.W(!0);D(this.qf,this.qf.Be(),this.ZK,void 0,this);D(this.qf,"show",this.I9,void 0,this)}};h.qa=function(){oV.D.qa.call(this);this.Ia=null;delete this.m;for(var a=0;a<this.Ha.length;a++)C(this.Ha[a]);C(this.hint);this.KA=this.qf=this.Cl=this.GG=this.eq=this.yb=this.pc=this.cb=this.u=this.Ha=null;delete this.ac};h.ib=function(){return this.GG};
2936h.K=function(){oV.D.K.call(this);this.l&&1==this.l.get("useBank")&&(zK(AK,"N",this.FD,this),this.Ia.getKey().includes(":")&&this.FD())};h.$=function(){oV.D.$.call(this);null===this.qf||C(this.qf);this.l&&1==this.l.get("useBank")&&AK.unsubscribe("N",this.FD)};
2937h.FD=function(){if(this.Ia){var a=null;switch(this.m){case pV:var b=this.Ia.j;b&&(a=b.vc);break;case "ae":if(b=this.Ia.Qa)a=b.Rc}if(a&&this.qf){b=!1;a=a.Ix();if(0<a[0].length||0<a[1].length||0<a[2].size)b=!0;var c=NHa(this.qf);a=document.querySelectorAll("[id='bank_hint_"+this.Ja.replace(/\//g,"")+"']");this.qf.W(!0);if(!b&&null!=c)if(0==this.l.get("useCfe"))this.qf.W(!1);else for(b=[],fz(this.Ih,4,!1)&&b.push("Disable copy to new document"),KHa(this.qf,{"":["Disable copy to new document"]},b),fz(this.Ih,
29383,!1)&&this.ZK(),a=m(a),b=a.next();!b.done;b=a.next())gx(b.value,"U");else if(b&&null==c)for(b=[],0!=this.l.get("useCfe")&&b.push("Disable copy to new document"),b.push("District banks only"),KHa(this.qf,{"":b},this.M),a=m(a),b=a.next();!b.done;b=a.next())ix(b.value,"U")}}};function rV(a,b){a.l=b;2>zF()&&a.l.set("useCfe",!1)}
2939h.ZK=function(){var a=this.qf.Cc().sort();this.M=this.M.sort();if(JSON.stringify(this.M)!=JSON.stringify(a)){var b=a.includes("District banks only");M(this.Ih,3,b);b=a.includes("Disable copy to new document");M(this.Ih,4,b);this.M=a;var c=++RQ;a=sV(this.Za);b=this.Ih;var d=new lB;EE(d,85);FE(d,c);GE(d,2);c=new DB;M(c,1,a);lz(d,11,[c]);w(b)&&T(d,55,b);eN(dN.getInstance(),d);this.Za.Ja.set("fieldoptions:"+this.Ja,this.Ih)}};
2940h.I9=function(){this.Ih=tV(this.Za,this.Ja);var a=[];fz(this.Ih,3,!1)&&a.push("District banks only");fz(this.Ih,4,!1)&&a.push("Disable copy to new document");MHa(this.qf,a);this.M=a};
2941function uV(a,b,c,d){if(null===a.KA){var e=function(f,g){return g&&g.trim()?(f=B("SPAN","sgBaseShowDebugMsgBold"," "+f+" "),g=B("SPAN","ac"," "+g+" "),B("TR",null,B("TD","ec",f),B("TD","ec",g))):null};null===a.Mv||wla(a.Mv,"ad","ac");b=e("Key",b);c=e("ID",c);d=e("Values",d);a.KA=B("TABLE","dc",b,c,d);a.Z.appendChild(a.KA);a.Ui(!1)}}function vV(a,b){a.Ia=b;a.Ja=nV(a.Ia.getKey());""!=a.Ja&&(a.Ih=tV(a.Za,a.Ja))}h.XA=function(){return!0};h.Kn=function(){return this.m};
2942function qV(a,b){a.Wa=b;null!=a.w()&&(b&&!a.Vb?a.w().style.display="":a.w().style.display="none")}h.Tb=function(){return this.Wa};h.Ui=function(a){this.Vb=a;qV(this,this.Wa)};function SHa(a){if(!a||a.nodeType!=Node.ELEMENT_NODE)return!1;a=mG(a,"overflowY");return"auto"==a||"scroll"==a}function THa(a){var b=(Date.now()-a.startTime)/600;b=a.Nm+.5*(a.y-a.Nm)*(1-Math.cos(Math.PI*(1<b?1:b)));a.S5.scrollTop=b;3<Math.abs(b-a.y)&&window.requestAnimationFrame(THa.bind(window,a))}
2943function wV(a,b){b=void 0===b?{}:b;b.behavior||(b.behavior="auto");b.block||(b.block="start");for(var c=Date.now(),d=$w(a,SHa),e=d.scrollTop,f=d.offsetParent,g=0;a!=f;)g+=a.offsetTop,a=a.offsetParent;a=g-d.offsetTop;"center"==b.block&&(a-=d.clientHeight/2);"smooth"==b.behavior?THa({S5:d,startTime:c,Nm:e,y:a}):d.scrollTop=a};var UHa="244,67,54 233,30,99 156,39,176 103,58,183 63,81,181 33,150,243 3,169,244 0,188,212 0,150,136 76,175,80 139,195,74 205,220,57 255,235,59 255,193,7 255,152,0 255,87,34 121,85,72 158,158,158 96,125,139".split(" "),VHa="#fff #fff #fff #fff #fff #fff #000 #000 #fff #000 #000 #000 #000 #000 #000 #fff #fff #000 #fff".split(" ");
2944function xV(a){for(var b=a.dc(),c=yc(a.Fb()),d=yc(a.Hb()),e,f=e=0;f<b.length;f++)e+=b.charCodeAt(f);e%=VHa.length;return{lf:b,vk:VHa[e],Ed:"rgb("+UHa[e]+")",name:yc(c+" "+d)||"Unknown",$d:0<c.length?c[0].toUpperCase():"?",FJ:fz(a,30,!1)}};function yV(a,b,c){ux.call(this);w(c)&&(this.ea=c);this.Qa=a;this.Lc=b;this.g=zV;this.u=[];this.L=AK;this.l=null;this.Z=this.s=!1;this.Ua=null;this.Ia=!1;this.h=this.T=this.M=this.m=null;this.Gb=""}x(yV,ux);var zV="de";h=yV.prototype;h.Qy=null;h.qa=function(){VG(this.l);this.l=null;this.cv();this.s&&(this.s=!1,this.L.ba("u",this.getKey()));C(this.h);this.Lc=this.Qa=null;yV.D.qa.call(this)};h.DM=function(){return this.Qa&&void 0!=this.Qa.ho&&"function"==typeof this.Qa.ho&&this.Qa.ho()};h.rm=function(){return!1};
2945h.getState=function(){return this.g};h.getKey=function(){return null!=this.ea?mV(this.ea):""};h.tG=function(){var a=this.getKey(),b=null!=this.ea?this.ea.g.m:"";null===this.Lc||uV(this.Lc,a,b,null)};h.aP=function(a){this.Qa.W(a)};h.W=function(a){this.Z&&a||this.aP(a)};h.cn=function(){D(this.Qa,"change",this.zc,void 0,this);D(this.Qa,"focus",this.focus,void 0,this);D(this.Qa,"blur",this.blur,void 0,this)};
2946h.cv=function(){Mx(this.Qa,"change",this.zc,void 0,this);Mx(this.Qa,"focus",this.focus,void 0,this);Mx(this.Qa,"blur",this.blur,void 0,this)};h.Er=function(){return 0==Xd(this.getValue()).length};h.zM=function(a){this.setValue(a)};
2947h.setValue=function(a,b,c){if(null!==a){this.Ia=!0;try{this.Qa.setValue(a,c)}catch(q){var d={"context.url":window.location.href,"context.user_agent":Mc||"unknown","context.css_version":$J,"context.js_version":aK,"context.msg":"SavedInput#setValue exception: "+this.getKey(),trace:q.stack?q.stack:"Not provided"};a=[];for(var e=m(Object.entries(d)),f=e.next();!f.done;f=e.next()){var g=m(f.value),k=g.next().value,l=g.next().value;a.push(encodeURIComponent(k)+"="+encodeURIComponent(l))}var n=a.join("&");
2948navigator.sendBeacon&&navigator.sendBeacon("/iep/jserror",n)}finally{this.Ia=!1}}};h.getValue=function(){return this.Qa.getValue()};h.xL=function(){return this.getValue()};h.focus=function(a){this.s||(this.Ua=this.getValue(),this.s=!0,this.L.ba("t",this.getKey()),this.DM()&&this.L.ba("y",this.getKey()),a.stopPropagation(),AV(this))};h.blur=function(a){this.s&&(this.getValue()!=this.Ua&&this.zc(),this.s=!1,this.L.ba("u",this.getKey()),a.stopPropagation(),VG(this.l),this.l=null)};
2949function WHa(a){switch(a.g){case zV:a.g="ee";a.W(!1);break;default:BV()}}h.send=function(){switch(this.g){case "ee":this.g="fe";break;case "ge":break;case "he":this.g="ie";break;default:BV()}};function CV(a){switch(a.g){case "fe":case "ie":a.g="ge";break;case "ge":case "he":break;default:BV()}}function XHa(a){var b=!1;switch(a.g){case "ge":a.g="he";b=!0;break;case "ie":a.g="he";b=!0;break;case "he":break;default:BV()}b&&a.L.ba("o",a.getKey())}h.GR=function(){return this.s};
2950h.zc=function(){if(!this.Ia){this.Lc&&"ce"==this.Lc.Kn()&&this.L.ba("Oa");XHa(this);if(null!=this.Qa){var a=w(this.Qa.hasFocus);a||CK.g(Error("input does not have focus. input: "+this.Qa+", typeof input: "+typeof this.Qa));a&&this.Qa.hasFocus()&&AV(this)}this.GR()||this.L.ba("n")}};function BV(){throw Error("internal error in saved input");}
2951function YHa(a,b,c,d){a.s&&(a.s=!1,VG(a.l),a.l=null,a.Lc&&a.Lc.w()&&a.Lc.w().blur(),a.L.ba("w"),a.Lc.Kn()==pV&&a.Lc.Ia.j.nu());a.Z=b;d&&a.W(!b);
2951b?(b=xV(c),c=B("DIV",{style:"background: "+b.Ed,"class":"Tn"},b.name),a.Qy=B("DIV",{style:"background: "+b.Ed.replace("rgb(","rgba(").replace(")",", .4)")+"; color: "+b.vk,"class":"Sn"},c),a.Lc.w().appendChild(a.Qy)):(Jw(a.Qy),a.Qy=null)}h.b_=function(){this.Qa.blur();this.l=null};
2952h.outline=function(){var a=this.Lc.w();Jw(this.m);this.m=null;this.m=B("DIV","ek");Iw(a,this.m,0);wV(a,{behavior:"smooth",block:"center"})};function DV(a){var b=a.Lc.w();Jw(a.T);a.T=null;var c=B("DIV","gk"),d=B("DIV","ik"),e=B("DIV","hk"),f=B("DIV","jk");a.T=B("DIV",void 0,[c,d,e,f]);Iw(b,a.T,0);wV(b,{behavior:"smooth",block:"center"})}function AV(a){VG(a.l);a.l=UG(a.b_,3E5,a)}h.PJ=function(){AV(this)};function EV(a){yV.call(this,null,null,void 0);this.cD=a;this.va=0}x(EV,yV);h=EV.prototype;h.cD="";h.$G="";h.ED="";h.Uv="";h.pG=null;h.$B=!1;h.Xd="";h.sG="";h.aC="";h.qG=!1;h.jP=!1;h.ln=!1;h.rG=null;h.rm=function(){return!0};h.getKey=function(){return this.cD};h.tG=function(){};function ZHa(a,b){a.Qa=b;$Ha(a)}h.Xo=function(a){this.va=a};h.Cj=function(){return this.va};h.Ui=function(a){this.qG=a;null===this.Qa||this.Qa.Ui(a)};h.Jn=function(){return this.qG};
2953h.Vi=function(a){this.$G=a;null===this.Qa||this.Qa.Vi(a)};h.Dg=function(){return this.$G};h.Fm=function(a){this.ED=a;null===this.Qa||this.Qa.Fm(a)};h.Aj=function(){return this.ED};h.ul=function(a){this.Uv=a;null===this.Qa||this.Qa.ul(a)};h.Eg=function(){return this.Uv};h.xr=function(a){this.pG=a;null===this.Qa||this.Qa.xr(a)};h.In=function(){return this.pG};h.Em=function(a){this.$B=a;null===this.Qa||this.Qa.Em(a)};h.xj=function(){return this.$B};
2954h.setValue=function(a){null!==a&&(this.Xd=a);null===this.Qa||null===a||this.ln||this.Qa.setValue(a)};h.getValue=function(){return this.Xd};h.Dk=function(){return this.sG};h.zr=function(a){this.sG=a;null===this.Qa||this.Qa.zr(a)};h.uc=function(){return this.jP};h.AN=function(){this.jP=!0};h.W=function(a){null===this.Qa||this.Qa.W(a)};h.cn=function(){null!==this.Qa&&(D(this.Qa,"change",this.zc,void 0,this),D(this.Qa,"delete",this.AN,void 0,this))};
2955h.cv=function(){null!==this.Qa&&(Mx(this.Qa,"change",this.zc,void 0,this),Mx(this.Qa,"delete",this.AN,void 0,this))};function $Ha(a){a.rG&&a.rG.AG();a.Qa&&!a.ln&&(a.Qa.setValue(a.getValue()),a.Qa.zr(a.Dk()),a.Qa.Xo(a.Cj()),a.Qa.Vi(a.Dg()),a.Qa.ul(a.Eg()),a.Qa.xr(a.In()),a.Qa.Em(a.xj()))}h.GR=function(){return!0};
2956h.zc=function(){null!==this.Qa&&(this.Xd=this.Qa.getValue(),this.ED=this.Qa.Aj(),this.Uv=this.Qa.Eg(),this.pG=this.Qa.In(),this.$G=this.Qa.Dg(),this.$B=this.Qa.xj(),this.qG=this.Qa.Jn(),this.sG=this.Qa.Dk());EV.D.zc.call(this)};var aIa={0:"solid",1:"dashed"},bIa={0:"0px",1:"1px",2:"3px",3:"5px"},FV={1:"#000",2:"#d2d3d2;",3:"#fff",4:"#dae4eb",5:"#f00",0:""},GV={0:"font-family: arial,helvetica,sans-serif;",9:"font-family: times new roman,times,serif;",1:"font-family: arial black,sans-serif;",2:"font-family: arial narrow,sans-serif;",3:"font-family: comic sans ms,cursive,sans-serif;",4:"font-family: courier new,courier,monospace;",5:"font-family: garamond,serif;",6:"font-family: georgia,serif;",7:"font-family: Noto Sans, Noto Sans Arabic, Noto Kufi Arabic, Noto Sans Armenian, Noto Sans Bengali, Noto Sans Devanagari, Noto Sans Ethiopic, Noto Sans Georgian, Noto Sans Gujarati, Noto Sans Gurmukhi, Noto Sans Hebrew, Noto Sans JP, Noto Sans Kannada, Noto Sans Khmer, Noto Sans KR, Noto Sans Lao, Noto Sans Malayalam, Noto Sans Myanmar, Noto Sans Oriya, Noto Sans SC, Noto Sans Sinhala, Noto Sans Tamil, Noto Sans TC, Noto Sans Telugu, Noto Sans Thai, sans-serif;",
29578:"font-family: tahoma,sans-serif;",10:"font-family: trebuchet ms,helvetica,sans-serif;",11:"font-family: verdana,sans-serif;"},cIa={0:"font-size: 1em;",1:"font-size: 0.6em;",2:"font-size: 0.8em;",3:"font-size: 1.2em;",4:"font-size: 1.4em;"},dIa={0:"text-align: left;",1:"text-align: center;",2:"text-align: right;"},eIa={0:"",1:"",2:"sc",3:"tc",4:"uc",5:"vc"},fIa={0:"0px",1:"1px",2:"20px",3:"40px",4:"60px"},HV={1:"Pb"},gIa={0:"vertical-align: top;",1:"vertical-align: middle;",2:"vertical-align: bottom;"},
2958hIa={1:"hf",2:"if",0:"jf",3:"kf",4:"lf",5:"mf"},iIa={1:"nf",2:"of",0:"pf",3:"qf",4:"rf"};function IV(){jT.call(this)}x(IV,jT);IV.prototype.eh=function(){return"insertBankValuePlugin"};IV.prototype.Th=function(a){return"insertBankValue"==a};IV.prototype.Ag=function(a,b){var c=this;a=this.Ma;a.Zl();a.focus();b=b.cloneNode(!0);var d=[];"function"===typeof b.querySelectorAll&&(d=b.querySelectorAll("img"));b.tagName&&"IMG"==b.tagName.toUpperCase()&&(d=[b]);jIa(ST(a),b);d.forEach(function(e){dU(c.Ma);ZT(e,c.Ma.maxWidth,c.Ma.XM)});a.nj();oT(a)};function JV(a,b,c,d){yV.call(this,null,c,d);this.va=a;this.j=b}x(JV,yV);h=JV.prototype;h.aP=function(a){null===this.Qa&&(this.Qa=this.j.Zb,this.Qa||(this.j.K(),this.Qa=this.j.Zb));a&&2!=this.Qa.mh?tGa(this.Qa):!a&&2==this.Qa.mh&&vGa(this.Qa)};h.cn=function(){D(this.Qa,LT,this.zc,void 0,this);D(this.Qa,"focus",this.focus,void 0,this);D(this.Qa,"blur",this.blur,void 0,this)};
2959h.cv=function(){Mx(this.Qa,LT,this.zc,void 0,this);Mx(this.Qa,"focus",this.focus,void 0,this);Mx(this.Qa,"blur",this.blur,void 0,this)};
2960h.setValue=function(a,b,c){if(null!=c&&null!==a)b=B("DIV",{style:GV[7]+" \n    border: 1px solid rgb(0, 0, 0);
2960\n    margin-top: -1px;"}),OO[c]?(b.classList.add("cw"),b.style.marginRight="9px",b.style.paddingRight="5px"):(b.style.marginLeft="9px",b.style.paddingLeft="5px"),b.innerHTML=a,Dw(this.j.ib(),b);else{if(null!==a){c=Dd(a);WT(this.Qa,c,!0,!1);c=this.Qa.w()||this.Qa.Mf;var d=this.va;c=m(dw("IMG",c));for(b=c.next();!b.done;b=c.next())b=b.value,b.src&&(d.Wa++,b.onload=function(){KV(d)},b.onerror=
2961function(){KV(d)})}""!=a.trim()&&qV(this.Lc,!0)}};h.zM=function(a){null!==a&&(a=Dd(a),a=sw(document,a),this.Qa.execCommand("insertBankValue",a))};h.getValue=function(){return VT(this.Qa)};h.xL=function(){var a=this.Qa.Mf.innerText;""==a.trim()&&this.getValue().includes("<img")&&(a="<img>");return a};h.Er=function(){var a=Dd(this.getValue());a=sw(document,a);var b=Ww(a);return 0==Xd(b).length?a?!a.hasChildNodes():!0:!1};
2962h.DM=function(){return this.j&&void 0!=this.j.ho&&"function"==typeof this.j.ho&&this.j.ho()};var LV=0;function MV(){var a=db();return a<=LV?(LV++,LV):LV=a};function NV(a,b){ux.call(this);this.Ua=w(b)?!0:!1;this.g=a;this.Z=[];this.T=[];this.l=[];this.h=[];this.j=[];this.u=[];this.va=[];this.m=[];this.s=new Map;this.ea=new Map;this.M=new Map;this.L=AK;this.Ia=new Map}x(NV,ux);h=NV.prototype;h.eN=!1;h.$D=!1;h.Sz=!1;h.aG=!1;h.cC=!1;h.Kw=null;h.iC=null;
2963h.qa=function(){NV.D.qa.call(this);0!=this.m.length&&kIa(this);for(var a=0;a<this.T.length;a++){var b=this.T[a];Mx(b,"copy_click",this.DP,void 0,this);C(b)}this.L.unsubscribe("o",this.JO,this);this.m=this.va=this.u=this.j=this.h=this.l=this.T=this.Z=this.g=null;C(this.s);C(this.ea);a=m(this.M.values());for(b=a.next();!b.done;b=a.next())C(b.value);C(this.M);this.L=null};h.DP=function(a){this.o||(this.h.push(a.target),OV(this))};
2964h.register=function(a){if(!this.o&&!this.Ua){if(!xc(a.cE)){var b=a.cE;if(Nb(this.Z,b)){PV(this);return}this.Z.push(b)}if(2==a.m){b=a.u;for(var c=0;c<b.length;c++){var d=b[c];if(QV(this.g,d.zx)==sV(this.g)){var e=this.Ia.get(d.from)||[];e.push(a);this.Ia.set(d.from,e)}}}this.l.push(a);0<a.m?this.h.push(a):(this.T.push(a),D(a,"copy_click",this.DP,void 0,this));OV(this)}};function lIa(a,b){if(!(a.o||b&&!a.$D||b&&!a.g.isEnabled()))for(var c=0;c<a.l.length;++c)a.l[c].W(b)}
2965h.start=function(){this.o||(zK(this.L,"o",this.JO,this),this.eN=!0,OV(this))};
2966function OV(a){if(!a.o&&!a.Ua&&a.eN&&!a.cC){if(0!=a.j.length)throw Error("#runBatch_: should not have components in running batch");if(0==a.h.length)a.$D?PV(a):(a.$D=!0,AK.ba("p")),lIa(a,!0);else{a.cC=!0;for(var b=[],c=["INSTANCE_FORM","USER_FORM","OBJECT_FORM"],d=0;d<a.h.length;d++){var e=a.h[d];a.j.push(e);e=e.u;for(var f=0;f<e.length;f++){var g=QV(a.g,e[f].zx),k=a.s.get(g);w(k)||xc(g)||g==sV(a.g)||Nb(b,g)||Nb(c,g)||b.push(g)}}a.h=[];if(0==b.length||RV(a.g))mIa(a);else if(!a.o){a.Sz=!0;zK(a.L,"Z",
2967a.cO,a);c=a.g.Rd();for(d=0;d<b.length;d++){e=b[d];f=++RQ;a.u.push(f);var l;WJ||(l=OJ);g=!1;w(void 0)&&(g=void 0);e=lCa(!0,void 0,c,l,e,void 0,g,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0);BQ(f,4,e)}a.Sz=!1}}}}h.cO=function(a){if(!this.o&&Qb(this.u,a.Va()?a.Sa():null)){NE(a);var b=0;for(a=NE(a);b<a.length;++b){var c=a[b];if(!fz(c,7,!1)&&tF(c)){var d=sF(c),e=this.s.get(d);w(e)||this.s.set(d,rF(c))}}0!=this.u.length||this.Sz||(this.L.unsubscribe("Z",this.cO,this),mIa(this))}};
2968function mIa(a){if(!a.o){a.aG=!0;for(var b=!1,c=[],d=0;d<a.j.length;d++)for(var e=a.j[d].u,f=0;f<e.length;f++){var g=e[f],k=QV(a.g,g.zx);g=g.from;if(!nIa(a,k,g)&&!w(a.ea.get(k))&&!Nb(c,k)&&"$"!=g[0]){if("INSTANCE_FORM"==k)g=0;else{if("USER_FORM"==k)throw Error("user form not supported");if("OBJECT_FORM"==k){g=2;var l=a.g.Rd()}else if(g=3,xc(k)&&(k=sV(a.g)),RV(a.g)||k==sV(a.g))l=a.g.j,a.s.set(k,l);else if(l=a.s.get(k),!w(l))continue}b||(zK(a.L,"N",a.XL,a),b=!0);var n=++RQ;a.va.push(n);IQ(n,!0,!0,l,
2969g,0);c.push(k);w(l)||(l=null);a.m.push([n,l,g])}}a.aG=!1;0==a.m.length&&SV(a)}}function kIa(a){if(!a.o){a.L.unsubscribe("N",a.XL,a);for(var b=0;b<a.m.length;b++){var c=a.m[b],d=c[0],e=c[1];c=c[2];null===e&&(e=void 0);
2969IQ(d,!1,!0,e,c,0)}a.m=[]}}
2970h.XL=function(a){if(!this.o&&Qb(this.va,a.Va()?a.Sa():null)){LE(a);var b=0;for(a=LE(a);b<a.length;++b){var c=a[b];if(null==I(c,1002)){var d=null!=I(c,5)?L(c,5,""):null,e=null!=I(c,6)?L(c,6,0):null;if(0==e)var f="INSTANCE_FORM";else if(2==e)f="OBJECT_FORM";else if(3==e){e=m(this.s.keys());for(var g=e.next();!g.done;g=e.next()){g=g.value;var k=this.s.get(g);if(d==k){f=g;break}}if(!w(f))throw Error("missing form id for doc id");}d=this.ea.get(f);w(d)||(d=[],this.ea.set(f,d));d.push(c)}}SV(this)}};
2971h.JO=function(a){!this.o&&this.Ia.has(a)&&(this.h.push.apply(this.h,ka(this.Ia.get(a))),OV(this))};function SV(a){if(!a.o&&a.g.$k&&!a.Sz&&0==a.u.length&&!a.aG&&0==a.va.length){kIa(a);for(var b=0;b<a.j.length;++b){var c=a.j[b];if(4!=c.m){var d=c.u,e=a.g.Y;e=e?tF(e):!1;(1!=c.m||oIa(a.g,d)&&(!e||RV(a.g))||c.Cu)&&pIa(c)}}a.j=[];a.cC=!1;OV(a)}}
2972function PV(a){if(!a.o&&null!==a.Kw&&0==a.j.length&&0==a.h.length){for(var b=0;b<a.l.length;b++){var c=a.l[b];c.kb()==a.iC&&4==c.m&&pIa(c,a.Kw)}a.o||(a.Kw=null,a.iC=null)}}function nIa(a,b,c){if(!xc(b)&&sV(a.g)!=b)return!1;a=a.g.oj;if(!w(a))return!0;-1<c.indexOf(":x")&&(c=nV(c));return 0==c.indexOf("/"+a+"/")||0==c.indexOf("/"+a+":")};function TV(){this.g=null}Ra(TV);function UV(a,b){null===a.g?a.g=b:a.g!=b&&(a.g.nu(),a.g=b)};function VV(){ux.call(this);this.s=this.h=null;this.l=new Map;this.T=[];this.m="";this.u=null}x(VV,ux);h=VV.prototype;h.ym="";h.yu=!1;h.JM=!1;h.sS=!1;h.zl=!1;h.qa=function(){VV.D.qa.call(this);this.h=this.s=null;for(var a=m(this.l.values()),b=a.next();!b.done;b=a.next())C(b.value);C(this.l)};h.Ig=function(){return this.JM};function WV(a){return Array.from(a.l.values())}function XV(a){a=WV(a).map(function(b){return parseInt(b.L,10)});a.sort();return a}
2973function PHa(a){return XV(a).map(function(b){return a.l.get(b+"")})}h.indexOf=function(a){return XV(this).indexOf(parseInt(a.L,10))};var qIa=[1,2,15,12,14,16,18,17,19,26,31];function YV(a,b){EH.call(this,b);null!==a&&(this.h=a)}x(YV,EH);YV.prototype.h="";YV.prototype.Ra=function(){this.j=this.g.O("A",{href:this.h,rel:"noopener noreferrer",target:"_blank","class":"Uk"})};function ZV(a){EH.call(this,a)}x(ZV,EH);ZV.prototype.Ra=function(){this.j=this.g.O("SPAN",{"class":"mb"})};function $V(a){EH.call(this,a)}x($V,EH);$V.prototype.Ra=function(){this.j=this.g.O("BR")};function aW(a,b,c,d){EH.call(this,d);this.M=AK;this.Z=a;this.h=this.l=null;this.m={type:"line",options:{responsive:!1,responsiveAnimationDuration:0,animation:{duration:0},title:{display:!0,text:b},elements:{point:{pointStyle:"triangle"}},scales:{x:{type:"time",time:{unit:"month"}},y:{min:0,suggestedMax:100}}}};this.u=c}x(aW,EH);function rIa(a){if(!a)return"";a=a.split("/");return 3!=a.length?"":a[2]+"-"+a[0]+"-"+a[1]}h=aW.prototype;
2974h.GE=function(a,b){if(a==this.Z){a=[];for(var c=[],d=0,e=this.u.length;d<e;d++){var f=this.u[d],g={fill:!1,pointRadius:10,pointHoverRadius:15},k=f.title;g.label=k?k:"";k=f.color;5==k?(g.backgroundColor="rgb(255, 99, 132)",g.borderColor="rgb(255, 99, 132)"):4==k&&(g.backgroundColor="rgb(54, 162, 235)",g.borderColor="rgb(54, 162, 235)");k=f.line_type;0==k?g.showLine=!0:1==k?(g.showLine=!0,g.borderDash=[4,4]):g.showLine=!1;var l=f.data,n=b;f=[];k=[];for(var q=0,t=l.length;q<t;q++){var u=l[q];var v=n;
2975var y=u.x;u=u.y;var G=Jc(y,":"),K=Jc(u,":");if(Jc(y,":")||Jc(u,":"))if(!G&&K||G&&!K)v=[];else{y=nV(y);
2975G=nV(u);u=new Map;K=m(v.keys());for(var J=K.next();!J.done;J=K.next()){var O=J.value;J=nV(O);if(J==G){J="y";var P=v.get(O)}else if(J==y)J="x",P=v.get(O),P=rIa(P);else continue;O=O.split(":");for(var Q="",R=1,aa=O.length;R<aa;R++)Q+="-"+O[R].split("/")[0];O=Q;Q=u.get(O);w(Q)||(Q={x:"",y:""});Q[J]=P;u.set(O,Q)}v=[];y=m(u.values());for(u=y.next();!u.done;u=y.next())u=u.value,""!=u.x&&""!=u.y&&v.push(u)}else y=
2976v.get(y),y=rIa(y),v=v.get(u),v=y&&v?[{x:y,y:v}]:[];y=0;for(u=v.length;y<u;y++)k.push(v[y]),f.push(v[y].x)}f.sort();l=[];n=0;for(q=f.length;n<q;n++)for(t=0,v=k.length;t<v;t++)k[t].x==f[n]&&l.push(k[t]);k=f=l;l=[];n=0;for(q=k.length;n<q;n++)l.push(k[n].x);k=l;l=0;for(n=k.length;l<n;l++)c.push(k[l]);g.data=f;a.push(g)}0==c.length&&(d=new Date,b=d.getDate(),c=d.getMonth()+1,d=d.getFullYear(),c=[d+"-"+c+"-"+b,d+1+"-"+c+"-"+b]);c.sort();this.m.data={labels:c,datasets:a};null===this.h?this.h=new La.Chart(this.l,
2977this.m):this.h.update()}};h.Ra=function(){this.l=this.g.O("CANVAS","uf");var a=this.g.O("CENTER",void 0,this.l);this.j=this.g.O("DIV","vf",a)};h.K=function(){aW.D.K.call(this);zK(this.M,"x",this.GE,this);this.GE(this.Z,new Map)};h.$=function(){aW.D.$.call(this);C(this.h);C(this.m);C(this.u);this.M.unsubscribe("x",this.GE,this)};h.qa=function(){aW.D.qa.call(this);this.m=this.h=null;delete this.M;delete this.l;delete this.Z};function bW(a){return null===a?null:"background-color: "+FV[a]+";"}function cW(a,b,c,d){if(null===a||0==a)return null;null===d&&(d=1);if(0==d)return null;null===c&&(c=0);null===b&&(b=1);var e;1==a?e="border: ":2==a?e="border-top: ":4==a?e="border-bottom: ":3==a?e="border-right: ":5==a&&(e="border-left: ");return e+bIa[b]+" "+aIa[c]+" "+FV[d]+";"}
2978function sIa(a,b){if(0==a||0==b)return null;null===a&&(a=1);null===b&&(b=1);var c;1==a?c="padding: ":2==a?c="padding-top: ":3==a?c="padding-right: ":4==a?c="padding-bottom: ":5==a&&(c="padding-left: ");return c+fIa[b]+";"}function tIa(a,b){return null===a?null===b?null:"width: "+b+"%;":"width: "+a+"px;"}function uIa(a){null===a&&(a=0);return gIa[a]};function dW(a,b,c,d,e,f,g,k,l,n){EH.call(this,n);this.M=a;this.Nv=null!=c&&"read_write"==b&&1!=g;null!==d&&(this.name=d);null!==e&&(this.abbr=e);null!==f&&(this.Xh=f,this.fK=!1);this.id=l;this.h=null;this.Z=AK}x(dW,EH);h=dW.prototype;h.name="";h.abbr="";h.Xh=0;h.Nv=!1;h.fK=!0;h.Xp=null;h.Iw=null;h.Ra=function(){if(this.Nv)eW(this);else{var a={};w(this.id)&&(a.id=this.id);0!=this.Xh&&(a["class"]=HV[this.Xh]);this.Xp=this.j=a=this.g.O("DIV",a)}};
2979function eW(a,b){var c;w(b)&&(c=a.g.O("A",{href:b,rel:"noopener noreferrer",target:"_blank"},"section"));var d;w(c)&&(d=a.g.O("DIV","Ue","Tips: ",c));var e;w(d)&&(e=a.g.O("DIV","Te",d));a.Iw=a.g.O("DIV","Re");b=a.g.O("DIV","Qe",a.Iw);e=w(e)?a.g.O("DIV",void 0,e):a.g.O("DIV","sgBpRepeatedContent");c=[];0!=a.Xh&&c.push(HV[a.Xh]);c.push("Se");b=a.g.O("DIV",c.join(" "),b,e);a.j=b;a.Xp=e}h.ib=function(){return this.Xp};
2980h.K=function(){dW.D.K.call(this);this.Nv&&(this.h=TP("X",void 0,void 0,void 0,1),this.h.render(this.Iw),D(this.h,"action",this.lK,void 0,this))};h.$=function(){dW.D.$.call(this);this.Nv&&(Mx(this.h,"action",this.lK,void 0,this),C(this.h))};h.qa=function(){dW.D.qa.call(this);this.Iw=this.Xp=null};h.lK=function(){this.h.W(!1);if(confirm("Really delete?")){var a=mV(this.M);this.Z.ba("r",a);this.o||this.h.W(!0)}else this.h.W(!0)};h.XA=function(){return this.fK};function fW(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O){dW.call(this,a,b,c,null,null,G,J,!1,void 0,O);this.hA=bW(d);this.iA=cW(f,k,g,e);this.kA=sIa(v,y);this.jA=null===u?null:dIa[u];this.lA=uIa(K);null===q&&null===t&&null===n?n=null:(a="",null===q||(a+=GV[q]),null===t||(a+=cIa[t]),null===n||0==n||(a=a+"color: "+FV[n]),n=a);this.wx=n;null!==l&&(this.BG=l)}x(fW,dW);h=fW.prototype;h.hA=null;h.iA=null;h.kA=null;h.jA=null;h.lA=null;h.wx=null;h.BG=0;
2981h.Ra=function(){if(this.Nv)eW(this);else{var a={},b=[];null===this.hA||b.push(this.hA);null===this.iA||b.push(this.iA);null===this.kA||b.push(this.kA);null===this.jA||b.push(this.jA);null===this.lA||b.push(this.lA);null===this.wx||b.push(this.wx);b!=[]&&(a.style=b.join(" "));b=[];0!=this.Xh&&b.push(HV[this.Xh]);
29811==this.BG&&b.push("jb-kb-lb");b!=[]&&(a["class"]=b.join(" "));this.Xp=this.j=a=this.g.O("DIV",a)}};
2982h.qa=function(){fW.D.qa.call(this);this.BG=this.wx=this.lA=this.jA=this.kA=this.iA=this.hA=null};function gW(a,b){EH.call(this,b.l);this.m=L(a,6,0);this.CG=a.eg();this.EP=a.kb();this.cE=L(a,5,"");this.h=b;this.l=null;this.u=[];this.M=new Map}x(gW,EH);h=gW.prototype;h.EP="";h.cE="";h.CG="";h.Cu=!1;h.a0=db();h.K=function(){gW.D.K.call(this);xc(this.CG)||"read"==hW(this.h)||(this.l=TP(this.CG,void 0,void 0,void 0,1),this.l.render(this.w()),this.l.W(!0),this.l.J("action",this.FP,!0,this))};
2983h.$=function(){gW.D.$.call(this);var a=this.h.L;if(!a.o){var b=a.l.indexOf(this);-1<b&&a.l.splice(b,1);b=a.T.indexOf(this);-1<b&&a.T.splice(b,1);b=a.h.indexOf(this);-1<b&&a.h.splice(b,1);b=a.j.indexOf(this);-1<b&&a.j.splice(b,1)}null!==this.l&&(this.l.kc("action",this.FP,!0,this),C(this.l))};h.qa=function(){gW.D.qa.call(this);this.u=this.h=null;C(this.M);C(this.a0)};h.FP=function(){this.Cu=!0;this.W(!1);this.dispatchEvent("copy_click")};h.W=function(a){null===this.l||this.l.W(a)};h.kb=function(){return this.EP};
2984function pIa(a,b){if(4==a.m&&!w(b))throw Error("repeated id always required for asymmetric copy");for(var c=[],d=0;d<a.u.length;++d){var e=a.u[d];if(3!=a.m||oIa(a.h,[e])){var f=QV(a.h,e.zx),g=a,k=f,l=e.from;if(-1<l.indexOf("$")){f=l;l=[];for(k=0;k<f.length;k++)"$"==f[k]&&l.push(k);k=[];for(var n=0;n<l.length;n++){var q=f.slice(l[n]);if(n==l.length-1){k.push(q);break}for(var t=0;t<q.length;t++){var u=q[t];if("$"!=u&&/[^0-9]/.test(u)){k.push(q.slice(0,t));break}}}l=new Map;for(u=0;u<k.length;u++)if(n=
2985k[u],q=g.M.get(n),w(q))for(t=0;t<q.length;t++){var v=q[t],y=vIa(v[0]),G="0";""!=y&&(G=y.join(","));y=l.get(G);if(!w(y)){y=new Map;for(var K=0;K<k.length;K++)y.set(k[K],null);l.set(G,y)}y.set(n,v)}g=[];k=m(l.keys());for(u=k.next();!u.done;u=k.next()){u=l.get(u.value);n="";q=f;t=m(u.keys());for(v=t.next();!v.done;v=t.next())v=v.value,G=u.get(v),y="",null!=G&&(n=G[0],y=G[1]),q=q.replace(v,y);g.push([n,q])}f=g}else if(nIa(g.h.L,k,l)){k=g;f=l;l=[];if(-1<f.indexOf(":x"))for(g=nV(f),k=k.h.g,u=0;u<k.length;u++)n=
2986k[u],q=n.getKey(),t=g==nV(q),q.match(/:/g).length==f.match(/:/g).length&&t&&l.push([q,n.getValue()]);else n=wIa(k,f),null!==n&&(g=n.getValue(),l.push([f,g]));f=l}else if(f=void 0,u=g.h.L.ea,xc(k)&&(k=sV(g.h)),g=u.get(k),w(g)){(k=-1<l.indexOf(":x"))&&(f=nV(l));u=[];for(n=0;n<g.length;++n)if(t=g[n],q=t.getKey(),t=t.getValue(),k)v=-1<q.indexOf(":")&&-1<l.indexOf(":")&&q.match(/:/g).length==l.match(/:/g).length,G=f==nV(q),v&&G&&u.push([q,t]);else if(q==l){u.push([q,t]);break}f=u}else f=[];xIa(f);l=e.NA;
2987e=e.le;for(g=0;g<f.length;++g){k=f[g];u=a;n=l;t=k[0];q=k[1];v=b;if("$"==n[0])v=u.M.get(n),w(v)||(v=[],u.M.set(n,v)),v.push([t,q]),u=null;else if(-1<n.indexOf(":x")||-1<n.indexOf(":y")){q=u.h.L;if(4==u.m){if(!w(v))throw Error("asymmetric copy requires repeated id");n=n.replace("y",v)}v=vIa(t);u=q;q=v;v=[];for(G=0;G<t.length;++G)":"==t[G]&&v.push(t.slice(0,G));t=v;if(t.length!=q.length)throw Error("length of prefixes and repeated parts should match");for(v=0;v<t.length;++v)K=t[v],G=q[v],y=u.M.get(K),
2988w(y)||(y=new Map,u.M.set(K,y)),K=y.get(G),w(K)||(K=MV(),K=K.toString(),y.set(G,K)),n=n.replace("x",K);u=n}else u=n;null===u||c.push([u,k[1],e])}}}for(b=0;b<c.length;++b)f=c[b],d=a,l=f[0],e=f[1],f=f[2],null!==e&&yIa(d.h,l)&&(l=wIa(d,l,!0),null===l||!d.Cu&&zIa(d.h,l)||(g=!1,f?(l.zM(e),g=!0):(f=l.getValue(),l.setValue(e),f!=e&&(g=!0)),g&&"read_write"==hW(d.h)&&l.zc()));a.Cu&&(a.Cu=!1,a.W(!0))}function xIa(a){Wb(a,function(b,c){return b[0]<c[0]?-1:1})}
2989function wIa(a,b,c){var d=a.h.g,e=Kb(d,function(f){return f.getKey()==b});if(null!==e)return e;if(w(c)&&c)RHa([b],a.h.s,iW(a.h),!1,a.h),jW(a.h);else return null;e=Kb(d,function(f){return f.getKey()==b});if(null===e)return null;AIa(a.h,e);return e}function vIa(a){for(var b=[],c="",d=!1,e=0;e<a.length;++e){var f=a[e];(d=d?"/"!=f:":"==f)&&":"!=f&&(c+=f);!d&&0<c.length&&(b.push(c),c="")}0<c.length&&b.push(c);return b};function kW(a,b,c,d,e,f,g){EH.call(this,g);null!==a&&(this.KP=a);null!==b&&(this.JP=b);null!==c&&(this.LA=c);null!==d&&2==f&&(this.vx=d);null!==e&&(this.h=e)}x(kW,EH);h=kW.prototype;h.KP="";h.JP="";h.LA="";h.vx=null;
2990h.Ra=function(){var a={"class":"Ol","data-e2e":"doc_container"};
2990null!=this.h&&(a["class"]=GV[this.h]);null===this.vx||(a.style=cIa[this.vx]);var b=z("form_tips");if(this.LA&&b){var c=this.g.O("A",{href:this.LA,rel:"noopener noreferrer",target:"_blank"},"Form Tips");b.innerHTML="";b.appendChild(c)}this.j=this.g.O("DIV",a)};h.qa=function(){kW.D.qa.call(this);delete this.KP;delete this.JP;delete this.LA;this.vx=null};function lW(a){EH.call(this,a)}x(lW,EH);lW.prototype.Ra=function(){this.j=this.g.O("HR")};function mW(a,b,c){EH.call(this,c);null!==a&&(this.l=a);null!==b&&(this.h=b)}x(mW,EH);mW.prototype.l="";mW.prototype.h="";mW.prototype.Ra=function(){var a=this.g.O("IMG",{src:this.l});a.alt=this.h;this.j=a};mW.prototype.qa=function(){mW.D.qa.call(this);delete this.l;delete this.h};function nW(){}function oW(a){if("number"==typeof a){var b=new nW;b.h=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Vd(c,2));c=d.join("")}b.o=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=BIa(a);b.l=[c,c];b.g={gea:a,zI:a};b.j=[];return b}b=new nW;b.o=a.id;b.h=-a.std_offset;b.l=a.names;b.g=a.names_ext;b.j=a.transitions;return b}
2991function BIa(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Vd(Math.floor(a/60)%100,2),":",Vd(a%60,2));return b.join("")}function pW(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c<a.j.length&&b>=a.j[c];)c+=2;return 0==c?0:a.j[c-1]}nW.prototype.Dg=function(a){return this.l[0<pW(this,a)?2:0]};function qW(a,b){this.h=[];this.g=b||FO;"number"==typeof a?CIa(this,a):DIa(this,a)}var EIa=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEahKHcLQdmsvVwzZ]+/];function rW(a){return a.getHours?a.getHours():0}
2992function DIa(a,b){for(FIa&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;d<EIa.length;++d){var e=b.match(EIa[d]);if(e){var f=e[0];b=b.substring(f.length);0==d&&("''"==f?f="'":(f=f.substring(1,"'"==e[1]?f.length-1:f.length),f=f.replace(/''/g,"'")));a.h.push({text:f,type:d});break}}if(c===b)throw Error("Malformed pattern part: "+b);}}
2993qW.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-(b.h-pW(b,a))):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(e=6E4*(d.getTimezoneOffset()-a.getTimezoneOffset()),d=new Date(d.getTime()+e),c+=0<c?-864E5:864E5,e=new Date(a.getTime()+c));c=[];for(var f=0;f<this.h.length;++f){var g=this.h[f].text;1==this.h[f].type?c.push(GIa(this,g,a,d,e,b)):c.push(g)}return c.join("")};
2994function CIa(a,b){if(4>b)var c=a.g.BB[b];else if(8>b)c=a.g.BI[b-4];else if(12>b)c=a.g.BT[b-8],c=c.replace("{1}",a.g.BB[b-8]),c=c.replace("{0}",a.g.BI[b-8]);else{CIa(a,10);return}DIa(a,c)}function sW(a,b){b=String(b);a=a.g||FO;if(void 0!==a.MB){for(var c=[],d=0;d<b.length;d++){var e=b.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(a.MB+e-48):b.charAt(d))}b=c.join("")}return b}var FIa=!1;
2995function tW(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");}
2996function GIa(a,b,c,d,e,f){var g=b.length;switch(b.charAt(0)){case "G":return c=0<d.getFullYear()?1:0,4<=g?a.g.GT[c]:a.g.lI[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==g&&(c%=100),sW(a,Vd(c,g));case "Y":return c=(new Date(MAa(d.getFullYear(),d.getMonth(),d.getDate(),a.g.rw,a.g.qw))).getFullYear(),0>c&&(c=-c),2==g&&(c%=100),sW(a,Vd(c,g));case "M":a:switch(c=d.getMonth(),g){case 5:g=a.g.LT[c];break a;case 4:g=a.g.mI[c];break a;case 3:g=a.g.uI[c];break a;default:g=sW(a,Vd(c+1,g))}return g;case "k":return tW(e),
2997sW(a,Vd(rW(e)||24,g));case "S":return sW(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,g)).substr(2)+(3<g?Vd(0,g-3):""));case "E":return c=d.getDay(),4<=g?a.g.CI[c]:a.g.wI[c];case "a":return tW(e),g=rW(e),a.g.kI[12<=g&&24>g?1:0];case "h":return tW(e),sW(a,Vd(rW(e)%12||12,g));case "K":return tW(e),sW(a,Vd(rW(e)%12,g));case "H":return tW(e),sW(a,Vd(rW(e),g));case "c":a:switch(c=d.getDay(),g){case 5:g=a.g.PT[c];break a;case 4:g=a.g.QT[c];break a;case 3:g=a.g.yI[c];break a;default:g=sW(a,Vd(c,1))}return g;
2998case "L":a:switch(c=d.getMonth(),g){case 5:g=a.g.OT[c];break a;case 4:g=a.g.Gs[c];break a;case 3:g=a.g.xI[c];break a;default:g=sW(a,Vd(c+1,g))}return g;case "Q":return c=Math.floor(d.getMonth()/3),4>g?a.g.vI[c]:a.g.rI[c];case "d":return sW(a,Vd(d.getDate(),g));case "m":return tW(e),sW(a,Vd(e.getMinutes(),g));case "s":return tW(e),sW(a,Vd(e.getSeconds(),g));case "v":return g=f||oW(c.getTimezoneOffset()),g.o;case "V":return a=f||oW(c.getTimezoneOffset()),2>=g?a.o:0<pW(a,c)?w(a.g.ET)?a.g.ET:a.g.DST_GENERIC_LOCATION:
2999w(a.g.zI)?a.g.zI:a.g.STD_GENERIC_LOCATION;case "w":return c=MAa(e.getFullYear(),e.getMonth(),e.getDate(),a.g.rw,a.g.qw),sW(a,Vd(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,g));case "z":return a=f||oW(c.getTimezoneOffset()),4>g?a.Dg(c):a.l[0<pW(a,c)?3:1];case "Z":return b=f||oW(c.getTimezoneOffset()),4>g?(g=-(b.h-pW(b,c)),a=[0>g?"-":"+"],g=Math.abs(g),a.push(Vd(Math.floor(g/60)%100,2),Vd(g%60,2)),g=a.join("")):g=sW(
2999a,BIa(b.h-pW(b,c))),g;default:return""}}
3000;function uW(){this.g=[];this.h=FO;for(var a=!1,b="",c=0;14>c;c++){var d="MM'/'dd'/'yyyy".charAt(c);if(" "==d)for(0<b.length&&(this.g.push({text:b,count:0,Jp:!1}),b=""),this.g.push({text:" ",count:0,Jp:!1});13>c&&" "=="MM'/'dd'/'yyyy".charAt(c+1);)c++;else if(a)"'"==d?14>c+1&&"'"=="MM'/'dd'/'yyyy".charAt(c+1)?(b+="'",c++):a=!1:b+=d;else if(0<=HIa.indexOf(d)){0<b.length&&(this.g.push({text:b,count:0,Jp:!1}),b="");var e="MM'/'dd'/'yyyy".charAt(c);for(var f=c+1;14>f&&"MM'/'dd'/'yyyy".charAt(f)==e;)f++;
3001e=f-c;this.g.push({text:d,count:e,Jp:!1});c+=e-1}else"'"==d?14>c+1&&"'"=="MM'/'dd'/'yyyy".charAt(c+1)?(b+="'",c++):a=!0:b+=d}0<b.length&&this.g.push({text:b,count:0,Jp:!1});a=!1;for(b=0;b<this.g.length;b++)vW(this.g[b])?!a&&b+1<this.g.length&&vW(this.g[b+1])&&(a=!0,this.g[b].Jp=!0):a=!1}uW.prototype.parse=function(a,b,c){return IIa(this,a,b,c||0,!1)};
3002function IIa(a,b,c,d,e){for(var f=new JIa,g=[d],k=-1,l=0,n=0,q=0;q<a.g.length;q++)if(0<a.g[q].count)if(0>k&&a.g[q].Jp&&(k=q,l=d,n=0),0<=k){var t=a.g[q].count;if(q==k&&(t-=n,n++,0==t))return 0;KIa(a,b,g,a.g[q],t,f)||(q=k-1,g[0]=l)}else{if(k=-1,!KIa(a,b,g,a.g[q],0,f))return 0}else{k=-1;if(" "==a.g[q].text.charAt(0)){if(t=g[0],LIa(b,g),g[0]>t)continue}else if(b.indexOf(a.g[q].text,g[0])==g[0]){g[0]+=a.g[q].text.length;continue}return 0}a:{if(null==c)throw Error("Parameter 'date' should not be null.");
3003void 0!=f.era&&void 0!=f.year&&0==f.era&&0<f.year&&(f.year=-(f.year-1));void 0!=f.year&&c.setFullYear(f.year);a=c.getDate();c.setDate(1);void 0!=f.month&&c.setMonth(f.month);void 0!=f.day?c.setDate(f.day):(b=GO(c.getFullYear(),c.getMonth()),c.setDate(a>b?b:a));Wa(c.setHours)&&(void 0==f.Zf&&(f.Zf=c.getHours()),void 0!=f.s&&0<f.s&&12>f.Zf&&(f.Zf+=12),c.setHours(f.Zf));Wa(c.setMinutes)&&void 0!=f.h&&c.setMinutes(f.h);Wa(c.setSeconds)&&void 0!=f.j&&c.setSeconds(f.j);Wa(c.setMilliseconds)&&void 0!=f.o&&
3004c.setMilliseconds(f.o);if(e&&(void 0!=f.year&&f.year!=c.getFullYear()||void 0!=f.month&&f.month!=c.getMonth()||void 0!=f.day&&f.day!=c.getDate()||24<=f.Zf||60<=f.h||60<=f.j||1E3<=f.o))c=!1;else{void 0!=f.l&&(e=c.getTimezoneOffset(),c.setTime(c.getTime()+6E4*(f.l-e)));f.m&&(e=new Date,e.setFullYear(e.getFullYear()-80),c.getTime()<e.getTime()&&c.setFullYear(e.getFullYear()+100));if(void 0!=f.g)if(void 0==f.day)f=(7+f.g-c.getDay())%7,3<f&&(f-=7),e=c.getMonth(),c.setDate(c.getDate()+f),c.getMonth()!=
3005e&&c.setDate(c.getDate()+(0<f?-7:7));else if(f.g!=c.getDay()){c=!1;break a}c=!0}}return c?g[0]-d:0}var HIa="GyMdkHmsSEDahKzZvQL";function vW(a){if(0>=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0<b||0==b&&3>a.count}function LIa(a,b){(a=a.substring(b[0]).match(/^\s+/))&&(b[0]+=a[0].length)}
3006function KIa(a,b,c,d,e,f){LIa(b,c);var g=c[0],k=d.text.charAt(0),l=-1;if(vW(d))if(0<e){if(g+e>b.length)return!1;l=wW(a,b.substring(0,g+e),c)}else l=wW(a,b,c);switch(k){case "G":return l=xW(b,c,a.h.lI),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){d=xW(b,c,a.h.mI.concat(a.h.Gs,a.h.uI,a.h.xI));if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case "E":return d=xW(b,c,a.h.CI),0>d&&(d=xW(b,c,a.h.wI)),0>d?f=!1:(f.g=d,f=!0),f;case "a":return l=xW(b,c,a.h.kI),0<=l&&(f.s=l),!0;case "y":a:{if(0>
3007l){var n=b.charAt(c[0]);if("+"!=n&&"-"!=n){f=!1;break a}c[0]++;l=wW(a,b,c);if(0>l){f=!1;break a}"-"==n&&(l=-l)}n||2!=c[0]-g||2!=d.count?f.year=l:(a=l,b=(new Date).getFullYear()-80,c=b%100,f.m=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),f.year=a);f=!0}return f;case "Q":return 0>l?(d=xW(b,c,a.h.rI),0>d&&(d=xW(b,c,a.h.vI)),0>d?f=!1:(f.month=3*d,f.day=1,f=!0)):f=!1,f;case "d":return 0<=l&&(f.day=l),!0;case "S":return a=c[0]-g,f.o=3>a?l*Math.pow(10,3-a):Math.round(l/Math.pow(10,a-3)),!0;case "h":12==l&&
3008(l=0);case "K":case "H":case "k":return 0<=l&&(f.Zf=l),!0;case "m":return 0<=l&&(f.h=l),!0;case "s":return 0<=l&&(f.j=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.l=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}g=c[0];l=wW(a,b,c);if(0>l)f=!1;else{if(c[0]<b.length&&":"==b.charAt(c[0])){n=60*l;c[0]++;l=wW(a,b,c);if(0>l){f=!1;break a}n+=l}else n=l,n=24>n&&2>=c[0]-g?60*n:n%100+n/100*60;f.l=-(n*d);f=!0}}return f;default:return!1}}
3009function wW(a,b,c){if(a.h.MB){for(var d=[],e=c[0];e<b.length;e++){var f=b.charCodeAt(e)-a.h.MB;d.push(0<=f&&9>=f?String.fromCharCode(f+48):b.charAt(e))}b=d.join("")}else b=b.substring(c[0]);a=b.match(/^\d+/);if(!a)return-1;c[0]+=a[0].length;return parseInt(a[0],10)}function xW(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;f<c.length;f++){var g=c[f].length;g>d&&0==a.indexOf(c[f].toLowerCase())&&(e=f,d=g)}0<=e&&(b[0]+=d);return e}function JIa(){};function yW(a,b,c){EH.call(this,c);w(a)&&(this.h=a);this.l=void 0;w(b)&&null!==b?this.l=b:this.h||(this.l=0)}x(yW,EH);h=yW.prototype;h.value=null;h.Ra=function(){var a=[];a.push("sf");this.h?a.push(this.h):a.push(iIa[this.l]);this.Ta=B("DIV",a.join(" "));this.j=B("DIV",void 0,this.Ta)};h.qa=function(){yW.D.qa.call(this);delete this.h;delete this.l;this.value=null};h.W=function(){};
3010h.setValue=function(a,b){null!=b?(b=B("DIV"),b.textContent=a,this.w().appendChild(b)):this.value=this.Ta.textContent=a};h.getValue=function(){return this.value};h.Rg=function(){return!0};h.Jo=function(){};h.hasFocus=function(){return!1};function zW(a,b,c){yV.call(this,a,b,c);this.va=!1}x(zW,yV);zW.prototype.setValue=function(a){null!==a&&(this.va=MIa(a),AW(this.Qa,a))};zW.prototype.getValue=function(){return NIa(this.Qa)};
3010zW.prototype.focus=function(a){zW.D.focus.call(this,a);this.va&&(this.zc(),this.va=!1)};zW.prototype.zc=function(){this.va=MIa(this.getValue());zW.D.zc.call(this)};
3011function MIa(a){if(!a)return!1;var b=new qW("MM'/'dd'/'yyyy"),c=new uW,d=new Date(0);try{if(0==c.parse(a,d))return!1}catch(e){return!1}b=b.format(d);return a!==b};function BW(a,b,c,d,e,f,g,k,l,n,q,t,u){oV.call(this,"ce",a,b,c,e,l,n,q,t);w(u)&&(this.Ru=u);this.h=0==d;this.cb=this.Ru?1:0;1==f&&null===k&&(k=0);this.pc=null===f?0:f;null!==k&&(this.yb=k)}x(BW,oV);h=BW.prototype;h.Ru=!1;h.je=function(){for(var a=[],b=OH(this),c=0,d=b.length;c<d;c++){var e=JH(this,b[c]).Ln();a.push(e)}return a};function OIa(a){for(var b=[],c=OH(a),d=0,e=c.length;d<e;d++)b.push(JH(a,c[d]));return b}
3012h.W=function(a){this.h?OIa(this).forEach(function(b){var c=b.Ln();c.W(!1);var d=c.w();gx(d,"uh");b=b.ib();c=c.Pc()?"vh":"vh-th";gx(b,c)}):this.je().forEach(function(b){return b.W(a)})};h.yE=function(a){for(var b=this.je(),c=0,d=b.length;c<d;c++){var e=b[c];a?(D(e,"change",this.zc,void 0,this),D(e.Wc(),"focus",this.AP,void 0,this),D(e.Wc(),"blur",this.zP,void 0,this)):(Mx(e,"change",this.zc,void 0,this),Mx(e.Wc(),"focus",this.AP,void 0,this),Mx(e.Wc(),"blur",this.zP,void 0,this))}};
3013h.zc=function(a){if(this.Ru){a=a.target.rb();for(var b=this.je(),c=0,d=b.length;c<d;c++){var e=b[c];e.rb()!=a&&e.nc(!1)}}this.dispatchEvent("change")};h.getValue=function(){var a=this.je(),b="";if(this.Ru)for(var c=0,d=a.length;c<d;c++){var e=a[c];if(e.Pc()){b=e.Tc();break}}else{var f=[];c=0;for(d=a.length;c<d;c++)e=a[c],e.Pc()&&f.push(e.Tc());if(0==f.length)return"";a=0;for(c=f.length;a<c;a++)d=f[a],xc(b)?b=d:b=b+"\n"+d}return b};
3014h.setValue=function(a){var b=this.je(),c=OH(this);if(this.Ru)for(var d=0,e=b.length;d<e;d++){var f=b[d];w(f.Tc())&&f.Tc()==a?(f.nc(aP),JH(this,c[d]).Ga(!0)):f.nc(YO)}else for(a=a.split("\n"),d=0,e=b.length;d<e;d++){f=b[d];var g=f.Tc(),k=YO;w(g)&&Nb(a,g)&&(k=aP,JH(this,c[d]).Ga(!0));f.nc(k)}};h.AP=function(){this.dispatchEvent("focus")};h.zP=function(){this.dispatchEvent("blur")};h.hasFocus=function(){for(var a=this.je(),b=0,c=a.length;b<c;b++){var d=a[b];if(null!=document.activeElement&&d.w()===document.activeElement)return!0}return!1};
3015h.blur=function(){for(var a=this.je(),b=0,c=a.length;b<c;b++){var d=a[b];if(d.w()===document.activeElement){d.w().blur();break}}};function CW(a,b,c,d,e,f,g,k,l,n){oV.call(this,"ce",a,b,c,e,g,k,l,n);this.cb=2;this.mb="read"==f||0==d;var q;this.mb&&(q=qN(kO,"Nl"));this.h=ZP(this.mb?"":" -",q,n.l,!0,!0);this.h.Sb().Y.add("Clear");this.mb&&this.h.rd("Ml")}x(CW,oV);h=CW.prototype;h.LP=!1;function PIa(a){for(var b=[],c=OH(a),d=0,e=c.length;d<e;d++)b.push(JH(a,c[d]));return b}
3016function QIa(a){KH(a.h.Sb(),function(b){if(b instanceof WN){var c=b.w();if(c&&b.Tc()&&!c.querySelector(".Hd")){var d=document.createElement("div");d.className="Hd";d.textContent="Value: "+b.Tc();c.appendChild(d)}}})}h.W=function(a){if(this.mb)this.h.W(!1);else{this.h.W(!0);for(var b=PIa(this),c=0,d=b.length;c<d;c++)b[c].W(a)}};
3017h.yE=function(a){a?(D(this.h,"change",this.zc,void 0,this),D(this.h,"show",this.NP,void 0,this),D(this.h,"hide",this.MP,void 0,this),D(this.h.Sb().w(),"keydown",this.gO)):(Mx(this.h,"change",this.zc,void 0,this),Mx(this.h,"show",this.NP,void 0,this),Mx(this.h,"hide",this.MP,void 0,this),Mx(this.h.Sb().w(),"keydown",this.gO))};h.zc=function(){var a=this.h.getValue();""==a&&nO(this.h.Nc,null);this.Y.Ga(!!a,!0);this.dispatchEvent("change")};
3018h.Ra=function(){CW.D.Ra.call(this);this.Ea(this.h,!0);this.Y=new WN("Clear","");this.Y.Ga(!1);this.h.Jb(this.Y)};h.Ea=function(a,b){this.LP?this.h.zD(a,this.h.Se()-1):(CW.D.Ea.call(this,a,b),this.LP=!0)};h.getValue=function(){var a=this.h.qe();if(null===a)return"";a=a.getValue();return null===a?"":a};h.setValue=function(a){this.h.setValue(a);0<=wO(this.h)&&this.h.Gd(wO(this.h)).Ga(!0);""==a&&nO(this.h.Nc,null);this.Y.Ga(!!a,!0)};h.NP=function(){this.dispatchEvent("focus")};
3019h.MP=function(){this.h&&this.h.Sb()&&this.h.Sb().w()&&(this.h.Sb().w().style.left="0");this.dispatchEvent("blur")};h.hasFocus=function(){return vN(this.h,64)};h.blur=function(){this.h&&this.h.Gc(!1)};h.gO=function(a){9==a.keyCode&&(a.preventDefault(),a.stopPropagation())};function DW(a,b,c){yV.call(this,a,b,c)}x(DW,yV);DW.prototype.cn=function(){this.Qa.yE(!0);D(this.Qa,"change",this.zc,void 0,this);D(this.Qa,"focus",this.focus,void 0,this);D(this.Qa,"blur",this.blur,void 0,this);D(this.Qa,"filterchange",this.PJ,void 0,this)};DW.prototype.cv=function(){this.Qa.yE(!1);Mx(this.Qa,"change",this.zc,void 0,this);Mx(this.Qa,"focus",this.focus,void 0,this);Mx(this.Qa,"blur",this.blur,void 0,this);Mx(this.Qa,"filterchange",this.PJ,void 0,this)};
3020function RIa(a){var b=[];if(a.Qa instanceof BW){a=a.Qa.je();a=m(a);for(var c=a.next();!c.done;c=a.next())(c=c.value.Tc())&&b.push('"'+c.replace(/"/g,'\\"')+'"')}else if(a.Qa instanceof CW)for(c=PIa(a.Qa),QIa(a.Qa),a=m(c),c=a.next();!c.done;c=a.next())(c=c.value.getValue())&&b.push('"'+c.replace(/"/g,'\\"')+'"');else throw Error("unsupported SavedOptionsList input type");return b.join(", ")}
3021DW.prototype.tG=function(){var a=this.getKey(),b=null!=this.ea?this.ea.g.m:"",c=RIa(this);RIa(this)?uV(this.Lc,a,b,c):uV(this.Lc,a,b,null)};function EW(a,b,c){xx.call(this,a,b);this.item=c}x(EW,xx);function FW(a,b,c){EH.call(this,a);this.lc=c||new sU;this.Kb=!0;a=this.Fa=b||new $N(this.g);a.Ga(!1);aO(a,!1);a.SB=!0}x(FW,EH);h=FW.prototype;h.Oc=null;h.LL=null;h.lc=null;h.Fa=null;h.ds=-1;h.Xa=null;h.EE=vc;h.Lh=null;h.Qx=null;h.UH=!1;
3022h.Ra=function(){this.Xa=this.g.O("INPUT",{name:"",type:"text",autocomplete:"off"});this.Lh=this.g.O("SPAN","jb-combobox-Fh");this.j=this.g.O("SPAN","jb-combobox",this.Xa,this.Lh);this.UH&&(rw(this.Lh,"\u25bc"),FG(this.Lh,!0));this.Xa.setAttribute("label","");this.lc.ue(this.Xa);PN(this.Fa,!1);this.Fa.Uc()||this.Ea(this.Fa,!0)};h.W=function(a){this.Kb=a;this.lc.W(a);jx(this.w(),"jb-combobox-th",!a)};h.isEnabled=function(){return this.Kb};
3023h.K=function(){FW.D.K.call(this);var a=HH(this);a.J(this.w(),"mousedown",this.xN);a.J(this.g.getDocument(),"mousedown",this.BN);a.J(this.Xa,"blur",this.ML);this.mb=new fG(this.Xa);a.J(this.mb,"key",this.we);this.Oc=new BP(this.Xa);a.J(this.Oc,"input",this.DY);a.J(this.Fa,"action",this.KN)};h.$=function(){this.mb.dispose();delete this.mb;this.Oc.dispose();this.Oc=null;FW.D.$.call(this)};h.Tn=function(){return!1};
3024h.qa=function(){FW.D.qa.call(this);this.$s();this.lc.dispose();this.Fa.dispose();this.Lh=this.Xa=this.Fa=this.lc=null};h.Wg=function(){this.$s();this.ty();this.Fa.ve(-1)};h.Jb=function(a){this.Fa.Ea(a,!0);this.ds=-1};function SIa(a){for(var b=a.Se()-1;0<=b;--b){var c=a,d=a.Gd(b);if(d=c.Fa.removeChild(d,!0))d.dispose(),c.ds=-1}}h.Gd=function(a){return MH(this.Fa,a)};h.Se=function(){return LH(this.Fa)};h.Sb=function(){return this.Fa};
3025function TIa(a){if(-1==a.ds){for(var b=0,c=0,d=LH(a.Fa);c<d;c++){var e=MH(a.Fa,c);e instanceof ZN||!e.isVisible()||b++}a.ds=b}return a.ds}h.setValue=function(a){this.lc.getValue()!=a&&(this.lc.setValue(a),UIa(this))};h.getValue=function(){return this.lc.getValue()};h.re=function(){return Pd(GW(this))};
3025function GW(a){return yc(a.lc.getValue().toLowerCase())}
3026h.uo=function(a){var b=this.Fa.isVisible(),c=TIa(this);b&&0==c?this.ty():!b&&0<c&&(a&&(HW(this,""),IW(this,GW(this))),UG(this.$s,1,this),this.pD());JW(this)};function JW(a){a.Fa&&a.Fa.isVisible()&&(new fO(a.w(),9,!0)).g(a.Fa.w(),8)}h.pD=function(){this.Fa.Ga(!0);gx(this.w(),"jb-combobox-xl")};h.ty=function(){this.Fa.Ga(!1);ix(this.w(),"jb-combobox-xl")};h.$s=function(){this.Qx&&(VG(this.Qx),this.Qx=null)};
3027h.xN=function(a){this.Kb&&(a.target==this.w()||a.target==this.Xa||Rw(this.Lh,a.target))&&(this.Fa.isVisible()?this.Wg():(this.uo(!0),Iv&&this.Xa.focus(),this.Xa.select(),this.Fa.nh=!0,a.preventDefault()));a.stopPropagation()};h.BN=function(a){Rw(this.Fa.w(),a.target)||this.Wg()};h.KN=function(a){var b=a.target;this.dispatchEvent(new EW("action",this,b))&&(b=b.Zd(),this.lc.getValue()!=b&&(this.lc.setValue(b),this.dispatchEvent("change")),this.Wg());a.stopPropagation()};
3028h.ML=function(){this.$s();this.Qx=UG(this.Wg,250,this)};h.we=function(a){var b=this.Fa.isVisible();if(b&&this.Fa.we(a))return!0;var c=!1;switch(a.keyCode){case 27:b&&(this.lc.getValue(),this.Wg(),c=!0);break;case 9:b&&(b=LN(this.Fa))&&(this.lc.getValue(),b.Nf(a),c=!0);break;case 38:case 40:b||(this.uo(!0),c=!0)}c&&a.preventDefault();return c};h.DY=function(){this.lc.getValue();UIa(this)};
3029function UIa(a){var b=GW(a);HW(a,b);ax(a.g.getDocument())==a.Xa&&a.uo(!1);var c=LN(a.Fa);""!=b&&c&&c.isVisible()||IW(a,b);a.LL=b;a.dispatchEvent("change")}
3030function HW(a,b){for(var c=!1,d=0,e=!a.EE(b,a.LL),f=0,g=LH(a.Fa);f<g;f++){var k=MH(a.Fa,f);if(k instanceof ZN)k.Ga(c),c=!1;else if(k instanceof WN){if(!k.isVisible()&&!e)continue;var l=k.Zd();l="function"==typeof k.Z&&k.Y||l&&a.EE(l.toLowerCase(),b);"function"==typeof k.Ub&&k.Ub(b);k.Ga(!!l);c=l||c}else c=k.isVisible()||c;k instanceof ZN||!k.isVisible()||d++}a.ds=d}
3031function IW(a,b){if(""==b)a.Fa.ve(-1);else{for(var c=0,d=LH(a.Fa);c<d;c++){var e=MH(a.Fa,c),f=e.Zd();if(f&&a.EE(f.toLowerCase(),b)){a.Fa.ve(c);e.Ub&&e.Ub(b);return}}a.Fa.ve(-1)}}function KW(a,b,c,d){WN.call(this,a,b,c,d)}x(KW,WN);fN("jb-combobox-item",function(){return new KW(null)});KW.prototype.Y=!1;KW.prototype.Z=function(){return!1};
3032KW.prototype.Ub=function(a){if(this.isEnabled()){var b=this.Zd(),c=b.toLowerCase().indexOf(a);if(0<=c){var d=this.g;this.Fc([cx(d,b.substr(0,c)),d.O("B",null,b.substr(c,a.length)),cx(d,b.substr(c+a.length))])}}};function VIa(a){var b=a.aJ,c=a.Pq;a=a.JS;return Y('<div class="'+Z("Qd")+" "+Z("be")+'">'+(c?'<span class="'+Z("E")+" "+Z("K")+" "+Z("fe")+'" style="line-height:inherit" title="District">corporate_fare</span>':"")+(a?'<span class="'+Z("Cd")+'">'+X(b)+"</span>":"<span>"+X(b)+"</span>")+"</div>")};function LW(a,b){this.Ia=8;this.T=b||void 0;RH.call(this,a)}x(LW,RH);LW.prototype.Te=function(){return this.T||null};LW.prototype.Kk=function(){if(this.T){var a=!this.isVisible()&&"move_offscreen"!=this.Cq,b=this.w();a&&(b.style.visibility="hidden",CG(b,!0));this.T.g(b,this.Ia,this.Y);a&&CG(b,!1)}};function WIa(a){a=a.NC;return Y('<div class="'+Z("t")+'">'+(a?'<div class="'+Z("Qd")+'"><div tag="autofill"></div><div tag="buildingSelect"></div></div>':"")+'<input tag="bankValue" class="'+Z("u")+'"><span tag="delete"></span></div>')}
3033function XIa(a){a=a.NC;return Y('<div class="'+Z("t")+" "+Z("Kd")+'"><div class="'+Z("Qd")+'" tag="buttons"></div><div class="'+Z("w")+" "+Z("Kd")+'" tag="advanced"><div tag="topic"></div><div tag="keyword"></div><div class="'+Z("Qd")+'">'+(a?'<div tag="autofill"></div>':"")+(a?'<div tag="buildingSelect"></div>':"")+'</div></div><div tag="rte" class="'+Z("v")+'"></div></div>')};function MW(a,b,c){EH.call(this,c);w(a)&&(this.Xg=a);b&&(this.gA=b);this.Ja=new sU;this.l=this.h=this.m=null;this.Ha=yF(AF).includes(86)}x(MW,EH);h=MW.prototype;h.Xg=!1;h.gA=null;h.xP=0;h.aw=null;h.wP="";h.oq=null;h.Np=null;h.Rp=null;h.Ra=function(){this.j=by(WIa,{NC:this.Xg});this.aw=NW(this,"bankValue");this.Ja.ue(this.aw);this.oq=NW(this,"delete");this.Np=NW(this,"autofill");this.Rp=NW(this,"buildingSelect")};
3034h.K=function(){var a=HH(this);this.Xg&&(this.h=new kU("Default Text",void 0,this.g),this.h.render(this.Np),this.Ha&&(this.l=YIa(this),this.l.render(this.Rp),this.l.W(!0)),ZIa(this));this.m=TP("X",void 0,void 0,void 0,1);this.m.render(this.oq);Qx(a,this.m,"action",this.zN,void 0,this);this.Oc=new BP(this.aw);a.J(this.Oc,"input",this.zc)};h.$=function(){MW.D.$.call(this);C(this.Oc);C(this.m);C(this.h);C(this.l);this.Rp=this.Np=this.oq=null};h.qa=function(){MW.D.qa.call(this);C(this.Ja);this.aw=null};
3035h.W=function(){};h.zN=function(){this.m.W(!1);confirm("Really delete this bank item?")?(this.dispatchEvent("delete"),this.zc(null)):this.m.W(!0)};h.zc=function(){this.dispatchEvent("change")};h.Cj=function(){return this.xP};h.Xo=function(a){this.xP=a};h.Jn=function(){return!1};h.Ui=function(){};h.Aj=function(){return""};h.Fm=function(){};h.Eg=function(){return""};h.In=function(){return this.Xg&&this.Ha?this.l.Cc():[]};h.xr=function(a){this.Xg&&this.Ha&&this.l.Pz(a)};h.ul=function(){};h.Dg=function(){return""};
3036h.Vi=function(){};h.xj=function(){return this.Xg?this.h.Pc():!1};h.Em=function(a){this.Xg&&(a?this.h.nc(aP):this.h.nc(YO))};h.getValue=function(){return this.Ja.getValue()};h.setValue=function(a){this.Ja.setValue(a)};h.Dk=function(){return this.wP};h.zr=function(a){this.wP=a};h.hasFocus=function(){return!1};function YIa(a){a.gA||(a.gA=[]);return new fQ("Buildings",a.gA,[],void 0,void 0,!0,"all buildings",!0)}h.e2=function(){this.Xg&&this.xj()&&this.dispatchEvent("autofill")};
3037function ZIa(a){var b=HH(a);Qx(b,a.h,"change",a.zc,void 0,a);Qx(b,a.h,"change",a.e2,void 0,a);a.Ha&&Qx(b,a.l,a.l.Be(),a.zc,void 0,a)}function NW(a,b){return a.w().querySelector("[tag="+b+"]")}h.focus=function(){this.aw.focus()};function $Ia(a){a=a.LH;return Y('<div id="bankPopupContainer" class="'+Z("o")+'"><div class="'+Z("q")+'" id="grades_'+Z(a)+'"></div><div class="'+Z("q")+'" id="topics_'+Z(a)+'"></div><div class="'+Z("r")+'" id="bankItems_'+Z(a)+'"></div><div class="'+Z("s")+'"><table style="width: 100%;"><tr><td><div class="'+Z("jb-kb-lb")+'" id="add_'+Z(a)+'"></div></td><td style="width:1%;"><div class="'+Z("jb-kb-lb")+'" id="done_'+Z(a)+'"></div></td></tr></table></div></div>')}
3038function aJa(a){return Y("<div>Banks allow users to store frequently used text. They support various types of substitution in order to customize content for students."+(a.pe?' <a href="/iep/g/support/online-guides/administrative-guide/district-banks-for-admin" target="_blank">Learn more</a>':' <a href="/iep/g/support/online-guides/user-guide/banks-stored-text" target="_blank">Learn more</a>')+"</div>")};function OW(a,b,c,d,e,f,g,k,l,n,q){LW.call(this,k,l);this.cb=b;this.Qm=MV();this.Uh=c;this.Gl=f;this.Nk=!1;this.Zp=n||!1;this.Z=a;this.j=[];this.s=d;this.m=e;q&&(this.Qb=q);this.L=TP("done",void 0,void 0,void 0,1);this.va=TP("add",void 0,void 0,void 0,1);this.l=ZP("choose a grade");
3038this.h=ZP("choose a topic");this.u=new Map;a=ay($Ia,{LH:this.Qm});null!==a&&this.w().appendChild(a);a=z("grades_"+this.Qm);this.Nk?(this.l.render(a),this.l.W(!1)):Jw(a);a=z("topics_"+this.Qm);this.Gl?(this.h.render(a),
3039this.h.W(!1)):Jw(a);a=z("done_"+this.Qm);this.L.render(a);this.L.W(!0);this.Ua=z("add_"+this.Qm);this.va.render(this.Ua);this.va.W(!0)}x(OW,LW);h=OW.prototype;h.Qm=0;h.Nk=!1;h.Gl=!1;h.Uh="";h.xi="";h.Fe="";h.ng=!1;h.Zp=!1;h.Qb=null;h.qa=function(){OW.D.qa.call(this);this.Z=null;for(var a=0;a<this.j.length;a++)C(this.j[a]);this.Qb=this.m=this.j=null;C(this.s);C(this.L);C(this.va);C(this.l);C(this.h)};
3040h.bF=function(a){var b;if(!(b=Rw(this.Hg,a.target))){a=a.target;var c=nH;Rw(c.m,a)||Rw(c.u.w(),a)?a=!0:(b=c.o.w(),c=c.j.h.view.T,null!==c&&(c=c.w(),b.offsetWidth>c.offsetWidth&&(b=c)),a=Rw(b,a));b=!a}b?this.ng=!0:(this.ng=!1,UG(this.Hr,0,this))};
3041function PW(a){var b=z("bankItems_"+a.Qm);Fw(b);if(a.Nk)for(;0<a.l.Se();)a.l.Bq(0);if(a.Gl)for(;0<a.h.Se();)a.h.Bq(0);var c=[];a.j=[];var d=a.s.get(a.Uh);if(w(d)){for(var e=0;e<d.length;++e){var f=d[e];f.ln=!1;if(!f.uc()&&1==f.Cj()==a.Zp){if(a.Nk){b=f.Aj();var g=f.Eg();a.xi==b&&a.Rg(f);a.u.has(b)||a.u.set(b,[]);Nb(a.u.get(b).push(g),g)||""!=g&&a.u.get(b).push(g)}else a.Gl?(g=f.Eg(),a.Fe==g&&a.Rg(f),Nb(c,g)||""!=g&&c.push(g)):a.Rg(f);f.ln=!0}}if(a.Nk)for(a.l.Jb(WP("Other","")),""==a.xi&&rO(a.l,0),
3042a.l.l.ih(a.l,!1),a.l.Sh=!1,a.l.W(!0),c=m(a.u.entries()),b=c.next();!b.done;b=c.next()){if(e=m(b.value),b=e.next().value,d=e.next().value,a.l.Jb(WP(b,b)),a.xi==b){if(0<d.length){a.h.Jb(WP("Other",""));""==a.Fe&&rO(a.h,0);for(e=0;e<d.length;++e)g=d[e],a.h.Jb(WP(g,g)),a.Fe==g&&rO(a.h,e+1);a.h.l.ih(a.h,!1);a.h.Sh=!1}a.h.W(0<d.length)}}else if(a.Gl){if(0<c.length){a.h.Jb(WP("Other",""));""==a.Fe&&rO(a.h,0);for(e=0;e<c.length;++e)g=c[e],a.h.Jb(WP(g,g)),a.Fe==g&&rO(a.h,e+1);a.h.l.ih(a.h,!1);a.h.Sh=!1}a.h.W(0<
3043c.length)}}}h.$E=function(){if(!OW.D.$E.call(this))return!1;this.ng=!1;this.g.J(this.va,"action",this.JI);this.g.J(this.L,"action",this.yP);this.Gl&&this.g.J(this.h,"action",this.UN);this.Nk&&this.g.J(this.l,"action",this.GN);this.m[0]=this.Uh;this.m[1]=this;return!0};h.ey=function(){OW.D.ey.call(this);PW(this);var a=this.s.get(this.Uh);if(a){a=m(a);for(var b=a.next();!b.done;b=a.next())b=b.value,$Ha(b),b.ln=!0}};
3044h.ZE=function(){if(!OW.D.ZE.call(this))return!1;if(this.o)return!0;this.g.kc(this.va,"action",this.JI);this.g.kc(this.L,"action",this.yP);this.Gl&&this.g.kc(this.h,"action",this.UN);this.Nk&&this.g.kc(this.l,"action",this.GN);this.ng=!1;this.m[0]==this.Uh&&this.m[1]==this&&(this.m[0]=null,this.m[1]=null);return!0};h.QL=function(){var a=this.s.get(this.Uh);if(a){a=m(a);for(var b=a.next();!b.done;b=a.next())b.value.ln=!1;AK.ba("n")}};
3045h.JI=function(){var a=this.Uh+":"+db();a=bJa(this.Z,a);a.ul(this.Fe);a.Xo(this.Zp?1:0);this.Rg(a,!0);a.ln=!0};
3046h.Rg=function(a,b){if(null!==Kb(this.j,function(d){return d[0]==a.getKey()}))return!1;var c=this.WJ();c.render(z("bankItems_"+this.Qm));a.rG=this.cb;ZHa(a,c);this.j.push([a.getKey(),c]);c.J("mousedown",this.j2,void 0,this);c.J("blur",this.g2,void 0,this);c.J("focus",this.i2,void 0,this);c.J("keydown",this.vN,void 0,this);a.W(!0);a.cn();c.J("delete",this.h2,void 0,this);c.J("autofill",this.l2,void 0,this);b&&c.focus();return!0};
3047h.h2=function(a){var b=Kb(this.j,function(c){return c[1]==a.target});Qb(this.j,b)&&(Jw(b[1].w()),this.dispatchEvent("delete"),PW(this))};h.yP=function(){AK.ba("n");this.dispatchEvent("doneEditing");var a=this.s.get(this.Uh);if(a){a=m(a);for(var b=a.next();!b.done;b=a.next())b=b.value,""!=b.aC&&b.setValue(b.aC)}TH(this)};h.UN=function(){var a=!1;if(0==wO(this.h))""!=this.Fe&&(this.Fe="",a=!0);else{var b=this.h.qe();null!==b&&b.getValue()!=this.Fe&&(this.Fe=b.getValue(),a=!0)}a&&PW(this)};
3048h.GN=function(){var a=!1;if(0==wO(this.l))""!=this.xi&&(this.xi="",a=!0);else{var b=this.l.qe();null!==b&&b.getValue()!=this.xi&&(this.Fe=b.getValue(),a=!0)}a&&PW(this)};h.Hr=function(){this.dispatchEvent("blur")};h.g2=function(){this.ng||UG(this.Hr,0,this)};h.i2=function(){this.ng=!0};h.j2=function(){this.ng=!0};h.vN=function(a){9==a.keyCode&&(a.target==this.j[0][1]&&a.shiftKey?(this.ng=!1,UG(this.Hr,0,this)):a.target!=this.j[this.j.length-1][1]||a.shiftKey||(this.ng=!1,UG(this.Hr,0,this)))};
3049h.Jo=function(a){var b=Kb(this.j,function(c){return c[0]==a});null!==b&&(Qb(this.j,b),Jw(b[1].w()))};
3049h.l2=function(a){if(null!==a.target){var b=this.s.get(this.Uh);if(w(b))for(var c=0;c<b.length;++c){var d=b[c];d.Qa!=a.target&&d.xj()&&(d.Em(!1),d.zc())}}};h.WJ=function(){return new MW(this.Zp,this.Qb)};
3050h.Ix=function(){var a=[],b=[],c=new Map,d=this.s.get(this.Uh);if(!w(d))return[a,b,c];for(var e=0;e<d.length;++e){var f=d[e];if(!f.uc()){var g=1==f.Cj();if(!this.Zp||g){var k=f.getValue();g=f.Dg();if(0!=Xd(k).length||0!=Xd(g).length){if(this.Nk){k=f.Aj();var l=f.Eg();c.get(k)||c.set(k,[]);0==Xd(l).length||Nb(b,l)||(c.get(k).push(l),b.push(l));if(this.xi!=k||this.Fe!=l)continue}else if(this.Gl&&(l=f.Eg(),0==Xd(l).length||Nb(b,l)||b.push(l),this.Fe!=l))continue;k=f.Dk();l={};l.content=0==Xd(g).length?
3051k:g;l.Oa=k;l.Pq=1==f.Cj();a.push(l)}}}}return[a,b,c]};function QW(){oM.call(this)}x(QW,oM);Ra(QW);h=QW.prototype;h.Yt=function(a){var b=QW.D.Yt.call(this,a),c=a.g.O("DIV",["Rh","U"]),d=a.g.O("DIV","Sh"),e=a.g.O("DIV",["Th","U"]),f=a.g.O("DIV","Uh");f.appendChild(a.g.O("SPAN","ge","edit bank"));b.appendChild(c);b.appendChild(d);b.appendChild(e);b.appendChild(f);return b};h.AL=function(a){return a.childNodes[0]};h.ib=function(a){return a.childNodes[1]};h.Qt=function(a){return a.childNodes[2]};h.Mt=function(a){return a.childNodes[3]};
3052h.fD=function(a){return(a=this.Mt(a))?a.children[0]:null};function RW(a,b){IN.call(this,nN,b||QW.getInstance(),a)}x(RW,$N);RW.prototype.K=function(){RW.D.K.call(this);var a=HH(this),b=this.Ve.fD(this.w());Qx(a,b,"mousedown",this.h,void 0,this)};RW.prototype.h=function(){this.dispatchEvent("editClicked")};function SW(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y){FW.call(this,y,t||new RW(y));this.Ac=b;this.NF=q;null!==e&&(this.ac=e);this.yb=a;this.Bb=0;null!==d&&(this.Bb=d);this.sb=c;this.Ub=g;this.jd=k;this.Rc=null;this.xl=TV.getInstance();this.h=!0;if(1==f||1==l||cK)this.h=!1;this.Ha=this.Z=this.u=this.m=this.Za=null;this.Vb=!1;w(u)&&(this.pe=u);a=mV(this.sb);this.$b=nV(a);this.Cb=tV(this.yb,this.$b);this.Sj=this.h&&!this.pe&&fz(this.Cb,3,!1);this.Y=this.M=this.Ja=this.l=null;this.Wa=!1;1==l&&(this.Wa=!0);this.Na=
3053!1;0==n&&(this.Na=!0);v&&(this.BP=v)}x(SW,FW);h=SW.prototype;h.Ac="";h.xl=null;h.pe=!1;h.Sj=!1;h.BP=null;
3054h.Ra=function(){var a={autocomplete:"new-street-address"};w(this.ac)&&(a.maxlength=this.ac);var b=[];b.push("Kh");b.push(hIa[this.Bb]);this.Na&&b.push("Wh");OO[this.yb.u]&&b.push("cw");a["class"]=b.join(" ");this.Wa&&(a.type="password",a.autocomplete="new-password",this.m=this.g.O("DIV","jb-kb-lb"),this.Z=this.g.O("DIV","jb-kb-lb"),this.Za=TP("change",void 0,void 0,void 0,1),this.Za.render(this.m),this.Za.W(!0),this.m.setAttribute("style","display:none"),this.u=TP("visibility",void 0,void 0,void 0,
30554),this.u.rd("E"),this.u.render(this.Z),this.u.W(!0),this.Ha=this.g.O("div",{"class":"jb-kb-lb",style:"display:none"},"[stored securely]"),b=HH(this),Qx(b,this.Za,"action",this.R6,void 0,this),Qx(b,this.u,"action",this.S6,void 0,this));this.Xa=this.g.O(this.Na?"textarea":"input",a);this.h?(this.Lh=this.g.O("span","Qh"),this.j=this.g.O("span","Lh",this.Xa,this.Lh),this.UH&&(b=ow(document,"div"),b.setAttribute("class","E K S"),b.innerText="arrow_drop_down",this.Lh.appendChild(b),FG(this.Lh,!0))):this.Wa?
3056this.j=this.g.O("span","Lh",this.Xa,this.Ha,this.m,this.Z):(this.Ta=this.g.O("span","Lh",this.Xa),this.j=B("DIV",void 0,this.Ta));this.Xa.setAttribute("label","");this.lc.ue(this.Xa);if(this.h){PN(this.Fa,!1);this.Fa.Uc()||this.Ea(this.Fa,!0);a=this.Fa.Ve;var c=this.Fa.w();this.Ja=this.g.O("DIV",["jb-kb-lb","Xh"]);this.l=TP("clear",void 0,void 0,void 0,1);this.l.render(this.Ja);this.l.W(!0);b=HH(this);Qx(b,this.l,"action",this.P6,void 0,this);b=a.Mt(c);var d=this.g.O("SPAN");b.appendChild(d);this.Y=
3057new mU(ay(aJa,{pe:this.pe}));this.Ea(this.Y,!1);this.Y.render(b);this.Sj?(a=a.Qt(c),a.appendChild(this.g.O("I","jb-kb-lb","District banks only")),c=this.g.O("A",{href:"/iep/g/support/online-guides/user-guide/district-banks-for-users",target:"_blank"},"district bank"),c=this.g.O("DIV","jb-kb-lb","The district has limited this field to only ",c," values."),this.M=new mU(c),this.M.render(a),a.appendChild(this.Ja),ix(a,"U"),b.style.display="none",this.Xa.style.setProperty("caret-color","transparent"),
3058this.Sj&&gx(this.Xa,"Zh")):(this.Ja.style.display="none",ix(a.Qt(c),"Th"))}};h.P6=function(){this.setValue("");this.Xa.focus()};
3059h.setValue=function(a,b){if(null!=b){var c=B("DIV");c.textContent=a;OO[b]&&c.classList.add("cw");this.w().appendChild(c)}else SW.D.setValue.call(this,a),this.Wa&&("\nSG_PW_SENTINEL"==a?(this.m.setAttribute("style",""),this.Ha.setAttribute("style","padding:0 8px 0 0"),this.Xa.setAttribute("style","display:none"),this.Z.setAttribute("style","display:none")):(this.m.setAttribute("style","display:none"),this.Ha.setAttribute("style","display:none"),this.Xa.setAttribute("style",""),this.Z.setAttribute("style",
3060"")))};
3061h.K=function(){var a=this;SW.D.K.call(this);var b=HH(this);b.J(this.Xa,"focus",this.Q6);this.Sj&&(b.J(this.Xa,"contextmenu",function(c){return c.preventDefault()}),b.J(this.Xa,"drop",function(c){return c.preventDefault()}),b.J(this.Xa,"dragstart",function(c){return c.preventDefault()}),b.J(this.Lh,"click",function(){return a.Xa.focus()}),b.J(this.Xa,"keydown",this.we));this.h&&(cJa(this),this.Sj||Qx(b,this.Fa,"editClicked",this.w2,void 0,this),Qx(b,this.Rc,"doneEditing",this.NW,void 0,this),zK(AK,
3062"c",this.QN,this),b.J(this.Rc,"blur",this.O6),b.J(this.Rc,"delete",this.N6),this.pe&&this.setValue("Click to edit bank..."),b.J(this.Lh,"click",function(){return a.Xa.focus()}))};h.$=function(){SW.D.$.call(this);this.h&&(AK.unsubscribe("c",this.QN,this),null===this.Rc||C(this.Rc),null===this.l||C(this.l),null===this.M||C(this.M))};
3063h.R6=function(){this.m.setAttribute("style","display:none");this.Ha.setAttribute("style","display:none");this.Xa.setAttribute("style","");this.Z.setAttribute("style","");this.Xa.value=""};h.S6=function(){(this.Vb=!this.Vb)?(this.Xa.setAttribute("type","text"),this.u.Fc("visibility_off")):(this.Xa.setAttribute("type","password"),this.u.Fc("visibility"))};
3064h.qa=function(){SW.D.qa.call(this);delete this.Bb;delete this.ac;delete this.Ac;delete this.NF;delete this.sb;C(this.Ub);this.xl=this.l=this.Rc=this.jd=this.Ub=null;delete this.pe;delete this.Sj;delete this.Cb};h.xN=function(){this.ig=!0;UV(this.xl,this);!this.h||this.Rc.isVisible()||this.Fa.isVisible()||this.uo(!0);this.Sj&&gx(this.Xa,"Yh")};h.BN=function(a){Rw(this.w(),a.target)&&UV(this.xl,this)};
3065h.KN=function(a){if(!this.pe){this.Sj&&ix(this.Xa,"Yh");var b=a.target;this.dispatchEvent(new EW("action",this,b))&&(b=b.getValue(),this.lc.getValue()!=b&&(this.lc.setValue(b),this.dispatchEvent("change")),this.Wg());a.stopPropagation()}};
3066h.we=function(a){var b=!1;if(this.Sj){var c=[65,67,70,78,82,84];c=(a.metaKey||a.ctrlKey)&&c.includes(a.keyCode);[38,40,37,39,36,35,33,34,9].includes(a.keyCode)||c||(a.preventDefault(),a.stopPropagation(),b=!0)}else this.h&&this.Rc.isVisible()&&9==a.keyCode&&(a.shiftKey?(UV(this.xl,null),b=!0):this.Rc.isVisible()&&0<this.Rc.j.length&&(b=this.Rc.ng=!0));return b?!0:SW.D.we.call(this,a)};h.Q6=function(){this.dispatchEvent("focus");UV(this.xl,this);!this.h||this.Fa.isVisible()||this.Rc.isVisible()||this.uo(!0)};
3067h.ML=function(){this.Y&&this.Y.m||this.M&&this.M.m?this.Xa.focus():(this.dispatchEvent("blur"),this.Wg(),this.h?this.Rc.ng||(UV(this.xl,null),this.Rc.Ga(!1)):UV(this.xl,null),this.Sj&&ix(this.Xa,"Yh"))};h.N6=function(){TW(this)};h.O6=function(){this.hasFocus()||UV(this.xl,null)};h.nu=function(){this.Wg();this.h&&!this.Rc.o&&this.Rc.Ga(!1)};h.NW=function(){this.Rc.Ga(!1);this.uo(!0);this.Xa.focus()};
3068h.uo=function(a){if(this.h){var b=this.Fa.isVisible(),c=TIa(this);if(a&&b||!a&&b&&0==c)this.ty();else if(a&&!b||!a&&!b&&0<c)a&&(HW(this,""),IW(this,GW(this))),UG(this.$s,1,this),this.pD(),JW(this),UW(this)}};
3069function UW(a){var b=a.w(),c=b.querySelector("input").getBoundingClientRect(),d=a.Rc.isVisible();a=d?a.Rc.w():b.querySelector(".jb-te");var e=a.getBoundingClientRect(),f=null;d&&(f=a.querySelector("#bankPopupContainer"));c.top>e.top?d?(ix(f,"o"),gx(f,"p")):(ix(b,"Ph"),gx(b,"Oh")):d?(ix(f,"p"),gx(f,"o")):(ix(b,"Oh"),gx(b,"Ph"))}function TW(a){SIa(a);for(var b=a.Rc.Ix()[0],c=0,d=b.length;c<d;c++){var e=b[c],f=ay(VIa,{aJ:e.content,Pq:e.Pq,JS:!1});e=WP(f,e.Oa);a.Jb(e)}}
3070h.pD=function(){TW(this);this.Fa.Ga(!0);gx(this.w(),"jb-combobox-xl")};h.ty=function(){SIa(this);this.Fa.Ga(!1);ix(this.w(),"jb-combobox-xl")};h.w2=function(){this.Wg();this.Rc.Ga(!1);var a=this.Rc;a.Ia=0;a.isVisible()&&a.Kk();a=this.Rc;a.T=new dO(this.Xa,1);a.isVisible()&&a.Kk();this.Rc.Ga(!0);UW(this)};h.QN=function(){this.Fa.isVisible()&&(JW(this),UW(this));this.Rc.isVisible()&&(this.Rc.Kk(),UW(this))};
3071function cJa(a){var b=a.g.O("DIV",{"class":"Vh",tabindex:"0"});a.w().appendChild(b);a.Rc=new OW(a.yb,a,a.$b,a.Ub,a.jd,!1,!1,b,void 0,a.pe,a.BP);b=a.Rc;SH(b);b.QD=!0;a=a.Rc;SH(a);a.ZB=!0}h.Rg=function(a){return this.h?this.Rc.Rg(a):!1};h.Jo=function(a){return this.h?this.Rc.Jo(a)?(TW(this),!0):!1:!1};h.AG=function(){TW(this)};h.hasFocus=function(){return null!=document.activeElement&&this.Xa===document.activeElement};h.blur=function(){this.Xa.blur()};h.ho=function(){return this.h};function VW(a,b,c){hQ.call(this,a,b,c);this.h=this.m();BN(this)}x(VW,hQ);VW.prototype.K=function(){VW.D.K.call(this);this.h.render(this.Nb);D(this.h,"action",this.Je,void 0,this)};VW.prototype.$=function(){Mx(this.h,"action",this.Je,void 0,this);VW.D.$.call(this)};VW.prototype.getValue=function(){return this.h.getValue()};VW.prototype.m=function(){return new wU(void 0,void 0,void 0,void 0)};function WW(a,b,c,d){w(c)&&c&&(this.u=!0);VW.call(this,a,b,d)}x(WW,VW);WW.prototype.m=function(){return BU(this.u)};function XW(a,b,c,d,e,f){hQ.call(this,b,c,f);w(d)&&(this.fT=d);w(e)&&(this.JG=e);this.items=a}x(XW,hQ);h=XW.prototype;h.fT=!1;h.JG=!1;h.Ra=function(){if(this.fT){var a=this.g.O("DIV","jb-kb-lb xk",this.En);this.Nb=this.g.O("DIV","jb-kb-lb");var b=this.g.O("BR");a=this.g.O("DIV","jb-kb-lb",a,b,this.Nb);this.Ld=this.g.O("DIV","jb-kb-lb fc");this.j=this.g.O("DIV",{"class":"jb-kb-lb Ak",style:"padding-left: "+this.Fn+"px;"},a,this.Ld)}else XW.D.Ra.call(this)};
3072h.K=function(){XW.D.K.call(this);this.h=this.PP();this.h.render(this.Nb);D(this.h,"change",this.Je,void 0,this)};h.$=function(){D(this.h,"change",this.Je,void 0,this);XW.D.$.call(this)};h.PP=function(){return AU(this.items,this.JG)};h.getValue=function(){return this.h.getValue()};h.je=function(){return this.h.je()};function YW(a,b,c,d,e){hQ.call(this,a,c,e);w(d)&&(this.CO=d);w(b)&&(this.lq=b)}x(YW,hQ);h=YW.prototype;h.CO=!1;h.lq=void 0;h.nq=void 0;
3073h.Ra=function(){var a="min-width: "+this.Fn+"px;",b=this.g.O("DIV",{"class":"jb-kb-lb xk",style:a},this.En),c={type:"file"};w(this.lq)&&(c.name=this.lq);this.Nb=this.g.O("INPUT",c);this.Ld=this.g.O("DIV","jb-kb-lb fc");c=this.g.O("BR");var d=this.g.O("DIV",{"class":"jb-kb-lb xk",style:a});if(this.CO){a=this.g.O("DIV",{"class":"jb-kb-lb xk",style:a});var e=this.g.O("BR"),f=this.g.O("I",void 0,"Do not reupload the form unless file changes are required.");b=this.g.O("DIV","jb-kb-lb",b,this.Nb,this.Ld,
3074c,d,e,a,f)}else b=this.g.O("DIV","jb-kb-lb",b,this.Nb,this.Ld,c,d);this.j=b};h.K=function(){YW.D.K.call(this);D(this.Nb,"mousedown",this.Je,void 0,this)};h.$=function(){YW.D.$.call(this);Mx(this.Nb,"mousedown",this.Je,void 0,this)};h.W=function(){};h.setValue=function(a,b){w(b)&&null!==b?this.qb(b):this.qb("")};h.getValue=function(){return this.nq};function ZW(a){if(!w(a.Nb.files[0]))return a.qb("Choose a file"),!1;a.qb("");return!0};function $W(a,b,c,d,e){hQ.call(this,b,c,e);this.items=a||[];w(d)&&(this.QP=d)}x($W,hQ);h=$W.prototype;h.QP="Select...";h.K=function(){$W.D.K.call(this);this.h=$P();this.button=QBa(this.QP);this.button.Sh=!0;this.button.gf(this.h);EH.prototype.Ea.call(this,this.button);this.button.render(this.Nb);this.Tm();D(this.h,"action",this.Je,void 0,this);this.gf()};
3075h.gf=function(){for(var a=m(this.items),b=a.next();!b.done;b=a.next())if(b=b.value,"separator"==b.type){var c=VP();this.h.Ea(c,!0);c=c.w();c.className="mq";c.innerText=b.label}else c=WP(b.label,b.Oa),null!=b.enabled&&!b.enabled&&c.W(!1),this.h.Ea(c,!0)};h.Je=function(a){this.button.setValue(a.target.getValue());this.button.Uz(a.target.Zd());$W.D.Je.call(this,a)};h.getValue=function(){return this.button.getValue()};h.Zd=function(){return this.getValue()};h.Ea=function(a,b){this.h.Ea(a,b)};
3076h.Jm=function(){var a=this.h.w(),b=UO(this.Nb);a.style.zIndex=b+1};function dJa(a){a.border="1px solid #ccc";a.Tm()}h.Tm=function(){$W.D.Tm.call(this);this.Nb&&this.border&&(this.Nb.style.border=this.border)};function aX(a,b,c,d){hQ.call(this,b,c,d);this.m=a;BN(this)}x(aX,hQ);aX.prototype.K=function(){aX.D.K.call(this);this.w().firstElementChild.style.padding="10px 10px 0 0";this.h=new rU(this.m,void 0,void 0);this.h.render(this.Nb);D(this.h,"action",this.Je,void 0,this)};aX.prototype.$=function(){Mx(this.h,"action",this.Je,void 0,this);aX.D.$.call(this)};aX.prototype.getValue=function(){return this.h.getValue()};function bX(a,b,c,d,e,f){hQ.call(this,a,b,f);this.Na=e?e:!1;this.Vb=c?c:!1;this.m=null;this.ac=a?a:"* Password:";this.Ja=d?d:!1;this.Bb=-1;this.Z=null;BN(this);this.mb=this.Za=this.u=this.Wa=this.Y=null;this.yb=!1}x(bX,hQ);h=bX.prototype;h.qC=null;h.bt=null;h.Ou=null;h.cl=null;
3077h.Ra=function(){var a={"class":"jb-kb-lb xk",style:"min-width: "+this.Fn+"px;"},b={"class":"jb-kb-lb xk U"},c=this.g.O("DIV",a,this.ac);this.Nb=this.g.O("DIV","jb-kb-lb");this.Za=this.g.O("DIV","jb-kb-lb");this.Wa=this.g.O("DIV",b);this.mb=this.g.O("DIV",b,"[stored securely]");this.Ld=this.g.O("DIV","jb-kb-lb fc");this.Na&&(this.Ou=this.g.O("DIV","jb-kb-lb Nq"),this.cl=this.g.O("DIV","jb-kb-lb"));b=void 0;this.Ja&&(b=this.g.O("BR"),this.qC=this.g.O("DIV",a,"* Confirm Password: "),this.bt=this.g.O("DIV",
3078"jb-kb-lb"));this.j=this.g.O("DIV","jb-kb-lb",c,this.Nb,this.mb,this.Wa,this.Za,this.Ou,this.cl,this.Ld,b,this.qC,this.bt)};
3079h.K=function(){bX.D.K.call(this);this.h=BU(this.Vb);this.h.render(this.Nb);if(this.Na){var a=new gP(void 0);$Aa(a.h,0);a.w()&&fBa(a);aBa(a.h,100);a.w()&&gBa(a);this.Z=a;this.Z.render(this.Ou);this.cl.innerHTML="Strength";D(this.h,"action",this.GJ,void 0,this)}this.Y=TP("change",void 0,void 0,void 0,1);this.Y.render(this.Wa);this.u=TP("visibility",void 0,void 0,void 0,4);this.u.rd("E");this.u.render(this.Za);eJa(this,!1);D(this.h,"action",this.Je,void 0,this);this.Ja&&(this.m=BU(this.Vb),this.m.render(this.bt),
3080D(this.m,"action",this.Je,void 0,this));D(this.Y,"action",this.RP,void 0,this);D(this.u,"action",this.SP,void 0,this);D(this.Y.w(),"click",this.RP,void 0,this);D(this.u.w(),"click",this.SP,void 0,this)};h.$=function(){this.Na&&Mx(this.h,"action",this.GJ,void 0,this);Mx(this.h,"action",this.Je,void 0,this);this.Ja&&(Mx(this.m,"action",this.Je,void 0,this),C(this.m));C(this.Z);C(this.u);C(this.Y);bX.D.$.call(this)};
3081h.qa=function(){bX.D.qa.call(this);this.Y=this.u=this.m=null;delete this.mb;delete this.Za;delete this.Wa;delete this.bt;delete this.Ou;delete this.cl};h.W=function(a){bX.D.W.call(this,a);this.h.W(a);this.Ja&&this.m.W(a);
3081this.u.W(a);this.Y.W(a)};function eJa(a,b){[a.Nb,a.Za,a.qC,a.bt,a.Ou,a.cl].forEach(function(c){c&&(b?(gx(c,"U"),ix(c,"jb-kb-lb")):(ix(c,"U"),gx(c,"jb-kb-lb")))});[a.Wa,a.mb].forEach(function(c){c&&(b?(ix(c,"U"),gx(c,"jb-kb-lb")):(gx(c,"U"),ix(c,"jb-kb-lb")))})}
3082h.setValue=function(a,b){if(a||""===a)this.h.setValue(a),this.Ja&&this.m.setValue(a),xc(a)&&this.Na&&(this.Z.setValue(0),cX(this,"Strength")),eJa(this,"\nSG_PW_SENTINEL"===a);w(b)&&null!==b?this.qb(b):this.qb("")};h.RP=function(){this.setValue("")};h.SP=function(){(this.yb=!this.yb)?(xU(this.h,{type:"text"}),this.m&&xU(this.m,{type:"text"}),this.u.Fc("visibility_off")):(xU(this.h,{type:"password"}),this.m&&xU(this.m,{type:"password"}),this.u.Fc("visibility"))};h.getValue=function(){return this.h.getValue()};
3083function cX(a,b){null!==a.cl&&(a.cl.innerHTML=b,"Cannot use password"==b&&(a.cl.innerHTML+=' <a href="/iep/g/support/online-guides/user-guide/password-details" target="_blank" rel="noopener noreferrer">Details</a>'))}h.GJ=function(){var a=this.getValue();if(""===a)this.Z.setValue(0),cX(this,"Strength");else{var b=++RQ;this.Bb=b;AK.ka("L",this.f7,this);AK.ba("z");var c=new lB;EE(c,11);FE(c,b);b=new OB;M(b,1,a);T(c,12,b);eN(dN.getInstance(),c)}};
3084h.f7=function(a){this.Bb==a.Sa()&&(a=null!=I(a,11)?N(a,PB,11):null,a=null!=I(a,1)?L(a,1,0):null,null==a?(this.Z.setValue(0),cX(this,"Strength")):(this.Z.setValue(fJa(a)),cX(this,gJa(a))))};function fJa(a){if(0==a||1==a)return 33;if(2==a)return 67;if(3==a||4==a)return 100;throw Error("unknown password strength");}
3085function gJa(a){if(0==a)return"Cannot use password";if(1==a)return"Too short";if(2==a)return"Fair";if(3==a)return"Strong";if(4==a)return"Not rated";throw Error("unknown password strength");};function dX(a,b,c,d,e,f){XW.call(this,a,b,c,d,e,f);this.m=!0}x(dX,XW);dX.prototype.PP=function(){var a=new zU(this.items,this.JG,void 0);a.yw(this.m);return a};dX.prototype.yw=function(a){this.m=a;this.h&&this.h.yw(a)};function eX(a,b,c,d,e,f){w(a)||(a="Save");w(b)||(b=150);w(c)&&c&&(this.mM=!0);w(d)&&d&&(this.hJ=!0);w(e)&&e&&(this.XR=!0);hQ.call(this,a,b,f);var g;this.hJ&&(g=1);var k;this.XR&&(k=1);this.h=TP(this.En,void 0,void 0,g,k)}x(eX,hQ);h=eX.prototype;h.mM=!1;h.hJ=!1;h.XR=!1;h.Kp=null;
3086h.Ra=function(){var a="min-width: "+this.Fn+"px;",b=this.g.O("DIV",{"class":"jb-kb-lb xk",style:a});a=this.g.O("DIV",{"class":"jb-kb-lb xk",style:a});this.Nb=this.g.O("DIV","jb-kb-lb");this.Ld=this.g.O("DIV","jb-kb-lb fc");var c=this.g.O("BR");this.Kp=this.g.O("DIV","jb-kb-lb Ck");this.j=this.mM?this.g.O("DIV","jb-kb-lb Ak",b,this.Nb,this.Ld,this.Kp):this.g.O("DIV","jb-kb-lb Ak",b,this.Nb,this.Ld,c,a,this.Kp)};
3087h.K=function(){eX.D.K.call(this);this.h.render(this.Nb);nw().e2e&&this.Nb.setAttribute("data-e2e","save_button")};h.qa=function(){eX.D.qa.call(this);delete this.Kp};h.setValue=function(a,b){w(b)&&null!==b?this.qb(b):(this.qb(""),this.Kp.innerHTML="")};function hJa(){return Y("<div>"+iJa()+fX()+"</div>")}function iJa(){return Y('<div class="'+Z("ee")+'"><div tag="list"></div></div>')}function fX(){return Y('<div class="'+Z("jb-kb-lb")+'" tag="input_wrapper"><input class="'+Z("zk")+'" tag="input"/><div class="'+Z("Fp")+'" tag="menu"></div></div>')}
3088function jJa(a){Ta(a.list);var b=a.list;var c=a.E1;a=a.readOnly;var d="",e=b.length;if(0<e)for(c=0;c<e;c++){var f=b[c];d+='<div class="'+Z("Sd")+" "+Z("Ud")+'"><span class="'+Z("ge")+'">'+X(f.label)+"</span>"+(f.error?'<span class="'+Z("fc")+'">'+X(f.error)+"</span>":"")+(a?"":'<span tag="delete" class="'+Z("D")+'">delete</span>')+"</div>"}else d+="<div><em>"+X(c)+"</em></div>";return Y(d)}
3089function kJa(a){Ta(a.list);var b=a.list;var c=a.cX;a="";var d=b.length;if(0<d)for(c=0;c<d;c++){var e=b[c];a+='<div class="'+Z("td")+'">'+X(e.label)+"</div>"}else a+='<div class="'+Z("sd")+'">'+X(c)+"</div>";return Y(a)};function gX(a,b){xx.call(this,a);this.item=b}x(gX,xx);function hX(a,b,c,d){EH.call(this,c);this.Z="";this.l=b?b:[];this.h=[];this.Za=a;this.Ta=this.Y=null;this.Ja=!0;this.M=0;this.mb=d?d:!1;this.Ha=!1;this.u=null}x(hX,EH);h=hX.prototype;h.Ra=function(){var a=by(hJa);this.Vc(a)};
3090h.Vc=function(a){hX.D.Vc.call(this,a);this.s=a.querySelector("*[tag=input]");this.s.placeholder=this.Za;this.s.value=this.Z;this.Fa=a.querySelector("*[tag=menu]");this.m=a.querySelector("*[tag=list]");iX(this);this.h||(this.h=[]);lJa(this);jX(this,!1);this.j=a.querySelector("*[tag=input_wrapper]").parentElement};h.K=function(){hX.D.K.call(this);D(this.s,"input",this.W2,void 0,this);D(this.s,"focus",this.J6,void 0,this);D(this.s,"blur",this.I6,void 0,this);D(this.s,"keydown",this.K6,void 0,this)};
3091function mJa(a){a.Wa&&a.Z!=a.s.value&&(a.Z=a.s.value,DQ(a.u,a.Uv,"search_input",a.Wa(a.Z),a.A_,a))}h.K6=function(a){if(a.shiftKey||13!=a.keyCode)switch(a.keyCode){case 38:a.preventDefault();kX(this,this.M-1);break;case 40:a.preventDefault(),kX(this,this.M+1)}else a.preventDefault(),0<this.h.length?(this.M>=this.h.length&&kX(this,0),lX(this,this.h[this.M])):this.Ja&&(lX(this,{label:this.s.value,Oa:this.s.value}),this.s.value="")};h.W2=function(){mJa(this)};h.I6=function(){jX(this,!1)};
3092h.J6=function(){mJa(this);jX(this,!0)};function jX(a,b){a.Fa.style.display=b?"":"none"}h.Xz=function(a,b,c,d){this.Uv=a;this.u=b;this.Wa=c;this.gv=d};h.A_=function(a){this.h=this.gv.call(this.u,a);lJa(this)};function kX(a,b){if(!(0>=a.h.length)){a.M=(b+a.h.length)%a.h.length;for(b=0;b<a.Fa.childElementCount;b++)a.Fa.children[b].classList.remove("ud");a=a.Fa.children[a.M];a.classList.add("ud");a.scrollIntoView({block:"nearest"})}}
3093function lJa(a){a.Fa.innerHTML="";var b=ay(kJa,{list:a.h,cX:"No results found."});a.Fa.appendChild(b);if(0<a.h.length){for(b={wp:0};b.wp<a.Fa.childElementCount;b={wp:b.wp},b.wp++)a.Fa.children[b.wp].onmousedown=function(c){return function(d){var e=a.h[c.wp];d.preventDefault();d.stopPropagation();lX(a,e)}}(b);kX(a,0)}else for(b=0;b<a.Fa.childElementCount;b++)a.Fa.children[b].onmousedown=function(c){return c.preventDefault()}}
3094function iX(a){if(a.Y)nJa(a.Y,a.l.map(function(d){return d.Oa}));else if(a.m){a.m.innerHTML="";var b=ay(jJa,{list:a.l,readOnly:a.Ha,E1:"None selected yet."});a.m.appendChild(b);for(b={xp:0};b.xp<a.m.childElementCount;b={xp:b.xp},b.xp++){var c=a.m.children[b.xp].querySelector("*[tag=delete]");c&&(c.onclick=function(d){return function(){return oJa(a,a.l[d.xp])}}(b))}b=!a.Ha;a.mb&&0<a.l.length&&(b=!1);a.s.style.display=b?"":"none"}}
3095function lX(a,b){var c=pJa(a);a.l.find(function(d){return c(d.Oa,b.Oa)})?a.dispatchEvent(new gX("already_added",b.Oa)):(a.l.push(b),iX(a),a.dispatchEvent(new gX("change",b.Oa)));a.s.value=""}function oJa(a,b){var c=pJa(a);a.l=a.l.filter(function(d){return!c(d.Oa,b.Oa)});iX(a);a.dispatchEvent(new gX("change",b.Oa))}h.jD=function(a){for(var b=m(this.l),c=b.next();!c.done;c=b.next())if(c=c.value,c.Oa===a)return c.label;return"Not Found"};
3096function qJa(a){return a.l?a.l.map(function(b){return b.Oa}):[]}h.yr=function(a){this.l=a;iX(this)};h.setValue=function(a){this.yr(a)};h.Ro=function(a){this.Ja=a};h.gG=function(a){this.m&&(this.m.innerHTML="");this.Y=a};h.Wz=function(a){this.Ta=a};function pJa(a){(a=a.Ta)||(a=function(b,c){return b==c});return a}h.Lg=function(a){this.Ha=a;iX(this)};function mX(a,b,c,d,e,f){hQ.call(this,b,c,e);this.m=a;a="";w(d)&&(a=d);this.h=new hX(a,this.m,void 0,f);BN(this);this.Ea(this.h,!0)}x(mX,hQ);h=mX.prototype;h.jD=function(a){return this.h.jD(a)};h.getValue=function(){return qJa(this.h)};h.kg=function(){var a=qJa(this.h);return!this.required||0<a.length};h.yr=function(a){this.h.yr(a)};h.Xz=function(a,b,c,d){this.h.Xz(a,b,c,d)};h.Ro=function(a){this.h.Ro(a)};h.gG=function(a){this.h.gG(a)};h.Wz=function(a){this.h.Wz(a)};h.Lg=function(a){this.h.Lg(a)};function nX(a,b,c,d,e){hQ.call(this,b,c,e);this.items=a;w(d)&&(this.TP=d);this.h=ZP(this.TP)}x(nX,hQ);h=nX.prototype;h.TP="Select...";
3097h.K=function(){nX.D.K.call(this);this.h.render(this.Nb);D(this.h,"change",this.Je,void 0,this);for(var a=0,b=this.items.length;a<b;a++){var c=this.items[a];if("separator"==c.type){var d=VP();this.h.Jb(d);d=d.w();d.className="mq";d.innerText=c.label}else d=WP(c.label,c.Oa),null!=c.enabled&&!c.enabled&&d.W(!1),this.h.Jb(d),nw().e2e&&d.w().setAttribute("data-e2e","sgMenuItem"+a)}nw().e2e&&this.Nb.setAttribute("data-e2e","select")};h.$=function(){Mx(this.h,"change",this.Je,void 0,this);nX.D.$.call(this)};
3098h.getValue=function(){var a=this.h.qe();return null===a?null:a.getValue()};h.Zd=function(){var a=this.h.qe();return null===a?"":a.Zd()};h.Jb=function(a){this.h.Jb(a)};h.Jm=function(){var a=this.h.Sb().w(),b=UO(this.Nb);a.style.zIndex=b+1};function oX(a,b,c){hQ.call(this,a,b,c);a=qN(eU,"Jb");this.h=new fU("",a,void 0);BN(this)}x(oX,hQ);oX.prototype.K=function(){oX.D.K.call(this);this.h.render(this.Nb);var a=this.h;a.KE=100;a.resize();a=HH(this);this.Oc=new BP(this.h.w());a.J(this.Oc,"input",this.Je)};oX.prototype.$=function(){C(this.Oc);this.Oc=null;oX.D.$.call(this)};oX.prototype.getValue=function(){return this.h.getValue()};function pX(a,b,c){return new XW(a,b,c,void 0,void 0,void 0)}function qX(a,b){return new YW(a,b,void 0,void 0,void 0)}function rX(a,b,c){return new VW(a,b,c)}function sX(a,b,c){return new WW(a,b,c,void 0)}function tX(a,b,c,d,e){return new dX(a,b,c,d,e,void 0)}function uX(a,b,c,d){return new nX(a,b,c,d,void 0)}
3099function rJa(a,b,c,d,e){var f=SP("Mi");f.dg=!0;var g=f.ib();e=ay(UCa,{f_:e?e:""});g.appendChild(e);f.tc(a);a=f.Yb;var k=a.Ci();g=fI(a,k);iI(a,k,!1);g.textContent=b;fI(a,a.Wn).textContent=c;Ix(f,gI,function(l){l.key==k&&d()});return f}function sJa(a,b){tJa([a],"Change Student Building",function(c){return b(c[0])},["New Building:"],void 0)}
3100function vX(a,b,c,d,e,f,g,k,l){function n(){var y=q.reduce(function(G,K,J){J=!l||l[J];return G&&(K.kg()||!J)},!0);iI(t,u,y)}var q=[];c=rJa(c,d,e,function(){return f(q.map(function(y){return y.getValue()}))},g);var t=c.Yb,u=t.Ci();d=z("select_dg_content");for(e=0;e<a;e++){g=B("DIV");d.appendChild(g);var v=b(e);v.render(g);k&&k[e]&&v.setValue(k[e]);v.Jm();D(v,"change",n);q.push(v)}c.Ga(!0);0<q.length&&q[0].focus();n()}function wX(a,b,c,d,e,f,g){vX(a.length,function(k){return a[k]},b,c,d,e,f,g)}
3101function tJa(a,b,c,d,e){var f=0;1<a.length&&(f=7*d.reduce(function(g,k){return k.length>g?k.length:g},f));vX(a.length,function(g){return uX(a[g],d[g],f,"Choose one...")},b,"Change","Cancel",c,e)}function uJa(a){var b=[],c="";a.filter(function(d){return d&&fz(d,1004,!1)}
3101).forEach(function(d){if(L(d,17,"")!=c){var e={type:"separator",label:L(d,17,"")};b.push(e)}e={label:xF(d),Oa:wF(d)};b.push(e);c=L(d,17,"")});return b}
3102function vJa(a,b){return a.Mc()?a.Mc().map(function(c){return{label:c.Fb()+" "+c.Hb()+(" ("+c.Ic()+")"),Oa:b(c)}}):[]}function xX(a,b,c,d,e,f){var g=[];w(b)&&(g=b);a=new mX(g,a,c,"Search a user...",e,f);var k=yX();if(k){var l=d?d:function(q){return q},n=function(q){return AK.ba("W",q)};a.Xz("W",k,function(q){return function(t){return iCa(t,q,k,n)}},function(q){return vJa(q,l)})}return a}
3103function wJa(a,b){return a.Sd()?a.Sd().map(function(c){return{label:c.Fb()+" "+c.Hb()+" ("+eF(c)+")",Oa:b(c)}}):[]}function xJa(a,b){a=new mX(a?a:[],void 0,0,"Search a student...",void 0,!0);var c=yX();if(c){var d=b?b:function(f){return f},e=function(f){return AK.ba("Y",f)};a.Xz("Y",c,function(f){return function(g){return kCa(g,f,c,e)}},function(f){return wJa(f,d)})}return a};function zX(a,b){JT.call(this,a,b)}x(zX,JT);h=zX.prototype;h.Ng=function(){return!1};h.KS=Qa;h.AM=function(){};h.Uy=function(){var a=this.Mf;a&&(gGa(this,a),a.contentEditable=!0,oGa(this,a.innerHTML,a),this.iy())};h.AO=Qa;function AX(a){this.g=a;this.o=!0;this.j=[]}function BX(a){if(!a.h){var b=sT(a.g);b.tagName&&"IMG"==b.tagName?a.h=b.getAttribute("alt")||"":a.h=Yw(a.g)}return a.h}AX.prototype.Gj=function(){return this.o};function yJa(a,b,c,d){var e=new AX(a);e.g.href=b;c&&(a.target=c);d&&(e.j=d);return e}function zJa(a,b){var c=new AX(a);var d=yc(BX(c));d=AJa(d)?0>d.search(/:/)?"http://"+Nd(d):d:BJa.test(d)?"mailto:"+d:null;c.g.href=d?d:"";b&&(a.target=b)}
3104function AJa(a){if(/\s/.test(a)||BJa.test(a))return!1;var b=!1;/^[^:\/?#.]+:/.test(a)||(a="http://"+a,b=!0);a=a.match(oe);if(-1!=Db(["mailto","aim"],a[1]))return!0;var c=a[3];if(!c||b&&-1==c.indexOf(".")||/[^\w\d\-\u0100-\uffff.%]/.test(c))return!1;b=a[5];return!b||0==b.indexOf("/")}var BJa=/^[\w-]+(\.[\w-]+)*\@([\w-]+\.)+(\d+|\w\w+)$/i;function CX(){jT.call(this)}x(CX,jT);CX.prototype.eh=function(){return"BTF"};var CJa=ic({Fca:"+link",cba:"+createLink",Tba:"+formatBlock",dca:"+indent",uda:"+outdent",hea:"+strikeThrough",aca:"+insertHorizontalRule",kea:"+subscript",lea:"+superscript",Fea:"+underline",Laa:"+bold",yca:"+italic",Rba:"+fontSize",Qba:"+fontName",Pba:"+foreColor",Faa:"+backColor",sda:"+insertOrderedList",Lea:"+insertUnorderedList",zca:"+justifyCenter",Aca:"+justifyFull",Cca:"+justifyRight",Bca:"+justifyLeft"});
3105CX.prototype.Th=function(a){return a in CJa};var DJa=["+createLink"];h=CX.prototype;h.KM=function(a){return Nb(DJa,a)};function DX(a){return kT(a).getDocument()}
3106h.Ag=function(a,b,c,d){var e,f=b;switch(a){case "+backColor":if(null!==f)if(IFa){a=f;var g=ST(this.Ma);if(g&&g.If()){var k=cx(kT(this),Mv?" ":"");var l=g.dd();var n=1==l.nodeType?l:l.parentNode;""==n.innerHTML?(n.style.textIndent="-10000px",n.appendChild(k)):(n=kT(this).O("SPAN",{style:"text-indent:-10000px"},k),g.fv(n));dT(k).select()}EX(this,"hiliteColor",a,!1,!0);k&&(Mv&&(k.data=""),n.style.textIndent="")}else Iv?EX(this,"hiliteColor",f):EX(this,a,f);break;case "+createLink":var q=EJa(this,b,c,
3107d);break;case "+link":a:{q=f;this.Ma.T||dx(kT(this)).focus();g=(a=ST(this.Ma))&&yS(a);if((g=Zw(g,"A"))&&$w(g,xT))Lw(g);else if(q=EJa(this,a,"/",q)){if(!this.Ma.execCommand("link",q))if(l=this.Ma.ea.prompt("Link to:","http://"))a=BX(q)||l,g=q.g,g.href=l,f=BX(q),a!=f&&(l=sT(g),l.tagName&&"IMG"==l.tagName?l.setAttribute("alt",a?a:""):(3==l.nodeType&&(l=l.parentNode),Yw(l)!=f&&(l=g),Fw(l),g=$v(l),l.appendChild(cx(g,a))),q.h=null),q.o=!1,a=q.g,MFa?(g=a.nextSibling,g&&3==g.nodeType&&(vc(g.data,"\u00a0")||
3108vc(g.data," "))||(g=cx($v(a),"\u00a0"),Hw(g,a)),eT(g,1).select()):CT(a,!1);else{a=new IT(dT(q.g));Lw(q.g);for(q.g=null;q.j.length;)Lw(q.j.pop());pFa(a).select();q=null;break a}break a}q=null}break;case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":EX(this,a,null,!1,!0);Mv&&EX(this,a,null,!1,!0);iT&&Mv||je(ST(this.Ma),FJa);break;default:if(Jv&&"+formatBlock"==a&&f&&(f="<"+f+">"),"+foreColor"!=a||null!==f){switch(a){case "+indent":case "+outdent":iT&&(Mv&&(g=!0),Iv&&
3109(g="+outdent"==a?!DX(this).queryCommandEnabled("outdent"):!0));case "+insertOrderedList":case "+insertUnorderedList":if(k=PFa)k=DX(this),k=FX(this,!0,k,a,void 0);k?l="P"!=this.Ma.queryCommandValue("+defaultTag"):QFa||GJa(this);if(Mv&&OFa&&!this.queryCommandValue(a)){k=this.Ma.queryCommandValue("+defaultTag");if("P"==k||"DIV"==k)k=!1;else if(k=ST(this.Ma),k.If()&&3!=k.Ii().nodeType){var t=cx(kT(this),"\u00a0");k.nm(t,!1);dT(t).select();k=!0}else k=!1;e|=k}case "+formatBlock":t=!!this.Ma.l.Bidi;break;
3110case "+subscript":case "+superscript":NFa&&!this.queryCommandValue(a)&&(k="+subscript"==a?"+superscript":"+subscript",n=GX(k),this.queryCommandValue(k)||DX(this).execCommand(n,!1,null),DX(this).execCommand(n,!1,null));break;case "+underline":case "+bold":case "+italic":g=Mv&&iT&&this.queryCommandValue(a);break;case "+foreColor":case "+fontName":g=iT&&Mv}EX(this,a,f,t,!!g);e&&DX(this).execCommand("Delete",!1,!0);l&&DX(this).execCommand("FormatBlock",!1,"<div>")}}Mv&&dx(kT(this)).focus();return q};
3111h.queryCommandValue=function(a){switch(a){case "+link":return a=(a=ST(this.Ma))&&yS(a),a=Zw(a,"A"),!!a&&!!$w(a,xT);case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":return HJa(this,a);case "+formatBlock":return IJa(ST(this.Ma));case "+indent":case "+outdent":case "+insertHorizontalRule":return!1;case "+fontSize":case "+fontName":case "+foreColor":case "+backColor":var b=DX(this);return FX(this,!1,b,a,iT&&Mv);case "+underline":case "+bold":case "+italic":b=iT&&Mv;default:var c=
3112DX(this);return FX(this,!0,c,a,b)}};h.fO=function(a){FFa&&a.match(/^\s*<script/i)&&(a="&nbsp;"+a);GFa&&(a=a.replace(/<(\/?)strong([^\w])/gi,"<$1b$2"),a=a.replace(/<(\/?)em([^\w])/gi,"<$1i$2"));return a};h.lV=function(a){a=dw("IMG",a);for(var b=0,c;c=a[b];b++)if(Jv){c.removeAttribute("tabIndex");c.removeAttribute("tabIndexSet");var d=c;null!==d&&"removeAttribute"in d&&d.removeAttribute($a);try{delete d[$a]}catch(e){}c.g&&(c.tabIndex=c.g)}};
3113h.HJ=function(a){if(Nv){for(var b=fw(this.Ma.g.g,"HEAD",void 0,void 0),c=[],d=b.length,e=1;e<d;++e)for(var f=dw("STYLE",b[e]),g=f.length,k=0;k<g;++k)c.push(f[k].outerHTML);return c.join("")+a}return a};h.Ok=function(a,b,c){if(!c)return!1;switch(b){case "b":var d="+bold";break;case "i":d="+italic";break;case "u":d="+underline";break;case "s":return!0}return d?(this.Ma.execCommand(d),!0):!1};var HX=Jv?/<br([^\/>]*)\/?>/gi:/<br([^\/>]*)\/?>(?!<\/(div|p)>)/gi;
3114function GJa(a){if(Jv||Iv){var b=ST(a.Ma),c=yS(b),d=DX(a),e=kT(a);HX.lastIndex=0;HX.test(c.innerHTML)&&(a=sFa(b),"P"==c.tagName?JJa(c,!0):(b=c.innerHTML.replace(HX,'<p$1 trtempbr="temp_br">'),yT(c,b),c=Sb(dw("P",c)),je(c,function(f){"temp_br"==f.getAttribute("trtempbr")&&(f.removeAttribute("trtempbr"),Id(Ww(f))&&f.appendChild(Jv?d.createTextNode("\u00a0"):bx(e,"BR")),JJa(f))})),pFa(a))}}
3115function JJa(a,b){if(Jv||Iv){var c=a.outerHTML.replace(/<(\/?)p/gi,"<$1div");b&&(c=c.replace(HX,"</div><div$1>"));Iv&&!/<\/div>$/i.test(c)&&(c+="</div>");a.outerHTML=c}}function GX(a){return 0==a.indexOf("+")?a.substring(1):a}function FJa(a){a=AT(a);a.align&&(a.style.textAlign=a.align,a.removeAttribute("align"))}
3116function EX(a,b,c,d,e){var f=null;d&&(f=a.Ma.queryCommandValue("rtl")?"rtl":a.Ma.queryCommandValue("ltr")?"ltr":null);b=GX(b);if(Jv){var g=b;var k=[];d=null;var l=ST(a.Ma);var n=kT(a);if(g in KJa){var q=l&&yS(l);if(q){for(var t=ew("BLOCKQUOTE",null,q),u,v=0;v<t.length;v++)if(l.Sn(t[v])){u=t[v];break}if(q=u||Zw(q,"BLOCKQUOTE"))d=n.O("DIV",{style:"height:0"}),q.appendChild(d),k.push(d),u?l=tS(u,0,d,0):l.Sn(d)&&(u=l.dd(),l=l.se(),l=tS(u,l,d,0)),l.select()}}u=a.Ma;!u.Ng()&&!d&&g in LJa&&(g=u.w(),l&&l.If()&&
3117!Nw(g)&&(d=l.Kh(0).Jh(),l=d.duplicate(),l.moveToElementText(g),l.collapse(!1),l.isEqual(d)&&(l=cx(n,"\u00a0"),g.appendChild(l),d.move("character",1),d.move("character",-1),d.select(),k.push(l))),d=n.O("DIV",{style:"height:0"}),g.appendChild(d),k.push(d));n=k[0];k=k[1]}if(Nv){n=b;if(MJa[n]){var y=kT(a).O("DIV",{style:"height: 0"},"x");a.Ma.w().appendChild(y)}!Vv(534)&&NJa[n]&&(n=a.Ma.w(),y=kT(a).O("DIV",{style:"height: 0"},"x"),n.insertBefore(y,n.firstChild));n=y}Mv&&Vv("1.9")&&"formatblock"==b.toLowerCase()&&
3118(y=ST(a.Ma),d=y.dd(),y.If()&&d&&"BODY"==d.tagName&&(g=y.se(),(d=d.childNodes[g])&&"BR"==d.tagName&&(y=y.Jh(),y.setStart(d,0),y.setEnd(d,0))));RFa&&"fontsize"==b.toLowerCase()&&OJa(a);y=DX(a);e&&iT&&(y.execCommand("styleWithCSS",!1,!0),Iv&&PJa(a));y.execCommand(b,!1,c);e&&iT&&y.execCommand("styleWithCSS",!1,!1);Nv&&!Vv("526")&&"formatblock"==b.toLowerCase()&&c&&/^[<]?h\d[>]?$/i.test(c)&&QJa(a);/insert(un)?orderedlist/i.test(b)&&(Nv&&!Vv(534)&&RJa(a),Jv&&(SJa(a),k&&Jw(k)));n&&Jw(n);f&&a.Ma.execCommand(f)}
3119function EJa(a,b,c,d){var e=null,f=[],g=b&&yS(b);if(g&&"IMG"==g.tagName||!b)return null;
3119if(b.If())b=b.Kh(0).Jh(),gT?(e=bx(kT(a),"A"),b.insertNode(e)):fT&&(b.pasteHTML("<a id='newLink'></a>"),e=kT(a).w("newLink"),e.removeAttribute("id"));else{var k=Zd();EX(a,"CreateLink",k);Fb(dw("A",a.Ma.w()),function(l){wc(l.href,k)&&f.push(l)});f.length&&(e=f.pop());a=function(l){return AJa(Yw(l))};if(f.length&&Jb(f,a)){for(a=0;b=f[a];a++)zJa(b,d);f=null}}return yJa(e,c,d,f)}
3120var LJa={indent:1,outdent:1,insertOrderedList:1,insertUnorderedList:1,justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,ltr:1,rtl:1},KJa={insertOrderedList:1,insertUnorderedList:1};function OJa(a){var b=BT(ST(a.Ma),a.Ma.w());je(ke(b,function(c,d,e){return 1==e.l&&b.Sn(c)}),function(c){iG(c,"font-size","");Mv&&0==c.style.length&&null!=c.getAttribute("style")&&c.removeAttribute("style")})}
3121function QJa(a){je(ST(a.Ma),function(b){"Apple-style-span"==b.className&&(b.style.fontSize="",b.style.fontWeight="")})}
3122function RJa(a){var b=!1;je(ST(a.Ma),function(c){var d=c.tagName;if("UL"==d||"OL"==d)if(b){if(d=w(c.previousElementSibling)?c.previousElementSibling:Ow(c.previousSibling,!1)){var e=c.ownerDocument.createRange();e.setStartAfter(d);e.setEndBefore(c);if(xc(e.toString())&&d.nodeName==c.nodeName){for(;d.lastChild;)c.insertBefore(d.lastChild,c.firstChild);d.parentNode.removeChild(d)}}}else b=!0})}var TJa={1:1,a:1,A:1,i:1,I:1},UJa={disc:1,circle:1,square:1};
3123function SJa(a){for(a=(a=ST(a.Ma))&&a.Ii();a&&"UL"!=a.tagName&&"OL"!=a.tagName;)a=a.parentNode;a&&(a=a.parentNode);if(a){var b=Sb(dw("UL",a));Tb(b,Sb(dw("OL",a)));Fb(b,function(c){var d=c.type;d&&!("UL"==c.tagName?UJa:TJa)[d]&&(c.type="")})}}var MJa={justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,formatBlock:1},NJa={insertOrderedList:1,insertUnorderedList:1};
3124function PJa(a){var b=[],c=yS(ST(a.Ma));do b.push(c);while(c=c.parentNode);a=Vaa(ge(ST(a.Ma)),ge(b));a=ke(a,zT);je(a,function(d){var e=d.style.outline;d.style.outline="0px solid red";d.style.outline=e})}function IJa(a){var b=null;je(a,function(c,d,e){if(-1!=e.l){c=AT(c).tagName;b=b||c;if(b!=c)throw b=null,ee;e.kH()}});return b}var VJa={center:1,justify:1,right:1,left:1};
3125function HJa(a,b){b=b.replace("+justify","").toLowerCase();"full"==b&&(b="justify");var c=a.Ma.l.Bidi||null;if(c)return b==c.aja();var d=ST(a.Ma);if(!d)return!1;c=yS(d);a=Gb(c.childNodes,function(f){return uT(f)&&d.Sn(f,!0)});a=a.length?a:[c];for(c=0;c<a.length;c++){var e=AT(a[c]);if(b!=WJa(e))return!1}return!0}function WJa(a){var b=mG(a,"textAlign");b=b.replace(/^-(moz|webkit)-/,"");VJa[b]||(b=a.align||"left");return b}
3126function FX(a,b,c,d,e){d=GX(d);if(e){var f=DX(a);f.execCommand("styleWithCSS",!1,!0)}a=b?c.queryCommandState(d):c.queryCommandValue(d);e&&f.execCommand("styleWithCSS",!1,!1);return a};function IX(){jT.call(this)}x(IX,jT);IX.prototype.Ok=function(a){return 9!=a.keyCode||a.metaKey||a.ctrlKey?!1:XJa(this,a)};function JX(){jT.call(this)}x(JX,IX);JX.prototype.eh=function(){return"ListTabHandler"};function XJa(a,b){var c=ST(a.Ma);return Zw(yS(c),"LI")||Uaa(c,function(d){return"LI"==d.tagName})?(a.Ma.execCommand(b.shiftKey?"+outdent":"+indent"),b.preventDefault(),!0):!1};function KX(a,b){ux.call(this);this.h=[];for(this.g=[];a&&"BODY"!=a.nodeName&&a!=b;){for(var c=0,d=a.previousSibling;d;)d=d.previousSibling,++c;this.h.unshift(c);this.g.unshift(a.nodeName);a=a.parentNode}}x(KX,ux);KX.prototype.toString=function(){for(var a=[],b,c=0;b=this.g[c];c++)a.push(this.h[c]+","+b);return a.join("\n")};function LX(a,b){for(var c=b,d=0;b=a.g[d];++d)if(c=c.childNodes[a.h[d]],!c||c.nodeName!=b)return null;return c}KX.prototype.qa=function(){delete this.h;delete this.g};function MX(a){Rx.call(this);this.wU=a}x(MX,Rx);function NX(){Rx.call(this);this.g=[];this.h=[];this.l=[]}x(NX,Rx);NX.prototype.j=null;function YJa(a,b,c){if(b.length){var d=b.pop();c.push(d);a.l.push({type:b==a.g?"before_undo":"before_redo",wj:b==a.g?d.l:d.j,state:d});1==a.l.length&&OX(a);0!=b.length&&1!=c.length||a.dispatchEvent("state_change")}}
3127function OX(a){if(!a.j&&0!=a.l.length){var b=a.l.shift();a.dispatchEvent({type:b.type,state:b.state})&&(b.state.wU?(a.j=D(b.state,"action_completed",a.s,!1,a),b.wj.call(b.state)):(b.wj.call(b.state),OX(a)))}}NX.prototype.s=function(){Nx(this.j);this.j=null;OX(this)};function PX(a){jT.call(this);a=a||new NX;this.m&&Nx(this.m);this.g=a;this.m=D(this.g,"state_change",this.jW,!1,this);this.h={};this.j={};this.s=null;this.L=bb(this.x5,this)}x(PX,jT);PX.prototype.l=null;var ZJa=ic({Iea:"+undo",Jda:"+redo"});h=PX.prototype;h.Th=function(a){return a in ZJa};h.MS=function(a){this.disable(a);this.Ma=null};
3128h.enable=function(a){if(!this.isEnabled(a)){TT(a);var b=new Px(this);Mv||b.J(a,"beforechange",this.bZ);b.J(a,LT,this.fZ);b.J(a,"blur",this.BY);this.h[a.s]=b;QX(this,a)}};h.disable=function(a){TT(a);var b=this.h[a.s];b&&(b.dispose(),delete this.h[a.s]);this.j[a.s]&&delete this.j[a.s]};h.isEnabled=function(a){return!!this.h[a.s]};h.qa=function(){PX.D.qa.call(this);for(var a in this.h)this.h[a].dispose(),delete this.h[a];this.Ma=null;this.g&&(this.g.dispose(),delete this.g)};h.eh=function(){return"UndoRedo"};
3129h.execCommand=function(a){"+undo"==a?(a=this.g,YJa(a,a.g,a.h)):"+redo"==a&&(a=this.g,YJa(a,a.h,a.g))};h.queryCommandValue=function(a){var b=null;"+undo"==a?b=0<this.g.g.length:"+redo"==a&&(b=0<this.g.h.length);return b};h.jW=function(){this.Ma.dispatchEvent({type:"cvc",NJ:["+redo","+undo"]})};
3130h.x5=function(a,b,c){var d=this.Ma;if(d){nT(d,!0);try{d.Zl();d.execCommand("clearlorem",!0);yT(d.w(),b);c&&c.select();var e=this.Ma;d.focus();e&&e.s!=a.Bt&&e.execCommand("updatelorem");var f=this.j[a.Bt];f.Pm=b;f.h=c}catch(g){}finally{this.l=a,d.nj(),oT(d)}}};h.Ok=function(a,b,c){if(c){var d;"z"==b?d=a.shiftKey?"+redo":"+undo":"y"==b&&(d="+redo");if(d)return"+undo"==d?(a=this.g,a=a.g[a.g.length-1]):(a=this.g,a=a.h[a.h.length-1]),a&&a.Bt?this.Ma.execCommand(d):this.execCommand(d),!0}return!1};
3131h.bZ=function(a){if(!this.l){a=a.target;var b=a.s;this.s!=b&&(this.s=b,QX(this,a))}};h.fZ=function(a){this.l?(a=this.l,this.l=null,a.dispatchEvent("action_completed")):QX(this,a.target)};h.BY=function(a){(a=a.target)&&TT(a)};
3132function QX(a,b){var c=b.s;if(b.queryCommandValue("usinglorem")){var d="";var e=null}else d=b.w().innerHTML,e=new RX(b),e=e.h?e:null;var f=a.j[c];if(f){if(f.Pm==d)return;if(""==d||""==f.Pm)if(b=b.Dz(8,"",{}),d==b&&""==f.Pm||f.Pm==b&&""==d)return;f.GF=d;f.U4=e;b=a.g;var g;(g=0==b.g.length)||(g=b.g[b.g.length-1],g=!(f.Bt==g.Bt&&f.Pm==g.Pm&&f.GF==g.GF));g&&(b.g.push(f),100<b.g.length&&b.g.shift(),g=b.h.length,b.h.length=0,b.dispatchEvent({type:"state_added",state:f}),(1==b.g.length||g)&&b.dispatchEvent("state_change"))}a.j[c]=
3133new SX(c,d,e,a.L)}function SX(a,b,c,d){MX.call(this,!0);this.Bt=a;this.g=d;this.Pm=b;this.h=c}x(SX,MX);SX.prototype.l=function(){this.g(this,this.Pm,this.h)};SX.prototype.j=function(){this.g(this,this.GF,this.U4)};
3134function RX(a){this.g=a;var b=dx(a.g);a=(a=ST(a))&&a.Nx()&&nw(a.getDocument())==b?a:null;if(gT){if(b=a,this.h=!1,b){var c=b.Tk()?b.ke():b.dd();var d=qFa(b);if(c&&d){a=b.Tk()?b.Hf():b.se();c=new KX(c,this.g.w());var e=rFa(b);d=new KX(d,this.g.w());b.Tk()?(this.j=d,this.s=e,this.o=c,this.l=a):(this.j=c,this.s=a,this.o=d,this.l=e);this.h=!0}}}else fT&&(b=a,this.h=!1,b&&(a=b.Kh(0).Jh(),Rw(this.g.w(),a.parentElement())&&(b=this.g.g.getDocument().body.createTextRange(),b.moveToElementText(this.g.w()),d=
3135a.duplicate(),d.collapse(!0),d.setEndPoint("StartToStart",b),this.j=$Ja(d),a=a.duplicate(),a.setEndPoint("StartToStart",b),this.o=$Ja(a),this.h=!0)))}RX.prototype.toString=function(){return gT?"W3C:"+this.j.toString()+"\n"+this.s+":"+this.o.toString()+"\n"+this.l:"IE:"+this.j+","+this.o};
3136RX.prototype.select=function(){var a=this.g.w();if(gT){var b=LX(this.j,a);a=LX(this.o,a);a=b&&a?tS(b,this.s,a,this.l).Jh():null}else b=a.ownerDocument.body.createTextRange(),b.moveToElementText(a),b.collapse(!0),b.moveEnd("character",this.o),b.moveStart("character",this.j),a=b;a&&(fT&&this.g.w().focus(),BFa(a).select())};
3137function $Ja(a){var b=a.duplicate(),c=a.text,d=c.length;b.collapse(!0);b.moveEnd("character",d);for(var e,f=10;(e=b.compareEndPoints("EndToEnd",a))&&(d-=e,b.moveEnd("character",-e),--f,0!=f););a=0;for(b=c.indexOf("\n\r");-1!=b;)++a,b=c.indexOf("\n\r",b+1);return d+a};function TX(){jT.call(this)}x(TX,jT);TX.prototype.eh=function(){return"EditHtml"};TX.prototype.Th=function(a){return"editHtml"==a};TX.prototype.g=function(a){"change"==a.key&&(a=z("raw_html").value,a=Dd(a),WT(this.Ma,a),aKa(this.Ma))};
3138TX.prototype.Ag=function(){if(confirm('Warning: This feature is only intended for advanced users. Unless you are familiar with authoring HTML by hand, you are STRONGLY encouraged to press "CANCEL" to exit this mode.')){bU(this.Ma);var a=VT(this.Ma),b=SP();a=Y('<textarea rows="10" class="'+Z("yv")+'" id="raw_html">'+DL(a)+"</textarea>");YH(b,Wla(a));b.tc("Edit HTML:");b.EK=!1;$H(b,!1);b.dg=!0;a=(new aI).set("change","Change",!0).set(bI,"Cancel",!1,!0);eI(b,a);Ix(b,gI,this.g,!1,this);b.render();b.Ga(!0);
3139z("raw_html").focus()}};function UX(){jT.call(this)}x(UX,jT);h=UX.prototype;h.tag="DIV";h.eh=function(){return"EnterHandler"};h.enable=function(a){UX.D.enable.call(this,a);!SFa||"P"!=this.tag&&"DIV"!=this.tag||kT(this).getDocument().execCommand("opera-defaultBlock",!1,this.tag)};h.fO=function(a){return!a||Id(a)?FFa?this.hY():"":a};h.hY=function(a){return function(){return a}}("<br>");
3140h.ID=function(a){if(Mv)if(8==a.keyCode){var b=ST(this.Ma),c=this.Ma.w();b=b&&b.dd();c.firstChild==b&&vT(b)&&(a.preventDefault(),a.stopPropagation())}else if(46==a.keyCode&&(b=ST(this.Ma),b.If()&&(c=b.ke(),1==c.nodeType&&(b=c.childNodes[b.Hf()])&&"BR"==b.tagName))){var d=tT(ke(new pT(b,!1,!0),uT)),e=b.nextSibling;c.removeChild(b);a.preventDefault();e&&rT[e.tagName]&&(d&&"BR"!=d.tagName&&!rT[d.tagName]?eT(d,wT(d)).select():(a=sT(e),eT(a,0).select()))}return!1};
3141h.JD=function(a){if(13==a.keyCode)if(Mv){if(!a.shiftKey){var b=ST(this.Ma),c=!b||b.If(),d=bKa(this),e=this.Ma.execCommand("+splitBlockquote",d);e&&(a.preventDefault(),a.stopPropagation());gT||d.removeNode(!0);e||this.nZ(a,c,b)}}else{this.Ma.Zl();b=bKa(this);if(c=!!this.Ma.execCommand("+splitBlockquote",b))a.preventDefault(),a.stopPropagation();gT||b.removeNode(!0);Nv&&this.oZ(a);if(Jv||Iv)cKa(this);else if(!c&&Nv){if(c=b=ST(this.Ma))a:{for(c=yS(b);c;c=c.parentNode)if(rT[c.tagName]){c="BLOCKQUOTE"==
3142c.tagName;break a}c=!1}if(c){c=kT(this);d=bx(c,"BR");b.nm(d,!0);if(b=!!rT[d.parentNode.tagName]){for(b=d.nextSibling;b&&3==b.nodeType&&!b.nodeValue;)b=b.nextSibling;b=!b}b&&Gw(bx(c,"BR"),d);CT(d,!1);a.preventDefault()}}this.Ma.nj()}return!1};h.KD=function(a){(Jv||Iv)&&13==a.keyCode&&cKa(this,!0);return!1};h.oZ=Qa;h.nZ=Qa;var dKa={LI:!0,DIV:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0};
3143function cKa(a,b){for(var c=ST(a.Ma),d=c.Ii(),e=a.Ma.w(),f=void 0;d&&d!=e;){var g=d.nodeName,k;(k="DIV"==g)||!(k=dKa[g])||(k=!b)||(k=d,k=!(vT(k)&&1==dw("BR",k).length));if(k){if(Iv&&f){"DIV"==g&&f==d.lastChild&&vT(f)&&(Hw(f,d),dT(f).select());break}return}Iv&&b&&"P"==g&&"DIV"!=g&&(f=d);d=d.parentNode}if(Jv&&!Vv(9)){var l=!1;c=c.Jh();b=c.duplicate();b.moveEnd("character",1);b.text.length&&(l=b.parentElement(),b=b.duplicate(),b.collapse(!1),b=b.parentElement(),l=l!=b&&b!=c.parentElement())&&(c.move("character",
3144-1),c.select())}a.Ma.g.getDocument().execCommand("FormatBlock",!1,"<DIV>");l&&(c.move("character",1),c.select())}
3145function bKa(a){if(gT){if((a=ST(a.Ma))&&!a.If()){var b=!0;if(Iv){var c=a.dd(),d=a.se();c==a.ke()&&c.lastChild&&"BR"==c.lastChild.tagName&&d==c.childNodes.length-1&&(b=!1)}if(b){var e=a;if(e&&!e.If()){var f=!0;b=yS(e);c=new KX(e.dd(),b);d=e.se();var g=e;var k=g.dd();zT(k)&&(k=k.childNodes[g.se()]||k);k=AT(k);var l=g.ke();zT(l)&&(l=l.childNodes[g.Hf()]||l);l=AT(l);g=k==l;if(k=!g)a:{l=e;k=l.ke();l=l.Hf();var n=k;if(zT(n)){var q=n.childNodes[l];if(!q||1==q.nodeType&&zT(q)){k=!1;break a}}for(q=AT(n);q!=
3146n;){if(tT(ke(new pT(n),uT))){k=!0;break a}n=n.parentNode}k=l!=wT(k)}e.zq();(e=LX(c,b))?e=eT(e,d):(e=eT(b,b.childNodes.length),f=!1);e.select();g&&(g=AT(e.dd()),vT(g,!0)&&(f="&nbsp;",Iv&&"LI"==g.tagName&&(f="<br>"),yT(g,f),eT(sT(g.firstChild),0).select(),f=!1));k&&(e=AT(e.dd()),g=tT(ke(new pT(e),uT)),e&&g&&(Ew(e,g.childNodes),Jw(g)));f&&(e=eT(LX(c,b),d),e.select())}}}a=FT(a,!0)}else a=kT(a).getDocument(),b=a.selection.createRange(),c=Zd(),b.pasteHTML('<span id="'+c+'"></span>'),a=a.getElementById(c),
3147a.id="";return a};function VX(){jT.call(this)}x(VX,UX);VX.prototype.KD=function(a){try{return VX.D.KD.call(this,a)}catch(b){WX(this,b)}};VX.prototype.ID=function(a){try{return VX.D.ID.call(this,a)}catch(b){WX(this,b)}};VX.prototype.JD=function(a){try{return VX.D.JD.call(this,a)}catch(b){WX(this,b)}};function WX(a,b){var c="err: object or range undefined";w(a.Ma)&&w(ST(a.Ma))&&(c=JSON.stringify(ST(a.Ma)));Error("enter handler error: "+b+". range: "+c).name="enter handler error";CK.g(b)};function XX(){jT.call(this)}x(XX,jT);XX.prototype.eh=function(){return"SgEscapePlugin"};XX.prototype.Ok=function(a){27!=a.keyCode||a.metaKey||a.ctrlKey?a=!1:(this.Ma.ea.focus(),a=!0);return a};function YX(a,b){Rx.call(this);this.g=new Px(this);this.j=a;this.h=b;this.l=[];KH(this.h,function(c){c.rc&&this.l.push(c.rb())},this);PN(this.h,!1);this.g.J(this.j,"cvc",this.UA).J(this.h,"action",this.gy)}x(YX,Rx);h=YX.prototype;h.isVisible=function(){return this.h.isVisible()};h.Ga=function(a){this.h.Ga(a)};h.isEnabled=function(){return this.h.isEnabled()};h.W=function(a){this.h.W(a)};h.blur=function(){this.h.tD(null)};
3148h.qa=function(){YX.D.qa.call(this);
3148this.g&&(this.g.dispose(),delete this.g);this.h&&(this.h.dispose(),delete this.h);delete this.j;delete this.l};h.UA=function(a){if(this.h.isEnabled()&&this.j.T&&this.dispatchEvent("change")){try{var b=this.j.queryCommandValue(a.NJ||this.l)}catch(c){b={}}this.VA(b)}};h.VA=function(a){for(var b in a){var c=JH(this.h,b);if(c){var d=a[b];c.M?c.M(d):c.nc(!!d)}}};h.gy=function(a){var b=a.target.rb();this.j.execCommand(b,a.target.getValue())};function lM(){Rx.call(this);this.g=new Px(this);this.j=null;this.l=[];this.s=new Map}x(lM,YX);Ra(lM);function dAa(a,b){a.h=b;KH(a.h,function(c){c.rc&&this.l.push(c.rb())},a);KH(a.h,function(c){if(c instanceof iO)for(var d=0,e=c.Se();d<e;d++){var f=c.Gd(d);f.rc&&(this.l.push(f.rb()),this.s.set(f.rb(),f))}},a);PN(a.h,!1);a.g.J(a.h,"action",a.gy);a.W(!1)}
3149lM.prototype.UA=function(a){if(this.h.isEnabled()&&this.dispatchEvent("change")&&null!==this.j){try{var b=this.j.queryCommandValue(a.NJ||this.l)}catch(c){b={}}this.VA(b)}};function eKa(a,b){a.h&&(b?ix(a.h.w(),"U"):gx(a.h.w(),"U"))}lM.prototype.VA=function(a){lM.D.VA.call(this,a);for(var b in a){var c=this.s.get(b);c&&c.W(!!a[b])}};lM.prototype.gy=function(a){null!==this.j&&(this.j instanceof ZX&&bU(this.j),lM.D.gy.call(this,a))};
3150lM.prototype.qa=function(){lM.D.qa.call(this);C(this.j);C(this.g);this.j=null;delete this.l;delete this.s;delete this.g};function $X(){jT.call(this)}x($X,NU);$X.prototype.Ok=function(){return!1};$X.prototype.mD=function(a){switch(a.nodeName){case "IMG".toString():return"<BR>";default:return null}};function aY(){KU.call(this)}x(aY,KU);
3150aY.prototype.Cx=function(a){for(var b=this.Ma.w();a&&a!=b;){if("TABLE"==a.tagName)return a;a=a.parentNode}return null};aY.prototype.queryCommandValue=function(a){if("+insertRowAfter"==a||"+insertRowBefore"==a||"+insertColumnAfter"==a||"+insertColumnBefore"==a||"+removeRows"==a||"+removeColumns"==a||"+splitCell"==a||"+mergeCells"==a||"+removeTable"==a)return!!XGa(this)};
3151aY.prototype.Ag=function(a,b){try{var c=null,d=ST(this.Ma);if("+table"==a){if(!aGa(d))return null;var e=b||{width:4,height:2},f=kT(this).getDocument(),g=VGa(f,e.width,e.height);d.fv(g);Jv||(c=dw("TD",g)[0])}else{d=fKa(d);var k=new YGa(d,bb(this.Cx,this));g=k.s;if(!g)return null;switch(a){case "+insertRowBefore":DU(g,k.h);break;case "+insertRowAfter":DU(g,k.l+1);break;case "+insertColumnBefore":GU(g,k.g);break;case "+insertColumnAfter":GU(g,k.o+1);break;case "+removeRows":e=k.h;var l=k.l;if(0==e&&
3152l==g.rows.length-1)return this.Ag("+removeTable");var n=k.g;f=l-e+1;for(var q=0;q<f;q++)RGa(g,e);0<g.rows.length&&(c=g.rows[Math.min(e,g.rows.length-1)].columns[n].element);break;case "+removeColumns":var t=k.g,u=k.o;if(0==t&&u==g.rows[0].columns.length-1)return this.Ag("+removeTable");e=k.h;f=u-t+1;for(q=0;q<f;q++)SGa(g,t);var v=g.rows[e];v&&(c=v.columns[Math.min(t,v.columns.length-1)].element);break;case "+mergeCells":ZGa(k)&&TGa(g,k.h,k.g,k.l,k.o);break;case "+splitCell":$Ga(k)&&UGa(g,k.h,k.g);
3153break;case "+removeTable":g.element.parentNode.removeChild(g.element)}}c&&(d=dT(c),d.collapse(!1),d.select());return null}catch(y){CK.g(Error("table error: "+y+" command: "+a))}};function fKa(a){function b(e){e=e.tagName;return"TBODY"==e||"TR"==e||"TD"==e}if(!a)return a;var c=a.Ii();if(!b(c))for(var d=!1;!d;){c=c.parentNode;if(null==c)break;b(c)&&(d=!0,a=dT(c))}return a};function ZX(a,b){JT.call(this,a,b);OT(this,new CX);OT(this,new VX);OT(this,new PU);OT(this,new $X);OT(this,new PX);OT(this,new JX);OT(this,new LU);OT(this,new MU);OT(this,new XX);OT(this,new IV);OT(this,new aY);OT(this,new TX);OT(this,new cU)}x(ZX,zX);h=ZX.prototype;h.WC=!1;h.XM=1048576;h.EU=2;h.maxWidth=0;h.xu=!1;h.US=!0;h.WN=!1;h.hasFocus=function(){return null!=document.activeElement&&this.w()===document.activeElement};h.blur=function(){this.w().blur()};h.LK=function(a){this.US=a};
3154h.QM=function(a){this.WN=a};h.ex=function(){ZX.D.ex.call(this);this.WC=!0;if(this.US){var a=lM.getInstance();a.j!=this&&(a.j=this,a.g.J(a.j,"cvc",a.UA),a.W(!0))}};h.Xt=function(){ZX.D.Xt.call(this);bU(this);this.WC=!1;var a=lM.getInstance();a.j==this&&null!==a.j&&(a.g.kc(a.j,"cvc",a.UA),a.j=null,a.W(!1))};h.qa=function(){this.WC&&this.Xt();ZX.D.qa.call(this)};
3155h.iy=function(){ZX.D.iy.call(this);dU(this);this.WN||(this.addListener("paste",this.w3),this.addListener("drop",this.g7),this.addListener("click",this.h7),this.addListener("cut",this.NV),this.addListener("contextmenu",this.s2),this.addListener("beforecut",this.wN));this.addListener("copy",this.FV);this.addListener("keydown",this.N2);this.addListener("beforecopy",this.wN);this.addListener("input",this.hy)};
3156h.Uy=function(a){ZX.D.Uy.call(this,a);void 0!==(new Ce(La.location.hash.substring(1))).get("disableGrammarly")&&(this.Mf.setAttribute("data-gramm","false"),this.Mf.setAttribute("data-gramm_editor","false"),this.Mf.setAttribute("data-enable-grammarly","false"))};function aKa(a){dU(a);a.w().querySelectorAll("img").forEach(function(b){ZT(b,a.maxWidth,1048576)})}h.w3=function(a){var b=a.g.clipboardData;b&&b.items&&(a.preventDefault(),gKa(this,b.items,void 0))};h.FV=function(a){this.xu&&hKa(this,a,!1)};
3157h.NV=function(a){this.xu&&hKa(this,a,!0)};function hKa(a,b,c){var d=document.getSelection();if(a=a.w().querySelector(".ys")){b.preventDefault();var e=a.querySelector("img");e&&(e=e.outerHTML,b=b.g,b.clipboardData&&(b.clipboardData.setData("text/html",e),b.clipboardData.setData("text/plain",d.toString())),c&&a.remove())}}h.N2=function(a){this.xu&&(a.ctrlKey||a.metaKey?"v"!==a.key&&"a"!==a.key||bU(this):bU(this))};
3158h.s2=function(a){var b=a.target.classList.contains("zs");if(a.target instanceof HTMLElement&&("IMG"===a.target.tagName||b)){if(a=b?a.target.parentElement.querySelector("img"):a.target)if(bU(this),b=window.getSelection(),!b.containsNode(a)){var c=document.createRange();c.selectNode(a);b.removeAllRanges();b.addRange(c)}}else bU(this)};h.wN=function(a){a.preventDefault()};
3159h.h7=function(a){this.focus();var b=a.target.classList.contains("zs");a.target instanceof HTMLElement&&("IMG"===a.target.tagName||b)?(a=b?a.target.parentElement.querySelector("img"):a.target)&&iKa(this,a):bU(this)};h.g7=function(a){var b=a.g.dataTransfer;if(b&&b.items){a.preventDefault();if(document.caretPositionFromPoint){a=document.caretPositionFromPoint(a.clientX,a.clientY);var c=eT(a.offsetNode,a.offset)}gKa(this,b.items,c)}};
3160function gKa(a,b,c){for(var d,e,f,g=void 0,k=0,l=0,n=0;n<b.length;n++)switch(b[n].type){case "image/gif":case "image/jpeg":case "image/png":case "image/webp":k++;var q=b[n].getAsFile(),t=new FileReader;t.onload=function(u){l++;
3160f='<img src="'+u.target.result+'">';l==k&&bY(a,d,f,g,e,c)};t.readAsDataURL(q);break;case "text/html":k++;b[n].getAsString(function(u){var v=document.createElement("div");v.innerHTML=u;v=v.querySelectorAll("img");for(var y=0;y<v.length;y++)v[y].src.startsWith("http")&&(e=u);
3161e||(d=u);l++;l==k&&bY(a,d,f,g,e,c)});break;case "text/plain":k++,b[n].getAsString(function(u){g=u;l++;l==k&&bY(a,d,f,g,e,c)})}}function bY(a,b,c,d,e,f){b?cY(a,b,f):c?cY(a,c,f):e?cY(a,e,f):d&&(b=cY,d=Bc(d.replace(/  /g," &#160;"),void 0),b(a,d,f))}function cY(a,b,c){b=aEa(xGa(),b);a.Zl();a.focus();if((c=c?c:ST(a))&&a.w()&&a.w().contains(c.Ii())){var d=b.querySelectorAll("img");jIa(c,b);dU(a);d.forEach(function(e){ZT(e,a.maxWidth,1048576)});a.nj();oT(a)}}
3162function jIa(a,b){if(a){var c=b.lastChild,d=a.fv(b);a=d.parentElement;b=0;if(!a){for(a=c.parentElement;null!=a&&!a.hasChildNodes();)c=a,a=a.parentElement;d=c}for(;null!=d;)b++,d=d.previousSibling;a&&a.hasChildNodes()&&a.childNodes.length>=b&&document.getSelection().setPosition(a,b)}}function dU(a){var b=nH.o.w().getBoundingClientRect().width,c=a.w().getBoundingClientRect().width;a.maxWidth=710*c/b}
3163function iKa(a,b){if(!Mv){bU(a);var c=B("SPAN","ys"),d=B("SPAN");d.classList.add("zs","Fs");c.setAttribute("contenteditable","false");d.setAttribute("contenteditable","false");b.parentElement.insertBefore(c,b);c.appendChild(b);c.appendChild(d);var e=window.getComputedStyle(d),f=parseFloat(e?e.borderWidth:"3");e=zG(b).width+2*f;f=zG(b).height+2*f;var g=new $T(b,d,0,0,0,e,f,a);f=m(zGa(g,e,f));e=f.next().value;f=f.next().value;d.style.width=e+"px";d.style.height=f+"px";["As-Bs-Cs","As-Bs-Ds","As-Es-Cs",
3164"As-Es-Ds"].forEach(function(k){var l=B("SPAN");l.classList.add(k,"Hs");l.setAttribute("contenteditable","false");d.appendChild(l);AGa(d,b,l,a)});a.xu=!0;yGa(c)}}function bU(a,b){if(b=b?b:a.w())b.querySelectorAll(".ys").forEach(function(c){var d=c.querySelector("img");d&&c.parentElement.insertBefore(d,c);c.remove()}),a.xu=!1}function jKa(a){var b=a.w();if(b){var c=b;for(var d;d=c&&1==c.nodeType?tT(ke(new qT(c,!0),uT)):null;)c=d;b==c?eT(b,0).select():(b=!1,"BR"==c.tagName&&(b=!0),CT(c,b));oT(a)}};function dY(a,b,c,d,e,f,g){EH.call(this,f);this.Zb=null;this.pz=a;this.Jr=this.rb()+".field";this.fE=w(e)&&e;a=null===b?"read_write"!=this.pz||this.fE?20:80:b;this.IG=c;this.mA=d;this.RC=(this.fE?cW(1,null,null,2):!this.mA||this.mA&&1==this.IG?cW(1,null,null,null):"")+("min-height:"+a+"px;width:100%;overflow:hidden;position:relative;");this.Za=g}x(dY,EH);h=dY.prototype;h.pz="read";h.Jr="";h.RC="";h.Ee=null;h.IG=1;h.mA=!1;h.fE=!1;
3165h.Ra=function(){var a="ak";a=2==this.IG?this.mA?a+" dk":a+" ck":a+" bk";OO[this.Za]&&(a+=" cw");a=this.g.O("DIV",{"class":a,id:this.Jr,style:this.RC});this.Ee=this.g.O("DIV",{style:"position:relative"},a);a=this.g.O("TD",void 0,this.Ee);a=this.g.O("TR",void 0,a);a=this.g.O("TBODY",void 0,a);this.j=this.g.O("TABLE",{style:"table-layout:fixed;width:100%"},a)};h.K=function(){dY.D.K.call(this);null!==this.Jr&&("read"==this.pz?this.Zb=new zX(this.Jr):this.Zb=new ZX(this.Jr))};
3166h.$=function(){dY.D.$.call(this);C(this.Zb)};h.qa=function(){dY.D.qa.call(this);delete this.pz;delete this.Jr;delete this.RC;delete this.Ee};h.ib=function(){return this.Ee};h.W=function(a){a&&2!=this.Zb.mh?tGa(this.Zb):!a&&2==this.Zb.mh&&vGa(this.Zb)};h.Rg=function(){return!0};function eY(a,b,c){MW.call(this,a,b,c);this.M=this.u=this.Z=this.Y=null}x(eY,MW);h=eY.prototype;h.DS=null;h.NM=null;h.QB=null;h.jH=!1;h.Ra=function(){this.Y=rX("Topic:",70,this.g);this.Z=rX("Keyword:",70,this.g);this.Xg&&(this.h=new kU("Default Text",void 0,this.g),this.l=YIa(this));this.j=by(XIa,{NC:this.Xg})};
3167h.K=function(){var a=HH(this);this.oq=NW(this,"buttons");this.QB=NW(this,"advanced");this.DS=NW(this,"topic");this.NM=NW(this,"keyword");this.Np=NW(this,"autofill");this.Rp=NW(this,"buildingSelect");this.Ta=NW(this,"rte");this.M=TP("advanced",void 0,void 0,void 0,1);this.M.render(this.oq);Qx(a,this.M,"action",this.d2,void 0,this);this.m=TP("X",void 0,void 0,void 0,1);this.m.render(this.oq);Qx(a,this.m,"action",this.zN,void 0,this);this.Y.render(this.DS);this.Z.render(this.NM);this.Xg&&(this.h.render(this.Np),
3168this.h.W(!1),this.Ha&&(this.l.render(this.Rp),this.l.W(!1)),ZIa(this));Qx(a,this.Y,"change",this.zc,void 0,this);Qx(a,this.Z,"change",this.zc,void 0,this);this.u=new dY("read_write",null,1,!1,!0);this.u.render(this.Ta);this.u.Zb.J(LT,this.zc,void 0,this)};h.$=function(){eY.D.$.call(this);C(this.Oc);C(this.M);this.Rp=this.Np=null;C(this.u);this.Ta=null};h.qa=function(){eY.D.qa.call(this);C(this.Y);C(this.Z)};
3169h.d2=function(){this.jH?(gx(this.QB,"w"),this.M.Fc("advanced"),this.jH=!1,this.Xg&&(this.h.W(!1),this.l.W(!1))):(ix(this.QB,"w"),this.M.Fc("advanced ^"),this.jH=!0,this.Xg&&(this.h.W(!0),this.l.W(!0)))};
3169h.W=function(a){this.u.W(a)};h.Eg=function(){return this.Y.getValue()};h.ul=function(a){this.Y.setValue(a)};h.Dg=function(){return this.Z.getValue()};h.Vi=function(a){this.Z.setValue(a)};h.getValue=function(){return VT(this.u.Zb)};h.setValue=function(a){a=Dd(a);WT(this.u.Zb,a,!0,!1)};h.focus=function(){this.u.Zb.focus()};function fY(a,b,c,d,e,f,g,k,l){OW.call(this,a,b,c,d,e,!0,!0,f,g,k,l)}x(fY,OW);fY.prototype.WJ=function(){return new eY(this.Zp,this.Qb)};fY.prototype.vN=function(a){9==a.keyCode&&(a.target==this.j[0]&&a.shiftKey?(this.ng=!1,UG(this.Hr,0,this)):a.target!=this.j[this.j.length-1]||a.shiftKey||(this.ng=!1,UG(this.Hr,0,this)))};
3170fY.prototype.Ix=function(){var a=[],b=[],c=new Map,d=this.s.get(this.Uh);if(!w(d))return[a,b,c];for(var e=!1,f=0;f<d.length;++f){var g=d[f];if(g.Eg()==this.Fe&&!g.uc()){e=!0;break}}e||(this.Fe="");for(f=0;f<d.length;++f)if(g=d[f],!g.uc()){var k=g.getValue();e=g.Dg();if(0!=Xd(k).length||0!=Xd(e).length){k=g.Aj();var l=g.Eg();c.get(k)||c.set(k,[]);0==Xd(l).length||Nb(c.get(k),l)||c.get(k).push(l);0==Xd(l).length||Nb(b,l)||b.push(l);this.xi==k&&this.Fe==l&&(k=g.Dk(),l={},l.Oa=k,l.Pq=1==g.Cj(),0!=Xd(e).length&&
3171(l.content=e),0==Xd(l.Oa).length||a.push(l))}}return[a,b,c]};function gY(){oM.call(this)}x(gY,oM);Ra(gY);h=gY.prototype;h.Yt=function(a){var b=gY.D.Yt.call(this,a),c=a.g.O("DIV","fi"),d=a.g.O("DIV","ei"),e=a.g.O("DIV",["Th","U"]),f=a.g.O("DIV","gi");f.appendChild(a.g.O("SPAN","ge","edit bank"));b.appendChild(c);b.appendChild(d);b.appendChild(e);b.appendChild(f);return b};h.AL=function(a){return a.childNodes[0]};h.ib=function(a){return a.childNodes[1]};h.Qt=function(a){return a.childNodes[2]};h.Mt=function(a){return a.childNodes[3]};
3172h.fD=function(a){return(a=this.Mt(a))?a.children[0]:null};function hY(a,b,c,d,e,f,g,k,l,n){var q="";a&&(q=a.u);dY.call(this,c,d,a.ud,k,void 0,a.l,q);w(l)&&(this.bp=l);this.Ha=a;this.Z=b;this.Ta=f;this.u=this.h=null;this.Wa=g;this.m=TV.getInstance();this.M=!1;this.l=!0;1==e||cK?this.l=!1:2==e&&(this.M=!0);a=mV(this.Z);this.Ja=nV(a);this.Y=tV(this.Ha,this.Ja);this.Tj=this.l&&!this.bp&&fz(this.Y,3,!1);n&&(this.CP=n)}x(hY,dY);h=hY.prototype;h.ig=!1;h.bp=!1;h.Tj=!1;h.Fa=null;h.vc=null;h.hf=null;h.Cd=null;h.ap=null;h.CP=null;
3173h.K=function(){hY.D.K.call(this);this.Zb.QM&&this.Zb.QM(this.Tj);this.Zb.LK&&this.Zb.LK(!this.Tj);null===this.vc&&iY(this);this.Zb.J("load",this.D2,void 0,this)};h.$=function(){hY.D.$.call(this);null===this.Fa||C(this.Fa);null===this.vc||C(this.vc);null===this.Cd||C(this.Cd);null===this.ap||C(this.ap);null===this.h||C(this.h)};h.qa=function(){hY.D.qa.call(this);delete this.Z;this.ap=this.m=this.Cd=this.Wa=this.Ta=this.vc=this.Fa=null;delete this.Y;delete this.ig;delete this.bp;delete this.Tj};
3174h.D2=function(){this.bp&&(this.M?WT(this.Zb,wd("This bank is determined by the state and cannot be edited. Click to view the bank values."),!0,!1):WT(this.Zb,wd("Click to edit bank..."),!0,!1));this.Zb.J("focus",this.EN,void 0,this);this.Zb.J("mousedown",this.EN,void 0,this);this.Zb.J("blur",this.B2,void 0,this);HH(this).J(this.Zb.w(),"keydown",this.C2);if(this.Tj){var a=this.Zb.w();a.style.setProperty("caret-color","transparent");a.style.setProperty("border","");gx(a,"Yh");kKa(this)}};
3175function kKa(a){var b=HH(a);a=a.Zb.w();b.J(a,"contextmenu",function(c){return c.preventDefault()});a.querySelectorAll("img").forEach(function(c){return c.contentEditable="false"});b.J(a,"drop",function(c){return c.preventDefault()});b.J(a,"dragstart",function(c){return c.preventDefault()})}h.EN=function(){this.ig=!0;UV(this.m,this);!this.l||jY(this)||kY(this)||lKa(this)};h.B2=function(){this.u&&this.u.m||this.h&&this.h.m?this.Zb.w()&&this.Zb.focus():(this.ig=!1,null===this.vc||this.vc.ng||this.nu())};
3176h.C2=function(a){if(9==a.keyCode)this.ig=!1,a.shiftKey?(jY(this)&&this.Fa.Ga(!1),UV(this.m,null)):kY(this)&&0<this.vc.j.length&&(this.ig=!0,this.vc.ng=!0);else if(27==a.keyCode&&!a.metaKey&&!a.ctrlKey)this.ig=!1,UV(this.m,null);else if(this.Tj){var b=[65,67,70,78,82,84];b=(a.metaKey||a.ctrlKey)&&b.includes(a.keyCode);[38,40,37,39,36,35,33,34,9].includes(a.keyCode)||b||a.preventDefault()}};
3177h.W6=function(){jY(this)&&this.Fa.Ga(!1);this.vc.Ga(!1);var a=this.vc;a.Ia=0;a.isVisible()&&a.Kk();this.vc.Ga(!0);mKa(this.vc.w())};h.V6=function(a){a.preventDefault();WT(this.Zb,wd(""),!0,!1);this.Zb.execCommand("insertBankValue",pw(""))};
3178h.m2=function(a){if(!this.bp)if(a=a.target.getValue(),this.Tj){if(yF(AF).includes(93))if(jKa(this.Zb),"<br>"!=VT(this.Zb)){var b=B("DIV");b.appendChild(a.cloneNode(!0));this.Zb.execCommand("insertBankValue",b)}else this.Zb.execCommand("insertBankValue",a);else WT(this.Zb,wd(""),!0,!1),this.Zb.execCommand("insertBankValue",pw("")),this.Zb.execCommand("insertBankValue",a);this.Zb.w().querySelectorAll("img").forEach(function(c){return c.contentEditable="false"})}else this.Zb.execCommand("insertBankValue",
3179a)};h.I2=function(){var a=this.hf.qe();null!==a&&a.getValue()!=this.vc.xi&&(a=a.getValue(),this.vc.xi=a,this.vc.Fe="",lY(this))};h.b3=function(){var a=this.Cd.qe();null!==a&&a.getValue()!=this.vc.Fe&&(a=a.getValue(),this.vc.Fe=a,lY(this))};
3180function iY(a){if(a.l){var b=a.g.O("DIV",{"class":"hi",tabindex:"0"});a.ib().appendChild(b);a.vc=new fY(a.Ha,a,a.Ja,a.Ta,a.Wa,b,void 0,a.bp,a.CP);b=a.vc;SH(b);b.QD=!0;b=a.vc;SH(b);b.ZB=!0;b=HH(a);b.J(a.vc,"doneEditing",a.OW);b.J(a.vc,"blur",a.U6);b.J(a.vc,"delete",a.T6)}}h.OW=function(){jY(this)||lKa(this);this.Zb.w()&&this.Zb.focus()};h.U6=function(){!this.ig&&kY(this)&&UV(this.m,null)};h.T6=function(){lY(this)};h.AG=function(){lY(this)};
3181function lY(a){if(null===a.Fa){var b=iN(gY,"bi");a.Fa=new $N(a.g,b);a.Fa.Ga(!1);aO(a.Fa,!1);a.Fa.SB=!0;PN(a.Fa,!1);a.Fa.Uc()||a.Ea(a.Fa,!0);a.hf=ZP("choose a grade");b=a.Fa.Ve;var c=a.Fa.w(),d=b.AL(c),e=a.g.O("SPAN","jb-kb-lb");d.appendChild(e);a.hf.render(e);a.hf.W(!1);a.Cd=ZP("choose a topic");a.ap=TP("clear",void 0,void 0,void 0,1);lY(a);null!==a.vc&&(a.Cd.render(e),a.Tj?(d=b.Qt(c),d.appendChild(a.g.O("I","jb-kb-lb","District banks only")),e=a.g.O("A",{href:"/iep/g/support/online-guides/user-guide/district-banks-for-users",
3182target:"_blank"},"district bank"),e=yF(AF).includes(93)?a.g.O("DIV","jb-kb-lb","The district has limited this field to only ",e,' values. Selecting "clear" will remove the existing field contents.'):a.g.O("DIV","jb-kb-lb","The district has limited this field to only ",e," values. Selecting a bank value will replace the existing field ","contents with the bank value."),a.h=new mU(e),a.h.render(d),e=a.g.O("SPAN",["jb-kb-lb","Xh"]),d.appendChild(e),a.ap.render(e),a.ap.W(!0),ix(d,"U")):ix(b.Qt(c),"Th"));
3183a.Cd.W(!1);d=HH(a);e=b.Mt(c);a.M||a.Tj?e.style.display="none":d.J(b.fD(c),"mousedown",a.W6);b=a.g.O("SPAN");e.appendChild(b);a.u=new mU(ay(aJa,{pe:a.bp}));a.Ea(a.u,!1);a.u.render(e);d.J(a.Fa,"action",a.m2);d.J(a.Cd,"action",a.b3);d.J(a.hf,"action",a.I2);a.Tj&&d.J(a.ap.w(),"mousedown",a.V6)}null===a.vc&&iY(a);a.Fa.Fg(!0);b=a.vc.xi;c=a.vc.Fe;d=a.vc.Ix();var f=d[0];e=d[1];var g=d[2],k=qN(SN,"hq");d=0;for(var l=f.length;d<l;++d){var n=f[d],q=Dd(n.Oa);q=sw(document,q);var t=w(n.content)?n.content:Ww(q);
3184n=ay(VIa,{aJ:t,Pq:n.Pq,JS:!0});n=new WN(n,q,void 0,k);a.Fa.Ea(n,!0)}for(;0<a.hf.Se();)a.hf.Bq(0);d=g&&(1<g.size||1==g.size&&!g.has(""));a.hf.W(d);for(a.hf.Ga(d);0<a.Cd.Se();)a.Cd.Bq(0);a.Cd.W(0<e.length);if(d){a.hf.l.ih(a.hf,!1);a.hf.Sh=!1;a.hf.W(!0);e=!1;g=m(g.entries());for(d=g.next();!d.done;d=g.next())if(f=m(d.value),d=f.next().value,f=f.next().value,a.hf.Jb(WP(d,d)),b==d){e=!0;rO(a.hf,a.hf.Se()-1);if(0<f.length)for(d=0;d<f.length;++d)k=f[d],a.Cd.Jb(WP(k,k)),c==k&&rO(a.Cd,d);a.Cd.l.ih(a.Cd,!1);
3185a.Cd.Sh=!1;a.Cd.W(0<f.length)}e||a.Cd.W(!1)}else if(0<e.length){a.Cd.Jb(WP("Other",""));""==b&&rO(a.hf,0);""==c&&rO(a.Cd,0);for(d=0;d<e.length;++d)k=e[d],a.Cd.Jb(WP(k,k)),c==k&&rO(a.Cd,d+1);a.Cd.l.ih(a.Cd,!1);a.Cd.Sh=!1}}h.Rg=function(a){if(!this.l)return!1;null===this.vc&&iY(this);return this.vc.Rg(a)};h.Jo=function(){};function mKa(a){if(a){var b=Qw(a);b&&(b=b.getBoundingClientRect(),b=b.left+b.width/2<=jw().width/2,jx(a,"ci",b),jx(a,"di",!b))}}function lKa(a){lY(a);a.Fa.Ga(!0);mKa(a.Fa.w())}
3186function kY(a){return null===a.vc?!1:a.vc.isVisible()}function jY(a){return null===a.Fa?!1:a.Fa.isVisible()}h.nu=function(){null===this.Fa||this.Fa.Ga(!1);if(null!==this.vc&&!this.vc.o){this.vc.Ga(!1);var a=this.vc;a.Nk&&a.l.Gc(!1);a.Gl&&a.h.Gc(!1)}null===this.hf||this.hf.Gc(!1);null===this.Cd||this.Cd.Gc(!1)};h.ho=function(){return this.l};function mY(){var a=nKa;this.h=oKa;this.g=a}var oKa=new LO(0,0,1),nKa=new LO(9999,11,31);mY.prototype.contains=function(a){return a.valueOf()>=this.h.valueOf()&&a.valueOf()<=this.g.valueOf()};mY.prototype.iterator=function(){return new nY(this)};function nY(a){this.g=a.h.clone();this.h=Number(a.g.yq())}x(nY,fe);nY.prototype.next=function(){if(Number(this.g.yq())>this.h)throw ee;var a=this.g.clone();this.g.add(new HO(KO,1));return a};var pKa={XT:"y",bfa:"y G",cfa:"MMM y",YT:"MMMM y",dfa:"MM/y",Sca:"MMM d",Tca:"MM
3186MM dd",Vca:"M/d",Uca:"MMMM d",Xca:"MMM d, y",$ea:"EEE, MMM d",afa:"EEE, MMM d, y",kba:"d",Wca:"MMM d, h:mm a zzzz"},oY=pKa;oY=pKa;function qKa(a){this.g=pY();this.h=a||$v()}function qY(a,b,c,d){var e=[a.g+"-btn"];d&&e.push(d);d=bx(a.h,"BUTTON");d.className=e.join(" ");d.appendChild(cx(a.h,c));b.appendChild(d)};function rY(a,b,c,d){EH.call(this,c);this.m=b||FO;this.Yd=this.m.yI;this.sb=new qW("d",this.m);new qW("dd",this.m);this.$b=new qW("w",this.m);this.ac=new qW("d MMM",this.m);this.mb=new qW(oY.XT||"y",this.m);this.Cb=new qW(oY.YT||"MMMM y",this.m);this.Bb=d||new qKa(this.g);this.h=new LO(a);this.h.Dt=this.m.rw;this.h.em=this.m.qw;this.l=this.h.clone();this.l.setDate(1);this.Ta="      ".split(" ");this.Ta[this.m.DI[0]]=pY()+"-Gi-Hi";this.Ta[this.m.DI[1]]=pY()+"-Gi-Ii";this.Y={};this.Z=[];this.Na=0}
3187x(rY,EH);h=rY.prototype;h.VH=new mY;h.iH=!0;h.Aw=!0;h.hH=!0;h.mx=null;h.PC=null;h.lx=null;h.aV=CH.getInstance();function pY(){return"jb-vi-wi"}function sY(a){CG(a.Za,a.hH);CG(a.Wa,a.Aw);CG(a.Vb,a.hH||a.Aw)}h.P3=function(){this.l.add(new HO(JO,-1));tY(this);uY(this)};h.s1=function(){this.l.add(new HO(JO,1));tY(this);uY(this)};h.Q3=function(){this.l.add(new HO(IO,-1));tY(this);uY(this)};h.t1=function(){this.l.add(new HO(IO,1));tY(this);uY(this)};h.UO=function(){var a=new LO;vY(this,a,!0)};
3188h.SO=function(){this.Aw&&vY(this,null,!0)};function rKa(a){return a.h&&a.h.clone()}function vY(a,b,c){var d=b==a.h||b&&a.h&&b.getFullYear()==a.h.getFullYear()&&b.getMonth()==a.h.getMonth(),e=b==a.h||d&&b.getDate()==a.h.getDate();a.h=b&&new LO(b);b&&(a.l.set(a.h),a.l.setFullYear(a.h.getFullYear()),a.l.setDate(1));tY(a);c&&a.dispatchEvent(new wY("select",a,a.h));e||a.dispatchEvent(new wY("change",a,a.h));d||uY(a)}
3189function sKa(a){if(a.mx){for(var b=a.mx;b.firstChild;)b.removeChild(b.firstChild);var c=a.Bb,d=a.m.BB[0].toLowerCase();var e=bx(c.h,"TD");e.colSpan=5;qY(c,e,"\u00ab",c.g+"-previousMonth");qY(c,e,"",c.g+"-Di");qY(c,e,"\u00bb",c.g+"-nextMonth");var f=bx(c.h,"TD");f.colSpan=3;qY(c,f,"\u00ab",c.g+"-previousYear");qY(c,f,"",c.g+"-Ei");qY(c,f,"\u00bb",c.g+"-nextYear");d.indexOf("y")<d.indexOf("m")?(b.appendChild(f),b.appendChild(e)):(b.appendChild(e),b.appendChild(f));xY(a,b,pY()+"-previousMonth",a.P3);
3190xY(a,b,pY()+"-nextMonth",a.s1);xY(a,b,pY()+"-Di",a.o8);xY(a,b,pY()+"-previousYear",a.Q3);xY(a,b,pY()+"-nextYear",a.t1);xY(a,b,pY()+"-Ei",a.s8);a.M=hw(pY()+"-Di",b);c=$v();b=hw(pY()+"-Ei",b||c.g);a.Ja=b}}function xY(a,b,c,d){b=hw(c,b);HH(a).J(b,"click",function(e){e.preventDefault();d.call(this,e)})}
3191function tKa(a){if(a.lx){var b=a.lx;Fw(b);var c=a.Bb,d=a.iH,e=bx(c.h,"TD");e.colSpan=d?2:3;e.className=c.g+"-Ai-Bi";qY(c,e,"Today",c.g+"-Ai-btn");b.appendChild(e);e=bx(c.h,"TD");e.colSpan=d?4:3;b.appendChild(e);e=bx(c.h,"TD");e.colSpan=2;e.className=c.g+"-Ci-Bi";qY(c,e,"None",c.g+"-Ci-btn");b.appendChild(e);xY(a,b,pY()+"-Ai-btn",a.UO);xY(a,b,pY()+"-Ci-btn",a.SO);a.Za=hw(pY()+"-Ai-btn",b);a.Wa=hw(pY()+"-Ci-btn",b);sY(a)}}
3192h.Vc=function(a){rY.D.Vc.call(this,a);gx(a,pY());var b=this.g.O("TABLE",{role:"presentation"}),c=this.g.O("THEAD"),d=this.g.O("TBODY",{role:"grid"}),e=this.g.O("TFOOT");d.tabIndex=0;this.Ub=d;this.Vb=e;var f=this.g.O("TR",{role:"row"});f.className=pY()+"-zi";this.mx=f;sKa(this);c.appendChild(f);this.u=[];for(var g=0;7>g;g++){f=bx(this.g,"TR");this.u[g]=[];for(var k=0;8>k;k++){var l=bx(this.g,0==k||0==g?"th":"td");0!=k&&0!=g||k==g?0!==g&&0!==k&&(pH(l,"gridcell"),l.setAttribute("tabindex","-1")):(l.className=
31930==k?pY()+"-xi":pY()+"-yi",pH(l,0==k?"rowheader":"columnheader"));f.appendChild(l);this.u[g][k]=l}d.appendChild(f)}f=bx(this.g,"TR");f.className=pY()+"-foot";this.lx=f;tKa(this);e.appendChild(f);b.cellSpacing="0";b.cellPadding="0";b.appendChild(c);b.appendChild(d);b.appendChild(e);a.appendChild(b);if(this.w()){for(b=0;7>b;b++)rw(this.u[0][b+1],this.Yd[((b+this.l.em+7)%7+1)%7]);CG(this.u[0][0].parentElement||this.u[0][0].parentNode,!0)}tY(this);a.tabIndex=0};h.Ra=function(){rY.D.Ra.call(this);this.Vc(this.w())};
3194h.K=function(){rY.D.K.call(this);var a=HH(this);a.J(this.Ub,"click",this.sZ);a.J(yY(this,this.w()),"key",this.tZ)};h.$=function(){rY.D.$.call(this);this.gq();for(var a in this.Y)this.Y[a].dispose();this.Y={}};h.create=rY.prototype.ue;h.qa=function(){rY.D.qa.call(this);this.Wa=this.Za=this.Ja=this.PC=this.M=this.lx=this.mx=this.Vb=this.Ub=this.u=null};
3195h.sZ=function(a){if("TD"==a.target.tagName){var b,c=-2,d=-2;for(b=a.target;b;b=b.previousSibling,c++);for(b=a.target.parentNode;b;b=b.previousSibling,d++);a=this.Z[d][c];this.VH.contains(a)&&(a=a.clone(),vY(this,a,!0))}};
3196h.tZ=function(a){switch(a.keyCode){case 33:a.preventDefault();var b=-1;break;case 34:a.preventDefault();b=1;break;case 37:a.preventDefault();var c=-1;break;case 39:a.preventDefault();c=1;break;case 38:a.preventDefault();c=-7;break;case 40:a.preventDefault();c=7;break;case 36:a.preventDefault();this.UO();break;case 46:a.preventDefault();this.SO();break;case 13:case 32:a.preventDefault(),vY(this,this.h,!0);default:return}this.h?(a=this.h.clone(),a.add(new HO(0,b,c))):(a=this.l.clone(),a.setDate(1));
3197this.VH.contains(a)&&(vY(this,a,!1),this.jd.focus())};h.o8=function(a){a.stopPropagation();a=[];for(var b=0;12>b;b++)a.push(this.m.Gs[b]);uKa(this,this.M,a,this.FZ,this.m.Gs[this.l.getMonth()])};h.s8=function(a){a.stopPropagation();a=[];for(var b=this.l.getFullYear(),c=this.l.clone(),d=-5;5>=d;d++)c.setFullYear(b+d),a.push(this.mb.format(c));uKa(this,this.Ja,a,this.UZ,this.mb.format(this.l))};h.FZ=function(a){a=Number(a.getAttribute("itemIndex"));this.l.setMonth(a);tY(this);this.M.focus&&this.M.focus()};
3198h.UZ=function(a){3==a.firstChild.nodeType&&(a=Number(a.getAttribute("itemIndex")),this.l.setFullYear(this.l.getFullYear()+a-5),tY(this));this.Ja.focus()};
3199function uKa(a,b,c,d,e){a.gq();var f=bx(a.g,"DIV");f.className=pY()+"-te";a.Ha=null;for(var g=bx(a.g,"UL"),k=0;k<c.length;k++){var l=a.g.O("LI",null,c[k]);l.setAttribute("itemIndex",k);c[k]==e&&(a.Ha=l);g.appendChild(l)}f.appendChild(g);f.style.left=b.offsetLeft+b.parentNode.offsetLeft+"px";f.style.top=b.offsetTop+"px";f.style.width=b.clientWidth+"px";a.M.parentNode.appendChild(f);a.Fa=f;a.Ha||(a.Ha=g.firstChild);a.Ha.className=pY()+"-te-Dh";a.yb=d;b=HH(a);b.J(a.Fa,"click",a.$L);b.J(yY(a,a.Fa),"key",
3200a.aM);b.J(a.g.getDocument(),"click",a.gq);f.tabIndex=0;f.focus()}h.$L=function(a){a.stopPropagation();this.gq();this.yb&&this.yb(a.target)};
3201h.aM=function(a){a.stopPropagation();var b=this.Ha;switch(a.keyCode){case 35:a.preventDefault();var c=b.parentNode.lastChild;break;case 36:a.preventDefault();c=b.parentNode.firstChild;break;case 38:a.preventDefault();c=b.previousSibling;break;case 40:a.preventDefault();c=b.nextSibling;break;case 13:case 9:case 0:a.preventDefault(),this.gq(),this.yb(b)}c&&c!=b&&(b.className="",c.className=pY()+"-te-Dh",this.Ha=c)};
3202h.gq=function(){if(this.Fa){var a=HH(this);a.kc(this.Fa,"click",this.$L);a.kc(yY(this,this.Fa),"key",this.aM);a.kc(this.g.getDocument(),"click",this.gq);Jw(this.Fa);delete this.Fa}};
3203function tY(a){if(a.w()){var b=a.l.clone();b.setDate(1);a.PC&&rw(a.PC,a.Cb.format(b));a.M&&rw(a.M,a.m.Gs[b.getMonth()]);a.Ja&&rw(a.Ja,a.mb.format(b));var c=((b.getDay()+6)%7-b.em+7)%7;b.add(new HO(JO,-1));b.setDate(GO(b.getFullYear(),b.getMonth())-(c-1));c=new HO(KO,1);a.Z=[];for(var d=0;6>d;d++){a.Z[d]=[];for(var e=0;7>e;e++){a.Z[d][e]=b.clone();var f=b.getFullYear();b.add(c);0==b.getMonth()&&1==b.getDate()&&f++;b.setFullYear(f)}}if(a.w()){b=a.l.getMonth();e=new LO;c=e.getFullYear();d=e.getMonth();
3204e=e.getDate();for(f=0;6>f;f++){a.iH?(rw(a.u[f+1][0],a.$b.format(a.Z[f][0])),a.u[f+1][0].className=pY()+"-xi"):(rw(a.u[f+1][0],""),a.u[f+1][0].className="");for(var g=0;7>g;g++){var k=a.Z[f][g],l=a.u[f+1][g+1];l.id||(l.id=DH(a.aV));pH(l,"gridcell");uH(l,a.ac.format(k));var n=[pY()+"-vi"];a.VH.contains(k)||n.push(pY()+"-unavailable-vi");k.getMonth()!=b&&n.push(pY()+"-Fi-Di");var q=(g+a.l.em+7)%7;a.Ta[q]&&n.push(a.Ta[q]);k.getDate()==e&&k.getMonth()==d&&k.getFullYear()==c&&n.push(pY()+"-Ai");a.h&&k.getDate()==
3205a.h.getDate()&&k.getMonth()==a.h.getMonth()&&k.getFullYear()==a.h.getFullYear()&&(n.push(pY()+"-Dh"),a.jd=l);k=a.sb.format(k);rw(l,k);l.className=n.join(" ")}4<=f&&CG(a.u[f+1][0].parentElement||a.u[f+1][0].parentNode,a.Z[f][0].getMonth()==b||!0)}7!=a.Na&&(7>a.Na&&a.dispatchEvent("gridSizeIncrease"),a.Na=7)}}}function uY(a){var b=new wY("changeActiveMonth",a,a.l.clone());a.dispatchEvent(b)}function yY(a,b){var c=Za(b);c in a.Y||(a.Y[c]=new fG(b));return a.Y[c]}
3206function wY(a,b,c){xx.call(this,a,b);this.ob=c}x(wY,xx);function zY(a,b){EH.call(this,b);this.Cf=a||new rY}x(zY,EH);h=zY.prototype;h.Cf=null;h.Oh=null;h.Ny=null;h.BD=!0;h.Ra=function(){zY.D.Ra.call(this);this.w().className="jb-popupdatepicker";this.Oh=new LW(this.w());this.Oh.rv(this)};h.isVisible=function(){return this.Oh?this.Oh.isVisible():!1};h.K=function(){zY.D.K.call(this);if(!this.Cf.Uc()){var a=this.w();a.style.visibility="hidden";CG(a,!1);
3206this.Cf.ue(a)}HH(this).J(this.Cf,"change",this.CD).J(this.Cf,"select",this.aF)};
3207h.qa=function(){zY.D.qa.call(this);this.Oh&&(this.Oh.dispose(),this.Oh=null);this.Cf.dispose();this.Ny=this.Cf=null};h.Tn=function(){return!1};h.ni=function(a){HH(this).J(a,"mousedown",this.MR)};h.detach=function(a){HH(this).kc(a,"mousedown",this.MR)};
3208h.MR=function(a){this.Ny=a=a.h;var b=this.Oh;b.T=new cO(a,9,197);b.isVisible()&&b.Kk();HH(this).kc(this.Cf,"change",this.CD).kc(this.Cf,"select",this.aF).kc(this.Cf,"gridSizeIncrease",this.J2);vY(this.Cf,null,!0);this.dispatchEvent("show");this.Oh.Ga(!0);this.BD&&this.w().focus();HH(this).J(this.Cf,"change",this.CD).J(this.Cf,"select",this.aF)};h.aF=function(a){this.Oh.Ga(!1);this.BD&&this.Ny&&this.Ny.focus();this.dispatchEvent(a)};h.CD=function(a){this.dispatchEvent(a)};
3209h.J2=function(){this.Oh&&this.Oh.Kk()};function AY(a,b,c,d){EH.call(this,d);this.CC=a;this.dK=b;this.df=new zY(c,d);this.Ea(this.df);this.df.BD=!1}x(AY,EH);h=AY.prototype;h.CC=null;h.dK=null;h.df=null;h.dO=null;function AW(a,b){a=a.w();a.lc?a.lc.setValue(b):a.value=b}function NIa(a){a=a.w();return a.lc?a.lc.getValue():a.value}function vKa(a){var b=yc(NIa(a));if(b){var c=new NO;if(0<IIa(a.dK,b,c,0,!0))return c}return null}h.Ra=function(){this.j=this.g.O("INPUT",{type:"text"});this.df.Ra()};
3210h.K=function(){(this.dO||this.g.getDocument().body).appendChild(this.df.w());AY.D.K.call(this);var a=this.w();this.df.ni(a);a=vKa(this);vY(this.df.Cf,a,!0);a=HH(this);a.J(this.df,"change",this.JY);a.J(this.df,"show",this.T2)};h.$=function(){AY.D.$.call(this);var a=this.w();this.df.detach(a);this.df.$();Jw(this.df.w())};h.Vc=function(a){AY.D.Vc.call(this,a);this.df.Ra()};h.qa=function(){AY.D.qa.call(this);this.df.dispose();this.dO=this.df=null};
3211h.T2=function(){var a=vKa(this);vY(this.df.Cf,a,!0);a&&(a=rKa(this.df.Cf),AW(this,a?this.CC.format(a):""))};h.JY=function(a){a=a.ob;AW(this,a?this.CC.format(a):"")};function BY(a,b,c,d){AY.call(this,a,b,c,d);this.lc=new sU;a=this.df.Cf;a.iH=!1;sKa(a);tKa(a);tY(a);a.hH=!1;a.Za&&sY(a);a.Aw=!1;a.Wa&&sY(a)}x(BY,AY);h=BY.prototype;h.Oc=null;h.Ra=function(){var a=this.g.O("INPUT",{type:"text","class":"Ji",autocomplete:"new-street-address"});this.j=a;this.lc.ue(a);this.df.Ra()};h.K=function(){BY.D.K.call(this);this.Oc=new BP(this.w());var a=HH(this);a.J(this.Oc,"input",this.vZ);var b=this.j;a.J(b,"focus",this.Z6);a.J(b,"blur",this.Y6)};h.vZ=function(){this.dispatchEvent("change")};
3212h.W=function(a){this.lc.W(a)};h.$=function(){BY.D.$.call(this);this.Oc.dispose();this.Oc=null};h.qa=function(){BY.D.qa.call(this);C(this.lc);this.lc=null};h.Z6=function(){this.dispatchEvent("focus")};h.Y6=function(){this.dispatchEvent("blur")};h.hasFocus=function(){return null!=document.activeElement&&this.w()===document.activeElement};h.blur=function(){this.w().blur()};function CY(a,b){var c=this;b=b||{};this.$H=b.$H||.7;this.minWidth=b.minWidth||.5;this.maxWidth=b.maxWidth||2.5;this.jx=b.jx||function(){return(this.minWidth+this.maxWidth)/2};this.bO=b.bO||"black";this.backgroundColor=b.backgroundColor||"rgba(0,0,0,0)";this.Am=b.Am;this.g=a;this.h=a.getContext("2d");this.clear();this.va=function(d){1===d.which&&(c.o=!0,DY(c),EY(c,d))};this.m=function(d){c.o&&EY(c,d)};this.M=function(d){1===d.which&&c.o&&(c.o=!1,wKa(c,d))};this.u=function(d){1==d.targetTouches.length&&
3213(d=d.changedTouches[0],DY(c),EY(c,d))};this.T=function(d){d.preventDefault();EY(c,d.targetTouches[0])};this.L=function(d){d.target===c.g&&(d.preventDefault(),wKa(c,d))};this.o=!1;this.g.addEventListener("mousedown",this.va);this.g.addEventListener("mousemove",this.m);document.addEventListener("mouseup",this.M);this.g.style.msTouchAction="none";this.g.style.touchAction="none";this.g.addEventListener("touchstart",this.u);this.g.addEventListener("touchmove",this.T);this.g.addEventListener("touchend",
3214this.L)}CY.prototype.clear=function(){var a=this.h,b=this.g;a.fillStyle=this.backgroundColor;a.clearRect(0,0,b.width,b.height);a.fillRect(0,0,b.width,b.height);DY(this)};CY.prototype.s=function(a,b){var c=this.g;return c.toDataURL.apply(c,arguments)};function yxa(a,b){var c=new Image,d=window.devicePixelRatio||1,e=a.g.width/d,f=a.g.height/d;1>d&&(e=a.g.width,f=a.g.height);DY(a);c.src=b;c.onload=function(){a.h.drawImage(c,0,0,e,f)};a.j=!1}
3215function EY(a,b){var c=a.g.getBoundingClientRect();c=new FY(b.clientX-c.left,b.clientY-c.top);b=a.points;b.push(c);if(2<b.length){3===b.length&&b.unshift(b[0]);var d=xKa(b[0],b[1],b[2]);c=d.TU;d=xKa(b[1],b[2],b[3]);d=d.SU;c=new yKa(b[1],c,d,b[2]);d=c.g;var e=c.h;d=d.time!==e.time?Math.sqrt(Math.pow(d.x-e.x,2)+Math.pow(d.y-e.y,2))/(d.time-e.time):1;d=a.$H*d+(1-a.$H)*a.ea;e=Math.max(a.maxWidth/(d+1),a.minWidth);var f=a.l,g=a.h,k=e-f,l;var n=Math.floor(c.length());g.beginPath();for(l=0;l<n;l++){var q=
3216l/n;var t=q*q;var u=t*q;var v=1-q;var y=v*v;var G=y*v;var K=G*c.h.x;K+=3*y*q*c.j.x;K+=3*v*t*c.o.x;K+=u*c.g.x;G*=c.h.y;G+=3*y*q*c.j.y;G+=3*v*t*c.o.y;G+=u*c.g.y;q=f+u*k;zKa(a,K,G,q)}g.closePath();g.fill();a.ea=d;a.l=e;b.shift()}}function wKa(a,b){var c=a.points[0];if(!(2<a.points.length)&&c){var d=a.h,e="function"===typeof a.jx?a.jx():a.jx;d.beginPath();zKa(a,c.x,c.y,e);d.closePath();d.fill()}"function"===typeof a.Am&&a.Am(b)}CY.prototype.Ia=function(){return this.j};
3217function DY(a){a.points=[];a.ea=0;a.l=(a.minWidth+a.maxWidth)/2;a.j=!0;a.h.fillStyle=a.bO}function xKa(a,b,c){var d=a.x-b.x,e=a.y-b.y,f=b.x-c.x,g=b.y-c.y,k=(a.x+b.x)/2;a=(a.y+b.y)/2;var l=(b.x+c.x)/2;c=(b.y+c.y)/2;f=Math.sqrt(f*f+g*g);e=f/(Math.sqrt(d*d+e*e)+f);d=b.x-(l+(k-l)*e);b=b.y-(c+(a-c)*e);return{SU:new FY(k+d,a+b),TU:new FY(l+d,c+b)}}function zKa(a,b,c,d){var e=a.h;e.moveTo(b,c);e.arc(b,c,d,0,2*Math.PI,!1);a.j=!1}
3218function AKa(a,b){function c(G){for(var K=G?1:-1,J=G?0:e-1;G?J<e:-1<J;J+=K)for(var O=0;O<f;O++)if(g[4*(e*O+J)+3])return J;return null}function d(G){for(var K=G?1:-1,J=G?0:f-1;G?J<f:-1<J;J+=K)for(var O=0;O<e;O++)if(g[4*(e*J+O)+3])return J;return null}var e=a.h.canvas.width,f=a.h.canvas.height,g=a.h.getImageData(0,0,e,f).data,k=d(!0),l=d(!1),n=c(!0),q=c(!1);if(null!==k&&null!==l&&null!==n&&null!==q){for(var t=q-n;t<.1*e&&q<e-1;)++q,t=q-n;for(;t<.1*e&&0<n;)--n,t=q-n;for(var u=l-k;u<.1*e&&0<k;)--k,u=
3219l-k;for(;u<.1*e&&l<f-1;)++l,u=l-k;var v=e/f,y=t/u;if(y>v){for(;y>v&&0<k;)--k,u=l-k,y=t/u;for(;y>v&&l<f-1;)++l,u=l-k,y=t/u}else if(y<v){for(;y<v&&q<e-1;)++q,t=q-n,y=t/u;for(;y<v&&0<n;)--n,t=q-n,y=t/u}b?(b=a.h.strokeStyle,a.h.rect(n,k,q-n,l-k),a.h.strokeStyle="red",a.h.stroke(),a.h.strokeStyle=b):(b=a.h.getImageData(n,k,q-n,l-k),a.g.width=q-n,a.g.height=l-k,a.h.clearRect(0,0,q-n,l-k),a.h.putImageData(b,0,0))}}function FY(a,b){this.x=a;this.y=b;this.time=(new Date).getTime()}
3220function yKa(a,b,c,d){this.h=a;this.j=b;this.o=c;this.g=d}yKa.prototype.length=function(){var a=0,b,c=0,d=0;for(b=0;10>=b;b++){var e=b/10;var f=this.h.x*(1-e)*(1-e)*(1-e)+3*this.j.x*(1-e)*(1-e)*e+3*this.o.x*(1-e)*e*e+this.g.x*e*e*e;e=this.h.y*(1-e)*(1-e)*(1-e)+3*this.j.y*(1-e)*(1-e)*e+3*this.o.y*(1-e)*e*e+this.g.y*e*e*e;0<b&&(c=f-c,d=e-d,a+=Math.sqrt(c*c+d*d));c=f;d=e}return a};fb("Pad",CY);fb("Pad.prototype.clear",CY.prototype.clear);fb("Pad.prototype.isEmpty",CY.prototype.Ia);
3221fb("Pad.prototype.toDataURL",CY.prototype.s);function GY(a,b,c,d,e,f){EH.call(this,e);this.u=null!=a?a:null;this.Ac=b;this.ac=null!=c?c:null;this.NF=d;this.Za=this.Y=this.Wa=this.mb=this.M=this.yb=this.Ha=this.m=this.l=this.h=this.Xa=null;this.Ja="";this.Ka=null;this.Na=hK&&fz(AF,41,!1)&&3==zF();this.Kb=!0;this.sb=!1;this.Bb="Adopt and Sign";this.Ub="By selecting Adopt and Sign, I agree to sign this document electronically. This signature will be the electronic ";this.Vb="representation of my signature, just the same as a pen-and-paper signature.";
3222this.Cb=null!=f?f:null;this.Ta=uI;this.Z=0}x(GY,EH);h=GY.prototype;
3223h.Ra=function(){var a={"class":["Kh",hIa[0]].join(" "),autocomplete:"new-street-address"};null!=this.ac&&(a.maxlength=this.ac);var b={"class":"ku"},c={};a.style="display: none";b["class"]+=" lu";c["class"]="hu";this.Xa=this.g.O("INPUT",a);a=HH(this);Qx(a,this.Xa,"change",this.Cv,void 0,this);Qx(a,this.Xa,"keydown",this.Cv,void 0,this);Qx(a,this.Xa,"focus",this.b7,void 0,this);Qx(a,this.Xa,"blur",this.a7,void 0,this);this.m=this.g.O("CANVAS",b);this.Ha=this.g.O("DIV",c);this.Na&&(this.yb=this.g.O("DIV",
3224["iu","E"],"approval"),Qx(a,this.yb,"click",this.M2,void 0,this));Qx(a,this.m,"click",this.kz,void 0,this);Qx(a,this.Ha,"click",this.kz,void 0,this);b="eu";this.sb&&(b+=" fu");this.j=this.g.O("DIV",b,[this.Xa,this.m,this.Ha,this.yb])};h.K=function(){GY.D.K.call(this);zK(AK,"c",this.zO,this)};h.$=function(){GY.D.$.call(this);AK.unsubscribe("c",this.zO,this)};h.zO=function(){if(this.h){var a=this.h.s();BKa(this);yxa(this.h,a)}};
3225function BKa(a){var b=Math.max(La.devicePixelRatio||1,1);a.l.width=a.l.offsetWidth*b;a.l.height=a.l.offsetHeight*b;a.l.getContext("2d").scale(b,b);a.h.clear()}h.qa=function(){GY.D.qa.call(this);C(this.h)};h.W=function(a){this.Xa.disabled=!a;this.Kb=a};
3226h.setValue=function(a){if(vc(a,"data:")){var b=a.split("\n");this.Xa.value=b[0];1<b.length&&(this.Ja=b[1]);if(2<b.length)throw Error("invalid signature data string");}else this.Xa.value=a;if(""==a||vc(a,"data:")){a=HH(this);Qx(a,this.m,"click",this.kz,void 0,this);Qx(a,this.Ha,"click",this.kz,void 0,this);this.m.className+=" lu";var c=this.m.width,d=this.m.height,e=this.m.getContext("2d");e.clearRect(0,0,c,d);if(vc(this.Xa.value,"data:")){if(null==this.u){var f=new Image;f.onload=function(){e.drawImage(f,
32270,0,c,d)};f.onerror=function(){}}else{this.u.Wa++;f=new Image;var g=this.u;f.onload=function(){e.drawImage(f,0,0,c,d);KV(g)};f.onerror=function(){KV(g)}}f.src=this.Xa.value}this.Xa.style.display="none";this.m.style.display="";this.Ha.className="hu"}else this.m.style.display="none",this.Xa.style.display="",this.Ha.className="gu"};h.getValue=function(){return this.Ja?this.Xa.value+"\n"+this.Ja:this.Xa.value};h.Rg=function(){return!0};h.Jo=function(){};
3228h.OP=function(a){var b=this,c;return r(function(d){switch(d.g){case 1:c=!0;switch(a.key){case "crop":b.h.j||(b.Z&&b.Ta.kT(),AKa(b.h,!0));a.preventDefault();c=!1;break;case "clear":return d.ua(2);case "replace":b.Ka.Ga(!1);CKa(b);c=!1;break;case "remove":b.Ja="";b.setValue("");b.Cv();break;case "adopt":b.h.j&&""==b.M.value||(b.mb.innerText=b.M.value?"":"Required",b.Wa.innerText=b.h.j?"Required":"",b.Za.innerText=b.Y.checked?"":"Required ",b.mb.innerText||b.Wa.innerText||b.Za.innerText?(a.preventDefault(),
3229c=!1):(b.Z&&b.Ta.kT(),AKa(b.h,!1),b.setValue(b.h.s()+"\n"+b.M.value),b.Cv()))}d.ua(3);break;case 2:b.h.clear();a.preventDefault();if(!b.Z){d.ua(4);break}return p(d,b.Ta.clear(),4);case 4:c=!1;d.ua(3);break;case 3:c&&DKa(b),ua(d)}})};var EKa={key:"clear",caption:"Clear"},FKa={key:"crop",caption:"Crop"},GKa={key:"remove",caption:"Remove"};h=GY.prototype;h.p_=function(a){var b=this;return r(function(c){switch(a.key){case "replace":HKa(b)}b.Ka.Ga(!1);b.Ka=null;b.dispatchEvent("blur");ua(c)})};
3230function HKa(a){AK.ka("eb",a.L8,a);a=++RQ;HQ(a,"",0)}h.M2=function(){if(this.Kb)if(""!=this.Xa.value){this.dispatchEvent("focus");this.Ka=SP();this.Ka.tc("Replace existing signature?");var a=new aI;hI(a,kI,!0,!0);hI(a,{key:"replace",caption:"Replace"});eI(this.Ka,a);this.Ka.dg=!0;a=HH(this);Qx(a,this.Ka,gI,this.p_,void 0,this);this.Ka.Ga(!0)}else HKa(this)};h.L8=function(a){if(a=N(a,UC,46))if(a=L(a,1,""))hK=""!=a,this.setValue(a),this.Cv()};
3231h.kz=function(){if(this.Kb)if(this.dispatchEvent("focus"),this.u&&this.u.W(!1),""!=this.Xa.value){this.Ka=SP();this.Ka.tc("Modify existing signature?");var a=new aI;hI(a,kI,!0,!0);hI(a,GKa);hI(a,{key:"replace",caption:"Replace"});eI(this.Ka,a);this.Ka.dg=!0;a=HH(this);Qx(a,this.Ka,gI,this.OP,void 0,this);this.Ka.Ga(!0)}else CKa(this)};
3232function CKa(a){var b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa;r(function(za){if(1==za.g){a.Ka=SP();a.Ka.tc(a.Bb);b=new aI;hI(b,{key:"adopt",caption:a.Bb},!0);hI(b,kI,!1,!0);hI(b,EKa);var Aa=La.location.hash.substring(1).split("&");(Nb(Aa,"showCrop")||Nb(Aa,"showCrop=true"))&&hI(b,FKa);eI(a.Ka,b);a.Ka.dg=!0;c=a.Ka.ib();a.l=a.g.O("CANVAS","ju");a.l.addEventListener("mousedown",bb(a.vr,a));a.l.addEventListener("touchstart",bb(a.vr,a));d=null!=a.Cb?"pu":void 0;e=a.g.O("DIV",d,a.Cb);f=a.g.O("DIV",
3233{style:"padding-bottom: 9px;"},"Confirm your name and signature.");g=a.g.O("SPAN","ou","Full Name");a.mb=a.g.O("SPAN",{style:"color:red;"});k=a.g.O("DIV",{style:"padding-bottom: 3px;"},g,a.mb);a.M=a.g.O("INPUT",{autocomplete:"new-street-address"});a.M.addEventListener("focus",bb(a.vr,a));a.M.addEventListener("input",bb(a.vr,a));l=a.g.O("DIV",{style:"padding-bottom: 6px;"},a.M);n=a.g.O("SPAN","ou","Draw Signature");a.Wa=a.g.O("SPAN",{style:"color:red;"});q=a.g.O("DIV",{style:"padding-bottom: 3px;"},
3234n,a.Wa);t=a.g.O("DIV",{style:"position: relative;"},q,a.l);u=a.Ka.rb()+".liability";a.Y=a.g.O("INPUT",{type:"checkbox",id:u});a.Y.addEventListener("change",bb(a.vr,a));a.Za=a.g.O("SPAN",{style:"color:red;"});v=a.g.O("DIV",{style:"padding: 5px 0; display: flex; align-items: flex-start; border-bottom: 1px solid #ccc; position: relative"},a.Y,a.g.O("LABEL",{"for":u},a.Za,"I certify my name and signature are reflected accurately. I acknowledge entering a false signature constitutes",a.g.O("BR"),"forgery, which may carry criminal and civil liability."));
3235y={href:"/iep/ersd",rel:"noopener noreferrer",target:"_blank"};G=a.g.O("A",y,"Electronic records and signatures disclosure");K=a.g.O("DIV",{style:"padding: 5px 0;"},a.Ub,a.g.O("BR"),a.Vb,a.g.O("BR"),G);c.appendChild(e);c.appendChild(f);c.appendChild(k);c.appendChild(l);c.appendChild(t);c.appendChild(v);c.appendChild(K);a.M.value=a.Ja;gx(a.Ka.w(),"du");J=HH(a);Qx(J,a.Ka,gI,a.OP,void 0,a);a.Ka.Ga(!0);a.h=new CY(a.l);BKa(a);O=a;return p(za,a.Ta.v8(a.Ka,a.l,a.h,a.M,a.Y),2)}O.Z=za.h;a.Z&&(P=B("SPAN","mu",
3236"Topaz Signature Pad Detected"),ZH(a.Ka).appendChild(P),Q=a.g.O("DIV","nu"),t.appendChild(Q),Aa=a.h,Aa.g.removeEventListener("mousedown",Aa.va),Aa.g.removeEventListener("mousemove",Aa.m),document.removeEventListener("mouseup",Aa.M),Aa.g.removeEventListener("touchstart",Aa.u),Aa.g.removeEventListener("touchmove",Aa.T),Aa.g.removeEventListener("touchend",Aa.L),2==a.Z&&(Q.style.bottom="0",R=a.Ka.Yb,aa=fI(R,"clear"),aa.style.display="none",fa=a.g.O("DIV","nu"),fa.style.top="0",v.appendChild(fa),a.Y.disabled=
3237!0));
3237null!=a.u&&(a.u.XC=!0);ua(za)})}h.Cv=function(){this.dispatchEvent("change")};h.b7=function(){this.Kb&&(this.vr(),this.dispatchEvent("focus"))};h.a7=function(){this.dispatchEvent("blur")};h.vr=function(){this.dispatchEvent("change")};function DKa(a){r(function(b){if(1==b.g)return null!=a.u&&(a.u.XC=!1),a.Z?p(b,a.Ta.u8(),2):b.ua(2);a.l=null;a.h=null;a.Ka.Ga(!1);a.Ka=null;a.u&&a.u.W(!0);a.dispatchEvent("blur");ua(b)})}h.hasFocus=function(){return!!this.Ka&&this.Ka.isVisible()};
3238h.blur=function(){var a=this;return r(function(b){DKa(a);ua(b)})};function IKa(a){a.sb=!0;(a=a.w())&&a.classList.add("fu")};function HY(a,b){EH.call(this,b);this.u=a;this.Xa=this.m=this.h=null;this.l=""}x(HY,EH);h=HY.prototype;h.Ra=function(){this.Xa=this.g.O("DIV",{"class":["sf",iIa[0]].join(" "),style:"display: none;"});this.h=this.g.O("CANVAS","ku");this.j=this.m=this.g.O("DIV",void 0,[this.Xa,this.h])};h.W=function(){};
3239h.setValue=function(a){this.Xa.innerHTML=a;if(vc(a,"data:")){var b=a.split("\n");this.Xa.innerHTML=b[0];1<b.length&&(this.l=b[1]);if(2<b.length)throw Error("invalid signature data string");}else this.Xa.innerHTML=a;if(""==a||vc(this.Xa.innerHTML,"data:")){var c=this.h.width,d=this.h.height,e=this.h.getContext("2d");e.clearRect(0,0,c,d);if(vc(this.Xa.innerHTML,"data:")){this.u.Wa++;var f=new Image,g=this.u;f.onload=function(){e.drawImage(f,0,0,c,d);KV(g)};f.onerror=function(){KV(g)};f.src=this.Xa.innerHTML;
3240this.m.title=this.l}this.Xa.style.display="none";this.h.style.display=""}else this.h.style.display="none",this.Xa.style.display=""};h.getValue=function(){return this.l?this.Xa.innerHTML+"\n"+this.l:this.Xa.innerHTML};h.Rg=function(){return!0};h.Jo=function(){};h.hasFocus=function(){return!1};function IY(a,b,c,d){this.g=a;this.h=b;this.j=c;this.o=d||null}
3241function JY(a){if(xc(Xd(a)))return null;var b=yc(a).toLowerCase(),c=Jc(b,"p"),d=Jc(b,"a"),e=b.replace(/[^\d:.]/g,"");if(xc(e))return null;b="00";if(Jc(e,":")||Jc(e,".")){e=e.split(/[:.]/);var f=e[0];1<e.length&&!xc(e[1])&&(b=e[1],1===b.length&&(b+="0"))}else 3<=e.length?(f=e.slice(0,-2),b=e.slice(-2)):2===e.length&&24<parseInt(e,10)?(f=e.charAt(0),b=e.charAt(1)+"0"):f=e;f=parseInt(f,10);b=parseInt(b,10);e=null;if(12<f&&24>f)f-=12,e="PM";else if(0===f||24===f)f=12,e="AM";if(isNaN(f)||1>f||12<f||isNaN(b)||
32420>b||59<b)return null;var g="AM";if(c)g="PM";else if(d)g="AM";else if(e)g=e;else if(12===f||1<=f&&6>f)g="PM";return new IY(Vd(f,2),Vd(b,2),g,a)}function KY(){var a=new Date,b=a.getHours(),c="AM";12<=b?(c="PM",12<b&&(b-=12)):0===b&&(b=12);return new IY(Vd(b,2),Vd(a.getMinutes(),2),c)}IY.prototype.toString=function(){return this.g&&this.h&&this.j?this.g+":"+this.h+" "+this.j:""};function LY(a){EH.call(this,a);this.Z=this.u=this.m=this.l=this.M=this.h=null}x(LY,EH);
3243LY.prototype.Ra=function(){var a=this.g;this.M=a.O("SPAN",{style:"font-weight: bold;"},"");var b=a.O("SPAN",{style:"font-size: 10px; opacity: 0.7;"},"\u21b5 Enter");this.h=a.O("DIV",{"class":"ev",style:"display: none;"},this.M,b);this.l=new MY("hour",1,12,a);this.m=new MY("minute",0,59,a);this.u=new MY("period",0,0,a);b=a.O("DIV",{"class":"fv"},this.l.w(),this.m.w(),this.u.w());this.j=a.O("DIV",{"class":"dv",style:"display: none;"},this.h,b)};
3244LY.prototype.K=function(){LY.D.K.call(this);var a=HH(this);a.J(this.h,"click",this.Ha);a.J(this.w(),"mousedown",function(b){b.preventDefault()});this.l.K(a,bb(this.Y,this));this.m.K(a,bb(this.Y,this));this.u.K(a,bb(this.Y,this))};function NY(a,b){(a.Z=b)&&b.o&&b.toString()!==b.o?(rw(a.M,b.toString()),CG(a.h,!0)):CG(a.h,!1);var c=!0;"none"!=a.h.style.display&&(c=!1);b||(b=KY(),c=!1);OY(a.l,b.g,c);OY(a.m,b.h,c);OY(a.u,b.j,c)}LY.prototype.Ha=function(){this.Z&&JKa(this,this.Z,!0)};
3245LY.prototype.Y=function(a,b){var c=this.Z;c||(c=KY());var d=c,e=!1;"hour"===a?d=new IY(b,c.h,c.j):"minute"===a?d=new IY(c.g,b,c.j):"period"===a&&(d=new IY(c.g,c.h,b),e=!0);JKa(this,d,e)};function JKa(a,b,c){var d=new xx("ke",a);d.data=b;d.blur=c;a.dispatchEvent(d)}
3246function MY(a,b,c,d){this.l=a;this.h=d;this.g=this.h.O("DIV",{"class":"gv",tabindex:"-1",style:"scrollbar-width: none; -ms-overflow-style: none;"});if("period"===a)PY(this,"AM"),PY(this,"PM");else for(a=0;3>a;a++)for(d=b;d<=c;d++)PY(this,Vd(d,2))}function PY(a,b){b=a.h.O("DIV",{"class":"hv","data-val":b},b);a.h.appendChild(a.g,b)}MY.prototype.w=function(){return this.g};
3247MY.prototype.K=function(a,b){a.J(this.g,"scroll",this.o);a.J(this.g,"click",function(c){c=c.target;fx(c,"hv")&&(c=c.getAttribute("data-val"),b(this.l,c))}.bind(this));a.J(this.g,"mouseover",this.j)};
3248function OY(a,b,c){if(b){var d=Mw(a.g);Fb(d,function(k){ix(k,"iv");ix(k,"jv");k.getAttribute("data-val")===b&&(c?gx(k,"iv"):gx(k,"jv"))});if(2===d.length)d[0].getAttribute("data-val")!==b&&a.h.appendChild(a.g,d[0]),a.g.scrollTop=0;else{for(var e=d.length/3,f=-1,g=e;g<2*e;g++)if(d[g].getAttribute("data-val")===b){f=g;break}-1!==f&&0<d.length&&(a.g.scrollTop=d[f].offsetTop-d[0].offsetTop)}}}
3249MY.prototype.o=function(a){a=a.target;var b=a.scrollHeight/3;a.scrollTop<b?a.scrollTop+=b:a.scrollTop>=2*b&&(a.scrollTop-=b)};
3249MY.prototype.j=function(a){Fb(Sb(a.h.getElementsByClassName("jv")),function(b){ix(b,"jv")})};function QY(a,b,c,d,e){EH.call(this,e);this.lc=new sU;this.Ea(this.lc);this.h=new LY(e);this.Ea(this.h);this.l=null;this.u=!1;this.m=this.Oc=null}x(QY,EH);h=QY.prototype;h.Ra=function(){var a=this.g,b=a.O("INPUT",{type:"text","class":"Kh",autocomplete:"new-street-address",style:"width: 76px;"});this.lc.ue(b);this.h.Ra();this.j=a.O("DIV",{"class":"cv",style:"position: relative;"},this.lc.w(),this.h.w())};
3250h.K=function(){QY.D.K.call(this);var a=this.lc.w(),b=HH(this);this.Oc=new BP(a);b.J(this.Oc,"input",this.wZ);this.m=new fG(a);b.J(this.m,"key",this.BZ);b.J(a,"focus",this.d7);b.J(a,"blur",this.c7);b.J(this.h,"ke",this.JZ)};h.$=function(){QY.D.$.call(this);C(this.Oc);C(this.m);this.m=this.Oc=null};h.qa=function(){QY.D.qa.call(this);C(this.lc);C(this.h);this.l=this.h=this.lc=null};h.hasFocus=function(){return null!=ax(document)&&this.lc.w()===ax(document)};h.W=function(a){this.lc.W(a)};h.blur=function(){this.w().blur()};
3251h.setValue=function(a){this.lc.setValue(a);this.l=JY(a)};h.getValue=function(){return this.lc.getValue()};h.wZ=function(){var a=this.getValue();this.l=JY(a);NY(this.h,this.l);RY(this,!0);this.dispatchEvent("change")};h.d7=function(){var a=this.getValue();this.l=JY(a);NY(this.h,this.l);RY(this,!0);this.dispatchEvent("focus")};h.c7=function(a){this.h.w().contains(a.relatedTarget)||(RY(this,!1),this.dispatchEvent("blur"))};
3252h.JZ=function(a){var b=a.data;this.l=b;b=b.toString();this.getValue()!==b&&(this.lc.setValue(b),this.dispatchEvent("change"));NY(this.h,this.l);a.blur&&this.lc.w().blur()};
3253h.BZ=function(a){if(13===a.keyCode){var b=this.h;(b="none"!=b.h.style.display?Ww(b.M):null)?(this.setValue(b),RY(this,!1),this.lc.w().blur(),a.preventDefault(),this.dispatchEvent("change")):this.getValue()||(b=KY(),this.setValue(b.toString()),RY(this,!1),this.lc.w().blur(),a.preventDefault(),this.dispatchEvent("change"))}else 9===a.keyCode&&RY(this,!1)};function RY(a,b){a.u!==b&&(a.u=b,CG(a.h.w(),b),b&&UG(function(){NY(this.h,this.l)},0,a))};function KKa(a){yW.call(this,void 0,2,a)}x(KKa,yW);function SY(a){var b=a.g.m;return b?b:mV(a)};function TY(a){EH.call(this,a)}x(TY,EH);TY.prototype.Ra=function(){this.j=this.g.O("SPAN",{"class":"ob"})};function UY(a,b){EH.call(this,b);this.description=a}x(UY,EH);UY.prototype.Ra=function(){var a=this.g.O("LI","Ob");this.j=a;for(var b=0,c=this.description.length;b<c;b++)this.description[b].render(a)};UY.prototype.qa=function(){UY.D.qa.call(this);for(var a=this.description.length,b=0;b<a;b++)C(this.description[b]);this.description=null};function VY(a,b){EH.call(this,b);null!==a&&(this.h=a)}x(VY,EH);VY.prototype.h=0;VY.prototype.Ra=function(){var a;if(0==this.h)var b="UL";else b="OL",1!=this.h&&(a=eIa[this.h]);this.j=this.g.O(b,a)};VY.prototype.qa=function(){VY.D.qa.call(this);delete this.h};function WY(a,b,c,d,e,f){EH.call(this,d);this.m=null===a?0:a;this.l=b;this.h=c;this.Z=e;this.M=f;this.u=!0}x(WY,EH);h=WY.prototype;h.Ee=null;h.Ra=function(){for(var a=B("TD","Ve"),b=B("DIV","jb-kb-lb"),c=B("TD","We",b),d=0,e=this.l.length;d<e;d++)this.l[d].render(b);1==this.M&&(this.hint=HGa(this.Z,b));d=B("TR",void 0,a,c);d=this.g.O("TBODY",void 0,d);d=B("TABLE","df",d);var f;0==this.m&&(f="jb-kb-lb");f=B("DIV",f,d);this.h.render(a);ZAa(this.h,b);this.j=f;this.Ee=c;this.Ga(this.u)};
3254h.qa=function(){WY.D.qa.call(this);delete this.m;delete this.Ee;C(this.h);C(this.hint);this.h=null;for(var a=0;a<this.l.length;a++)C(this.l[a]);this.l=null};h.Ln=function(){return this.h};h.ib=function(){return this.Ee};h.Ga=function(a){this.u=a;null!=this.w()&&(a?this.w().style.display="":this.w().style.display="none")};function XY(a){EH.call(this,a)}x(XY,EH);XY.prototype.Ra=function(){var a=this.g.O("SPAN",{"class":"pageNumber"},"0000"),b=this.g.O("SPAN",{"class":"totalPages"},"0000");this.j=this.g.O("DIV","jb-kb-lb","Page ",a," of ",b)};function ZY(a,b,c,d,e,f,g,k,l,n,q,t){dW.call(this,a,b,d,e,f,g,l,!1,q,t);this.m=c;this.Y=n;this.u=d;null!==k&&(this.l=k)}x(ZY,dW);ZY.prototype.Ra=function(){if(2==this.m)ZY.D.Ra.call(this);else if(null!=this.u)eW(this,this.l);else{var a={};0!=this.Xh&&(a["class"]=HV[this.Xh]);w(this.id)&&(a.id=this.id);var b=[];
3254this.Y&&2!=this.m&&b.push(LKa(this));this.Xp=this.j=a=this.g.O("DIV",a,b)}};
3255function LKa(a){var b=a.abbr&&!/[^0-9]/.test(a.abbr)?"Section "+a.abbr:a.abbr;b=[b==a.name?b:b+": "+a.name];if(w(a.l)){var c=a.g.O("A",{href:a.l,rel:"noopener noreferrer",target:"_blank",style:"position: absolute; top: 2px; right: 5px; font-size: 13px; text-decoration: none"},"Section Tips");b.push(c)}return a.g.O("DIV","wf",b)};function $Y(a){EH.call(this,a)}x($Y,EH);$Y.prototype.Ra=function(){this.j=this.g.O("SUP")};function aZ(a,b,c,d,e,f,g,k,l,n){EH.call(this,n);this.nA=bW(a);this.oA=cW(c,e,d,b);this.pA=tIa(f,g);this.Ul=k;this.cellPadding=l}x(aZ,EH);h=aZ.prototype;h.nA=null;h.oA=null;h.pA=null;h.Ul=!1;h.cellPadding=!1;h.Ee=null;h.Ra=function(){var a={},b=[];null===this.nA||b.push(this.nA);null===this.oA||b.push(this.oA);null===this.pA||b.push(this.pA);b!=[]&&(a.style=b.join(" "));b=this.g.O("TBODY");this.j=this.g.O("TABLE",a,b);this.Ee=b};
3256h.qa=function(){aZ.D.qa.call(this);this.pA=this.oA=this.nA=null;delete this.Ul;delete this.cellPadding;this.Ee=null};h.ib=function(){return this.Ee};h.hm=function(){return this.Ul};h.tq=function(){return this.cellPadding};h.XA=function(){return!0};function bZ(a,b,c,d,e,f,g,k,l,n,q,t,u,v){EH.call(this,v);null!==f&&(this.Uw=f);null!==t&&(this.Kz=t);this.qA=bW(a);this.rA=cW(c,e,d,b);this.vA=tIa(g,q);this.tA=sIa(l,n);this.sA=null===k?null:dIa[k];this.uA=uIa(u)}x(bZ,EH);h=bZ.prototype;h.Uw=1;h.Kz=1;h.qA=null;h.rA=null;h.vA=null;h.tA=null;h.sA=null;h.uA=null;
3257h.Ra=function(){var a={};1!=this.Uw&&(a.colspan=this.Uw);1!=this.Kz&&(a.rowspan=this.Kz);var b=[];null===this.qA||b.push(this.qA);null===this.rA||b.push(this.rA);null===this.vA||b.push(this.vA);null===this.tA||b.push(this.tA);null===this.sA||b.push(this.sA);null===this.uA||b.push(this.uA);b!=[]&&(a.style=b.join(" "));this.j=this.g.O("TD",a)};h.qa=function(){bZ.D.qa.call(this);delete this.Uw;delete this.Kz;this.uA=this.sA=this.tA=this.vA=this.rA=this.qA=null};h.XA=function(){return!0};function cZ(a,b,c){EH.call(this,c);this.l=a||"";this.h=b||[]}x(cZ,EH);cZ.prototype.Ko=function(a,b){if(0==this.h.length)cZ.D.Ko.call(this,a,b);else{var c=this.g;/^\s/.test(this.l)&&(a?a.insertBefore(cx(c," "),b||null):c.getDocument().body.appendChild(cx(c," ")));cZ.D.Ko.call(this,a,b);/\S\s+$/.test(this.l)&&(a?a.insertBefore(cx(c," "),b||null):c.getDocument().body.appendChild(cx(c," ")))}};
3258cZ.prototype.Ra=function(){var a=this.g.O("SPAN");a.innerHTML=this.l;for(var b=this.g.O("DIV",{style:"display: inline-flex; flex-direction: column; text-decoration: inherit;"},a),c=0;c<this.h.length;c++){var d=this.h[c],e=this.g.O("DIV",{style:"padding-left: 10px; padding-top: 5px; margin: -3px 0px 2px 5px; word-break: break-word;"},d.eg());fz(d,3,!1)&&(e.style.direction="rtl");b.appendChild(e)}this.j=0<this.h.length?b:a};function dZ(a,b,c,d,e,f,g,k){EH.call(this,k);this.wA=bW(a);this.xA=cW(c,e,d,b);this.Ul=f;this.cellPadding=g}x(dZ,EH);h=dZ.prototype;h.wA=null;h.xA=null;h.Ul=!1;h.cellPadding=!1;h.Ra=function(){var a={},b=[];null===this.wA||b.push(this.wA);null===this.xA||b.push(this.xA);b!=[]&&(a.style=b.join(" "));this.j=this.g.O("TR",a)};h.qa=function(){dZ.D.qa.call(this);this.xA=this.wA=null;delete this.Ul;delete this.cellPadding};h.hm=function(){return this.Ul};h.tq=function(){return this.cellPadding};function eZ(a){EH.call(this,a)}x(eZ,EH);eZ.prototype.Ra=function(){this.j=this.g.O("SPAN",{"class":"nb"})};function fZ(a,b,c,d){var e=RA(a)?QA(a):null;if(0==e){var f=KA(a)||new Tz,g=N(f,Rz,6)||new Rz;return new kW(null!=I(f,2)?f.kb():null,null!=I(f,3)?L(f,3,""):null,null!=I(f,4)?L(f,4,""):null,null!=I(g,2)?g.Md():null,null!=I(g,1)?L(g,1,0):null,c.ud,c.l)}if(1==e){var k=LA(a)||new Uz,l=null!=I(k,5)?L(k,5,0):null;null===l&&(l=0);var n=c.j;1==l?n="header":2==l&&(n="footer");return new ZY(b,hW(c),c.ud,k.$n()?k.Nn():null,k.Pu()?k.kb():null,null!=I(k,3)?L(k,3,""):null,null!=I(k,6)?L(k,6,0):null,null!=I(k,8)?
3259L(k,8,""):null,k.Ho()?k.Bm():null,c.Vb,n,c.l)}if(2==e){var q=MA(a)||new Vz;return new dW(b,hW(c),q.$n()?q.Nn():null,q.Pu()?q.kb():null,null!=I(q,3)?L(q,3,""):null,null!=I(q,4)?L(q,4,0):null,q.Ho()?q.Bm():null,!0,void 0,c.l)}if(30==e){var t=N(a,Wz,32)||new Wz,u=L(t,2,""),v=new YV(u,c.l);if(d)for(var y=0,G=t.hb();y<G.length;y++)v.Ea(fZ(G[y],b,c,d),!0);return v}if(3==e){var K=N(a,Xz,5)||new Xz,J=new ZV(c.l);if(d)for(var O=0,P=K.hb();O<P.length;O++)J.Ea(fZ(P[O],b,c,d),!0);return J}if(4==e){var Q=N(a,
3260Yz,6)||new Yz,R=new TY(c.l);if(d)for(var aa=0,fa=Q.hb();aa<fa.length;aa++)R.Ea(fZ(fa[aa],b,c,d),!0);return R}if(5==e){var za=N(a,bA,7)||new bA,Aa=new eZ(c.l);if(d)for(var Va=0,Ja=za.hb();Va<Ja.length;Va++)Aa.Ea(fZ(Ja[Va],b,c,d),!0);return Aa}if(21==e){var ab=N(a,wA,23)||new $Y,Xa=new $Y(c.l);if(d)for(var Na=0,Xb=ab.hb();Na<Xb.length;Na++)Xa.Ea(fZ(Xb[Na],b,c,d),!0);return Xa}if(6==e){var Lb=N(a,dA,8)||new dA;return new cZ(L(Lb,1,""),S(Lb,cA,1001),c.l)}if(22==e)return new XY(c.l);if(7==e)return new $V(c.l);
3261if(8==e)return new lW(c.l);if(9==e){var Mb=N(a,hA,11)||new hA;return new mW(null!=I(Mb,2)?L(Mb,2,""):null,null!=I(Mb,1)?Mb.getTitle():null,c.l)}if(10==e){var xb=N(a,iA,12)||new iA,zc=new VY(null!=I(xb,2)?L(xb,2,0):null,c.l);if(d)for(var he=0,Lc=xb.hb();he<Lc.length;he++)zc.Ea(fZ(Lc[he],b,c,d),!0);return zc}if(11==e){for(var Hd=a.getItem()||new jA,ie=[],jd=0,Wd=S(Hd,Sz,2);jd<Wd.length;jd++){var nh=Wd[jd],oi=fZ(nh,b,c,!0);ie.push(oi)}var Ki=new UY(ie,c.l);if(d)for(var tk=0,Li=Hd.hb();tk<Li.length;tk++)nh=
3262Li[tk],Ki.Ea(fZ(nh,b,c,d),!0);return Ki}if(15!=e){if(12==e){var bd=N(a,kA,14)||new kA,Cj=!1,hf=!1;null===(null!=I(bd,6)?bd.hm():null)||1!=(null!=I(bd,6)?bd.hm():null)||(Cj=!0);null===(null!=I(bd,7)?bd.tq():null)||1!=(null!=I(bd,7)?bd.tq():null)||(hf=!0);var Ze=N(bd,Pz,2)||new Pz,uk=new aZ(null!=I(bd,3)?L(bd,3,0):null,null!=I(Ze,4)?L(Ze,4,0):null,null!=I(Ze,2)?L(Ze,2,0):null,null!=I(Ze,1)?L(Ze,1,0):null,null!=I(Ze,3)?L(Ze,3,0):null,null!=I(bd,5)?L(bd,5,0):null,L(bd,4,0),Cj,hf,c.l);if(d)for(var Eg=
32630,xl=bd.hb();Eg<xl.length;Eg++)uk.Ea(fZ(xl[Eg],b,c,d),!0);return uk}
3263if(13==e){var Vm=b.g.s.j,Mf=N(a,lA,15)||new lA,pi=N(Mf,Pz,2)||new Pz,yl=new dZ(null!=I(Mf,3)?L(Mf,3,0):null,null!=I(pi,4)?L(pi,4,0):null,null!=I(pi,2)?L(pi,2,0):null,null!=I(pi,1)?L(pi,1,0):null,null!=I(pi,3)?L(pi,3,0):null,Vm.hm(),Vm.tq(),c.l);if(d)for(var Rh=0,oh=Mf.hb();Rh<oh.length;Rh++)yl.Ea(fZ(oh[Rh],b,c,d),!0);return yl}if(14==e){var Sh=b.g.s.j,ph=Sh.hm(),qi=Sh.tq(),Jd=N(a,mA,16)||new mA,qh=N(Jd,Pz,3)||new Pz,lg=N(Jd,Qz,4)||
3264new Qz,Dj;ph?Dj=1:Dj=null!=I(qh,2)?L(qh,2,0):null;var mg;if(qi)var Wm=mg=1;else mg=null!=I(lg,1)?L(lg,1,0):null,Wm=null!=I(lg,2)?L(lg,2,0):null;var vk=new bZ(null!=I(Jd,6)?L(Jd,6,0):null,null!=I(qh,4)?L(qh,4,0):null,Dj,null!=I(qh,1)?L(qh,1,0):null,L(qh,3,0)?L(qh,3,0):null,null!=I(Jd,9)?L(Jd,9,0):null,null!=I(Jd,8)?L(Jd,8,0):null,null!=I(Jd,5)?L(Jd,5,0):null,mg,Wm,null!=I(Jd,7)?L(Jd,7,0):null,null!=I(Jd,10)?L(Jd,10,0):null,null!=I(Jd,2)?L(Jd,2,0):null,c.l);if(d)for(var Ej=0,Eo=Jd.hb();Ej<Eo.length;Ej++)vk.Ea(fZ(Eo[Ej],
3265b,c,d),!0);return vk}if(16==e){for(var Fj=[],Ac=N(a,rA,18)||new rA,Kd=0,rh=S(Ac,Sz,2);Kd<rh.length;Kd++){var Gj=fZ(rh[Kd],b,c,!0);Fj.push(Gj)}for(var zl=[],Mi=0,sh=S(Ac,Sz,20);Mi<sh.length;Mi++){var Oq=fZ(sh[Mi],b,c,!0);zl.push(Oq)}var Hj=b.g,Al=null!=I(Ac,13)?L(Ac,13,0):null,Ij=null!=I(Ac,19)?L(Ac,19,0):null,Xm=null!=I(Ac,3)?L(Ac,3,0):null,Pq=null!=I(Ac,7)?L(Ac,7,0):null,th=null!=I(Ac,14)?L(Ac,14,0):null,Jj=Hj.zl,wk=null!=I(Ac,15)?L(Ac,15,0):null,Bl=null!=I(Ac,18)?L(Ac,18,0):null,Qq=null!=I(Ac,24)?
3266L(Ac,24,0):null,Ym=null!=I(Ac,21)?L(Ac,21,0):null,Ni=null!=I(Ac,4)?L(Ac,4,0):null,xk=null!=I(Ac,26)?L(Ac,26,0):null,Oi=c.im(b),Xg=new oV("ae",Fj,Ij,Xm,Pq,Jj,zl,SY(b),c,th,Ni),Cl="read"==Oi||0==wk;if(Cl)var Dl=new yW(void 0,th,c.l);else Dl=new SW(c,sV(c),b,th,Al,Bl,c.Ta,c.$a,Ym,xk,c.j,void 0,c.pe(),c.In(),c.l),Dl.UH=!0;var Th=new yV(Dl,Xg,b);Pb(c.g,Th);vV(Xg,Th);if(!Cl&&c.Nr){var El=1!=Bl,jf=gZ(c)&&1!=Qq;rV(Xg,new Map([["useBank",El],["useCfe",jf]]))}Xg.Ea(Dl,!0);qV(Xg,null==I(Ac,27));Xg.Ui(null!=
3267I(Ac,28));return Xg}if(17==e){for(var Rq=[],nd=N(a,sA,19)||new sA,yk=0,uh=S(nd,Sz,2);yk<uh.length;yk++){var ht=fZ(uh[yk],b,c,!0);Rq.push(ht)}for(var Zm=[],zk=0,Sq=S(nd,Sz,18);zk<Sq.length;zk++){var tw=fZ(Sq[zk],b,c,!0);Zm.push(tw)}var it=b.g,Tq=null!=I(nd,13)?L(nd,13,0):null,Uq=null!=I(nd,17)?L(nd,17,0):null,Vq=null!=I(nd,3)?L(nd,3,0):null,uw=null!=I(nd,7)?L(nd,7,0):null,Fo=it.zl,Go=null!=I(nd,16)?L(nd,16,0):null,Ak=null!=I(nd,21)?L(nd,21,0):null,Ho=c.im(b),Fl=new oV(pV,Rq,Uq,Vq,uw,Fo,Zm,SY(b),c),
3268Gl;"read_write"==Ho?Gl=new hY(c,b,Ho,Tq,Go,c.Ta,c.$a,Fo,c.pe(),c.In()):Gl=new dY(Ho,Tq,c.ud,Fo,void 0,c.l,c.u);var Io=new JV(c,Gl,Fl,b);Pb(c.g,Io);vV(Fl,Io);if("read_write"==Ho&&c.Nr){var vw=1!=Go,jt=gZ(c)&&1!=Ak;rV(Fl,new Map([["useBank",vw],["useCfe",jt]]))}Fl.Ea(Gl,!0);qV(Fl,null==I(nd,24));return Fl}if(18==e){for(var Jo=[],ng=N(a,tA,20)||new tA,Wq=0,kt=S(ng,Sz,2);Wq<kt.length;Wq++){var Xq=fZ(kt[Wq],b,c,!0);Jo.push(Xq)}for(var lt=[],Ko=0,mt=S(ng,Sz,16);Ko<mt.length;Ko++){var nt=fZ(mt[Ko],b,c,!0);
3269lt.push(nt)}var ww=b.g,$m=null!=I(ng,15)?L(ng,15,0):null,Zz=null!=I(ng,3)?L(ng,3,0):null,xw=null!=I(ng,7)?L(ng,7,0):null,Yq=null!=I(ng,24)?L(ng,24,0):null,yw=ww.zl,ot=null!=I(ng,23)?L(ng,23,0):null,Zq=c.im(b),Pi=new oV("be",Jo,$m,Zz,xw,yw,lt,SY(b),c);if("read"!=Zq&&0!=Yq){var Lo=new qW("MM'/'dd'/'yyyy"),pt=new uW;var an=new BY(Lo,pt,void 0,c.l);var Mo=new zW(an,Pi,b)}else an=new yW("tf",void 0,c.l),Mo=new yV(an,Pi,b);Pb(c.g,Mo);vV(Pi,Mo);if("read_write"==Zq&&c.Nr){var bn=gZ(c)&&0==ot;rV(Pi,new Map([["useBank",
3270!1],["useCfe",bn]]))}Pi.Ea(an,!0);return Pi}if(19==e){for(var cn=[],cd=N(a,uA,21)||new uA,qt=0,rt=S(cd,Sz,3);qt<rt.length;qt++){var zw=fZ(rt[qt],b,c,!0);cn.push(zw)}for(var No=[],Hl=0,Il=S(cd,Sz,20);Hl<Il.length;Hl++){var $z=fZ(Il[Hl],b,c,!0);No.push($z)}var Oo=null!=I(cd,14)?L(cd,14,0):null,Po=b.g;if(2==Oo){var $q=null!=I(cd,19)?L(cd,19,0):null,Qo=null!=I(cd,4)?L(cd,4,0):null,st=null!=I(cd,24)?L(cd,24,0):null,tt=null!=I(cd,8)?L(cd,8,0):null,ar=null!=I(cd,23)?L(cd,23,0):null,CM=Po.zl,ut=c.im(b),vt=
3271new CW(cn,$q,Qo,st,tt,ut,CM,No,SY(b),c),aA=new DW(vt,vt,b);Pb(c.g,aA);vV(vt,aA);if(c.Nr){var oF=gZ(c)&&1!=ar;
3271rV(vt,new Map([["useBank",!1],["useCfe",oF]]))}var Aw=vt}else{var DM=!1;1==Oo&&(DM=!0);var Bw=null!=I(cd,19)?L(cd,19,0):null,EM=null!=I(cd,4)?L(cd,4,0):null,YY=null!=I(cd,24)?L(cd,24,0):null,FM=null!=I(cd,8)?L(cd,8,0):null,GM=null!=I(cd,16)?L(cd,16,0):null,HM=L(cd,15,0),vQa=null!=I(cd,5)?L(cd,5,0):null,wQa=null!=I(cd,23)?L(cd,23,0):null,xQa=Po.zl,yQa=DM;c.im(b);var XG=new BW(cn,Bw,EM,YY,FM,
3272GM,HM,vQa,xQa,No,SY(b),c,yQa),lqa=new DW(XG,XG,b);Pb(c.g,lqa);vV(XG,lqa);if(c.Nr){var zQa=gZ(c)&&1!=wQa;rV(XG,new Map([["useBank",!1],["useCfe",zQa]]))}Aw=XG}qV(Aw,null==I(cd,25));return Aw}if(20==e){var ou=a.Ln()||new vA,mqa=b.g.s.j,nqa=mqa.cb,AQa=mqa.pc;if(2==nqa){if(1!=S(ou,Sz,3).length)throw Error("bad select description");var YG=S(ou,Sz,3)[0];if(6!=(RA(YG)?QA(YG):null))throw Error("bad type: "+(RA(YG)?QA(YG):null));for(var m2=N(YG,dA,8)||new dA,oqa=[B("SPAN",void 0,L(m2,1,""))],pqa=m(S(m2,cA,
32731001)),n2=pqa.next();!n2.done;n2=pqa.next()){var o2=n2.value,BQa=B("SPAN",void 0," / "),CQa=fz(o2,3,!1)?"cw":void 0,DQa=fz(o2,3,!1)?"BDI":"SPAN",EQa=B(DQa,CQa,o2.eg());oqa.push(BQa,EQa)}var p2=new tP(oqa,0<S(m2,cA,1001).length,ou.getValue(),void 0,void 0,!0,null!=I(ou,6))}else{for(var qqa=[],q2=0,rqa=S(ou,Sz,3);q2<rqa.length;q2++){var FQa=fZ(rqa[q2],b,c,!0);qqa.push(FQa)}for(var sqa=[],r2=0,tqa=S(ou,Sz,5);r2<tqa.length;r2++){var GQa=fZ(tqa[r2],b,c,!0);sqa.push(GQa)}var s2=0==nqa?RP(void 0,c.l,void 0,
3274"qh"):OBa(void 0,c.l,void 0,!0);var HQa=ou.getValue();s2.Pb=HQa;s2.W(!1);p2=new WY(AQa,qqa,s2,c.l,sqa,c.ud)}p2.Ga(null==I(ou,6));return p2}if(23==e){if(c.SH()){for(var uqa=N(a,yA,25)||new yA,t2=new gW(uqa,c),u2=0,vqa=uqa.hb();u2<vqa.length;++u2){var ZG=vqa[u2];if(24!=(RA(ZG)?QA(ZG):null))throw Error("bad type : "+(RA(ZG)?QA(ZG):null));var IQa=N(ZG,xA,26)||new xA,wqa=t2,$G=IQa,xqa=L($G,1,""),yqa=L($G,2,"");if(!xc(xqa)&&!xc(yqa)){var zqa=!1;"true"==(null!=I($G,4)?L($G,4,""):null)&&(zqa=!0);var JQa=
3275sV(wqa.h);if(Nb(["INSTANCE_FORM","USER_FORM","OBJECT_FORM"],JQa))throw Error("currently no support for copy in system forms");var aH={};aH.zx=L($G,3,"");aH.from=xqa;aH.NA=yqa;aH.le=zqa;wqa.u.push(aH)}}c.L.register(t2);var Aqa=t2}else Aqa=new EH;return Aqa}if(24==e)return new EH;if(26==e){for(var Bqa=[],In=a.Bj()||new AA,v2=0,Cqa=S(In,Sz,2);v2<Cqa.length;v2++){var KQa=fZ(Cqa[v2],b,c,!0);Bqa.push(KQa)}for(var Dqa=[],w2=0,Eqa=S(In,Sz,7);w2<Eqa.length;w2++){var LQa=fZ(Eqa[w2],b,c,!0);Dqa.push(LQa)}var MQa=
3276b.g,NQa=1==In.Bm(),OQa=null!=I(In,5)?L(In,5,0):null,PQa=null!=I(In,6)?L(In,6,0):null,QQa=null!=I(In,3)?L(In,3,0):null,RQa=null!=I(In,4)?L(In,4,0):null,SQa=MQa.zl,TQa=c.im(b),vP=new oV("ae",Bqa,PQa,QQa,RQa,SQa,Dqa,SY(b),c);if("read"==TQa||NQa)var wP=new HY(c,c.l);else wP=new GY(c,sV(c),OQa,c.j,c.l),b.g.T.includes("guardian")&&(wP.Na=!1);var Fqa=new yV(wP,vP,b);Pb(c.g,Fqa);vP.Ea(wP,!0);vV(vP,Fqa);return vP}if(27==e){for(var Gqa=N(a,nA,29)||new nA,UQa=Gqa.getTitle(),x2=[],Hqa=[],y2=0,Iqa=Gqa.hb();y2<
3277Iqa.length;y2++){for(var Jqa=Iqa[y2],xP=null!=I(Jqa,30)?N(Jqa,oA,30):null,Kqa=[],z2=0,Lqa=xP.hb();z2<Lqa.length;z2++){var Mqa=Lqa[z2],Nqa=null!=I(Mqa,31)?N(Mqa,pA,31):null,Oqa=L(Nqa,1,""),Pqa=L(Nqa,2,"");x2.push(Oqa);x2.push(Pqa);Kqa.push({x:Oqa,y:Pqa})}Hqa.push({title:xP.getTitle(),color:L(xP,3,0),line_type:L(xP,4,0),data:Kqa})}var yP="";null===b||(yP=mV(b));for(var Qqa=[],Rqa=yP.split("/"),A2=0,VQa=Rqa.length;A2<VQa;A2++){var Sqa=Rqa[A2];Jc(Sqa,":")&&Qqa.push(Sqa.split(":")[1])}c.Ha.set(yP,{keys:x2,
3278repLevels:Qqa});return new aW(yP,UQa,Hqa,c.l)}if(31==e){for(var Tqa=[],Ql=a.getTime()||new BA,B2=0,Uqa=S(Ql,Sz,2);B2<Uqa.length;B2++){var WQa=fZ(Uqa[B2],b,c,!0);Tqa.push(WQa)}for(var Vqa=[],C2=0,Wqa=S(Ql,Sz,10);C2<Wqa.length;C2++){var XQa=fZ(Wqa[C2],b,c,!0);Vqa.push(XQa)}var YQa=b.g,ZQa=null!=I(Ql,9)?L(Ql,9,0):null,$Qa=null!=I(Ql,3)?L(Ql,3,0):null,aRa=null!=I(Ql,5)?L(Ql,5,0):null,Xqa=null!=I(Ql,6)?L(Ql,6,0):null,bRa=null!=I(Ql,4)?L(Ql,4,0):null,bH=new oV("ae",Tqa,ZQa,$Qa,aRa,YQa.zl,Vqa,SY(b),c,void 0,
3279bRa);if("read"==hW(c)||null!==Xqa&&0==Xqa){var zP=new KKa(c.l);var D2=new yV(zP,bH,b)}else zP=new QY(c,sV(c),b,c.j,c.l),D2=new yV(zP,bH,b);Pb(c.g,D2);bH.Ea(zP,!0);vV(bH,D2);return bH}}var yh=NA(a)||new qA,pu=N(yh,Pz,3)||new Pz,AP=N(yh,Qz,4)||new Qz,MB=N(yh,Rz,7)||new Rz,Yqa=new fW(b,hW(c),yh.$n()?yh.Nn():null,null!=I(yh,6)?L(yh,6,0):null,null!=I(pu,4)?L(pu,4,0):null,null!=I(pu,2)?L(pu,2,0):null,null!=I(pu,1)?L(pu,1,0):null,null!=I(pu,3)?L(pu,3,0):null,null!=I(yh,8)?L(yh,8,0):null,null!=I(MB,3)?L(MB,
32803,0):null,null!=I(MB,1)?L(MB,1,0):null,null!=I(MB,2)?MB.Md():null,null!=I(yh,5)?L(yh,5,0):null,null!=I(AP,1)?L(AP,1,0):null,null!=I(AP,2)?L(AP,2,0):null,null!=I(yh,9)?L(yh,9,0):null,null!=I(yh,2)?L(yh,2,0):null,yh.Ho()?yh.Bm():null,c.l);if(d)for(var E2=0,Zqa=yh.hb();E2<Zqa.length;E2++)Yqa.Ea(fZ(Zqa[E2],b,c,d),!0);return Yqa}
3280
3281function MKa(a,b){var c=RA(a)?QA(a):null;if(1==c){a=LA(a)||new Uz;c=null!=I(a,4)?L(a,4,0):null;null===c&&(c=0);if(c!=b.ud&&0!=c)return!0;a=null!=I(a,5)?L(a,5,0):null;null===a&&(a=0);if(0!=a&&1==b.ud)return!0}else if(2==c){if(a=MA(a)||new Vz,c=null!=I(a,5)?L(a,5,0):null,null===c&&(c=0),c!=b.ud&&0!=c)return!0}else if(15==c&&(a=NA(a)||new qA,a=null!=I(a,12)?L(a,12,0):null,null===a&&(a=0),a!=b.ud&&0!=a))return!0;return!1};function hZ(a,b,c,d,e,f,g){EH.call(this,g);this.M=(g=LA(c))&&L(g,3,"")||"";this.name=a;this.u=b;this.ge=c;this.Ta=d&&!!g;switch(QA(c)){case 1:LA(c);case 2:MA(c);case 15:var k=NA(c)}a=k?L(k,12,0):!1;this.Ja=k&&k.$n()?k.Nn():null;this.bc=yF(AF).includes(98)&&!!k&&null!=I(k,15)&&1==L(k,15,0);this.zb=!0;this.Ha=f;this.Z=e;a&&3==a&&(this.Z=!1);this.Lb=this.l=this.h=this.button=this.m=null;this.Gb="";this.Y=AK}x(hZ,EH);h=hZ.prototype;
3282h.Ra=function(){var a=[];this.Ta&&a.push(NKa(this));this.Ee=this.g.O("DIV");this.m=this.g.O("DIV","pk");a.push(this.Ee);a.push(this.m);this.j=this.g.O("DIV","rk",a)};h.ib=function(){return this.Ee};function OKa(a){a.h=TP("Show more");a.h.render(a.m);a.l=TP("Show all");a.l.render(a.m);D(a.h,"action",function(){a.Y.ba("s",a.u,!1)},void 0,a);D(a.l,"action",function(){a.Y.ba("s",a.u,!0)},void 0,a)}
3283h.K=function(){hZ.D.K.call(this);this.bc&&OKa(this);this.Z&&2!=this.Ja&&(this.button=TP("add "+this.name),this.button.render(this.m),this.Ha?this.button.W(!1):D(this.button,"action",this.KI,void 0,this))};h.$=function(){hZ.D.$.call(this);this.Z&&(this.Ha||Mx(this.button,"action",this.KI,void 0,this),C(this.button))};h.qa=function(){hZ.D.qa.call(this);C(this.Lb);delete this.name;delete this.u;delete this.ge;this.button=this.m=null;C(this.h);C(this.l);this.l=this.h=null};
3284h.KI=function(){this.Y.ba("q",this.u,this.ge,this.name)};function NKa(a){var b=a.M&&!/[^0-9]/.test(a.M)?"Section "+a.M:a.M;return a.g.O("DIV","wf",b==a.name?b:b+": "+a.name)};function iZ(){ux.call(this);this.g=this.j=null;this.l=new Map}x(iZ,ux);iZ.prototype.L="";iZ.prototype.s="";iZ.prototype.qa=function(){iZ.D.qa.call(this);this.g=null;C(this.j);this.j=null;for(var a=m(this.l.values()),b=a.next();!b.done;b=a.next())C(b.value);C(this.l)};function jZ(a){return Array.from(a.l.values())}function PKa(a){a=jZ(a).map(function(b){return parseInt(b.ym,10)});a.sort();return a}function QHa(a){return PKa(a).map(function(b){return a.l.get(b+"")})};function kZ(a,b){if(!vc(a,":")&&!vc(a,"/"))throw Error("invalid key to get node. key: "+a);if(vc(a,"/")){var c="0";var d=a}else{d=a.replace(":","");var e=d.indexOf("/");if(-1==e){b=b.l.get(d);if(!w(b))throw a=Error("node instance not found for key: "+a),a.name="node instance not found for key",a;return b}c=d.substr(0,e);d=d.substr(e)}b=b.l.get(c);if(!w(b))throw a=Error("node instance not found for key: "+a),a.name="node instance not found for key",a;c=d.replace("/","");d=c.indexOf("/");e=c.indexOf(":");
3285if(-1==d&&-1==e){b=b.l.get(c);if(!w(b))throw Error("node not found for key: "+a);return b}d=0<=d&&0<=e?d<e?d:e:0>d?e:d;a=c.substr(d);b=b.l.get(c.substr(0,d));if(!w(b))throw Error("node not found for instance key: "+a);return kZ(a,b)}function lZ(a){var b=0;for(a=(null!=I(a,2)?KA(a):new Tz).hb();b<a.length;b++){var c=LA(a[b])||new Uz;c=null!=I(c,5)?L(c,5,0):null;if(null===c||0==c)return b}}
3286function mZ(a){a=(null!=I(a,2)?KA(a):new Tz).hb();for(var b=[],c=0,d=0,e=a.length;d<e;d++){var f=a[d];if(1==QA(f)){f=LA(f)||new Uz;var g=null!=I(f,5)?L(f,5,0):null;if(null===g||0==g)g=f.kb(),f=L(f,3,""),xc(f)&&(f=d.toString()),b.push({er:d.toString(),abbr:f,name:g}),c++}}return b}var QKa=[6,7,8,9,22,16,17,18,24,26,29,31];
3287function nZ(a,b){var c=RA(a)?QA(a):null;if(!Nb([1,2,15],c))return!1;if(1==c)a=LA(a)||new Uz;else if(2==c)a=MA(a)||new Vz;else if(15==c)a=NA(a)||new qA;else throw Error("unexpected xmlNodeType: "+c);return b?1==a.Nn():a.$n()}
3288function RKa(a){var b=RA(a)?QA(a):null,c;0==b?c=KA(a)||new Tz:1==b?c=LA(a)||new Uz:2==b?c=MA(a)||new Vz:30==b?c=N(a,Wz,32)||new Wz:3==b?c=N(a,Xz,5)||new Xz:4==b?c=N(a,Yz,6)||new Yz:5==b?c=N(a,bA,7)||new bA:21==b?c=N(a,wA,23)||new $Y:6==b?c=N(a,dA,8)||new dA:7==b?c=N(a,fA,9)||new fA:8==b?c=N(a,gA,10)||new gA:9==b?c=N(a,hA,11)||new hA:22==b?c=N(a,eA,24)||new eA:10==b?c=N(a,iA,12)||new iA:11==b?c=a.getItem()||new jA:15==b?c=NA(a)||new qA:12==b?c=N(a,kA,14)||new kA:13==b?c=N(a,lA,15)||new lA:14==b?c=
3289N(a,mA,16)||new mA:18==b?c=N(a,tA,20)||new tA:16==b?c=N(a,rA,18)||new rA:17==b?c=N(a,sA,19)||new sA:19==b?c=N(a,uA,21)||new uA:20==b?c=a.Ln()||new vA:23==b?c=N(a,yA,25)||new yA:26==b?c=a.Bj()||new AA:27==b?c=N(a,nA,29)||new nA:28==b&&(c=N(a,oA,30)||new oA);return c}function SKa(a){var b=RA(a)?QA(a):null;return Nb(QKa,b)?0:RKa(a).hb().length}function TKa(a,b){var c=RA(a)?QA(a):null;
3289if(Nb(QKa,c))throw Error("Trying to get children on xml node without children support");return RKa(a).hb()[b]}
3290function UKa(a,b,c){if(0!=(RA(a)?QA(a):null))return!1;var d=TKa(a,b);a=RA(d)?QA(d):null;if(25==a)return!0;if(1!=a)throw Error("section should be a child of a form");a=c.ud;d=LA(d)||new Uz;d=null!=I(d,5)?L(d,5,0):null;if(null!==d&&0!=d)return 2!=a?!0:!1;c=c.oj;return!!c&&c!=b}
3291function VKa(a,b,c,d){var e=RA(b)?QA(b):null,f=new iZ;f.L=c;f.g=a;if(null!=I(b,33)){var g=L(b,33,"");f.s=g}a.l.set(c,f);b=fZ(b,f,d);f.j=b;a.yu&&1==a.l.size?d.m.Ea(b,!0):a.Ig()?(c=a.h,a=a.indexOf(f),c.jj(b,a,!0)):(a=a.s.j,a.Ea(b,!0),d.$k&&20==e&&(a=a.Ia,a.W(!0),d.pe()||a.cn()));Nb([16,17,18,19,26,31],e)&&(e=b.Ia,WHa(e),e.send(),d.$k&&(CV(e),"read_write"==hW(d)&&e.W(!0),d.pe()||e.cn()));return f}
3292function WKa(a,b,c,d){var e=new VV;e.ym=c;e.s=a;e.u=b;Nb(qIa,RA(b)?QA(b):null)&&(e.sS=!0);var f="";switch(QA(b)){case 16:f=N(b,rA,18).Yf();var g=N(b,rA,18).rb();e.m=g;break;case 18:f=N(b,tA,20).Yf();g=N(b,tA,20).rb();e.m=g;break;case 17:f=N(b,sA,19).Yf();g=N(b,sA,19).rb();e.m=g;break;case 19:f=N(b,uA,21).Yf();g=N(b,uA,21).rb();e.m=g;break;case 26:f=b.Bj().Yf();g=b.Bj().rb();e.m=g;break;case 31:f=b.getTime().Yf(),g=b.getTime().rb(),e.m=g}""!=f.trim()&&(e.T=f.trim().split(","));XKa(a,b)&&(e.zl=!0);
3293if(nZ(b)){f=RA(b)?QA(b):null;if(!Nb([1,2,15],f))throw Error("cannot get name for this component");if(1==f)g=LA(b)||new Uz;else if(2==f)g=MA(b)||new Vz;else if(15==f)g=NA(b)||new qA;else throw Error("cannot get name for this component");f="";g=g.Pu()?g.kb():null;null===g||(f=g);if(2!=d.ud){g=d.Vb;d=2==d.ud||"read"==hW(d)?!1:!0;var k=RA(b)?QA(b):null;if(Nb([1,2,15,26],k)){switch(k){case 1:k=LA(b)||new Uz;break;case 2:k=MA(b)||new Vz;break;case 15:k=NA(b)||new qA;break;case 26:k=b.Bj()||new AA;break;
3294default:throw Error("unexpected xmlNodeType: "+k);}k=k.Ho()?1===k.Bm():!1}else k=!1;b=new hZ(f,e,b,g,d,k)}else b=new EH;a.j.Ea(b,!0);e.h=b;e.JM=!0}a.l.set(c,e);return e}function XKa(a,b){if(a.g.zl)return!0;a=RA(b)?QA(b):null;if(12==a){var c=N(b,kA,14)||new kA;if(null!==(null!=I(c,6)?c.hm():null)&&1==(null!=I(c,6)?c.hm():null))return!0}return 14==a&&(b=N(N(b,mA,16)||new mA,Pz,3)||new Pz,1==(null!=I(b,2)?L(b,2,0):null))?!0:!1}
3295function YKa(a,b){for(var c={},d=0,e=a.length;d<e;d++){var f=a[d];if(b&&!vc(f,":")||!b&&!vc(f,"/"))throw a=Error("bad data grouping keys by instance. key: "+f),a.name="bad data grouping keys by instance.",a;if(b){f=f.replace(":","");var g=f.indexOf("/");if(0>g){var k=gc(c,f);w(k)||(c[f]=[])}else{var l=f.substr(0,g);k=gc(c,l);w(k)||(k=[],c[l]=[]);f=f.substr(g);w(f)&&(Pb(k,f),c[l]=k)}}else l="0",k=gc(c,l),w(k)||(k=[]),Pb(k,f),c[l]=k}return c}
3296function ZKa(a){for(var b={},c=0,d=a.length;c<d;c++){var e=a[c];if(!vc(e,"/"))throw a=Error("bad data grouping keys by instance. key: "+e),a.name="bad data grouping keys by instance.",a;var f=e.replace("/","");e=f.indexOf("/");var g=f.indexOf(":");-1==e&&-1==g?(g=gc(b,f),w(g)||(b[f]=[])):(g=0<=e&&0<=g?e<g?e:g:0>e?g:e,e=f.substr(g),f=f.substr(0,g),g=gc(b,f),w(g)||(g=[]),Pb(g,e),b[f]=g)}return b}
3297function oZ(a,b,c,d,e){if(!MKa(c,e)){var f,g=nZ(c);!d||g||0<a.length?f=YKa(a,g):f={0:[]};g=ac(f);for(var k=0;k<g.length;k++){var l=g[k],n=b.l.get(l);if(!w(n)&&(n=VKa(b,c,l,e),d=!0,nZ(c,!0))){var q=b.h;q.button&&q.button.W(!1)}q={};l=gc(f,l);0==l.length||(q=ZKa(l));if(d){l=0;for(var t=SKa(c);l<t;l++)bc(q,l.toString())||UKa(c,l.toString(),e)||fc(q,l.toString(),[])}l=ac(q);Wb(l,function(K,J){K=parseInt(K,10)-parseInt(J,10);return isNaN(K)?0:K});t=0;for(var u=l.length;t<u;t++){var v=l[t],y=TKa(c,v),G=
3298n.l.get(v);w(G)||(G=WKa(n,y,v,e));oZ(gc(q,v),G,y,d,e)}}2!=e.ud&&$Ka(b,0==a.length)}}La.mutateTree=oZ;
3299function $Ka(a,b){if(a&&a.yu&&b)if(1==bK){b=m(jZ(WV(a)[0]));for(var c=b.next();!c.done;c=b.next()){c=c.value;c=c.Ig()?c.h.w():WV(c)[0].j.w();var d=B("DIV","Bf");c.appendChild(d);c.style.minHeight=Qw(WV(a)[0].j.w()).offsetHeight+"px"}}else if(2==bK)for(a=m(jZ(WV(a)[0])),c=a.next();!c.done;c=a.next())b=c.value,b=b.Ig()?b.h.w():WV(b)[0].j.w(),c=B("DIV","Cf"),b.appendChild(c);else for(a=m(jZ(WV(a)[0])),c=a.next();!c.done;c=a.next())b=c.value,b=b.Ig()?b.h.w():WV(b)[0].j.w(),c=B("DIV","Af"),b.appendChild(c)}
3300;function pZ(a,b){this.m=a;this.g=b&&b.root||La.document.body;this.j=La.IntersectionObserver?new La.IntersectionObserver(a,b):void 0;this.o=[];this.h=-1;D(this.g,"scroll",this.check,void 0,this);D(La.document.body,"resize",this.check,void 0,this);this.l=new MutationObserver(bb(this.check,this));this.l.observe(this.g,{attributes:!0,childList:!0,characterData:!0,subtree:!0})}pZ.prototype.check=function(){0>this.h&&(this.h=UG(this.s,100,this))};
3301pZ.prototype.s=function(){for(var a=this.g.getBoundingClientRect(),b=[],c=m(this.o),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.getBoundingClientRect(),f=Math.max(e.top,a.top),g=Math.max(e.left,a.left);f=new hG(g,f,Math.max(Math.min(e.right,a.right)-g,0),Math.max(Math.min(e.bottom,a.bottom)-f,0));b.push({boundingClientRect:e,intersectionRect:f,isIntersecting:0<f.height,rootBounds:a,target:d})}this.m(b);this.h=-1};function qZ(a){EH.call(this,a);this.X=AK;this.m=this.l=this.h=null}x(qZ,EH);Ra(qZ);h=qZ.prototype;h.FS=0;h.KF=0;h.Nj=1;h.sP=null;h.Jw=null;var rZ=h.zG=null;function aLa(a){rZ=a}h=qZ.prototype;
3302h.Ra=function(){this.sP=this.g.O("DIV",{"class":"Bc",title:"Students on your caseload"},"My Students");var a=this.g.O("TD",void 0,this.sP);this.Jw=this.g.O("TD","Cc");a=this.g.O("TR",void 0,a,this.Jw);a=this.g.O("TABLE","Ac",a);this.zG=this.g.O("DIV",{style:"margin-right:-50em;padding-right:50em;overflow-y:auto;overflow-x:hidden;direction:rtl;flex:1 1 auto;height:0"});this.j=this.g.O("DIV",{style:"display: flex; flex-direction: column; flex: 1 1 auto"},a,this.zG)};
3303h.K=function(){qZ.D.K.call(this);var a=B("SPAN","E O","keyboard_arrow_left"),b=B("SPAN","E O","keyboard_arrow_right");this.l=TP(a,void 0,void 0,void 0,3);this.m=TP(b,void 0,void 0,void 0,3);this.l.render(this.Jw);this.m.render(this.Jw);D(this.l,"action",this.r3,void 0,this);D(this.m,"action",this.s3,void 0,this);a=iN(oM,"Gp");this.h=nM(void 0,a);this.h.render(this.zG);this.X.unsubscribe("j",aLa);zK(this.X,"j",this.tP,this);null!==rZ&&(this.tP(rZ),rZ=null)};
3304h.Ga=function(a){this.o||(this.j.style.display=a?"flex":"none")};
3305h.tP=function(a){if(!this.o){this.FS=L(a,13,0);var b=this.h;if(b){b=b.Fg(!0);b=m(b);for(var c=b.next();!c.done;c=b.next())C(c.value)}b=0;for(c=S(a,JB,14);b<c.length;b++){var d=c[b],e=null!=I(d,2)?d.Fb():null,f=null!=I(d,3)?d.Hb():null,g=null!=I(d,1)?d.Rd():null,k=null!=I(d,5)?L(d,5,0):1,l=lR(S(d,qC,7)),n={},q=0;for(d=S(d,EB,4);q<d.length;q++){var t=d[q],u=null!=I(t,1)?L(t,1,""):null;t=null!=I(t,2)?L(t,2,""):null;fc(n,u,t)}g={cc:e,hc:f,bb:g,kL:n,Yg:k,fd:l};e=XP(f+", "+e,"");e.setValue(g);this.h.Ea(e,
3306!0)}sZ(this);this.o||(a=S(a,JB,14).length,b=50*(this.Nj-1),0<a&&(b+=1),this.KF=b,1==this.KF||0==this.KF?this.l.W(!1):this.l.W(!0),50>a?this.m.W(!1):this.m.W(!0))}};
3307function sZ(a){if(a.o||!a.h)return!1;var b=!1,c=!1,d=mH.g,e=d.na("pageName"),f=d.na("objectId");if("form"==e){var g=d.na("formId");if(w(g)){b=!0;var k=d.na("docId");if(!w(k))throw Error("docId required with formId in my students box");var l=(new Ce(La.location.hash.substr(1))).get("sectionNum")}}d=OH(a.h);e=0;for(var n=LH(a.h);e<n;e++){var q=JH(a.h,d[e]),t=q.getValue(),u=t.hc+", "+t.cc,v=kR(t.Yg),y=t.fd,G=t.bb,K,J=!1;if(b&&(K=bc(t.kL,g))){var O=gc(t.kL,g);O!=k&&(J=!0)}J?(K="#pageName=form",K+="&formId="+
3308Od(g),K+="&docId="+Od(O),w(l)&&(K+="&sectionNum="+Od(l))):(K="#pageName=object_docs_list",K+="&objectId="+Od(t.bb));u=ay(MBa,{name:u,link:K,PE:void 0,lla:!0,Ie:v,fd:y,bb:G});q.Fc(u);w(f)&&t.bb==f?(c=!0,q.Wo(!0),q.bi(!0)):(q.bi(!1),q.Wo(!1));t=q.w().querySelectorAll(".student_info_tooltip");t=m(t);for(u=t.next();!u.done;u=t.next())nU(u.value,q)}return c}h.r3=function(){if(1<this.Nj){--this.Nj;var a=++RQ;KQ(a,50*(this.Nj-1))}};
3309h.s3=function(){if(50*this.Nj<this.FS){this.Nj+=1;var a=++RQ;KQ(a,50*(this.Nj-1))}};function bLa(){return Y('<div class="'+Z("jb-kb-lb")+" "+Z("Yb")+'"><div tag="content" class="'+Z("Lb")+'"><div tag="text"></div></div><div tag="dismiss" class="'+Z("C")+'">close</div></div>')}
3310function cLa(){return Y('<div class="'+Z("jb-kb-lb")+" "+Z("Yb")+'"><div tag="content" class="'+Z("Lb")+'"><div><span tag="text" class="'+Z("ie")+'">50</span> items selected.</div><div tag="selectAll" class="'+Z("Am")+'">Select all <span tag="totalCount">50</span> items.</div><div tag="cancelSelection" class="'+Z("Am")+'" style="display:none;">Stop selecting all items.</div></div><div tag="dismiss" class="'+Z("C")+'">close</div></div>')}
3311function dLa(a){var b=a.Bn,c=a.V_;a=a.hka;var d='Some errors occurred:<ul class="'+Z("Kd")+'">',e=[];for(f in b)e.push(f);var f=e.length;for(var g=0;g<f;g++){var k=e[g];d+="<li>"+X(k)+" ("+X(b[k])+" "+(1<b[k]?a?X(a):X(c)+"s":X(c))+")</li>"}return Y(d+"</ul>")};function tZ(a,b){EH.call(this,b);this.l=a}x(tZ,EH);tZ.prototype.Ra=function(){var a=this,b=this.l;b||(b=bLa);b=by(b);b.style.display="none";this.h=b.querySelector("*[tag=dismiss]");this.h.addEventListener("click",function(c){return a.Wg(c)});this.content=b.querySelector("*[tag=content]");this.m=this.content.querySelector("*[tag=text]");this.j=b};tZ.prototype.Wg=function(){!this.o&&this.dispatchEvent("close")&&(this.w()&&this.w().remove(),this.dispose())};
3312tZ.prototype.rl=function(a){this.m.textContent=a};tZ.prototype.show=function(a){w(a)&&this.rl(a);this.w().style.display=""};function uZ(){ux.call(this);this.g=z("toast_manager");this.h=z("toast_dialog_manager")}x(uZ,ux);Ra(uZ);function vZ(a,b,c){b=new tZ(b);D(b,"close",a.j,void 0,a);var d=a.g;c&&c.yX&&(d=a.h);b.render(d);return b}uZ.prototype.j=function(){};function eLa(a,b,c){if(a.o)return null;a=vZ(a,void 0,c);a.show(b);return a}function fLa(a,b,c,d){var e=eLa(a,b,d);UG(function(){return e.Wg(null)},c)}function wZ(a,b){fLa(a,b,1E4,void 0)}function xZ(a,b){var c=uZ.getInstance();fLa(c,a,2500,b)}
3313function yZ(a){var b=uZ.getInstance();b=vZ(b,void 0,void 0);b.content.appendChild(a);b.show()};function zZ(a,b,c,d,e){ux.call(this);a="/iep/validate.js?formId="+a;e&&(a+="&translation_mode="+e.mode+"&language="+e.language+"&translation_version="+e.version);this.s=new Worker(a);this.s.onmessage=bb(zZ.prototype.Q0,this);this.j=new Map;this.l=new Map;this.L=new Map;this.g=[];this.h=[];this.m=b;this.T=c;this.Ij=!!e;this.jb=d}x(zZ,ux);var AZ="",BZ=null,CZ="",gLa=0,hLa=0;h=zZ.prototype;h.$=function(){null!==this.s&&this.s.terminate();this.s=null;this.j=new Map;this.l=new Map;this.g=[];AZ=""};
3314function iLa(a,b){var c=[];a.h=b;b=m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,d=[d.getKey(),d.xL()],c.push(d);a.s.postMessage([c,a.T])}
3315h.Q0=function(a){if("log"==a.data.call)console.log.apply(console,ka(a.data.args));else if("error"==a.data.call)console.error.apply(console,ka(a.data.args));else if("warn"==a.data.call)console.warn.apply(console,ka(a.data.args));else if("info"==a.data.call)console.info.apply(console,ka(a.data.args));else if(iK()&&(nw().appReady=!1),WU||XU||pM.W(!0),gLa=a.data.advanced,hLa=a.data.format,0==a.data.advanced&&0==a.data.format)vM.pd("No validation checks"),vM.W(!1),iK()&&(nw().appReady=!0);else{this.g=
3316[];if(yF(AF).includes(98)){var b=a.data.veMap,c=jLa(this.m);c=m(c);for(var d=c.next();!d.done;d=c.next())d=d.value,d.bc&&!d.zb&&(d=lV(d.u),d+=":x",b.set(d,{key:d,title:"Collapsed sections may have validation errors."}))}b=a.data.veMap;c=a.data.kdMap;d=m(b.keys());for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=b.get(e);this.j.set(e,f);!this.Ij&&0<=e.indexOf(":")&&(e=e.replace(/:[0-9]+/gi,":x"));this.l.set(e,c[e])}b=m(a.data.veMap.keys());for(c=b.next();!c.done;c=b.next())if(c=c.value,this.g.push(c),
3317d=a.data.veMap.get(c).title,0<c.indexOf(":x")&&!this.Ij)AK.ba("Ua",c.split(":x")[0],d);else for(e=m(this.h),f=e.next();!f.done;f=e.next())f=f.value,f.getKey()==c&&f.Gb!=d&&(AK.ba("Qa",f,d),WU&&c==AZ&&DZ(this,c));b=m(this.L.keys());for(c=b.next();!c.done;c=b.next())if(c=c.value,!a.data.veMap.has(c))if(this.j.delete(c),this.l.delete(c),0<c.indexOf(":x")&&!this.Ij)AK.ba("Va",c.split(":x")[0]);else for(d=0;d<this.h.length;d++)if(this.h[d].getKey()==c){AK.ba("Ra",this.h[d]);break}this.L=a.data.veMap;this.g.sort(EZ);
3318vM.pd(0==this.g.length?"Hooray! No errors.":WU?"Stop jumping to errors":"Jump to errors");0==this.g.length&&WU&&kLa();0==this.g.length?(vM.W(!1),vM.w().style.color="green",AK.ba("Pa"),iK()&&(nw().appReady=!0)):(vM.W(!XU),vM.w().style.color="#333",1<this.g.length&&(uM.W(!0),tM.W(!0)),iK()&&(nw().appReady=!0),AK.ba("Pa"))}};function jLa(a){var b=[];OHa(a,function(c){(c=c.h)&&b.push(c);return!0});return b}
3319function DZ(a,b){0<b.indexOf(":x")&&!a.Ij?AK.ba("Wa",b.split(":x")[0]):AK.ba("Xa");a=m(a.h);for(var c=a.next();!c.done;c=a.next())c=c.value,c.h&&qU(c.h,c.getKey()===b),c.getKey()!==b?(Jw(c.m),c.m=null):c.outline();CZ=""}
3320function EZ(a,b){a=a.slice(1).replace(/:x/g,":0").split("/");b=b.slice(1).replace(/:x/g,":0").split("/");for(var c=0;c<a.length&&c<b.length;c++){var d=a[c].split(":"),e=b[c].split(":");if(parseInt(d[0],10)<parseInt(e[0],10))return-1;if(parseInt(d[0],10)>parseInt(e[0],10))return 1;var f="0",g="0";1<d.length&&(f=d[1]);1<e.length&&(g=e[1]);if(parseInt(f,10)<parseInt(g,10))return-1;if(parseInt(f,10)>parseInt(g,10))return 1}return a.length<b.length?-1:a.length>b.length?1:0}
3321h.oC=function(){if(0==this.g.length)kLa();else if(""!==CZ){var a=CZ;AZ=a;this.j.has(a)?DZ(this,a):this.pC()}else{a=$w(this.h[0].Lc.w(),SHa);a=a.scrollTop+a.offsetTop;for(var b=Number.MAX_VALUE,c="",d=m(this.g),e=d.next();!e.done;e=d.next())if(e=e.value,0<e.indexOf(":x")&&!this.Ij){var f=kZ(e.split(":x")[0],this.m).h.w().offsetTop-a;!(0>f)&&b>f&&(c=e,b=f)}else{f=m(this.h);for(var g=f.next();!g.done;g=f.next())if(g=g.value,g.getKey()==e&&0<e.indexOf(":")&&!this.Ij){g=g.Lc.w();for(var k=g.offsetTop,
3322l=kZ(e.split(":")[0],this.m).h.w();Qw(g)!=l;)g=Qw(g),k+=g.offsetTop;g=k+l.offsetTop-a;!(0>g)&&b>g&&(c=e,b=g)}else g.getKey()==e&&(g=g.Lc.w().offsetTop-a,!(0>g)&&b>g&&(c=e,b=g))}""==c&&(c=this.g[0]);FZ(this);DZ(this,c);AZ=c}};h.pC=function(){if(0!=this.g.length&&WU&&""!==AZ){var a=AZ,b=[];this.j.has(a)||b.push(a);for(var c=m(this.g),d=c.next();!d.done;d=c.next())b.push(d.value);b.sort(EZ);a=b.indexOf(a)+1;a>=b.length&&(a=0);FZ(this);DZ(this,b[a]);AZ=b[a]}};
3323h.QJ=function(){if(0!=this.g.length&&WU&&""!==AZ){var a=AZ,b=[];this.j.has(a)||b.push(a);for(var c=m(this.g),d=c.next();!d.done;d=c.next())b.push(d.value);b.sort(EZ);a=b.indexOf(a)-1;0>a&&(a=b.length-1);FZ(this);DZ(this,b[a]);AZ=b[a]}};function kLa(){AK.ba("Sa",!1);AK.ba("Ta")}function lLa(a,b){return a.j.has(b)?a.j.get(b):null}function mLa(a,b){!a.Ij&&0<=b.indexOf(":")&&(b=b.replace(/:[0-9]+/gi,":x"));return a.l.has(b)?a.l.get(b):"Untitled"}
3324function FZ(a){a=1<a.g.length;uM.W(a);uM.pd(a?"Next error":"Only one error remains");tM.W(a);tM.pd(a?"Previous error":"Only one error remains")};function GZ(){Rx.call(this);this.l=$v(z("page_body"));this.Ub=this.cb=this.m=null;this.s=new VV;this.s.yu=!0;this.mb=[];this.Pb=[];this.Ua=[];this.Yc=[];this.L=this.M=null;this.$a=[null,null];this.Ta=new Map;this.$b=new Set;this.Ja=new Map;this.g=[];this.ea=new TG(15E3);this.wh=HZ;this.ac=[];this.Z=null;this.zb=[];this.Ia=new Map;this.h=AK;this.Za=new Map;this.Ha=new Map;this.Wa=0;this.Bb=new Set;this.Yd=this.jd=-1;this.Gb=new Map;this.bc=new Map;this.pc=[];this.Vb=!1;this.oe=0;this.Kc=[];this.ic=
3325[];this.ge=new Map;this.yb=new Map}x(GZ,Rx);h=GZ.prototype;h.Wi="";h.yl="";h.CM=!0;h.Bi=3;h.ud=1;h.Ir="read_write";h.GP=null;h.Cl=!1;h.Sk=-1;h.oj=void 0;h.FG=-1;h.Uj=void 0;h.Nr=!1;h.Im=!1;h.fL=!1;h.$k=!1;h.Kb=!1;h.DG=0;h.dv=!1;h.XC=!1;h.zv="";var IZ=null;h=GZ.prototype;h.ev=null;h.po=null;h.um=new Map;h.Av=new Map;h.Ry="";h.ju=!0;h.XO=!1;var HZ="le";h=GZ.prototype;h.wh=HZ;h.fz=null;function zIa(a,b){var c=nV(b.getKey());return a.Ia.has(c)?a.Ia.get(c)==b.getValue():!1}
3326function AIa(a,b){var c=nV(b.getKey());return(a=a.Ia.get(c))&&b.Er()?(b.setValue(a),b.zc(),!0):!1}
3327h.qa=function(){this.h.unsubscribe("n",this.to,this);this.h.unsubscribe("p",this.yN,this);this.h.unsubscribe("E",this.DN,this);this.h.unsubscribe("F",this.EG,this);this.h.unsubscribe("o",this.HP,this);this.h.unsubscribe("q",this.MI,this);this.h.unsubscribe("r",this.tO,this);this.h.unsubscribe("s",this.VK,this);this.h.unsubscribe("N",this.WL,this);this.h.unsubscribe("Oa",this.IP,this);this.h.unsubscribe("Qa",this.lM,this);this.h.unsubscribe("Ra",this.jM,this);this.h.unsubscribe("Ua",this.OR,this);
3328this.h.unsubscribe("Va",this.kM,this);this.h.unsubscribe("Wa",this.NR,this);this.h.unsubscribe("Xa",this.RD,this);this.Fy()&&this.h.unsubscribe("v",this.ZL,this);C(this.L);"read_write"==this.Ir&&(this.W(!1),this.ea.stop(),Mx(this.ea,"tick",this.$I,void 0,this));this.to();UV(TV.getInstance(),null);mH.h=null;for(var a=0;a<this.g.length;a++)C(this.g[a]);this.Fy()&&(this.h.unsubscribe("t",this.JN,this),this.h.unsubscribe("u",this.VN,this));this.h.unsubscribe("y",this.IN,this);
3328this.XO&&nLa(this,!1,!1);
3329C(this.l);this.Ub=this.cb=this.m=null;C(this.s);this.$a=this.Yc=this.Ua=this.Pb=this.mb=null;C(this.Ia);C(this.Ta);C(this.Ja);this.g=null;C(this.ea);this.fz=this.h=null;this.um.clear();this.Av.clear();GZ.D.qa.call(this)};
3330h.stop=function(){this.dispose();IZ&&(IZ.$(),IZ=null);var a=hw("ex");if(a){a=m(dw("A",a.parentElement));for(var b=a.next();!b.done;b=a.next())Mx(b.value,"click",this.QO,void 0,this)}this.Na&&(a=this.Na,0<=a.h&&VG(a.h),a.j&&a.j.disconnect(),Mx(a.g,"scroll",a.check,void 0,a),Mx(a.g,"resize",a.check,void 0,a),a.l.disconnect());a=m(this.pc);for(b=a.next();!b.done;b=a.next())VG(b.value);this.um.clear();this.Av.clear();YM(nH,!1)};
3331h.start=function(){mH.h=this;zK(this.h,"n",this.to,this);zK(this.h,"o",this.HP,this);zK(this.h,"p",this.yN,this);zK(this.h,"E",this.DN,this);zK(this.h,"F",this.EG,this);zK(this.h,"N",this.WL,this);zK(this.h,"q",this.MI,this);zK(this.h,"r",this.tO,this);zK(this.h,"s",this.VK,this);zK(this.h,"Oa",this.IP,this);zK(this.h,"Qa",this.lM,this);zK(this.h,"Ra",this.jM,this);zK(this.h,"Ua",this.OR,this);zK(this.h,"Va",this.kM,this);zK(this.h,"Wa",this.NR,this);zK(this.h,"Xa",this.RD,this);zK(this.h,"y",this.IN,
3332this);this.Fy()&&(zK(this.h,"t",this.JN,this),zK(this.h,"u",this.VN,this),zK(this.h,"w",this.qV,this),zK(this.h,"v",this.ZL,this));this.L=new NV(this);oZ([],this.s,iW(this),!0,this);jW(this);this.L.start();var a=hw("ex");if(a){a=m(dw("A",a.parentElement));for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=new Ce(b.hash.substr(1));if(Le(c,"sectionNum")){for(var d=b.getAttribute("href").split("&"),e=d[0],f=1;f<d.length;f++){var g=d[f];0>g.indexOf("version=")&&(e+="&"+g)}this.Uj&&(e+="&version="+
3333this.Uj);b.setAttribute("href",e);c=c.get("sectionNum");this.Gb.set(be(c),b);D(b,"click",this.QO,void 0,this)}}this.Na=new pZ(bb(this.X6,this),{root:this.m.w(),threshold:[0,1]});a=WV(this.s)[0];a=m(jZ(a));for(b=a.next();!b.done;b=a.next())b=b.value,c=b.Ig()?b.h.w():WV(b)[0].j.w(),c.setAttribute("sectionNum",b.ym),d=this.Na,d.o.push(c),d.j&&d.j.observe(c),this.bc.set(be(b.ym),c.firstElementChild)}RV(this)?oLa(this,0,0):(this.XO=!0,nLa(this,!0,!0));if(this.WS()){a=[];b=m(this.Kc);for(c=b.next();!c.done;c=
3334b.next())a.push(L(c.value,2,0));b=void 0;w(this.T)&&(b={mode:this.T||"",language:this.u||"",version:this.va||0});IZ=new zZ(sV(this),this.s,a,this.yl,b)}else vM&&vM.W(!1);0<this.xd&&(this.m.w().scrollTop=this.xd);YM(nH,!0)};
3335function JZ(a,b){var c=new Map,d=a.Ha.get(b),e=d.keys;d=d.repLevels;for(var f=0,g=e.length;f<g;f++)for(var k=nV(e[f]),l=0,n=a.g.length;l<n;l++){var q=a.g[l].getKey();if(!k!=nV(q)){for(var t=!0,u=0,v=d.length;u<v;u++)if(!Jc(q,d[u])){t=!1;break}t&&c.set(q,a.g[l].getValue())}}AK.ba("x",b,c)}
3336function pLa(a,b){for(var c=nV(b),d=m(a.Ha.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.Ha.get(e),g=f.keys;f=f.repLevels;for(var k=0,l=g.length;k<l;k++)if(c==nV(g[k])){for(var n=!0,q=0,t=f.length;q<t;q++)if(!Jc(b,f[q])){n=!1;break}if(n)return e}}return""}function sV(a){var b;RV(a)?b=a.sb:b=a.Wi;if(!w(b))throw Error("do not request form id unless expected to be populated");return b}function qLa(a,b){a.ud=b;2==b&&KZ(a,"read")}
3337function KZ(a,b){if("read"!=b&&"read_write"!=b)throw Error("unsupported mode");a.Ir=b}function hW(a){return 0==a.ic.length?a.Ir:"read"}h.xr=function(a){this.GP=a};h.In=function(){return this.GP};function LZ(a,b){return rLa(a,b)?a.Ir:"read"}function rLa(a,b){if(0==a.ic.length)return!0;b=a.ge.get(b)||[];b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;for(var d=m(a.ic),e=d.next();!e.done;e=d.next())if(c==e.value)return!0}return!1}
3338h.im=function(a){var b=mV(a);a=a.g.T;0<a.length&&this.ge.set(b,a);return LZ(this,b)};function sLa(a,b){var c=Array.from(a.Bb.keys());0==c.length?c=b:(c.sort(function(d,e){return d-e}),c=c[0]);tLa(a,b,c);a.Na&&a.pc.push(UG(a.n0,1E3,a))}function uLa(a,b){if(a.dv)throw Error("setDisplaySection called after renderComplete_");var c=be(b);if(!Number.isInteger(c)||0>c)throw Error("illegal section number: "+b);a.oj=b}h.n0=function(){this.pc.shift();0==this.pc.length&&this.Na.check()};
3339function vLa(a,b){a.Uj=b;KZ(a,"read")}function RV(a){return w(a.sb)}h.pe=function(){return this.Im};function QV(a,b){if(null===b||""==b)return"";if(null===a.M)throw Error("no map to find form_id from form_name");a=a.M.get(b);if(!w(a))throw Error("unable to find form_id from form_name: "+b);return a}function MZ(a,b,c){w(c)&&c&&(a.Ub=b);a.cb=b;a.Vb=1<mZ(b).length;wLa(a)}function xLa(a){return a.Y?L(a.Y,25,""):""}
3340function yLa(a,b){switch(b){case 0:a.ju=!0;break;case 1:a.ju=WJ;break;case 2:a.ju=!1;break;case 3:a.ju=!1}}function wLa(a){if(a.Y&&a.cb){var b=tF(a.Y),c=KA(a.cb),d=b?L(c,12,""):L(c,11,"");w(a.oj)&&(a=be(a.oj),c=LA(c.hb()[a]),b&&null!=I(c,12)?d=L(c,12,""):!b&&null!=I(c,11)&&(d=L(c,11,"")));b=d;iV()&&""!=b&&fz(AF,15,!1)&&(gV.style.display="",gV.style.backgroundImage="url(/iep/watermark?text="+b+")",hV=!0)}}
3340function gZ(a){if(!a.cb)return!1;var b=KA(a.cb);return a.ju&&0==L(b,13,0)}
3341function iW(a){return RV(a)?a.Ub:a.cb}function tV(a,b){var c="fieldoptions:"+b;if(a.Ja.has(c))return a.Ja.get(c);var d=new IB;M(d,1,b);M(d,3,!1);M(d,4,!1);a.Ja.set(c,d);return d}h.Rd=function(){if(this.pe())throw Error("cannot get object id for edit banks only page");return this.fz.Rd()};h.SH=function(){return!this.Im};h.WS=function(){return 3==this.Bi&&w(this.j)&&2!=this.ud&&"read_write"==hW(this)};h.VS=function(){return!!this.j};h.ER=function(){return!this.Im};
3342h.Fy=function(){return 3==this.Bi&&2!=this.ud};h.W=function(a){if(this.Kb!=a){for(var b=0,c=this.g.length;b<c;b++){var d=this.g[b],e="read_write"==LZ(this,d.getKey());d.W(a&&e);if(!this.Im||d.rm())a?d.cn():d.cv()}this.SH()&&lIa(this.L,a);this.Kb=a}};h.isEnabled=function(){return this.Kb};function zLa(a,b){a.zv=b;0>a.Sk&&(b=b.split("/"),1<b.length&&NZ(a,b[1].split(":")[0]))}function ALa(a,b){if(b.rm()){var c=a.Ta.get(nV(b.cD));w(c)&&Qb(c,b)}Qb(a.g,b);C(b)}
3343function jW(a){if(a.Cl)for(var b=0,c=a.g.length;b<c;b++)a.g[b].tG()}h.to=function(a){a=void 0===a?!0:a;this.FR()?OZ(this,a):OZ(this,a,!0)};h.WO=function(a,b,c){for(var d=++RQ,e=0,f=a.length;e<f;e++)Pb(a[e].u,d);AK.ba("z");wCa(d,b,this.u,this.va,this.T,c);return!0};h.bH=function(a){return"he"==a.getState()};
3344function OZ(a,b,c,d){b=void 0===b?!0:b;if(RV(a))return!1;for(var e=0,f=[],g=[],k=new Map,l=0,n=a.g.length;l<n;l++){var q=a.g[l];if(a.bH(q)&&(!c||q.rm())){XHa(q);e=pLa(a,q.getKey());""!=e&&k.set(e,!0);q.send();e=++AHa;var t=new LB;M(t,14,e);var u=q.getKey();M(t,7,u);u=q.getValue();null===u&&(u="");q.rm()?(M(t,1,1),M(t,5,a.Wi),t.Xo(q.Cj()),q.uc()?M(t,2,3):(M(t,2,2),t.setValue(u),t.Ui(q.Jn()),t.Vi(q.Dg()),t.ul(q.Eg()),t.Em(q.xj()),u=q.In(),M(t,17,u||[]))):(M(t,1,0),M(t,2,2),w(a.j)&&M(t,5,a.j),M(t,6,
3345a.Bi),t.setValue(u),d&&M(t,1004,!0));g.push(q);f.push(t);q.getKey()}}b&&a.h.ba("Oa");b=m(k.keys());for(c=b.next();!c.done;c=b.next())JZ(a,c.value);return 0!=g.length?(a.DG=e,e=a.pe()||!a.fz?void 0:a.Rd(),a.WO(g,f,e)):!1}function BLa(a,b){var c=b.getKey();if(xc(c)||RV(a))return!1;b=L(b,5,"");"t"==b.charAt(0)&&(b=b.split(/_(.+)/)[1]);""==b&&(b=void 0);return b!=a.j?!1:yIa(a,c)}
3346h.WL=function(a){var b=null,c=a.Va()?a.Sa():null;if(0==this.Ua.length||Nb(this.Ua,c)){for(var d=!1,e=0,f=LE(a);e<f.length;e++){var g=f[e];g.kg()&&(d=!0);var k=null!=I(g,14)?L(g,14,0):null;null!==k&&(null===b||k>b)&&(b=k);k=null!=I(g,1)?L(g,1,0):null;if(1==k){k=g;var l=k.getKey();if(xc(l))k=!1;else{if(null===(null!=I(k,5)?L(k,5,""):null))throw Error("malformed bank edit response: missing form id");k=vc(l,nV(l))?!0:!1}if(k){var n=c,q=g.getKey();k=nV(q);l=bJa(this,q);var t=this.$a[0],u=this.$a[1],v=
3347!0;Qb(l.u,n)&&(CV(l),v=!1);3==(null!=I(g,2)?L(g,2,0):null)&&(ALa(this,l),t==k&&u.Jo(q));l.setValue(g.getValue());l.Xo(g.Cj());l.Ui(g.Jn());l.Vi(g.Dg());l.Fm(g.Aj());l.ul(g.Eg());l.xr(I(g,17));l.Em(g.xj());l.zr(g.Dk());n=g.getValue();l.aC=n;n=TV.getInstance();n.g&&n.g.AG();v&&(!this.Im&&"read_write"==hW(this)&&g.xj()&&(this.$k?this.FE(k,g.Dk()):this.Ia.set(k,g.Dk())),null===t||null===u||t!=k||u.Rg(l))}}else if(0==k){if(BLa(this,g)){k=c;l=g.getKey();if(3==(null!=I(g,2)?L(g,2,0):null))Qb(this.Yc,k)||
3348(CLa(this,l),this.Xe()?this.to():this.h.ba("m"));else{if(!(l=DLa(this,g,k))&&(l=yF(AF).includes(98)&&2!=this.ud&&null===k)){l=g.getKey();t=l.split(":");n=t[0];u=1;for(q=!1;!q&&u<t.length&&n.length!=l.length;){v=n+":"+t[u];if(!q){q=v;n=kZ(n,this.s);var y=n.h;!y.bc||y.zb?q=!1:(q=q.substring(q.lastIndexOf(":")+1).substring(q.indexOf("/")),q=parseInt(q,10),n=XV(n),q=0==n.length?!0:q<n[0])}u++;n=v}l=q}l||(l=null!=I(g,7)?g.getKey():null,oZ([l],this.s,iW(this),!1,this),ELa(this,l,this.s),jW(this),DLa(this,
3349g,k))}if(2!=this.ud)for(g=Mw(Mw(this.m.w())[0]),k=m(this.um.keys()),l=k.next();!l.done;l=k.next()){t=l.value;l=this.um.get(t);u=t.split("/")[1];v=void 0;for(n=0;n<g.length;n++)if(q=g[n],q.getAttribute("sectionnum")==u){v=q;break}if(u=hw("wf",v))if(Jw(z("Section_"+t+"_link")),v=B("SPAN"),v.id="Section_"+t+"_link",!(1>=l.length)){for(t=0;t<l.length;t++)n=u.innerText.match(/Section (\d+)/i),q="",n&&2==n.length&&(q+=n[1]+"."),q+=(t+1).toString(),0==t&&v.appendChild(pw(" - ")),n=B("A",{},q),n.style.cursor=
3350"pointer",n.style.color="blue",n.id=l[t]+"_link",v.appendChild(n),D(n,"click",this.Vh,!0,this),t!=l.length-1&&v.a
3350ppendChild(pw(", "));Iw(u,v,1)}}}}else throw Error("unknown edit type: "+k);}if(yF(AF).includes(96)&&"read_write"==this.Ir&&0!=this.ic.length&&this.g)for(e=m(this.g),f=e.next();!f.done;f=e.next())f=f.value,rLa(this,f.getKey())&&(g=f.Lc.w(),k=f,Jw(k.M),k.M=null,f.M=B("DIV","fk"),Iw(g,f.M,0));d&&this.h.ba("Oa");oLa(this,b,c);a=S(a,NB,1012);a=m(a);for(b=a.next();!b.done;b=a.next())b=b.value,
3351c=L(b,1,"").substring(0,L(b,1,"").length-1),e=kZ(c,this.s).h,d=fz(b,2,!1),e.zb=d,d=!d,e.h&&(e.h.W(d),e.l.W(d)),fz(b,2,!1)&&this.yb.set(c,0)}};h.ZL=function(a){for(var b=0,c=LE(a);b<c.length;b++){var d=c[b],e=a.Mc()[b];if(BLa(this,d)){var f=d.getKey();d="1"==d.getValue();if(this.dv)for(var g=0,k=this.g.length;g<k;g++){var l=this.g[g];if(f==l.getKey()){cK&&(g=l.Lc.w(),wV(g,{behavior:"smooth",block:"center"}));YHa(l,d,e,"read_write"==LZ(this,f)&&this.isEnabled());break}}else d?this.Za.set(f,e):this.Za.delete(f)}}};
3352function DLa(a,b,c){for(var d=null!=I(b,7)?b.getKey():null,e=0,f=a.g.length;e<f;e++){var g=a.g[e];if(d==g.getKey())return Qb(g.u,c)&&CV(g),b.kg()&&(a=void 0,null!=I(b,1002)&&(a=L(N(b,EC,1002),2,"")),g.setValue(b.getValue(),!0,a)),!0}return!1}h.FE=function(a,b){for(var c=0,d=this.g.length;c<d;c++){var e=this.g[c];if(a==e.getKey()){e.Er()||e.getValue();e.Er()&&(e.setValue(b),e.zc());break}}};
3353function oIa(a,b){var c=new Set;b=m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,0<=d.NA.indexOf("$")||c.add(d.NA.replace(/:y/g,":x"));b=m(a.g);for(d=b.next();!d.done;d=b.next())if(d=d.value,c.has(d.getKey().replace(/:[0-9]+/g,":x"))&&!d.rm()&&!zIa(a,d)&&(0<=d.getKey().indexOf(":")||!d.Er()))return!1;return!0}
3354function bJa(a,b){var c=nV(b),d=a.Ta.get(c),e=null;w(d)?e=Kb(d,function(f){return f.getKey()==b}):(d=[],a.Ta.set(c,d));if(null!==e)return e;e=new EV(b);WHa(e);e.send();a.$k&&CV(e);Pb(d,e);Pb(a.g,e);return e}h.FR=function(){return!0};h.Xe=function(){if(this.XC)return!0;for(var a=["he","ie"],b=0,c=this.g.length;b<c;b++)if(Nb(a,this.g[b].getState()))return!0;return!1};
3355function CLa(a,b){if(RV(a))throw Error("should not remove repeated item from alt view");var c=b.split(":");if(2==c.length){var d=c[0];c=c[1];var e=kZ("/"+d.split("/")[1],a.s);e=FLa(e);e=null!=e?mV(e.s)+"/"+e.ym:"";if(d==e&&(d=a.um.get(d)))for(e=0;e<d.length;e++)if(c==d[e]){a.Av.delete(b);d.splice(e,1);break}}c=new Map;for(d=0;d<a.g.length;d++)e=a.g[d],vc(e.getKey(),b)&&(ALa(a,e),d--,e=pLa(a,e.getKey()),""!=e&&c.set(e,!0));try{var f=kZ(b,a.s)}catch(n){if(n.message.includes("node instance"))return;
3356throw n;}b=f.j;d=f.g;e=d.h;var g=TV.getInstance();if(null!==b&&g.g&&!g.g.o){var k=b.w(),l=g.g.w();k&&l&&(k==l||Rw(k,l))&&(g.g.nu(),g.g=null)}e.removeChild(b,!0);d.l.delete(f.L);C(f);nZ(e.ge,!0)&&e.button&&e.button.W(0==d.l.size);f=m(c.keys());for(b=f.next();!b.done;b=f.next())JZ(a,b.value)}
3357h.VO=function(a){var b=++RQ,c=new LB,d=++AHa;M(c,1,0);M(c,2,3);M(c,14,d);w(this.j)&&M(c,5,this.j);M(c,6,this.Bi);M(c,7,a);Pb(this.Yc,b);AK.ba("z");a=new lB;EE(a,1);FE(a,b);HE(a,c);eN(dN.getInstance(),a);this.Xe()?this.to(!1):this.h.ba("m");this.h.ba("Oa")};
3358h.tO=function(a){var b;if(b=yF(AF).includes(90))a:{var c=b=a;b.endsWith("/")||(b+="/");for(var d=0;d<this.g.length;d++){var e=this.g[d];if((e.getKey().startsWith(b)||e.getKey()==c)&&e.Z){b=!0;break a}}b=!1}b?xZ("Cannot delete repeated sections while there are active users in the section."):(CLa(this,a),3==this.Bi&&null==this.j||this.VO(a))};
3359h.MI=function(a,b,c){var d=MV(),e=this.L;e.o||(e.Kw=d+"",e.iC=c);oZ([":"+d],a,b,!0,this);jW(this);PV(this.L);ELa(this,":"+d.toString(),a);a=WV(a);if(1>a.length)throw Error("No items exist after call to addRepeatedItem_");a=mV(a[a.length-1]);b=!1;c=0;for(d=this.g.length;c<d;c++)e=this.g[c],!vc(e.getKey(),a)||e instanceof EV||!e.Lc.Tb()||AIa(this,e)||(e instanceof JV?e.Qa.dispatchEvent(LT):e.Qa.dispatchEvent("change"),b=!0);b&&this.to()};
3360h.VK=function(a,b){a=lV(a);var c=a+":",d=5;this.yb.has(a)&&(d=this.yb.get(a));b?d=0:0!=d&&(d+=5);this.yb.set(a,d);GLa(this,!0,!1,d,[c])};function GLa(a,b,c,d,e){if(a.ER()){var f=++RQ,g=a.j,k=a.Bi,l=a.Uj,n=a.u,q=a.va,t=a.T;var u=yF(AF).includes(98)&&2!=a.ud;IQ(f,b,!1,g,k,0,e,void 0,l,n,q,t,void 0,void 0,u?d:void 0);c&&Pb(a.Ua,f)}}function nLa(a,b,c){if(w(a.oj)){var d=["/"+a.oj];if(2==a.ud){var e=PZ(a,1),f=PZ(a,2);d.push(e,f)}}else d=["/"];GLa(a,b,c,5,d);HLa(a,d,b,!a.Im,c)}h.$I=function(){this.to(!1)};
3361function oLa(a,b,c){if(null!==c){if(!a.$k&&(Qb(a.Ua,c),0==a.Ua.length)){c=m(a.Ha.keys());for(var d=c.next();!d.done;d=c.next())JZ(a,d.value);switch(a.wh){case HZ:a.wh="me";a.h.ba("m");c=0;for(d=a.g.length;c<d;c++)CV(a.g[c]);a.$k=!0;"read_write"==a.Ir&&(D(a.ea,"tick",a.$I,void 0,a),a.W(!0),a.ea.start());c=m(a.Ia.keys());for(d=c.next();!d.done;d=c.next()){d=d.value;var e=a.Ia.get(d);a.FE(d,e)}c=a.L;c.o||SV(c);QZ(a);break;default:RZ(a)}a.h.ba("Oa")}null===b||(b==a.DG||b>a.DG)&&a.EG()}}
3362h.yN=function(){this.fL=!0;for(var a=m(this.Ha.keys()),b=a.next();!b.done;b=a.next())JZ(this,b.value);QZ(this)};
3363function QZ(a){if(!a.dv&&a.$k&&a.fL&&0==a.Wa){if(2==a.ud){var b=a.s;if(b&&b.yu){b=m(jZ(WV(b)[0]));for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.Ig()&&(c=c.h.w(),0==Mw(c).length)){var d=B("DIV",void 0,"\u00a0");c.appendChild(d)}}ILa(a,a.s,!0);b=0;for(c=a.ac.length;b<c;b++)gx(a.ac[b],"Ob");c=!1;null!=a.Z&&(b=a.Z.id==a.j,0<a.zb.length&&a.zb[0]==a.Z&&(c=!0),(b&&c||!b)&&gx(a.Z,"Qb"))}c=m(a.Za.keys());for(b=c.next();!b.done;b=c.next()){d=b.value;for(var e=a.Za.get(d),f=0,g=a.g.length;f<g;f++)if(b=
3364a.g[f],d==b.getKey()){cK&&(f=b.Lc.w(),wV(f,{behavior:"smooth",block:"center"}));YHa(b,!0,e,"read_write"==LZ(a,d));break}}a.Za.clear();0<=a.Sk&&(sLa(a,a.Sk),b=lZ(iW(a)),a.Sk!=b&&a.scrollIntoView(a.Sk));if(a.zv&&"read_write"==hW(a))nH.dT(void 0,a.zv);else if(a.zv)for(c=0,d=a.g.length;c<d;c++)b=a.g[c],b.getKey()==a.zv&&DV(b);if(""!=a.me)for(b=0;b<a.g.length;b++)if(c=a.g[b],c.getKey()==a.me){DV(c);break}iV()&&(hV&&(b=B("DIV"),DHa.appendChild(b),FHa(CHa)),sL.close(),b=B("DIV",{id:"notifyDone"}),DHa.appendChild(b));
3365a.dv=!0}}function ILa(a,b,c){for(var d=WV(b),e=0,f=d.length;e<f;e++){var g=d[e],k=g.j,l=k.w();l.id==a.j&&a.zb.push(l);b.sS&&(k.XA()?300>l.clientHeight&&a.ac.push(l):0==e&&l&&c&&!a.Z&&(a.Z=l));g=jZ(g);k=0;for(l=g.length;k<l;k++)ILa(a,g[k],c&&0==e&&!a.Z)}}
3366function RZ(a){a.wh="oe";a.ea.stop();a.W(!1);for(var b=0,c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0;n<a.g.length;n++){var q=a.g[n].getState();q==zV?b++:"ee"==q?c++:"fe"==q?d++:"ge"==q?e++:"he"==q?f++:"ie"==q?g++:"je"==q?k++:l++}throw Error("internal error in form place");}
3366h.JN=function(a){if(this.Ry!=a){this.Ry=a;BCa(w(this.T)?["t",this.T,this.va,this.u,"_",this.j].join(""):this.j,a,!0);for(var b=0;b<this.g.length;b++){var c=this.g[b];if(c.getKey()==a){BZ=c;break}}}};h.IN=function(a){HLa(this,[a],!0,!1,!1)};
3367h.VN=function(a){this.h.ba("n");this.Ry="";BCa(w(this.T)?["t",this.T,this.va,this.u,"_",this.j].join(""):this.j,a,!1);BZ=null};h.qV=function(){this.Ry="";BZ=null};h.LS=function(){var a=this.j;this.pe()&&(a=this.Wi);return a};h.IM=function(){return this.pe()};
3368function HLa(a,b,c,d,e){if(!(RV(a)||w(a.T)||2==a.ud||a.Y&&tF(a.Y))){var f=[];b=m(b);for(var g=b.next();!g.done;g=b.next())g=nV(g.value),a.$b.has(g)||(f.push(g),d||a.$b.add(g));if(0!=f.length){b=a.LS();var k;a.Im&&(k=!0);g=a.IM();var l=++RQ;IQ(l,c,!1,b,a.Bi,1,f,k,void 0,void 0,void 0,void 0,d,g);e&&Pb(a.Ua,l)}}}h.HP=function(a){if("read"!=LZ(this,a)){a=!1;switch(this.wh){case HZ:case "ne":break;case "me":this.wh="ne";a=!0;break;case "oe":a=!0;break;default:RZ(this)}a&&this.h.ba("k")}};
3369h.EG=function(){switch(this.wh){case "me":break;case "ne":this.wh="me";this.h.ba("m");break;case "oe":this.$k?(this.Xe()?this.wh="ne":(this.wh="me",this.h.ba("m")),this.W(!0),this.ea.start()):this.wh=HZ;break;default:RZ(this)}};
3370h.DN=function(){switch(this.wh){case HZ:case "me":case "ne":this.wh="oe";this.ea.stop();this.W(!1);for(var a=0,b=this.g.length;a<b;a++){var c=this.g[a];switch(c.g){case "fe":c.g="ee";break;case "ge":case "he":break;case "ie":c.g="he";break;default:BV()}}break;case "oe":break;default:RZ(this)}};function KV(a){a.Wa--;QZ(a)}
3371h.lM=function(a,b){if(!a.h||a.Gb!=b){a.h&&a.h.dispose();var c="fiber_manual_record",d=!1;"Required"==b&&(c="*",d=!0);a.h=new mU(b,c,d,!0);a.Gb=b;a.Lc&&("ce"==a.Lc.Kn()&&2!==a.Lc.cb?(b=a.Lc.Z)&&b.lastElementChild&&"DIV"==b.lastElementChild.tagName?a.h.render(b.lastElementChild.firstElementChild):a.h.render(b):a.h.render(a.Lc.Na))}};h.jM=function(a){if(a.h){var b=a.h;gx(b.l,"mk");gx(b.h,"mk")}Jw(a.m);a.m=null;a.Gb=""};h.IP=function(){IZ&&iLa(IZ,this.g)};
3372function NZ(a,b){if(a.dv)throw Error("initialSectionNum called after renderComplete_");var c=be(b);if(!Number.isInteger(c)||0>c)throw Error("illegal section number: "+b);a.Sk=c}h.scrollIntoView=function(a,b){a=kZ("/"+a,this.s);a=a.Ig()?a.h.w():WV(a)[0].j.w();wV(a,b?{behavior:"smooth"}:void 0)};
3373h.X6=function(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=be(b.target.getAttribute("sectionNum")),d=b.isIntersecting&&b.boundingClientRect.height?(b.intersectionRect.height+5)/b.boundingClientRect.height:0;50<b.intersectionRect.height||1<=d?this.Bb.add(c):this.Bb.delete(c)}a=Array.from(this.Bb.keys());if(0!=a.length){a.sort(function(f,g){return f-g});c=this.m.w();b=10>c.scrollTop;c=c.offsetHeight+c.scrollTop+10>c.scrollHeight;b=0<this.pc.length?this.FG:!b&&c?a[a.length-1]:a[0];
3374b!=this.FG&&tLa(this,b,a[0]);c&&this.dispatchEvent(new xx("scroll_bottom"));b=a[0];c=a[a.length-1];if(b!=this.jd||c!=this.Yd){ZU();d=[];a=m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,this.Gb.has(e)&&d.push({name:this.Gb.get(e).innerText,er:e});a=w(this.Uj)?this.Uj.toString():void 0;this.VS()&&UU(0,this.j,d,this.mb,this.Pb,this.oe,a)}this.jd=b;this.Yd=c}};
3375function tLa(a,b,c){for(var d=m(a.Gb.values()),e=d.next();!e.done;e=d.next())ix(e.value,"Su-Dh");a.Gb.has(b)&&gx(a.Gb.get(b),"Su-Dh");d=m(a.bc.keys());for(e=d.next();!e.done;e=d.next()){e=e.value;var f=a.bc.get(e);e<=c?gx(f,"xf"):ix(f,"xf")}JLa(b,!1);sZ(qZ.getInstance());a.FG=b}
3376function JLa(a,b){var c=lH.object.re(),d=c;d=0>d.search(/(?:^|&)sectionNum=/)?d+("&sectionNum="+a):d.replace(/((?:^|&)sectionNum=)[^&]*/,"$1"+a);a=new RegExp("(?:^|&)highlight=/"+a+"(?::|/|$)");0<=d.search(/(?:^|&)highlight=/)&&0>d.search(a)&&(d=d.replace(/(?:^|&)highlight=[^&]*/,""));if(d!=c)try{b?La.history.pushState(null,"","#"+d):La.history.replaceState(null,"","#"+d),jAa(d)}catch(e){if(e.message&&e.message.includes("Breaking Browser Locker Behavior detected"))console.warn("URL update blocked. Continuing...");
3377else throw e;}}h.QO=function(a){a.preventDefault();a=(new Ce(a.target.hash.substr(1))).get("sectionNum");a=be(a);JLa(a,!0);sLa(this,a);this.scrollIntoView(a)};h.OR=function(a,b){var c=kZ(a,this.s).h,d=c.w();c.Gb!=b&&(c.Lb&&c.Lb.dispose(),c.Lb=new mU(b,"fiber_manual_record",!1,!0),c.Lb.render(d),WU&&a==AZ&&DZ(IZ,a))};h.kM=function(a){try{var b=kZ(a,this.s).h;b.Gb="";if(b.Lb){var c=b.Lb;gx(c.l,"mk");gx(c.h,"mk")}this.RD()}catch(d){}};
3378h.NR=function(a){Jw(this.ev);this.ev=null;this.po&&this.po.Lb&&qU(this.po.Lb,!1);a=kZ(a,this.s).h;var b=a.w(),c=B("DIV","ek");Iw(b,c,0);wV(b,{behavior:"smooth",block:"center"});this.ev=c;(this.po=a)&&a.Lb&&qU(a.Lb,!0)};h.RD=function(){Jw(this.ev);this.ev=null;this.po&&this.po.Lb&&qU(this.po.Lb,!1)};
3379function ELa(a,b,c){if(b&&!(0>b.indexOf(":"))){var d=b.split(":");b=d[0];c.yu||(b=mV(c.s)+"/"+c.ym);0<=b.indexOf(":")||(c=d[1].split("/")[0],a.Av.has(b+":"+c)||(d=kZ("/"+b.split("/")[1],a.s),d=FLa(d),d=null!=d?mV(d.s)+"/"+d.ym:"",b==d&&(a.um.has(b)?a.um.get(b).push(c):(d=[],d.push(c),a.um.set(b,d)),a.Av.set(b+":"+c,!0))))}}
3380function FLa(a){var b=[];b.push(a);a=null;for(var c=0;0<b.length;){var d=b.shift();if(d.Ig())a=d,c++;else{d=WV(d);d=m(d);for(var e=d.next();!e.done;e=d.next()){e=m(jZ(e.value));for(var f=e.next();!f.done;f=e.next())b.push(f.value)}}}return 1==c?a:null}h.Vh=function(a){a=kZ(Qw(a.h).id.split("_")[1]+":"+a.h.id.split("_")[0],this.s).j.w();wV(a,{behavior:"smooth"})};
3381function PZ(a,b){var c=0;a=m(KA(iW(a)).hb());for(var d=a.next();!d.done;d=a.next()){d=d.value;if(null!=I(d,3)&&L(LA(d),5,0)==b)return"/"+c;c++}return""}function yIa(a,b){if(!w(a.oj))return!0;var c=PZ(a,1),d=PZ(a,2);return 0==b.indexOf("/"+a.oj+"/")||0==b.indexOf("/"+a.oj+":")||2==a.ud&&(""!=c&&(0==b.indexOf(c+"/")||0==b.indexOf(c+":"))||""!=d&&(0==b.indexOf(d+"/")||0==b.indexOf(d+":")))};function Yza(){this.j=A("account_button");var a=new rB;M(a,1,OJ);M(a,5,QJ);M(a,6,RJ);this.V=xV(a);a=[];for(var b=m(MJ),c=b.next();!c.done;c=b.next())if(c=c.value,!fz(c,9,!1)){var d=new rB,e=c.dc();M(d,1,e);e=c.Fb();M(d,5,e);e=c.Hb();M(d,6,e);d=xV(d);a.push({domain:L(c,1,""),backgroundColor:d.Ed,color:d.vk,$d:d.$d,rk:L(c,5,""),cd:L(c,8,"")||c.Ic()})}b=fz(AF,41,!1)&&3==zF();Yx(this.j,zHa,{$d:this.V.$d,backgroundColor:this.V.Ed,color:this.V.vk,rk:SJ,first:QJ,Au:RJ,cd:TJ||PJ,pj:cK||dK,J5:wc(PJ,"@samegoal.com"),
3382Uf:zF(),Bu:a,B0:0<MJ.length,Vr:b});(a=z("store_signature"))&&D(a,"click",this.h9,void 0,this);this.g=!1;this.o=this.j.children[1];D(this.j,"click",this.Y0,void 0,this);a=ew("BODY")[0];D(a,"click",this.X0,void 0,this)}h=Yza.prototype;h.Y0=function(a){this.o.contains(a.target)?"A"==a.target.tagName&&this.ti():(a.preventDefault(),this.g=!this.g,this.o.style.display=this.g?"":"none")};h.ti=function(){this.g=!1;this.o.style.display="none"};
3383h.h9=function(){var a=new GZ,b=SP();b.tc("Stored Signature");b.dg=!0;b.Ga(!0);this.h=new GY(a,sV(a),75);this.h.Na=!1;a=this.h;a.Bb="Store Signature";a.Ub="By selecting Store Signature, I agree to sign documents electronically.";a.Vb="This signature will be the electronic representation of my signature, just the same as a pen-and-paper signature.";this.h.render(b.ib());AK.ka("eb",this.hS,this);a=++RQ;HQ(a,"",0);a=B("P",{},"This is your stored signature. To update or remove, click the pen icon. To save changes, click OK.");
3384b.ib().appendChild(a);D(fI(b.Yb,"ok"),"click",this.Vr,void 0,this)};h.X0=function(a){this.g&&!this.j.contains(a.target)&&this.ti()};h.Vr=function(){AK.ka("eb",this.hS,this);var a=++RQ;HQ(a,this.h.getValue(),2)};
3384h.hS=function(a){if(a=N(a,UC,46))if(a=L(a,1,""))hK=""!=a,this.h.setValue(a)};function SZ(a,b){(void 0===b?0:b)&&(a=void 0===a||""==a?"SameGoal":a+" | SameGoal");var c=TZ.innerText.replace(/\*\*\* /,"");b=a.replace(/\*\*\* /,"");c!=b&&(c=new lB,EE(c,77),M(c,1004,b),eN(dN.getInstance(),c,!0));TZ.innerText=a}function UZ(a){VZ="normal";WZ.href="/iep/s/9qivELPCcSp4pl2MA4X7q4EsoGI";SZ(TZ.innerText.replace(/\*\*\* /,""));!a&&XZ&&XZ.stop()}function YZ(a){document.hidden&&"normal"==VZ&&(VZ="notify",WZ.href="/iep/s/5Mw4i_mYoMeITr68taPuGQj1Xdc",a&&SZ("*** "+TZ.innerText))}
3385function KLa(){"normal"==VZ?YZ(!0):UZ(!0)}function LLa(){document.hidden||UZ()}for(var TZ=ew("title")[0],WZ=null,VZ="normal",XZ=null,ZZ=ew("link"),$Z=0,MLa=ZZ.length;$Z<MLa;++$Z)if("icon"==ZZ[$Z].rel){WZ=ZZ[$Z];D(La,"visibilitychange",LLa);break};function NLa(){return Y('<div class="'+Z("uj")+'" style="display: none;"></div><div style="display: none;" class="'+Z("wj")+'"><div class="'+Z("xj")+'"><h2>Notifications</h2><span id="notification-settings-button" class="'+Z("G")+" "+Z("T")+'" title="Open Notification Settings">settings</span></div><div class="'+Z("yj")+'"></div></div>')}
3386function OLa(a){var b=a.icon,c=a.title,d=a.HF,e=a.Y8;a=a.hW;return Y('<div class="'+Z("zj")+" "+Z(e)+'"><div class="'+Z("Oj")+'"><div class="'+Z("Ej")+" "+Z("H")+'">'+X(b)+'</div><div class="'+Z("Hj")+'">'+X(c)+'</div><div class="'+Z("Pj")+'">'+X(d)+'</div></div><div class="'+Z("Nj")+'"><div class="'+Z("Cj")+'"></div>'+(a?'<div class="'+Z("Qj")+" "+Z("H")+'">close</div>':"")+"</div></div>")}
3387function PLa(a){Ta(a.kp);var b=a.kp;a=a.R9;for(var c='<div class="'+Z("Ce")+'"><table class="'+Z("cn")+" "+Z("Tj")+'"><caption>Below are listed all the notification topics that you can receive. For each topic, notifications will be delivered via the methods selected on the right. Unsubscribe from a topic by unchecking all checkboxes next to it.</caption><thead class="'+Z("Sj")+'"><tr class="'+Z("Cm")+'"><th class="'+Z("in")+'">Topic</th><th class="'+Z("in")+'">Notification when</th><th class="'+Z("in")+
3388" "+Z("Vj")+'"><span class="'+Z("H")+" "+Z("T")+" "+Z("Wj")+'" title="Deliver notifications via the in-app \'bell\' feed">notifications</span></th><th class="'+Z("in")+" "+Z("Vj")+'"><span class="'+Z("H")+" "+Z("T")+" "+Z("Wj")+'" title="Deliver notifications via email">email</span></th>'+(a?'<th class="'+Z("in")+" "+Z("Vj")+'"><span class="'+Z("H")+" "+Z("T")+" "+Z("Wj")+'" title="Deliver notifications via web push notification">dvr</span></th>':"")+"</tr></thead><tbody>",d=b.length,e=0;e<d;e++){var f=
3389b[e];for(var g=a,k='<tr><td class="'+Z("Hm")+'">',l=Math.max(0,Math.ceil(f.depth-0)),n=0;n<l;n++)k+=n<f.depth-1?'<span class="'+Z("Uj")+'"></span>':'<span class="'+Z("H")+" "+Z("R")+'" style="position: relative; top: -0.2em;">subdirectory_arrow_right</span>';k+=X(f.name)+'</td><td class="'+Z("Hm")+" "+Z("hn")+'">'+X(f.description)+'</td><td class="'+Z("Vj")+'"><span id="cbspan-feed-'+Z(f.id)+'"></span></td><td class="'+Z("Vj")+'"><span id="cbspan-email-'+Z(f.id)+'"></span></td>'+(g?'<td class="'+
3390Z("Vj")+'"><span id="cbspan-webpush-'+Z(f.id)+'"></span></td>':"")+"</tr>";f=Y(k);c+=f}return Y(c+"</tbody></table></div>")};var a_=window.localStorage;function QLa(){AK.ka("Wc",RLa);var a=++RQ,b=new lB;EE(b,74);FE(b,a);eN(dN.getInstance(),b)}function b_(){return"Notification"in La?new Promise(function(a,b){"granted"===Notification.permission?a(Notification.permission):"default"===Notification.permission&&Notification.requestPermission().then(function(c){a(c)}).catch(function(c){b(c)})}):Promise.reject("web push notifications unsupported")}
3391function RLa(a){var b;return r(function(c){b=N(a,Gz,1005);qI.controller().then(function(){var d=L(b,1001,""),e=a_.getItem("vapid_key");a_.setItem("vapid_key",d);if(e&&e!==d)return SLa()}).then(TLa);ua(c)})}
3392function TLa(){return"visible"!==document.visibilityState?Promise.resolve():navigator.serviceWorker.ready.then(function(a){return a.pushManager.getSubscription()}).then(function(a){return a?a:ULa()}).then(function(a){if(a){var b=a_.getItem("vapid_key")||"";if(""===b)throw Error("invalid/missing VAPID key");var c=++RQ;QCa(c,0,a,b)}}).catch(function(a){console.error("failed to retrieve webpush subscription: "+a)})}
3393function ULa(){var a=a_.getItem("vapid_key")||"";return""!==a?navigator.serviceWorker.ready.then(function(b){return b.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:my(a)})}
3393):Promise.reject("could not create subscription: invalid/missing VAPID key")}
3394function SLa(){return navigator.serviceWorker.ready.then(function(a){return a.pushManager.getSubscription()}).then(function(a){if(a)return a.unsubscribe().then(function(b){if(b)return a})}).then(function(a){return new Promise(function(b,c){a||c("missing/invalid subscription");zK(AK,"Xc",function(){return b()});c=++RQ;QCa(c,1,a)})})};var VLa={feed:0,email:1,webpush:2};
3395function gAa(a){this.j=a;a=by(NLa);this.j.appendChild(a);this.s=a.querySelector("div.uj");this.L=a.querySelector("div.yj");this.m=a.querySelector("div.wj");this.g=a.querySelector("#notification-settings-button");this.h=!1;this.o={};this.l=!1;zK(AK,"oa",this.hN,this);zK(AK,"f",this.ti,this);D(this.j,"click",this.$0,void 0,this);a=ew("BODY")[0];D(a,"click",this.Z0,void 0,this);Sxa?this.g&&(this.g.disabled=!0,this.g.style.cursor="not-allowed",this.g.title="Notification settings temporarily unavailable"):(this.g&&
3396(this.g.disabled=!1,D(this.g,"click",this.j3,void 0,this)),AK.ka("Uc",this.iV,this),QQ(++RQ));a=new nB;NJ&&lz(a,43,NJ);this.hN(a);NJ=null}function WLa(a){switch(a){case 1:return"Dj";case 2:return"Fj";case 8:return"Gj";case 7:return"Ij";case 3:return"Jj";case 4:return"Kj";case 5:return"Lj";case 6:return"Mj";default:return"Bj"}}h=gAa.prototype;
3397h.$0=function(a){if(a.target===this.j||a.target===this.s){a.preventDefault();if(this.h=!this.h){c_(this,!1);a=m(Object.values(this.o));for(var b=a.next();!b.done;b=a.next())b=b.value,b.HF.innerText=WO(b.notification.getTime())}this.m.style.display=this.h?"":"none"}};h.ti=function(){this.h=!1;this.m.style.display="none"};h.Z0=function(a){this.l&&window.Notification&&"granted"!=window.Notification.permission&&b_();this.h&&!this.j.contains(a.target)&&this.ti()};
3398function XLa(a,b){return S(a,Bz,7).filter(function(c){return L(c,2,0)==b})}function c_(a,b){a.s.style.display=b?"":"none";b&&YZ()}h.j3=function(){this.ti();MK("pageName=notification_settings")};
3399h.iV=function(a){a=N(a,Kz,1003);var b=N(a,Dz,2);a=S(a,Az,1);if(b&&a){a=a.map(function(e){return yEa(e,b,VLa)});a=m(a);var c=a.next();a:for(;!c.done;c=a.next()){c=m(c.value.methods);for(var d=c.next();!d.done;d=c.next())if(d=d.value,"webpush"==d.name&&d.Pc){this.l=!0;break a}}}this.l&&b_().then(function(e){"granted"===e&&QLa()})};
3400h.hN=function(a){a=S(a,zz,43);var b=Object.keys(this.o);this.L.innerHTML="";this.o={};for(var c=!1,d=m(a),e=d.next();!e.done;e=d.next()){e=e.value;b.includes(L(e,1,""))||(c=!0);var f=L(e,1,""),g=XLa(e,0),k=by(OLa,{icon:L(e,4,""),title:e.getTitle(),HF:WO(e.getTime()),Y8:WLa(L(e,5,0)),hW:0<g.length});this.L.appendChild(k);var l=k.querySelector("div.Cj");l.innerHTML=L(e,14,"");0<g.length&&D(k.querySelector("div.Qj"),"click",YLa(f,g[g.length-1]),void 0,this);g=XLa(e,1);for(var n=m(g.entries()),q=n.next();!q.done;q=
3401n.next()){var t=m(q.value);q=t.next().value;t=t.next().value;var u=B("P",{},B("A",{href:"/iep/#"+L(t,3,"")},L(t,5,"")));l.appendChild(u);q===g.length-1?(q=k,jx(k,"Aj",!0)):q=u;D(q,"click",YLa(f,t),void 0,this)}this.o[f]={notification:e,HF:k.querySelector("div.Pj")}}c?c_(this,!0):0===a.length&&c_(this,!1)};
3402function YLa(a,b){function c(g){fz(b,4,!1)&&d(g);this.ti();MK(L(b,3,""))}function d(g){g.stopPropagation();g=++RQ;uCa(g,a,e,f);qI.controller().then(function(k){k.postMessage({type:"webpush_dismiss",nla:a})})}var e=L(b,2,0),f=L(b,1,"");switch(e){case 1:return c;default:return d}};function ZLa(a){a=a.Uf;return 0==a?"/iep/s/hdhvCFk1csvnNG5YPbcOjsQmiOU":2==a?"/iep/s/U1FJks1VcWhFJfJBAKMAICOUTr8":3==a?"/iep/s/X782ARu_zvSCQmgEI5ubokI42IY":"/iep/s/AGsTOTcFWIL7wqpkRjc75DF3vZg"}
3403function $La(a){var b=a.Ey,c=a.Rq,d=a.Eo,e=a.FA,f=a.Sy,g=a.Ty;a=d||e?' style="color:red"':f?' style="color:#e53935"':b||c?' style="color:white"':"";b=e?'Urgent! SameGoal agreement expired. <a href="/iep/billing">Details</a>':d?'Open billing item. <a href="/iep/billing">Details</a>':f?X(f)+" "+(g?'<a href="'+Z(JL(g))+'" style="#1e88e5" target="_blank" rel="noopener noreferrer">Details</a>':"")+' <span class="'+Z("E")+" "+Z("nd")+'" id="login_message_close">close</span>':b?"LOCAL":c?"PRODUCTION":"";
3404return Y('<div class="'+Z("Uc")+'" id="login_message"'+a+">"+b+"</div>")}
3405function Wza(a,b,c){b=c||b;var d=a.Ey,e=a.Rq,f=a.Eo,g=a.FA,k=a.Sy,l=a.Ty,n=a.wH,q=a.pj,t=a.Uf;Ta(a.SM);c=a.SM;a=a.l6;var u=d?' style="background-color: #82ff79;
3405"':e?' style="background-color: #f44336;"':"";b='<div id="top_bar" class="'+Z("se")+'"'+u+'><div class="'+Z("Vc")+'">'+(q?'<img class="'+Z("Kb")+" "+Z("jb-kb-lb")+'" src="'+Z(yza(ZLa({Uf:t})))+'" alt="SameGoal Special Programs">':'<a href="/iep/#"><img class="'+Z("Kb")+" "+Z("jb-kb-lb")+'" src="'+Z(yza(ZLa({Uf:t})))+'" alt="SameGoal Special Programs"></a>')+
3406$La({Ey:d,Rq:e,Eo:f,FA:g,Sy:k,Ty:l},b)+'<div class="'+Z("Wc")+'" id="save_region_hook"></div><div class="'+Z("wc")+'">';if(!q){b+='<div id="notifications" class="'+Z("bd")+" "+Z("E")+'">notifications</div><div id="support" class="'+Z("bd")+" "+Z("E")+'">help_outline<div class="'+Z("ed")+'" style="display: none; top: unset; height: unset; max-width: 350px; top: 1.5em; width: auto; overflow: auto">'+(n?'<a href="#" id="support_help" class="'+Z("td")+'">Help Guide</a><a href="#" id="support_new_issue" class="'+
3407Z("td")+'">New Issue</a><a href="#pageName=issues" class="'+Z("td")+'">Issues</a>':'<a href="/iep/g/support/online-guides" class="'+Z("td")+'" rel="noopener noreferrer" target="_blank">Help Guide</a>')+'<hr class="'+Z("wd")+'"><a href="/iep/g/company/blog" class="'+Z("td")+'" target="_blank" rel="noopener noreferrer">Blog</a><a'+(d?' style="cursor: not-allowed" title="Service Status is only available in production"':' href="https://samegoal.app/"')+' class="'+Z("td")+'" target="_blank" rel="noopener noreferrer">Service Status</a><a href="/iep/events" class="'+
3408Z("td")+'" target="_blank" rel="noopener noreferrer">Events</a>';d=c.length;for(n=0;n<d;n++)q=c[n],b+='<hr class="'+Z("wd")+'"><div class="'+Z("xd")+'"><div class="'+Z("yd")+'">'+X(q.m0)+"</div>"+(q.TM?'<div class="'+Z("zd")+'"><div class="'+Z("Ad")+" "+Z("E")+'">schedule</div>'+X(q.TM)+"</div>":"")+(q.AE?'<div class="'+Z("zd")+'"><div class="'+Z("Ad")+" "+Z("E")+'">mail</div><a href="mailto:'+Z(q.AE)+'">'+X(q.AE)+"</a></div>":"")+(q.UM?'<div class="'+Z("zd")+'"><div class="'+Z("Ad")+" "+Z("E")+'">call</div>'+
3409X(q.UM)+"</div>":"")+"</div>";b+='<hr class="'+Z("wd")+'"><div class="'+Z("xd")+'"><div class="'+Z("yd")+'">SameGoal Support</div><div class="'+Z("zd")+'"><div class="'+Z("Ad")+" "+Z("E")+'">schedule</div>Mon - Fri, '+X(a)+'</div><div class="'+Z("zd")+'"><div class="'+Z("Ad")+" "+Z("E")+'">mail</div><a href="mailto:[email protected]">[email protected]</a></div><div style="align-items: flex-start" class="'+Z("zd")+'"><div class="'+Z("Ad")+" "+Z("E")+'">call</div><div style="display: flex; flex-direction: column"><div style="padding-bottom: .25em">888-SAMEGOAL x1</div><div style="padding-top: .25em">888-726-3462 x1</div></div></div><div style="height: 1.8em" class="'+
3410Z("zd")+'"><div class="'+Z("Ad")+" "+Z("E")+'">vpn_key</div><span class="'+Z("nl")+" "+Z("vl")+" "+Z("ol")+" "+Z("jb-kb-lb")+'" id="call_in_code_button">
3410Show Call-In Code</span><span class="'+Z("jb-kb-lb")+'" style="display: none; align-items: center" id="call_in_code"></span></div></div></div></div>'}b+='<div id="account_button" class="'+Z("bd")+'"></div></div></div><div class="'+Z("Sb")+'"><div class="'+Z("jb-kb-lb")+" "+Z("Tb")+'" id="server_status"></div></div></div><div id="toast_manager" class="'+
3411Z("Xb")+'"><div class="'+Z("jb-kb-lb")+" "+Z("Zb")+'" id="confirmation_status"></div></div><div id="toast_dialog_manager" class="'+Z("Wb")+'"></div><div class="'+Z("re")+'"><table class="'+Z("kv")+'"><tr><td class="'+Z("lv")+'"><div id="toolbar"></div></td><td class="'+Z("nv")+'"><div id="doc_toolbar" style="white-space: nowrap"></div></td><td class="'+Z("mv")+'"><div id="collapse_expand_toolbar"></div></td></tr></table></div><div id="page_body"></div>';return Y(b)}
3412function d_(){return Y('<svg class="'+Z("qu")+" "+Z("ru")+'" viewBox="0 0 66 66"><circle class="'+Z("tu")+'" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle></svg>')}function aMa(a,b,c){b=c||b;c=a.UI;return Y("<div><span><h1>"+X(a.text)+d_(null,b)+"</h1></span></div>"+(BL(c,null)?"":"<br><div><h2>"+X(c)+"</h2></div>"))};function JM(a,b){XM.call(this,a,b,"wd")}x(JM,XM);JM.prototype.s=!1;
3413JM.prototype.cF=function(a){if(!this.o){aN(this);var b=null!==this.h&&("form"==this.g.na("pageName")||"share"==this.g.na("pageName")||"attachments"==this.g.na("pageName")),c="form"==a.na("pageName")||"share"==a.na("pageName")||"attachments"==a.na("pageName");b=!b||!c||!ZL(this.g,"docId")||!ZL(a,"docId")||this.g.na("docId")!=a.na("docId");this.g=a;b?(b=this.h,null===b||b.Tf(),this.h=this.l.j(a),this.s=!1,this.j=b,null===this.h?this.X.ba("i",this.Xf):(this.h.Xf=this.Xf,bN(this.h,a))):this.X.ba("i",
3414this.Xf)}};JM.prototype.dF=function(){this.o||(aN(this),null===this.h||this.s||(cN(this.h),this.s=!0))};function e_(a,b){ux.call(this);this.X=a;this.g=b}x(e_,ux);e_.prototype.j=function(){return null};function f_(a,b,c){ux.call(this);this.X=a;this.ge=b;this.view=c;this.Yc=[];this.v={};this.Ub={};this.Xl={};this.JF={};this.pc=[];this.Cb=[];g_(this,"h",this.XZ,this)}x(f_,ux);h=f_.prototype;h.Bd=!1;h.Hm=!1;h.tN=!1;h.Xf="";function h_(a){a.Bd||(a.X.ba("Ha"),a.X.ba("d"),MK("pageName=caseload"))}function bN(a,b){if(!a.Bd){for(var c=m(a.pc),d=c.next();!d.done;d=c.next())d.value.start(b);a.start(b)}}h.start=function(){this.Ya()};function dV(a,b,c){var d=gc(a.Ub,c);w(d)||(d=[]);Pb(d,b);a.Ub[c]=d}
3415function eV(a,b,c){if(a.Bd)return!1;a=gc(a.Ub,c);return w(a)?null===b?!1:Qb(a,b):!1}function i_(a,b){a.pc.includes(b)||(a.pc.push(b),a.Hm&&!a.Bd&&b.start(mH.g));return b}function j_(a,b){if(a.Bd)return!1;a=gc(a.Ub,b);return w(a)&&0!=a.length?!0:!1}h.Ya=function(){this.Bd||j_(this,"initial")||this.Bd||this.X.ba("i",this.Xf)};function cN(a){if(!a.Bd){a.iP();a.K();for(var b=m(a.pc),c=b.next();!c.done;c=b.next())c.value.K();a.eO()}}h.iP=function(){if(!this.Hm){var a=this.view.bA();this.ge.Ea(a,!0)}};
3416function k_(a){a.Hm||(a.Hm=!0,g_(a,"n",a.jc,a))}h.K=function(){k_(this)};h.eO=function(){};h.$=function(){this.Hm=!1;for(var a=m(this.pc),b=a.next();!b.done;b=a.next())b.value.$()};h.qa=function(){f_.D.qa.call(this);this.Hm&&this.$();this.ge.Fg(!0);C(this.view)};h.xm=function(){return this.Bd||this.tN||!this.view.Xe()?!0:!1};h.Tf=function(){this.Bd=!0;this.view.Dr=!0;for(var a=0,b=this.Yc.length;a<b;a++)this.X.mp(this.Yc[a]);a=0;for(b=this.Cb.length;a<b;a++)Nx(this.Cb[a])};
3417h.XZ=function(){this.tN=!0};h.jc=function(){this.Bd||this.view.W(!1)};h.ka=function(a,b,c){this.Bd||(a=this.X.ka(a,b,c),this.Yc.push(a))};function DQ(a,b,c,d,e,f,g){function k(n){if(l==n.Sa()&&eV(this,n.Va()?n.Sa():null,c)){if(g&&this.Xl[g])for(var q=0;q<this.Xl[g].length;q++)dV(this,l,c);e.call(f,n);if(g&&(this.JF[g]=n,this.Xl[g])){q=m(this.Xl[g]);for(var t=q.next();!t.done;t=q.next())t=t.value,eV(this,l,c),t(n);this.Xl[g]=[]}}else this.ka(b,k,this)}var l=++RQ;dV(a,l,c);a.ka(b,k,a);d&&d(l)}
3418function l_(a,b,c,d){a.JF[b]?c.call(d,a.JF[b]):(a.Xl[b]||(a.Xl[b]=[]),a.Xl[b].push(c.bind(d)))}function g_(a,b,c,d){a.Bd||(b=zK(a.X,b,c,d),a.Yc.push(b))}h.J=function(a,b,c,d,e){a=D(a,b,c,d,e);this.Cb.push(a);return a};function m_(a,b){DQ(a,"ca","initial",function(c){return GQ(c,void 0,!0,void 0,void 0,void 0,b)},a.h_,a)}h.h_=function(a){this.Qb=PE(a);this.Ya()};function n_(a){DQ(a,"ea","initial",function(b){var c=tCa(void 0,void 0);BQ(b,58,c)},a.h0,a)}h.h0=function(a){this.rf=S(a,LC,1001);this.Ya()};
3419function bMa(a){DQ(a,"fa","initial",function(b){var c=new lB;EE(c,68);FE(c,b);eN(dN.getInstance(),c)},a.j0,a)}h.j0=function(a){this.xd=S(a,MC,47);this.Ya()};function o_(a,b,c){f_.call(this,a,b,c)}x(o_,f_);h=o_.prototype;h.LG="";h.WP=!1;h.start=function(a){a:{var b=a.na("pageName");if(w(b)){if("form"==b){a=a.na("docId");if(!w(a)){h_(this);a=!1;break a}this.LG=a}a=!0}else h_(this),a=!1}
3419a&&(xc(this.LG)?this.Ya():(this.ka("na",this.uM,this),a=++RQ,dV(this,a,"initial"),wQ(a,0,this.LG)))};h.uM=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.WP=tF(NE(a)[0]),this.Ya()):this.ka("na",this.uM,this)};
3420h.K=function(){o_.D.K.call(this);this.view.K(this.WP);zK(this.X,"rc",this.view.QS,this.view);zK(this.X,"uc",this.view.XP,this.view);zK(this.X,"k",this.view.nN,this.view);zK(this.X,"m",this.view.ci,this.view);cMa(this.view.Vb,!1)};h.$=function(){o_.D.$.call(this);cMa(this.view.Vb,!0);this.X.unsubscribe("rc",this.view.QS,this.view);this.X.unsubscribe("uc",this.view.XP,this.view);this.X.unsubscribe("k",this.view.nN,this.view);this.X.unsubscribe("m",this.view.ci,this.view)};function p_(){Rx.call(this);this.T=null}x(p_,Rx);h=p_.prototype;h.Dr=!1;h.Cr=!1;h.bA=function(){return this.T=new EH};h.Uc=function(){return this.Cr};h.ub=function(){this.Cr=!0};h.$=function(){this.Cr=!1};h.qa=function(){p_.D.qa.call(this);this.Cr&&this.$();C(this.T)};h.W=function(){};h.Xe=function(){return!1};h.ci=function(){};function q_(a,b,c){EH.call(this,c);this.Iz=a;this.V=b;this.h=this.V.FJ;this.l=!0;this.m=!1}x(q_,EH);h=q_.prototype;h.vG=null;h.Fr=null;h.uG=null;h.di=null;h.sj=null;h.Pr=null;h.yH=-1;
3421h.Ra=function(){var a=this.g.O("DIV","Zg",this.V.name);this.Fr=this.g.O("DIV",{title:"Minimize","class":"ch"});var b=this.g.O("DIV","ah",this.Fr);this.uG=this.g.O("DIV",{title:"Close","class":"dh"});var c=this.g.O("DIV","ah",this.uG);this.vG=this.g.O("DIV","Yg",a,b,c);this.di=this.g.O("DIV","eh");this.sj=this.g.O("TEXTAREA",{"class":"fh",disabled:this.h});this.Pr=this.g.O("DIV","nh"+(this.h?"":" Sg"),"User signed out");this.j=this.g.O("DIV","Xg",this.vG,this.di,this.sj,this.Pr)};
3422h.K=function(){q_.D.K.call(this);D(this.vG,"click",this.u6,void 0,this);D(this.uG,"click",this.s6,void 0,this);D(this.sj,"keydown",this.t6,void 0,this)};h.u6=function(a){this.l?r_(this):dMa(this,!0);a.stopPropagation()};h.s6=function(a){this.dispatchEvent("close");a.stopPropagation()};function r_(a){a.di.style.display="none";a.sj.style.display="none";a.Pr.style.display="none";a.l=!1;a.Fr.className="bh";a.Fr.title="Maximize"}
3423function dMa(a,b){a.di.style.display="";a.sj.style.display="";a.Pr.style.display="";b&&a.sj.focus();a.l=!0;a.Fr.className="ch";a.Fr.title="Minimize"}h.t6=function(a){if(13==a.keyCode&&!a.shiftKey){if(!xc(this.sj.value)){var b=this.sj.value;this.message("",b,Date.now()/1E3);this.sj.value="";NQ(this.Iz,b)}a.preventDefault()}};
3424h.message=function(a,b,c){var d=WO((new Date(1E3*c)).getTime());var e=300<Math.abs(c-this.yH);this.yH=c;c=a!=this.V.lf;a=50>=this.di.scrollHeight-(this.di.scrollTop+this.di.clientHeight);var f=[];if(!c){var g=this.g.O("DIV",{"class":"mh",style:"background-color: "+this.V.Ed+"; color: "+this.V.vk},this.V.$d);f.push(g)}b=this.g.O("DIV","ih "+(c?"kh":"lh"),b);e?(d=this.g.O("DIV","oh",d),c&&gx(d,"Wd"),d=this.g.O("DIV","jh",d,b),f.push(d)):f.push(b);d=this.g.O("DIV","gh "+(c?"hh":"sgChatWindowMessageGroupRemote"),
3425f);Ew(this.di,d);a&&(this.di.scrollTop=this.di.scrollHeight-this.di.clientHeight)};function s_(a,b,c){b!=a.h&&(kx(a.Pr,"Sg"),c&&(a.Pr.innerHTML=c),a.h=b,a.sj.disabled=b)};function t_(a){EH.call(this,a);this.m=AK;this.l=null;this.h=new Map;this.Z=new Map;this.u=new Map;this.M=new Map}x(t_,EH);Ra(t_);h=t_.prototype;h.hn=null;h.nz=null;h.Pv=null;h.qP=null;var u_=h.yv=null;h=t_.prototype;h.lC=null;h.gp=!0;h.jF=!1;h.mz=!1;function eMa(a){u_=a}
3426h.Ra=function(){this.lC=this.g.O("DIV","Wg");Ew(document.body,this.lC);this.Pv=this.g.O("BUTTON","Tg","Sign out of chat");this.nz=this.g.O("DIV","Rg Sg",this.Pv);this.hn=this.g.O("DIV",{"class":"Qg",title:"Chat options"},"\u25bc");this.qP=this.g.O("DIV",{"class":"Ug",title:"Online colleagues available for chat"},"Online Colleagues");var a=this.g.O("DIV",void 0,this.hn,this.qP);this.yv=this.g.O("DIV","Vg");this.j=this.g.O("DIV",{style:"display: flex; flex-direction: column; flex: 1 1 auto"},a,this.yv,
3427this.nz)};h.K=function(){t_.D.K.call(this);D(this.hn,"click",this.m3,void 0,this);D(this.Pv,"click",this.C8,void 0,this);var a=iN(oM,"sgMenuMyChatBox");this.l=nM(void 0,a);this.l.render(this.yv);D(this.l,"action",this.A6,void 0,this);this.m.unsubscribe("sc",eMa);zK(this.m,"sc",this.rP,this);zK(this.m,"tc",this.fV,this);null!==u_&&(this.rP(u_),u_=null)};h.Ga=function(a){this.o||(this.j.style.display=a?"flex":"none")};
3428h.rP=function(a){if(!this.o){this.l.Fg(!0);this.l.w().innerHTML="";this.Z.clear();for(var b={},c=m(this.h.keys()),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=d.split("@"),f=0,g=e.length;f<g;f++)b.hasOwnProperty(e[f])||(b[e[f]]=[]),b[e[f]].push(d)}c=!1;d=0;for(a=a.Mc();d<a.length;d++)if(g=a[d]||new rB,e=xV(g),e.lf==OJ)f=!fz(g,30,!1),f!=this.gp&&(f?fMa(this,!1):gMa(this,!1)),delete b[e.lf];else{this.Z.set(e.lf,e);var k=b[e.lf];if(k)for(f=0;f<k.length;f++){var l=this.h.get(k[f]);l&&s_(l,fz(g,
342930,!1))}delete b[e.lf];if(!fz(g,30,!1)){c=!0;g=e.$d;k=e.name;l=e.Ed;var n=e.vk;f=qN(SN,"Vp");g=ay(NBa,{$d:g,name:k,backgroundColor:l,color:n});f=new WN(g,void 0,void 0,f);f.setValue(e.lf);this.l.Ea(f,!0)}}c||(this.l.w().innerHTML="No online colleagues");c=Object.keys(b);for(f=0;f<c.length;f++)for(d=b[c[f]],a=0;a<d.length;a++)(e=this.h.get(d[a]))&&s_(e,!0)}};h.A6=function(a){this.hF(a.target.getValue())};h.hF=function(a){this.gp&&(a=a<OJ?a+"@"+OJ:OJ+"@"+a,this.M.set(a,!0),hMa(this,a))};
3430function hMa(a,b){var c=a.h.get(b);if(c){var d=!!a.M.get(b);a.M.delete(b);a.mz||dMa(c,d);return c}c="";d=b.split("@");for(var e=0,f=d.length;e<f;e++)if(d[e]!=OJ){c=d[e];break}c=a.Z.get(c)||a.u.get(c);c=new q_(b,c);Ix(c,"close",a.B6,void 0,a);c.render(a.lC);a.mz&&r_(c);a.h.set(b,c);NQ(b,"");return c}h.B6=function(a){this.h.get(a.target.Iz).dispose();this.h.delete(a.target.Iz)};
3431h.fV=function(a){if(this.gp){var b=N(a,kC,25)||new kC,c=L(b,1,""),d=fz(b,3,!1);a=this.h.get(c);if(d||a&&a.m)for(a=hMa(this,c),d&&(a.m&&(c=a,c.yH=-1,Fw(c.di)),a.m=!0),c=0,b=S(b,jC,2);c<b.length;c++){var e=b[c];d=L(e,1,"");var f=L(e,2,"");e=e.getTime();a.message(d,f,e)}else NQ(c,"")}};h.m3=function(){this.jF?iMa(this):jMa(this)};function jMa(a){gx(a.yv,"Sg");ix(a.nz,"Sg");a.hn.textContent="\u25b2";a.jF=!0}function iMa(a){ix(a.yv,"Sg");gx(a.nz,"Sg");a.hn.textContent="\u25bc";a.jF=!1}
3432h.C8=function(){this.gp?gMa(this,!0):fMa(this,!0)};function v_(a,b,c,d){(cK||d)&&(a=a.h.get(b<OJ?b+"@"+OJ:OJ+"@"+b))&&s_(a,c,cK?"User left document.":"Must be in shared document to chat parent/guardian.")}function gMa(a,b){jMa(a);gx(a.hn,"Sg");a.Pv.textContent="Sign into chat";for(var c=m(a.h.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.h.get(d).dispose(),a.h.delete(d);a.gp=!1;b&&tQ(void 0,2,OJ,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,!0);a.m.ba("uc")}
3433function fMa(a,b){iMa(a);ix(a.hn,"Sg");a.Pv.textContent="Sign out of chat";a.gp=!0;b&&tQ(void 0,2,OJ,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,!1);a.m.ba("uc")};function w_(a){EH.call(this,a);this.h=null;this.l=new Map}x(w_,EH);w_.prototype.Ra=function(){this.j=this.h=this.g.O("DIV","Yc")};function kMa(a){a=xV(a);a=B("DIV",void 0,a.name);return B("SPAN","n",a)}function lMa(a){var b=kMa(a),c=xV(a);return B("DIV",{"class":"l",style:"background: "+c.Ed+"; border-color: "+c.Ed+"; color: "+c.vk,"sg-userid":c.lf,"sg-first":a.Fb(),"sg-last":a.Hb(),"sg-chat":!1},[c.$d,b])}
3434w_.prototype.update=function(a){var b=a.Mc();a=this.h.firstElementChild;for(var c=0,d=t_.getInstance();c<b.length&&a;){var e=b[c];if(e.dc()==OJ)c++;else{var f=xV(e);d.u.set(f.lf,f);e.dc();var g=e;f=a;var k=g.dc(),l=g.Fb();g=g.Hb();l=l.localeCompare(f["sg-first"]);0!=l?f=l:(l=g.localeCompare(f["sg-last"]),f=0!=l?l:k.localeCompare(f["sg-userid"]));0>f?(e=lMa(e),Gw(e,a),c++):(0==f&&(Kw(kMa(e),a.children[0]),c++),a=a.nextElementSibling)}}for(;c<b.length;c++)e=b[c],f=e.dc(),this.l.set(e.dc(),fz(e,32,!1)),
3435f!=OJ&&(f=xV(e),d.u.set(f.lf,f),e=lMa(e),this.h.appendChild(e));for(;a;)b=a["sg-userid"],c=a,a=a.nextElementSibling,Jw(c),v_(d,b,!0);this.l.get(OJ)||mMa(this)};function cMa(a,b){for(var c=t_.getInstance(),d=a.h.firstElementChild;d;){var e=d["sg-userid"];d=d.nextElementSibling;v_(c,e,b,a.l.get(e))}}
3436function mMa(a){for(var b=t_.getInstance(),c=b.gp,d=a.h.firstElementChild;d;){var e=d["sg-userid"];if(!a.l.get(e)){var f=d["sg-chat"];v_(b,e,!1,!0);c&&!f?(D(d,"click",bb(b.hF,b,e)),gx(d,"m"),d["sg-chat"]=!0):!c&&f&&(Mx(d,"click",bb(b.hF,b,e)),ix(d,"m"),d["sg-chat"]=!1)}d=d.nextElementSibling}};function x_(a){EH.call(this,a)}x(x_,EH);x_.prototype.Ra=function(){var a=this.g.O("DIV",{"class":"jb-kb-lb",style:"color: #aaa; padding-left: 5px;","data-e2e":"save_region"});a.innerHTML="";this.j=a};function y_(){p_.call(this);this.Vb=this.h=null}x(y_,p_);h=y_.prototype;h.Ev=!1;h.MC=!1;h.MG=!1;h.bA=function(){this.T=new xN;this.T.rd("Xc");return this.T};h.K=function(a){this.ub();this.Ev=a;this.h=new x_;this.Vb=new w_;a=this.T;a.Ea(this.h,!0);a.Ea(this.Vb,!0)};h.$=function(){y_.D.$.call(this);C(this.h);C(this.Vb)};h.nN=function(){this.Dr||this.Ev||(this.MC=!0,this.MG=!1,z_(this))};h.ci=function(){this.Dr||this.Ev||(this.MG=this.MC=!0,z_(this))};h.QS=function(a){this.Dr||this.Vb.update(a)};
3437h.XP=function(){this.Dr||mMa(this.Vb)};function z_(a){var b=a.h.w();a.Ev||!a.MC?b.innerText="":a.Dr||(b.innerText=a.MG?"All changes saved":"Unsaved changes")}
3437h.ov=function(a){this.Ev=a;z_(this)};function IM(a,b){e_.call(this,a,b)}x(IM,e_);IM.prototype.j=function(a){var b=null;a=a.na("pageName");if("form"==a||"instance_form"==a||"user_form"==a||"object_form"==a||"instance_bank_update"==a||"batch_edit"==a)b=new y_,b=new o_(this.X,this.g,b);return b};function A_(a,b,c,d){EH.call(this,d);this.M=c;this.l=a;this.Ea(a);this.m=b;this.Ea(b);this.h=null}x(A_,EH);h=A_.prototype;h.hp=null;h.Re=null;h.Po=null;h.iu=5;h.bE=null;h.KO=null;h.TC=null;h.Ej=null;h.Ra=function(){var a=this.g,b=a.O("DIV","jb-ve-xe-ye"),c=a.O("DIV","jb-ve-ze-ye"),d=a.O("DIV","jb-ve-we");this.j=a.O("DIV","jb-ve",b,c,d);this.Re=b;this.Po=c;this.h=d;nMa(this);oMa(this)};
3438h.Tn=function(a){var b=B_(a,"jb-ve-xe-ye");if(!b)return!1;this.Re=b;b=B_(a,"jb-ve-ze-ye");if(!b)return!1;this.Po=b;a=B_(a,"jb-ve-we");if(!a)return!1;this.h=a;return!0};function B_(a,b){for(var c=Mw(a),d=0;d<c.length;d++){var e=c[d];if(fx(e,b))return e}return ew(null,b,a)[0]}h.Vc=function(a){A_.D.Vc.call(this,a);nMa(this);a=GG(a);pMa(this,new Zv(a.width,a.height));oMa(this)};
3439function oMa(a){var b=a.g;a.l.w()||a.l.Ra();b.appendChild(a.Re,a.l.w());a.m.w()||a.m.Ra();b.appendChild(a.Po,a.m.w());a.hp=new wH(a.h,a.h);a.Re.style.position="absolute";a.Po.style.position="absolute";a=a.h.style;a.position="absolute";a.overflow="hidden";a.zIndex=2}h.K=function(){A_.D.K.call(this);var a=this.w();"static"==nG(a)&&(a.style.position="relative");HH(this).J(this.h,"dblclick",this.kZ).J(this.hp,"start",this.QY).J(this.hp,"drag",this.mZ).J(this.hp,"end",this.lZ);C_(this,this.bE)};
3440function D_(a){return"vertical"==a.M}function nMa(a){D_(a)?(a.h.style.height=a.iu+"px",gx(a.h,"jb-ve-we-bl")):(a.h.style.width=a.iu+"px",gx(a.h,"jb-ve-we-Lq"))}function E_(a,b){oG(a,b.left,b.top);HG(a,new Zv(Math.max(b.width,0),Math.max(b.height,0)))}function C_(a,b){a.Vz(GG(a.w()),b)}
3441h.Vz=function(a,b){var c=D_(this);this.TC=b=Oa(b)?b:Oa(this.TC)?this.TC:Math.floor((c?a.height:a.width)/2);if(c){var d=c=a.width;var e=this.iu;var f=a.height-b-e;var g=a.width;var k=b;var l=0;var n=k+e;a=0}else c=b,b=a.height,d=this.iu,e=a.height,g=a.width-c-d,f=a.height,l=c,k=0,a=l+d,n=0;E_(this.Re,new hG(0,0,c,b));"function"==typeof this.l.resize&&this.l.resize(new Zv(c,b));E_(this.h,new hG(l,k,d,e));E_(this.Po,new hG(a,n,g,f));"function"==typeof this.m.resize&&this.m.resize(new Zv(g,f));this.dispatchEvent("change")};
3442function pMa(a,b){HG(a.w(),b);a.Ej&&HG(a.Ej,b);a.Vz(b,void 0)}function TM(a){var b=xG(a.h,a.Re),c=GG(a.Re),d=JG(a.Re),e=D_(a);e?(c=c.height-d.height,b=b.y):(c=c.width-d.width,b=b.x);c==b?C_(a,a.KO):(a.KO=e?GG(a.Re).height:GG(a.Re).width,C_(a,c));a.dispatchEvent("handle_snap")}
3443h.QY=function(){if(!this.Ej){var a="position: relative";Jv&&!Vv("10")&&(a+=";background-color: #000;filter: Alpha(Opacity=0)");this.Ej=this.g.O("DIV",{style:a});this.g.appendChild(this.w(),this.Ej)}this.Ej.style.zIndex=1;HG(this.Ej,GG(this.w()));var b=qG(this.Re),c=a=0,d=b.x;b=b.y;var e=GG(this.Re),f=JG(this.Re),g=JG(this.Po);D_(this)?(c=f.height+g.height,b+=e.height-f.height):(a=f.width+g.width,d+=e.width-f.width);xH(this.hp,new hG(d,b,a,c))};
3444h.mZ=function(a){D_(this)?C_(this,a.top-qG(this.Re).y):C_(this,a.left-qG(this.Re).x);this.dispatchEvent("handle_drag")};h.lZ=function(){this.Ej.style.zIndex=-1;this.dispatchEvent("handle_drag_end")};h.kZ=function(){TM(this)};h.qa=function(){C(this.hp);this.hp=null;Jw(this.Ej);this.Ej=null;A_.D.qa.call(this)};function OM(a,b,c,d,e){A_.call(this,b,c,d,e);this.u=a}x(OM,A_);OM.prototype.Vz=function(a,b){OM.D.Vz.call(this,a,b);this.l.w().style.display="flex";this.l.w().style.flexDirection="column";HG(this.l.w(),GG(this.Re));HG(this.m.w(),GG(this.Po));AK.ba("c",this.u())};function MM(a){EH.call(this,a)}x(MM,EH);MM.prototype.Ra=function(){this.j=this.g.O("DIV","Be")};var KM=null,LM=null,NM=null,QM=null,fAa=null;function RM(){var a=uG(z("page_body")),b=QM.Md(),c=b.clone();c.height-=a.y;pMa(NM,c);AK.ba("c",b)}function PM(){return QM.Md()}function F_(){var a=xG(NM.h,NM.Re),b=GG(NM.Re),c=JG(NM.Re);D_(NM)?(b=b.height-c.height,a=a.y):(b=b.width-c.width,a=a.x);return b==a};function G_(a){EH.call(this,a);this.h=!0}x(G_,EH);h=G_.prototype;h.yG=null;h.Gr=null;h.xG=null;h.dA=null;h.Ra=function(){var a=this.g.O("DIV","Zg","Help");this.Gr=this.g.O("DIV",{title:"Minimize","class":"ch"});var b=this.g.O("DIV","ah",this.Gr);this.xG=this.g.O("DIV",{title:"Close","class":"dh"});var c=this.g.O("DIV","ah",this.xG);this.yG=this.g.O("DIV","Yg",a,b,c);this.dA=this.g.O("DIV","eh");this.j=this.g.O("DIV","Xg",this.yG,this.dA)};
3445h.K=function(){G_.D.K.call(this);D(this.yG,"click",this.y6,void 0,this);D(this.xG,"click",this.x6,void 0,this)};h.y6=function(a){this.h?(this.dA.style.display="none",this.h=!1,this.Gr.className="bh",this.Gr.title="Maximize"):(this.dA.style.display="",this.h=!0,this.Gr.className="
3445ch",this.Gr.title="Minimize");a.stopPropagation()};h.x6=function(a){this.dispatchEvent("close");a.stopPropagation()};function hAa(a,b){this.l=a;this.m=b;this.h=!1;this.g=void 0;this.s=this.l.firstElementChild;this.j=0;D(this.l,"click",this.b1,void 0,this);(a=z("support_help"))&&D(a,"click",this.h3,void 0,this);this.o=A("call_in_code_button");D(this.o,"click",this.l5,void 0,this);a=ew("BODY")[0];D(a,"click",this.a1,void 0,this)}h=hAa.prototype;h.b1=function(a){this.s.contains(a.target)?"A"==a.target.tagName&&this.ti():(a.preventDefault(),this.h=!this.h,this.s.style.display=this.h?"":"none")};
3446h.ti=function(){this.h=!1;this.s.style.display="none"};h.a1=function(a){this.h&&!this.l.contains(a.target)&&this.ti()};h.h3=function(a){a.preventDefault();this.ti();this.g||(a=hw("Wg"),this.g=new G_,Ix(this.g,"close",this.tV,void 0,this),this.g.render(a))};h.l5=function(){this.o.style.display="none";var a=A("call_in_code");Yx(a,d_);a.style.display="flex";this.m.ka("vc",this.UU,this);a=++RQ;var b=new lB;EE(b,54);FE(b,a);eN(dN.getInstance(),b,!0)};
3447h.UU=function(a){var b=A("call_in_code");this.j=15;b.innerHTML="<div><b>"+L(a,41,"")+'</b><span style="font-size: .6em"> (Expires in <span id="cic_expires_min">15</span>m)</span></div>';window.setTimeout(this.WK.bind(this),6E4)};h.WK=function(){this.j--;if(0<this.j)A("cic_expires_min").innerText=this.j,window.setTimeout(this.WK.bind(this),6E4);else{var a=A("call_in_code");a.innerHTML="";a.style.display="none";this.o.style.display=""}};
3447h.tV=function(){this.g.dispose();this.g=void 0};function Xza(){var a=(new Date).toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],b="5pm";switch(a){case "EST":case "EDT":case "CST":case "CDT":break;case "MST":case "MDT":b="4pm";break;case "PST":case "PDT":b="3pm";break;default:a="ET"}return"8am - "+b+" "+a};function VM(a,b){XM.call(this,a,b,"xd")}x(VM,XM);VM.prototype.g=!1;VM.prototype.cF=function(a){this.o||(null===this.h?(this.h=this.l.j(a),this.h.Xf=this.Xf,bN(this.h,a)):(this.h.yb=a,this.X.ba("i",this.Xf)))};VM.prototype.dF=function(){if(!this.o){this.g||(cN(this.h),this.g=!0);var a=this.h;a.view.bi(a.yb)}};function H_(a,b,c){f_.call(this,a,b,c);this.yb=null}x(H_,f_);H_.prototype.start=function(a){H_.D.start.call(this,a);this.yb=a};H_.prototype.K=function(){H_.D.K.call(this);this.view.K()};H_.prototype.qa=function(){H_.D.qa.call(this);this.yb=null};function I_(a){D(a,"mouseenter",qMa);D(a,"mouseleave",rMa)}function qMa(a,b){a=b?b:a.target;b=a.getBoundingClientRect();b=b.left+b.width/2<=jw().width/2;a=a.children[1];jx(a,"Qk",b);jx(a,"Rk",!b)}function rMa(a,b){a=b?b.children[1]:a.target.children[1];jx(a,"Qk",!1);jx(a,"Rk",!1)};function sMa(){return Y('<div id="left_menu"></div><div id="left_tab_bar"></div><div id="left_tab_box" style="display: flex; flex-direction: column; flex: 1 1 auto"></div>')}
3448function tMa(a){Ta(a.Zh);var b=a.Zh;a=a.$J;var c="";if(1<b.length||!a&&0<b.length){c+='<div class="'+Z("ss")+'">'+(a?"Other ":"")+"Open Reports</div>";for(var d=b.length,e=0;e<d;e++){var f=b[e];if(!BL(a,f.data)){c+='<div style="display:flex"><span style="flex-grow:1">'+X(f.name)+'</span><span class="'+Z("Gk")+'" style="padding-left:10px"><i class="'+Z("E")+'">info</i><span class="'+Z("Nk")+" "+Z("Vk")+'">'+(0<f.vars.length?'<div class="'+Z("ss")+'">Report Options</div>':"");var g=f.vars,k=g.length;
3449if(0<k)for(var l=0;l<k;l++){var n=g[l];c+="<div><b>"+X(n[0])+"</b> "+X(n[1])+"</div>"}else c+="<div>No configuration options</div>";c+='</span></span><i data-report="'+Z(f.data)+'" class="'+Z("E")+" "+Z("rs")+'">trending_flat</i></div>'}}}else c+="<div>No other open reports</div>";return Y(c)}
3450function uMa(a,b,c){b=c||b;Ta(a.Zh);a=a.Zh;return Y(0<a.length?'<div class="'+Z("Gk")+'" style="cursor:auto;font-weight:normal"><div class="'+Z("qs")+'">'+X(a.length)+'</div><span class="'+Z("Nk")+'">'+tMa({Zh:a,$J:""},b)+"</span></div>":"")};function J_(){p_.call(this);this.$a=new EH;this.m=this.M=this.Na=this.Y=this.u=this.h=null}x(J_,p_);h=J_.prototype;h.bA=function(){return this.$a};
3451h.K=function(){this.ub();gx(this.$a.w(),"Ip");var a=ay(sMa);this.$a.w().appendChild(a);this.h=new Map;a=nM(void 0,this.j7);K_(this,a,"Dashboard","dashboard",vMa);K_(this,a,"Recent","recent",wMa);K_(this,a,"Caseload","caseload",xMa);K_(this,a,"All","all",yMa);a.Ea(VP(),!0);fz(AF,16,!1)&&2<=zF()&&K_(this,a,"Deadlines","deadlines",zMa);K_(this,a,"Students / create new","objects_list",L_);WJ&&(K_(this,a,"Users","users_list",M_),K_(this,a,"Settings","instance_settings",N_));K_(this,a,"Reports","instance_reports",
3452O_);var b=this.h.get(O_),c=B("DIV","js");b.w().firstElementChild.lastElementChild.firstElementChild.appendChild(c);La.addEventListener("storage",bb(P_,void 0,c));P_(c,{key:"report",newValue:window.localStorage.getItem("report")});b=VP();a.Ea(b,!0);b.j.style.marginBottom=0;a.render(z("left_menu"));a=B("DIV","wx");this.Y=SBa(a);a=B("DIV","xx");this.Na=SBa(a);this.u=TBa();this.u.Ea(this.Y,!0);this.u.Ea(this.Na,!0);this.u.render(z("left_tab_bar"));D(this.u,"select",this.zb,void 0,this);this.m=qZ.getInstance();
3453this.m.render(z("left_tab_box"));this.M=t_.getInstance();this.M.render(z("left_tab_box"));this.u.Gm(this.Y)};h.$=function(){J_.D.$.call(this);C(this.$a);C(this.h);C(this.m);C(this.M)};h.qa=function(){J_.D.qa.call(this);this.M=this.m=this.h=null};h.j7=iN(oM,"Hp");function K_(a,b,c,d,e){d="pageName="+d;c=XP(c,"#"+d);c.setValue(d);b.Ea(c,!0);a.h.set(e,c)}var wMa="qe",xMa="re",yMa="se",M_="ue",L_="ve",N_="we",O_="xe",zMa="ye",vMa="ze";
3454J_.prototype.bi=function(a){var b=sZ(this.m);switch(a.na("pageName")){case "objects_list":case "object_add":var c=L_;break;case "deadline_list":case "enrollment_timeline":case "object_docs_list":case "object_update":case "object_form":case "rename_object":case "student_team":b||(c=L_);break;case "recent":c=wMa;break;case "caseload":c=xMa;break;case "all":c=yMa;break;case "deadlines":c=zMa;break;case "users_list":case "user_add":case "user_update":case "admin_reset_password":case "rename_user":case "user_docs_list":c=
3455M_;break;case "instance_settings":case "instance_update":case "instance_forms_list":case "instance_form_add":case "instance_form_settings":case "instance_form_update":case "enrollment_programs_list":case "enrollment_program_add":case "enrollment_program_update":case "instance_banks":case "instance_bank_update":case "instance_technical":case "user_roles_list":case "user_role_update":case "user_role_reports":case "building_add":case "buildings_list":case "building_update":case "calendar":case "calendar_building_list":case "data_export_update":case "data_import_update":case "data_transfer_add":case "data_transfer_list":case "grades_list":case "instance_labels_list":case "create_instance":case "instance_csv_loader":case "pdf_import":case "pdf_import_list":case "load_data":case "pdf_export_list":case "pdf_export_load":case "download_backups":c=
3456N_;break;case "instance_reports":c=O_;break;case "instance_form":c=N_;break;case "user_form":c=M_;break;case "dashboard":c=vMa;break;case "exception":alert(1/0)}a=m(this.h.keys());for(b=a.next();!b.done;b=a.next())b=this.h.get(b.value),b.bi(!1),b.Wo(!1);w(c)&&(c=this.h.get(c),c.Wo(!0),c.bi(!0))};J_.prototype.zb=function(){switch(this.u.ai){case this.Na:this.m.Ga(!1);this.M.Ga(!0);break;case this.Y:this.M.Ga(!1);this.m.Ga(!0);break;default:throw Error("unknown tab selected");}};
3457function P_(a,b,c){if("report"==b.key){b=JSON.parse(b.newValue||"[]");for(var d=0;d<b.length;d++){b[d].data=WG(b[d]);var e=JSON.parse(b[d].vars),f=Object.keys(e).sort();b[d].vars=[];f=m(f);for(var g=f.next();!g.done;g=f.next()){g=g.value;var k=e[g];k&&(Array.isArray(k)&&(k=k.join(", ")),b[d].vars.push([g,k]))}}c?Yx(a,tMa,{Zh:b,$J:c}):Yx(a,uMa,{Zh:b});c=gw("Gk",a);for(b=0;b<c.length;b++)I_(c[b]);a=gw("rs",a);for(c=0;c<a.length;c++)D(a[c],"click",AMa)}}
3458function AMa(a){a.preventDefault();window.localStorage.setItem("reportNotify",a.target.getAttribute("data-report"));window.localStorage.removeItem("reportNotify")};function UM(a,b){e_.call(this,a,b)}x(UM,e_);UM.prototype.j=function(){var a=new J_;return new H_(this.X,this.g,a)};function Q_(){Rx.call(this);this.g=!1;this.h=[]}x(Q_,Rx);Q_.prototype.W=function(a){for(var b=0,c=this.h.length;b<c;b++){var d=this.h[b];a?D(d,"change",this.j,void 0,this):Mx(d,"change",this.j,void 0,this)}};Q_.prototype.j=function(){this.dispatchEvent("change");this.g=!0};Q_.prototype.Xe=function(){return this.g};Q_.prototype.qa=function(){Q_.D.qa.call(this);this.W(!1);this.h=null};function R_(a){EH.call(this,a)}x(R_,EH);R_.prototype.Ra=function(){this.j=this.g.O("DIV","Ae")};R_.prototype.K=function(){R_.D.K.call(this);null!=QM&&(zK(AK,"c",this.h,this),S_(this))};
3458function S_(a){if(null!=QM){var b=PM();a.h(b)}}function BMa(a,b){a=uG(a.w()).y;b=b.height-a;0>b&&(b=0);return b}R_.prototype.h=function(a){if(!this.o){a=BMa(this,a);var b=hw("dw");this.w().style.height=pG(a,!0);b&&(b.style.height=pG(a,!0))}};function T_(a){EH.call(this);this.node=a}pa(T_,EH);T_.prototype.Ra=function(){if(this.node.nodeType==Node.ELEMENT_NODE)this.j=this.node;else{var a=B("DIV");a.appendChild(this.node);this.j=a}};function U_(){EH.call(this);this.items=[]}pa(U_,EH);function V_(a,b,c){if(b){b=new T_(b);for(var d={S3:c,Lc:b},e=0;e<a.items.length&&a.items[e].S3<=c;)e++;a.items.splice(e,0,d);a.jj(b,e,!0)}}U_.prototype.Fg=function(a){this.items=[];return EH.prototype.Fg.call(this,a)};function W_(){p_.call(this);this.Rf=this.g=this.j=null;this.Vy="";this.m=null}x(W_,p_);h=W_.prototype;h.bA=function(){var a=new EH;this.j=new U_;this.g=new R_;a.Ea(this.j,!0);a.Ea(this.g,!0);return a};h.ub=function(a){W_.D.ub.call(this);SZ(a,!0)};h.qa=function(){W_.D.qa.call(this);C(this.j);C(this.g);C(this.Rf);C(this.m)};function X_(a,b,c){a.Cr&&(Fb(b,function(d){w(d)&&w(this.g.w())&&V_(this.j,d,0)},a),w(c)&&w(a.g.w())&&Dw(a.g.w(),c),S_(a.g))}
3459function CMa(a,b){a.j.Fg(!0);Fb(b,function(c){w(c)&&w(this.g.w())&&V_(this.j,c,0)},a);S_(a.g)}function Y_(a,b,c,d,e,f,g,k){a.Cr&&w(z("save_button"))&&(k&&(a.Vy=d?d:"Save"),a.Rf=new eX(d,c,e,f,g,void 0),a.Rf.render(z("save_button")),Z_(a,!1),D(a.Rf,"action",a.c$,void 0,a),w(b)&&(a.m=new Q_,c=a.m,c.h=b,c.W(!0),D(a.m,"change",a.Al,void 0,a)))}
3460h.Al=function(){var a=z("file_upload_input");if(!a||0!=a.value.length)if(Z_(this,!0),""!=this.Vy){a=this.Rf.w().querySelectorAll('[role="button"]');a=m(a);for(var b=a.next();!b.done;b=a.next())b.value.innerText=this.Vy}};h.Xe=function(){return null!==this.m&&this.m.Xe()?!0:!1};h.c$=function(){if(""!=this.Vy&&null!=this.Rf){this.Rf.W(!1);var a=this.Rf.w().querySelectorAll('[role="button"]');a=m(a);for(var b=a.next();!b.done;b=a.next())b.value.innerText="Loading..."}AK.ba("n",this.gc())};h.W=function(){};
3461function Z_(a,b){w(a.Rf)&&null!==a.Rf&&a.Rf.W(b)}h.hd=function(){};h.gc=function(){return{}};h.ci=function(){this.m.g=!1};h.jL=function(a){return a||"aforecki.com"==UJ||"example.com"==UJ||"samegoal.com"==UJ||"walnut.k12.oh.us"==UJ};function $_(a,b,c){f_.call(this,a,b,c)}x($_,f_);$_.prototype.yc=function(){return 0};$_.prototype.eO=function(){this.view instanceof W_&&S_(this.view.g)};
3462$_.prototype.Kd=function(a,b,c,d,e,f){if(!j_(this,"save")){var g=this.yc(a);this.view.hd(this.v);var k=this.view;w(k.m)&&null!==k.m&&k.m.W(!0);k=L(a,26,0);if(0<k){if(g>k)throw Error("View cannot set more errors than number in response");Z_(this.view,!0);g!=k&&(DMa(this,a)&&(g+=1),g!=k&&(this.view.Rf.Kp.innerHTML="There were additional errors."))}else this.view.Rf.setValue(void 0,void 0),this.view.ci(),this.view.W(!0),!e&&w(d)&&d&&AK.ba("Ha"),w(b)&&AK.ba(b),f&&xZ(f),e&&c?window.open("#"+c,"_blank",
3463"noopener noreferrer"):w(c)&&MK(c)}};function DMa(a,b){var c=null!=I(b,1)?L(b,1,0):null;if(7==c)b=ME(b)[0];else if(8==c)b=b.Mc()[0];else if(9==c)b=b.Sd()[0];else if(6==c)b=OE(b)[0];else if(10==c)b=NE(b)[0];else if(18==c)b=S(b,CB,15)[0];else if(59==c)b=PE(b)[0];else return!1;b=b.pg()?b.ef():null;if(null===b)return!1;a.view.Rf.setValue(void 0,b);return!0};function a0(a,b,c){f_.call(this,a,b,c)}x(a0,$_);h=a0.prototype;h.YA=!1;h.Fj=0;h.start=function(){this.ka("ga",this.ZP,this);var a=++RQ;dV(this,a,"initial");sQ(a,0);this.ka("la",this.$P,this);a=++RQ;dV(this,a,"initial");tQ(a,0,OJ)};h.ZP=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.Fj=L(ME(a)[0],1003,0),this.Ya()):this.ka("ga",this.ZP,this)};h.$P=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.YA=fz(a.Mc()[0],10,!1),this.Ya()):this.ka("la",this.$P,this)};
3464h.K=function(){a0.D.K.call(this);this.view.K(this.YA,this.Fj)};h.jc=function(a){var b=this.view.Ia;if(!b.Ja)throw Error("Unable to compare passwords, missing confirmation input");b.h.getValue()!=b.m.getValue()?(b.qb("Passwords do not match"),b=!1):(b.qb(""),b=!0);b&&(a0.D.jc.call(this,a),this.ka("la",this.YP,this),b=++RQ,dV(this,b,"save"),tQ(b,2,OJ,void 0,void 0,void 0,void 0,void 0,a.password,void 0,void 0,void 0,void 0,void 0,void 0,a.YJ,void 0))};
3465h.YP=function(a){eV(this,a.Va()?a.Sa():null,"save")?this.Kd(a,"cb","pageName=caseload",!0):this.ka("la",this.YP,this)};h.yc=function(a){this.v={};var b=0;a=a.Mc()[0];if(null===a)return b;var c=N(a,U,1002);null!=I(a,1002)&&(this.v.MV=c.xb()?c.getError():null,b++);c=N(a,U,16);null!=I(a,16)&&(this.v.Lu=c.xb()?c.getError():null,b++);return b};function EMa(a){var b=a.userName;a=a.ZS;return Y('<div class="'+Z("Lb")+'">'+(a?'<div><div class="'+Z("jb-kb-lb")+" "+Z("xk")+'" style="min-width: 150px">Email or Username:</div><input style="border: none; width: calc(100% - 150px)" value="'+Z(b)+'" autocomplete="username" readonly></div><div id="current_password_input"></div><div id="password_input"></div><br><div id="save_button"></div>':'<div>Send this user an email containing a link to reset their password.<br><br></div><button class="'+Z("nl")+
3466" "+Z("ol")+'" id="email_send">Send</button><div id="email_confirm" style="padding-left: 5px"></div>')+"</div>")}function FMa(){return Y('<div class="'+Z("Lb")+"\">The login information for this account comes from your organization's central authentication server.<br><br>Try updating your login information in the central program you use at your organization, or contact your IT staff for additional assistance.</div>")}
3467function GMa(){return Y('<div class="'+Z("Lb")+'">This user is currently configured to login via the district central authentication server.</div>')};function HMa(a){var b=a.complete,c=a.permission;a=Y;b='<div class="'+Z("jb-kb-lb")+'">'+(1==b?X(sBa()):"");if(BL(c,1)){c='<div style="padding-left: 3px;" class="'+Z("jb-kb-lb")+'"></div>';var d=Y('<div title="read-only" class="'+Z("jb-kb-lb")+" "+Z("lj")+" "+Z("oj")+'"></div>');c+=X(d)}else c="";return a(b+c+"</div>")}function b0(a){a=a.title;return Y('<div class="'+Z("De")+'"><span class="'+Z("dx")+'">'+X(a)+"</span></div>")}
3468function IMa(a){var b=a.title;a=a.Oy;return Y('<div class="'+Z("De")+'"><span><span class="'+Z("dx")+'">'+X(b)+'</span></span><span id="learn_more" style="padding-left: 10px;"><a href="'+Z(JL(a))+'">Learn More</a></span></div>')}function c0(a){var b=a.title,c=a.Xb;a=a.Ce;return Y('<div class="'+Z("De")+'"><span><a href="'+Z(JL(c))+'">&lt;&lt; '+(a?X(a):"back")+'</a></span><span style="padding-left: 10px;"><span class="'+Z("dx")+'">'+X(b)+"</span></span></div>")}
3469function d0(a){a=a||{};a=a.oN;return Y('<div id="pagination_widget" class="'+Z("gx")+(a?"":" "+Z("ge"))+'"></div>')}
3470function e0(a){a=a||{};var b=a.uH,c=Y;a='<div class="'+(a.blue?Z("De"):Z("oe"))+'"><div id="selection_button"></div><div id="bulk_share_button"></div><div id="actions_button"></div><div id="filter_status_button"></div><div id="filter_form_button"></div><div id="filter_programs_button"></div>'+(b?'<div id="filter_building_button"></div><div id="filter_grades_button"></div>':"");var d=Y('<div id="filter_date_selector"></div>');return c(a+d+(b?JMa():"")+d0(null)+"</div>")}
3471function f0(a){a=a.jr;return Y('<div class="'+Z("Zd")+'"><span class="'+Z("fc")+'">'+X(a)+"</span>"+d0({oN:!0})+"</div>")}function KMa(){return Y('<div style="padding-bottom: 10px;" class="'+Z("ne")+'"><span style="padding-right: 10px;"><a href="#pageName=instance_settings">&lt;&lt; settings</a></span><span style="padding-left: 10px;"><span class="'+Z("dx")+'">District Information</span></span></div>')}
3472function LMa(a){a=a.vh;return Y('<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><a class="'+Z("Su")+(BL(a,"details")?" "+Z("Su-Dh"):"")+'" href="#pageName=instance_form" data-text="Details">Details</a><a class="'+Z("Su")+(BL(a,"basics")?" "+Z("Su-Dh"):"")+'" href="#pageName=instance_update" data-text="Basics">Basics</a></div>')}
3473function g0(a){var b=a.Xb,c=a.cc;a=a.hc;return Y('<div style="padding-bottom: 10px;" class="'+Z("ne")+'"><span style="padding-right: 10px;"><a href="'+Z(JL(b))+'">&lt;&lt; users</a></span><span style="padding-left: 10px;" class="'+Z("dx")+'">'+X(c)+" "+X(a)+"</span></div>")}
3474function h0(a){var b=a.Ib;a=a.vh;return Y('<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><a class="'+Z("Su")+(BL(a,"documents")?" "+Z("Su-Dh"):"")+'" href="#pageName=user_docs_list&amp;userId='+Z(b)+'" data-text="Documents">Documents</a><a class="'+Z("Su")+(BL(a,"details")?" "+Z("Su-Dh"):"")+'" href="#pageName=user_form&amp;userId='+Z(b)+'" data-text="Details">Details</a><a class="'+Z("Su")+(BL(a,"basics")?" "+Z("Su-Dh"):"")+'" href="#pageName=user_update&amp;userId='+Z(b)+'" data-text="Basics">Basics</a></div>')}
3475function MMa(a){var b=a.cc,c=a.hc,d=a.og,e=a.tn;Ta(a.fd);var f=a.fd;a=a.bb;
3475b='<span class="'+Z("dx")+'">'+X(b)+" "+X(c)+'</span>      <span style="padding-left: 4px;">('+X(d)+")</span>"+X(IP({Ie:e}));c=f.length;for(d=0;d<c;d++)b+=X(JP({ce:f[d],bb:a,Tb:e.Tb}));return Y(b)}
3476function NMa(a,b,c){b=c||b;c=a.Xb;var d=a.cc,e=a.hc,f=a.og,g=a.vh,k=a.X1,l=a.tn;Ta(a.fd);var n=a.fd;a=a.bb;return Y('<div style="padding-bottom: 10px;" class="'+Z("ne")+'"><span style="padding-right: 10px;"><a href="'+Z(JL(c))+'">&lt;&lt; '+X(k)+'</a></span><span id="student_name_container" class="'+Z("Jn")+'">'+MMa({cc:d,hc:e,og:f,tn:l,fd:n,bb:a},b)+"</span>"+(BL(g,"documents")?'<div class="'+Z("jb-kb-lb")+" "+Z("Dk")+'" id="form_button"></div><div class="'+Z("jb-kb-lb")+'" id="save_button"></div>':
3477"")+"</div>")}function JMa(){return Y('<div id="filter_students_box"></div>')}
3478function OMa(a){var b=a.bb,c=a.vh,d=a.Ze,e=a.ut,f=a.pk,g=a.mO;a=a.El;return Y('<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><a class="'+Z("Su")+(BL(c,"documents")?" "+Z("Su-Dh"):"")+'" href="#pageName=object_docs_list&amp;objectId='+Z(b)+'" data-text="Documents">Documents</a>'+(f?'<a class="'+Z("Su")+(BL(c,"deadlines")?" "+Z("Su-Dh"):"")+'" href="#pageName=deadline_list&amp;objectId='+Z(b)+'" data-text="Deadline">Deadlines</a>':"")+(g?'<a class="'+Z("Su")+(BL(c,"programs")?" "+Z("Su-Dh"):"")+
3479'" href="#pageName=enrollment_timeline&amp;objectId='+Z(b)+'" data-text="Programs">Programs</a>':"")+(a&&(d||e)?'<a class="'+Z("Su")+(BL(c,"student_team")?" "+Z("Su-Dh"):"")+'" href="#pageName=student_team&amp;objectId='+Z(b)+'" data-text="Team">Team</a>':"")+(d||e?'<a class="'+Z("Su")+(BL(c,"details")?" "+Z("Su-Dh"):"")+'" href="#pageName=object_form&amp;objectId='+Z(b)+'" data-text="Details">Details</a>':"")+(d?'<a class="'+Z("Su")+(BL(c,"basics")?" "+Z("Su-Dh"):"")+'" href="#pageName=object_update&amp;objectId='+
3480Z(b)+'" data-text="Basics">Basics</a>':"")+"</div>")}function i0(a){a=a||{};var b=a.title,c=a.Xb,d=a.Ce;a=a.jr;return Y('<div class="'+Z("De")+'">'+(c?'<span class=""><a href="'+Z(JL(c))+'">&lt;&lt; '+(d?X(d):"back")+"</a></span>":"")+(b?'<span class="'+Z("dx")+'">'+X(b)+"</span>":"")+(a?f0({jr:a}):d0(null))+'</div><div id="search_bar"></div>')}
3481function j0(a){a=a||{};var b=a.Xb,c=a.Qs,d=a.Rs,e=a.Ce,f=a.zH,g=a.mn,k=a.Rf,l=a.GO,n=a.Vs;a=a.PD;return Y('<div class="'+Z("De")+'"><div id="selection_button"></div>'+(b?'<span class=""><a href="'+Z(JL(b))+'">&lt;&lt; '+(e?X(e):"back")+"</a></span>":"")+(g?'<span class="'+Z("dx")+'"><b> '+X(g)+" </b></span>":"")+(f?"<span>"+X(f)+'<input type=\'text\' id="listTitle" style="margin-left: 7px;"/></span>':"")+(k?'<div id="actions_button"><button type="submit" id="save_button" class="'+Z("jb-kb-lb")+" "+
3482Z("Dl")+" "+Z("El")+'">'+X(l)+"</button></div>":"")+(n?'<div id="actions_button"><button type="submit" id="cancel_button" class="'+Z("jb-kb-lb")+" "+Z("Dl")+" "+Z("Fl")+'">Cancel</button></div>':"")+'<div id="actions_button"></div><div id="actions_button2"></div><div id="actions_button3"></div><div id="user_roles_popup"></div><div id="filter_button"></div>'+(c?'<span class=""><a href="'+Z(JL(c))+'">+add '+X(d)+"</a></span>":"")+d0(null)+'</div><div id="search_bar"></div>'+(a?'<div id="helper_text" class="'+
3483Z("lx")+'">'+X(a)+"</div>":""))}
3484function PMa(a){var b=a.Yk;Ta(a.sh);var c=a.sh;var d=a.ll;a=a.Um;var e="";if(1<b){b=c.length;for(var f=0;f<b;f++){var g=c[f];e+='<a class="'+Z("Su")+(BL(d,g.er)?" "+Z("Su-Dh"):"")+'" href="#pageName='+Z(a)+"&amp;sectionNum="+Z(g.er)+'"'+(BL(g.name,"")?"":' title="'+Z(g.name)+'"')+' data-text="'+Z(g.abbr)+'">'+X(g.abbr)+"</a>"}}else e+=BL(d,"attachments")||BL(d,"share")?'<a class="'+Z("Su")+'" href="#pageName='+Z(a)+'" data-text="Form">Form</a>':'<a class="'+Z("Su")+" "+Z("Su-Dh")+'" href="#pageName='+
3485Z(a)+'" data-text="Form">Form</a>';return Y(e)}function k0(){return Y('<div id="form_tips" style="position: absolute; top: 10px; right: 1em"></div>')}
3486function QMa(a){var b=a.bb,c=a.dz,d=a.ez,e=a.Zk,f=a.jb,g=a.hx,k=a.Yk;Ta(a.sh);var l=a.sh;var n=a.ll,q=a.Tg,t=a.Ie;Ta(a.fd);var u=a.fd;var v=a.pj,y=a.$M;a=a.XN;c='<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><div class="'+Z("ex")+" "+Z("Qd")+'"><div><span class="'+Z("ix")+'">'+X(f)+"</span>"+(y&&y.Vk?"":'<span class="'+Z("tx")+'">'+(v?"":'<a href="#pageName=object_docs_list&objectId='+Z(b)+'">')+X(d)+", "+X(c)+(v?"":"</a>")+" ("+X(e)+")</span>");if(!v){if(!y||!y.Vk)for(c+=X(IP({Ie:t})),d=u.length,
3487e=0;e<d;e++)c+=X(JP({ce:u[e],bb:b,Tb:t.Tb}));c+='<div id="doc_error" class="'+Z("jb-kb-lb")+" "+Z("fc")+'"></div>'}b=c;k="</div>"+(v?"":y?y.title?f0({jr:"Meeting Mode: "+y.title}):f0({jr:"Meeting Mode"}):k0())+"</div>"+(a?"":PMa({Yk:k,ll:n,sh:l,Um:"form"+g}))+(v?"":'<span style="float:right;" id="share_button" class="'+Z("Su")+" "+Z("zm")+'">Share</span>');a?q="":(g='<a style="float:right;" class="'+Z("Su")+(BL(n,"attachments")?" "+Z("Su-Dh"):"")+'" href="#pageName=attachments'+Z(g)+'" data-text="Attach"><div class="'+
3488Z("jb-kb-lb")+'" style="white-space:nowrap;">Attach',q=Y((0!=q?"&nbsp;":"")+'<div id="attach_num_wrapper" class="'+Z("jb-kb-lb")+" "+(0!=q?Z("mj")+" "+Z("pj"):"")+'"><div id="attach_num"'+(0!=q?' class="'+Z("rj")+'"':"")+">"+(0!=q?X(q):"")+"</div></div>"),q=g+q+"</div></a>");return Y(b+(k+q+"</div>"))}
3489function RMa(a){var b=a.jb,c=a.hx,d=a.Yk;Ta(a.sh);var e=a.sh;var f=a.ll,g=a.Vg;a=a.Eh;return Y('<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><div class="'+Z("ex")+" "+Z("Qd")+'"><div><span class="'+Z("ix")+'">Bulk Edit: '+X(b)+" ("+X(a)+')</span><span class="'+Z("tx")+'"><a href="#pageName=all&collectionId='+Z(g)+'">View documents</a></span></div>'+k0()+"</div>"+PMa({Yk:d,ll:f,sh:e,Um:"batch_edit"+c})+"</div>")}
3490function SMa(a){var b=a.Xb,c=a.jb,d=a.Ac,e=a.Yk;Ta(a.sh);var f=a.sh;a=a.ll;b='<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><div class="'+Z("ex")+'"><div style="padding-right: 10px;" class="'+Z("jb-kb-lb")+'"><a href="'+Z(JL(b))+'">&lt;&lt; back</a></div><span class="'+Z("dx")+'">District Banks</span> / '+X(c)+k0()+"</div>";if(1<e)for(e=f.length,c=0;c<e;c++){var g=f[c];b+='<a class="'+Z("Su")+(BL(a,g.er)?" "+Z("Su-Dh"):"")+'" href="#pageName=instance_bank_update&amp;formId='+Z(d)+"&amp;sectionNum="+
3491Z(g.er)+'"'+(BL(g.name,"")?"":' title="'+Z(g.name)+'"')+' data-text="'+Z(g.abbr)+'">'+X(g.abbr)+"</a>"}return Y(b+"</div>")}
3492function TMa(a){var b=a.I_,c=a.jb,d=a.ZU,e=a.Jz,f=a.version,g=a.language;a=a.mode;return Y('<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><div class="'+Z("ex")+" "+Z("ox")+'"><span class="'+Z("dx")+'">'+(b?"Translate Form ("+X(c)+")":"Translate Document ("+X(c)+")")+'</span><div class="'+Z("Qd")+'"><a class="'+Z("Qd")+'" download="'+Z(d)+"_"+Z(g)+"_"+Z(f)+'.xlf" href="downloadxliff?docId='+IL(e)+"&translation_version="+IL(f)+"&language="+IL(g)+"&translation_mode="+IL(a)+'"><div id="export_button"></div></a><div id="import_button"></div><input id="file_input" name="xliff_file" type="file" accept=".xlf" class="'+
3493Z("U")+'"/><div id="complete_button"></div></div></div></div>')}
3494function UMa(a){var b=a.kk,c=a.permission,d=a.j$,e=a.bb,f=a.og,g
3494=a.dz,k=a.ez,l=a.wz,n=a.kx,q=a.vz,t=a.aB,u=a.Ie;Ta(a.fd);var v=a.fd;var y=a.pj;a=a.zy;d='<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><div class="'+Z("ex")+'"><span class="'+Z("ix")+'">'+X(d)+"</span>"+(y?"":'<a href="#pageName=object_docs_list&objectId='+Z(e)+'">')+X(k)+", "+X(g)+(y?"":"</a>")+" ("+X(f)+")";if(!y){d+=X(IP({Ie:u}));y=v.length;for(f=0;f<y;f++)d+=X(JP({ce:v[f],bb:e,Tb:u.Tb}));d+=HMa({complete:b,permission:c})}d+=
3495'<div class="'+Z("qx")+'">'+(n?'<div class="'+Z("jb-kb-lb")+" "+Z("rx")+'"><a href="'+Z(JL(l))+"&includeAttachments="+IL(a)+'&download">'+X(n)+"</a></div>":"")+(q?'<div class="'+Z("jb-kb-lb")+" "+Z("rx")+'" id="print_button"></div>':"")+(t?'<div class="'+Z("jb-kb-lb")+" "+Z("rx")+'"><a href="'+Z(JL(l))+"&includeAttachments="+IL(a)+'" rel="noopener noreferrer" target="_blank">'+X(t)+"</a></div>":"")+'<div id="exit_preview_button" class="'+Z("jb-kb-lb")+" "+Z("sx")+'"></div></div></div></div>';return Y(d)}
3496function VMa(a){var b=a.wz,c=a.DK,d=a.kx,e=a.vz,f=a.aB;a=a.zy;return Y('<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><div class="'+Z("ex")+'"><div class="'+Z("qx")+'">'+(c?'<div class="'+Z("jb-kb-lb")+" "+Z("rx")+'"><a href="'+Z(JL(b))+"&includeAttachments="+IL(a)+'&download&isZip=true">'+X(c)+"</a></div>":"")+(d?'<div class="'+Z("jb-kb-lb")+" "+Z("rx")+'"><a href="'+Z(JL(b))+"&includeAttachments="+IL(a)+'&download">'+X(d)+"</a></div>":"")+(e?'<div class="'+Z("jb-kb-lb")+" "+Z("rx")+'" id="print_button"></div>':
3497"")+(f?'<div class="'+Z("jb-kb-lb")+" "+Z("rx")+'"><a href="'+Z(JL(b))+"&includeAttachments="+IL(a)+'" rel="noopener noreferrer" target="_blank">'+X(f)+"</a></div>":"")+'<div id="exit_preview_button" class="'+Z("jb-kb-lb")+" "+Z("sx")+'"></div></div></div></div>')}
3498function WMa(a){var b=a.YD;a=a.tF;return Y('<div class="'+Z("me")+'"><form id="search_form" class="'+Z("fx")+'"><div><div id="search_field_1"></div><div id="search_field_2"></div></div><div id="search_field_3"></div><div><div id="search_field_building"></div><div id="search_field_role"></div></div><div>'+(a?'Program: <div id="search_field_4" style="display:inline-block;"></div>':"")+(b?'<div style="display:inline-block"><div id="inactive_cb"></div><span id="inactive_cb_info" class="'+Z("Gk")+" "+
3499Z("mx")+'"><i class="'+Z("E")+'">info</i><span class="'+Z("Nk")+'">An inactive student includes: <br><ul><li>Transferred</li><li>Withdrew</li><li>Dropped Out</li><li>Graduated</li><li>Historical/Other</li><li>Historical/Idle</li></ul></span></span></div>':"")+'<div id="deleted_cb"></div><div id="admin_cb"></div><div id="doc_viewer_only_cb"></div><div class="'+Z("Ld")+'"><button type="submit" id="search_button" class="'+Z("vl")+" "+Z("nl")+" "+Z("ql")+'">Search</button></div></div></form></div>')}
3500function XMa(a){var b=a.YD;a=a.tF;return Y('<div class="'+Z("me")+'"><form id="search_form" class="'+Z("fx")+'"><div><div id="search_field_1"></div><div id="search_field_2"></div></div>'+JMa()+'<div><div id="search_field_3"></div>'+(a?'<div><div id="search_field_4" style="display: inline-block;"></div></div>':"")+(b?'<div class="'+Z("Sd")+'"><div id="inactive_cb"></div><span id="inactive_cb_info" class="'+Z("Gk")+" "+Z("mx")+'"><i class="'+Z("E")+'">info</i><span class="'+Z("Nk")+'">An inactive student includes: <br><ul><li>Transferred</li><li>Withdrew</li><li>Dropped Out</li><li>Graduated</li><li>Historical/Other</li><li>Historical/Idle</li></ul></span></span></div>':
3501"")+'</div><div><div id="search_field_building"></div><div id="deleted_cb"></div></div><div><div id="search_field_grade"></div><div id="caseload_cb"></div></div><div class="'+Z("hx")+'"><div id="search_field_deadline"></div></div><div style="margin-left: 25px"><button type="submit" id="search_button" class="'+Z("vl")+" "+Z("nl")+" "+Z("ql")+'">Search</button></div></form></div>')}
3502function YMa(){return Y('<div class="'+Z("me")+'"><form id="search_form"><div class="'+Z("Rd")+'"><button type="submit" id="search_button" class="'+Z("vl")+" "+Z("nl")+" "+Z("ql")+'">Search</button><div id="deleted_cb" class="'+Z("jb-kb-lb")+'"></div></div></form></div>')}
3503function ZMa(a){a=a.I1;return Y('<div class="'+Z("De")+" "+Z("vx")+'"><span class="'+Z("mb")+'">Deadlines</span><div id="calendar_date_toolbar" style="display: flex;"><div id="calendar_today" role="button" class="'+Z("Hf")+'"><div class="'+Z("If")+'">Today</div></div><div id="calendar_left_arrow" class="'+Z("E")+" "+Z("Zf")+'" style="margin-left: 7px;">chevron_left</div><div id="calendar_right_arrow" class="'+Z("E")+" "+Z("Zf")+'">chevron_right</div><div id="calendar_date" class="'+Z("ag")+'"></div></div><div class="'+
3504Z("ux")+'"></div><div><span id="scope_toggle"></span><span id="scope_info"></span></div><div><span id="building_filter"></span></div><div><span id="grade_filter"></span></div><div id="calendar_list_date_select" style="display: flex;"></div><div id="filter"><div id="ddl_filter_button" class="'+Z("Jf")+'"><div id="filter_on"'+(a?' style="display: none;"':"")+'><div class="'+Z("Kf")+" "+Z("Lf")+'"></div><div class="'+Z("Kf")+" "+Z("Lf")+" "+Z("Mf")+'"></div><div class="'+Z("Kf")+" "+Z("Lf")+" "+Z("Nf")+
3505'"></div><div class="'+Z("Kf")+" "+Z("Lf")+" "+Z("Of")+'"></div><div class="'+Z("Kf")+" "+Z("Lf")+" "+Z("Pf")+'"></div><div class="'+Z("Kf")+" "+Z("Lf")+" "+Z("Qf")+'"></div><div class="'+Z("Kf")+" "+Z("Lf")+" "+Z("Rf")+'"></div></div></div><div id="filter_container" class="'+Z("Sf")+'" style="display: none;"></div></div><div id="calendar_display"></div>'+d0({oN:!0})+"</div>")}
3506function $Ma(a){var b=a.title,c=a.jb,d=a.Xb;a=a.Ce;return Y('<div class="'+Z("De")+'"><span><a href="'+Z(JL(d))+'">&lt;&lt; '+(a?X(a):"back")+'</a></span><span style="padding-left: 10px;"><span class="'+Z("dx")+'">'+X(b)+"</span> / "+X(c)+"</span></div>")}
3507function aNa(a){var b=a.title,c=a.Xb,d=a.rk,e=a.domain;a=a.gM;return Y('<div class="'+Z("De")+'"><div style="display: flex"><div style="padding-right: 10px;" id="back"><a href="'+Z(JL(c))+'">&lt;&lt; back</a></div><div class="'+Z("dx")+'">'+X(b)+' <a class="'+Z("ts")+'" href="'+Z(JL(a))+'" rel="noopener noreferrer" target="_blank" style="text-decoration: none !important">help_outline</a> - '+X(d)+" ("+X(e)+")</div></div></div>")}
3508function bNa(a){var b=a.title,c=a.Xb;a=a.Ce;return Y('<div class="'+Z("De")+'">'+(c?'<span class=""><a href="'+Z(JL(c))+'">&lt;&lt; '+(a?X(a):"back")+"</a></span>":"")+'<span style="padding-left: 10px;"><span class="'+Z("dx")+'">'+X(b)+'</span></span><div id="actions_button"></div><div class="'+Z("jb-kb-lb")+" "+Z("Dk")+'" id="filter_button"></div><div class="'+Z("jb-kb-lb")+'" id="save_button"></div>'+d0(null)+"</div>")}
3509function cNa(){return Y("<div>Translation submission successful! The translated values will now be available for viewing by the document author.</div>")}
3510function dNa(a){a=a||{};var b=a.Xb,c=a.Ce,d=a.zH,e=a.Rf,f=a.GO,g=a.Vs;a=a.PD;return Y('<div class="'+Z("ne")+" "+Z("Qd")+" "+Z("Ud")+'">'+(b?'<span><a href="'+Z(JL(b))+'">&lt;&lt; '+(c?X(c):"back")+"</a></span>":"")+(d?"<span>"+X(d)+'<input type=\'text\' id="listTitle" style="margin-left: 7px;"/></span>':"")+(e?'<div id="actions_button"><button type="submit" id="save_button" class="'+Z("jb-kb-lb")+" "+Z("Dl")+" "+Z("El")+'">'+X(f)+"</button></div>":"")+(g?'<div id="actions_button"><button type="submit" id="cancel_button" class="'+
3511Z("jb-kb-lb")+" "+Z("Dl")+" "+Z("Fl")+'">Cancel</button></div>':"")+"</div>"+(a?'<div id="helper_text" class="'+Z("ne")+'">'+X(a)+"</div>":""))}
3512function eNa(a){var b=a.rg,c=a.TI;a=a.vh;return Y('<div class="'+Z("pe")+" "+Z("pe-Bs")+" "+Z("lc")+'"><a class="'+Z("Su")+(BL(a,"forms")?" "+Z("Su-Dh"):"")+'" href="#pageName=user_role_update'+(BL(b,"")?"":"&amp;userRoleId="+Z(b))+'" data-text="Forms">Forms</a>'+(c?'<a class="'+Z("Su")+(BL(a,"reports")?" "+Z("Su-Dh"):"")+'" href="#pageName=user_role_reports'+(BL(b,"")?"":"&amp;userRoleId="+Z(b))+'" data-text="Reports">Reports</a>':'<span class="'+Z("Su")+'" title="User role must be saved first." data-text="Reports">Reports</span>')+
3513"</div>")}function fNa(){return Y("<strong>Assigned To Me</strong> will show all deadlines where you are the owner of the corresponding document. <strong>All</strong> will show all deadlines for any students whom you have an educational interest in. A user is considered to have an educational interest in a student if they have at least view access to at least one document for that student (whether explicitly or implicitly).")};function l0(){W_.call(this);this.Ia=this.h=null}x(l0,W_);l0.prototype.K=function(a,b){this.ub("Change Password");var c=ay(b0,{title:"Change Password"});a||3!=b?(a=ay(EMa,{userName:TJ||PJ,ZS:!0}),X_(this,[c],a),this.h=sX("* Current password:",void 0,!0),this.h.render(z("current_password_input")),this.Ia=new bX(void 0,void 0,!1,!0,!0,void 0),this.Ia.render(z("password_input")),Y_(this,[this.h,this.Ia])):(a=ay(FMa),X_(this,[c],a))};l0.prototype.$=function(){l0.D.$.call(this);C(this.Ia)};
3514l0.prototype.gc=function(){var a={};null!==this.Ia&&(a.YJ=this.h.getValue());null!==this.Ia&&(a.password=this.Ia.getValue());return a};l0.prototype.hd=function(a){null===this.h||this.h.setValue(void 0,a.MV);null===this.Ia||this.Ia.setValue(void 0,a.Lu)};function m0(a,b,c){f_.call(this,a,b,c);this.g=null}x(m0,$_);h=m0.prototype;h.Ib="";h.start=function(a){a=a.na("userId");w(a)?(this.Ib=a,a=!0):(h_(this),a=!1);a&&(this.ka("ga",this.aQ,this),a=++RQ,dV(this,a,"initial"),sQ(a,0),this.ka("la",this.bQ,this),a=++RQ,dV(this,a,"initial"),tQ(a,0,this.Ib))};
3514h.aQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.Fj=L(ME(a)[0],1003,0),this.Ya()):this.ka("ga",this.aQ,this)};
3515h.bQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.YA=fz(a.Mc()[0],10,!1),this.Ya()):this.ka("la",this.bQ,this)};h.K=function(){m0.D.K.call(this);this.view.K(this.Ib,this.YA,this.Fj);var a=z("email_send");if(a){var b=qN(FN,"ul");this.g=TP("Send Email",void 0,b,void 0,1);this.g.ue(a);this.g&&D(this.g,"action",this.aX,void 0,this)}};
3516h.aX=function(){this.g.W(!1);var a=++RQ;dV(this,a,"send_email");tQ(a,2,this.Ib,void 0,void 0,void 0,void 0,void 0,"SG_USER_EMAIL_RESET");this.ka("la",this.t5,this)};h.t5=function(a){a=a.Mc();a=1==a.length?a[0]:void 0;var b=z("email_confirm"),c=!1;a&&null!=I(a,28)?(b.innerText=N(a,U,28).getError(),b.style.color="red",b.style.display="inline-block",c=!0):(b.innerText="Sent!",b.style.display="inline-block");c&&this.g.W(!0)};function n0(){W_.call(this)}x(n0,W_);n0.prototype.K=function(a,b,c){this.ub("Send Password Reset");a=ay(c0,{title:"Send Password Reset",Xb:"#pageName=user_update&userId="+a});b=b||3!=c?ay(EMa,{ZS:!1}):ay(GMa);X_(this,[a],b)};n0.prototype.$=function(){n0.D.$.call(this)};function o0(a,b,c){hQ.call(this,a,b,c);this.h=RP();this.Ea(this.h,!0)}x(o0,hQ);o0.prototype.getValue=function(){return this.h.Cc()};o0.prototype.kg=function(){return!0};o0.prototype.setValue=function(a,b){if(w(a)&&null!==a){var c=!1;switch(typeof a){case "string":c="true"==a?!0:!1;break;case "boolean":c=a}this.h.nc(c)}w(b)&&null!==b?this.qb(b):this.qb("")};function p0(a,b,c){xx.call(this,a,c);this.uP=b}x(p0,xx);function gNa(a){a=a||{};a=a.ola;return Y('<div><div tag="page_button" class="'+Z("jb-kb-lb")+'"></div>'+(a?"":'<div tag="backward" class="'+Z("jb-kb-lb")+'"></div><div tag="forward" class="'+Z("jb-kb-lb")+'"></div>')+"</div>")};function q0(a,b){EH.call(this,b);this.Z=this.M=this.Ha=this.u=this.l=this.h=null;this.total=this.end=this.start=0;this.Ja=a;this.m=1;this.Y=0;this.cr=!1}x(q0,EH);h=q0.prototype;
3517h.Ra=function(){var a=by(gNa,{cr:this.cr});this.Ha=a.querySelector("*[tag=page_button]");if(!this.cr){var b=a.querySelector("*[tag=backward]"),c=a.querySelector("*[tag=forward]"),d=B("SPAN","E S","keyboard_arrow_left"),e=B("SPAN","E S","keyboard_arrow_right");this.h=TP(d,void 0,void 0,void 0,2);this.l=TP(e,void 0,void 0,void 0,2);this.Ea(this.h);this.Ea(this.l);this.h.render(b);this.l.render(c);this.u=QBa("",void 0,!0);this.Ea(this.u);this.M=WP("First");this.Z=WP("Last");this.u.Jb(this.M);this.u.Jb(this.Z);
3518this.u.render(this.Ha)}this.j=a;r0(this,this.m)};h.K=function(){q0.D.K.call(this);this.cr||(D(this.l,"action",this.C6,void 0,this),D(this.h,"action",this.AU,void 0,this),D(this.M,"action",this.d9,void 0,this),D(this.Z,"action",this.e9,void 0,this))};h.C6=function(){this.dispatchEvent(new p0("forward",this.m+1,this))&&s0(this,this.m+1)};h.AU=function(){this.dispatchEvent(new p0("backward",this.m-1,this))&&s0(this,this.m-1)};h.d9=function(){this.dispatchEvent(new p0("first",1,this))&&s0(this,1)};
3519h.e9=function(){this.dispatchEvent(new p0("last",this.Y,this))&&4294967295!=this.total&&s0(this,this.Y)};function s0(a,b){a.dispatchEvent(new p0("page_changed",b,a))&&r0(a,b)}
3520function r0(a,b){b>a.Y&&(b=a.Y);1>b&&(b=1);a.m=b;var c=(b-1)*a.Ja+1;b*=a.Ja;var d=a.total;0>=c&&(c=0<d?1:0);c>d&&(c=d);0>b&&(b=0);b>d&&(b=d);a.start=c;a.end=b;a.total=d;if(!a.o&&a.Ha){var e=d.toString();4294967295==d&&(e="many");var f=c.toString()+" - "+b.toString()+" of "+e;1==a.Ja&&(f=c.toString()+" of "+e);a.cr?a.Ha.textContent=f:(a.u.Fc(f),1==c||0==c?(a.h.W(!1),a.M.W(!1)):(a.h.W(!0),a.M.W(!0)),b==d?(a.l.W(!1),a.Z.W(!1)):(a.l.W(!0),a.Z.W(4294967295!=d)))}}
3521h.Ar=function(a){null!=a?(this.total=a,this.Y=Math.ceil(a/this.Ja)):this.Y=this.total=4294967295};h.W=function(a){this.u.W(a);a?r0(this,this.m):(this.h.W(!1),this.l.W(!1),this.M.W(!1),this.Z.W(!1))};h.pd=function(a){this.ib().title=a};var t0=!1,u0=!1;function v0(a){var b=new q0(1);b.Ar(a.total);r0(b,a.index);b.render(z("pagination_widget"));D(b,"page_changed",function(c){w0(c.uP,a)});return b}
3522function x0(a,b){var c=void 0;if(ZL(a,"meetingMode")){u0=!0;c={};var d=a.na("meetingIndex");w(d)&&(c.index=parseInt(d,10));d=a.na("collectionId");w(d)||(d=a.na("meetingId"));w(d)&&(c.id=d+"");c.Um=y0(c);var e=c;DQ(yX(),"Nc","initial",function(f){var g=c,k=new lB;EE(k,69);GE(k,0);FE(k,f);f=new YC;var l=new XC;w(g)&&(w(g.id)&&M(l,1,g.id),w(g.index)&&M(f,1001,g.index));T(f,1006,l);T(k,48,f);eN(dN.getInstance(),k,!1)},function(f){var g=N(f,YC,1002);e.total=L(g,1004,0);e.title=N(g,XC,1006).kb();e.Vk=fz(g,
35237,!1);w(b)&&b(f)})}return c}function hNa(a,b){b.index=a;a="meeting";yF(AF).includes(49)&&(a="no_permission");return"pageName="+a+y0(b)}function w0(a,b){a=hNa(a,b);MK(a)}function y0(a){if(!a)return"";var b="&meetingMode";a.index&&(b+="&meetingIndex="+a.index);return b+="&collectionId="+a.id}
3524function iNa(a,b){var c=a.call(b);a=xX("Users:",void 0,void 0,function(d){return d.dc()});a.required=!0;a.Ro(!1);b=new o0("Present limited: ");b.Ea(eAa(),!0);a=[rX("Meeting name: "),b,a];wX(a,"Share meeting mode","Send notifications & enter meeting mode","Cancel",function(d){return z0({rj:c.rj,search:c.search,title:d[0],Vk:d[1]},d[2])},"Users added to this meeting mode view will receive a notification that links to an identical meeting mode view. Helpful for group meetings where many documents are reviewed.")}
3525function z0(a,b){function c(f){return HCa(f,a)}var d=yX();if(w(a.search)){var e=a.search;c=function(f){return ICa(f,e,a)}}DQ(d,"Nc","meeting",c,function(f){return jNa(f,b)})}
3526function jNa(a,b){a=N(a,YC,1002);var c={Vk:fz(a,7,!1),id:L(N(a,XC,1006),1,""),total:L(a,1004,0)};null!=I(a,1001)&&(c.index=L(a,1001,0));var d=hNa(c.index,c);b&&0!=b.length?DQ(yX(),"Nc","meeting",function(e){var f=c.id,g=new lB;EE(g,69);GE(g,2);FE(g,e);e=new YC;var k=new XC;w(f)&&M(k,1,f);w(d)&&M(k,6,d);w(b)&&M(k,5,b||[]);T(e,1006,k);T(g,48,e);eN(dN.getInstance(),g,!1)},function(){return w0(c.index,c)}):w0(c.index,c)}
3527function A0(a,b,c){if(!cK&&!dK){var d=yM,e=zM;if(d&&e){if(3==d.Se()){var f=d.Gd(0),g=d.Gd(1),k=d.Gd(2);f.Fq("action")||D(f,"action",function(){var l=b.call(c);l.Vk=void 0;z0(l)});g.Fq("action")||D(g,"action",function(){var l=b.call(c);l.Vk=!0;z0(l)});k.Fq("action")||D(k,"action",function(){return iNa(b,c)})}e.Fq("action")||D(e,"action",function(){var l=$L(mH.g,["meetingMode","meetingIndex","collectionId"]);MK(l);l=zM;var n=ZL(mH.g,"meetingMode");l.nc(n)});d.Ga(!a);d.W(!a);e.Ga(a);e.W(a);e.nc(a)}else CK.g(Error("missing meeting mode buttons. menu: "+
3528d+", exit: "+e))}}
3528function B0(a){if(a||!u0){if(a&&!t0){nH.close();F_()||TM(NM);t_.getInstance().mz=!0;var b=t_.getInstance();if(b.h){b=m(b.h.values());for(var c=b.next();!c.done;c=b.next())r_(c.value)}}else!a&&t0&&(C0(),F_()&&TM(NM),t_.getInstance().mz=!1);u0=!1;t0=a}};function D0(a,b,c){f_.call(this,a,b,c);this.s=null;this.l=[];this.g=[]}x(D0,$_);h=D0.prototype;h.Vj="";h.Fv="";h.dQ="";h.Qd="";h.ae="";h.Go="";h.gQ="";h.Km=0;h.cQ=!1;h.NG=0;h.hO="";function kNa(a,b){var c=b.na("docId");if(!w(c))return h_(a),!1;w(c)&&(a.Vj=c);c=b.na("formId");if(!w(c))return h_(a),!1;a.Fv=c;a.h=x0(b,function(){return a.Ya()});return!0}
3529h.start=function(a){kNa(this,a)&&(this.ka("ha",this.fQ,this),a=++RQ,dV(this,a,"initial"),rQ(a,this.Fv,void 0,void 0,this.Vj),this.ka("na",this.eQ,this),a=++RQ,dV(this,a,"initial"),wQ(a,0,this.Vj))};h.fQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=OE(a)[0],this.dQ=xF(a),this.s=uF(a),this.l=I(a,13),this.Ya()):this.ka("ha",this.fQ,this)};
3530h.eQ=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){WJ?this.NG=3:this.NG=dEa(a)[6];var b=NE(a)[0];tF(b)&&(this.cQ=!0);this.g=S(b,CB,15);var c=null!=I(b,4)?lF(b):null;this.Qd=c.Fb();this.ae=c.Hb();this.Go=eF(c);this.gQ=c.Rd();this.L=gF(c)?fF(c):1;this.u=lR($E(c));this.hO=L(b,25,"");this.j=nR(a,[])[2];this.Ya()}else this.ka("na",this.eQ,this)};
3531h.K=function(){var a=this;D0.D.K.call(this);g_(this,"ya",this.pO,this);var b=++RQ;IQ(b,!0,!1,this.Vj,3,0,[""]);b=rL();this.Km=++RQ;dV(this,this.Km,"action");this.view.K(this.s,this.Vj,this.Fv,this.dQ,this.NG,this.cQ,this.gQ,this.Qd,this.ae,this.Go,this.L,this.u,this.hO,this.l,this.g,b,this.Km,this.h,this.j);b=this.view.Bc();null===b||D(b,"action",this.k7,void 0,this);this.h&&B0(!0);A0(!!this.h,function(){return{rj:[a.Vj]}})};h.$=function(){D0.D.$.call(this);YU();this.h&&B0(!1)};
3532h.l7=function(a){var b=a.target;a=rL();if(hH(b))this.view.o||(a=z("loaderOutput"),0!=Mw(a).length&&Fw(a));else{b=iH(b);var c=z("loaderOutput");Yx(c,lNa,{text:"Error: "+b});this.view.sd(this.Fv,this.Vj,a,this.l,this.g,this.Km)}};h.jc=function(){this.view.W(!1);var a=this.view.iD();if(null!==a){this.ka("ya",this.pO,this);var b=new FormData(a);eH(a.action,this.l7.bind(this),"POST",b,void 0,void 0,!0)}};
3533h.pO=function(a){this.Kd(a);var b=this.xb(a);b||(this.g=S(a,CB,15));this.view.Bc().W(!0);var c=rL();this.Km=++RQ;dV(this,this.Km,"action");this.view.sd(this.Fv,this.Vj,c,this.l,this.g,this.Km);b&&DMa(this,a)};
3534h.k7=function(a){if("Delete"==a.target.rb())if(0==this.view.wc().length)this.X.ba("Ma");else{this.view.Bc().W(!1);var b=this.Km;a=this.Vj;var c=this.view.wc(),d=new lB;FE(d,b);GE(d,3);EE(d,17);b=0;for(var e=c.length;b<e;b++){var f=new CB,g=c[b];M(f,4,a);M(f,1,g);mz(d,18,f,CB,void 0)}eN(dN.getInstance(),d)}};h.xb=function(a){return 1==S(a,CB,15).length&&S(a,CB,15)[0].pg()};h.Tf=function(){D0.D.Tf.call(this);if(this.Hm){var a=++RQ;IQ(a,!1,!1,this.Vj,3,0,[""])}};function E0(a,b,c){IN.call(this,a,b,c)}x(E0,IN);E0.prototype.uD=function(){this.isEnabled()&&(this.nh=!0);var a=this.Wc();a&&Uw(a)&&a.focus()};function F0(){return 3<=zF()&&yF(AF).includes(49)};function G0(a,b,c,d){hQ.call(this,b,c,d);this.h=a;this.Ea(this.h,!0);this.m=void 0}x(G0,hQ);h=G0.prototype;h.K=function(){G0.D.K.call(this);D(this.h,"change",this.Je,void 0,this)};h.$=function(){Mx(this.h,"change",this.Je,void 0,this);G0.D.$.call(this)};h.getValue=function(){return this.m?this.m(this.h):this.h.getValue()};h.kg=function(){return!this.required||null!==this.getValue()&&void 0!==this.getValue()&&""!=this.getValue()};h.Jm=function(){var a=this.h.ib(),b=UO(this.Nb);a.style.zIndex=b+1};function H0(a,b,c){this.m=""==b?[]:b.split("~");this.Y=b;this.u=mNa(this,a);this.Za=a.length;EO.call(this,"Forms",this.u,c)}x(H0,EO);function mNa(a,b){var c=$P();0==b.length&&c.W(!1);var d=0==a.m.length,e="";b.forEach(function(f){if(f.group!=e){e=f.group;var g=VP();c.Ea(g,!0);g=g.w();g.className="mq";g.innerText=f.group}g=bQ(f.name,f);c.Ea(g,!0);d?(yO(g,zO),Pb(a.m,f.id)):Nb(a.m,f.id)&&yO(g,zO)});a.Y=a.m.join("~");nw().e2e&&c.w().setAttribute("data-e2e","search_filter_forms");return c}h=H0.prototype;
3535h.Ra=function(){var a=this.g;H0.D.Ra.call(this);if(0!=this.Za){this.h=B("DIV",{"class":"E sgFilterSearchIcon cl",id:"search"},"search");a.yM(this.h,this.u.h||null);this.mb=B("SPAN",{"class":"gl"},"Select all");this.Z=B("SPAN",{"class":"fl"},"Clear");var b=B("DIV",{"class":"el"},[this.mb,"-",this.Z]);a.By(b,this.u.ib());b=B("DIV",{"class":"pr"});this.Wa=B("BUTTON",{"class":"ul nl ol",style:"margin-left: 10px;"},"OK");this.Ja=B("BUTTON",{"class":"ul nl ol"},"Cancel");var c=B("DIV","hl",[this.Ja,this.Wa]);
3536b=B("DIV",{"class":"il"},[b,c]);a.appendChild(this.u.w(),b)}};h.K=function(){H0.D.K.call(this);0!=this.Za&&(D(this.Z,"click",this.w6,void 0,this),D(this.mb,"click",this.v6,void 0,this),D(this.u,"check",this.yS,void 0,this),D(this.u,"uncheck",this.yS,void 0,this),D(this.h,"click",this.LO,void 0,this),D(this.Wa,"click",this.LO,void 0,this),D(this.Ja,"click",this.lP,void 0,this))};h.w6=function(){this.m=[];KH(this.u,function(a){a.Pc()&&yO(a,BO)})};
3537h.v6=function(){var a=this;KH(this.u,function(b){b.getState()==BO&&(Pb(a.m,b.Tc().id),yO(b,zO))})};h.LO=function(){var a=this.m.join("~");this.Y!=a&&(this.Y=a,this.dispatchEvent("searchForms"));this.lP()};h.lP=function(){this.Gc(!1)};h.yS=function(a){var b=a.target.Tc().id;a.target.Pc()?Qb(this.m,b):Pb(this.m,b)};function nNa(a){return a.m.length==a.Za?"All Forms":a.Y}h.ib=function(){return this.u.w()};function I0(a,b,c,d){var e=qN(lP,"Su");mP.call(this,a,c||e,d);this.target=b;J0(this,!1)}x(I0,mP);I0.prototype.K=function(){var a=this;I0.D.K.call(this);D(this,"select",function(){J0(a,!0)});D(this,"unselect",function(){J0(a,!1)})};I0.prototype.$=function(){var a=this;I0.D.$.call(this);Mx(this,"select",function(){J0(a,!0)});Mx(this,"unselect",function(){J0(a,!1)})};function J0(a,b){a.target&&a.target.Ga(b)};function oNa(a){var b=a.Gj;a=a.Ff;return Y('<span class="'+Z("gt")+'">'+(a?" ("+X(a)+")":"")+(b?" <strong>(new!)</strong>":"")+"</span>")}function pNa(a){var b=a.Ff;a=a.Sl;return Y('<div class="'+Z("kt")+'">'+(b?'<span data-tag="reshare"></span>':"")+'<div data-tag="perm_select" class="'+Z("Qd")+" "+Z("Ud")+" "+Z("jt")+'"></div>'+(a?'<div data-tag="ack_select" class="'+Z("Qd")+" "+Z("Ud")+" "+Z("jt")+'"></div>':"")+"</div>")};function K0(a,b,c,d,e,f,g,k,l,n,q,t,u){EH.call(this,k);this.QG=a;this.Qd=b;this.ae=c;this.Nq=d;w(e)&&(this.AA=e);w(f)&&(this.Zy=f);g&&(this.$g=g);w(l)&&(this.eH=l);w(n)&&(this.hE=n);this.u=this.h=null;this.Z=q?!0:!1;q&&(this.u=new mU("Student Team Member","group"),this.Ea(this.u));this.bo=1;this.bo=void 0===t?1:t;this.xw=void 0===u?!0:u}x(K0,EH);h=K0.prototype;h.QG="";h.Qd="";h.ae="";h.AA=!1;h.Zy=!1;h.Gv=null;h.Nq=1;h.$g="";h.eH=!0;h.hE=!0;h.Qg=null;
3538h.Ra=function(){var a=this.ae+", "+this.Qd,b=by(oNa,{Ff:this.$g,Gj:this.Zy});if(!this.hE&&this.$g){var c=new mU("Guardian has access to a prior version. Document was marked incomplete or amended since it was last shared with this guardian.");this.Ea(c,!1)}a=this.g.O("SPAN","gt",a);var d=this.g.O("SPAN");this.u&&this.u.render(d);b=this.g.O("TD","ht",a,d,b);c&&c.render(b);!this.hE&&this.$g&&(b.style.color="#808080");yF(AF).includes(49)?(c=by(pNa,{Ff:this.$g,Sl:F0()}),this.l=c.querySelector("[data-tag=reshare]"),
3539this.Gv=c.querySelector("[data-tag=perm_select]"),F0()&&""==this.$g&&(this.m=c.querySelector("[data-tag=ack_select")),c=this.g.O("TD","right_side",c),c=[b,c]):(this.l=this.g.O("TD","re_share"),this.l.id=this.QG,this.M=this.g.O("TD"),this.Gv=this.g.O("TD","it"),c=[b,this.l,this.M,this.Gv]);var e;c=(e=this.g).O.apply(e,["TR",void 0].concat(ka(c)));e=this.g.O("TABLE","ft",c);this.j=this.g.O("DIV","dt",e)};
3540h.K=function(){K0.D.K.call(this);if(this.AA)this.Gv.innerHTML=rR(this.Nq,"guardian"==this.$g),this.m&&(this.m.innerText=sR(this.bo?this.bo:1));else{qNa(this);this.h.render(this.Gv);yF(AF).includes(49)?this.l&&(this.Pj=new kU("Re-share",!0)):this.$g&&this.eH&&(this.Pj=RP(),this.M.innerText="Re-share");this.Pj&&this.eH&&this.Pj.render(this.l);F0()&&""==this.$g&&(this.Qg=ZP(sR(3)),this.Qg.Jb(WP(sR(2),2)),this.Qg.Jb(WP(sR(1),1)),this.Qg.render(this.m),this.Qg.setValue(this.bo?this.bo:1),rNa(this));var a=
3541this.Nq;this.AA||4==a||this.h.setValue(a)}};h.$=function(){K0.D.$.call(this);C(this.h);C(this.Pj);C(this.Qg)};h.Pk=function(){return this.Zy||this.Pj&&this.Pj.Pc()||F0()&&""==this.$g&&(this.Qg&&this.xw?this.Qg.getValue():3)!=this.bo?!0:this.AA||null==this.Td()||this.Td()==this.Nq?!1:!0};
3542function qNa(a){a.h=ZP("Varies");""==a.$g&&a.h.Jb(WP("Is Owner",3));a.h.Jb(WP(""==a.$g?"Can Edit":"Can View & Sign",2));
3542a.h.Jb(WP("Can View",1));var b="Remove";a.Z&&0==a.Nq&&(b="No Access");a.h.Jb(WP(b,0));a.h.J("change",function(){return rNa(a)})}h.Td=function(){return this.h.getValue()};h.dc=function(){return this.QG};h.Fb=function(){return this.Qd};h.Hb=function(){return this.ae};h.Yf=function(){return this.$g};
3543function L0(a){if(a.h){a=m([a.h,a.Qg]);for(var b=a.next();!b.done;b=a.next()){var c=b.value;c&&(b=c.Sb().w(),c=UO(c.w()),b.style.zIndex=c+1)}}}function rNa(a){if(a.Qg){var b="";a.xw?0===a.Td()&&(b="Collaborator must have access to require acknowledgement"):b="Student team members must acknowledge this document";a.m.title=b;a.Qg.W(a.xw&&0!==a.Td())}};function sNa(a){var b=a.YY;Ta(a.SL);var c=a.SL;var d=a.Sp,e=a.Tl,f=a.Eh,g=a.c_,k=a.M8,l=a.XN,n=a.XY,q=a.aU,t=a.bU,u=a.VB,v=a.QU;a=Y;g='<div class="'+Z("Md")+'">'+(l?'<div class="'+Z("Ld")+'">You no longer have permission to view '+(1<f?"at least one of these documents":"this document")+".  This is usually because your user roles have changed or the student has changed buildings.<br>You may still reassign the owner of the document to the correct person.</div>":"")+'<div class="'+Z("Qd")+" "+Z("he")+
3544'"><div class="'+Z("rt")+" "+Z("ge")+'">'+(d?'<div class="'+Z("lt")+'">Collaborative Team</div>':'<div class="'+Z("Ld")+'">Read only because you are not an owner on'+(1<f?" at least one selected document":" this document")+".</div>")+'<br><div id="user_perms" class="'+Z("ee")+'"><div class="'+Z("mt")+'">'+(t?'<span class="'+Z("ge")+'"><strong class="'+Z("nt")+'">Collaborator</strong></span><span class="'+Z("kt")+'"><span id="perm_header" class="'+Z("jt")+'"><strong class="'+Z("nt")+'">Access</strong></span>'+
3545(q?'<span class="'+Z("jt")+'"><span id="ack_header"><strong class="'+Z("nt")+'">Acknowledgement</strong></span><span id="ack_hint"></span></span>':"")+"</span>":"")+"</div></div>"+(g?'<table class="'+Z("wt")+'"><tr><td>*</td><td>User is owner on at least one document.<br></td><tr>'+(k?'<tr><td class="'+Z("H")+'">group</td><td>User is a member of the student team for at least one document.</td></tr>':"")+"</table>":"")+(v?'<div class="'+Z("ob")+'">Search a user to add or remove from all selected documents and then choose the desired permission level.</div>':
3546"")+"</div>";d?(d='<div class="'+Z("ge")+'"><div id="share_tabs"></div><div id="share_collab_tab">',k=Y('<div class="'+Z("st")+'"><div id="search_email"></div></div>'),d=d+k+"</div>",n?(Ta(c),b='<div id="share_guardian_tab">'+Y('<div class="'+Z("st")+" "+Z("Md")+" "+Z("bv")+'"><div>Email guardian access to view and sign '+(1<f?"these documents":"this document")+'. <a class="'+Z("H")+'" target="_blank" rel="noopener noreferrer" href="/iep/g/support/online-guides/user-guide/share-documents-guardians">help_outline</a></div>'+
3547(e?(0<c.length?'<div class="'+Z("gc")+'">'+(1<c.length?X(c.length)+" documents have":(1<f?"A":"The")+" document has")+" reached the maximum number of guardians ("+X(b)+"). Additional guardians will not be added unless one is removed.</div>":"")+'<div id="guardian_fields" class="'+Z("Kd")+'"><div id="guardian_select"></div><div id="guardian_free_entry" class="'+Z("Kd")+'"><div id="guardian_first"></div><div id="guardian_last"></div><div id="guardian_email"></div></div><div id="guardian_perm"></div><div id="guardian_note"></div></div><div>This feature <a href=\'/iep/g/support/online-guides/user-guide/share-documents-guardians#remote-electronic-signatures-for-parents-guardians-only\' target=\'_blank\' rel=\'noopener noreferrer\'>may only be used to share with guardians</a>. By clicking Send, I certify the person above is the parent/guardian of this student and acknowledge access provided becomes part of the document record.</div>'+
3548(u?'<div id="view_only_warning"><strong>WARNING!</strong> '+(1<f?"At least one of these documents":"This document")+" is marked complete. Guardian will only be able to view (not sign).</div>":"")+'<div id="add_guardian_button"></div>':"")+"</div>")+"</div>"):b="",b=d+b+"</div>"):b="";return a(g+b+'</div><div class="'+Z("ee")+'"><div class="'+Z("gc")+" "+Z("Id")+'" id="msg_error"></div></div></div>')}
3549function tNa(a){a=a.dn;return Y('<div class="'+Z("Kd")+'"><div>Choosing "Require" for a user will send them a notification to acknowledge their receipt of the current version if it is complete and any future complete versions of the document.  Selecting "Don\'t Require" will <em>not</em> remove existing notifications but it will prevent notifications from being sent in the future.</div><div>Student team members will automatically be sent acknowledgement notifications if the form type is set to require acknowledgement. '+(a?
3550'This can be changed in <a href="#pageName=instance_forms_list">Form Settings</a>.':'<a target="blank" href="/iep/g/support/online-guides/user-guide/student-team">Learn more</a>')+"</div></div>")}
3551function uNa(){return Y('<div><div style="padding-bottom: 9px">Email a non-district staff member access to view and sign this document</div><div class="'+Z("Qt")+'"><div class="'+Z("Rt")+'">* First name:</div><input id="non_dist_first" class="'+Z("St")+'"><div id="non_dist_first_error" class="'+Z("cu")+" "+Z("Tt")+'"></div><div class="'+Z("Ut")+'">* Last name:</div><input id="non_dist_last" class="'+Z("Vt")+'"><div id="non_dist_last_error" class="'+Z("cu")+" "+Z("Wt")+'"></div><div class="'+Z("Xt")+
3552'">* Email:</div><input id="non_dist_email" class="'+Z("Yt")+'"><div id="non_dist_email_error" class="'+Z("cu")+" "+Z("Zt")+'"></div><div class="'+Z("au")+'">* Permission:</div><select id="non_dist_permission" class="'+Z("bu")+'"></select></div><div style="padding-top: 20px">Include note (optional):</div><textarea id="non_dist_note" class="'+Z("Nt")+'" style="width: 100%"></textarea><div id="non_dist_note_error" class="'+Z("cu")+'"></div><div style="padding-top: 20px">This feature is intended for sharing with individuals who need to review or sign the document in connection with the student\'s care, who are not an employee of the school district. By clicking send, I certify that the recipient is authorized to receive this document for such purposes and acknowledge that access provided becomes part of the document record.</div></div>')}
3553function vNa(){return Y('<div class="'+Z("Lb")+'"><div style="max-width: 60em; padding-bottom: 1em">All districts in your state are listed below, regardless of whether they can currently receive documents. Administrators are able to transfer documents to the selected district only if the district uses SameGoal and has not disabled district-to-district transfer. If you need contact information for a transfer coordinator at the receiving district and it is not included in the search below, you will need to contact the district directly. <a class="'+
3554Z("H")+'" target="_blank" rel="noopener noreferrer" href="/iep/g/support/online-guides/administrative-guide/district-to-district-transfer">help_outline</a></div><div style="display: flex"><div style="width: 300px; padding-right: 10px; text-align: right">Receiving district:</div><div style="display: flex; flex-direction: column"><div id="wrapper" style="width: 30em; border: 1px solid #b5b6b5; padding: 3px"><input class="'+Z("Zn")+" "+Z("x")+'" id="search" placeholder="District Name"><div class="'+
3555Z("lo")+'" id="results">Type to search</div></div><div id="dest_domain" style="overflow: hidden; max-height: 0"><span></span> <span class="'+Z("Am")+'" id="clear_district">clear</span><div></div></div></div></div><div id="dest_object_name"></div><div id="dest_user_name"></div><div class="'+Z("gc")+" "+Z("ut")+'" style="max-width: 60em; padding: 0 5em" id="msg_error"></div><br><div id="save_button"></div></div>')}
3556function wNa(a){Ta(a.xK);var b=a.xK;a=a.q8;
3556for(var c='<div class="'+Z("ee")+'">',d=b.length,e=0;e<d;e++){var f=b[e];c+="<div>"+(a?'<div><a href="'+Z(JL(f.tk.zo))+'">'+X(f.tk.oh)+"</a> <strong>"+X(f.tk.jb)+"</strong></div>":"")+"<ul>";f=f.Me;for(var g=f.length,k=0;k<g;k++){var l=f[k];c+="<li>"+X(l.cc)+" "+X(l.hc)+" ("+X(l.userName)+")</li>"}c+="</ul></div>"}return Y(c+"</div>")};var M0=null;function N0(a){var b=oR(a);a=kEa(a);if(0<b.Hh+a.Hh){var c={};Object.assign(c,b.cm,a.cm);return ay(dLa,{Bn:c,V_:"document"})}return null}function O0(a,b,c,d){this.forms=c;this.m=d;this.L=this.h=0;this.g=b;this.ie=a;this.T=[];this.Me=[];this.l=null;this.o=0;this.Xv=!1;this.j=!0;this.search=null}function P0(a){Rx.call(this);this.data=a;this.va=this.l=this.M=this.u=this.ea=this.L=this.T=this.s=this.Ia=this.g=this.m=this.j=this.h=null;this.Z=!1}x(P0,Rx);
3557function Q0(a,b){this.data=a;this.g=void 0;this.h=null;this.o=b?!0:!1}function xNa(a){this.data=a;this.data.Xv=!0;this.h=new Map;this.g=[]}function R0(a,b){a.search=b;a.ie=["1"];a.g=new Map;a.g.set("1",{qj:new Map,yK:3,zK:3})}O0.prototype.Sp=function(){return 3==this.m||3==this.h};O0.prototype.Tl=function(){return 3==this.m&&!this.search};function yNa(a,b){for(var c=[],d=m(a.ie),e=d.next();!e.done;e=d.next())(e=a.g.get(e.value))&&b(e)&&c.push(e);return c}
3558O0.prototype.VB=function(){return 0<yNa(this,function(a){return a.complete}).length};
3559function nJa(a,b){var c=[],d={},e={};b=m(b);for(var f=b.next();!f.done;e={iw:e.iw},f=b.next())e.iw=f.value,(f=a.data.Me.find(function(g){return function(k){return k.Ib==g.iw.dc()}}(e)))?d[f.Ib]=!0:c.push(e.iw);for(e=0;e<a.data.Me.length;e++)d[a.data.Me[e].Ib]||(a.data.Me.splice(e,1),QH(a.j,e,!0),e--);d=[];c=m(c);for(e=c.next();!e.done;e=c.next())e=e.value,d.push({Ib:e.dc(),cc:e.Fb(),hc:e.Hb(),qh:2,oz:!1,Gj:!0,Ff:"",ZA:e}),e=new K0(e.dc(),e.Fb(),e.Hb(),2,!1,!0,"",void 0,!0),a.j.jj(e,0,!0),L0(e);a.data.Me.unshift.apply(a.data.Me,
3560ka(d))}function zNa(a,b){KH(a.j,function(c){c.dc()==b.dc()&&c.w().scrollIntoView()})}O0.prototype.s=function(a,b){return(a.hc+a.cc).localeCompare(b.hc+b.cc)};function ANa(a,b){return""==b.Ff?!a.Sp():!a.Tl()||!a.j}function BNa(a){var b=S0(a);a.Me=[];for(var c=m(b.keys()),d=c.next();!d.done;d=c.next())d=b.get(d.value),a.Me.push(d);a.Me&&a.Me.sort(a.s)}
3561function CNa(a,b,c){var d=S0(a),e=b.dc();b=d.get(e);d=a.Me.findIndex(function(f){return f.Ib==e});if(0>d){for(d=a.Me.length-1;0<=d&&!(0>=a.s(a.Me[d],b));d--);d+=1;a.Me.splice(d,0,b)}else QH(c,d,!0);a=ANa(a,b);a=new K0(b.Ib,b.cc,b.hc,b.qh,a,b.Gj,b.Ff,void 0,!0,void 0,b.El,b.li,b.QI);c.jj(a,d,!0);L0(a)}function DNa(a){a=m(a.Me);for(var b=a.next();!b.done;b=a.next())if(b.value.El)return!0;return!1}
3562function S0(a){for(var b=new Map,c=m(a.ie),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=a.g.get(d).qj,f=0,g=m(e.keys()),k=g.next();!k.done;k=g.next()){var l=k.value,n=e.get(l);k=3==n.Td();var q=n.mu()?n.Gf():null,t=q.Fb(),u=q.Hb(),v=n.Yf();"guardian"==v&&f++;var y=null!=I(n,5)?fz(n,5,!1):!0;n=fz(n,1002,!1);b.has(l)?(l=b.get(l),k&&(l.oz=!0),n&&(l.El=!0),y||(l.gE=!1)):b.set(l,{Ib:l,cc:t,hc:u,qh:0,oz:k,Gj:!1,Ff:v,gE:y,ZA:q,El:n})}4<=f&&a.T.push(d)}c=m(b.keys());for(d=c.next();!d.done;d=c.next()){d=
3563d.value;e=a;g=f=b.get(d);k=e;y=void 0;l=m(k.ie);for(q=l.next();!q.done;q=l.next())if(q=k.g.get(q.value).qj,t=0,q.has(d)&&(t=q.get(d).Td()),void 0===y)y=t;else if(t!=y){y=4;break}void 0===y&&(y=0);g.qh=y;f.oz&&1<e.ie.length&&(f.cc+=" *");e=a;f=b.get(d);g=void 0;k=m(e.ie);for(y=k.next();!y.done;y=k.next())if(y=e.g.get(y.value).qj,y.has(d)?(y=y.get(d),y=y.oy()?y.On():1):y=1,void 0===g)g=y;else if(g!=y){g=3;break}f.li=g;e=a;f=b.get(d);g=void 0;k=m(e.ie);for(y=k.next();!y.done;y=k.next())y=e.g.get(y.value).qj,
3564y=y.has(d)?!fz(y.get(d),1003,!1):!0,g=g||y;void 0!==g&&(f.QI=g)}a.l&&(c=a.l,d=c.dc(),e=b.get(d),e||(e=c.Fb(),f=c.Hb(),g=fz(c,32,!1)?"guardian":"",e={Ib:d,cc:e,hc:f,qh:a.o,oz:!1,Gj:!0,Ff:g,ZA:c},b.set(d,e)),e.qh=a.o,e.Gj=!0);return b}function T0(a,b){var c=m(nR(b,a.forms));c.next();c.next();c=c.next().value;if(NE(b)){b=m(NE(b));for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.pg(),f=0,g=S(d,tB,5);f<g.length;f++)null!=I(g[f],3)&&(e=!0);e||a.g.set(rF(d),c.get(rF(d)))}}}
3565function ENa(a,b){var c=new Map,d={},e=F0();KH(b,function(f){if(f.Pk()){var g=f.Td();
3565(e||f.Pj&&f.Pj.Pc())&&null===g&&(g=4);if(null!==g){var k=new rB,l=f.dc(),n=f.Yf();M(k,1,l);var q=new tB;T(q,1,k);M(q,6,g);e&&(g=f.Qg&&f.xw?f.Qg.getValue():3,3!=g&&M(q,7,g));d[l]=f.Pj?f.Pj.Pc():!1;n&&M(q,4,n);c.set(l,q)}}});return 0==c.size?c:FNa(a,c,d)}
3566function FNa(a,b,c){for(var d=new Map,e=m(a.ie),f=e.next();!f.done;f=e.next()){f=f.value;for(var g=a.g.get(f).qj,k=[],l=m(b.keys()),n=l.next();!n.done;n=l.next()){n=n.value;var q=b.get(n),t=q.Td(),u=q.On();if(g.has(n)){var v=g.get(n),y=v.Td(),G=v.On();if(4!=t||0!=y)4==t&&(q=q.clone(),M(q,6,y)),t=!q.oy(),t||3!=u||(q=q.clone(),v.oy()?M(q,7,G):M(q,7,void 0)),v=q.On()!=v.On(),(c[n]||y!=q.Td()||v&&!t)&&k.push(q)}else 4==t&&2!=u||k.push(q)}0==k.length||d.set(f,k)}return d}
3567function U0(a,b,c,d,e){function f(l){var n=a.Xv,q=new lB;FE(q,l);cCa(q,b,n);eN(dN.getInstance(),q)}var g=yX();if(a.search){var k=a.search;V0(g,{tag:"bulk_share",Jd:"na",aK:function(l){return c.call(d,l)},aq:f,bq:function(l,n){var q=a.Xv,t=e?e:n;n=new lB;FE(n,l);pQ(n,k,t,!0);l=OD(n);M(l,1,12);cCa(n,b,q);eN(dN.getInstance(),n)}})}else DQ(g,"na","share",f,c,d);return b}function GNa(a,b){KH(a.j,function(c){if(c.dc()==b.Ib){c.Nq=b.qh;var d=b.li;c.bo=void 0===d?1:d;c.Zy=b.Gj}})}h=P0.prototype;
3568h.qb=function(a){"string"==typeof a?this.Ld.textContent=a:this.Ld.appendChild(a);this.Ld.scrollIntoView()};
3569h.i7=function(a){var b=NE(a);b=HNa(b);T0(this.data,a);if(this.Ld){var c=S0(this.data);c=m(c.values());for(var d=c.next();!d.done;d=c.next())GNa(this,d.value);W0(this);this.Ld.innerHTML="";(c=N0(a))?this.h.isVisible()?(Ywa(this.h.Yb,!0),this.qb(c)):yZ(c):(this.h.Ga(!1),c=new xx("submit"),c.v5=a,this.dispatchEvent(c),c.L||(xZ("Collaborators updated."),b&&(this.Z?(a=new YL("pageName=recent"),dM(mH,a,!0)):cM())))}};function HNa(a){return a.some(function(b){return 0==L(b,23,0)})}
3570function X0(){var a=2<=zF();return fz(AF,14,!1)&&a}function Y0(a,b){INa(a);var c=new P0(a);c.Z=b;M0&&M0.h.Ga(!1);S0(a);X0()&&JNa(c);F0()&&KNa(c);Z0(c);return c}function $0(a){return a.data.Me.map(function(b){return{label:"",Oa:b.ZA}})}function LNa(a){var b=a.data,c=a.j;c.Fg(!0);for(var d=m(b.Me),e=d.next();!e.done;e=d.next()){e=e.value;var f=ANa(b,e);e=new K0(e.Ib,e.cc,e.hc,e.qh,f,e.Gj,e.Ff,void 0,!0,e.gE,e.El,e.li,e.QI);c.Ea(e,!0);L0(e)}a.m&&a.m.yr($0(a))}
3571h.hU=function(){var a=this,b=this.data.ie,c=yX(),d=this.ea.getValue();this.s.qb("");this.T.qb("");this.L.qb("");var e=this.g.getValue();if(null==e)this.g.qb("Please select a guardian.");else{if(e.bD){e={};var f=!1;e.first=this.s.getValue();""==e.first&&(this.s.qb("Required"),f=!0);e.Au=this.T.getValue();""==e.Au&&(this.T.qb("Required"),f=!0);e.cd=this.L.getValue();""==e.cd&&(this.L.qb("Required"),f=!0);if(f||!confirm(e.cd+" was entered manually. Please confirm this email is correct.\n\nDo you still wish to send?"))return}var g=
3572e.first,k=e.Au,l=e.cd;DQ(c,"Jc","guardian_share",function(n){return CCa(n,b,!0,g,k,l,d,a.u.getValue())},this.ZY,this)}};
3573h.ZY=function(a){T0(this.data,a);var b=N0(a),c=!!b;this.Ld&&(this.Ld.innerHTML="",b&&(this.qb(b),c=!0));a=a.Mc();a=1==a.length?a[0]:void 0;b=(b=this.g.getValue())?!!b.bD:!1;var d="";a&&null!=I(a,14)?(c=N(a,U,14).getError(),this.s.qb(c),d="First name: "+c,c=!0):this.s.qb("");a&&null!=I(a,15)?(c=N(a,U,15).getError(),this.T.qb(c),d="Last name: "+c,c=!0):this.T.qb("");a&&null!=I(a,17)?(c=N(a,U,17).getError(),this.L.qb(c),d=c,c=!0):this.L.qb("");a&&null!=I(a,35)?(this.u.qb(N(a,U,35).getError()),c=!0):
3574this.u.qb("");b||this.g.qb(d);c||(this.s.setValue(""),this.T.setValue(""),this.L.setValue(""),this.g.setValue(""),this.u.setValue(""),this.ea.setValue(2),a&&(a&&this.j&&CNa(this.data,a,this.j),this.m&&this.m.yr($0(this)),W0(this)),xZ("Parent/Guardian has been added to the collaborative team.",{yX:!0}))};
3575function JNa(a){a.data.search||DQ(yX(),"Kc","collabdialog",function(b){var c=a.data.ie,d=new lB;EE(d,72);FE(d,b);b=[];c=m(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=new AB;M(f,1,e);b.push(f)}lz(d,10,b);eN(dN.getInstance(),d)},a.WY,a)}function KNa(a){a.data.search||DQ(yX(),"na","collabdialog",function(b){var c=a.data.ie,d=new lB;FE(d,b);EE(d,10);GE(d,0);b=m(c);for(c=b.next();!c.done;c=b.next()){c=c.value;var e=new AB;M(e,1,c);KE(d,e)}eN(dN.getInstance(),d)},a.yW,a)}
3576function Z0(a){j_(yX(),"collabdialog")||MNa(a)}h.L9=function(){var a=this.g.getValue();this.Ia.style.display=a&&a.bD?"":"none"};
3577h.WY=function(a){var b=a.Sd();a=1<b.length;this.va=null;for(var c,d=m(b),e=d.next();!e.done;e=d.next())if(e=e.value,c){var f=new Set,g=new Set(S(e,rB,33).map(function(k){return k.Ic()}));c=m(c);for(e=c.next();!e.done;e=c.next())e=e.value,g.has(e)&&f.add(e);c=f;if(0>=c.size)break}else c=new Set(S(e,rB,33).map(function(k){return k.Ic()}));if(c&&0<c.size)for(this.va=[],b=m(S(b[0],rB,33)),d=b.next();!d.done;d=b.next())for(d=d.value,f=m(c),e=f.next();!e.done;e=f.next())e.value==d.Ic()&&this.va.push(d);
3578this.data.j=!(a&&c&&0==c.size);Z0(this)};h.yW=function(a){T0(this.data,a);Z0(this)};function W0(a){if(a.g){var b=a.g.h;if(b)for(var c={},d=0;d<b.Se();c={lw:c.lw},d++){c.lw=b.Gd(d);var e=a.data.Me.findIndex(function(f){return function(g){return g.ZA.Ic()==f.lw.Tc().cd}}(c));c.lw.W(-1==e)}}}
3579function NNa(a){if(a.data.Tl()){var b=[];if(a.va)for(var c=m(a.va),d=c.next();!d.done;d=c.next())d=d.value,b.push({label:d.Fb()+" "+d.Hb()+" ("+d.Ic()+")",Oa:{cd:d.Ic(),first:d.Fb(),Au:d.Hb()}});b.push({label:"Enter manually",Oa:{bD:!0}});a.g=uX(b,"* Guardian:",85);a.l.Ea(a.g,!1);a.g.render(z("guardian_select"));W0(a);a.g.Jm();a.g.h.w().setAttribute("data-e2e","guardian_select");a.g.h.Sb().w().setAttribute("data-e2e","guardian_select_menu");a.Ia=z("guardian_free_entry");a.s=rX("* First name:",85);
3580a.l.Ea(a.s,!1);a.s.render(z("guardian_first"));a.T=rX("* Last name:",85);a.l.Ea(a.T,!1);a.T.render(z("guardian_last"));a.L=rX("* Email:",85);a.l.Ea(a.L,!1);a.L.render(z("guardian_email"));a.Ia.style.display="none";a.g.J("change",a.L9,void 0,a);a.g.J("change",function(){return a.g.qb("")},void 0,a);a.ea=uX([{label:"Can View & Sign",Oa:2},{label:"Can View",Oa:1}],"* Permission:",85);a.l.Ea(a.ea,!1);a.ea.render(z("guardian_perm"));a.ea.Jm();a.ea.setValue(2);
3580ONa(a.ea);a.u=new oX("Include note (optional):",
35810,void 0);a.l.Ea(a.u,!1);a.u.render(z("guardian_note"));a.M=TP("Send",void 0,void 0,1);a.M.render(z("add_guardian_button"));D(a.M,"action",a.hU,void 0,a)}}function PNa(){var a=z("ack_hint"),b=by(tNa,{dn:WJ});(new mU(b)).render(a)}
3582function MNa(a){var b=a.data;BNa(b);var c=X0(),d=F0(),e=!a.data.search&&1<b.ie.length,f=d&&e&&DNa(b);a.h=UBa(ay(sNa,{YY:4,SL:[],Sp:b.Sp(),Tl:b.Tl(),Eh:b.ie.length,c_:e,M8:f,XY:c,aU:d,bU:yF(AF).includes(49),VB:b.VB(),QU:!!a.data.search,XN:0==b.m}),"Ni");M0=a;e="Update Collaborators";b.Sp()||(e="Collaborative Team");a.h.tc(e);a.j=new EH;a.j.render(z("user_perms"));gx(a.j.w(),"qt");LNa(a);if(b.Sp()){e=TBa();f=new E0;var g=new I0("Add User",f);e.render(z("share_tabs"));e.Ea(g,!0);f.ue(z("share_collab_tab"));
3583c&&(a.l=new E0,PN(a.l,!1),a.l.SI=!0,c=new I0("Add Parent/Guardian",a.l),e.Ea(c,!0),a.l.ue(z("share_guardian_tab")),c.W(b.j&&b.Tl()),b.search?c.pd("Guardians cannot be added to more than one page of documents at once."):b.Tl()?b.j||c.pd("Students share no guardians."):c.pd("You do not have permission to modify guardians."),c.w().setAttribute("data-e2e","guardian_tab"));d&&PNa();e.Gm(MH(e,0));a.m=xX("User:",$0(a),0);a.m.Ro(!1);a.m.gG(a);a.m.Wz(function(l,n){return l.dc()==n.dc()});a.m.J("already_added",
3584function(l){return zNa(a,l.item)},void 0,a);a.m.render(z("search_email"));X0()&&b.j&&b.Tl()&&NNa(a);a.Ld=z("msg_error");var k=a.h.Yb.Ci();D(a.h,gI,function(l){l.key==k&&(l.preventDefault(),(a.s?null==a.g.getValue()&&""==a.s.getValue()&&""==a.T.getValue()&&""==a.L.getValue()&&""==a.u.getValue():1)||confirm("Your guardian email has not been sent. Are you sure you want to close this dialog?"))&&(Ywa(a.h.Yb,!1),a.j&&((l=ENa(a.data,a.j))&&0!=l.size?(U0(a.data,l,a.i7,a),a.data.search&&(a.h.Ga(!1),a.dispatchEvent("submit"))):
3585(a.h.Ga(!1),a.dispatchEvent("submit"))))})}else a.h.Yb.clear(),hI(a.h.Yb,jI,!0),hI(a.h.Yb,{caption:"Request Document Access Change",key:"reqperms"}),eI(a.h,a.h.Yb),D(a.h,gI,function(l){"reqperms"==l.key&&a1(a.data)});a.h.Ga(!0)}function QNa(a){this.data=a;this.o=this.L=this.T=this.g=this.l=this.j=this.m=this.h=this.s=this.Ka=null}
3586function RNa(a){a.Ka=UBa(ay(uNa),"Ki");a.Ka.tc("Share with Non-District Staff");var b=a.Ka.w();a.s=b.querySelector("#non_dist_first");a.h=b.querySelector("#non_dist_first_error");a.m=b.querySelector("#non_dist_last");a.j=b.querySelector("#non_dist_last_error");a.l=b.querySelector("#non_dist_email");a.g=b.querySelector("#non_dist_email_error");a.T=b.querySelector("#non_dist_permission");a.L=b.querySelector("#non_dist_note");a.o=b.querySelector("#non_dist_note_error");b=new aI;hI(b,kI,!0,!0);hI(b,{key:"add_nondistrict_staff",
3587caption:"Send"});eI(a.Ka,b);D(a.Ka,gI,a.u.bind(a));a.Ka.Ga(!0)}
3588QNa.prototype.u=function(a){var b=this;switch(a.key){case "add_nondistrict_staff":iI(this.Ka.Yb,"add_nondistrict_staff",!1);a.preventDefault();var c=this.data.ie;DQ(yX(),"Lc","nondistrict_share",function(d){return CCa(d,c,!1,b.s.value,b.m.value,b.l.value,b.T.value,b.L.value)},function(d){d=d.Mc();d=1==d.length?d[0]:void 0;var e=!1;d&&null!=I(d,14)?(b.h.innerText=N(d,U,14).getError(),e=!0):b.h.innerText="";d&&null!=I(d,15)?(b.j.innerText=N(d,U,15).getError(),e=!0):b.j.innerText="";d&&null!=I(d,17)?
3589(b.g.innerText=N(d,U,17).getError(),e=!0):b.g.innerText="";d&&null!=I(d,35)?(b.o.innerText=N(d,U,35).getError(),e=!0):b.o.innerText="";e?iI(b.Ka.Yb,"add_nondistrict_staff",!0):b.Ka.Ga(!1)})}};function ONa(a){D(a,"change",function(){var b=z("view_only_warning");if(b){var c=a.getValue();b.style.display=2==c?"":"none"}})}function INa(a){for(var b=3,c=3,d=OJ,e=m(a.ie),f=e.next();!f.done;f=e.next()){var g=a.g.get(f.value),k=g.qj.get(d);f=0;k&&(f=k.Td());g=g.zK;f<b&&(b=f);g<c&&(c=g)}a.h=b;a.L=c}
3590function SNa(a){var b=cK;a.h=[];a.g=void 0;for(var c=m([1,2,3]),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.o||d>a.data.h&&d<=a.data.L;e&&(a.h.push({label:rR(d,b),Oa:d}),e&&(d>(a.data.h?a.data.h:0)&&!a.g||3==d)&&(a.g=d))}}Q0.prototype.j=function(a){a=N(a,ZC,1007);var b="Request Sent.";null!=I(a,1002)&&(b=L(a,1002,""));xZ(b)};function TNa(a,b){function c(e){return KCa(e,b)}if(a.data.search){var d=a.data.search;b.items=[];c=function(e){return LCa(e,d,b)}}DQ(yX(),"Oc","perm_request",c,a.j,a)}
3591function a1(a){INa(a);var b=cK,c=new Q0(a);SNa(c);var d=tX(c.h),e="Send a request to the owner(s) of "+((1<a.ie.length?"these documents":"this document")+" to grant you the selected level of access.");a='You currently have "'+rR(c.data.L,b)+'" access, which is the maximum available to you for '+(1<a.ie.length?"at least one selected":"this")+" student document.";wX([d],"Request Document Access Change","Send Request","Cancel",function(f){return TNa(c,{items:c.data.ie,Oj:f[0]})},c.g?e:a,[c.g])}
3592function UNa(a){var b=new Q0(a,!0);SNa(b);var c=tX(b.h,"Permission level:");a=new H0(a.forms,"");a=new G0(a,"Select desired:");a.m=function(d){return nNa(d)};wX([a,c],"Request Document Access","Send Request","Cancel",function(d){return TNa(b,{items:b.data.ie,Oj:d[1],forms:d[0].split("~"),type:2})},"Send a document access change request to owners of currently effective documents for the selected students. If there are no currently effective documents, a request will not be sent.",["",b.g])}
3593function VNa(a){for(var b=m(a.data.ie),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=a.data.g.get(c),e=d.qj,f=[],g=[],k=!1,l=m(e.keys()),n=l.next();!n.done;n=l.next()){var q=e.get(n.value);fz(q,1002,!1)&&fz(q,1003,!1)&&(k=!0);fz(q,1002,!1)&&1>q.Td()&&(n=new tB,M(n,6,1),q=q.Gf(),T(n,1,q),f.push(n),g.push({Ib:q.dc(),cc:q.Fb(),hc:q.Hb(),userName:q.Ic()}))}0<g.length&&k&&(g.sort(a.data.s),a.g.push({tk:d.GW,Me:g}),a.h.set(c,f))}}xNa.prototype.j=function(a){T0(this.data,a);(a=N0(a))?yZ(a):xZ("Collaborators updated.")};
3594function WNa(a){var b=new o0("Share with student team:");wX([b],"Share with Student Team","Complete documents","Cancel",function(c){return a(c[0])},"Student team members are required to acknowledge certain documents. Check the box below to share with student team members after completing documents when applicable.")}
3595function XNa(a,b){var c=new xNa(a);VNa(c);if(0<c.g.length){wX([],"Share with Student Team","Share","Don't share",function(){return U0(a,c.h,c.j,c)},"Student team members will be required to acknowledge this document. Give the following users Can View access?");var d=z("select_dg_content");Yx(d,wNa,{xK:c.g,q8:b})}};function YNa(a){var b=a.permission,c=a.qc;Ta(a.Fw);a=a.Fw;var d='<table width="100%">',e=a.length;if(0<e)for(var f=0;f<e;f++){var g=a[f];var k=g.uJ?'<td class="'+Z("Lm")+'"><a href="/iep/download?docId='+IL(c)+"&binaryDocId="+IL(g.id)+'" rel="noopener noreferrer" target="_blank">'+X(g.id)+"</a></td>":g.tJ?'<td class="'+Z("Lm")+'"><a href="/iep/filePreview?docId='+IL(c)+"&binaryDocId="+IL(g.id)+'" rel="noopener noreferrer" target="_blank">'+X(g.id)+"</a></td>":'<td class="'+Z("Lm")+'"><a href="/iep/download?docId='+
3596IL(c)+"&binaryDocId="+IL(g.id)+'" rel="noopener noreferrer">'+X(g.id)+"</a></td>";d+='<tr class="'+Z("sgList")+'"><td class="'+Z("Um")+'">'+(BL(b,1)?"":'<span id="'+Z(g.id)+'"></span>')+"</td>"+k+"</tr>"}else d+='<tr style="background-color:#fff;padding-top:3px;"><td>No attachments.</td></tr>';return Y(d+"</table><br/><br/>")}
3597function ZNa(a){var b=a.uri;Ta(a.Bw);a=a.Bw;b='<form id="attachment_form" action="'+Z(JL(b))+'" enctype="multipart/form-data" method="POST"><table><tr><td style="text-align: right; width: 150px;">* File name:</td><td class="'+Z("ic")+'"><input type="text" id="file_name_input" name="file_name_input"></td></tr><tr><td style="text-align: right; width: 150px;">* File:</td><td class="'+Z("ic")+'"><input type="file" id="file_upload_input" name="file_upload_input" accept=".pdf,.mp3,.m4a,.mp4,.docx,.doc,.xls,.xlsx,.png,.jpeg,.gif,
3597image/gif,application/pdf,audio/mpeg,audio/mp4,audio/mp4a-latm,video/mp4,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,image/png,image/jpeg"></td></tr><tr style="font-size: 12px; color: #9c9c9c"><td style="width: 150px;"></td><td class="'+
3598Z("ic")+'">';for(var c=Math.max(0,Math.ceil(a.length)),d=0;d<c;d++){var e=d;b+=X(a[e])+(e<a.length-1?",&nbsp;":"")}return Y(b+'</td></tr></table><br/><div id="save_button"></div><br/></form>')}
3599function $Na(a,b,c){b=c||b;c=a.permission;Ta(a.Fw);var d=a.pj;Ta(a.Bw);return Y((BL(c,1)?"":'<div class="'+Z("oe")+'"><div class="'+Z("jb-kb-lb")+'" id="selection_button"></div><div class="'+Z("ic")+" "+Z("jb-kb-lb")+'" id="actions_button"></div></div>')+'<div id="attachment_list" class="'+Z("Ce")+'">'+YNa(a,b)+"</div>"+(BL(c,1)||d?"":'<div id="attachment_form_container">'+ZNa(a,b)+'</div><div id="loaderOutput"></div>'))}function lNa(a){return Y('<h1 class="sgBaseErrorMsg">'+X(a.text)+"</h1>")};function b1(){Rx.call(this);this.h=[];this.g=new Map;this.j=!1}x(b1,Rx);h=b1.prototype;h.qa=function(){b1.D.qa.call(this);0==!this.g.size&&aOa(this);C(this.g)};function aOa(a){for(var b=m(a.g.keys()),c=b.next();!c.done;c=b.next())c=a.g.get(c.value),Mx(c,"check",a.Qw,void 0,a),Mx(c,"uncheck",a.Qw,void 0,a),c.dispose()}
3600function c1(a,b){aOa(a);a.g.clear();for(var c=0,d=b.length;c<d;c++){var e=b[c].wb,f=RP();a.g.set(e,f);var g=z(e);w(g)&&(f.render(g),D(f,"check",a.Qw,void 0,a),D(f,"uncheck",a.Qw,void 0,a),Nb(a.h,e)&&f.nc(aP))}a.h=[]}h.Qw=function(){this.j=!0;UG(this.rK,10,this)};h.rK=function(){this.j=!1;this.dispatchEvent("action")};h.Di=function(){for(var a=this.g.size,b=0,c=0,d=m(this.g.keys()),e=d.next();!e.done;e=d.next())e=this.g.get(e.value),e.Pc()?b+=1:e.ik==YO&&(c+=1);return a==b&&0!=a?0:a==c?2:1};
3601function bOa(a,b,c){b=b?aP:YO;for(var d=0,e=c.length;d<e;d++){var f=a.g.get(c[d]);f&&f.nc(b)}a.rK()}function d1(a,b,c){w(c)||(c=Array.from(a.g.keys()));bOa(a,b,c)}function cOa(a){for(var b=[],c=m(a.g.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.g.get(d).Pc()&&b.push(d);return 0<b.length?!0:!1}h.Cc=function(){for(var a=[],b=m(this.g.keys()),c=b.next();!c.done;c=b.next())c=c.value,this.g.get(c).Pc()&&a.push(c);return a};function dOa(a){a=a.Lb;return Y('<span class="'+Z("Gk")+'"><i class="'+Z("F")+" "+Z("R")+" "+Z("Uw")+'">info</i><span class="'+Z("Nk")+" "+Z("qw")+" "+Z("Vk")+'">'+X(a)+"</span></span>")}
3602function eOa(a){a=a.KV;return Y('<div class="'+Z("dw")+" "+Z("ew")+'" style="display:none;"><div class="'+Z("fw")+'"><div class="'+Z("gw")+'"><span class="'+Z("kw")+'">Document History</span></div><div class="'+Z("jw")+'"></div><div class="'+Z("lw")+'"><div class="'+Z("mw")+'">Current version</div><div class="'+Z("yw")+'"><div class="'+Z("vw")+'">'+X(a)+'</div></div></div><div class="'+Z("nw")+'"></div><div class="'+Z("Ew")+'"><div class="'+Z("Fw")+'"><div class="'+Z("Gw")+'">Loading</div></div></div></div></div>')}
3603function fOa(a){a=a.time;return Y('<div class="'+Z("yw")+'"><div class="'+Z("vw")+'">'+X(a)+"</div></div>")}
3604function e1(a){var b=a.name,c=a.cd,d=a.color,e=a.pF,f=a.lS,g=a.mS,k=a.YE,l=a.OE;a=a.Z8;d=BL(e,"userdot")?'<div class="'+Z("Dw")+'" style="background-color: '+Z(NL(d))+'"></div>':BL(e,"indent")?'<div style="width: 1em;"></div>':'<i class="'+Z("F")+" "+Z("P")+" "+Z("Uw")+'" style="margin-left: 0px;">'+X(e)+"</i>";return Y('<div class="'+(a?Z("Bw"):Z("xw"))+'">'+d+'<div class="'+Z("ww")+'" title="'+Z(c)+'">'+X(b)+"</div>"+(f&&g?'<span class="'+Z("Gk")+'"><i class="'+Z("I")+" "+Z("P")+" "+Z("Uw")+'">'+
3605X(f)+'</i><span class="'+Z("Nk")+" "+Z("Vk")+'">'+X(g)+"</span></span>":"")+(k&&l?'<span class="'+Z("Vw")+" "+Z("Gk")+'"><span class="'+Z("Ww")+'">'+X(l)+'</span><span class="'+Z("Nk")+" "+Z("Vk")+'">Previous: '+X(k)+"</span></span>":"")+"</div>")}function gOa(a){var b=a.text;a=a.Lb;return Y('<div class="'+Z("Xd")+'"><div data-tag="time" class="'+Z("Wd")+" "+Z("uw")+'">'+(BL(b,"")?"Pending":X(b))+(a?dOa({Lb:a}):"")+'</div></div><div data-tag="sign_img" class="'+Z("Xw")+'"></div>')}
3606function hOa(a){a=a.K_;return Y('<div class="'+Z("Od")+'"><span class="'+Z("uw")+'">Acknowledged by:</span><div data-tag="signatures"></div>'+(a?'<div data-tag="add_acker" class="'+Z("Am")+'">+ add acknowledger</div>':"")+"</div>")}
3607function iOa(a){Ta(a.options);a=a.options;for(var b='<div class="'+Z("Ow")+'"><div class="'+Z("H")+" "+Z("Qw")+'">more_vert</div><div class="'+Z("Rw")+'" style="display: none;"><div class="'+Z("Tw")+'"></div>',c=a.length,d=0;d<c;d++){var e=a[d];b+='<div class="'+Z("Sw")+'">'+X(e)+"</div>"}b+='<div class="'+Z("Tw")+'"></div></div></div>';return Y(b)}
3608function jOa(a){var b=a.title;a=a.Lb;return Y('<div class="'+Z("xw")+'" title="'+Z(b)+'"><div class="'+(a?Z("vw"):Z("tw"))+'">'+X(b)+"</div>"+(a?dOa({Lb:a}):"")+"</div>")}function kOa(){return Y('<div class="'+Z("Iw")+'" style="min-height: 0px;"><div class="'+Z("Hw")+'"><div class="'+Z("ow")+" "+Z("rw")+'"></div></div></div>')}
3609function lOa(a){var b=a.l8,c=a.S_,d=a.title;a=a.bold;return Y('<div class="'+Z("Iw")+(c?" "+Z("Jw"):"")+'"><div class="'+Z("Hw")+'"><div class="'+Z("ow")+(c?" "+Z("Jw"):"")+'"><div class="'+Z("zw")+" "+Z("Cw")+'" title="'+Z(d)+'"><div class="'+Z("Lw")+'"'+(b?"":' style="visibility: hidden;"')+'></div><div class="'+Z("tw")+" "+(a?Z("mb"):"")+'">'+X(d)+"</div></div></div></div></div>")}
3610function mOa(a,b,c){b=c||b;var d=a.title;c=a.time;var e=a.FI;Ta(a.DR);a=a.DR;d='<div class="'+Z("Iw")+'"><div class="'+Z("Hw")+'"><div class="'+Z("ow")+'"><div class="'+Z("zw")+" "+Z("Cw")+'" title="'+Z(d)+'"><div class="'+Z("Lw")+'" style="visibility: hidden;"></div><div class="'+Z("tw")+'">'+X(d)+"</div></div>";for(var f=a.length,g=0;g<f;g++){var k=a[g];
3610d+=e1({name:k.$r.name,cd:k.$r.cd,color:k.$r.color,pF:"indent",lS:k.icon,mS:k.Lb,YE:k.YE,OE:k.OE},b)}d+=fOa({time:c},b)+e1({name:e.name,cd:e.cd,
3611color:e.color,pF:"userdot"},b)+"</div></div></div>";return Y(d)}function nOa(){return Y('<span>Acknowledge</span> <span class="'+Z("J")+" "+Z("R")+'">signature</span>')}
3612function oOa(){return Y('<div id="ack_button_wrapper" class="'+Z("Yd")+'"><div class="'+Z("hw")+'"><span class="'+Z("kw")+"\">Acknowledgement of Receipt: <span id='ack_title'></span></span></div><div class=\""+Z("Lb")+" "+Z("Yw")+" "+Z("Md")+'"><div><div id="ack_required_msg">Your acknowledgement of receipt of this document has been requested. Please review the document fully and then press the "Acknowledge" button to provide your signature.</div><div id="ack_optional_msg" class="'+Z("U")+'">You may sign to acknowledge your receipt of this document. Please review the document fully and then press the "Acknowledge" button to provide your signature.</div></div><div id="ack_already_msg" class="'+
3613Z("U")+'"><strong>You have already acknowledged this version of the document.</strong></div><div class="'+Z("Pd")+'"><div data-tag="button"></div></div><div data-tag="expand_history" class="'+Z("ax")+" "+Z("F")+" "+Z("T")+'">keyboard_double_arrow_left</div></div></div>')}
3614function pOa(a){var b=a.jb;a=a.Eh;return Y('<div id="save_button_wrapper" class="'+Z("Yd")+'"><div class="'+Z("hw")+'"><span class="'+Z("kw")+'">Bulk Edit: <strong>'+X(b)+"</strong> ("+X(a)+')</span></div><div class="'+Z("Lb")+" "+Z("Md")+'"><div><div>Make all desired edits in the form view above. Then, press a button to save. <strong>Save & overwrite</strong> will <span class="'+Z("gc")+'">replace field content</span> with entered data for all selected documents. <strong>Save over blanks only</strong> will skip saving the new value when there is already a value entered in the document. Added repeated sections will add an instance of that repeated section in each document.</div></div><div class="'+
3615Z("Qd")+" "+Z("Pd")+'"><div data-tag="button"></div></div></div></div>')};function f1(){W_.call(this);this.lg=this.s=this.Ds=null;this.Do=!1;this.h=this.va=null;this.u=this.M=!1}x(f1,W_);function qOa(a,b,c){return function(){Y0(new O0([a],c,[],b),!0)}}h=f1.prototype;
3616h.K=function(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q){g=rOa(b,e,y);this.ub(g);if(2!=a)for(gx(this.g.w(),"Pe"),a=mZ(b),e=this.sn(c,d,e,a,k,l,n,q,t,u,J,O,P),X_(this,[e]),e=z("amend"),null!=e&&(this.Ds=TP("",void 0,void 0,1,1),this.Ds.ue(e)),UU(0,c,void 0,G,K,O),mHa(),w(d)&&w(c)&&(BM.W(!0),wM.W(!cK)),BM.W(!0),pM.W(!0),pM.Ga(!1),null!=rM&&(d=zF(),!cK&&3<=d&&(2==f||3==f)&&rM.W(!0)),w(P)&&(this.Y=v0(P)),!cK&&Q&&(P=z("share_button"),D(P,"click",qOa(c,f,Q))),c=gw("student_info_tooltip",this.j.w()),f=0,
3617Q=c.length;f<Q;f++)nU(c[f],this.j)};h.$=function(){f1.D.$.call(this);C(this.Ds);sOa(this);YU()};h.sn=function(a,b,c,d,e,f,g,k,l,n,q,t,u){a="&docId="+Od(a);l=kR(l);a+="&formId="+Od(b);w(q)||(q="");u&&(a+=u.Um);return ay(QMa,{bb:e,dz:f,ez:g,Zk:k,jb:c,hx:a,Yk:d.length,sh:d,ll:q,Tg:t,Ie:l,fd:n,pj:cK||dK,$M:u})};
3618function tOa(a){var b=new Date(Date.now());b=by(eOa,{KV:b.toLocaleDateString("en-US",{month:"long",day:"numeric"})+", "+b.toLocaleTimeString([],{hour:"numeric",minute:"2-digit"})});var c=b.querySelector("div.jw");a.s=new cQ("Event Type Filter",{"":["Edits","Views","Permission Changes","Translations"]},null,void 0,"Event Types",void 0,void 0,"Document Events Only");var d=a.g;if(null!=QM){var e=PM();d=d.o?0:BMa(d,e)}else d=0;b.style.height=pG(d,!0);a.pc=new EH;a.pc.ue(b);a.pc.Ea(a.s,!1);a.s.render(c);
3619return b}function g1(a,b){a.va&&(a.va.W(b),a.h.W(!b))}function h1(){return z("ack_button_wrapper")}h.sd=function(){var a=MH(this.T,1);a?(this.g=new R_,QH(a,0,!0),a.jj(this.g,0,!0),this.g.w().classList.add("Pe"),this.va?this.g.w().classList.add("bx"):this.g.w().classList.remove("bx")):CK.g(Error("workspaceContainer was undefined"),void 0,!0)};
3620function i1(a,b){if(a.lg){b&&j1(a,!1);a=gw("Iw");for(b=0;b<a.length;b++)Jw(a[b]);hw("lw").style.backgroundColor="#e0f0ff";a=hw("Ew");a.style.display="none";hw("Gw",a).innerText="Loading"}}function sOa(a){Jw(a.lg);C(a.pc);a.pc=null;Jw(h1());a.Do=!1;a.va&&(a.Cm("show"),a.Cm("hide"),a.m&&(a.m.g=!1),a.va.dispose(),a.va=null,a.h.dispose(),a.h=null,a.g.w().classList.remove("sgBottomPanelPadding"),a.Y||B0(!1))}
3621function k1(a){var b=h1();
3621if(b){var c=b.querySelector("[data-tag=expand_history]");a.Do?(c.innerText="keyboard_double_arrow_right",b.classList.add("Zw")):(c.innerText="keyboard_double_arrow_left",b.classList.remove("Zw"));c=b.querySelector("#ack_already_msg");a.M?c.classList.remove("U"):c.classList.add("U");c=b.querySelector("#ack_optional_msg");b=b.querySelector("#ack_required_msg");a.u?(c.classList.remove("U"),b.classList.add("U")):(b.classList.remove("U"),c.classList.add("U"))}}
3622function j1(a,b){a.lg&&((a.Do=b)?(a.lg.style.display="",setTimeout(function(c){c.lg.classList.remove("ew")},1,a),setTimeout(function(c){c.Do||(c.lg.style.display="none");c.dispatchEvent(new xx("show",c))},301,a)):(setTimeout(function(c){c.Do||(c.lg.style.display="none");c.dispatchEvent(new xx("hide",c))},300,a),a.lg.classList.add("ew")),k1(a))}h.AS=function(){j1(this,!(this.lg&&this.Do))};
3623function rOa(a,b,c){var d="Form";void 0!=a&&void 0!=KA(a)&&(d=L(KA(a),3,""));""==d&&(d=b);if(""!=c){var e=LJ;a=7;b=1;null!=e&&(b=new Date(e),a=b.getUTCMonth()+1,b=b.getUTCDate());e=c.split("-");c=parseInt(e[0],10);e=new Date(c,parseInt(e[1],10)-1,parseInt(e[2],10));c=e.getFullYear();(e.getMonth()<a||e.getMonth()==a&&e.getDay()<b)&&--c;d+=" "+(c+"-"+(c+1)%100)}return d}function uOa(a){a=by(iOa,{options:a});return[a,a.querySelector("div.Qw"),a.querySelectorAll("div.Sw")]}
3624function l1(a){return by(fOa,{time:a})}function m1(a,b,c,d,e){a=6==JF(a);return by(lOa,{l8:d,S_:a,title:a?b+" translation":b,bold:e})};function n1(){W_.call(this);this.h=this.M=this.u=null;this.$a=".pdf .mp3 .m4a .mp4 .doc .docx .xls .xlsx .jpg .jpeg .png .gif".split(" ")}x(n1,W_);h=n1.prototype;h.$C=null;h.mq=null;h.hQ=null;h.ZC=null;h.XB=null;h.ND=!1;h.Yv=0;
3625h.K=function(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O){var P=this;f=rOa(a,d,u);this.ub(f);this.Yv=e;gx(this.g.w(),"Pe");a=mZ(a);c=vOa(b,c,d,a,g,k,l,n,q,t,y,J);d=wOa(y);y=ay($Na,{permission:this.Yv,uri:fK+("/iep/upload?SID="+G+"&docId="+b+"&seqNum="+K),qc:b,Fw:xOa(y),pj:cK,Bw:this.$a});X_(this,[c],y);yOa(this,d);UU(0,b,void 0,v,void 0,d.length);v=gw("student_info_tooltip",this.j.w());y=0;for(G=v.length;y<G;y++)nU(v[y],this.j);w(J)&&(this.Y=v0(J));O&&(J=z("share_button"))&&D(J,"click",function(Q){Q.preventDefault();
3626Y0(new O0([b],O,[],P.Yv),!0)})};h.$=function(){n1.D.$.call(this);YU();C(this.u);C(this.M);C(this.h)};function xOa(a){var b=[];if(!w(a)||null==a)return b;a.forEach(function(c){var d={};d.id=L(c,1,"");d.uJ=fz(c,8,!1);d.tJ=fz(c,9,!1);b.push(d)});return b}h.iD=function(){return this.hQ};
3627function vOa(a,b,c,d,e,f,g,k,l,n,q,t){var u=0;l=kR(l);w(q)&&(u=q.length);a="&docId="+Od(a);a+="&formId="+Od(b);t&&(a+=t.Um);return ay(QMa,{bb:e,dz:f,ez:g,Zk:k,jb:c,hx:a,Yk:d.length,sh:d,ll:"attachments",Tg:u,Ie:l,fd:n,pj:cK||dK,$M:t})}
3628function yOa(a,b){var c=$v();a.XB=c.w("attachment_list");a.hQ=c.w("attachment_form");a.ZC=c.w("attachment_form_container");if(1!=a.Yv&&!cK){a.u||(a.u=RBa(),a.u.render(c.w("selection_button")),D(a.u,"action",a.G9,void 0,a));a.h=new b1;b=zOa(b);c1(a.h,b);D(a.h,"action",a.RS,void 0,a);a.M||(a.M=YP("Action"),b=WP("Delete"),GH(b,"Delete"),a.M.Jb(b),a.M.render(c.w("actions_button")));var d=c.w("file_name_input");a.$C=d;a.$C.onchange=function(f){this.ND=""!=f.target.value;return!1}.bind(a);var e=c.w("file_upload_input");
3629a.mq=e;a.mq.ondragover=function(){e.className="hover";return!1};a.mq.ondragend=function(){e.className="";return!1};a.mq.ondrop=function(f){e.className="";f.preventDefault();f=f.dataTransfer.files[0];if(!"application/pdf audio/mpeg audio/m4a audio/mp4a-latm video/mp4 application/msword application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet image/png image/jpeg".split(" ").includes(f.type))return alert("File type not allowed."),
3630!1;var g=new DataTransfer;g.items.add(f);e.files=g.files;e.dispatchEvent(new Event("change"));return!1}.bind(a);a.mq.onchange=function(f){e.className="";f.preventDefault();if(!f.target.files||0==f.target.files.length)return d.value="",this.ND=!1;f=f.target.files[0];this.ND||(d.value=f.name);return!1}.bind(a);Y_(a,[a.$C,a.mq],void 0,"Attach file",void 0,void 0,void 0,!0)}}h.G9=function(){var a=this.u.Di();0==a?d1(this.h,!0):2==a&&d1(this.h,!1)};h.RS=function(){var a=this.h.Di();jP(this.u,a)};
3631h.sd=function(a,b,c,d,e,f){a=this.h;a.h=a.Cc();a=wOa(e);Fw(this.XB);e=ay(YNa,{permission:this.Yv,qc:b,Fw:xOa(e)});this.XB.appendChild(e);Fw(this.ZC);c=ay(ZNa,{uri:fK+("/iep/upload?SID="+c+"&docId="+b+"&seqNum="+f),Bw:this.$a});this.ZC.appendChild(c);yOa(this,a);this.RS(null);c=a.length;f=z("attach_num");e=z("attach_num_wrapper");0<c?(f.innerHTML=c.toString(),gx(f,"rj"),gx(e,"mj"),gx(e,"pj")):(f.innerHTML="",ix(f,"rj"),ix(e,"mj"),ix(e,"pj"));ZU();UU(0,b,void 0,d,void 0,c)};
3632function wOa(a){return w(a)?Hb(a,function(b){return L(b,1,"")}):[]}function zOa(a){for(var b=[],c=0,d=a.length;c<d;
3632c++)b.push({wb:a[c]});return b}h.Bc=function(){return this.M};h.wc=function(){return this.h.Cc()};function AOa(){var a=$L(mH.g,["acknowledge","version"]);MK(a)}function BOa(a){var b=a.ef();switch(b){case "noPerm":return{Wk:a.Fb()+" "+a.Hb()+": User does not have permission to view documents in this student's building"};case "noAccess":return{Wk:"No document access"};case "invalidMember":return{Wk:"Invalid",Lb:a.Fb()+" "+a.Hb()+": User no longer has any permission in this student's building."};default:return{Wk:b}}}
3633function o1(a,b){this.g=a;this.qc=b.qc;this.view=b.view;this.view.m||(this.view.m=new Q_);this.h=null;this.o=!1;this.j=void 0}o1.prototype.l=function(a){var b=S(N(a,nC,30),mC,1),c=parseInt(this.g.l,10);this.h={Pe:null,Jl:c,name:"To Acknowledge",time:0};b=m(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,2==JF(d)){var e=p1(this.g,N(a,nC,30),d);d={Pe:d,Jl:KF(d),time:d.getTime(),name:e};c==d.Jl&&(this.h=d)}this.g.$m&&this.h&&COa(this,this.h)};
3634function DOa(a){var b=[5];DQ(a.g,"O","initial",function(c){return DCa(c,a.qc,2147483647,b)},a.l,a)}o1.prototype.start=function(){var a=this;DOa(this);void 0===this.j&&(this.j=zK(AK,"P",function(){a.o&&q1(a,parseInt(a.g.l,10))}));this.view.J("show",function(){a.o&&q1(a,parseInt(a.g.l,10))})};o1.prototype.$=function(){void 0!==this.j&&AK.mp(this.j)};function q1(a,b){(b=EOa(a.g,b,function(c){return 2==JF(c.uF)}))&&FOa(a,b.uF)}
3635function GOa(a){var b=parseInt(a.g.l,10);a.g.l||(b=0);(new r1({qc:a.qc,version:b,Y2:function(){a.view.m.g=!1;B0(!1);AOa()}})).start()}function HOa(a){var b=mH.g;if(b.na("version")!=""+a.Jl||"true"!=b.na("acknowledge"))b.setAttribute("acknowledge","true"),b.setAttribute("version",""+a.Jl),a=$L(b,["sectionNum"]),La.history.pushState(null,"","#"+a),jAa(a)}
3636function FOa(a,b){var c=!1,d=!0;if(b){var e=p1(a.g,null,b),f=z("ack_title");f&&(f.innerText=e);b=m(S(b,WC,24));for(e=b.next();!e.done;e=b.next())if(e=e.value,e.Gf().dc()==OJ){d=c=0!=L(e,4,0);break}}b=a.view;b.M=c;k1(b);a=a.view;a.u=d;k1(a)}
3637function COa(a,b){if(!a.o||mH.xm()||bM()){a.o=!0;a.view.m.j(null);g1(a.view,!1);if(XU){var c=IOa(a.g);1==c.length&&5==c[0]?(a.g.SD(b.Jl,""),q1(a,b.Jl)):(JOa(a.g,[]),a.g.SA(null,b.Jl))}else KOa(nH,!0,{version:b.Jl,eL:[],oH:!1});LOa(a.g,function(){return GOa(a)});B0(!0);HOa(b);FOa(a,b.Pe)}}function r1(a){this.h=yX();this.qc=a.qc;this.version=a.version;this.Nw=a.Y2}
3638r1.prototype.start=function(){var a=this,b=new GY;IKa(b);var c=new G0(b);c.required=!0;wX([c],"Acknowledge Receipt of Document","Acknowledge","Cancel",function(d){return MOa(a,d[0])},"Provide your signature below to certify that you have received and reviewed this document fully.");b.w().blur()};r1.prototype.g=function(){xZ("Document acknowledged.");this.Nw&&this.Nw()};
3639function MOa(a,b){var c=a.qc,d=a.version;DQ(a.h,"qd","acknowledgement",function(e){var f=new lB;EE(f,89);FE(f,e);e=new WC;M(e,1,b);void 0!==d&&M(e,3,d);var g=new AB;M(g,1,c);mz(g,1002,e,WC,void 0);KE(f,g);eN(dN.getInstance(),f)},a.g,a)};function s1(a,b,c){f_.call(this,a,b,c);this.g=this.vC();this.m=new Map;this.s=[];this.T=[]}x(s1,$_);h=s1.prototype;h.Qd="";h.ae="";h.Go="";h.TG="";h.$f="";h.BA=!1;h.Hv=0;h.Yi=0;h.zm=2147483647;h.Xi=null;h.PA=new Set;h.$p=!1;h.$m=!1;h.uw=null;h.history=null;h.Cp={UT:0,FT:1,VT:3,MT:4,ST:2,CT:5};h.vC=function(){return new GZ};
3640h.ep=function(a){var b=this,c=a.na("docId");if(!w(c))return h_(this),!1;this.g.j=c;c=a.na("formId");if(!w(c))return h_(this),!1;this.g.Wi=c;c=a.na("altFormId");w(c)&&(this.g.sb=c);(c=a.na("sectionNum"))&&NZ(this.g,c);c=a.na("displaySection");w(c)&&uLa(this.g,c);c=a.na("version");w(c)&&(vLa(this.g,Number(c)),this.l=c.toString());"true"==a.na("debug")&&(this.g.Cl=!0);(c=a.na("highlight"))&&zLa(this.g,c);c=a.na("media");w(c)&&qLa(this.g,c);c=a.na("mode");w(c)&&KZ(this.g,c);c=a.na("acknowledge");w(c)&&
3641(this.$m="true"==c&&F0());this.h=x0(a,function(){return b.Ya()});return!0};h.Ya=function(){this.Bd||j_(this,"initial")||j_(this,"initial_altform")||this.Bd||this.X.ba("i",this.Xf)};
3642function t1(a){if(!a.Bd&&!j_(a,"reload")){if(0>a.g.Sk){var b=lZ(iW(a.g));NZ(a.g,b.toString())}b=a.Hv;var c=z("attach_num_wrapper"),d=z("attach_num");c&&d&&(0>=b?(ix(c,"mj"),ix(c,"pj"),ix(d,"rj"),d.innerHTML=""):(gx(c,"mj"),gx(c,"pj"),gx(d,"rj"),d.innerHTML=b));a.g.m=a.view.g;a.g.M=a.m;a.g.start();b=w(a.g.Uj)?a.g.Uj.toString():void 0;UU(sV(a.g),a.$f,void 0,a.g.mb,a.g.Pb,a.Hv,b);
3642wM.W(!cK&&!dK)}}
3643h.start=function(a){if(this.ep(a)){a=void 0;w(this.l)&&!isNaN(this.l)&&(a=Number(this.l));this.ka("ha",this.Lm,this);var b=++RQ;dV(this,b,"initial");rQ(b,sV(this.g),void 0,void 0,this.g.j,a);this.ka("wb",this.aE,this);b=++RQ;dV(this,b,"initial");LQ(b,0,{Ac:sV(this.g)});g_(this,"T",this.l_,this);b=++RQ;dV(this,b,"initial");AQ(b,!1,void 0,void 0,void 0,void 0,void 0,void 0,"FORM ACTIVITY ALL FORMS ALLOWLIST");b=++RQ;dV(this,b,"initial");AQ(b,!0,void 0,void 0,void 0,void 0,void 0,void 0,"FORM ACTIVITY ALL FORMS ALLOWLIST");
3644this.ka("na",this.SG,this);this.ka("na",this.SS,this);b=++RQ;dV(this,b,"initial");wQ(b,0,this.g.j,void 0,void 0,void 0,void 0,void 0,void 0,a);RV(this.g)&&(this.ka("ha",this.tM,this),a=++RQ,dV(this,a,"initial_altform"),rQ(a,this.g.sb));g_(this,"Q",this.SD,this);g_(this,"O",this.i0,this);g_(this,"Ga",this.zV,this)}};
3645h.SG=function(a){var b=eV(this,a.Va()?a.Sa():null,"initial"),c=eV(this,a.Va()?a.Sa():null,"reload");if(b||c){if(WJ)this.Yi=3;else{var d=dEa(a);this.Yi=d[6];1==this.Yi&&KZ(this.g,"read");this.g.ic=d[7]}d=NE(a)[0];this.$p=tF(d);this.$f=rF(d);tF(d)&&(KZ(this.g,"read"),this.BA=!0);var e=null!=I(d,4)?lF(d):null;if(!e)throw Error("object cannot be null");this.g.fz=e;var f=S(d,zB,18);this.g.Kc=f;this.Hv=S(d,CB,15).length;this.g.oe=this.Hv;w(this.g.j)&&(this.Qd=e.Fb(),this.ae=e.Hb(),this.Go=eF(e),this.TG=
3646e.Rd(),this.L=gF(e)?fF(e):1,this.u=lR($E(e)),this.ea=fz(e,29,!1));e=this.g;e.Y=d;wLa(e);this.j=nR(a,[])[2];b?this.Ya():c&&t1(this)}else this.ka("na",this.SG,this)};h.l_=function(a){var b=eV(this,a.Va()?a.Sa():null,"initial"),c=eV(this,a.Va()?a.Sa():null,"reload");if(b||c){this.m.set("INSTANCE_FORM","INSTANCE_FORM");this.m.set("USER_FORM","USER_FORM");this.m.set("OBJECT_FORM","OBJECT_FORM");var d=0;for(a=OE(a);d<a.length;++d){var e=a[d],f=wF(e);e=xF(e);this.m.set(e,f)}b?this.Ya():c&&t1(this)}};
3647h.Lm=function(a){var b=eV(this,a.Va()?a.Sa():null,"initial"),c=eV(this,a.Va()?a.Sa():null,"reload");if(b||c){a=OE(a)[0];var d=xF(a);this.g.yl=d;d=fz(a,1002,!1);this.g.CM=d;d=this.g;var e=gz(a,1006,void 0,IB);e=m(e.entries());for(var f=e.next();!f.done;f=e.next()){var g=m(f.value);f=g.next().value;g=g.next().value;d.Ja.set(f,g)}d=0;for(e=I(a,13);d<e.length;d++)Pb(this.g.mb,e[d]);d=0;for(e=I(a,16);d<e.length;d++)Pb(this.g.Pb,e[d]);RV(this.g)||MZ(this.g,uF(a));b?this.Ya():c&&t1(this)}else this.ka("ha",
3648this.Lm,this)};h.aE=function(a){var b=eV(this,a.Va()?a.Sa():null,"initial"),c=eV(this,a.Va()?a.Sa():null,"reload");b||c?(a=N(a,FB,33),yLa(this.g,L(a,1,0)),b?this.Ya():c&&t1(this)):this.ka("wb",this.aE,this)};function NOa(a){2!=a.g.ud&&(a.h&&B0(!0),A0(!!a.h,function(){return{rj:[a.$f]}}))}h.tM=function(a){eV(this,a.Va()?a.Sa():null,"initial_altform")?(a=OE(a)[0],MZ(this.g,uF(a),!0),this.Ya()):this.ka("ha",this.tM,this)};
3649h.SS=function(a){a=S(NE(a)[0],zB,18);this.PA=new Set;for(var b=0;b<a.length;b++)this.PA.add(L(a[b],2,0))};h.iP=function(){if(!this.Hm){var a=this.view,b=this.g.ud;a.T=new EH;2!=b&&(a.j=new U_,a.T.Ea(a.j,!0));a.g=new R_;b=new EH;b.Ea(a.g,!0);a.T.Ea(b,!0);gx(b.w(),"yx");this.ge.Ea(a.T,!0)}};
3650h.sM=function(){if(!this.g.pe()){if(!XU){var a=pM;if(null!=a){var b="Document is "+(this.$p?"complete":"incomplete");a.w().title=b;hw("E",pM.w()).innerText=this.$p?"lock":"lock_open";b=a.Sb();if(OOa(this)&&this.$p){var c=WP("Amend");b.Ea(c,!0);D(c,"action",this.VI,void 0,this)}this.BA?WJ&&(c=WP("Incomplete"),b.Ea(c,!0),D(c,"action",this.pM,void 0,this)):(c=WP("Complete"),b.Ea(c,!0),D(c,"action",this.BQ,void 0,this));if(this.g){c=2<=zF();var d=gZ(this.g),e=this.g.CM;c=c&&this.$p&&d&&e}else c=!1;c&&
3651(c=WP("Copy to new document"),b.Ea(c,!0),D(c,"action",this.bV,void 0,this));a.W(3==this.Yi&&1<=LH(b))}}NOa(this);!w(this.g.T)&&F0()&&(!F0()||iV()||cK||dK?a=null:(a=new o1(this,{qc:this.$f,view:this.view}),a.start()),this.uw=a,POa(this))}};
3652h.K=function(){s1.D.K.call(this);if(0>this.g.Sk&&2!=this.g.ud){var a=lZ(iW(this.g));NZ(this.g,a.toString())}this.view.K(this.g.ud,iW(this.g),this.g.j,sV(this.g),this.g.yl,this.Yi,this.BA,this.TG,this.Qd,this.ae,this.Go,this.L,this.u,this.ea,xLa(this.g),this.g.mb,this.g.Pb,this.g.Sk,this.Hv,this.h,this.j);this.g.m=this.view.g;this.g.M=this.m;this.g.pe()&&this.g.xr(this.Qb);this.g.start();this.sM();a={root:this.view.lg,rootMargin:"0px",threshold:.5};this.Xi=La.IntersectionObserver?new La.IntersectionObserver(bb(this.xZ,
3653this),a):void 0;this.view.s&&D(this.view.s,this.view.s.Be(),this.SA,void 0,this)};h.$=function(){s1.D.$.call(this);this.view.Ds&&Mx(this.view.Ds,"action",this.VI,void 0,this);this.Xi&&(this.Xi.disconnect(),this.Xi=null);(this.h||this.$m)&&B0(!1);this.uw&&this.uw.$()};h.Tf=function(){s1.D.Tf.call(this);YU();this.g.stop()};
3654h.VI=function(){if(!QOa(this)||confirm("WARNING! This will add a new formal amendment to the document. If you wish to make a correction only and avoid creating an amendment, go back to the student's Documents list, select this document, and choose Actions > Incomplete. Note that this action can only be taken by an administrative user to ensure administrative oversight.")){this.ka("na",this.WI,this);var a=++RQ;dV(this,a,"amend");wQ(a,2,this.$f,void 0,void 0,void 0,!1,void 0,!0)}};
3655h.WI=function(a){eV(this,a.Va()?a.Sa():null,"amend")?(a=NE(a)[0],a=a.pg()?a.ef():null,null!=a?rw(A("doc_error"),a):(a=nH,a.s&&a.s.h.view.ov(!1),cM(),(a=wM)&&a.nc(!1))):this.ka("na",this.WI,this)};h.bV=function(){BZ?(this.ka("Pa",this.AQ,this),document.activeElement.blur()):this.AQ()};h.AQ=function(){this.ka("gb",this.cV,this);ROa()};h.cV=function(a){this.ka("S",this.yJ,this);var b=++RQ;dV(this,b,"cfe");ACa(b,[this.$f],a)};
3656h.yJ=function(a){if(eV(this,a.Va()?a.Sa():null,"cfe")){a=NE(a)[0];var b=a.pg()?a.ef():null;null!=b?rw(A("doc_error"),b):(a=rF(a),window.location.href="/iep/#pageName=form&docId="+a+"&formId="+sV(this.g))}else this.ka("S",this.yJ,this)};h.BQ=function(a,b){w(b)?SOa(this,b):BZ?(this.ka("Pa",this.cT,this),document.activeElement.blur()):this.cT()};h.cT=function(){var a=nH;0!=IZ.g.length?a.qt(void 0,!0):SOa(this)};
3657function SOa(a,b){var c=void 0;w(b)&&(c=new Map,c.set("override_reason",b));DQ(a,"na","complete",function(d){return qQ(d,"Md","Ed",!0,[a.$f],c)},function(d){return TOa(a,d,!0)},a)}h.pM=function(){var a=this;DQ(this,"na","incomplete",function(b){return qQ(b,"Md","Ed",!1,[a.$f])},function(b){return TOa(a,b,!1)},this)};
3658function TOa(a,b,c){b=NE(b)[0];var d,e=S(b,pB,21);b.pg()?d=b.ef():0<e.length&&(d="There were validation errors in sections not shown.");null!=d?rw(A("doc_error"),d):(d=nH,d.s&&d.s.h.view.ov(c),d=new YL(La.location.hash.substr(1)),dM(mH,d,!0),F0()&&c&&XNa(new O0([a.$f],a.j,[],null),!1))}h.zV=function(a){var b=a.Mc();a="another user";0<b.length&&null!=I(b[0],5)&&null!=I(b[0],6)&&(a=b[0].Fb()+" "+b[0].Hb());b="complete";this.$p&&(b="incomplete");xZ("This document has been marked "+b+" by "+a);cM()};
3659h.SD=function(a,b){if(a==this.g.Uj){""==b&&(this.g.m.w().scrollTop=0);for(var c=0;c<this.g.g.length;c++)a=this.g.g[c],Jw(a.T),a.T=null,a.getKey()==b&&DV(a);AM.W(!0)}else{this.view.sd();c=this.g.j;var d=sV(this.g),e=iW(this.g);this.g.stop();this.g=this.vC();this.g.m=this.view.g;MZ(this.g,e);this.g.j=c;this.g.Wi=d;0<a&&(vLa(this.g,a),this.l=a.toString());XU&&KZ(this.g,"read");b&&""!=b&&(this.g.me=b);POa(this);AM.W(!1);ZU();this.ka("ha",this.Lm,this);e=++RQ;dV(this,e,"reload");b=void 0;0<a&&(b=a);rQ(e,
3660d,void 0,void 0,this.g.j,b);this.ka("wb",this.aE,this);e=++RQ;dV(this,e,"reload");LQ(e,0,{Ac:d});d=++RQ;dV(this,d,"reload");AQ(d,!1,void 0);d=++RQ;dV(this,d,"reload");AQ(d,!0,void 0);this.ka("na",this.SG,this);0==a&&this.ka("na",this.SS,this);a=++RQ;dV(this,a,"reload");wQ(a,0,c,void 0,void 0,void 0,void 0,void 0,void 0,b)}};
3661function EOa(a,b,c){for(var d=m(a.s),e=d.next();!e.done;e=d.next()){e=e.value;if(e.version<b)return e.element.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest",container:"nearest"}),null;if((!c||c(e))&&e.version==b)return a.va!=e.element&&e.element.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest",container:"nearest"}),UOa(a,e.element),e}b=a.s.length;0<b&&a.s[b-1].element.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest",container:"nearest"});return null}
3662function IOa(a){var b=a.view.s.Cc().map(function(c){switch(c){case "Edits":return a.Cp.FT;case "Views":return a.Cp.VT;case "Permission Changes":return a.Cp.MT;case "Translations":return a.Cp.ST;default:return a.Cp.UT}});b.push(a.Cp.CT);return b}function u1(a){var b=hw("Ew");b.style.display="";b&&a.Xi&&a.Xi.unobserve(b);b=a.zm;var c=++RQ;a.view.s.W(!1);var d=IOa(a);DCa(c,a.$f,b,d)}function POa(a){F0()&&D(a.g,"scroll_bottom",function(){return g1(a.view,!0)})}
3663function LOa(a,b){if(!a.view.va){var c=a.view,d=ay(nOa);c.va=TP(d,void 0,void 0,1);d=h1();d||(d=by(oOa),MH(c.T,1).w().appendChild(d),D(d.querySelector("[data-tag=expand_history]"),"click",c.AS,void 0,c));d=d.querySelector("[data-tag=button]");c.va.render(d);c.h=new mU("Scroll to the bottom before signing");c.h.l=d;c.h.Ko(d.parentNode,d);g1(c,!1);c.g.w().classList.add("bx");k1(c);a.view.va.J("action",b)}}function JOa(a,b){a.view.s.Pz(b,!0)}
3664function VOa(a,b,c){var d=c;d||(d={});d.version||(d.version=0);void 0===d.oH&&(d.oH=!0);if(b)b=hw("yx"),a.view.lg=tOa(a.view),b.appendChild(a.view.lg),j1(a.view,d.oH),a.view.s&&(D(a.view.s,a.view.s.Be(),a.SA,void 0,a),d.eL&&JOa(a,d.eL)),u1(a),b=ew("BODY")[0],a.J(b,"click",function(e){return v1(a,e.target)},void 0,a),AK.ba("Q",d.version);else{b=ew("BODY")[0];Mx(b,"click",function(e){return v1(a,e.target)},void 0,a);if(a.$m)return AOa(),a.Bd;Mx(a.view.s,a.view.s.Be(),a.SA,void 0,a);setTimeout(function(e){sOa(e);
3665AK.ba("Q",d.version)},300,a.view);WOa(a)}return!0}function w1(a,b,c,d){if(!b||""==b.Ic().trim())return null;var e=m(XOa(c));c=e.next().value;e=e.next().value;
3665if(!b||""==b.Fb().trim()&&""==b.Hb().trim()&&""==b.Ic().trim())b=null;else{var f=[b.Fb(),b.Hb()].join(" ").trim();""==f&&(f=b.Ic());var g=xV(b);b=ay(e1,{name:f,cd:b.Ic(),color:g.Ed,pF:"userdot",lS:c,mS:e,Z8:d})}if(!b)return null;(d=b.querySelector("span.Gk"))&&nU(d,a.view.pc);return b}
3666function YOa(a,b,c,d){for(var e=c;e<b.length&&b[e].getKey()==b[c].getKey()&&L(b[e],13,0)==L(b[c],13,0);e++){d.Vq=e;var f=w1(a,IF(b[e]),LF(b[e]));null!=f&&(d.wi.push(f),d.Qo.has(IF(b[e]).dc())||(d.Qo.add(IF(b[e]).dc()),d.wo.push(w1(a,IF(b[e]),LF(b[e])))))}}function WOa(a){a.Xi.disconnect();a.zm=2147483647;a.s=[];a.T=[];a.history=null;i1(a.view,!0)}
3667function ZOa(a,b,c,d,e){var f=""==b.getKey()?void 0:b.getKey();b=KF(b);var g=c.querySelector("div.ow"),k=c.querySelector("div.Hw");e?(d=B("DIV","Kw",d),d.style.display="none",D(k,"click",bb(a.Zn,a,g,b,"")),D(k,"click",bb(a.f9,a,d)),c.appendChild(d)):D(k,"click",bb(a.Zn,a,g,b,f))}function $Oa(a){if(!a||""==a.Fb().trim()&&""==a.Hb().trim()&&""==a.Ic().trim())return null;var b=[a.Fb(),a.Hb()].join(" ").trim();""==b&&(b=a.Ic());var c=a.Ic();a=xV(a).Ed;return{name:b,cd:c,color:a}}
3668function XOa(a){var b=m([null,null]),c=b.next().value;b=b.next().value;switch(a){case "guardian":c="home";b="Guardian user";break;case "nondistrict":c="apartment",b="Non-district staff"}return[c,b]}function x1(a,b){a=new Date(1E3*a);var c=a.getFullYear()==(new Date(Date.now())).getFullYear()?"":a.getFullYear()+" ",d={hour:"numeric",minute:"2-digit"};iK()&&!b&&(d.timeZone="UTC");return a.toLocaleDateString("en-US",{month:"long",day:"numeric"})+", "+c+a.toLocaleTimeString([],d)}
3669function y1(a,b,c){var d=hw("nw");d?d.appendChild(b):(a=Error("entryContainer not found. docID: "+a.$f+", oid: "+a.TG+", version: "+c),a.name="entryContainer not found",CK.g(a))}function p1(a,b,c){b||(b=a.history);a=b?fz(b,2,!1):!1;return fz(c,16,!1)?"Amendment #"+L(c,17,0):a?"Original":"Document"}
3670h.i0=function(a){var b=this.view;if(b.lg&&"0px"!==b.lg.style.minWidth){this.history=N(a,nC,30);var c=S(this.history,mC,1);if(c){for(var d="Edit; created; completed; incompleted; deleted & completed;Document undeleted;Document viewed".split(";"),e="",f=0;f<c.length;f++){var g=c[f],k=KF(g),l=d[JF(g)],n=""==g.getKey()?void 0:g.getKey();g.getDescription().indexOf(">");var q=l1(x1(g.getTime()));aPa(g.getTime());var t=w1(this,IF(g),LF(g));B("DIV","sgVersionItem");B("DIV","Hw");switch(JF(g)){case 0:var u=
3671f,v=S(this.history,mC,1),y={};y.Qo=new Set;y.wo=[];y.Vq=u;y.wi=[];y.Tw=[];y.Kj=new Set;var G=w1(this,IF(v[u]),LF(v[u]));null!=G&&(y.wo.push(G),y.Qo.add(IF(v[u]).dc()));for(var K=u;K<v.length;K++){y.wi=[];y.Vq=K;if(JF(v[K])!=JF(v[u])||L(v[K],13,0)!=L(v[u],13,0))break;var J=v[K],O=y,P=J.getDescription().trim(),Q=P,R=P.split(">");1<R.length&&(Q=R[R.length-1],P=R[1]);Q=fz(J,15,!1)?"Deleted: "+Q:Q;P=isNaN(P)?P:"Section "+P;O.Kj.has(P)||O.Kj.add(P);var aa=by(jOa,{title:Q,Lb:null});O.wi.push(aa);YOa(this,
3672v,K,y);var fa=void 0,za=v[K],Aa=y;sV(this.g);var Va=by(kOa,{}),Ja=Va.querySelector("div.ow");Ja.append.apply(Ja,ka(Aa.wi));fa=Va;var ab=fa.querySelector("div.ow");ab.append.apply(ab,ka(Aa.wi));fz(za,15,!1)||D(fa.querySelector("div.Hw"),"click",bb(this.Zn,this,ab,KF(za),za.getKey()));Aa.Tw.push(fa);u=K=y.Vq}var Xa=void 0,Na=v[u],Xb=y,Lb=KF(Na),Mb=1<Xb.Tw.length;if(Mb)Xa=Array.from(Xb.Kj).join(", ").trim();else{Xa=Na.getDescription().trim();if(0<=Xa.indexOf(">")){var xb=Xa.split(">")[0].trim();xb=isNaN(xb)?
3673xb:"Section "+xb;Xa=xb+": "+Xa}Xa=fz(Na,15,!1)?"Deleted: "+Xa:Xa}var zc=m1(Na,Xa,sV(this.g),Mb,!1),he=l1(x1(Na.getTime())),Lc=zc.querySelector("div.ow");Lc.append.apply(Lc,[he].concat(ka(Xb.wo)));var Hd=[];z1(this,Hd,Na,Lb);var ie=A1(this,Hd);zc.querySelector("div.Hw").appendChild(ie);ZOa(this,Na,zc,Xb.Tw,Mb);y1(this,zc,KF(v[u]));f=u;break;case 6:var jd=f,Wd={};Wd.Qo=new Set;Wd.wo=[];Wd.Vq=jd;Wd.wi=[];Wd.Tw=[];Wd.Kj=new Set;var nh=c[jd],oi=Wd,Ki=w1(this,IF(nh),LF(nh));if(null!=Ki){var tk=l1(x1(nh.getTime()));
3674oi.wi.push(tk);oi.wi.push(Ki);oi.Qo.has(IF(nh).dc())||(oi.Qo.add(IF(nh).dc()),oi.wo.push(Ki))}var Li=c[jd],bd=Wd,Cj=Li.getDescription().trim();bd.Kj.has(Cj)||bd.Kj.add(Cj);var hf=Li;var Ze=by(jOa,{title:hf.getDescription().trim(),Lb:LF(hf)});var uk=Ze.querySelector("span.Gk");uk&&nU(uk,this.view.pc);bd.wi.push(Ze);var Eg=c[jd],xl=Wd,Vm=KF(Eg),Mf=Eg.getDescription().trim().endsWith("Deleted")?!1:!0;Mf=Eg.getDescription().trim().endsWith("In Progress")?!1:Mf;var pi=[];Mf&&B1(this,pi,"delete_translation",
3675Eg,Vm);var yl=A1(this,pi);gx(yl,"Pw");var Rh=m1(Eg,Eg.getKey(),sV(this.g),!1,!1),oh=Rh.querySelector("div.ow");oh.append.apply(oh,ka(xl.wi));var Sh=Rh.querySelector("div.Hw");Sh.appendChild(yl);D(Sh,"click",bb(this.Zn,this,oh,KF(Eg),Eg.getKey()));y1(this,Rh,KF(c[jd]));f=jd;break;case 7:var ph=f,qi={};qi.Qo=new Set;qi.wo=[];qi.Kj=new Set;for(var Jd=ph;Jd<c.length;Jd++){qi.wi=[];qi.Vq=Jd;if(JF(c[Jd])!=JF(c[ph])||L(c[Jd],13,0)!=L(c[ph],13,0))break;YOa(this,c,Jd,qi);ph=Jd=qi.Vq}var qh,lg=c[ph],Dj=qi,
3676mg=KF(lg),Wm=lg.getDescription().trim(),vk=m1(lg,Wm,sV(this.g),!1,!1),Ej=vk.querySelector("div.ow"),Eo=vk.querySelector("div.Hw"),Fj=l1(x1(lg.getTime()));Ej.append.apply(Ej,[Fj].concat(ka(Dj.wo)));D(Eo,"click",bb(this.Zn,this,Ej,mg,""));
3676(qh=vk)&&y1(this,qh,KF(c[ph]));f=ph;break;case 9:case 8:for(var Ac=f,Kd={CR:[]},rh=Ac;rh<c.length&&JF(c[rh])==JF(c[Ac])&&L(c[rh],13,0)==L(c[Ac],13,0);rh++){var Gj=c[rh];if(N(Gj,rB,21).dc()){Kd.title?Kd.title!==Gj.getDescription().trim()&&(8==JF(Gj)?Kd.title="Document permissions modified":
3677Kd.title="Document re-shared"):Kd.title=Gj.getDescription().trim();var zl=void 0,Mi=void 0,sh=Gj,Oq=$Oa(N(sh,rB,21));if(Oq){var Hj=LF(sh);if(2==Hj.split("|").length){var Al=m(Hj.split("|"));Mi=Al.next().value;zl=Al.next().value}else{var Ij=m(XOa(Hj));Mi=Ij.next().value;zl=Ij.next().value}var Xm=null!=I(sh,22)?rR(L(sh,22,0),!!Hj):null,Pq=null!=I(sh,23)?rR(L(sh,23,0),!!Hj):null;var th={$r:Oq,icon:Mi,Lb:zl,YE:Xm,OE:Pq}}else th=null;th&&Kd.CR.push(th)}Ac=rh}var Jj=c[Ac],wk=Kd,Bl=$Oa(IF(Jj));if(Bl){var Qq=
3678KF(Jj),Ym=wk.title,Ni=x1(Jj.getTime());sV(this.g);for(var xk=by(mOa,{title:Ym,time:Ni,FI:Bl,DR:wk.CR}),Oi=m(xk.querySelectorAll("span.Gk")),Xg=Oi.next();!Xg.done;Xg=Oi.next())nU(Xg.value,this.view.pc);var Cl=xk.querySelector("div.Hw"),Dl=xk.querySelector("div.ow");Cl&&D(Cl,"click",bb(this.Zn,this,Dl,Qq,""));var Th=xk}else Th=null;Th&&y1(this,Th,KF(c[Ac]));f=Ac;break;default:if(yF(AF).includes(49)){var El=e,jf=f,Rq=F0(),nd=c[jf],yk=KF(nd),uh="Edit; created; completed; incompleted; deleted;Document undeleted;Document viewed".split(";")[JF(nd)];
3679nd.getDescription().indexOf(">");aPa(nd.getTime());var ht=p1(this,this.history,nd);"Document undeleted"!=uh&&(uh=ht+uh);var Zm=[];0<=uh.indexOf("Amendment")&&0<=uh.indexOf("created")&&B1(this,Zm,"remove",nd,yk);0>uh.indexOf("Amendment")&&0<=uh.indexOf(" completed")&&z1(this,Zm,nd,yk);Rq&&fz(nd,25,!1)&&B1(this,Zm,"acknowledge",nd,yk);var zk=N(nd,BB,18);if(zk){var Sq=L(zk,5,0);if(1==Sq)""!=L(zk,3,"").trim()&&(uh="Transferred from "+L(zk,3,""));else if(2==Sq){uh="Created from existing document";var tw=
3680L(zk,4,"");B1(this,Zm,"navigate",nd,yk,tw)}}var it=!1;El!=ht&&0<uh.indexOf(" completed")&&(it=!0,El=ht);var Tq=nd;if(0==S(Tq,WC,24).length)var Uq=[];else{for(var Vq=by(hOa,{K_:3==this.Yi}),uw=Vq.querySelector("[data-tag=signatures]"),Fo=m(S(Tq,WC,24)),Go=Fo.next();!Go.done;Go=Fo.next()){var Ak=Go.value,Ho=0!=L(Ak,4,0),Fl=Ak.Gf(),Gl="",Io=void 0;if(Ho)Gl=x1(L(Ak,4,0),!0);else if(null!=I(Ak,5)&&fz(N(Ak,VC,5),2,!1)){var vw=N(Ak,VC,5);Gl="Closed";b:{var jt=L(vw,4,0),Jo=N(vw,rB,6),ng="System";Jo&&""!=
3681Jo.Fb()&&(ng=Jo.Fb()+" "+Jo.Hb());switch(jt){case 1:var Wq="Removed from student team by "+ng;break b;case 2:Wq="Removed from document acknowledgers by "+ng;break b;default:Wq="Unrecognized action by "+ng}}Io="Acknowledgement no longer required. Reason: "+Wq}else if(Fl.pg()){var kt=BOa(Fl);Gl=kt.Wk;Io=kt.Lb}var Xq=by(gOa,{text:Gl,Lb:Io}),lt=Xq.querySelector("[data-tag=sign_img]");if(Ho){if(this.g){var Ko=new HY(this.g);Ko.render(lt);Ko.setValue(L(Ak,1,""))}}else jx(lt,"U",!0);if(Io){var mt=Xq.querySelector("span.Gk");
3682mt&&nU(mt,this.view.pc)}Xq.querySelector(".Xd").append(w1(this,Ak.Gf(),"",!0));uw.appendChild(Xq)}var nt=Vq.querySelector("[data-tag=add_acker]");nt&&D(nt,"click",qOa(this.g.j,this.Yi,this.j));Uq=[Vq]}var ww=0<Uq.length,$m=m1(nd,uh,sV(this.g),ww,it),Zz=l1(x1(nd.getTime())),xw=w1(this,IF(nd),LF(nd)),Yq=$m.querySelector("div.ow");Yq.appendChild(Zz);null!=xw&&Yq.appendChild(xw);var yw=A1(this,Zm);$m.querySelector("div.Hw").appendChild(yw);ZOa(this,nd,$m,Uq,ww);var ot=hw("nw");ot&&ot.appendChild($m);
3683this.s.push({version:yk,uF:nd,element:Yq});e=El}else{var Zq=p1(this,this.history,g);"Document undeleted"!=l&&(l=Zq+l);var Pi=[];0<=l.indexOf("Amendment")&&0<=l.indexOf("created")&&B1(this,Pi,"remove",g,k);0>l.indexOf("Amendment")&&0<=l.indexOf(" completed")&&z1(this,Pi,g,k);var Lo=N(g,BB,18);if(Lo){var pt=L(Lo,5,0);if(1==pt)""!=L(Lo,3,"").trim()&&(l="Transferred from "+L(Lo,3,""));else if(2==pt){l="Created from existing document";var an=L(Lo,4,"");B1(this,Pi,"navigate",g,k,an)}}var Mo=B("DIV","sw",
3684l);e!=Zq&&0<l.indexOf(" completed")&&(Mo.style.fontWeight="bold",e=Zq);var bn=B("DIV","Aw",Mo);bn.title=l;var cn=[bn,q];null!=t&&cn.push(t);var cd=B("DIV","ow",cn),qt=A1(this,Pi);var rt=B("DIV","Hw",[cd,qt]);var zw=B("DIV","Iw",rt);D(rt,"click",bb(this.Zn,this,cd,k,n));var No=hw("nw");No&&No.appendChild(zw);this.s.push({version:k,uF:g,element:cd})}}this.zm=this.zm>k?k:this.zm}var Hl=c.length,Il=hw("Ew"),$z=hw("dw");
3684if(Il&&$z)if(Il.style.display="",this.view.s&&this.view.s.W(!0),0==Hl){this.Xi&&this.Xi.disconnect();
3685var Oo=hw("Gw"),Po=zF();if(0==Po){var $q="Basic";var Qo="1 day of"}else 1==Po?(Qo="one week of",$q="Standard"):2==Po?(Qo="6 months of",$q="Plus"):(Qo="unlimited",$q="Pro");Oo.innerHTML=this.M?"End of document history":"End of version history";var st="SameGoal "+$q+" Edition includes "+Qo+" field edit history since feature introduction July 1, 2020, ",tt=!1,ar=this.view.s?this.view.s.Cc():[];if(ar.includes("Edits")||ar.includes("Views")||ar.includes("Permission Changes"))st+="views and permission changes since their addition February 18th, 2025, ",
3686tt=!0;tt&&(Oo.innerHTML+="<br><br>"+(st+'and all document events. <br><a href="https://samegoal.com/sm/features">Learn more</a>'))}else Il&&this.Xi&&this.Xi.observe(Il);AK.ba("P")}}};h.f9=function(a,b){if(null!=b&&(b.preventDefault(),!Zw(b.target,null,"zw",void 0)))return;b=""==a.style.display;var c=Zw(a,null,"Iw",void 0);c=hw("Lw",c);b?(ix(c,"Mw"),a.style.display="none"):(gx(c,"Mw"),a.style.display="")};
3687h.Zn=function(a,b,c,d){if(null!=d){d.preventDefault();if((d=Zw(d.target,null,"zw",void 0))&&(d=hw("Lw",d))&&""==d.style.visibility)return;if(this.$m){xZ("Please acknowledge the document before viewing another version.");return}}this.SD(b,c);a&&UOa(this,a)};
3688function UOa(a,b){a.va=b;a=gw("ow");for(var c=0;c<a.length;c++)a[c].style.backgroundColor="white";a=gw("Ow");for(c=0;c<a.length;c++)a[c].style.backgroundColor="white";a=gw("Qw");for(c=0;c<a.length;c++)a[c].style.backgroundColor="white";hw("lw").style.backgroundColor="white";b.style.backgroundColor="#e0f0ff";b=Mw(Qw(b));1<b.length&&(b[1].style.backgroundColor="#e0f0ff",b=hw("Qw",b[1]))&&(b.style.backgroundColor="#e0f0ff")}
3689h.xZ=function(a){a=m(a);for(var b=a.next();!b.done;b=a.next())b.value.isIntersecting&&u1(this)};h.SA=function(a,b){this.zm=2147483647;i1(this.view,!1);this.s=[];a=this.$m?this.g.Uj:0;b&&(a=b);AK.ba("Q",a);u1(this)};
3690function aPa(a){var b=new Date(Date.now()),c=b.getDay(),d=b.getDate(),e=b.getMonth();b=b.getFullYear();var f=new Date(1E3*a),g=f.getDay(),k=f.getDate(),l=f.getMonth(),n=f.getFullYear();a=hw("nw");g==c&&k==d&&l==e&&n==b?c="Today":0<c-g&&7>d-k&&l==e&&n==b?c=(new Intl.DateTimeFormat("en-US",{weekday:"long"})).format(f):l==e&&n==b?c="This month":(c=(new Intl.DateTimeFormat("en-US",{month:"long"})).format(f),n!=b&&(c+=" "+n.toString()));c=c.toUpperCase();d=z(c);!d&&a&&(d=B("DIV","Nw Iw",c),d.id=c,a.appendChild(d))}
3691function z1(a,b,c,d){if(!(L(a.history,3,0)>d)){var e=2147483647==a.zm;a.PA.has(d)||e||OOa(a)&&B1(a,b,"add",c,d)}}
3692function B1(a,b,c,d,e,f){var g=WJ,k="";switch(c){case "add":case "remove":k="add"==c?"Add amendment at this version":"Delete amendment";var l=bb(a.J9,a,c,e);break;case "navigate":k="View source document";l=bb(function(){window.open("#pageName=form&docId="+f+"&formId="+sV(this.g),"source document")},a);break;case "delete_translation":g=3==a.Yi||OJ==L(N(d,EC,1001),14,"");k="Delete this translation";l=bb(a.YV,a,d);break;case "acknowledge":F0()&&void 0!==e?(g=1<=(a.Yi?a.Yi:0),k="Acknowledge this version",
3693l=function(){COa(a.uw,{Pe:d,Jl:KF(d),time:d.getTime(),name:p1(a,a.history,d)});a.$m=!0}):g=!1}g&&b.push({label:k,listener:function(n){n.stopPropagation();v1(a,null);l()}})}function A1(a,b){if(0==b.length)return B("DIV","Ow");var c=b.map(function(f){return f.label}),d=m(uOa(c));c=d.next().value;var e=d.next().value;d=d.next().value;D(e,"click",a.I7,void 0,a);for(e=0;e<b.length;e++)D(d[e],"click",b[e].listener,void 0,a);a.T.push(c);return c}
3694h.I7=function(a){a.stopPropagation();a=Zw(a.target,null,"Ow",void 0);v1(this,a);a&&(a=hw("Rw",a))&&(a.style.display=""==a.style.display?"none":"")};function v1(a,b){a=m(a.T);for(var c=a.next();!c.done;c=a.next())c=c.value,"none"==c.style.display||null!=b&&c.contains(b)||(hw("Rw",c).style.display="none")}
3695h.YV=function(a){var b=KF(a);a=a.getKey();if(confirm("WARNING! Deleting this translation will remove this translation from the document. If the form is translated, the translation will be hidden. The field translations cannot be retrieved once the translation is deleted and must be re-translated.")){this.ka("Yc",this.rO,this);var c=++RQ,d=this.$f,e=new lB;EE(e,39);FE(e,c);c=new EC;M(c,1,d);M(c,2,a.toLowerCase());M(c,4,6);M(c,7,6);SF(c,0);M(c,3,b);T(e,35,c);eN(dN.getInstance(),e,!0)}};
3696h.J9=function(a,b){if("add"==a){if(confirm("WARNING! This will add a new formal amendment to the document. If you wish to make a correction only and avoid creating an amendment, go back to the student's Documents list, select this document, and choose Actions > Incomplete. Note that this action can only be taken by an administrative user to ensure administrative oversight.")){a=[];for(var c=m(this.PA.values()),d=c.next();!d.done;d=c.next())d=d.value,d<b&&a.push(d);a=new zZ(sV(this.g),this.g.s,a,this.g.yl);
3697c=nH;this.ka("Pa",bb(c.qt,c,a),c);this.ka("fb",bb(this.eU,this,b),this);iLa(a,this.g.g)}}else a=++RQ,ECa(a,this.$f,b,3);this.ka("R",this.rO,this)};h.eU=function(a){var b=++RQ;ECa(b,this.$f,a,1)};h.rO=function(){this.zm=2147483647;i1(this.view,!1);AK.ba("Q",0);u1(this)};
3698function OOa(a){var b;(b=3==a.Yi)&&!(b=QOa(a))&&(b=a.g.yl,b=2==L(KA(iW(a.g)),15,0)||"Reading Improvement and Monitoring Plan"==b||"Reading Improvement and Monitoring Plan (Fall 2016)"==b||"Reading Improvement and Monitoring Plan (Fall 2024)"==b);return b}
3699function QOa(a){var b=a.g.yl;return 1==L(KA(iW(a.g)),15,0)||"Individualized Education Program"==b||"Individualized Education Program (rev 2/2018)"==b||"Transfer Student Comparable Services Agreement"==b||"Full and Individual Evaluation"==b||"Review of Existing Evaluation Data"==b||"Review of Evaluation Data"==b||"Services Plan"==b||"Services Plan (rev 12/2017)"==b||"Section 504 Plan"==b||"IEP Progress Report"==b||"Transportation Request"==b||"Section 504 Transportation Request"==b||"Tier 2 RTI Plan"==
3700b||"Tier 3 RTI Plan"==b||"Tier 2 RTI Progress Report"==b||"Tier 3 RTI Progress Report"==b||"Section 504 Progress Report"==b||"IFSP Progress Report"==b||"Services Plan Progress Report"==b||"Transfer Agreement Progress Report"==b||"Individualized Family Service Plan"==b||"G/T Education Plan"==b||"G/T Education Plan Progress Report"==b||"LPAC Annual Review"==b||"Student Study Team Meeting Summary"==b||"SST Progress Report"==b||"Reevaluation Report"==b};function C1(a,b,c){s1.call(this,a,b,c);this.Vl=null}pa(C1,s1);h=C1.prototype;h.ep=function(a){var b=a.na("collectionId");if(!w(b))return h_(this),!1;this.g.j=b;b=a.na("formId");if(!w(b))return h_(this),!1;this.g.Wi=b;(b=a.na("sectionNum"))&&NZ(this.g,b);if(a=a.na("debug"))this.g.Cl="true"==a;return!0};
3701h.p2=function(a){this.Vl=N(N(a,$C,1011),XC,1001);if(sV(this.g)!=L(N(a,$C,1011),1,""))throw Error("mismatched form ids: "+sV(this.g)+" and "+L(N(a,$C,1011),1,""));a=sV(this.g);this.g.Cb=a;a={Eh:this.Vl.Se()};this.view.zB=a;this.Ya()};h.start=function(a){var b=this;this.ep(a)&&(this.ka("ha",this.Lm,this),a=++RQ,dV(this,a,"initial"),rQ(a,sV(this.g)),DQ(this,"Pc","initial",function(c){var d=b.g.j;return PCa(c,d?d:"")},this.p2,this),m_(this,!1))};h.vC=function(){return new D1};
3702h.sM=function(){var a=this;this.view.EB.J("action",function(){return bPa(a.g,!1)});this.view.JB.J("action",function(){return bPa(a.g,!0)});g_(this,"k",function(){a.view.ci=!1});g_(this,"m",function(){a.view.ci=!0})};function E1(){f1.call(this);this.JB=this.EB=null;this.zB={};this.ci=!0}pa(E1,f1);
3703E1.prototype.K=function(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O){this.ub("Bulk Edit "+e);gx(this.g.w(),"Pe");a=mZ(b);c=this.sn(c,d,e,a,k,l,n,q,t,[],J,O);X_(this,[c]);c=this.zB.Eh;this.EB=TP("Save & overwrite");this.JB=TP("Save over blanks only",void 0,void 0,1);d=z("save_button_wrapper");d||(d=by(pOa,{jb:e,Eh:c}),MH(this.T,1).w().appendChild(d));e=d.querySelector("[data-tag=button]");this.EB.Ko(e.parentNode,e);this.JB.render(e);this.g.w().classList.add("bx");YU();e=gw("student_info_tooltip",this.j.w());
3704c=0;for(d=e.length;c<d;c++)nU(e[c],this.j)};E1.prototype.sn=function(a,b,c,d,e,f,g,k,l,n,q,t,u){e="&collectionId="+Od(a);e+="&formId="+Od(b);w(q)||(q="");u&&(e+=u.Um);return ay(RMa,{jb:c,hx:e,Yk:d.length,sh:d,ll:q,Eh:this.zB.Eh,Vg:a})};E1.prototype.Xe=function(){return!this.ci};function D1(){GZ.call(this);this.Cb=""}pa(D1,GZ);h=D1.prototype;h.SH=function(){return!1};h.WS=function(){return!1};h.VS=function(){return!1};h.ER=function(){return!1};h.LS=function(){return this.Cb};h.IM=function(){return!0};
3705h.Fy=function(){return!1};h.bH=function(a){return GZ.prototype.bH.call(this,a)||!a.rm()};
3706h.WO=function(a,b,c){for(var d=++RQ,e=++RQ,f=[],g=[],k=0;k<b.length;k++){var l=a[k];l.rm()?(Pb(l.u,d),g.push(b[k])):l.Er()?CV(l):(Pb(l.u,e),f.push(b[k]))}0<g.length&&(AK.ba("z"),wCa(d,g,void 0,void 0,void 0,c));0<f.length&&(AK.ka("N",function(n){for(var q=new Set,t=m(LE(n)),u=t.next();!u.done;u=t.next())u=u.value,""==L(u,4,"")&&q.add(L(u,5,""));
3706t=pEa(n);u=t.Fu;q=u+" total edit"+(1==u?"":"s")+" made across "+(q.size+" document"+(1==q.size?"":"s")+".");if(0<t.Hh){q+="\n\n"+t.Hh+" edit"+((1==t.Hh?" was":
3707"s were")+" not applied.");for(var v in t.cm)q+="\n- "+v+" ("+t.cm[v]+")"}v=oR(n);if(0<v.Hh){q+="\n\n"+v.Hh+" document"+((1==v.Hh?"":"s")+" had errors.");for(var y in v.cm)q+="\n- "+y+" ("+v.cm[y]+")"}wZ(uZ.getInstance(),q);n=n.Sa();y=m(a);for(v=y.next();!v.done;v=y.next())v=v.value,Qb(v.u,n)&&CV(v)},this),vCa(e,f,c));return 0<g.length+f.length};function bPa(a,b){OZ(a,!1,void 0,b)||xZ("No edits to save.")}h.VO=function(){};h.FR=function(){return!1};
3708h.im=function(a){var b=a.g;switch(b.u?QA(b.u):null){case 26:return"read"}return GZ.prototype.im.call(this,a)};h.FE=function(){};function F1(a,b,c){f_.call(this,a,b,c)}x(F1,$_);h=F1.prototype;h.start=function(a){cPa(this,a);this.Ya()};function cPa(a,b){a.g="pageName=buildings_list";b=b.na("backToken");w(b)&&(b=b.split("*amp*").join("&"),a.g=b)}h.K=function(){F1.D.K.call(this);this.view.K(this.v,"#"+this.g)};h.jc=function(a){F1.D.jc.call(this,a);DQ(this,"pa","save",this.jQ(a),this.iQ,this)};h.jQ=function(a){return function(b){return PQ(b,1,void 0,!1,!1,a.name,a.DA,a.Fz,!1)}};h.iQ=function(a){this.Kd(a,"id",this.g,!0)};
3709h.yc=function(a){var b=PE(a)[0];this.v={};a=0;this.v.name=null!=I(b,2)?b.kb():null;this.v.DA=null!=I(b,8)?b.Dg():null;this.v.Fz=null!=I(b,4)?L(b,4,""):null;var c=null!=I(b,1001)?N(b,U,1001):null;null!=c&&(this.v.o1=c.getError(),a++);c=null!=I(b,1004)?N(b,U,1004):null;null!=c&&(this.v.k8=c.getError(),a++);b=null!=I(b,1002)?N(b,U,1002):null;null!=b&&(this.v.i5=b.getError(),a++);return a};function dPa(){return Y('<div class="'+Z("Lb")+'"><div class="'+Z("Jd")+'" style="padding: 10px;"><b>Building Information</b><br><div id="name_input"></div><div id="short_name_input"></div><div id="reporting_id_input"></div><div id="hide_checkbox"></div><br><div id="save_button"></div></div></div>')};function G1(){W_.call(this);this.h=this.u=this.M=this.Y=null}x(G1,W_);
3710G1.prototype.K=function(a,b){var c=!!a.name,d="Add Building";c&&(d="Update Building");this.ub(d);b=ay(c0,{title:d,Xb:b?b:"#pageName=buildings_list"});d=ay(dPa,{});X_(this,[b],d);this.Y=rX("* Building Name:");this.M=rX("Short Building Name:");this.u=rX("* State Reporting ID:");this.Y.render(z("name_input"));this.M.render(z("short_name_input"));this.u.render(z("reporting_id_input"));b=[this.Y,this.M,this.u];(d=this.M.h.w())&&d.setAttribute("maxlength","5");c&&(this.h=pX([{label:"",Oa:"inactive"}],"Inactive:"),
3711this.h.render(z("hide_checkbox")),b.push(this.h));d="Add Building";c&&(d="Update Building");Y_(this,b,void 0,d);a&&this.hd(a)};G1.prototype.$=function(){G1.D.$.call(this);C(this.Y);C(this.M);C(this.u);C(this.h)};G1.prototype.gc=function(){var a={};a.name=this.Y.getValue();a.DA=this.M.getValue();a.Fz=this.u.getValue();this.h&&(a.Qh=!!this.h.getValue());return a};
3712G1.prototype.hd=function(a){this.Y.setValue(a.name,a.o1);this.M.setValue(a.DA,a.k8);this.u.setValue(a.Fz,a.i5);this.h&&this.h.setValue(a.Qh?"inactive":void 0,void 0);a.Ht&&(this.u.W(!1),this.u.Nb.title="This ID was imported from your SIS and cannot be changed.",a.Qh||(this.h.W(!1),this.h.Nb.title="This building was imported from your SIS and becomes inactive automatically."))};function H1(a,b,c){f_.call(this,a,b,c)}x(H1,F1);function ePa(a,b){b=b.na("buildingId");if(!w(b))return h_(a),!1;a.nn=b;return!0}h=H1.prototype;h.start=function(a){var b=this;ePa(this,a)&&(cPa(this,a),DQ(this,"pa","initial",function(c){return PQ(c,0,b.nn)},this.m7,this))};h.iQ=function(a){this.Kd(a,"jd")};h.K=function(){H1.D.K.call(this)};h.m7=function(a){this.yc(a);this.Ya()};h.jQ=function(a){var b=this;return function(c){return PQ(c,2,b.nn,a.Qh,!1,a.name,a.DA,a.Fz)}};
3713h.yc=function(a){var b=H1.D.yc.call(this,a);a=PE(a)[0];this.v.Qh=fz(a,6,!1);this.v.Ht=fz(a,5,!1);return b};function I1(a){return{label:a.kb()+" ("+L(a,4,"")+")",Oa:a.bh()}};function J1(a,b,c){f_.call(this,a,b,c);this.Ab=[];this.g=[]}x(J1,$_);h=J1.prototype;h.Jc="caseload";h.kl=4;h.Eb="Z";h.Wj=50;h.Hl=0;h.Yr="many";h.ir=1;h.ze=!1;h.Dd=function(a){this.view.IB=this.Wj;var b=a.na("pageName");if(!w(b))return h_(this),!1;this.Jc=b;this.jm(a);return!0};h.jm=function(a){a=a.na("page");w(a)&&(this.ir=parseInt(a,10))};h.$=function(){J1.D.$.call(this);this.h&&this.ou()};function K1(a){D(a.view,"change",a.KZ,void 0,a)}function L1(a){D(a.view.Za,"page_changed",a.BJ,void 0,a)}
3714function M1(a){Mx(a.view.Za,"page_changed",a.BJ,void 0,a)}function N1(a){return(a.ir-1)*a.Wj}h.BJ=function(a){a=a.uP;w(a)||(a=1);this.Ud(a)};h.Ud=function(){};function O1(a,b){b=null!=I(b,13)?L(b,13,0):null;
3714null!==b&&(a.Hl=b,a.Yr=4294967295==b?"many":b.toString())}h.sd=function(a){if(!this.Bd){var b=this.ze;this.Wd(a);O1(this,a);this.view.sd(this.Ab,this.g);P1(this);a=b;this.Hl>this.Wj&&(this.h&&this.ou(),0==this.view.Di()||(a=!1),Q1(this,a))}};
3715function P1(a){var b=a.view.Za;b.Ar(a.Hl);r0(b,a.ir)}function Q1(a,b){b&&!a.h&&a.Hl>a.Wj&&fPa(a);a.ze=b;a.view.dispatchEvent(new Event("select_all",{enabled:b}));var c=a.aH();AM&&AM.W(c);a.Wv();if(a.h){c=a.h.w().querySelector("*[tag=selectAll]");var d=a.h.w().querySelector("*[tag=cancelSelection]");b?(a.h.rl(a.Yr),c.style.display="none",d.style.display=""):(b=a.Hl-N1(a),a.h.rl(""+(b<a.Wj?b:a.Wj)),c.style.display="",d.style.display="none")}}
3716h.ou=function(){Mx(this.h,"close",this.ou,void 0,this);this.h.Wg();this.h=null;Q1(this,!1)};function fPa(a){if(!a.h){a.h=vZ(uZ.getInstance(),cLa);D(a.h,"close",a.ou,void 0,a);a.h.w().querySelector("*[tag=totalCount]").textContent=4294967295==a.Hl?"":a.Yr;var b=a.h.w().querySelector("*[tag=selectAll]"),c=a.h.w().querySelector("*[tag=cancelSelection]");b.addEventListener("click",function(){return Q1(a,!0)});c.addEventListener("click",function(){return Q1(a,!1)})}Q1(a,a.ze);a.h.show()}
3717h.KZ=function(a){switch(a.state){case 0:this.Hl>this.Wj&&fPa(this);break;default:this.h&&this.ou()}};h.td=function(a){var b=this.zf();BQ(a,this.kl,b)};function V0(a,b){if(a.ze){var c=a.zf();gPa(a,c,b)}else{c=b.aq;if(!c){var d=b.Ke,e=b.bf,f=b.Qe;c=function(g){return qQ(g,d,e,f,a.view.wc(),b.XK,b.iL)}}b.iL?hPa(a,b,c):DQ(a,b.Jd,b.tag,c,function(g){return iPa(a,b,g)})}}function iPa(a,b,c){if(!b.eT||b.eT(c))b.aK?b.aK(c):b.Od&&a.X.ba(b.Od,c),DQ(a,a.Eb,b.tag,function(d){return a.td(d)},a.sd,a)}
3718function gPa(a,b,c){var d=mH.g.re(),e=void 0;if(c.bq)e=function(l){return c.bq(l,d)};else{var f=c.Ke,g=c.bf,k=c.Qe;e=function(l){var n=c.XK,q=new lB;FE(q,l);pQ(q,b,d,!0);aCa(q,f,g,k,["0"],n);eN(dN.getInstance(),q)}}hPa(a,c,e)}function hPa(a,b,c){DQ(a,b.Jd,b.tag,c,function(d){a.X.ba("nd",d)});DQ(a,b.Jd,b.tag,void 0,function(d){return iPa(a,b,d)},a)}h.Kv=function(){return!0};h.Wv=function(){var a=this.Kv();yM&&yM.W(a)};h.aH=function(){return!this.ze};function R1(a,b,c){J1.call(this,a,b,c);this.Eb="ca";this.kl=22}x(R1,J1);h=R1.prototype;h.start=function(a){var b=this;this.Dd(a)&&(ZL(a,"searchSelect")?(this.view.wl(a),DQ(this,this.Eb,"initial",function(c){return b.td(c)},this.n7,this)):(a=lH.object.re(),NK(a+"&searchSelect=false")))};h.n7=function(a){var b=this;this.j={};PE(a).forEach(function(c){return b.j[c.bh()]=c});this.Wd(a);O1(this,a);this.Ya()};
3719h.Wd=function(a){var b=[];var c=[],d=0;for(a=PE(a);d<a.length;d++){var e=a[d],f=e.bh(),g=e.kb(),k=L(e,4,""),l=fz(e,5,!1),n=fz(e,6,!1);e=fz(e,7,!1);b.push({wb:f,nn:f,name:g,IF:k,Ht:l,Qh:n,uc:e});c.push(f)}b=[b,c];Ob(this.Ab);this.Ab=b[0];this.g=b[1]};h.K=function(){R1.D.K.call(this);this.view.K(this.Ab,this.g);P1(this);L1(this);K1(this);g_(this,"Ca",this.p7,this);D(this.view.Bc(),"action",this.kQ,void 0,this)};h.$=function(){R1.D.$.call(this);M1(this);Mx(this.view.Bc(),"action",this.kQ,void 0,this)};
3720h.zf=function(){var a=S1();"true"==a.selected?a.selected=!0:"false"==a.selected?a.selected=!1:a.selected=void 0;return sCa(N1(this),void 0,a.Sc,a.mo,a.Df,a.selected)};h.p7=function(){this.Ud(1)};h.Ud=function(a){var b="&pageName=buildings_list",c=T1(this.view.Ak());""!=c.Sc&&(b+="&searchFirst="+encodeURIComponent(c.Sc));""!=c.mo&&(b+="&searchId="+encodeURIComponent(c.mo));c.Df&&(b+="&searchDeleted="+c.Df);void 0!==c.selected&&(b+="&searchSelect="+c.selected);1!=a&&(b+="&page="+a.toString());MK(b)};
3721h.kQ=function(a){var b=this;if(U1(this.view))if(a=a.target.getValue(),!(new Set(["Delete","Undelete"])).has(a)&&this.ze)this.X.ba("od");else if("Delete"==a)V0(this,{tag:"delete",Qe:!0,Od:"ed",Ke:"Qd",Jd:"pa",bf:"Dd"});else if("Undelete"==a)V0(this,{tag:"undelete",Qe:!1,Od:"fd",Ke:"Qd",Jd:"pa",bf:"Dd"});else if("Set Active"==a)V0(this,{tag:"activate",Qe:!0,Od:"gd",Ke:"Qd",Jd:"pa",bf:"Cd"});else if("Set Inactive"==a)V0(this,{tag:"inactivate",Qe:!1,Od:"hd",Ke:"Qd",Jd:"pa",bf:"Cd"});else{if("Merge"==
3722a){var c=this.view.wc().map(function(d){return I1(b.j[d])});vX(1,function(){return tX(c,"Keep:",0)},"Merge Buildings","Merge","Cancel",function(d){return jPa(b,d[0],b.view.wc())},"Select a building to keep. The other buildings will be merged into that building. All students and users belonging to those buildings will be assigned to the selected building.")}}else this.X.ba("Na")};function jPa(a,b,c){c=c.filter(function(d){return d!=b});DQ(a,"wa","merge",function(d){return MQ(d,57,b,c)},a.o7,a)}
3723h.o7=function(a){var b=this;(a=N(a,gC,22))&&this.X.ba("kd",L(a,3,""));DQ(this,this.Eb,"refresh",function(c){return b.td(c)},this.sd,this)};function V1(a,b,c){EH.call(this,c);this.$a=null==b?"":b;this.h=a}x(V1,EH);h=V1.prototype;h.Ra=function(){this.s=B("TEXTAREA","ml");this.s.placeholder=this.h;this.s.value=this.$a;""!=this.h&&(this.s.style.width=this.h.length+"ch");this.s.rows=1;this.j=this.s};h.K=function(){V1.D.K.call(this);D(this.s,"focusout",this.M6,void 0,this);D(this.s,"keydown",this.L6,void 0,this)};function kPa(a){var b=a.parse(a.s.value);a.$a!=b&&(a.$a=b,a.s.value=a.$a,a.dispatchEvent("change"))}
3724h.L6=function(a){a.shiftKey||13!=a.keyCode||(a.preventDefault(),kPa(this))};h.parse=function(a){var b=[];a=m(a.split(/[,\s]+/));for(var c=a.next();!c.done;c=a.next())b.push(c.value);return b.join(" ")};h.M6=function(a){!this.w().contains(a.relatedTarget)&&document.hasFocus()&&kPa(this)};function W1(a,b){V1.call(this,"Student ID(s): 1234, 5678, ...",a,b)}x(W1,V1);function X1(a){EH.call(this);this.mg=a.na("pageName");this.sb=this.Ha=this.Ub=this.yb=this.Ta=this.Ja=this.Bb=this.m=this.Na=this.Wa=this.M=this.Za=this.u=this.h=null;this.Kc=AK;this.l=void 0;this.Y=[];this.Z=this.mb=null;a=S1(a);this.Qd=a.Sc;this.ae=a.od;this.Hy=a.mo;this.fA=a.Df;this.eA=a.Ws;this.ww=a.dn;this.yy=a.Qh;this.ix=a.yn;this.l=a.Pf;this.$o=a.Qb;this.Yn=a.rf;this.un=a.pk;this.fl=a.roles;this.Vb=a.Qk;this.ac=a.selected;this.xd=yF(AF).includes(29)}x(X1,EH);h=X1.prototype;h.Qd="";h.ae="";
3725h.Hy="";h.$o=void 0;h.Yn=void 0;h.EC=void 0;h.un=void 0;h.fl=void 0;var lPa="";h=X1.prototype;h.fA=!1;h.eA=!1;h.ww=!1;h.yy=!1;h.ix=!1;
3726function S1(a){a||(a=mH.g);var b="",c="",d="",e="",f="",g=!1,k=!1,l=!1,n=!1,q=!1,t,u,v,y,G,K;ZL(a,"searchFirst")&&(b=a.na("searchFirst"));ZL(a,"searchLast")&&(c=a.na("searchLast"));ZL(a,"searchId")&&(d=a.na("searchId"));ZL(a,"searchIdList")&&(e=a.na("searchIdList"));ZL(a,"searchSelect")&&(f=a.na("searchSelect"));ZL(a,"searchDeleted")&&(g="true"==a.na("searchDeleted"));ZL(a,"searchCaseload")&&(k="true"==a.na("searchCaseload"));ZL(a,"searchAdmin")&&(l="true"==a.na("searchAdmin"));ZL(a,"searchInactive")&&
3727(n="true"==a.na("searchInactive"));ZL(a,"searchDocViewerOnly")&&(q="true"==a.na("searchDocViewerOnly"));ZL(a,"searchTranslatorOnly")&&(t=a.na("searchTranslatorOnly"));ZL(a,"searchPrograms")&&(u=a.na("searchPrograms").split(","));ZL(a,"searchBuildings")&&(v=a.na("searchBuildings").split(","));ZL(a,"searchGrades")&&(y=a.na("searchGrades").split(","));ZL(a,"searchDeadlines")&&(G=a.na("searchDeadlines").split(","));ZL(a,"searchRoles")&&(K=a.na("searchRoles").split(",").filter(function(J){return 0!=J.length}));
3728return{Sc:b,od:c,mo:d,Qk:e,selected:f,Df:g,Ws:k,dn:l,Qh:n,yn:q,t9:t,Pf:u,Qb:v,rf:y,pk:G,roles:K}}
3729h.K=function(){X1.D.K.call(this);var a=this.mg;if("instance_forms_list"==a||"instance_banks"==a)a=ay(YMa),this.w().appendChild(a),Y1(this),Z1(this);else if("users_list"==a)mPa(this);else if("objects_list"==a){a=ay(XMa,{YD:!0,tF:1<this.Y.length});this.w().appendChild(a);this.u=rX("Last name:",100);this.u.render(z("search_field_1"));zN(this.u,"student last name");this.u.setValue(this.ae);this.h=rX("First name:",100);this.h.render(z("search_field_2"));this.h.setValue(this.Qd);a=z("filter_students_box");
3730null!=a&&(this.Z=new W1(this.Vb),this.Z.render(a),D(this.Z,"change",this.gv,void 0,this));Y1(this);this.Wa=AU([{label:"Caseload Only",Oa:"caseload"}]);this.Wa.render(z("caseload_cb"));this.eA&&this.Wa.setValue("caseload");nPa(this);this.Ta=new cQ("Grades",{"":this.Cb?this.Cb:[]},this.Yn?this.Yn:null,void 0,"grades",void 0,"No Grade Entered");this.Ta.render(z("search_field_grade"));this.yb=new cQ("Deadlines",{"":this.EC?this.EC:[]},this.un?this.un:[],void 0,"deadlines",void 0,void 0,"Deadlines");this.yb.render(z("search_field_deadline"));
3731this.m=AU([{label:"Include inactive",Oa:"inactive"}]);this.m.render(z("inactive_cb"));this.yy&&this.m.setValue("inactive");1<this.Y.length&&(this.mb=new cQ("Programs",{"":this.Y?this.Y:[]},this.l?this.l:null,void 0,"programs",void 0,"No Program"),this.mb.render(z("search_field_4")));if(a=z("inactive_cb_info"))this.$b=new mU,this.$b.ue(a);Z1(this);this.u.focus();"deleted"==this.M.getValue()&&(this.m.setValue("inactive"),this.m.W(!1));D(this.M,"change",this.a_,void 0,this)}else if("enrollment_programs_list"==
3732a)a=ay(YMa),this.w().appendChild(a),Y1(this),Z1(this);else if("buildings_list"==a)oPa(this);else return;D(z("search_form"),"submit",this.gv,void 0,this)};function pPa(a){var b=z("search_field_3");null!=b&&(a.Z=new V1("Emails: [email protected], ...",a.Vb),a.Z.render(b),D(a.Z,"change",a.gv,void 0,a))}function Z1(a){var b=qN(FN,"vl");a.sb=TP("Search",void 0,b,void 0,1);a.sb.ue(z("search_button"))}
3733function mPa(a){var b=ay(WMa);Dw(a.w(),b);a.u=rX("Last name:",100);a.u.render(z("search_field_1"));zN(a.u,"user last name");a.u.setValue(a.ae);a.u.focus();a.h=rX("First name:",100);a.h.render(z("search_field_2"));zN(a.h,"user first name");a.h.setValue(a.Qd);pPa(a);nPa(a);b=a.jd;w(a.fl)&&(b=a.fl.map(function(c){return a.me.get(c)}));a.Ub=new cQ("Roles",{"":a.jd},b,void 0,"roles");a.Ub.render(z("search_field_role"));Y1(a);a.xd&&qPa(a);a.Na=AU([{label:"Admin",Oa:"admin"}]);a.Na.render(z("admin_cb"));
3734a.ww&&a.Na.setValue("admin");Z1(a)}h.a_=function(){"deleted"==this.M.getValue()?(lPa=this.m.getValue(),this.m.setValue("inactive"),this.m.W(!1)):(this.m.setValue(lPa),this.m.W(!0))};
3735function oPa(a){function b(){var d="deleted"==a.M.getValue(),e=void 0!==a.ac?a.ac:"false";d?(a.Ha.setValue(""),a.Ha.W(!d)):(a.Ha.W(!d),a.Ha.setValue(e))}var c=ay(XMa,{YD:!1,tF:!1});Dw(a.w(),c);a.h=rX("Name:",100);a.h.render(z("search_field_1"));a.h.setValue(a.Qd);zN(a.h,"student first name");a.Za=rX("Reporting ID:",100);a.Za.render(z("search_field_2"));a.Za.setValue(a.Hy);a.Ha=uX([{label:"Active",Oa:"false"},{label:"Inactive",Oa:"true"},{label:"All",Oa:""}]);a.Ha.render(z("search_field_3"));Y1(a);
3736Z1(a);b();D(a.M,"change",function(){return b()},void 0,a)}function Y1(a){a.M=AU([{label:"Deleted",Oa:"deleted"}]);a.M.render(z("deleted_cb"));a.fA&&a.M.setValue("deleted")}function qPa(a){a.Bb=AU([{label:"Doc Viewer Only",Oa:"doc_viewer_only"}]);a.Bb.render(z("doc_viewer_only_cb"));a.ix&&a.Bb.setValue("doc_viewer_only")}function nPa(a){var b=null;a.$o&&(b=a.$o.filter(function(c){return""!=c}));a.Ja=new fQ("Buildings",a.Yd,b,void 0,"buildings");a.Ea(a.Ja);a.Ja.render(z("search_field_building"))}
3737h.$=function(){X1.D.$.call(this);C(this.h);C(this.u);C(this.Za);C(this.M);C(this.Wa);C(this.m);C(this.$b);C(this.sb);C(this.Ta);C(this.yb);C(this.mb)};h.gv=function(a){a.preventDefault();this.Kc.ba("Ca")};
3738function rPa(a){null!==a.h&&(a.Qd=a.h.getValue());null!==a.u&&(a.ae=a.u.getValue());null!==a.Za&&(a.Hy=a.Za.getValue());null!==a.M&&(a.fA="deleted"==a.M.getValue());null!==a.Wa&&(a.eA="caseload"==a.Wa.getValue());null!==a.Na&&(a.ww="admin"==a.Na.getValue());null!==a.m&&(a.yy="inactive"==a.m.getValue());null!==a.Bb&&(a.ix="doc_viewer_only"==a.Bb.getValue());null!==a.Ja&&(0===a.Ja.Cc().length?a.$o=void 0:a.Ja.mi()?a.$o=void 0:a.$o=a.Ja.Cc());null!==a.Ta&&(0===a.Ta.Cc().length?a.Yn=void 0:a.Ta.mi()?
3739a.Yn=void 0:a.Yn=a.Ta.Cc());null!==a.yb&&(a.un=a.yb.Cc(),0==a.un.length&&(a.un=void 0));null!==a.Ub&&(a.Ub.mi()?a.fl=void 0:a.fl=a.Ub.Cc().map(function(b){return a.oe.get(b)}));null!==a.mb&&(a.mb.mi()?a.l=void 0:a.l=a.mb.Cc());null!==a.Z&&(a.Vb=a.Z.$a);null!==a.Ha&&(a.ac=a.Ha.getValue())}function T1(a){rPa(a);return{Sc:a.Qd,od:a.ae,mo:a.Hy,Df:a.fA,Ws:a.eA,Qh:a.yy,Pf:a.l,Qb:a.$o,roles:a.fl,dn:a.ww,Qk:a.Vb,selected:a.ac,rf:a.Yn,pk:a.un,yn:a.ix}}
3740function sPa(a,b,c,d,e,f,g){b&&(a.Yd=b);c&&(a.jd=c.concat(["no role assigned"]));d&&(a.me=d);e&&(a.oe=e);f&&(a.Cb=f.map(function(k){return L(k,1,"")}));g&&(a.EC=g.map(function(k){return L(k,1,"")}))};function $1(){W_.call(this);this.l=this.L=null;this.$b=[];this.IB=50}x($1,W_);
3740function a2(a,b){a.Za=new q0(a.IB);w(b)&&(a.Za.cr=b);b=z("pagination_widget");b.innerHTML="";a.Za.render(b)}function b2(a){C(a.Za)}function c2(a,b){a.l=new b1;c1(a.l,b);b=z("selection_button");null!=b&&(b.innerHTML="",a.L=RBa(),a.L.render(b),D(a.L,"action",a.PS,void 0,a),D(a.L,"action",a.LC,void 0,a),D(a.l,"action",a.RH,void 0,a))}
3741function tPa(a,b){for(var c=0,d=b.length;c<d;c++){var e=b[c],f=RP(void 0,void 0,void 0,"xu");f.qc=e.qc;a.$b.push(f);f.render(z("star-"+e.qc));-1!=Db(e.labels,"caseload")&&f.nc(!0);D(f,["check","uncheck"],a.ZR,void 0,a)}}h=$1.prototype;h.gT=function(){return null};function d2(a){null!=a.L&&(Mx(a.L,"action",a.PS,void 0,a),Mx(a.L,"action",a.LC,void 0,a),Mx(a.l,"action",a.RH,void 0,a),C(a.L));C(a.l)}function uPa(a){for(var b=0,c=a.$b.length;b<c;++b)Mx(a.$b[b],["check","uncheck"],a.ZR,void 0,a)}
3742function U1(a){return null===a.l?!1:cOa(a.l)}h.wc=function(){return null===this.l?[]:this.l.Cc()};h.PS=function(){if(null!==this.l){var a=this.L.Di();0==a?(a=this.gT(),null===a?d1(this.l,!0):d1(this.l,!0,a)):2==a&&d1(this.l,!1)}};h.RH=function(){if(null!==this.l&&null!==this.L){var a=this.l.Di();jP(this.L,a);this.LC(null)}};h.LC=function(){var a=new xx("change",this);a.state=this.L.Di();this.dispatchEvent(a)};h.ZR=function(a){AK.ba(a.target.Pc()?"nb":"mb",a.target.qc)};
3743function e2(a,b){var c=YP(a);Fb(b,function(d){var e=null;d&&("|"==d?e=VP():e=WP(d,d));c.Jb(e)});w(void 0)&&pAa(c.l,c);return c}function vPa(a,b){var c=YP(a);b.forEach(function(d,e){d=WP(d,e);c.Jb(d)});return c}function wPa(a,b){var c=aQ(a);Fb(b,function(d){if(d)if(0==d.indexOf("|")){var e=VP();c.Jb(e);"|"!=d&&(e=e.w(),e.className="mq",e.innerText=d.slice(1,d.length))}else e=Ta(d)?WP("Show: "+d[1],d[0]):WP("Show: "+d,d),c.Jb(e)});return c}
3744h.sd=function(a){if(null!==this.l){var b=this.l;b.h=b.Cc()}Fw(this.g.w());b=this.g.w();var c=this.vd(a);b.appendChild(c);null===this.l||c1(this.l,a);this.RH(null)};h.Di=function(){return this.L.Di()};function f2(){$1.call(this);this.u=null}x(f2,$1);h=f2.prototype;h.Bc=function(){return this.h};h.Ak=function(){return this.u};h.wl=function(a){this.u=new X1(a)};
3745h.K=function(a){this.ub("Buildings");var b=ay(j0,{mn:"Buildings",Xb:"#pageName=instance_settings",Ce:"settings",Rs:"building",Qs:"#pageName=building_add"});var c=this.vd(a);X_(this,[b],c);c2(this,a);this.h=e2("Actions",["Set Active","Set Inactive","Delete","Undelete","Merge"]);this.h.render(z("actions_button"));this.u.render(z("search_bar"));S_(this.g);a2(this);VU(!1,"Buildings")};h.$=function(){f2.D.$.call(this);YU();b2(this)};
3746h.vd=function(a){var b=lH.object.re();b=b.split("&").join("*amp*");return ay(CBa,{Qb:a,Xb:b})};function g2(a,b,c){J1.call(this,a,b,c);this.Eb="ca"}x(g2,J1);h=g2.prototype;h.start=function(a){this.Dd(a)&&(this.ka(this.Eb,this.mQ,this),a=++RQ,dV(this,a,"initial"),this.td(a))};h.mQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.Wd(a),O1(this,a),this.Ya()):this.ka(this.Eb,this.mQ,this)};
3747h.Wd=function(a){this.Ab.push({wb:"district_default",name:"District Default"});this.g.push("district_default");var b=0;for(a=PE(a);b<a.length;b++){var c=a[b].kb(),d=a[b].bh();this.Ab.push({wb:d,name:c});this.g.push(d)}};h.K=function(){g2.D.K.call(this);this.view.K(this.Ab,this.g);P1(this);L1(this)};h.$=function(){g2.D.$.call(this);M1(this)};h.td=function(a){GQ(a,N1(this),void 0,void 0,void 0,void 0,!1)};h.Ud=function(a){var b="pageName=calendar_building_list";1!=a&&(b+="&page="+a.toString());MK(b)};var xPa={};function yPa(a,b,c){b=c||b;Ta(a.Qb);a=a.Qb;c='<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'">';var d=a.length;if(0<d)for(b=0;b<d;b++){var e=a[b];c+='<tr><td class="'+Z("Tm")+'"><span id='+GL(e.wb)+'></span></td><td class="'+Z("Hm")+'"><a href="#pageName=calendar&amp;buildingId='+Z(e.wb)+'">'+X(e.name)+"</a></td></tr>"}else c+=X(xPa.pla({type:"buildings"},b));return Y(c+"</table></div>")};function h2(){$1.call(this)}x(h2,$1);h2.prototype.K=function(a){this.ub("Building Calendars");var b=ay(i0,{title:"Building Calendars",Xb:"#pageName=instance_settings",Ce:"settings"});a=this.vd(a);X_(this,[b],a);a2(this);VU(!1,"Building Calendars")};h2.prototype.$=function(){h2.D.$.call(this);YU();b2(this)};h2.prototype.vd=function(a){return ay(yPa,{Qb:a})};function i2(a,b,c){f_.call(this,a,b,c)}x(i2,$_);h=i2.prototype;h.kj="";h.Oo=0;function j2(){var a=document.getElementById("calendar_parent");return a?(a=a.parentNode)?a.scrollTop:0:0}h.start=function(a){a=a.na("buildingId");w(a)?(this.kj=a,a=!0):(h_(this),a=!1);if(a){this.ka("ua",this.lQ,this);a=++RQ;dV(this,a,"initial");var b=new PC;M(b,1,this.kj);M(b,1002,0);OQ(a,b);m_(this,!1)}};
3748h.WV=function(a){if(confirm("Are you sure you want to delete this calendar entry? This action cannot be undone.")){this.Oo=j2();this.ka("ua",this.pn,this);var b=++RQ;dV(this,b,"update");var c=a.target.value.split("_");a=c[0];c=c[1];var d=new RC;M(d,1,a);M(d,1004,3);a=new QC;M(a,1,c);WF(a,d);c=new PC;M(c,1,this.kj);UF(c,a);M(c,1002,2);OQ(b,c)}};
3749h.H9=function(a){var b=a.target.id.split("_");if(4!=b.length)console.error("unexpected calendar id format");else{this.Oo=j2();this.ka("ua",this.pn,this);a=++RQ;dV(this,a,"update");var c=b[2];b=b[3];var d=new RC;M(d,1,c);M(d,1004,2);var e=z("start_date_"+c+"_"+b);e=k2(e.value);M(d,2,e);e=z("end_date_"+c+"_"+b);e=k2(e.value);M(d,3,e);c=z("desc_input_"+c+"_"+b);M(d,4,c.value);c=new QC;M(c,1,b);WF(c,d);b=new PC;M(b,1,this.kj);UF(b,c);M(b,1002,2);OQ(a,b)}};
3750function k2(a){a=a.split("-");a=new Date(parseInt(a[0],10),parseInt(a[1],10)-1,parseInt(a[2],10),12);if(!a)return 0;a=a.getTime();return isNaN(a)?0:Math.floor(a)}
3751h.gU=function(a){this.ka("ua",this.pn,this);var b=++RQ;dV(this,b,"update");this.Oo=j2();var c=new RC,d=z("desc_input_"+a.target.value);M(c,4,d.value);d=z("start_date_"+a.target.value);d=k2(d.value);M(c,2,d);d=z("end_date_"+a.target.value);d=k2(d.value);M(c,3,d);M(c,1004,1);d=new QC;M(d,1,a.target.value);WF(d,c);a=new PC;M(a,1,this.kj);UF(a,d);M(a,1002,2);OQ(b,a)};
3752h.VV=function(a){if(confirm("Are you sure you want to delete this entire calendar year? This action cannot be undone.")){this.Oo=j2();this.ka("ua",this.pn,this);var b=++RQ;dV(this,b,"update");var c=new QC;M(c,1,a.target.value);a=new PC;M(a,1,this.kj);UF(a,c);M(a,1002,3);OQ(b,a)}};h.t2=function(a){a=N(a,PC,42);var b=L(a,1003,"");""!=b?(a=L(a,1001,"")+" ("+L(a,1006,"")+"): "+b,xZ(a)):(a="Calendar copied to "+L(a,1001,""),xZ(a))};
3753function zPa(a,b,c){var d=S(a.g,QC,2).find(function(g){return g.rb()==b}),e={};c=m(c);for(var f=c.next();!f.done;e={zp:e.zp},f=c.next())f=f.value,e.zp=new PC,M(e.zp,1,f),UF(e.zp,d),M(e.zp,1002,1),DQ(a,"ua","calendar",function(g){return function(k){return OQ(k,g.zp)}}(e),a.t2,a)}
3754h.EV=function(a){var b=this,c=a.target.value;a="district_default"==this.kj;var d=new o0("Copy to district default:"),e=new fQ("Buildings",this.Qb.filter(function(f){return f.bh()!=b.kj}),[],void 0,"buildings");e=new G0(e,"Buildings:");e.m=function(f){return f.Cc()};e=[e];a||e.push(d);wX(e,"Copy calendar to building","Copy Calendar","Cancel",function(f){var g=f[0];f[1]&&g.splice(f[0].length,void 0,"district_default");zPa(b,c,g)},"Choose buildings below to copy this school year's calendar to.")};
3755h.E9=function(a){var b=a.target.id.split("_");if(3!=b.length)console.error("unexpected calendar id format");else{this.Oo=j2();this.ka("ua",this.pn,this);a=++RQ;dV(this,a,"update");b=b[2];var c=new RC,d=z("year_start_"+b),e=z("year_end_"+b),f=z("year_desc_"+b);d=k2(d.value);M(c,2,d);e=k2(e.value);M(c,3,e);M(c,4,f.value);f=new QC;M(f,1,b);T(f,2,c);b=new PC;M(b,1,this.kj);UF(b,f);M(b,1002,2);OQ(a,b)}};
3756h.fU=function(){this.ka("ua",this.pn,this);var a=++RQ;dV(this,a,"update");this.Oo=j2();var b=new RC,c=k2(z("year_start").value);M(b,2,c);c=k2(z("year_end").value);M(b,3,c);c=z("year_desc").value;M(b,4,c);c=new QC;T(c,2,b);b=new PC;M(b,1,this.kj);UF(b,c);M(b,1002,1);OQ(a,b)};h.pn=function(a){eV(this,a.Va()?a.Sa():null,"update")?(this.g=N(a,PC,42),this.qa(),this.Ya()):this.ka("ua",this.pn,this)};
3757h.lQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.g=N(a,PC,42),this.Ya()):this.ka("ua",this.lQ,this)};
3758h.K=function(){i2.D.K.call(this);this.view.K(this.g);for(var a=[{wj:gw,id:"add_calendar",event:"click",an:this.fU},{wj:gw,id:"calendar",event:"blur",an:this.E9},{wj:gw,id:"delete_calendar",event:"click",an:this.VV},{wj:gw,id:"copy_calendar",event:"click",an:this.EV},{wj:gw,id:"add_date",event:"click",an:this.gU},{wj:gw,id:"delete_date",event:"click",an:this.WV},{wj:gw,id:"date_set",event:"blur",an:this.H9}],b=0;b<a.length;b++){var c=a[b],d=c.wj(c.id);if(d)for(var e=0;e<d.length;e++)D(d[e],c.event,
3759c.an,void 0,this)}(a=document.getElementById("calendar_parent"))&&(a=a.parentNode)&&a.scrollTo(0,this.Oo)};function APa(a){a=a.qn;var b='<div id="calendar_parent"><div class="'+Z("zg")+" "+Z("Ag")+'"><div>'+X(a.mJ)+" ("+X(a.id)+')</div></div><div class="'+Z("yg")+'"><div class="'+Z("Bg")+'"><div class="'+Z("Cg")+" "+Z("Mg")+'"><div class="'+Z("Gg")+'"><b>
3759Add A New School Year</b></div><div class="'+Z("Fg")+" "+Z("Lg")+'"><b>Year Start</b></div><div class="'+Z("Fg")+" "+Z("Lg")+'"><b>Year End</b></div><div style="max-width: 0px;"></div><div class="'+Z("Ig")+'"></div></div><div class="'+Z("Cg")+" "+Z("Mg")+
3760'"><div class="'+Z("Ng")+'"><input id="year_desc" class="'+Z("Og")+' " type="text"/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="year_start" class="'+Z("Og")+" "+Z("Kg")+'" type="date"/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="year_end" class="'+Z("Og")+" "+Z("Kg")+'" type="date"/></div><div id="add_year" class="'+Z("fc")+" "+Z("Pg")+'" style="display:none"></div><div class="'+Z("Ig")+'"><button class="'+Z("add_calendar")+'">Add</button></div></div></div></div>';if(CL(a.qn)&&
37610!=a.qn.length){a=a.qn;for(var c=a.length,d=0;d<c;d++){var e=a[d];var f='<div class="'+Z("yg")+'"><div class="'+Z("zg")+'"><div class="'+Z("Jg")+" "+Z("Mg")+'"><span><b>'+(e.year?X(e.year.C):"")+'</b></span></div><div class="'+Z("Eg")+" "+Z("Mg")+'"><button class="'+Z("copy_calendar")+" "+Z("Hg")+'" value="'+Z(e.id)+'">Copy Calendar</button><button class="'+Z("delete_calendar")+" "+Z("Hg")+'" value="'+Z(e.id)+'">Remove Calendar</button></div></div><div class="'+Z("Bg")+'"><div class="'+Z("Cg")+" "+
3762Z("Mg")+'"><div class="'+Z("Gg")+'"><b>School Year</b></div><div class="'+Z("Fg")+" "+Z("Lg")+'"><b>Year Start</b></div><div class="'+Z("Fg")+" "+Z("Lg")+'"><b>Year End</b></div><div style="max-width: 0px;"></div><div class="'+Z("Ig")+'"></div></div><div class="'+Z("Cg")+'"><div class="'+Z("Ng")+'"><input id="year_desc_'+Z(e.id)+'" class="'+Z("Og")+" "+Z("calendar")+'" type="text"'+(e.year?' value="'+Z(e.year.C)+'"':"")+'/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="year_start_'+Z(e.id)+
3763'" class="'+Z("Og")+" "+Z("Kg")+" "+Z("calendar")+'" type="date"'+(e.year?' value="'+Z(e.year.xh)+'"':"")+'/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="year_end_'+Z(e.id)+'" class="'+Z("Og")+" "+Z("Kg")+" "+Z("calendar")+'" type="date"'+(e.year?' value="'+Z(e.year.Gh)+'"':"")+'/></div><div id="'+Z(e.id)+'_update" class="'+Z("fc")+" "+Z("Mg")+" "+Z("Pg")+'" style="display:none"></div><div class="'+Z("Ig")+'"></div></div><div class="'+Z("Cg")+" "+Z("Mg")+'"><div class="'+Z("Gg")+'"><b>Break/Day Off</b></div><div class="'+
3764Z("Fg")+" "+Z("Lg")+'"><b>Start</b></div><div class="'+Z("Fg")+" "+Z("Lg")+'"><b>End</b></div><div style="max-width: 0px;"></div><div class="'+Z("Ig")+'"></div></div>';if(CL(e.AC)&&0!=e.AC.length)for(var g=e.AC,k=g.length,l=0;l<k;l++){var n=g[l];var q=n.xh;var t=n.Gh,u=n.C;n=n.id;var v=e.id;q=Y('<div class="'+Z("Cg")+'"><div class="'+Z("Ng")+'"><input id="desc_input_'+Z(n)+"_"+Z(v)+'" class="'+Z("Og")+" "+Z("date_set")+'" type="text" value="'+Z(u)+'"/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="start_date_'+
3765Z(n)+"_"+Z(v)+'" class="'+Z("Og")+" "+Z("Kg")+" "+Z("date_set")+'" type="date" value="'+Z(q)+'"/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="end_date_'+Z(n)+"_"+Z(v)+'" class="'+Z("Og")+" "+Z("Kg")+" "+Z("date_set")+'" type="date" value="'+Z(t)+'"/></div><div id="'+Z(n)+"_"+Z(v)+'" class="'+Z("fc")+" "+Z("Pg")+'" style="display:none"></div><div class="'+Z("Ig")+'"><button class="'+Z("delete_date")+'" value="'+Z(n)+"_"+Z(v)+'">X</button></div></div>');f+=q}f+='<div class="'+Z("Cg")+" "+Z("Mg")+
3766'"><div class="'+Z("Ng")+'"><input id="desc_input_'+Z(e.id)+'" class="'+Z("Og")+' " type="text"/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="start_date_'+Z(e.id)+'" class="'+Z("Og")+" "+Z("Kg")+'" type="date"/></div><div class="'+Z("Ng")+" "+Z("Lg")+'"><input id="end_date_'+Z(e.id)+'" class="'+Z("Og")+" "+Z("Kg")+'" type="date"/></div><div id="'+Z(e.id)+'_add" class="'+Z("fc")+" "+Z("Pg")+'" style="display:none"></div><div class="'+Z("Ig")+'"><button class="'+Z("add_date")+'" value="'+Z(e.id)+
3767'">Add</button></div></div></div></div>';e=Y(f);b+=e}}return Y(b+"</div>")};function l2(){W_.call(this);this.title="Calendar";this.h=ay(c0,{title:this.title,Xb:"#pageName=calendar_building_list"})}x(l2,W_);function F2(a){a=new Date(a);var b=a.getUTCMonth()+1,c=a.getUTCDate();return a.getUTCFullYear()+"-"+(10>b?"0"+b:b)+"-"+(10>c?"0"+c:c)}
3768function BPa(a,b){var c=S(b,QC,2).map(function(d){var e=N(d,RC,2),f=S(d,RC,3);return{id:d.rb(),year:{xh:F2(L(e,2,0)),Gh:F2(L(e,3,0)),C:e.getDescription()||""},AC:f.map(function(g){return{id:g.rb(),xh:F2(L(g,2,0)),Gh:F2(L(g,3,0)),C:g.getDescription()||""}})}});b={id:L(b,1006,""),mJ:L(b,1001,""),qn:c};b=ay(APa,{qn:b});X_(a,[a.h],b)}
3769l2.prototype.K=function(a){this.ub(this.title);BPa(this,a);if(""!=L(a,1003,"")){var b;0<L(a,1004,0)&&0<L(a,1005,0)&&(b=document.getElementById(L(a,1005,0)+"_"+L(a,1004,0)));0<L(a,1004,0)&&0==L(a,1005,0)&&(b="_add",2==L(a,1002,0)&&(b="_update"),b=document.getElementById(L(a,1004,0).toString()+b));0==L(a,1004,0)&&0==L(a,1005,0)&&(b=document.getElementById("add_year"));if(b){var c=document.createElement("span");c.innerHTML=L(a,1003,"");b.appendChild(c);b.style.display=""}}};function G2(a,b,c){f_.call(this,a,b,c)}x(G2,$_);h=G2.prototype;h.start=function(a){"true"==a.na("dev")&&this.Ya()};h.K=function(){G2.D.K.call(this);this.view.K()};h.jc=function(a){G2.D.jc.call(this,a);this.ka("ga",this.nQ,this);var b=++RQ;dV(this,b,"save");var c=a.Hn,d=a.domain,e=a.state;a=a.sF;var f=new lB;EE(f,7);FE(f,b);GE(f,1);b=new qB;w(d)&&(M(b,1,d),M(b,6,d));w(c)&&M(b,5,c);w(e)&&M(b,1001,e);w(a)&&M(b,1002,a);mz(f,7,b,qB,void 0);eN(dN.getInstance(),f)};
3770h.nQ=function(a){eV(this,a.Va()?a.Sa():null,"save")?this.Kd(a,"bc","pageName=caseload",!0):this.ka("ga",this.nQ,this)};
3771h.yc=function(a){var b=ME(a)[0];this.v={};a=0;this.v.Hn=null!=I(b,5)?b.Fx():null;this.v.domain=null!=I(b,6)?L(b,6,""):null;this.v.state=null!=I(b,1001)?b.getState():null;this.v.sF=null!=I(b,1002)?L(b,1002,""):null;var c=null!=I(b,15)?N(b,U,15):null;null!==c&&(this.v.dD=c.xb()?c.getError():null,a++);c=null!=I(b,16)?N(b,U,16):null;null!==c&&(this.v.MW=c.xb()?c.getError():null,a++);b=null!=I(b,53)?N(b,U,53):null;null!==b&&(this.v.K8=b.xb()?b.getError():null,a++);return a};function CPa(){return Y('<div class="'+Z("Bk")+'"><div class="'+Z("mb")+'">Instance Information</div><br><div id="full_name_input"></div><br><div id="domain_input"></div><br><div id="state_input"></div><br><div id="product_tier_input"></div><br><div id="save_button"></div></div>')};function H2(){W_.call(this);this.h=this.u=this.M=this.Y=null}x(H2,W_);
3772H2.prototype.K=function(){this.ub("Create Instance");for(var a=ay(b0,{title:"Create Instance (internal to SG staff)"}),b=ay(CPa),c=[],d=m(Object.entries({Alabama:"al",Alaska:"ak",Arizona:"az",Arkansas:"ar",California:"ca",Colorado:"co",Connecticut:"ct",Delaware:"de",Florida:"fl",Georgia:"ga",Hawaii:"hi",Idaho:"id",Illinois:"il",Indiana:"in",Iowa:"ia",Kansas:"ks",Kentucky:"ky",Louisiana:"la",Maine:"me",Maryland:"md",Massachusetts:"ma",Michigan:"mi",Minnesota:"mn",Mississippi:"ms",Missouri:"mo",Montana:"mt",
3773Nebraska:"ne",Nevada:"nv","New Hampshire":"nh","New Jersey":"nj","New Mexico":"nm","New York":"ny","North Carolina":"nc","North Dakota":"nd",Ohio:"oh",Oklahoma:"ok",Oregon:"or",Pennsylvania:"pa","Rhode Island":"ri","South Carolina":"sc","South Dakota":"sd",Tennessee:"tn",Texas:"tx",Utah:"ut",Vermont:"vt",Virginia:"va",Washington:"wa","West Virginia":"wv",Wisconsin:"wi",Wyoming:"wy"})),e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;c.push({label:e,Oa:f})}X_(this,
3774[a],b);this.Y=rX("* Full Name:",200);this.M=rX("* Domain:",200);this.u=uX(c,"* State:",200);this.h=tX([{label:"Basic",Oa:"BASIC"},{label:"Standard",Oa:"STANDARD"},{label:"Plus",Oa:"PLUS"},{label:"Pro",Oa:"PRO"}],"* Product Tier:",200);this.Y.render(z("full_name_input"));this.M.render(z("domain_input"));this.u.render(z("state_input"));this.h.render(z("product_tier_input"));this.u.setValue("oh");this.h.setValue("STANDARD");Y_(this,[this.Y,this.M,this.u,this.h],200)};
3775H2.prototype.$=function(){H2.D.$.call(this);C(this.Y);C(this.M);C(this.u);C(this.h)};H2.prototype.gc=function(){var a={};a.Hn=this.Y.getValue();a.domain=this.M.getValue();a.state=this.u.getValue();a.sF=this.h.getValue()||"STANDARD";return a};H2.prototype.hd=function(a){this.Y.setValue(a.Hn,a.dD);this.M.setValue(a.domain,a.MW);this.u.setValue(a.state,a.K8);this.h.setValue(a.sF)};function I2(a,b,c){f_.call(this,a,b,c)}x(I2,$_);I2.prototype.K=function(){I2.D.K.call(this);this.view.K()};function DPa(a){var b=a.Yw,c=a.n8;a=Y;var d='<div id="dashboard-grid" class="'+Z("pi")+'">',e;c?e=Y('<div class="'+Z("qi")+" "+Z("si")+'"><h2>Deadlines</h2><div class="'+Z("ri")+'"><ul><li><span>Past Due</span><a href="#pageName=deadlines&calendar=caseload&endDate='+Z(b.Le)+'" class="'+Z("H")+" "+Z("R")+'" title="Deadlines past due - open list">list</a></li><li><span>Today</span><a href="#pageName=deadlines&calendar=day&date='+Z(b.Le)+"&endDate="+Z(b.Le)+'" class="'+Z("H")+" "+Z("R")+'" title="Deadlines due today - open calendar">calendar_month</a><span class="'+
3776Z("ui")+'">|</span><a href="#pageName=deadlines&calendar=caseload&date='+Z(b.Le)+"&endDate="+Z(b.Le)+'" class="'+Z("H")+" "+Z("R")+'" title="Deadlines due today - open list">list</a></li><li><span>This Week</span><a href="#pageName=deadlines&calendar=week&date='+Z(b.Le)+'" class="'+Z("H")+" "+Z("R")+'" title="Deadlines due this week - open calendar">calendar_month</a><span class="'+Z("ui")+'">|</span><a href="#pageName=deadlines&calendar=caseload&date='+Z(b.fS)+"&endDate="+Z(b.PK)+'" class="'+Z("H")+
3777" "+Z("R")+'" title="Deadlines due this week - open list">list</a></li><li><span>This Month</span><a href="#pageName=deadlines&calendar=month&date='+Z(b.Le)+'" class="'+Z("H")+" "+Z("R")+'" title="Deadlines due this month - open calendar">calendar_month</a><span class="'+Z("ui")+'">|</span><a href="#pageName=deadlines&calendar=caseload&date='+Z(b.cS)+"&endDate="+Z(b.NK)+'" class="'+Z("H")+" "+Z("R")+'" title="Deadlines due this month - open list">list</a></li></ul></div></div>'):e="";e=d+e;b=Y('<div class="'+
3778Z("qi")+" "+Z("si")+'"><h2>Meetings / Documents</h2><div class="'+Z("ri")+'"><ul><li><span>Past not marked complete</span><a href="/iep/#pageName=all&searchDocStatus=Incomplete&endDate='+Z(b.Le)+'" class="'+Z("H")+" "+Z("R")+'" title="Past incomplete meetings/documents - open list">list</a></li><li><span>Today</span><a href="/iep/#pageName=all&searchDocStatus=Owner&startDate='+Z(b.Le)+"&endDate="+Z(b.Le)+'" class="'+Z("H")+" "+Z("R")+'" title="Today\'s meetings/documents - open list">list</a></li><li><span>This Week</span><a href="/iep/#pageName=all&searchDocStatus=Owner&startDate='+
3779Z(b.fS)+"&endDate="+Z(b.PK)+'" class="'+Z("H")+" "+Z("R")+'" title="This week\'s meetings/documents - open list">list</a></li><li><span>This Month</span><a href="/iep/#pageName=all&searchDocStatus=Owner&startDate='+Z(b.cS)+"&endDate="+Z(b.NK)+'" class="'+Z("H")+" "+Z("R")+'" title="This month\'s meetings/documents - open list">list</a></li></ul></div></div>');return a(e+b+"</div>")};function J2(){W_.call(this)}x(J2,W_);J2.prototype.K=function(){this.ub("Dashboard");var a=ay(b0,{title:"Dashboard"});var b=new LO;var c=PO(b);var d=m(SAa(b)),e=d.next().value;d=d.next().value;var f=m(RO(b,!1)),g=f.next().value;f=f.next().value;b=SO(b);c={Le:c,fS:e,PK:d,cS:g,NK:f,Kla:b};e=2<=zF()&&"me"!=VJ;c=ay(DPa,{Yw:c,n8:e});X_(this,[a],c)};function K2(a,b,c){J1.call(this,a,b,c);this.Eb="Bc";this.j=null}x(K2,J1);h=K2.prototype;h.start=function(a){this.Dd(a)&&(this.ka(this.Eb,this.pQ,this),a=++RQ,dV(this,a,"initial"),this.td(a))};h.pQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?null==a?this.view.qb("result","Unexpected response received."):(yF(AF).includes(34)&&(this.j=S(a,dD,1006)),this.Wd(a),O1(this,a),this.Ya()):this.ka(this.Eb,this.pQ,this)};
3780h.Wd=function(a){a=m(xEa(a));this.Ab=a.next().value;var b=a.next().value;if(this.j){var c=[];
3780this.j.forEach(function(d){b.includes(d.rb())||c.push(d)});this.j=c}};h.K=function(){K2.D.K.call(this);this.view.K(this.Ab,this.j);P1(this);L1(this);D(this.view.Bc(),"action",this.oQ,void 0,this)};h.$=function(){K2.D.$.call(this);M1(this);Mx(this.view.Bc(),"action",this.oQ,void 0,this)};h.td=function(a){var b=N1(this),c=new lB;EE(c,46);M(c,15,b||0);FE(c,a);eN(dN.getInstance(),c)};
3781h.jc=function(a){window.location.href=a.Il?"#pageName=data_vendor_add&vendorId="+a.Il:"#pageName=data_transfer_add"};h.yc=function(a){this.v={};a=S(a,dD,1006);null!=a&&0!=a.length?this.v.Il=a[0].rb():this.v.Il=null;return 0};
3782h.oQ=function(a){if(U1(this.view)){if("Delete"==a.target.getValue()&&confirm("The selected integrations will be permenantly deleted. Do you wish to proceed?")){this.ka("Cc",this.iK,this);var b=++RQ;dV(this,b,"delete1");a=[];for(var c=this.view.wc(),d=0,e=c.length;d<e;++d){var f=c[d].replace(/_/g," ");a.push(f)}c=new lB;FE(c,b);EE(c,47);GE(c,3);b=0;for(d=a.length;b<d;b++)e=new NC,M(e,1001,a[b]),mz(c,36,e,NC,void 0);eN(dN.getInstance(),c)}}else this.X.ba("Za")};
3783h.iK=function(a){eV(this,a.Va()?a.Sa():null,"delete1")?j_(this,"delete1")||(this.X.ba("Fc",a),this.ka(this.Eb,this.jK,this),a=++RQ,dV(this,a,"delete2"),this.td(a)):this.ka("Cc",this.iK,this)};
3784h.jK=function(a){if(!eV(this,a.Va()?a.Sa():null,"delete2"))this.ka(this.Eb,this.jK,this);else if(!j_(this,"delete2")){this.sd(a);var b=[];if(yF(AF).includes(34)){var c=S(a,dD,1006);a=RE(a);if(!w(c)||!w(a))return;for(var d=[],e=0;e<a.length;e++){var f=N(a[e],dD,1013);f&&d.push(f.rb())}c.forEach(function(g){d.includes(g.rb())||b.push(g)})}EPa(this.view,b)}};h.Ud=function(a){var b="pageName=data_transfer_list";1!=a&&(b+="&page="+a.toString());MK(b)};function L2(){$1.call(this);this.u=this.h=null}x(L2,$1);h=L2.prototype;h.K=function(a,b){this.ub("Data Imports/Exports");var c=ay(bNa,{title:"Data Imports/Exports",Xb:"#pageName=instance_settings",Ce:"settings"});var d=this.vd(a);X_(this,[c],d);a2(this);c2(this,a);this.h=e2("Actions",["Delete"]);this.h.render(z("actions_button"));a=FPa(b);0!=a.length&&(this.u=new $W(a,"",10,"Create new ...",void 0),this.j.Ea(this.u),this.u.render(z("filter_button")),Y_(this,[this.u],0,"Create",!0,!0,!0))};
3785h.$=function(){L2.D.$.call(this);b2(this);d2(this);C(this.h)};h.vd=function(a){return ay(FBa,{cK:a})};function EPa(a,b){a.u&&(b=FPa(b),0!=b.length&&(a=a.u,a.items=b||[],a.h.Fg(!0),a.gf()))}
3786function FPa(a){var b=[];b.push({type:"separator",label:"Data Imports/Exports"});b.push({label:"API Import/Export",Oa:"API"});var c=!1;a&&0<a.length&&(a.forEach(function(d){if(fz(d,11,!1)){c||(b.push({type:"separator",label:"Integrations"}),c=!0);var e=""!=aG(d)?aG(d):d.kb();b.push({label:e,Oa:d.rb()})}}),c=!1,a.forEach(function(d){if(!fz(d,11,!1)){c||(b.push({type:"separator",label:"Additional Integrations"}),c=!0);var e=""!=aG(d)?aG(d):d.kb();b.push({label:e,Oa:d.rb()})}}));return b}h.Bc=function(){return this.h};
3787h.Xe=function(){return!1};h.gc=function(){var a={},b=this.u.getValue();"API"!=b&&(a.Il=b);return a};h.hd=function(a){this.u.setValue(a.Il,void 0)};function M2(a,b,c){this.j=[];this.g=null;f_.call(this,a,b,c)}x(M2,$_);M2.prototype.start=function(){this.ka("ca",this.l,this);var a=++RQ;dV(this,a,"initial");GQ(a,0,!0)};M2.prototype.l=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.j=TAa(PE(a)),this.Ya()):this.ka("ca",this.l,this)};M2.prototype.K=function(){M2.D.K.call(this);this.view.K(this.v,this.j,this.clientId,this.g)};
3788M2.prototype.yc=function(a){var b=RE(a)[0];this.v={};var c=0;null!=I(b,1008)&&(c++,this.v.lN=L(b,1008,""));if(a=N(b,uz,1011)){this.v.aj=a.kb();var d=gz(a,1001,void 0,null);this.v.p9=d.get("name");d.get("name")&&c++;this.v.Lp=I(a,4);this.v.jU=d.get("emails");d.get("emails")&&c++}if(d=b.Gf()){this.v.Sc=d.Fb();var e=null!=I(d,14)?N(d,U,14):null;null!==e&&(this.v.Gn=e.xb()?e.getError():null,c++);this.v.od=d.Hb();e=null!=I(d,15)?N(d,U,15):null;null!==e&&(this.v.qo=e.xb()?e.getError():null,c++);this.v.cd=
3789d.Ic();d=null!=I(d,28)?N(d,U,28):null;null!==d&&(this.v.bX=d.xb()?d.getError():null,c++)}if(d=TF(b,!0))this.v.Ch=d;if(d=S(b,tz,1010))this.v.Mq=d;if(d=N(b,HC,1004))this.v.Br=L(d,1,""),e=null!=I(d,1001)?N(d,U,1001):null,null!==e&&(this.v.g6=e.xb()?e.getError():null,c++),this.v.xv=L(d,2,""),e=null!=I(d,1002)?N(d,U,1002):null,null!==e&&(this.v.i6=e.xb()?e.getError():null,c++),this.v.Yo=L(d,3,""),e=null!=I(d,1003)?N(d,U,1003):null,null!==e&&(this.v.hP=e.xb()?e.getError():null,c++),this.v.$z=L(d,4,""),
3790e=null!=I(d,1004)?N(d,U,1004):null,null!==e&&(this.v.f6=e.xb()?e.getError():null,c++),this.v.aA=L(d,5,""),d=null!=I(d,1005)?N(d,U,1005):null,null!==d&&(this.v.h6=d.xb()?d.getError():null,c++);if(d=N(b,dD,1013)){b=0;if(d&&a){this.v.Il=d.rb();d.xb()&&(this.v.zpa=d.getError(),b++);e=gz(a,1001,void 0,null);var f=e.Dc();0<f&&(this.v.qx=e,b+=f);d=""!=aG(d)?aG(d):d.kb();this.v.aj!=d&&(this.v.aj=d);if(a=gz(a,5,void 0,vz)){if(d=a.get("signatory"))if(this.v.x8=d.Fb(),this.v.z8=d.Hb(),this.v.PR=d.Ic(),d=gz(d,
37911001,void 0,null)){if(e=d.get("firstNameErr"))this.v.y8=e,b++;if(e=d.get("lastNameErr"))this.v.A8=e,b++;if(d=d.get("userNameErr"))this.v.w8=d,b++}if(d=a.get("maintenance"))if(this.v.x0=d.Fb(),this.v.z0=d.Hb(),this.v.v0=d.Ic(),a=gz(d,1001,void 0,null)){if(d=a.get("firstNameErr"))this.v.y0=d,b++;if(d=a.get("lastNameErr"))this.v.A0=d,b++;if(a=a.get("userNameErr"))this.v.w0=a,b++}}}c+=b}return this.v.gX=c};function N2(a,b,c){M2.call(this,a,b,c);this.h=""}x(N2,M2);function GPa(a,b){b=b.na("vendorId");if(!w(b))return!1;a.h=b;return!0}
3792N2.prototype.start=function(a){var b=this;GPa(this,a)?""!=this.h&&yF(AF).includes(34)&&DQ(this,"Gc","initial",function(c){var d=b.h,e=new lB;EE(e,80);FE(e,c);w(d)&&(c=new dD,M(c,1,d),T(e,54,c));eN(dN.getInstance(),e)},function(c){null==c?b.view.qb("result","Unexpected response received."):(c=S(c,dD,1006))&&0!=c.length?(b.g=c[0],b.v.F_=!0,b.Ya()):b.view.qb("result","Unexpected response received.")}):N2.D.start.call(this,a)};
3793N2.prototype.jc=function(a){N2.D.jc.call(this,a);this.ka("Cc",this.s,this);var b=++RQ;dV(this,b,"save");xQ(b,1,void 0,void 0,a.Sc,a.od,a.cd,a.Lp,a.aj,a.type,a.Ch,void 0,void 0,void 0,void 0,void 0,void 0,a.Il,a.aT)};
3794N2.prototype.s=function(a){if(eV(this,a.Va()?a.Sa():null,"save")){var b=RE(a)[0],c=L(b,1001,""),d="export",e="clientId="+Od(c);c=N(b,uz,1011)?cz(N(b,uz,1011),2):[];0<c.length&&(1==c[0]?d="import":2==c[0]&&(d="vendor",b=N(b,dD,1013).rb(),e="vendorId="+Od(b)));d="pageName=data_"+Od(d)+"_update&"+e;b="Dc";2==c[0]&&(b=void 0);this.Kd(a,b,d,!0)}else this.ka("Cc",this.s,this)};function O2(a,b){EH.call(this,b);this.h=new rY;this.s=B("INPUT");this.s.placeholder="MM/DD/YYYY";this.s.style.fontFamily="sans-serif";this.s.style.width=this.s.placeholder.length+3+"ch";HPa(this,a);this.l=P2(a);this.s.value=a;this.TN()}x(O2,EH);function HPa(a,b){0!=b.length&&null==P2(b)?a.s.style.color="red":a.s.style.color="black"}h=O2.prototype;h.Ra=function(){this.Ea(this.h);this.m=B("DIV",{hidden:!0});this.j=B("DIV",void 0,this.s,this.m)};
3795h.K=function(){O2.D.K.call(this);this.h.render(this.m);D(this.h,"select",this.u2,void 0,this);D(this.s,"input",this.TN,void 0,this);D(this.w(),"focusin",this.G6,void 0,this);D(this.w(),"focusout",this.E6,void 0,this);D(this.w(),"keydown",this.D6,void 0,this)};h.W=function(a){this.s.disabled=!a};
3796h.u2=function(){var a=rKa(this.h),b=P2(this.s.value);if(null==b||null==a||b.getMonth()!=a.getMonth()||b.getDay()!=a.getDay()||b.getFullYear()!=a.getFullYear())IPa(this,a),this.s.value=Q2(this),this.s.style.color="black"};
3797function P2(a){var b=a.split("-");1==b.length&&(b=a.split("/"));if(3!=b.length)return null;if(4==b[0].length){a=b[0];var c=b[1];var d=b[2]}else c=b[0],d=b[1],a=b[2];b=parseInt(c,10)-1;if(isNaN(b))return null;d=parseInt(d,10);if(isNaN(d)||1>=a.length)return null;if(2==a.length){a=parseInt(a,10);if(isNaN(a))return null;c=(new Date).getFullYear();a+=c-c%100+(a<(c+10)%100?0:-100)}else if(a=parseInt(a,10),isNaN(a))return null;if(1970>a||1==b&&1==d&&1970==a)return null;c=new LO(a,b,d);return b==c.getMonth()&&
3798a==c.getFullYear()&&d==c.getDate()?c:null}h.TN=function(){var a=P2(this.s.value);""!=this.s.value&&null==a||vY(this.h,a,!0)};function IPa(a,b){var c=a.l;a.l=b;c==b&&null!=c&&c.CL(a.l)||a.dispatchEvent("change")}function Q2(a){return null==a.l?null:(new qW("MM'/'dd'/'yyyy")).format(a.l)}h.G6=function(){this.m.removeAttribute("hidden")};function R2(a){HPa(a,a.s.value);var b=P2(a.s.value);null==b&&""!==a.s.value||vY(a.h,b,!0);IPa(a,b);a.m.setAttribute("hidden",!0)}
3799h.E6=function(a){!this.w().contains(a.relatedTarget)&&document.hasFocus()&&R2(this)};h.D6=function(a){this.w().contains(a.relatedTarget)||13!=a.keyCode||(R2(this),document.activeElement.blur())};function S2(a,b,c,d){hQ.call(this,b,c,d);this.h=new O2(a);this.Ea(this.h,!0);BN(this)}x(S2,hQ);S2.prototype.getValue=function(){return this.h.s.value};S2.prototype.setValue=function(a,b){null!=a&&(this.h.s.value=a,R2(this.h));null!=b?this.qb(b):this.qb("")};function JPa(){return Y('<div class="'+Z("Lb")+'"><div style="padding: 10px;">'+KPa({update:!1})+'<br><div id="save_button"></div></div></div>')}function KPa(a){return Y('<b id="account_title">Account Information</b><br>'+(a.update?'<div id="client_id_display"></div>':"")+'<div id="transfer_name_input"></div><div id="first_name_input"></div><div id="last_name_input"></div><div id="user_name_input"></div><div id="more_emails_input" class="'+Z("U")+'"></div><div id="transfer_type_input"></div>')}
3800function LPa(a){var b=a.ek;a=a.xS;return Y('<div class="'+Z("Qd")+'"><span><b>'+X(a)+'</b></span><span id="endpoint_error" class="'+Z("fc")+'"></span></div><br><div class="'+Z("Ce")+'" id="endpoints"></div><div><span id="add_endpoint" class="'+Z("Am")+'">'+X(b)+"</span></div>")}
3801function MPa(a){var b=a.ek;a=a.import;return Y('<div class="'+Z("Lb")+'"><div style="padding: 10px;">'+KPa({update:!0})+'<div id="user_name_resend_email" style="margin-left: 160px;"></div><br>'+(a?"":LPa({ek:b,xS:"Endpoint Permissions"}))+"<br><b>SFTP "+(a?"Pull":"Push")+' (optional, runs nightly)</b><br><div id="show_sftp_button"></div><div id="sftp_container"><div id="sftp_host_input"></div><div id="sftp_username_input"></div><div id="sftp_password_input"></div><div id="sftp_directory_input"></div><div id="sftp_mime_type_input"></div>'+
3802(a?"<br>"+LPa({ek:b,xS:"Pull Locations"}):"")+'<br><div id="transfer_status"><b>Most Recent Run Since Midnight UTC (<span id="local-midnight"></span>)</b><br><div id="status_text">There are no runs of this process today.</div><br><div class="'+Z("kc")+'"><div id="run_button"></div><div id="cancel_button"></div></div><br><div id="error_display" class="'+Z("fc")+'"></div></div></div><br><div id="save_button"></div></div></div>')}
3803function NPa(a){return Y(MPa({ek:a.ek,import:!1})+'<div class="'+Z("ms")+'" style="display:none" id="edit_modal"></div><div class="'+Z("ns")+'" style="display:none" id="edit_dialog"><div id="edit_title" class="'+Z("os")+'"></div><div id="edit_body" class="'+Z("ps")+'"></div></div>')}function OPa(a){return Y(MPa({ek:a.ek,import:!0}))}
3804function PPa(){return Y('<div class="'+Z("Lb")+'"><div style="padding: 10px;"><div id="info"><b>Integration Information</b><div id="vendor_name" class="'+Z("yk")+'"></div><div id="vendor_id" class="'+Z("yk")+'"></div></div><br><b id="maint_account_title">Integration Maintenance Contact<span id="maint_hint"></span></b><br><div id="maint_first_name_input" class="'+Z("yk")+'"></div><div id="maint_last_name_input" class="'+Z("yk")+'"></div><div id="maint_user_name_input" class="'+Z("yk")+'"></div><br><b id="sign_account_title">Data Sharing Agreement Signatory<span id="sign_hint"></span></b><br><div id="sign_first_name_input" class="'+
3805Z("yk")+'"></div><div id="sign_last_name_input" class="'+Z("yk")+'"></div><div id="sign_user_name_input" class="'+Z("yk")+'"></div><div id="user_name_resend_email" style="margin-left: 250px;"></div><div id="signature"></div><br><div id="config"><b>Configurations </b></div><br><div id="save_button"></div></div></div>')}function QPa(){return Y('<div class="'+Z("Lb")+'"><div id="transfer_dg_text"></div><div class="'+Z("gc")+'" id="transfer_dg_errors"></div></div>')}
3806function RPa(a){a=a.RI;return Y('<div class="'+Z("Lb")+" "+Z("Kd")+'"><div id="endpoint_select"></div><div id="filepath_input"></div><div class="'+Z("Qd")+'"><div id="filetype_input"></div><div id="isfolder_box"></div></div><br><div class="'+Z("Sd")+'"><span><input type="button" id="update" value="Update" class="'+Z("vl")+" "+Z("ol")+'"></span><span><input type="button" id="cancel" value="Cancel" class="'+Z("ul")+" "+Z("ol")+'"></span>'+(a?'<span><input type="button" id="delete" value="Delete" class="'+
3807Z("wl")+" "+Z("ol")+'"></span>':"")+"</div></div>")}
3808function SPa(a){Ta(a.QK);a=a.QK;for(var b='<table width="100%" class="'+Z("le")+'">',c=a.length,d=0;d<c;d++){var e=a[d];if(e.Ij)e=e.name,e=Y('<tr><td class="'+Z("Hm")+" "+Z("Nn")+'"><span class="'+Z("F")+'">delete</span></td><td class="'+Z("Hm")+'" colspan=2><span>'+X(e)+"</span></td></tr>");else{var f=e.name;e=e.hint;e=Y('<tr><td class="'+Z("Hm")+" "+Z("Nn")+'"><span class="'+Z("F")+'">delete</span></td><td class="'+Z("Hm")+" "+Z("Mn")+'"><span class="'+Z("Am")+'">'+X(f)+'</span></td><td class="'+
3809Z("Hm")+'">'+X(e)+"</td></tr>")}b+=e}return Y(b+"</table>")};function TPa(a){var b=a.g5,c=a.ZW,d=a.E_,e=a.api,f=a.RI;a=a.Ze;a='<div class="'+Z("is")+'">'+(a?"":'<p class="'+Z("hc")+'"><strong>Note</strong>: Report results will only include documents you have permissions to view.  If results you expect are missing, please contact an administrator to be granted access.</p>')+'<table class="'+Z("zn")+'"><tr class="'+Z("An")+'"><td class="'+Z("Bn")+'" style="width:33%;"><span class="'+Z("mb")+'">'+(e?"":"Report ")+'Description:</span></td><td class="'+Z("Cn")+
3810'"><span>'+X(b.C)+" "+(b.Ae?'<a href="'+Z(JL(b.Ae))+'" class="'+Z("ts")+'" rel="noopener noreferrer" target="_blank">help_outline</a>':"")+"</span></td></tr>";b=b.Vd;for(var g=b.length,k=0;k<g;k++){var l=b[k];a+='<tr class="'+Z("An")+'"><td class="'+Z("Bn")+'"><div class="'+Z("mb")+'">'+X(l.name)+(l.Ae?' <a href="'+Z(JL(l.Ae))+'" class="'+Z("ts")+'" rel="noopener noreferrer" target="_blank">help_outline</a>':"")+"</div>"+(l.C?'<div class="'+Z("Nr")+'">'+X(l.C)+"</div>":"")+(BL(l.name,"LEAs:")?'<div class="'+
3811Z("Nr")+'">If you choose more than one district, all buildings in that district will be automatically selected.</div>':"")+'</td><td class="'+Z("Cn")+'"><div'+(BL(l.type,"user_search")||BL(l.type,"student_search")?"":' class="'+Z("Dn")+'"')+">";if(BL(l.type,"radio"))for(var n=l.options,q=n.length,t=0;t<q;t++){var u=n[t];a+='<input type="radio" class="input_'+Z(k)+'" name="input_'+Z(k)+'" id="input_'+Z(k)+"_"+Z(t)+'" value="'+(u.value?Z(u.value):Z(u.text))+'"'+(u.check?" checked":"")+'><label class="'+
3812Z("mb")+'" for="input_'+Z(k)+"_"+Z(t)+'">'+(BL(u.text,"")?"None":X(u.text))+"</label><br>"}else if(BL(l.type,"select")){a+='<select id="input_'+Z(k)+'">';n=l.options;q=n.length;for(t=0;t<q;t++)u=n[t],a+='<option value="'+(u.value?Z(u.value):Z(u.text))+'"'+(u.check?" selected":"")+">"+(BL(u.text,"")?"None":X(u.text))+"</option><br>";a+="</select>"}else if(BL(l.type,"date"))a+='<input type="date"'+(l.Pd?' value="'+Z(l.Pd)+'"':"")+' id="input_'+Z(k)+'">'+(d?'<input type="button" value="close" class="'+
3813Z("us")+" "+Z("E")+" "+Z("mb")+" "+Z("ul")+" "+Z("ql")+'" id="clearDate_'+Z(k)+'">':"")+(e&&CL(l.VW)?' or <input type="checkbox" class="'+Z("sgAPICallDate")+'" name="curdate_'+Z(k)+'" id="curdate_'+Z(k)+'" value="1"'+(l.XJ?" checked":"")+'><label class="'+Z("mb")+'" for="curdate_'+Z(k)+'">Date of API call</label><br>':"");else if(BL(l.type,"range"))a+='<input type="date"'+(l.aS?' value="'+Z(l.aS)+'"':"")+' id="input_'+Z(k)+'_start"> to <input type="date"'+(l.MK?' value="'+Z(l.MK)+'"':"")+' id="input_'+
3814Z(k)+'_end">';else if(BL(l.type,"checkbox"))for(a+='<div class="'+Z("Od")+'"><input type="checkbox" class="selectall" name="selectall_'+Z(k)+'"/><label class="'+Z("mb")+'" for="selectall_'+Z(k)+'">All</label></div>',n=l.options,q=n.length,t=0;t<q;t++)u=n[t],a+='<input type="checkbox" class="input_'+Z(k)+" "+(l.Qr?Z(l.Qr):"")+'" name="input_'+Z(k)+'" id="input_'+Z(k)+"_"+Z(t)+'" value="'+(CL(u.value)||BL(u.text,"None Assigned ()")||CL(l.np)?Z(u.value):Z(u.text))+'"'+(u.check?" checked":"")+'><label class="'+
3815Z("mb")+'" for="input_'+Z(k)+"_"+Z(t)+'">'+(BL(u.text,"")?"None":X(u.text))+"</label><br>";else if(e&&BL(l.type,"text"))a+='<input type="text"'+(l.Pd?' value="'+Z(l.Pd)+'"':"")+' id="input_'+Z(k)+'">';else if(BL(l.type,"document_id"))a+='<textarea id="input_'+Z(k)+'">'+(l.Pd?DL(l.Pd):"")+"</textarea>";else if(BL(l.type,"user_search")||BL(l.type,"student_search"))a+='<div id="'+Z(l.type)+'" style="margin-left:-10px;"></div>';a+=(e?'<br><br><input type="checkbox" name="override_'+Z(k)+'" id="override_'+
3816Z(k)+'" value="disable"'+(l.Ju?" checked":"")+'><label class="'+Z("mb")+'" for="override_'+Z(k)+'">Allow caller override</label><br>':"")+"</div></td></tr>"}a+='</table><div class="'+Z("Fn")+'"><br>'+(e?'<input type="button" id="update" value="Update" class="'+Z("ul")+" "+Z("ol")+'"><input type="button" id="cancel" value="Cancel" class="'+Z("ul")+" "+Z("ol")+'" style="margin-left:5px">'+(f?'<input type="button" id="delete" value="Delete" class="'+Z("ul")+" "+Z("ol")+'" style="margin-left:100px; color: white; border: 1px solid #f44336; background: #f44336">':
3817""):'<form method="post" id="report_"'+(c?"":' action="/iep/report" rel="opener" target="_blank"')+'><input type="hidden" name="name"><input type="hidden" name="vars"><input type="hidden" name="endpoint"><input type="hidden" name="fixed"><input type="hidden" name="state"><input type="hidden" name="path"><input type="hidden" name="sleep"><input type="hidden" name="rows"><input type="submit" value="'+(c?"Re-run":"Run")+' Report" class="'+Z("ul")+" "+Z("ol")+'">'+(c?'<input type="button" id="cancel" value="Cancel" class="'+
3818Z("ul")+" "+Z("ol")+'" style="margin-left:5px">':"")+"</form>")+"</div></div>";return Y(a)}
3819function UPa(a){Ta(a.Zh);var b=a.Zh;var c=a.url;a=(a.Ze?"":VPa())+'<div class="'+Z("Bm")+'"><div>';var d=b.length;if(0<d)for(var e=0;e<d;e++){var f=b[e];a+="<a"+(e==d-1?' class="'+Z("Fm")+" "+Z("yn")+" "+Z("En")+'"':' class="'+Z("Fm")+" "+Z("yn")+'"')+' href="'+Z(JL(c))+"/"+Z(f.ao)+'"><span>'+X(f.name)+'</span><br><div id="report_description_'+Z(e)+'" class="'+Z("Bd")+'">'+X(f.C)+"</div></a>"}else a+='<div class="'+Z("Nm")+'">No reports are configured</div>';return Y(a+"</div></div>")}
3820function WPa(a){Ta(a.bN);var b=a.bN;var c=a.url;a=(a.Ze?"":VPa())+'<div class="'+Z("Bm")+'">';var d=b.length;if(0<d)for(var e=0;e<d;e++){var f=b[e];a+="<a"+(e==d-1?' class="'+Z("Fm")+" "+Z("yn")+" "+Z("En")+'"':' class="'+Z("Fm")+" "+Z("yn")+'"')+' href="'+Z(JL(c))+"/"+Z(f.ao)+'"><span>'+X(f.aN)+'</span><br><div id="report_description_'+Z(e)+'" class="'+Z("Bd")+'">'+X(f.bW)+"</div></a>"}else a+='<div class="'+Z("Nm")+'">No reports are configured</div>';return Y(a+"</div>")}
3821function T2(a){var b=a.title;Ta(a.rz);a=a.rz;b='<div class="'+Z("De")+'"><div class="'+Z("dx")+'">'+X(b)+'</div><br><div style="position:relative">';if(1!=a.length)for(var c=a.length,d=0;d<c;d++){var e=a[d];b+=d!=c-1?'<a href="'+Z(JL(e.url))+'">'+X(e.name)+"</a><span> / </span>":X(e.name)}return Y(b+"</div></div>")}
3822function VPa(){return Y('<p class="'+Z("hc")+'"><strong>Note</strong>: Some options may be omitted because you do not have permissions for the relevant forms. Please contact your administrator if you believe you should have access.</p>')};function U2(a,b,c){var d=this;this.api=c;this.g=ay(TPa,{g5:a,ZW:b,E_:Qv,api:c,Ze:WJ});this.h=this.g.querySelectorAll(".selectall");b={};for(var e=m(this.h),f=e.next();!f.done;b={Wm:b.Wm,us:b.us},f=e.next()){b.Wm=f.value;f=parseInt(b.Wm.getAttribute("name").substring(10),10);b.us=this.g.querySelectorAll(".input_"+f);XPa(this,b.us);b.Wm.addEventListener("click",function(k){return function(){k.Wm.indeterminate=!1;for(var l=k.Wm.checked,n=m(k.us),q=n.next();!q.done;q=n.next())if(q=q.value,!c||q.value)q.checked=
3823l}}(b));f=m(b.us);for(var g=f.next();!g.done;g=f.next())g=g.value,c&&!g.value||g.addEventListener("click",function(k){return function(){YPa(d,k.Wm)}}(b))}ZPa(this,a);$Pa(this,a);V2(this)}function YPa(a,b){var c=parseInt(b.getAttribute("name").substring(10),10),d=!1,e=!0;c=m(a.g.querySelectorAll(".input_"+c));for(var f=c.next();!f.done;f=c.next())if(f=f.value,!a.api||f.value)f.checked?d=!0:e=!1;b.checked=d;b.indeterminate=d&&!e}
3824function V2(a){for(var b=m(a.h),c=b.next();!c.done;c=b.next())YPa(a,c.value)}function XPa(a,b){if(a.api)for(a=m(b),b=a.next();!b.done;b=a.next())b=b.value,b.value||(b.disabled=!0,b.checked=!1,b.title="Empty values are invalid for data export")}function aQa(a,b){var c=[];if(a&&a.Vd)for(var d=0;d<a.Vd.length;d++){var e=a.Vd[d];if(e.type===b&&e.Pd){c=[{label:e.Pd,Oa:e.Pd}];break}}return c}
3825function ZPa(a,b){if(a=a.g.querySelector("#user_search"))try{var c=xX(void 0,aQa(b,"user_search"),0,function(d){return d.dc()},void 0,!0);c.Ro(!1);c.render(a);a.__component=c}catch(d){}}function $Pa(a,b){if(a=a.g.querySelector("#student_search"))try{var c=xJa(aQa(b,"student_search"),function(d){return d.Rd()});c.Ro(!1);c.render(a);a.__component=c}catch(d){}};function W2(){W_.call(this);this.AI="Import/Export";this.h=160;this.$a=this.sb=this.zb=this.M=this.Cb=this.bc=this.$b=this.Js=this.Ns=this.Ms=this.Ls=this.Ts=null;this.Ax=this.GB="";this.sI=[];this.cz=this.Jy=this.gs=this.HB=null;this.yB={};this.Ep=this.yz=this.hI=this.iI=null;this.oI=""}x(W2,W_);h=W2.prototype;h.kD=function(){return this.HB};function bQa(a){var b=a.lastIndexOf("_");return 0>b?a:a.substring(0,b)}
3826function X2(a,b,c){var d=a.Jy,e=a.cz;d&&(d.W(b&&!c),c?d.Fc("Run Enqueued..."):d.Fc("Run "+a.AI));e&&e.W(c)}
3827function Y2(a,b,c,d,e,f,g,k,l){var n="Add "+f;a.AI=f;a.ub(n);a.sI=e;e=n;w(k)&&""!=k&&(e=d.aj?f+": "+d.aj:f+": "+UJ+"-"+k);d=$M("data_transfer_list");d=ay(c0,{title:e,Xb:d,Ce:"data imports/exports"});b=w(k)&&""!=k?ay(c,g):ay(b,g);X_(a,[d],b);b=[];if(void 0!=l)return b;a.Ls=rX("* First Name:",a.h);a.Ls.render(z("first_name_input"));b.push(a.Ls);a.Ms=rX("* Last Name:",a.h);a.Ms.render(z("last_name_input"));b.push(a.Ms);a.Ns=rX("* Primary Email:",a.h);a.Ns.render(z("user_name_input"));b.push(a.Ns);a.Ts=
3828rX("* "+f+" Name:",a.h);a.Ts.render(z("transfer_name_input"));b.push(a.Ts);a.Js=xX("Additional Emails:",[],a.h,function(q){return q.Ic()});a.Js.render(z("more_emails_input"));b.push(a.Js);w(k)&&""!=k?(a.aI=rX("* Client ID:",a.h),a.aI.render(z("client_id_display")),a.aI.setValue(k),a.aI.W(!1),a
3828.HB=TP("Resend TOS approval email",void 0,void 0,void 0,1),a.HB.render(z("user_name_resend_email")),a.Jy=TP(""),a.Jy.render(z("run_button")),a.cz=TP("Cancel "+f),a.cz.render(z("cancel_button")),X2(a,!0,!1),a.iI=
3829z("error_display"),cQa(a),a.yz=z("status_text"),a.oI=a.yz.textContent,f=z("add_endpoint"),D(f,"click",a.uN,void 0,a),a.hI=z("endpoint_error"),a.gs=TP("",void 0,void 0,void 0,1),a.gs.render(z("show_sftp_button")),D(a.gs,"action",function(){return dQa(a,!a.tI)}),a.tI=!1,a.bc=rX("Host:"),a.bc.render(z("sftp_host_input")),b.push(a.bc),a.Cb=rX("Username:"),f=z("sftp_username_input"),a.Cb.render(f),b.push(a.Cb),k=B("DIV","jb-kb-lb",'(defaults to "samegoal")'),f.appendChild(k),a.M=sX("Password:",void 0,
3830!1),f=z("sftp_password_input"),a.M.render(f),b.push(a.M),k=B("A",{href:"/iep/g/support/online-guides/technical-guide/samegoal-public-key#public-key-used-by-samegoal-integrations",target:"blank"},"public key"),k=B("DIV","jb-kb-lb","(leave empty to use the SameGoal ",k," ; preferred)"),f.appendChild(k)):(a.$b=tX([{Oa:0,label:"Export"},{Oa:1,label:"Import"}],"",a.h,void 0,!1),a.$b.yw(!1),a.$b.render(z("transfer_type_input")),a.$b.setValue(0),b.push(a.$b));return b}
3831h.K=function(a,b,c,d){var e=w(c)&&""!=c,f="Import/Export";e&&(f="Data Export");b=Y2(this,JPa,NPa,a,b,f,{ek:"+ add endpoint"},c,d);if(c=z("local-midnight"))d=(new Date).setUTCHours(0,0,0,0)/1E3,c.innerText=tR(d);c="Add "+f.toLocaleLowerCase();e&&(c="Update "+f.toLocaleLowerCase(),this.zb=rX("Directory:"),e=z("sftp_directory_input"),this.zb.render(e),b.push(this.zb),f=B("DIV","jb-kb-lb",'(defaults to "/")'),e.appendChild(f),this.sb=uX([{label:"JSON",Oa:"application/json"},{label:"XML",Oa:"application/xml"},
3832{label:"CSV",Oa:"text/csv"}],"File Format:"),e=z("sftp_mime_type_input"),this.sb.render(e),b.push(this.sb),f=B("DIV","jb-kb-lb",'(defaults to "JSON")'),e.appendChild(f));this.hd(a);Y_(this,b,this.h,c)};h.$=function(){W2.D.$.call(this)};function Z2(a){a=a.split("(")[0].replace(/[^a-zA-Z0-9]/g,"");0<a.length&&"0"==a[0]&&(a=a.replace(/^0+/,""),""==a&&(a="0"));return a.toLowerCase()}
3833h.hd=function(a){this.Ts.setValue(a.aj,a.p9);this.Ls.setValue(a.Sc,a.Gn);this.Ms.setValue(a.od,a.qo);this.Ns.setValue(a.cd,a.bX);var b=[];a.Lp&&(b=a.Lp.map(function(d){return{label:d,Oa:d}}));this.Js.setValue(b,a.jU);this.hI&&(this.hI.textContent=a.lN);a.Ch&&(this.V=a.Ch,this.Rm());this.bc&&this.bc.setValue(a.Br,a.g6);this.Cb&&this.Cb.setValue(a.xv,a.i6);if(this.M)if("\nSG_PW_SENTINEL"==a.Yo){b=this.M.w();if("none"!=b.children[1].style.display){b.children[1].style.display="none";b.children[2].style.display=
3834"none";var c=B("DIV",{"class":"jb-kb-lb",style:"padding-right: 8px"},"[stored securely]");b.appendChild(c);c=B("DIV","jb-kb-lb");b.appendChild(c);b=TP("change",void 0,void 0,void 0,1);b.render(c);b.W(!0);D(b,"action",this.n2,void 0,this)}this.GB=a.Yo;this.M.setValue("",a.hP)}else this.M.setValue(a.Yo,a.hP);this.zb&&this.zb.setValue(a.$z,a.f6);this.sb&&this.sb.setValue(a.aA,a.h6);this.gs&&dQa(this,a.Br||a.xv||a.Yo||a.$z||a.aA);eQa(this,a)};
3835function eQa(a,b){if(a.yz){var c=b.sH;void 0!=c&&(""==c&&(c=a.oI),a.yz.textContent=c)}c=!1;var d=!!b.Ch&&0<Object.keys(b.Ch.pb).length||!!b.Mq&&0<b.Mq.length;0<b.gX?a.qb("prerequisites","You must resolve configuration errors before running."):b.Br?d?b.k9?(c=!0,a.qb("prerequisites","")):a.qb("prerequisites","The Terms of Service must be accepted before running."):a.qb("prerequisites","At least one endpoint is required to run."):a.qb("prerequisites","A valid SFTP configuration must be saved before running.");
3836X2(a,c,b.oM)}h.gc=function(){var a={};a.aj=this.Ts.getValue();a.Sc=this.Ls.getValue();a.od=this.Ms.getValue();a.cd=this.Ns.getValue();a.Lp=this.Js.getValue();this.$b&&(a.type=this.$b.getValue());this.V&&(a.Ch=this.V);this.bc&&(a.Br=this.bc.getValue());this.Cb&&(a.xv=this.Cb.getValue());this.M&&(a.Yo=this.GB||this.M.getValue());this.zb&&(a.$z=this.zb.getValue());this.sb&&(a.aA=this.sb.getValue());return a};
3837h.n2=function(){var a=this.M.w();a.children[1].style.display="";a.children[2].style.display="";a.children[4].remove();a.children[3].remove();this.GB=""};h.qb=function(a,b){""==b?delete this.yB[a]:this.yB[a]=b;cQa(this)};function cQa(a){if(a.iI){var b=Object.values(a.yB),c="";0<b.length&&(c=b[0]);a.iI.textContent=c}}
3838function fQa(a,b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;c.push.apply(c,ka(fQa(a,d.St())));d=m(d.Si);for(var e=d.next();!e.done;e=d.next())e=e.value,e.Ffa||c.push(e.F)}return c}
3839h.uN=function(){A("edit_modal").style.display="";A("edit_title").innerText="Add Endpoint";var a=A("edit_dialog"),b=A("edit_body");b.scrollTop=0;b.innerText="";var c=$I();c=fQa(this,c);this.V&&this.V.has("translate/complete")||c.push("translate/complete");this.V&&this.V.has("translate/register")||c.push("translate/register");c.sort();this.$a=ZP("Select endpoint");c=m(c);for(var d=c.next();!d.done;d=c.next())this.$a.Jb(WP(d.value));c=B("DIV",{style:"text-align: center"});this.$a.render(c);this.$a.Sb().w().style.zIndex=
3840"19001";nw().e2e&&this.$a.Sb().w().setAttribute("data-e2e","endpoint_menu");D(this.$a,"action",this.c2,void 0,this);b.appendChild(c);a.style.display=""};h.z2=function(a){a=a.target.innerText;A("edit_modal").style.display="";A("edit_title").innerText="Edit Endpoint";var b=A("edit_dialog"),c=A("edit_body");c.scrollTop=0;c.innerText="";b.style.display="";gQa(this,a)};function dQa(a,b){a.tI=b;A("sftp_container").style.display=b?"":"none";a.gs.Fc(b?"Hide":"Show")}
3841function $2(a){return 8!=a.length?a:a.substr(0,4)+"-"+a.substr(4,2)+"-"+a.substr(6,2)}h.c2=function(){var a=this.$a.getValue(),b=a.toLowerCase();a=b;if("translate/complete"==b||"translate/register"==b)b=new sz,this.V.set(a,b),this.Al(null),this.Rm(),A("edit_modal").style.display="none",A("edit_dialog").style.display="none";else{for(var c=1;this.V.has(a);)a=b+"_"+c,c++;A("edit_title").innerText="Configure Endpoint";b=A("edit_body");b.scrollTop=0;b.innerText="";gQa(this,a)}};
3842function gQa(a,b){a.Ax=b;b=bQa(b);var c=kK(),d=$I();b=XI(d,b);d=zF();var e=yF(AF);null!=b.inputs?b.Vd=b.inputs({buildings:a.sI,activePrograms:c},d,e):b.Vd=[];b.Vd.unshift({name:"Limit:",type:"text",Ae:"https://www.imsglobal.org/oneroster-v11-final-specification#_Toc480451995",C:"OneRoster style pagination result limit. Set to 'unlimited' for the full result set. When retrieving large result sets it is recommended use a large limit.",Pd:"10000"}
3842,{name:"Offset:",type:"text",Ae:"https://www.imsglobal.org/oneroster-v11-final-specification#_Toc480451995",
3843C:"OneRoster style pagination result offset (zero indexed).",Pd:"0"},{name:"Sort:",type:"text",Ae:"https://www.imsglobal.org/oneroster-v11-final-specification#_Toc480451996",C:"OneRoster style sorting."},{name:"Order By:",type:"radio",options:[{text:"Asc",check:!0},{text:"Desc"}],Ae:"https://www.imsglobal.org/oneroster-v11-final-specification#_Toc480451996",C:"OneRoster style ordering."},{name:"Filter:",type:"text",Ae:"https://www.imsglobal.org/oneroster-v11-final-specification#_Toc480451997",C:"OneRoster style filtering criteria."},
3844{name:"Fields:",type:"text",Ae:"https://www.imsglobal.org/oneroster-v11-final-specification#_Toc480451998",C:"OneRoster style field selection"},{name:"Filename:",type:"text",C:"Content Disposition filename."},{name:"Report Field Names:",type:"radio",options:[{text:"True"},{text:"False",check:!0}],C:"Use field names from the corresponding report. This can be helpful for interoperability with CSV imports to external systems. Avoid this option when possible as the default camelCase are supported across media types."});
3845c=TI();d=m(b.Vd);for(e=d.next();!e.done;e=d.next())e=e.value,"date"==e.type&&e.Pd==c&&(e.VW=!0,e.XJ=!0,e.Pd="");a.qI=JSON.parse(JSON.stringify(b.Vd));if(c=a.V?a.V.get(a.Ax):void 0)for(d=m(b.Vd),e=d.next();!e.done;e=d.next()){e=e.value;var f=Z2(e.name),g=xz(c);switch(e.type){case "radio":case "checkbox":case "select":if(f=g.get(f)){g=I(f,1);for(var k=m(e.options),l=k.next();!l.done;l=k.next())l=l.value,l.check=0<=g.indexOf(Z2(l.value||l.text));e.Ju=fz(f,2,!1)}break;case "date":if(f=g.get(f))g=I(f,
38461),0<g.length&&""!=g[0]&&(e.XJ=!1,e.Pd=$2(g[0])),e.Ju=fz(f,2,!1);break;case "range":if(k=g.get(f+"start"))l=I(k,1),0<l.length&&(e.aS=$2(l[0])),e.Ju=fz(k,2,!1);if(f=g.get(f+"end"))g=I(f,1),0<g.length&&(e.MK=$2(g[0])),e.Ju=fz(f,2,!1);break;case "text":case "document_id":case "student_search":case "user_search":if(f=g.get(f))g=I(f,1),0<g.length&&(e.Pd=g[0]),e.Ju=fz(f,2,!1);break;default:throw Error("unknown report input type: "+e.type);}}c=A("edit_body");c.scrollTop=0;
3846b=new U2(b,!1,!0);c.appendChild(b.g);
3847if(Qv&&(b=gw("us"),b.length))for(c={},d=0;d<b.length;c={gw:c.gw},d++)c.gw=z("input_"+b[d].id.split("clearDate_")[1]),c.gw&&D(b[d],"click",function(q){return function(){q.gw.value=""}}(c));var n=gw("sgAPICallDate");if(n.length)for(b={$j:0};b.$j<n.length;b={$j:b.$j,Kl:b.Kl},b.$j++)b.Kl=z("input_"+n[b.$j].id.split("curdate_")[1]),b.Kl&&(D(n[b.$j],"change",function(q){return function(){n[q.$j].checked&&(q.Kl.value="")}}(b)),D(b.Kl,"blur",function(q){return function(){""!=q.Kl.value&&(n[q.$j].checked=
3848!1)}}(b)),D(b.Kl,"change",function(q){return function(){""!=q.Kl.value&&(n[q.$j].checked=!1)}}(b)));b=z("update");D(b,"click",a.PH,void 0,a);b=z("cancel");D(b,"click",a.jC,void 0,a);(b=z("delete"))&&D(b,"click",function(){return a.ax(a.Ax)},void 0,a)}h.Al=function(a){W2.D.Al.call(this,a);X2(this,!1,!1)};h.jC=function(){A("edit_modal").style.display="none";A("edit_dialog").style.display="none"};
3849h.ax=function(a){confirm("Really delete?")&&(this.V.hK(a),this.Al(null),this.Rm(),A("edit_modal").style.display="none",A("edit_dialog").style.display="none")};
3850h.PH=function(){for(var a=new sz,b=xz(a),c=0;c<this.qI.length;c++){var d=this.qI[c],e=new rz,f=z("override_"+c).checked;f&&M(e,2,!0);switch(d.type){case "radio":for(var g="",k=m(d.options),l=k.next();!l.done;l=k.next())if(l=l.value,l.checked){g=Z2(l.value||l.text);break}l=gw("input_"+c);for(k=0;k<l.length;k++)if(l[k].checked){l=Z2(l[k].value);g!=l&&wz(e,l);break}(0<I(e,1).length||f)&&b.set(Z2(d.name),e);break;case "checkbox":g=[];k=m(d.options);for(l=k.next();!l.done;l=k.next())l=l.value,l.check&&
3851(l.value||l.text)&&g.push(Z2(l.value||l.text));g.sort();l=gw("input_"+c);k=[];for(var n=0;n<l.length;n++)l[n].checked&&k.push(Z2(l[n].value));k.sort();JSON.stringify(g)!=JSON.stringify(k)&&(0<k.length||!d.required)?(M(e,1,k||[]),b.set(Z2(d.name),e)):f&&(M(e,1,g||[]),b.set(Z2(d.name),e));break;case "select":g="";k=m(d.options);for(l=k.next();!l.done;l=k.next())if(l=l.value,l.checked){g=Z2(l.value||l.text);break}l=z("input_"+c);l=Z2(l.options[l.selectedIndex].value);g!=l&&wz(e,l);(0<I(e,1).length||
3852f)&&b.set(Z2(d.name),e);break;case "date":g=z("input_"+c);g.value&&wz(e,Z2(g.value));(l=z("curdate_"+c))&&!g.value&&(l.checked||wz(e,"false"));(0<I(e,1).length||f)&&b.set(Z2(d.name),e);break;case "range":g=new rz;f&&M(g,2,!0);l=z("input_"+c+"_start");l.value&&wz(g,Z2(l.value));(0<I(g,1).length||f)&&b.set(Z2(d.name)+"start",g);g=z("input_"+c+"_end");g.value&&wz(e,Z2(g.value));(0<I(e,1).length||f)&&b.set(Z2(d.name)+"end",e);break;case "text":case "document_id":g=z("input_"+c);g.value&&g.value!=d.Pd&&
3853wz(e,g.value);(0<I(e,1).length||f)&&b.set(Z2(d.name),e);break;case "user_search":case "student_search":l=z(d.type);g="";if(l)if(k=l.__component)(l=k.getValue())&&0<l.length&&(g=l[0]);else if(l=l.querySelector('input[type="hidden"]'))g=l.value;g&&g!=d.Pd&&wz(e,g);(0<I(e,1).length||f)&&b.set(Z2(d.name),e);break;default:throw Error("unknown report input type: "+d.type);}}this.V.set(this.Ax,a);this.Al(null);this.Rm();A("edit_modal").style.display="none";A("edit_dialog").style.display="none"};
3854function hQa(a,b){a=xz(a.V.get(b)).get("building");b="";a&&(a=I(a,1),b=1==a.length?"Building Reporting ID: "+a[0]:5>=a.length?"Building Reporting IDs: "+a.join(", "):a.length+" Buildings");return b}
3855h.Rm=function(){var a=this,b=z("endpoints");if(b){b.innerHTML="";for(var c=[],d=m(this.V.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=bQa(e);f="translate/complete"==f||"translate/register"==f;var g=hQa(this,e);c.push({name:e,Ij:f,hint:g})}Yx(b,SPa,{QK:c});b=b.querySelectorAll("tr");for(d={Ym:0};d.Ym<b.length;d={Ym:d.Ym},d.Ym++)e=b[d.Ym],f=e.querySelector(".Am"),c[d.Ym].Ij||D(f,"click",this.z2,void 0,this),D(e.querySelector(".F"),"click",function(k){return function(){return a.ax(c[k.Ym].name)}}(d),
3856void 0,this)}};function a3(){W2.call(this);this.pI=new Map;this.KB=[];this.KH=[];this.ZH=[];this.gI=[];this.ii=this.xd=this.Kc=this.Na=this.Y=this.u=this.ck=null;this.TF=new Map;this.xy=!1;this.qy=[]}x(a3,W2);h=a3.prototype;
3857h.K=function(a,b,c,d){if(d){this.h=250;this.vendor=d;b=Y2(this,PPa,PPa,a,b,"Integration",void 0,c,d);iQa(this,b);c=(this.xy=!!a&&!a.F_)?"Update integration":"Add integration";this.u=rX("* First Name:",this.h);this.u.render(z("sign_first_name_input"));this.Y=rX("* Last Name:",this.h);this.Y.render(z("sign_last_name_input"));this.Na=rX("* Email:",this.h);this.Na.render(z("sign_user_name_input"));d=new mU("The person authorized to sign the data agreement to allow SameGoal to share data with this integration.");
3858d.render(z("sign_hint"));yF(AF).includes(66)?(b.push(this.u),b.push(this.Y),b.push(this.Na),this.qy.push(d)):(gx(z("sign_first_name_input"),"U"),gx(z("sign_last_name_input"),"U"),gx(z("sign_user_name_input"),"U"),gx(z("sign_hint"),"U"),gx(z("sign_account_title"),"U"));this.Kc=rX("* First Name:",this.h);this.Kc.render(z("maint_first_name_input"));b.push(this.Kc);this.xd=rX("* Last Name:",this.h);this.xd.render(z("maint_last_name_input"));b.push(this.xd);this.ii=rX("* Email:",this.h);this.ii.render(z("maint_user_name_input"));
3859b.push(this.ii);d=new mU("The district representative who will maintain this integration");d.render(z("maint_hint"));this.qy.push(d);this.xy&&(this.ck=TP("Resend data agreement email",void 0,void 0,void 0,1),yF(AF).includes(66)&&(this.ck.render(z("user_name_resend_email")),D(this.u,"change",this.Or,void 0,this),D(this.Y,"change",this.Or,void 0,this),D(this.Na,"change",this.Or,void 0,this)));this.hd(a);yF(AF).includes(66)&&this.xy&&!a.PR&&this.ck.W(!1);if(d=z("signature"))if(a.cq&&a.cq.Bj()){var e=
3860(new Date(1E3*L(a.cq,4,0))).toLocaleDateString("en-US",{timeZone:"UTC",day:"2-digit",month:"2-digit",year:"numeric"}),f=B("DIV",{"class":"jb-kb-lb xk",style:"min-width:"+this.h+"px;"},"Data Agreement:"),g="/sm/view-agreement?domain="+UJ+"&token="+a.cq.re();g=B("A",{href:g,target:"_blank"},"SameGoal Data Sharing Agreement");a=B("DIV",void 0,f,"Signed by "+a.cq.Fx()+" ("+a.cq.gD()+") on "+e+" (",g,")");d.appendChild(a)}else gx(d,"U");Y_(this,b,this.h,c)}};h.Or=function(){this.ck.W(!1)};h.kD=function(){return this.ck};
3861function iQa(a,b){var c=z("config");if(c){var d=z("info");if(d){var e=""!=aG(a.vendor)?aG(a.vendor):a.vendor.kb(),f=z("vendor_name"),g=rX("Name:",a.h);g.render(f);g.setValue(e);g.W(!1);e=z("vendor_id");g=rX("ID:",a.h);g.render(e);g.setValue(a.vendor.rb());g.W(!1);g=a.vendor.Ec();f=N(a.vendor,CB,1002);
3861if(yF(AF).includes(65)&&f){e="/iep/vendor/download?vendorId="+a.vendor.rb()+"&binaryDocId="+L(f,1,"");e=B("A",{href:e,target:"_blank"},L(f,2,""));f=(new Date(1E3*L(f,10,0))).toLocaleDateString("en-US",
3862{timeZone:"UTC",day:"2-digit",month:"2-digit",year:"numeric"});var k=B("DIV",{"class":"jb-kb-lb xk",style:"min-width:"+a.h+"px;"},"Security Questionnaire:");switch(g){case 0:d.appendChild(B("DIV",void 0,k,e," valid as of ",f));break;case 5:d.appendChild(B("DIV",void 0,k,e))}}e="";f=""!=L(a.vendor,1003,"")?L(a.vendor,1003,""):"Valid";switch(g){case 5:e="bc";break;case 6:e="ac"}g=B("DIV",{"class":"jb-kb-lb xk",style:"min-width:"+a.h+"px;"},"Status:");e=B("SPAN",e,f);d.appendChild(B("DIV",void 0,g,e))}g=
3863gz(a.vendor,8,void 0,cD);d=function(l,n){l=l[1];n=n[1];var q=[1,3,0,2,4,5];return l.Pn()!=n.Pn()?n.Pn()-l.Pn():q.indexOf(l.Kn())-q.indexOf(n.Kn())};g=Array.from(g.entries());0<g.length?(g.sort(d),g.forEach(function(l){jQa(a,b,l[1],l[0],c)})):gx(c,"U")}}
3864function jQa(a,b,c,d,e){if(!fz(c,4,!1)){var f=B("DIV");e.appendChild(f);a.TF.set(d,!1);var g=c.Kn(),k=fz(c,6,!1),l=c.Ci()||"";a.pI.set(d,l.replace(/\s+/g,""));e=L(c,8,"")||"";var n=""!=e?e+":":d+":";c.Pn()&&(n="* "+n);var q=B("DIV","jb-kb-lb fc");e="";switch(g){case 0:case 2:case 5:k?(k=sX(n,a.h,!1),k.render(f)):(k=rX(n,a.h),k.render(f),k.setValue(l));k.w().id=d;2==g&&(e='(Options should be split by ";")');a.KB.push(k);break;case 1:k=new o0(n,a.h);k.render(f);k.w().id=d;k.setValue(l.toLowerCase(),
3865"");a.KH.push(k);break;case 3:var t=[];l.split(";").forEach(function(u){u=u.split(":",2);1>u.length||""==u[0]||(1==u.length&&u.push("false"),t.push({label:u[0].replace(/([A-Z])/g," $1").trim(),Oa:u[0],checked:"true"==u[1]}))});k=pX(t,n,a.h);k.render(f);f.appendChild(q);k.w().id=d;a.ZH.push(k);break;case 4:k=new S2(l,n,a.h);k.render(f);k.w().id=d;a.gI.push(k);break;default:return}g=L(c,9,"");""!=g&&(d=B("SPAN"),f.appendChild(d),g=new mU(g),g.render(d),a.qy.push(g));f.appendChild(B("DIV","jb-kb-lb",
3866e));k.W(!fz(c,5,!1));gx(k.w(),"yk");gx(k.w(),"sgFieldErrorInput");Ix(k,"change",a.q7,void 0,a);b.push(k)}}h.q7=function(a){"change"==a.type&&(a=a.h.w().id,this.TF.set(a,!0))};
3867h.gc=function(){var a={type:2};a.aj=""!=aG(this.vendor)?aG(this.vendor):this.vendor.kb();var b=new Map,c=new vz;if(yF(AF).includes(66)){var d=this.u.getValue();M(c,2,d);d=this.Y.getValue();M(c,3,d);d=this.Na.getValue();M(c,4,d);b.set("signatory",c);c=new vz}d=this.Kc.getValue();M(c,2,d);d=this.xd.getValue();M(c,3,d);d=this.ii.getValue();M(c,4,d);b.set("maintenance",c);a.aT=b;a.rV=this.vendor.rb();a.Il=this.vendor.rb();kQa(this,a);return a};
3868function b3(a,b,c,d){var e=a.pI.get(b);c=c.replace(/\s+/g,"");if(!e||e!=c)if(""!=c||a.TF.get(b))a=new rz,wz(a,c),d.set(b,a)}
3869function kQa(a,b){var c=new sz,d=xz(c);a.KH.forEach(function(e){b3(a,e.w().id,e.getValue().toString(),d)});a.KB.forEach(function(e){b3(a,e.w().id,e.getValue(),d)});a.gI.forEach(function(e){b3(a,e.w().id,e.getValue(),d)});a.ZH.forEach(function(e){var f=e.h.je();if(0!=f.length){var g="";f.forEach(function(k){""!=g&&(g+=";");g+=k.Tc()+":"+k.Pc().toString()});b3(a,e.w().id,g,d)}});a.At.set("all",c);b.Ch=a.At;b.NS=a.At}
3870h.hd=function(a){if(a)if(this.u.setValue(a.x8,a.y8),this.Y.setValue(a.z8,a.A8),this.Na.setValue(a.PR,a.w8),this.Kc.setValue(a.x0,a.y0),this.xd.setValue(a.z0,a.A0),this.ii.setValue(a.v0,a.w0),a.Ch){var b=a.qx||new Map;this.At=a.Ch;var c=this.At.get("all");!a.Ch.has("all")&&a.NS&&(c=a.NS.get("all"));if(c){var d=xz(c);a=function(e){var f=e.w().id,g=b.has(f)?b.get(f):"";d.has(f)?(f=cz(d.get(f),1),0<f.length&&e.setValue(f[0],g)):(f=e.w().value,e.setValue(f,g))};this.KH.forEach(a);this.KB.forEach(a);this.gI.forEach(a);
3871this.ZH.forEach(function(e){var f=e.w().id,g=Qw(e.w()).children,k=b.has(f)?b.get(f):"";1<g.length&&g[1].classList.contains("fc")&&(g[1].innerText=k);if(d.has(f)){if(k=cz(d.get(f),1),0<k.length){var l=new Map;k[0].split(";").forEach(function(n){n=n.split(":",2);2>n.length||l.set(n[0],n[1])});e.je().forEach(function(n){var q=n.Tc();l.has(q)&&n.nc("true"==l.get(q).toLowerCase())})}}else f=e.w().value,e.setValue(f,k)})}}else this.At=new Map};
3872h.$=function(){a3.D.$.call(this);Mx(this.u,"change",this.Or,void 0,this);Mx(this.Y,"change",this.Or,void 0,this);Mx(this.Na,"change",this.Or,void 0,this);
3872this.qy.forEach(function(a){C(a)})};function c3(a,b,c){M2.call(this,a,b,c);this.h=""}x(c3,M2);h=c3.prototype;h.clientId="";h.rH=0;h.lp="Data Import/Export";function lQa(a,b){var c=b.na("clientId");b=b.na("vendorId");if(!w(c)&&!w(b))return h_(a),!1;a.clientId=c;w(b)&&(a.h=b,a.clientId=b);return!0}
3873h.start=function(a){var b=this;lQa(this,a)&&(c3.D.start.call(this,a),DQ(this,"Cc","initial",function(c){return xQ(c,0,b.clientId,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,b.h)},this.j_,this),this.rH=setInterval(function(){d3(b,3,"transfer_status",b.o9)},2E4))};h.$=function(){c3.D.$.call(this);0!=this.rH&&clearInterval(this.rH)};h.q5=function(){d3(this,0,"email_resp",this.$W)};h.I5=function(){d3(this,1,"RUN_TRANSFER",this.G5)};
3874h.YU=function(){d3(this,2,"CANCEL_TRANSFER",this.XU)};h.i3=function(){mQa(this,"Run "+this.lp,"Don't Run","Are you sure you want to run this "+this.lp.toLocaleLowerCase()+"?",this.I5)};h.f3=function(){mQa(this,"Cancel "+this.lp,"Don't Cancel","Are you sure you want to cancel this "+this.lp.toLocaleLowerCase()+"?",this.YU)};
3875function mQa(a,b,c,d,e){var f=a.view;if(null==f.Ep||f.Ep.o){f.Ep=SP();f.Ep.dg=!0;var g=f.Ep.ib(),k=ay(QPa);g.appendChild(k)}f=f.Ep;f.tc("Confirm "+b);z("transfer_dg_errors");z("transfer_dg_text").textContent=d;d=f.Yb;g=d.Ci();k=fI(d,g);k.textContent=b;fI(d,d.Wn).textContent=c;iI(d,g,!0);Ix(k,"click",e,void 0,a);f.Ga(!0)}function d3(a,b,c,d){DQ(a,"Cc",c,function(e){return xQ(e,2,a.clientId,b,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,a.h)},d,a)}
3876h.$W=function(){var a=this.view.kD();a&&(a.W(!1),a.Fc("Email sent"))};h.G5=function(a){e3(this,a,!1)||X2(this.view,!1,!0)};h.XU=function(a){e3(this,a,!1)||X2(this.view,!0,!1)};h.o9=function(a){e3(this,a,!0)};function e3(a,b,c){if(null==RE(b))a.view.qb("result","Unexpected response received."),c=!0;else{var d=RE(b)[0];d&&L(d,1008,"")?(a.view.qb("result",L(d,1008,"")),c=!0):(c||a.view.qb("result",""),c=!1)}nQa(a,b,!1);return c}
3877h.j_=function(a){this.yc(a);this.Ya();D(this.view.kD(),"action",this.q5,void 0,this);w(this.g)||(D(this.view.Jy,"action",this.i3,void 0,this),D(this.view.cz,"action",this.f3,void 0,this))};h.yc=function(a){TF(RE(a)[0]);var b=c3.D.yc.call(this,a),c=RE(a)[0];this.v.k9=fz(c,1005,!1)||L(c,1006,"")===L(c,1012,"");nQa(this,a,!0);this.g=N(c,dD,1013);this.v.cq=N(c,OC,1014);return b};
3878function nQa(a,b,c){b=RE(b)[0];oQa(a,S(b,yz,1009),c);3==L(b,1015,0)&&(a.v.sH="Unable to retrieve integration status.");a.view&&eQa(a.view,a.v)}function oQa(a,b,c){if(null==b||0==b.length)c||(a.v.oM=!1,a.v.sH="");else{b.sort(function(k,l){return L(l,1,0)-L(k,1,0)});b=b[0];c=tR(L(b,1,0));var d=tR(b.getStartTime()),e=tR(b.Ot()),f="",g=!1;0>b.getStartTime()?(g=!0,f=c+": In Queue"):0>b.Ot()?(g=!0,f=d+": Running"):f=1==b.Ec()?e+": Finished Successfully":e+": Finished With Errors";a.v.oM=g;a.v.sH=f}}
3879h.OG=function(a){this.Kd(a,"Ec")};function f3(a,b,c){c3.call(this,a,b,c);this.lp="Vendor Integration"}x(f3,c3);f3.prototype.jc=function(a){f3.D.jc.call(this,a);X2(this.view,!0,!1);DQ(this,"Cc","save",function(b){return xQ(b,2,a.rV,void 0,a.Sc,a.od,a.cd,void 0,a.aj,2,a.Ch,void 0,void 0,void 0,void 0,void 0,void 0,a.Il,a.aT)},this.OG,this)};function g3(a,b,c){c3.call(this,a,b,c);this.lp="Data Export"}x(g3,c3);g3.prototype.jc=function(a){var b=this;g3.D.jc.call(this,a);X2(this.view,!0,!1);DQ(this,"Cc","save",function(c){return xQ(c,2,b.clientId,void 0,a.Sc,a.od,a.cd,a.Lp,a.aj,0,a.Ch,void 0,a.Br,a.xv,a.Yo,a.$z,a.aA)},this.OG,this)};function h3(a,b,c){c3.call(this,a,b,c);this.lp="Data Import"}x(h3,c3);h3.prototype.jc=function(a){var b=this;h3.D.jc.call(this,a);X2(this.view,!0,!1);DQ(this,"Cc","save",function(c){return xQ(c,2,b.clientId,void 0,a.Sc,a.od,a.cd,a.Lp,a.aj,1,void 0,a.Mq,a.Br,a.xv,a.Yo,void 0,void 0)},this.OG,this)};h3.prototype.$=function(){h3.D.$.call(this)};function i3(){W2.call(this)}x(i3,W2);h=i3.prototype;h.K=function(a,b,c){b=Y2(this,JPa,OPa,a,b,"Data Import",{ek:"+ add pull location"},c);this.hd(a);Y_(this,b,this.h,"Update data import")};h.tX=function(){var a=this.Y.getValue().split(".").pop();this.Na.setValue("."+a)};h.uN=function(){this.Kc="";pQa(this,"Add Pull Location",!1)};
3880function pQa(a,b,c){a.ii=SP();a.ii.dg=!0;var d=a.ii,e=d.ib();d.tc(b);eI(d,null);b=ay(RPa,{RI:c});e.appendChild(b);
3880e.scrollTop=0;e=[{label:"Medicaid IDs",Oa:"medicaid"}];F0()&&e.push({label:"Student Teams",Oa:"studentteams"});a.xd=uX(e,"Endpoint:",100,"Select one...");a.xd.render(z("endpoint_select"));a.xd.setValue(e[0].Oa);a.xd.Jm();a.Y=rX("File path:",100);a.Y.render(z("filepath_input"));D(a.Y.h,"blur",a.tX,void 0,a);a.Na=uX([{label:"CSV",Oa:".csv"},{label:"JSON",Oa:".json"},{label:"XML",Oa:".xml"}],
3881"File type:",100,"Select one...");a.Na.render(z("filetype_input"));a.Na.setValue(".json");a.Na.Jm();a.ck=new kU("Folder",!0);a.ck.render(z("isfolder_box"));e=z("update");D(e,"click",a.PH,void 0,a);e=z("cancel");D(e,"click",a.jC,void 0,a);(e=z("delete"))&&D(e,"click",a.ax,void 0,a);d.Ga(!0)}h.A2=function(a){a=a.target.innerText;var b=this.u[a];pQa(this,"Update Pull Location",!0);this.xd.setValue(b.tL());this.Y.setValue(a);this.ck.nc(fz(b,4,!1));this.Na.setValue(L(b,3,""));this.Kc=a};
3882h.ax=function(){confirm("Really delete?")&&(delete this.u[this.Kc],this.Al(null),this.Rm(),this.ii.Ga(!1))};
3883h.PH=function(){this.u||(this.u={});this.Y.qb("");this.Na.qb("");this.xd.qb("");var a=new tz,b=this.Y.getValue().trim().replace(/\s+/g," ");M(a,2,b);var c=this.xd.getValue();M(a,1,c);c=this.Na.getValue();M(a,3,c);c=this.ck.Pc();M(a,4,c);this.Kc!=L(a,2,"")&&this.u.hasOwnProperty(L(a,2,""))?(this.Y.qb("Cannot have multiple configurations for the same file."),c=!1):""==L(a,2,"")?(this.Y.qb("Filepath is required."),c=!1):c=!0;c&&(""!=this.Kc&&this.Kc!=b&&delete this.u[this.Kc],this.u[b]=a,this.Al(null),
3884this.Rm(),this.ii.Ga(!1))};h.jC=function(){this.ii.Ga(!1)};h.Rm=function(){var a=z("endpoints");if(a){a.innerHTML="";for(var b in this.u){var c=B("SPAN","Am",b),d=B("TD","Hm",c);d.style.width="20%";d=B("TR",void 0,d);a.appendChild(d);D(c,"click",this.A2,void 0,this)}}};h.gc=function(){var a=i3.D.gc.call(this);if(this.u){var b=[],c;for(c in this.u)b.push(this.u[c]);0<b.length&&(a.Mq=b)}return a};
3885h.hd=function(a){i3.D.hd.call(this,a);if(a.Mq&&!a.lN){this.u={};a=m(a.Mq);for(var b=a.next();!b.done;b=a.next())b=b.value,this.u[L(b,2,"")]=b;this.Rm()}};function j3(a,b,c){J1.call(this,a,b,c);this.M=new Map;this.l=[];this.Cg=[];this.va=[];this.m="week";this.s="all";this.L=this.j="";this.T="ASSIGNED_TO_ME";this.Eb="ka";this.Qb=[];this.u=null;this.rf=[];this.ea=null}x(j3,J1);h=j3.prototype;
3886h.Dd=function(a){var b=a.na("calendar");w(b)&&(this.m=b);b=a.na("deadlines");w(b)&&(this.s=b);b=a.na("date");w(b)&&k3(this,b);b=a.na("endDate");w(b)&&qQa(this,b);switch(a.na("deadlines_view_mode")){case "ALL":this.T="ALL";break;case "UNASSIGNED":this.T="UNASSIGNED";break;default:this.T="ASSIGNED_TO_ME"}b=a.na("searchBuildings");w(b)?this.u=""==b?[]:l3(b):this.u=null;b=a.na("searchGrades");w(b)?this.ea=""==b?[]:l3(b):this.ea=null;this.jm(a);return!0};
3887h.start=function(a){if(this.Dd(a)){g_(this,"T",this.r7,this);a=++RQ;dV(this,a,"initial");AQ(a,!1,"");a=++RQ;dV(this,a,"initial");AQ(a,!0,"");g_(this,"da",this.i_,this);a=++RQ;dV(this,a,"initial");var b=new lB;EE(b,40);FE(b,a);eN(dN.getInstance(),b,!0);m_(this,!1);n_(this)}};
3888h.k_=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){for(var b=fEa(a),c=m(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.bb,f=d.Om;this.M.has(e)||this.M.set(e,{Ab:[],$h:[],Om:f});this.M.get(e).Ab.push(d)}this.g=b;b=gEa(a);b=m(b);for(c=b.next();!c.done;c=b.next())c=c.value,d=c.bb,this.M.has(d)&&this.M.get(d).$h.push(c);b=S(a,oC,27);for(c=0;c<b.length;c++)d=b[c],this.l.push({name:d.kb(),url:L(d,4,"")});O1(this,a);this.Ya()}};
3889h.r7=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){var b=0;for(a=OE(a);b<a.length;b++){var c=a[b],d=xF(c);c=wF(c);Pb(this.Cg,[c,d])}this.Ya()}};h.i_=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){a=I(a,34);a=m(a);for(var b=a.next();!b.done;b=a.next())b=b.value,"Data Issue"==b?this.va.splice(0,0,b):this.va.push(b);g_(this,"ka",this.k_,this);a=++RQ;dV(this,a,"initial");this.td(a)}};
3890h.K=function(){j3.D.K.call(this);var a=[];if("all"==this.s||""==this.s)for(var b=0;b<this.va.length;b++)a.push(b);else if("none"!=this.s){b=m(this.s.split(","));for(var c=b.next();!c.done;c=b.next())c=c.value,isNaN(c)||a.push(Number(c))}this.view.K(this.M,this.g,this.Cg,this.m,this.va,a,this.T,this.j,this.L,this.Qb,this.u,this.rf,this.ea);P1(this);L1(this);D(this.view.LB,"click",this.BS,void 0,this);D(this.view.FB,"click",this.OA,void 0,this);D(this.view.DB,"click",this.OA,void 0,this);D(this.view.me,
3891"action",this.zS,void 0,this);D(this.view.Fp,"change",this.TO,void 0,this);D(this.view.vF,"click",this.XI,void 0,this);this.view.ea&&D(this.view.ea,"change",this.cL,void 0,this);D(this.view.Ua,this.view.Ua.Be(),this.bL,void 0,this);D(this.view.cb,this.view.cb.Be(),this.dL,void 0,this)};
3892h.$=function(){j3.D.$.call(this);Mx(this.view.LB,"click",this.BS,void 0,this);Mx(this.view.FB,"click",this.OA,void 0,this);Mx(this.view.DB,"click",this.OA,void 0,this);Mx(this.view.me,"action",this.zS,void 0,this);Mx(this.view.Fp,"change",this.TO,void 0,this);Mx(this.view.vF,"click",this.XI,void 0,this);this.view.ea&&Mx(this.view.ea,"change",this.cL,void 0,this);Mx(this.view.Ua,this.view.Ua.Be(),this.bL,void 0,this);Mx(this.view.cb,this.view.cb.Be(),this.dL,void 0,this);M1(this)};
3893h.td=function(a){var b=new Date,c=1;switch(this.T){case "ALL":c=4;break;case "UNASSIGNED":c=5}var d=1;switch(this.m){case "caseload":if(""!=this.j)b=QO(this.j);else{var e=SO(b);b=QO(e)}e=b.setHours(0,0,0);if(""!=this.L){b=QO(this.L);var f=b.setHours(23,59,59)}else f=b.setFullYear(b.getFullYear()+50);break;case "day":""!=this.j&&(b=QO(this.j));e=b.setHours(0,0,0);f=b.setHours(23,59,59);break;case "week":d=0;""!=this.j&&(b=QO(this.j));f=m(SAa(b));e=f.next().value;f=f.next().value;b=QO(e);e=b.setHours(0,
38940,0);b=QO(f);f=b.setHours(23,59,59);break;case "month":d=0;""!=this.j&&(b=QO(this.j));f=m(RO(b,!0));e=f.next().value;f=f.next().value;b=QO(e);e=b.setHours(0,0,0);b=QO(f);f=b.setHours(23,59,59);break;default:h_(this);return}b=[];switch(this.s){case "none":b=["None"];break;case "":case "all":break;default:for(var g=m(this.s.split(",")),k=g.next();!k.done;k=g.next())k=k.value,isNaN(k)||b.push(this.va[Number(k)])}eCa(a,"",b,c,parseInt(e/1E3,10),parseInt(f/1E3,10),N1(this),d,this.m,this.u||void 0,this.ea||
3895void 0)};h.Ud=function(a){var b="pageName=deadlines&calendar="+this.m;this.j&&(b+="&date="+this.j);this.L&&(b+="&endDate="+this.L);b+="&deadlines_view_mode="+this.T;1!=a&&(b+="&page="+a.toString());this.s&&(b+="&deadlines="+encodeURIComponent(this.s));this.u&&(b+="&searchBuildings="+this.u.toString());this.ea&&(b+="&searchGrades="+this.ea.toString());MK(b)};h.BS=function(){this.j=PO(new Date);this.Ud(1)};
3896h.OA=function(a){a=a.target;var b=new Date;""!=this.j&&(b=QO(this.j));if("month"!=this.m){var c="day"==this.m?1:7;"calendar_left_arrow"==a.id?b.setDate(b.getDate()-c):b.setDate(b.getDate()+c)}else b.setDate(1),"calendar_left_arrow"==a.id?b.setMonth(b.getMonth()-1):b.setMonth(b.getMonth()+1);k3(this,PO(b));this.Ud(1)};
3897h.zS=function(){switch(this.view.me.getValue()){case "List":this.m="caseload";this.j="";break;case "Day":this.m="day";this.L="";break;case "Week":this.m="week";this.L="";break;case "Month":this.m="month",this.L=""}this.Ud(1)};h.TO=function(){switch(this.view.Fp.getValue()){case "All":this.T="ALL";break;case "Unassigned":this.T="UNASSIGNED";break;default:this.T="ASSIGNED_TO_ME"}this.Ud(1)};
3898h.XI=function(a){for(var b=gw("Wf"),c=[],d=0;d<b.length;d++){var e=Mw(b[d])[0];0==Ww(e).localeCompare("done")&&c.push(d)}c.length==this.va.length?this.s="all":0==c.length?this.s="none":this.s=c.join(",");this.view.iM(a);this.Ud(1)};h.cL=function(){if(this.view.ea){var a=this.view.ea.qH;k3(this,a.jp?a.jp:"");qQa(this,a.An?a.An:"");this.Ud(1)}};h.bL=function(){this.view.Ua.mi()?this.u=null:this.u=this.view.Ua.Cc();this.Ud(1)};
3899h.dL=function(){this.view.cb.mi()?this.ea=null:this.ea=this.view.cb.Cc();this.Ud(1)};function rQa(a){a=QO(a);var b=new Date(2020,6,1,0,0,0,0);a.getTime()<b.getTime()&&(a=b);return a}function k3(a,b){""===b?a.j=b:(b=rQa(b),a.j=PO(b))}function qQa(a,b){""===b?a.L=b:(b=rQa(b),a.L=PO(b))};function m3(a,b,c){EH.call(this,c);this.qH={jp:a,An:b};a=null==a?"":a;b=null==b?"":b;this.Y=B("SPAN","jb-kb-lb");this.u=B("SPAN","jb-kb-lb");this.m=new O2(a);this.l=new O2(b);this.h=null}x(m3,EH);m3.prototype.Ra=function(){this.Ea(this.m);this.Ea(this.l);this.j=this.h=B("DIV",void 0,this.Y," - ",this.u)};
3900m3.prototype.K=function(){m3.D.K.call(this);this.m.render(this.Y);this.l.render(this.u);D(this.m,"change",this.Z,void 0,this);D(this.l,"change",this.Z,void 0,this);D(this.h,"focusout",this.Ha,void 0,this)};m3.prototype.Ha=function(a){!this.h.contains(a.relatedTarget)&&document.hasFocus()&&this.M&&(this.M=!1,this.qH={jp:Q2(this.m),An:Q2(this.l)},this.dispatchEvent("change"))};m3.prototype.Z=function(a){a.stopPropagation();this.M=!0};function sQa(a){var b=a.Ze;Ta(a.zt);var c=a.zt;Ta(a.Eo);var d=a.Eo;Ta(a.Ef);var e=a.Ef;a='<div class="'+Z("Ce")+'" style="padding-top:1em;padding-left:1em;"><div style="display:inline-block;"><table class="'+Z("le")+'" id="deadline_list" style="table-layout: fixed; width: 100%"><thead><tr class="'+Z("Cm")+'" style="background-color: #b7b7b7;"><td class="'+Z("Hm")+'" style="font-weight:bold; width: 15px; padding-left: 0px;"></td><td class="'+Z("Jm")+'" style="font-weight:bold; width: 10%; padding: 5px 0px;">Program</td><td class="'+
3901Z("Jm")+'" style="font-weight: bold; width: 9%;">Due</td><td class="'+Z("Jm")+'" style="font-weight: bold;">Required</td><td class="'+Z("Jm")+'" style="font-weight: bold; width: 12%;">Student</td><td class="'+Z("Jm")+'" style="font-weight: bold; width: 12%">Assigned</td><td class="'+Z("Jm")+'" style="font-weight: bold; width: 20%;">Deadline</td><td class="'+Z("Jm")+'" style="font-weight: bold;">Determined From <span id="doc_info" class="'+Z("Gk")+" "+Z("mx")+'" style="padding:0;"><i class="'+Z("E")+
3902'">info</i><span class="'+Z("Nk")+'">The last document and document fields that created this deadline. Documents you have at least view access to are expandable.</span></span></td></tr></thead><tbody>';c=[c,d,e];d=c.length;for(e=0;e<d;e++){var f=c[e];var g=0==e&&0<f.length?'<tr class="'+Z("Cm")+" "+Z("Ee")+'"><td colspan="8" style="padding: 0.2em 0;">SKIPPED DOCUMENTS & ERRORS - LAST 90 DAYS</td></tr>':1==e&&0<f.length?'<tr class="'+Z("Cm")+" "+Z("Ee")+'"><td colspan="8" style="padding: 0.2em 0;">PAST DUE</td></tr>':
3903"";a+=g;g=f.length;for(var k=0;k<g;k++){var l=f[k],n=l.jt,q=l.Om,t=l.lH;
3903if(BL(t,null)){t=BL(n.Io,1)?'<sup title="Provisional deadline"><a href="/iep/g/support/online-guides/user-guide/program-deadlines#provisional-deadlines">P</a></sup>':BL(n.Io,2)?'<sup title="Missing necessary dates">M</sup>':"";a+="<tr"+(n.xe?' class="'+Z("kq")+'"':"")+'><td class="'+Z("Jm")+'" style="width: 15px; padding-left: 0px;">'+(n.xe?'<span id="keyboard_arrow_'+Z(e)+"_"+Z(k)+'" class="'+Z("E")+'" style="color: black;">keyboard_arrow_down</span>':
3904"")+'</td><td class="'+Z("Jm")+'" style="width: 10%; padding: 5px 0px;">'+X(n.fu)+'</td><td class="'+Z("Jm")+'" style="width: 9%;">'+X(n.Ef)+t+'</td><td class="'+Z("Jm")+'"><span class="sgSatisfyCollapsed">'+X(n.hl)+'</span><span class="sgSatisfyExpanded" style="display: none;">'+X(n.hl)+X(n.Nz)+'</span></td><td class="'+Z("Jm")+'" style="width: 12%;"><a href="#pageName=deadline_list&objectId='+Z(n.bb)+'" rel="noopener noreferrer" target="_blank">'+X(q)+"</a>";l=l.k5;if(0<l.length){a+='<span class="incomplete_tooltip '+
3905Z("Gk")+'" style="font-size: 1em"><i class="'+Z("E")+'" style="color: #fce80a;">error_outline</i><span class="'+Z("Nk")+'"><div>Relevant incomplete documents not included:</div>';q=l.length;for(t=0;t<q;t++){var u=l[t];a+=u.xe?'<div><a href="#pageName=form&docId='+Z(u.gx)+"&formId="+Z(u.xk)+'" style="color: #00bfff!important" rel="noopener noreferrer" target="_blank">'+X(u.jb)+"</a></div>":X(u.jb)}a+="</span></span>"}a+='</td><td class="'+Z("Jm")+'" style="width: 12%;">';l=n.nf;q=l.length;if(0<q)for(t=
39060;t<q;t++)u=l[t],a+=(b?'<a href="#pageName=user_docs_list&userId='+Z(u.lf)+'" rel="noopener noreferrer" target="_blank" title="'+Z(u.userName)+'">'+X(u.cc)+" "+X(u.hc)+"</a>":X(u.cc)+" "+X(u.hc))+(t!=n.nf.length-1?"<br>":"");else a+="Unassigned";a+='</td><td class="'+Z("Jm")+'" style="width: 20%;"><span class="sgNameCollapsed">'+X(n.Mj)+'</span><span class="sgNameExpanded" style="display: none;">'+X(n.Mj)+X(n.name)+'</span></td><td class="'+Z("Jm")+'"> <button type="button" id="collapsible_menu_'+
3907Z(e)+"_"+Z(k)+'" class="'+Z("iq")+'" style="font-size:13px;'+(n.xe?"":"cursor:auto;")+'">'+X(n.jb)+'</button><div class="'+Z("jq")+'" style="display:none;">';l=n.Lq;q=l.length;for(t=0;t<q;t++)u=l[t],a+='<span class="'+Z("E")+'">subdirectory_arrow_right</span><a href="#pageName=form&docId='+Z(n.tk)+"&formId="+Z(n.form)+"&highlight="+Z(u)+'" rel="noopener noreferrer" target="_blank">'+X(n.Ct[t])+"</a><br>";a+="</div></td></tr>"}else a+='<tr class="'+Z("Cm")+" "+Z("Ee")+'"><td colspan="8" style="padding: 0.2em 0;">'+
3908X(t)+"</td></tr>"}}return Y(a+"</tbody></table></div></div>")}
3909function tQa(a){a=a.ob;return Y('<div class="'+Z("Ce")+'" style="padding-top:1em;padding-left:1em; height:100%;"><div style="display:inline-block; height: 100%;"><table id="deadline_list" style="table-layout: fixed; width: 100%; height: 100%;"><thead><tr class="'+Z("Cm")+'"><td class="'+Z("Km")+'" style="text-align: left;'+(a.Le?"color: #1a73e8 !important;":"")+'">'+X(a.day)+'</td></tr><tr class="'+Z("Cm")+'"><td class="'+Z("Km")+'"><div class="'+Z("cg")+'" style="margin: 0; '+(a.Le?"background-color: #1a73e8 !important;":
3910"")+'"><div style="text-decoration: none; color: grey; '+(a.Le?"color: #fff;":"")+'">'+X(a.ob)+'</div></div></td></tr><tr class="'+Z("Cm")+'"><td style="width: 100%; border-left: 1px solid #ccc;"><div id="deadline_container" style="min-height: calc(90vh - 250px)"></div></td></tr></thead></table></div></div>')}
3911function uQa(a){var b=a.DC;Ta(a.Yw);var c=a.Yw;a=a.yC;for(var d='<div id="deadline_container" class="'+Z("ig")+'" style="width: 98%;"><div class="'+Z("kg")+'" style="border-bottom: 0;"><div class="'+Z("dg")+'">SUN</div><div class="'+Z("dg")+'">MON</div><div class="'+Z("dg")+'">TUE</div><div class="'+Z("dg")+'">WED</div><div class="'+Z("dg")+'">THU</div><div class="'+Z("dg")+'">FRI</div><div class="'+Z("dg")+'">SAT</div></div><div class="'+Z("jg")+'" style="border-bottom: 0;">',e=0;7>e;e++){var f=
3912e;d+='<div id="day_'+Z(f)+'" class="'+Z("qe")+'"><div id="day_'+Z(f)+'_icon" class="'+Z("Km")+'" style="font-weight: bold; font-size: 12px; text-align: center;"><div class="'+Z("cg")+'"'+(c[f].Le?' style="background-color: #1a73e8 !important;"':"")+'><a href="#'+Z(a)+"&date="+Z(c[f].month)+"/"+Z(c[f].ob)+"/"+Z(c[f].year)+"&ddl="+Z(b)+'" style="text-decoration: none; color: grey; '+(c[f].Le?"color: #fff;":"")+'">'+X(c[f].ob)+"</a></div></div></div>"}return Y(d+"</div></div>")}
3913function cRa(a){Ta(a.jT);var b=a.jT;var c=a.DC;a=a.yC;for(var d='<div id="deadline_container" class="'+Z("ig")+'" style="width: 98%;"><div class="'+Z("kg")+'"><div class="'+Z("dg")+'">SUN</div><div class="'+Z("dg")+'">MON</div><div class="'+Z("dg")+'">TUE</div><div class="'+Z("dg")+'">WED</div><div class="'+Z("dg")+'">THU</div><div class="'+Z("dg")+'">FRI</div><div class="'+Z("dg")+'">SAT</div></div>',e=b.length,f=0;f<e;f++){var g=b[f];d+='<div id="week_'+Z(f+1)+'" class="'+Z("jg")+'">';
3913for(var k=
3914g.length,l=0;l<k;l++){var n=g[l];d+='<div id="week_'+Z(f)+"_day_"+Z(l)+'" class="'+Z("qe")+'"><div id="week_'+Z(f)+"_day_"+Z(l)+'_icon" class="'+Z("Km")+'" style="font-weight: bold; font-size: 9px; text-align: center;"><div class="'+Z("bg")+'"'+(n.ob.Le?' style="background-color: #1a73e8 !important;"':"")+'><a href="#'+Z(a)+"&date="+Z(n.ob.month)+"/"+Z(n.ob.ob)+"/"+Z(n.ob.year)+"&ddl="+Z(c)+'" style="text-decoration: none; color: grey; '+(n.ob.Le?"color: #fff;":"")+'">'+X(n.ob.ob)+"</a></div></div></div>"}d+=
3915"</div>"}return Y(d+"</div>")};function dRa(a){a=a.ce;return Y('<div class="student_info_tooltip '+Z("Gk")+'"><div class="'+Z("Hn")+'" style="background-color:'+Z(NL(a.Ed))+';">'+X(a.$d)+'</div><div class="'+Z("Nk")+" "+Z("Wk")+'"><div class="'+Z("Xk")+'">'+X(a.nr)+"</div></div></div>")}
3916function eRa(a){var b="";Ta(a.mj);a=a.mj;for(var c=a.length,d=0;d<c;d++){var e=a[d],f=X(e.text);if(e.jb){var g=e.jb;e=e.VU;e="&nbsp"+Y('<span data-form="'+Z(g)+'" class="'+Z("Hk")+'"><div data-tag="button_container" class="'+Z("jb-kb-lb")+'"></div><div class="'+Z("Nk")+'">'+(e?"Create new "+X(g):"You do not have permission to create a new "+X(g))+"</div></span>")}else e="";b+=f+e}return Y(b)}
3917function fRa(a){Ta(a.$h);var b=a.$h;Ta(a.Pf);var c=a.Pf;var d=a.Ze;Ta(a.zt);var e=a.zt;Ta(a.Ef);var f=a.Ef;Ta(a.HK);var g=a.HK;Ta(a.GK);var k=a.GK;Ta(a.FK);var l=a.FK;Ta(a.YN);var n=a.YN;var q=a.Ie;a='<div class="'+Z("Ce")+'" style="padding-top: 1em; padding-left: 1em;"><div class="'+Z("Kn")+'">Deadlines';if(0<c.length){a+='<span id="program_info" class="'+Z("Gk")+'" style="font-size: .8547em;"><i class="'+Z("E")+'">help_outline</i><span class="'+Z("Nk")+'">Program deadline guides:<br/>';for(var t=
3918c.length,u=0;u<t;u++){var v=c[u];a+=BL(v.url,"")?"":'<a href="'+Z(JL(v.url))+'" target="_blank" rel="noopener noreferrer" class="'+Z("Mb")+'">'+X(v.name)+"</a><br/>"}a+="</span></span>"}a+="</div><br/>Calculated from completed documents. ";if(0<b.length){a+="Incomplete documents not included:<ul>";c=b.length;for(t=0;t<c;t++)u=b[t],a+="<li>"+(u.xe?'<a href="#pageName=form&docId='+Z(u.gx)+"&formId="+Z(u.xk)+'" rel="noopener noreferrer" target="_blank">'+X(u.jb)+"</a>":X(u.jb))+"</li>";a+="</ul><br/>"}else a+=
3919"<br/><br/>";a+='<div style="display: inline-block;"><table class="'+Z("le")+'" id="deadline_list" style="table-layout: fixed; width: 100%;"><thead><tr class="'+Z("Cm")+'" style="background-color: #ddd; color: #414141;"><td class="'+Z("Hm")+'" style="font-weight: bold; width: 15px; padding-left: 0px;"></td><td class="'+Z("Jm")+'" style="font-weight: bold; width: 10%; padding: 5px 0px;">Program</td><td class="'+Z("Jm")+'" style="font-weight: bold; width: 9%;">Due</td><td class="'+Z("Jm")+'" style="font-weight: bold; width: 20%;">Deadline</td><td class="'+
3920Z("Jm")+'" style="font-weight: bold;">Required</td><td class="'+Z("Jm")+'" style="font-weight: bold; width: 12%">Assigned</td><td class="'+Z("Jm")+'" style="font-weight: bold;">Determined From <span id="doc_info" class="'+Z("Gk")+" "+Z("mx")+'" style="padding: 0;"><i class="'+Z("E")+'">info</i><span class="'+Z("Nk")+'">Document and fields that created this deadline. Documents you have at least view access to are expandable.</span></span></td></tr></thead><tbody>';b=[e,f,g,k,l,n];if(q.Tb)for(e=b.length,
3921f=0;f<e;f++)for(g=b[f],k=0==f&&0<g.length?'<tr class="'+Z("Cm")+" "+Z("Nw")+'"><td colspan="7" style="background-color: #9d66ae; color: #fff; padding: 5px 0px 5px 5px; opacity: .8;">SKIPPED DOCUMENTS & ERRORS - LAST 90 DAYS</td></tr>':1==f&&0<g.length?'<tr class="'+Z("Cm")+" "+Z("Nw")+'"><td colspan="7" style="background-color: #e47c75; color: #fff; padding: 5px 0px 5px 5px; opacity: .8;">PAST DUE</td></tr>':2==f&&0<g.length?'<tr class="'+Z("Cm")+" "+Z("Nw")+'"><td colspan="7" style="background-color: #e47c75; color: #fff; padding: 5px 0px 5px 5px; opacity: .8;">DUE TODAY</td></tr>':
39223==f&&0<g.length?'<tr class="'+Z("Cm")+" "+Z("Nw")+'"><td colspan="7" style="background-color: #ed6d16; color: #fff; padding: 5px 0px 5px 5px; opacity: .8;">DUE WITHIN 7 DAYS</td></tr>':4==f&&0<g.length?'<tr class="'+Z("Cm")+" "+Z("Nw")+'"><td colspan="7" style="background-color: #e2c54b; color: #fff; padding: 5px 0px 5px 5px; opacity: .8;">DUE WITHIN 30 DAYS</td></tr>':5==f&&0<g.length?'<tr class="'+Z("Cm")+" "+Z("Nw")+'"><td colspan="7" style="background-color: #7cb449; color: #fff; padding: 5px 0px 5px 5px; opacity: .8;">DUE IN 30+ DAYS</td></tr>':
3923"",a+=k,k=g.length,l=0;l<k;l++){n=g[l];
3923q=BL(n.Io,1)?'<sup title="Provisional deadline"><a href="/iep/g/support/online-guides/user-guide/program-deadlines#provisional-deadlines">P</a></sup>':BL(n.Io,2)?'<sup title="Missing necessary dates">M</sup>':"";a+='<tr class="'+(n.xe?" "+Z("kq"):"")+'"><td class="'+Z("Jm")+'" style="width: 15px; padding-left: 0px;">'+(n.xe?'<span id="keyboard_arrow_'+Z(f)+"_"+Z(l)+'" class="'+Z("E")+'" style="color: black;">keyboard_arrow_down</span>':"")+'</td><td class="'+
3924Z("Jm")+'" style="width: 10%; padding: 5px 0px;">'+X(n.fu)+'</td><td class="'+Z("Jm")+'" style="width: 9%;">'+X(n.Ef)+q+'</td><td class="'+Z("Jm")+'" style="width: 20%;"><span class="sgNameCollapsed">'+X(n.Mj)+'</span><span class="sgNameExpanded" style="display: none;">'+X(n.Mj)+X(n.name)+'</span></td><td class="'+Z("Jm")+'"><span class="sgSatisfyCollapsed">'+eRa({mj:n.mj})+'</span><span class="sgSatisfyExpanded" style="display: none;">'+eRa({mj:n.mj})+" "+X(n.Nz)+'</span></td><td class="'+Z("Jm")+
3925'" style="width: 12%;">';q=n.nf;c=q.length;if(0<c)for(t=0;t<c;t++)u=q[t],a+=(d?'<a href="#pageName=user_docs_list&userId='+Z(u.lf)+'" rel="noopener noreferrer" target="_blank" title="'+Z(u.userName)+'">'+X(u.cc)+" "+X(u.hc)+"</a>":X(u.cc)+" "+X(u.hc))+(t!=n.nf.length-1?"<br/>":"");else a+="Unassigned";a+='</td><td class="'+Z("Jm")+'"><button type="button" id="collapsible_menu_'+Z(f)+"_"+Z(l)+'" class="'+Z("iq")+'" style="font-size: 13px;'+(n.xe?"":"cursor:auto;")+'">'+(null!=n.jb?X(n.jb):"No Related Documents")+
3926'</button><div class="'+Z("jq")+'" style="display: none;">';q=n.Lq;c=q.length;for(t=0;t<c;t++)u=q[t],a+='<span class="'+Z("E")+'">subdirectory_arrow_right</span><a href="#pageName=form&docId='+Z(n.tk)+"&formId="+Z(n.form)+"&highlight="+Z(u)+'" rel="noopener noreferrer" target="_blank">'+X(n.Ct[t])+"</a><br/>";a+="</div></td></tr>"}else a+='<tr class="'+Z("Cm")+" "+Z("Nw")+'"><td colspan="7" style="padding-top: 1em;">This student is inactive and therefore has no deadlines.</td></tr>';return Y(a+"</tbody></table></div></div>")}
3927;function n3(){$1.call(this);this.cb=this.Ua=this.M=this.ea=this.vF=this.DB=this.FB=this.LB=this.me=this.h=this.Fp=null}x(n3,$1);h=n3.prototype;h.PG=null;h.oo=null;h.Cg=null;h.Yl=null;h.qQ=null;
3928h.K=function(a,b,c,d,e,f,g,k,l,n,q,t,u){this.ub("Deadlines");this.PG=a;this.oo=b;this.Cg=c;this.Yl=e;this.u=f;a=ay(ZMa,{I1:this.u.length==this.Yl.length});X_(this,[a]);a2(this);gRa(this,d,k,l);"day"!=d&&"caseload"!=d&&(hw("gx").style.display="none");this.Fp=hRa(g);this.j.Ea(this.Fp);this.Fp.render(z("scope_toggle"));this.M=new mU(ay(fNa));this.j.Ea(this.M);this.M.render(z("scope_info"));g=z("ddl_filter_button");this.h=iRa();this.h.render(g);this.h.w().setAttribute("style","border: 1px solid transparent !important");
3929D(this.h,"action",this.v7,void 0,this);jRa(this);this.me=kRa(d);this.me.render(z("calendar_display"));this.Ua=new fQ("Buildings",n,q,void 0,"buildings");this.j.Ea(this.Ua);this.Ua.render(z("building_filter"));n={"":t.map(function(v){return L(v,1,"")})};this.cb=new cQ("Grades",n,u,void 0,"grades",void 0,"No Grade Entered");this.j.Ea(this.cb);this.cb.render(z("grade_filter"));lRa(this,d,k,f.join("%2B"));VU(!0,d)};h.$=function(){n3.D.$.call(this);Nx(this.qQ);C(this.h);C(null);C(null);C(this.me);YU()};
3930function jRa(a){var b=new Set(a.u),c=z("filter_container"),d=B("DIV","Tf"),e=B("DIV","Uf","Filter by deadline");d.appendChild(e);e=B("SPAN","vr","Select All");var f=B("SPAN","vr","Clear");D(e,"click",bb(a.oJ,a,!0));D(f,"click",bb(a.oJ,a,!1));e=B("DIV","ur",[e,"-",f]);d.appendChild(e);e=B("DIV","E rr","search");f=B("INPUT",{"class":"tr",autocomplete:"new-street-address"});D(f,"keyup",a.u7,void 0,a);e=B("DIV","qr",[e,f]);d.appendChild(e);e=[];for(f=0;f<a.Yl.length;f++){var g=a.Yl[f],k=B("DIV","E Ar",
3931"done");b.has(f)||rw(k,"");"Data Issue"==g&&(g="("+g+")");var l=B("DIV","Xf",g);k=B("DIV","Wf",[k,l]);k=B("DIV","yr",k);k.title=g;D(k,"click",a.hV,void 0,a);e.push(k)}b=B("DIV","Vf",e);d.appendChild(b);b=B("BUTTON",{"class":"ul nl ol",style:"margin-left: 10px;"},"OK");e=B("BUTTON",{"class":"ul nl ol"},"Cancel");a.vF=b;D(e,"click",a.iM,void 0,a);b=B("DIV","Yf",[e,b]);d.appendChild(b);c.appendChild(d);c=z("filter");d=ew("BODY")[0];a.qQ=D(d,"click",bb(a.t7,a,c),void 0,a)}
3932function mRa(a){var b=gw("Wf");a=new Set(a.u);for(var c=0;c<b.length;c++){var d=Mw(b[c])[0];a.has(c)||a.has("all")?rw(d,"done"):rw(d,"")}}h.v7=function(){var a=gw("Sf")[0];this.h.getState()&16?a.style.display="":a.style.display="none"};
3933function gRa(a,b,c,d){a.LB=z("calendar_today");a.FB=z("calendar_left_arrow");a.DB=z("calendar_right_arrow");var e=z("calendar_date_toolbar"),f=z("calendar_list_date_select");"caseload"==b?(e.style.visibility="hidden",e=c?c:SO(new Date),a.ea=new m3(e,d),a.ea.render(f)):f.style.display="none";d="January February March April May June July August September October November December".split(" ");a=z("calendar_date");""==c?(f=new Date,c=d[f.getMonth()],"day"==b&&(c+=" "+f.getDate()+","),c+=" "+f.getFullYear()):
3934(f=c.split("/"),c=d[Number(f[0])-1],"day"==b&&(c+=" "+f[1]+","),c+=" "+f[2]);a.innerText=c}function kRa(a){var b=aQ("List");Fb(["List","Day","Week","Month"],function(c){c=WP(c,c);b.Jb(c)});switch(a){case "caseload":b.setValue("List");break;case "day":b.setValue("Day");break;case "week":b.setValue("Week");break;case "month":b.setValue("Month")}return b}
3935function hRa(a){var b=aQ("List"),c=["Assigned to me","All"];WJ&&c.push("Unassigned");Fb(c,function(d){d=WP(d,d);b.Jb(d)});switch(a){case "ASSIGNED_TO_ME":b.setValue("Assigned to me");break;case "ALL":b.setValue("All");break;case "UNASSIGNED":b.setValue("Unassigned")}return b}function iRa(){var a=qM("filter","Filter deadlines","filter_alt","E Q");a.W(!0);return a}
3936function lRa(a,b,c,d){Fw(a.g.w());switch(b){case "caseload":for(var e=[],f=[],g=[],k=new Date,l=new Set,n=nRa(a.Cg),q=m(a.PG.keys()),t=q.next();!t.done;
3936t=q.next()){for(var u=a.PG.get(t.value),v=u.$h,y=u.Ab,G=u.Om,K=m(v),J=K.next();!J.done;J=K.next()){var O=J.value;O.xe=1<=O.permission;O.jb=n.get(O.xk)}for(var P=m(y),Q=P.next();!Q.done;Q=P.next()){var R=Q.value;R.xe=1<=R.permission;R.jb=n.get(R.form);var aa={jt:R,k5:v,Om:G},fa=new Date(R.Ef);if("Error"==R.Mj||"Data Issue"==R.Mj)e.push(aa);else if(fa<
3937k)f.push(aa);else{g.push(aa);var za=fa.getFullYear(),Aa=fa.getMonth(),Va=(new Date(za,Aa)).toLocaleDateString("en-US",{timeZone:"UTC",day:"2-digit",month:"2-digit",year:"numeric"});if(za==k.getFullYear()&&Aa==k.getMonth()){var Ja="THIS MONTH";var ab={jt:{Ef:Va},lH:Ja}}else Ja=(new Intl.DateTimeFormat("en-US",{month:"long"})).format(fa),za!=k.getFullYear()&&(Ja+=" "+za.toString()),Ja=Ja.toUpperCase(),ab={jt:{Ef:Va},lH:Ja};l.has(Ja)||(g.push(ab),l.add(Ja))}}}f.sort(oRa);g.sort(oRa);var Xa=ay(sQa,{Ze:WJ,
3938zt:e,Eo:f,Ef:g});a.g.w().appendChild(Xa);pRa();for(var Na=gw("incomplete_tooltip",a.g.w()),Xb=0,Lb=Na.length;Xb<Lb;Xb++)nU(Na[Xb],a.g);var Mb=A("doc_info");nU(Mb,a.g);for(var xb=gw("student_info_tooltip",a.j.w()),zc=0,he=xb.length;zc<he;zc++)nU(xb[zc],a.j);xb=gw("student_info_tooltip",a.g.w());for(var Lc=0,Hd=xb.length;Lc<Hd;Lc++)nU(xb[Lc],a.g);break;case "day":var ie=new Date;""!=c&&(ie=QO(c));var jd={year:ie.getFullYear(),month:ie.getMonth()+1,ob:ie.getDate(),day:"SUN MON TUE WED THU FRI SAT".split(" ")[ie.getDay()]},
3939Wd=new Date;ie.getFullYear()==Wd.getFullYear()&&ie.getMonth()==Wd.getMonth()&&ie.getDate()==Wd.getDate()&&(jd.Le=!0);var nh=ay(tQa,{ob:jd});a.g.w().appendChild(nh);for(var oi=z("deadline_container"),Ki=0;Ki<a.oo.length;Ki++){var tk=qRa(a,a.oo[Ki],!0);Mw(tk)[0].style.padding="3px";oi.appendChild(tk)}break;case "week":for(var Li=[],bd=0;7>bd;bd++)Li.push([]);for(var Cj=0;Cj<a.oo.length;Cj++){var hf=a.oo[Cj];Li[(new Date(hf.Ef)).getDay()].push(hf)}var Ze=new Date;""!=c&&(Ze=QO(c));Ze.setDate(Ze.getDate()-
3940Ze.getDay());for(var uk=[],Eg=0;7>Eg;Eg++){var xl=Ze.getFullYear(),Vm=Ze.getMonth(),Mf=Ze.getDate(),pi={year:xl,month:Vm+1,ob:Mf},yl=new Date;xl==yl.getFullYear()&&Vm==yl.getMonth()&&Mf==yl.getDate()&&(pi.Le=!0);uk.push(pi);Ze.setDate(Ze.getDate()+1)}var Rh=ay(uQa,{DC:d,Yw:uk,yC:rRa()});a.g.w().appendChild(Rh);for(var oh=0;oh<Li.length;oh++)for(var Sh=Li[oh],ph=z("day_"+oh),qi=z("day_"+oh+"_icon"),Jd=ph.offsetHeight-qi.offsetHeight,qh=uk[oh],lg=new Date(qh.year,qh.month-1,qh.ob),Dj=0;Dj<Sh.length;Dj++){var mg=
3941qRa(a,Sh[Dj],!1);ph.appendChild(mg);if(Jd<2*mg.offsetHeight){Jw(mg);var Wm=sRa(lg);ph.appendChild(Wm);break}Jd-=mg.offsetHeight}break;case "month":var vk=[],Ej=new Date;""!=c&&(Ej=QO(c));for(var Eo=m(RO(Ej,!0)),Fj=Eo.next().value,Ac=Eo.next().value,Kd=QO(Fj),rh=QO(Ac).getTime()-Kd.getTime(),Gj=1+Math.round(rh/864E5),zl=0;zl<Gj;zl++){for(var Mi={ob:{year:Kd.getFullYear(),month:Kd.getMonth()+1,ob:Kd.getDate()},entries:[]},sh=0;sh<a.oo.length;sh++){var Oq=a.oo[sh],Hj=new Date(Oq.Ef);Hj.getFullYear()==
3942Kd.getFullYear()&&Hj.getMonth()==Kd.getMonth()&&Hj.getDate()==Kd.getDate()&&Mi.entries.push(Oq)}var Al=new Date;Kd.getFullYear()==Al.getFullYear()&&Kd.getMonth()==Al.getMonth()&&Kd.getDate()==Al.getDate()&&(Mi.ob.Le=!0);vk.push(Mi);Kd.setDate(Kd.getDate()+1)}for(var Ij=[],Xm=0;Xm<Gj;Xm+=7)Ij.push(vk.slice(Xm,Xm+7));var Pq=ay(cRa,{jT:Ij,DC:d,yC:rRa()});a.g.w().appendChild(Pq);for(var th=0;th<Gj/7;th++)for(var Jj=Ij[th],wk=0;7>wk;wk++)for(var Bl=z("week_"+th+"_day_"+wk),Qq=z("week_"+th+"_day_"+wk+"_icon"),
3943Ym=Jj[wk],Ni=Bl.offsetHeight-Qq.offsetHeight,xk=0;xk<Ym.entries.length;xk++){var Oi=a,Xg=Ym.entries[xk],Cl=B("DIV","lg"),Dl=B("DIV","fg",Xg.Mj),Th=B("DIV","eg ug vg",Dl);Cl.appendChild(Th);var El=Xg.ce.Ed;Xg.Io?(Th.style.color=El,Th.style.backgroundColor="transparent"):(Th.style.color="#fff",Th.style.borderColor=El,Th.style.backgroundColor=El);D(Th,"click",bb(Oi.uK,Oi,Cl,Xg,!1),void 0,Oi);var jf=Cl;Bl.appendChild(jf);
3943if(Ni<2*jf.offsetHeight){Jw(jf);var Rq=sRa(new Date(Ym.ob.year,Ym.ob.month-1,Ym.ob.ob));
3944Bl.appendChild(Rq);break}Ni-=jf.offsetHeight}}}function rRa(){var a=new YL(mH.g.re());a.setAttribute("calendar","day");return $L(a,["date"])}function oRa(a,b){var c=new Date(a.jt.Ef);b=new Date(b.jt.Ef);return c<b?-1:c>b?1:c==b&&null!=a.lH?-1:1}function nRa(a){for(var b=new Map,c=0;c<a.length;c++)b.set(a[c][0],a[c][1]);return b}
3945function pRa(){var a=gw("kq"),b;for(b=0;b<a.length;b++)a[b].addEventListener("click",function(c){var d=this.getElementsByClassName("iq");if(1==d.length&&"A"!=c.target.tagName){c=d[0];var e=c.id.split("_");d=e[e.length-1];e=e[e.length-2];c.classList.toggle("sgMenuCollapsibleActive");d=document.getElementById("keyboard_arrow_"+e+"_"+d);d.innerText="keyboard_arrow_up"==d.innerText?"keyboard_arrow_down":"keyboard_arrow_up";c=c.nextElementSibling;c.style.display="none"===c.style.display?"block":"none";
3946c=this.getElementsByClassName("sgSatisfyCollapsed")[0];c.style.display="none"===c.style.display?"block":"none";c=this.getElementsByClassName("sgSatisfyExpanded")[0];c.style.display="none"===c.style.display?"block":"none";c=this.getElementsByClassName("sgNameCollapsed")[0];c.style.display="none"===c.style.display?"block":"none";c=this.getElementsByClassName("sgNameExpanded")[0];c.style.display="none"===c.style.display?"block":"none"}})}
3947function qRa(a,b,c){var d=B("DIV","lg"),e=B("DIV","eg vg"),f=B("DIV","fg",b.Mj);e.appendChild(f);f=B("DIV","fg","Student: "+b.Om);e.appendChild(f);f=B("DIV","fg");var g="Assigned: ";if(0==b.nf.length)g+="Unassigned";else for(var k=0;k<b.nf.length;k++)g+=b.nf[k].cc+" "+b.nf[k].hc,k!=b.nf.length-1&&(g+=", ");f.innerText=g;e.appendChild(f);f=b.ce.Ed;b.Io?(e.style.color=f,e.style.backgroundColor="transparent"):(e.style.color="#fff",e.style.backgroundColor=f);d.appendChild(e);D(d,"click",bb(a.uK,a,d,b,
3948c),void 0,a);return d}
3949h.uK=function(a,b,c){if(null==hw("mg",a)){var d=hw("eg",a);gx(d,"gg");var e=nRa(this.Cg);b.xe=1<=b.permission;b.jb=e.get(b.form);var f=B("DIV","mg");e=B("DIV","tg");var g=B("DIV","E sg vg","clear");e.appendChild(g);f.appendChild(e);D(g,"click",function(){ix(d,"gg");Jw(f)},void 0,this);e=B("DIV","ng");g=B("DIV","og");var k=ay(dRa,{ce:b.ce}),l=hw("Nk",k);D(k,"mouseenter",function(){jx(l,"Qk",!0)},void 0,this);D(k,"mouseleave",function(){jx(l,"Qk",!1)},void 0,this);k=B("DIV","pg",k);var n=B("DIV","qg",
3950b.Ef);Ew(g,[k,n]);e.appendChild(g);g=B("DIV","og");k=B("DIV","pg","Deadline:");k.title="Deadline";n=B("DIV","",b.Mj+b.name);n=B("DIV","xg",n);n=B("DIV","qg",n);Ew(g,[k,n]);e.appendChild(g);g=B("DIV","og");k=B("DIV","pg","Required:");k.title="Form";n=B("DIV","rg");n.innerText=b.hl;n=B("DIV","xg",n);var q=B("DIV");b.xe&&(q=B("DIV"),q.innerHTML=b.Nz,q=B("DIV","xg",q));n=B("DIV","qg",[n,q]);Ew(g,[k,n]);e.appendChild(g);g=B("DIV","og");k=B("DIV","pg","Student:");k.title="Student";n=B("A","qg",b.Om+" ("+
3951b.og+")");n.href="#pageName=deadline_list&objectId="+b.bb;n.rel="noopener noreferrer";n.target="_blank";Ew(g,[k,n]);e.appendChild(g);g=B("DIV","og");k=B("DIV","pg","Assigned:");k.title="Assigned";n=B("DIV","qg");q=[];if(0==b.nf.length){var t=B("DIV","","Unassigned");q.push(t)}else for(t=0;t<b.nf.length;t++){if(b.xe){var u=B("A","",b.nf[t].cc+" "+b.nf[t].hc);u.href="#pageName=user_docs_list&userId="+b.nf[t].lf;u.title=b.nf[t].userName;u.rel="noopener noreferrer";u.target="_blank";q.push(u)}else u=
3952B("DIV","",b.nf[t].cc+" "+b.nf[t].hc),q.push(u);t<b.nf.length-1&&(u=B("SPAN","qc",", "),q.push(u))}Ew(n,q);Ew(g,[k,n]);e.appendChild(g);g=B("DIV","og");k=B("DIV","pg","Determined:");k.title="Deadline";n=B("DIV","rg",b.jb||"No related documents.");n=B("DIV","xg",n);q=B("DIV");if(b.xe){q=[];for(t=0;t<b.Lq.length;t++){u=b.Lq[t];var v=B("SPAN","E","subdirectory_arrow_right"),y=B("A","",b.Ct[t]);y.href="#pageName=form&docId="+b.tk+"&formId="+b.form+"&highlight="+u;y.rel="noopener noreferre";y.target="_blank";
3953u=B("DIV","",[v,y]);q.push(u)}b=B("DIV","",q);q=B("DIV","xg",b)}b=B("DIV","qg",[n,q]);Ew(g,[k,b]);e.appendChild(g);b=B("DIV","tg");b.style.padding="0";e.appendChild(b);n=z("deadline_container");b=n.getBoundingClientRect().width;g=n.getBoundingClientRect().height;k=n.getBoundingClientRect().x;n=n.getBoundingClientRect().y;k=a.getBoundingClientRect().x-k;a.getBoundingClientRect().y-n<g/2?f.style.top="0":f.style.bottom="0";k<b/2?f.style.left=c?"25%":"100%":f.style.right="100%";f.appendChild(e);a.appendChild(f);
3954c=ew("BODY")[0];D(c,"click",bb(this.s7,this,a,f),void 0,this)}};h.hV=function(a){for(a=a.target;!fx(a,"yr");)a=Qw(a);a=Mw(a)[0];a=Mw(a)[0];0==Ww(a).localeCompare("")?rw(a,"done"):rw(a,"")};h.s7=function(a,b,c){a.contains(c.target)||(a=hw("eg",a),ix(a,"gg"),Jw(b))};h.t7=function(a,b){"none"==a.style.display||a.contains(b.target)||(mRa(this),hw("Sf").style.display="none",this.h.nc(!1))};h.oJ=function(a){a=a?"done":"";for(var b=gw("Wf"),c=0;c<b.length;c++){var d=Mw(b[c])[0];rw(d,a)}};
3955h.iM=function(){mRa(this);hw("Sf").style.display="none";this.h.nc(!1)};h.u7=function(a){var b=a.target.value.toLocaleLowerCase();a=new Set(this.Yl);if(""!=b){a=new Set;for(var c=0;c<this.Yl.length;c++)0<=this.Yl[c].toLocaleLowerCase().indexOf(b)&&a.add(this.Yl[c])}b=gw("yr");for(c=0;c<b.length;c++){var d=b[c],e=Mw(d)[0];e=Mw(e)[1];a.has(Ww(e))?d.style.display="":d.style.display="none"}};
3956function sRa(a){var b=PO(a),c=B("DIV","hg","View more");a=new YL(mH.g.re());a.setAttribute("calendar","day");a.setAttribute("date",b);b=B("A","",c);b.style.textDecoration="none";b.href="#"+a.re();return b};function o3(a,b,c){J1.call(this,a,b,c);this.Eb="ka";this.s={};i_(this,new p3(this,c,"deadlines"));this.Yg=1}x(o3,J1);h=o3.prototype;h.yA="";h.OI=!1;h.start=function(a){this.Dd(a)&&(this.ka(this.Eb,this.rQ,this),a=++RQ,dV(this,a,"initial"),this.td(a),l_(this,this.yA,this.x7,this),g_(this,"T",this.w7,this),a=++RQ,dV(this,a,"initial"),AQ(a,!1,""),a=++RQ,dV(this,a,"initial"),AQ(a,!0,""))};
3957h.Dd=function(a){var b=a.na("objectId");if(!w(b))return h_(this),!1;a=a.na("deadlines_all_errors");w(a)&&"true"==a&&(this.OI=!0);this.yA=b;return!0};
3957h.rQ=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){this.Ab=fEa(a);this.$h=gEa(a);this.l=[];for(var b=new Set,c=S(a,oC,27),d=0;d<c.length;d++){var e=c[d];b.has(L(e,7,""))||(b.add(L(e,7,"")),this.l.push({name:L(e,7,""),url:L(e,4,"")}))}O1(this,a);this.Ya()}else this.ka(this.Eb,this.rQ,this)};h.x7=function(a){a=a.Sd()[0];this.Yg=gF(a)?fF(a):1;this.Ya()};
3958function tRa(a,b,c){DQ(a,"na","create",function(d){return wQ(d,1,void 0,c,a.yA)},function(d){if(d=NE(d)[0])if(d.pg())xZ(d.ef());else{var e=null!=I(d,2)?sF(d):null;d="pageName=form&docId="+(null!=I(d,1)?rF(d):null)+"&formId="+e;AK.ba("ib");b?window.open("#"+d,"_blank","noopener noreferrer"):MK(d)}},a)}
3959function uRa(a){for(var b={},c=m(document.querySelectorAll("[data-form]")),d=c.next();!d.done;b={ns:b.ns},d=c.next()){d=d.value;var e=d.getAttribute("data-form");b.ns=a.s[e];if(b.ns){e=TP("add",void 0,void 0,1,5);e.rd("D");var f=d.querySelector("[data-tag=button_container]");e.render(f);e.W(b.ns.ft);e.w().addEventListener("mousedown",function(g){return function(k){var l=!1;2<=k.button||(1==k.button&&(k.preventDefault(),l=!0),tRa(a,l,g.ns.Ac))}}(b));f.addEventListener("click",function(g){return g.stopPropagation()});
3960nU(d,e)}}}h.K=function(){k_(this);this.view.K(this.Jc,this.Ab,this.Yg,this.$h,this.s,this.l,this.OI);uRa(this)};h.td=function(a){w(this.m)||(this.j=[]);var b=this.yA;var c=new Date;var d=c.getUTCFullYear()-1;6>c.getUTCMonth()&&d--;2020>d&&(d=2020);c.setUTCFullYear(d,6,1);c.setUTCHours(0,0,0,0);c=parseInt(c.getTime()/1E3,10);eCa(a,b,[],0,c,2147483647,0,1)};
3961h.w7=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){var b=0;for(a=OE(a);b<a.length;b++){var c=a[b],d=xF(c),e=wF(c);this.s[d]={Ac:e,ft:fz(c,1004,!1)}}this.Ya()}};function q3(){$1.call(this)}x(q3,$1);
3962q3.prototype.K=function(a,b,c,d,e,f,g){this.ub("Student Deadlines");this.Jc=a;null===b&&(b=[]);a={};for(var k in e)a[e[k].Ac]=k;this.M=a;this.h=e;if(null!==d)for(e=m(d),k=e.next();!k.done;k=e.next())k=k.value,k.xe=1<=k.permission,k.jb=this.M[k.xk];e=[];k=[];a=[];var l=[],n=[],q=[];b=m(b);for(var t=b.next();!t.done;t=b.next()){t=t.value;vRa(this,t);for(var u=m(t.mj),v=u.next();!v.done;v=u.next())v=v.value,v.jb&&(v.VU=this.h[v.jb].ft);t.xe=1<=t.permission;t.jb=this.M[t.form];switch(t.OF){case 1:e.push(t);
3963break;case 2:k.push(t);break;case 6:a.push(t);break;case 3:l.push(t);break;case 4:n.push(t);break;case 5:q.push(t);break;case 0:g&&e.push(t);break;default:throw Error("Invalid deadline row type: "+t.OF);}}c=this.vd([d,f,e,k,a,l,n,q,kR(c)]);X_(this,[],c);wRa();(c=z("program_info"))&&this.g&&nU(c,this.g);c=A("doc_info");this.g&&nU(c,this.g);f=gw("name_tooltip",this.g.w());c=0;for(d=f.length;c<d;c++)this.g&&nU(f[c],this.g);f=gw("satisfy_tooltip",this.g.w());c=0;for(d=f.length;c<d;c++)this.g&&nU(f[c],
3964this.g);VU(!1,"Student Deadlines")};q3.prototype.$=function(){YU();q3.D.$.call(this)};
3965function vRa(a,b){var c=[];for(d in a.h)a=b.hl.indexOf(d),c.push({index:a,length:d.length});c.sort(function(e,f){return e.index==f.index?f.length-e.length:e.index-f.index});b.mj=[];var d=0;c=m(c);for(a=c.next();!a.done;a=c.next())a=a.value,d>a.index||(a.index!=d&&b.mj.push({text:b.hl.substring(d,a.index)}),d=a.index+a.length,a=b.hl.substring(a.index,d),b.mj.push({text:a,jb:a}));d<b.hl.length&&b.mj.push({text:b.hl.substring(d)})}
3966q3.prototype.vd=function(a){return ay(fRa,{$h:a[0],Pf:a[1],Ze:WJ,zt:a[2],Ef:a[3],HK:a[4],GK:a[5],FK:a[6],YN:a[7],Ie:a[8]})};
3967function wRa(){var a=gw("kq"),b;for(b=0;b<a.length;b++)a[b].addEventListener("click",function(c){var d=this.getElementsByClassName("iq");if(1==d.length&&"A"!=c.target.tagName){c=d[0];var e=c.id.split("_");d=e[e.length-1];e=e[e.length-2];c.classList.toggle("sgMenuCollapsibleActive");d=document.getElementById("keyboard_arrow_"+e+"_"+d);d.innerText="keyboard_arrow_up"==d.innerText?"keyboard_arrow_down":"keyboard_arrow_up";c=c.nextElementSibling;c.style.display="none"===c.style.display?"block":"none";
3968c=this.getElementsByClassName("sgSatisfyCollapsed")[0];c.style.display="none"===c.style.display?"block":"none";c=this.getElementsByClassName("sgSatisfyExpanded")[0];c.style.display="none"===c.style.display?"block":"none";c=this.getElementsByClassName("sgNameCollapsed")[0];c.style.display="none"===c.style.display?"block":"none";c=this.getElementsByClassName("sgNameExpanded")[0];c.style.display="none"===c.style.display?"block":"none"}})};function r3(a,b,c){f_.call(this,a,b,c);this.g=0}x(r3,$_);h=r3.prototype;h.start=function(){this.ka("la",this.tQ,this);var a=++RQ;dV(this,a,"initial");tQ(a,0,OJ)};h.tQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?this.Ya():this.ka("la",this.tQ,this)};h.K=function(){r3.D.K.call(this);this.view.K()};h.jc=function(a){r3.D.jc.call(this,a);this.ka("la",this.sQ,this);var b=++RQ;dV(this,b,"save");tQ(b,2,OJ,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,a.vK);this.g=a.vK};
3969h.sQ=function(a){eV(this,a.Va()?a.Sa():null,"save")?(this.Kd(a,"db","pageName=caseload",!0),bK=this.g):this.ka("la",this.sQ,this)};function xRa(){return Y('<div class="'+Z("Lb")+'"><div class="'+Z("zf")+'"><div id="default_desc" class="'+Z("Zu")+'"><div class="'+Z("yf")+'">Section 1</div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Ef")+'"></div><div class="'+Z("yf")+'">Section 2</div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Ef")+'"></div></div><div id="comfortable_desc" class="'+Z("Zu")+'"><div class="'+
3970Z("yf")+'">Section 1</div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Ff")+'"></div></div><div id="compact_desc" class="'+Z("Zu")+'"><div class="'+Z("yf")+'">Section 1</div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Gf")+'"></div><div class="'+Z("yf")+'">Section 2</div><div class="'+Z("Df")+'"></div><div class="'+
3971Z("Df")+'"></div><div class="'+Z("Gf")+'"></div><div class="'+Z("yf")+'">Section 3</div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Gf")+'"></div><div class="'+Z("yf")+'">Section 4</div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Df")+'"></div><div class="'+Z("Gf")+'"></div></div><div class="'+Z("Yu")+'">Choose a view</div><div id="bar" class="'+
3972Z("Uu")+'"><button class="tabLink '+Z("Vu")+'" id="default_display">Default</button><button class="tabLink '+Z("Wu")+'" id="comfortable_display">Comfortable</button><button class="tabLink '+Z("Xu")+'" id="compact_display">Compact</button></div><div id="save_button" style="margin-top: 2em; display: flex; justify-content: center"></div></div></div>')};function s3(){W_.call(this);this.Rj=0;this.h=!1}x(s3,W_);h=s3.prototype;
3973h.K=function(){this.ub("Display Options");var a=ay(b0,{title:"Display Options"}),b=ay(xRa);X_(this,[a],b);this.Rj=bK;a=z("bar");b=z("default_display");var c=z("comfortable_display"),d=z("compact_display");D(b,"click",this.cH,!0,this);D(c,"click",this.cH,!0,this);D(d,"click",this.cH,!0,this);switch(this.Rj){case 0:z("default_display").style.backgroundColor="#4285f4";z("default_display").style.color="#fff";z("default_desc").style.display="block";break;case 1:z("comfortable_display").style.backgroundColor=
3974"#4285f4";z("comfortable_display").style.color="#fff";z("comfortable_desc").style.display="block";break;case 2:z("compact_display").style.backgroundColor="#4285f4",z("compact_display").style.color="#fff",z("compact_desc").style.display="block"}Y_(this,[a]);a=z("save_button");a=Mw(a)[0];a=Mw(a);b=a[1];for(c=0;c<a.length;c++)d=a[c],d!=b&&(Jw(d),c--);a=z("save_button");D(a,"click",this.y7,!0,this)};h.$=function(){s3.D.$.call(this);C(this.Rj)};h.gc=function(){var a={};a.vK=this.Rj;return a};
3975h.cH=function(a){for(var b=a.h.id,c=gw("Zu"),d=0;d<c.length;d++)c[d].style.display="none";c=gw("tabLink");for(d=0;d<c.length;d++)c[d].style.backgroundColor="#f1f1f1",c[d].style.color="#333";z(b.replace("display","desc")).style.display="block";a.h.style.backgroundColor="#4285f4";a.h.style.color="#fff";switch(a.h.id.replace("_display","")){case "default":this.Rj=0;break;case "comfortable":this.Rj=1;break;case "compact":this.Rj=2}this.Al(a);this.h=!0};h.Xe=function(){return this.h};
3976h.y7=function(){this.h=!1};function t3(a,b,c){f_.call(this,a,b,c)}x(t3,$_);h=t3.prototype;h.vQ="pageName=recent";h.start=function(a){a=a.na("docId");w(a)?(this.g=a.split(","),a=!0):(h_(this),a=!1);a&&this.Ya()};h.K=function(){Wxa?(this.view.Yz(),window.location="/iep/#"):(t3.D.K.call(this),this.view.K(this.g.length),this.vQ=ZM(aM.getInstance()))};
3977h.jc=function(a){t3.D.jc.call(this,a);this.view.Yz();this.view.Sw();this.ka("Da",this.uQ,this);var b=++RQ;dV(this,b,"save");var c=this.g,d=a.cW,e=a.eW;a=a.fW;var f=new lB;EE(f,23);FE(f,b);b=0;for(var g=c.length;b<g;b++){var k=new eC;M(k,1,c[b]);M(k,2,d);M(k,3,e);M(k,4,a);mz(f,21,k,eC,void 0)}eN(dN.getInstance(),f)};
3978h.uQ=function(a){if(eV(this,a.Va()?a.Sa():null,"save")){for(var b=0,c=S(a,eC,21);b<c.length;b++)if(null!=I(c[b],5)){a=L(c[b],5,"");this.view.pv(a);return}this.Kd(a,"lb",this.vQ,!0)}else this.ka("Da",this.uQ,this)};function u3(){W_.call(this);this.zb=!1}x(u3,W_);h=u3.prototype;
3979h.K=function(a){this.ub("Transfer Documents");this.h=a;a="Transfer to Another District ("+a+" document";1<this.h&&(a+="s");a=ay(b0,{title:a+")"});var b=ay(vNa);X_(this,[a],b);this.u=new mK("",!0);D(this.u,"click",this.A7,void 0,this);A("search").focus();this.Y=A("clear_district");D(this.Y,"click",this.z7,void 0,this);this.M=rX("SIS Student ID in receiving district:",300);this.M.render(z("dest_object_name"));this.$a=rX("Owner Email or Username in receiving district:",300);this.$a.render(z("dest_user_name"));
3980a="Transfer Document";1<this.h&&(a+="s");Y_(this,[this.M,this.$a,this.u],void 0,a,void 0,void 0,void 0,!0)};h.A7=function(){var a=this.u.text().split("\n"),b=a[0],c=a[1];this.Na=a[2];a=3<a.length?a[3]:"";var d=A("dest_domain");d.firstElementChild.innerText=b+" ("+c+")";d.lastElementChild.innerText=a;A("wrapper").className="cj";d.className="dj"};h.z7=function(){this.Na="";A("dest_domain").className="";A("wrapper").className="";A("search").focus()};
3981h.$=function(){u3.D.$.call(this);C(this.u);C(this.M);C(this.$a)};h.Xe=function(){return this.zb?!1:!0};h.Yz=function(){this.zb=!0};h.ci=function(){};h.gc=function(){return{cW:this.Na,eW:this.M.getValue(),fW:this.$a.getValue()}};h.pv=function(a){rw(z("msg_error"),a)};h.Sw=function(){rw(z("msg_error"),"")};function yRa(a){var b=a.Eh,c=a.Bg;a=a.Tv;return Y('<div class="'+Z("cx")+'"><div>'+(a?'The system has detected that <strong><span id="requesting_user">User</span></strong> needs':'<strong><span id="requesting_user">User</span></strong> has requested')+' <strong><span id="requested_permission">Is Owner</span></strong> access to the following '+(BL(b,"1")?"document":"documents")+'.<i> You may uncheck document(s) below you wish to omit, or click Share > Update Collaborators below to grant a different level of access.</i> <a class="'+
3982Z("H")+"\" target='_blank' rel='noopener noreferrer' href='/iep/g/support/online-guides/user-guide/document-access-requests'>help_outline</a> "+(c?'<span class="'+Z("fc")+'">You are viewing a filtered list.</span> <span id="clear_filters_button" class="'+Z("Am")+'">Reset</span>':"")+'</div><div id="approve_button" class="'+Z("oc")+'"></div><div id="deny_button" class="'+Z("oc")+'"></div></div>')}
3983function zRa(){return Y('<span>Approve <span id="requested_doc_count">10</span> document<span id="requested_doc_plural">s</span></span>')};function ARa(a,b){this.ea=a;this.m=b;this.u=null;this.g="";this.h=null;this.Oj=0;this.Vg="";this.Tv=!1;this.Ia="";this.l=!1;this.o=this.j=this.s=this.va=this.Z=this.M=this.T=null;this.L=!1}h=ARa.prototype;
3984h.start=function(a){var b=a.na("shareUserId");w(b)&&(this.g=b);b=a.na("permission");w(b)&&(this.Oj=parseInt(b,10));b=a.na("collectionId");w(b)&&(this.Vg=b);this.Tv=ZL(a,"systemCreated");b="pageName shareUserId permission page collectionId searchDocStatus systemCreated".split(" ");this.l=!1;a=m(a.g.keys());for(var c=a.next();!c.done;c=a.next())if(c=c.value,""!=c&&!b.includes(c)){this.l=!0;break}this.Tb()&&BRa(this)};
3985h.Um=function(){var a="&shareUserId="+this.g;a+="&permission="+this.Oj;this.Tv&&(a+="&systemCreated");return a};h.IJ=function(){for(var a=mH.g,b="",c=m("pageName shareUserId permission collectionId searchDocStatus systemCreated".split(" ")),d=c.next();!d.done;d=c.next())d=d.value,b+="&"+d+"="+a.na(d);MK(b)};h.Tb=function(){return!!this.g&&""!=this.g};function BRa(a){a.g&&DQ(a.ea,"la","initial",function(b){return tQ(b,0,a.g)},a.SZ,a)}
3986function CRa(a){var b=a.m(),c=new O0(b.rj,a.u,[],3);c.l=a.h;c.o=a.Oj;c.Xv=!0;b.search&&R0(c,b.search);a=S0(c);for(var d=new Map,e=m(a.keys()),f=e.next();!f.done;f=e.next()){f=f.value;var g=a.get(f);if(g.Gj){var k=new rB;M(k,1,f);var l=new tB;T(l,1,k);M(l,6,g.qh);(g=g.Ff)&&M(l,4,g);d.set(f,l)}}return[c,FNa(c,d,{}),b]}h.SZ=function(a){this.h=a.Mc()[0]};function DRa(a){DQ(a.ea,"Tc","dismiss",function(b){return uCa(b,"",0,"",[a.Vg],7,!0)},function(){},a)}
3987function ERa(a,b,c,d){if(b){var e=N0(b);e?yZ(e):(b=NE(b).length,FRa(a,b,c,d))}}function FRa(a,b,c,d){var e="Permission granted for "+b+" document"+(1<b?"s":"")+".";c>b&&(c-=b,e+=" "+c+" document"+(1<c?"s":"")+" already had the requested level of access.");0==b&&(e="Permission already granted.");xZ(e);d?(a=mH.g,b=new Ce(a.re()),d=1,ZL(a,"page")&&(d=parseInt(a.na("page"),10)),b.set("page",d+1),MK(b.toString())):a.l?a.IJ():a.finish()}
3988h.U5=function(){var a=this,b=m(CRa(this)),c=b.next().value,d=b.next().value,e=b.next().value;U0(c,d,function(f){return ERa(a,f,c.ie.length,e.ME)},this,$L(mH.g,["shareUserId","permission","systemCreated"]))};h.W5=function(){this.finish()};h.finish=function(){DRa(this);MK("pageName=recent")};h.$v=function(){if(this.L){var a=this.m().GV;this.T.textContent=a;this.M.textContent="1"==a?"":"s";this.Z.textContent=this.h.Fb()+" "+this.h.Hb();this.va.textContent=rR(this.Oj,!1)}};function GRa(a){var b=a.b4,c=a.d4,d=a.lX;a=a.username;return Y('<div style="padding: 3px 0px;"><div class="'+Z("Ln")+'">WARNING: You must read this fully to ensure you understand the consequences of permanently purging student data.</div><div style="padding: 0.5em 0px;">This will schedule the selected '+X(b)+" to be<b> permanently and irrevocably purged </b>from the system approximately "+X(c)+' from today. After the purge is completed,<b> this action cannot be undone.</b></div><div style="padding: 0.5em 0px;">To proceed, confirm the associated student ID&nbsp;'+
3989(1==d?"number by typing it below:":"numbers by typing them below using a comma-separated list:")+'</div></div><input id="purge_ids" style="width: 100%;"><div style="padding: 0.5em 0px;"><input type="checkbox" id="waiver" style="margin-left: 0px;"><label for="waiver">I understand this action will be permanently associated with my user account ['+X(a)+"]. To the best of my professional knowledge, this information should be permanently and irrevocably purged from the system.</label></div>")}
3990function HRa(a){a=a.link;return Y('<a class="'+Z("xn")+'" href='+GL(JL(a))+' rel="noopener noreferrer" target="_blank">help_outline</a>')};function v3(a,b,c,d,e){if(jK())throw Error("SameGoal staff cannot initiate a purge");WH.call(this,"Ki");wx(this,function(){return Uza(!1)});this.Za=a;this.Y=b;this.Na=c;this.yb=d;this.Ta=e;PBa(this)}x(v3,WH);
3991v3.prototype.K=function(){v3.D.K.call(this);this.dg=!0;gx(this.w(),"tn");"student departure"==this.Y&&Uza(!0);this.tc("IMPORTANT: Are you absolutely sure?");var a="/iep/g/support/";switch(this.Y){case "purge":a="/iep/g/support/online-guides/administrative-guide/purge-student-document";break;case "student departure":a="/iep/g/support/online-guides/administrative-guide/student-departure"}a=ay(HRa,{link:a});ZH(this).appendChild(a);if(1==this.Na)a=this.Za;else a:switch(this.Za){case "student":a="students";
3992break a;case "document":a="documents";break a;case "student and their documents":a="students and their documents";break a;default:throw Error("Unknown purge entity");}
3992a=ay(GRa,{b4:a,d4:this.yb,lX:this.Ta.size,username:PJ});this.ib().appendChild(a);a=new aI;hI(a,kI,!0,!0);hI(a,{key:"schedule",caption:"I understand the consequences. Schedule this "+this.Y+"."});eI(this,a);gx(a.w(),"un");this.Ga(!0);var b=z("purge_ids"),c=z("waiver");b.focus();iI(a,"schedule",!1);D(b,"change",this.Ha,void 0,this);D(b,
3993"keyup",this.Ha,void 0,this);D(c,"change",this.Ha,void 0,this);D(b,["keydown","keypress"],this.Ja,void 0,this);D(c,["keydown","keypress"],this.Ja,void 0,this)};v3.prototype.Ha=function(){var a=this.Yb;if(z("waiver").checked){var b=z("purge_ids").value.split(/[\s,]+/);b=new Set(b);b.delete("");for(var c=new Set,d=!0,e=m(this.Ta),f=e.next();!f.done;f=e.next()){f=f.value;if(!b.has(f)){d=!1;break}c.add(f)}iI(a,"schedule",d&&c.size==b.size)}else iI(a,"schedule",!1)};
3994v3.prototype.Ja=function(a){13==a.keyCode&&a.stopPropagation()};function w3(a,b,c){J1.call(this,a,b,c);this.kl=4;this.forms=[];this.m=[];this.Qb=[];this.rf=[];this.l=[];this.j=new Map;this.u=new Map;this.T=!0}x(w3,J1);var IRa=new Map;h=w3.prototype;h.$l=null;h.xn="";h.hq=null;h.rt=null;h.bb="";h.Ib="";h.TB=new Map;h.Ka=null;h.Qc=null;h.Zm={COMPLETE:"Complete",cca:"Incomplete",zT:"Bulk Edit",oba:"Delete",Eea:"Undelete",AT:"CFE",NT:"Schedule purge",Uaa:"Cancel purge"};var Tza="pageName objectId userId searchDocStatus searchDocForms startDate endDate searchDocBuildings searchGrades searchIdList collectionId".split(" ");
3995h=w3.prototype;h.jm=function(a){w3.D.jm.call(this,a);var b=a.na("searchDocStatus");w(b)&&(this.$l=l3(b));b=a.na("searchDocForms");w(b)&&(this.xn=b);b=a.na("startDate");w(b)&&(this.xh=b);b=a.na("endDate");w(b)&&(this.Gh=b);b=a.na("searchDocBuildings");w(b)&&(this.hq=b);b=a.na("searchGrades");w(b)&&(this.rt=b);b=a.na("searchPrograms");w(b)&&(this.Pf=b);b=a.na("searchIdList");w(b)&&(this.s=b);a=a.na("collectionId");w(a)&&(this.Vg=a)};
3996function x3(a){var b=OJ;DQ(a,"T","initial",function(c){return AQ(c,!1,void 0,b,void 0,void 0,void 0,!0)},a.g_,a)}
3997h.start=function(a){var b=this;if(this.Dd(a)){x3(this);g_(this,"T",this.xQ,this);var c=++RQ;dV(this,c,"initial");AQ(c,!1,void 0);c=++RQ;dV(this,c,"initial");AQ(c,!0,void 0);m_(this,!1);n_(this);this.Qc=new ARa(this,function(){return{rj:b.view.wc(),search:b.ze?b.zf():null,GV:b.ze?b.Yr:b.view.wc().length,ME:b.ze?!1:!(N1(b)+b.Wj>=b.Hl)}});this.Qc.start(a);this.ka(this.Eb,this.Ay,this);a=++RQ;dV(this,a,"initial");this.td(a)}};
3998h.Ay=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.Wd(a),O1(this,a),this.Ya()):this.ka(this.Eb,this.Ay,this)};h.g_=function(a){var b=m(mR(a,!1,!0));a=b.next().value;b.next();b=b.next().value;this.m=a;y3(this,b);this.Ya()};h.xQ=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){var b=m(mR(a,!0,!0));a=b.next().value;var c=b.next().value;b=b.next().value;0<a.length&&(this.forms=a);0<c.length&&(this.l=c);y3(this,b);this.Ya()}};
3999h.Wd=function(a){if("user_docs_list"==this.Jc)var b=this.Ib;var c=Sb(this.forms);Tb(c,this.l);b=nR(a,c,b);this.Ab=b[0];this.g=b[1];this.j=b[2];this.Qc&&this.Qc.Tb()&&(this.Qc.u=this.j);b=0;for(a=NE(a);b<a.length;b++){c=a[b];var d=lF(c);this.u.set(rF(c),eF(d))}};function y3(a,b){a.TB=new Map(ka(a.TB).concat(ka(b)))}
4000h.K=function(){k_(this);this.view.K(this.Jc,this.Ab,this.g,this.m,this.Qb,this.$l,this.xn,void 0,null,null,null,null,this.xh,this.Gh,this.s,this.hq,void 0,this.rf,this.rt,this.Pf);"recent"!=this.Jc&&P1(this);JRa(this)};
4001function JRa(a){z3(a);if(a.Qc&&a.Qc.Tb()){var b=KRa(a,a.g),c=a.view;null===c.l||d1(c.l,!0,b);Q1(a,a.Hl>a.Wj&&1==a.ir);a.view.Ta.W(!1);b=a.Qc;var d=m(CRa(b));c=d.next().value;var e=d.next().value;d=d.next().value;0==e.size&&FRa(b,0,c.ie.length,d.ME);a.Qc.Ia=a.Yr;b=a.Qc;c=a.view.j;e=by(yRa,{Eh:b.Ia,Bg:b.l,Tv:b.Tv});V_(c,e,-10);d=by(zRa);b.T=d.querySelector("#requested_doc_count");b.M=d.querySelector("#requested_doc_plural");b.Z=e.querySelector("#requesting_user");b.va=e.querySelector("#requested_permission");
4002b.s=e.querySelector("#clear_filters_button");b.j=TP(d,void 0,void 0,1);c.Ea(b.j,!1);b.j.render(e.querySelector("#approve_button"));b.o=TP("Ignore All");c.Ea(b.o,!1);b.o.render(e.querySelector("#deny_button"));b.L=!0;b.$v();b.L&&(b.s&&D(b.s,"click",b.IJ,void 0,b),b.j.J("action",b.U5,void 0,b),b.o.J("action",b.W5,void 0,b));S_(a.view.g)}}
4003h.$=function(){w3.D.$.call(this);if("recent"!=this.Jc&&"recent"!=this.Jc){M1(this);Mx(this.view,"change",this.Wv,void 0,this);var a=this.view.Es;null===a||Mx(a,"action",this.pJ,void 0,this);a=this.view.Bc();null===a||Mx(a,"action",this.$R,void 0,this);a=this.view.Pl;null===a||Mx(a,"action",this.ei,void 0,this);a=this.view.ea;null===a||Mx(a,"change",this.ei,void 0,this);a=this.view.Rl;null===a||Mx(a,"change",this.ei,void 0,this);a=this.view.Ja;null===a||Mx(a,a.Be(),this.ei,void 0,this);a=this.view.Gb;
4004null===a||Mx(a,a.Be(),this.ei,void 0,this);Mx(this.view.L,"action",this.Zr,void 0,this);Mx(this.view.l,"action",this.Zr,void 0,this);Mx(this.view,"select_all",this.Zr,void 0,this);this.Qc&&this.Qc.Tb()&&(Mx(this.view.l,"action",this.Qc.$v,void 0,this.Qc),Mx(this.view,"select_all",this.Qc.$v,void 0,this.Qc))}};
4005function z3(a){a.T&&(a.T=!1,g_(a,"mb",a.B7,a),g_(a,"nb",a.x9,a),g_(a,"rb",a.K0,a));LRa(a);if("recent"!=a.Jc){L1(a);K1(a);A0(!1,a.hC,a);a.Wv();D(a.view,"change",a.Wv,void 0,a);var b=a.view.Es;null===b||D(b,"action",a.pJ,void 0,a);b=a.view.Bc();null===b||D(b,"action",a.$R,void 0,a);b=a.view.Ta;null===b||D(b,b.Be(),a.ei,void 0,a);b=a.view.Pl;null===b||D(b,"searchForms",a.ei,void 0,a);b=a.view.Ja;null===b||D(b,b.Be(),a.ei,void 0,a);b=a.view.Gb;null===b||D(b,b.Be(),a.ei,void 0,a);b=a.view.ac;null===b||
4006D(b,b.Be(),a.ei,void 0,a);D(a.view.L,"action",a.Zr,void 0,a);D(a.view.l,"action",a.Zr,void 0,a);D(a.view,"select_all",a.Zr,void 0,a);a.Qc&&a.Qc.Tb()&&(D(a.view.l,"action",a.Qc.$v,void 0,a.Qc),D(a.view.l,"action",a.uU,void 0,a),D(a.view,"select_all",a.Qc.$v,void 0,a.Qc));b=a.view.ea;null===b||D(b,"change",a.ei,void 0,a);b=a.view.Rl;null===b||D(b,"change",a.ei,void 0,a)}}function MRa(a){var b=AM.Sb(),c=XP("Export All");D(c,"action",a.p8,void 0,a);b.Ea(c,!0)}
4007h.Zr=function(){var a=this;if(2<=zF()&&(YU(),VU(!1,"All"),A0(!1,this.hC,this),this.Wv(),cOa(this.view.l)))if(WJ&&this.ze)MRa(this);else{for(var b=this.view.l.Cc(),c=!1,d=0;d<this.Ab.length;d++){var e=this.Ab[d];if(0<=b.indexOf(e.qc)&&0<e.Tg){c=!0;break}}TU("Full Documents",b.join(" "),void 0,void 0,void 0,void 0,!0);c&&TU("Full Documents + PDF Attachments",b.join(" "),void 0,void 0,!0,void 0,!0);c=!1;if(0<b.length){var f=A3(this,b[0]);c=""!=f&&b.every(function(g){return A3(a,g)==f})}if(c&&(c=A3(this,
4008b[0]),(c=this.TB.get(c))&&0<c.length))for(d=VP(),AM.Sb().Ea(d,!0),d=d.w(),d.className="mq",d.innerText="Additional Views",c=m(c),d=c.next();!d.done;
4008d=c.next())d=d.value,TU(d.name,b.join(" "),d.id,void 0,!1,void 0,!0);BM.W(!0);AM.W(!0)}};function A3(a,b){a=a.Ab.find(function(c){return b==c.qc});return void 0!=a?a.Ac:""}
4009function NRa(a){for(var b="",c=15>a.length?a.length:10,d=0;d<c;d++){var e=a[d];b+="- "+e.oh+": "+e.jb;d<c-1&&(b+="\n")}c!=a.length&&(b+="... and "+(a.length-c)+" more documents");return b}function ORa(a){var b={};if(null!=a.Ab){a=m(a.Ab);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.qc]=c}return b}function KRa(a,b){if(!b||0==b.length)return[];for(var c=[],d=OJ,e=0,f=b.length;e<f;e++){var g=b[e],k=a.j.get(g),l=k.qj?k.qj.get(d):null;(3==k.yK||l&&3==l.Td())&&c.push(g)}return c}
4010function PRa(a,b,c){var d=Sb(a.forms);Tb(d,a.l);b=new O0(b,a.j,d,c);a.ze&&R0(b,a.zf());a.Qc&&a.Qc.Tb()&&(b.l=a.Qc.h,b.o=a.Qc.Oj);return Y0(b,!1)}
4011h.pJ=function(a){var b=this;if(U1(this.view)){IRa.clear();for(var c=this.view.wc(),d=ORa(this),e=[],f=KRa(this,c),g=3,k=0,l=c.length;k<l;k++){var n=c[k],q=d[n];f.includes(n)?(g>q.zn&&(g=q.zn),IRa.set(n,this.j.get(n))):e.push(q)}a=a.target.getValue();if(0<e.length&&"Request Document Access"!=a&&!this.ze)wZ(uZ.getInstance(),"Unable to update collaborators because you are not an owner on the following documents:\n"+NRa(e)+'\n\nYou can filter to documents you own by selecting the "Show:" dropdown menu and selecting "Show: Owner".');
4012else if(e="","Update Collaborators"==a){if(c=PRa(this,c,g),this.Qc&&this.Qc.Tb()){var t=this.Qc.m();D(c,"submit",function(u){u.preventDefault();ERa(b.Qc,u.v5,t.rj.length,t.ME)})}}else"Share with Non-District Staff"==a?(e=Sb(this.forms),Tb(e,this.l),RNa(new QNa(new O0(c,this.j,e,g)))):"Request Document Access"==a?(c=new O0(c,this.j,[],g),this.ze&&R0(c,this.zf()),a1(c)):("Transfer to Another District"==a&&(e="pageName=district_transfer&docId="+c.join(",")),MK(e))}else this.X.ba("Ma")};
4013h.IZ=function(a){a=S(a,fD,1009)[0];a="pageName=pdf_export_load&collectionId="+L(N(a,XC,1001),1,"");MK(a)};function QRa(a,b){var c=Sza();DQ(a,"lc","pdf_export",function(d){var e=a.zf(),f="#"+c,g=new lB;EE(g,81);FE(g,d);GE(g,1);d=new XC;d.sc(b);M(d,6,f);f=new fD;T(f,1,e);T(f,1001,d);mz(g,53,f,fD,void 0);eN(dN.getInstance(),g)},a.IZ,a)}
4014h.p8=function(){var a=this;wX([rX("Export name: ")],"PDF Export","Set up export","Cancel",function(b){return QRa(a,b[0])},"Create a bulk PDF export with the current set of filters for documents. This will make .zip files available for download. The actual documents included will be determined when the download is performed.",["SameGoal Export"])};function B3(a){return a.ze||10<a.view.wc().length}
4015function C3(a,b,c){var d={Complete:{metaFieldType:"Ed",confirmTopic:"rb",metaFieldValue:!0},Incomplete:{metaFieldType:"Ed",confirmTopic:"qb",metaFieldValue:!1},Delete:{metaFieldType:"Dd",confirmTopic:"ob",metaFieldValue:!0},Undelete:{metaFieldType:"Dd",confirmTopic:"pb",metaFieldValue:!1},"Schedule purge":{metaFieldType:"Fd",confirmTopic:"tb",metaFieldValue:!0},"Cancel purge":{metaFieldType:"Fd",confirmTopic:"ub",metaFieldValue:!1}},e=void 0;b!=a.Zm.COMPLETE||B3(a)||(e=function(f){return RRa(a,f)});
4016b={tag:b,Qe:d[b].metaFieldValue,Od:d[b].confirmTopic,Ke:"Md",Jd:"na",bf:d[b].metaFieldType,XK:c,eT:e,iL:B3(a)};V0(a,b)}function SRa(a){var b={Complete:"rb",Incomplete:"qb",Delete:"ob",Undelete:"pb",CFE:"sb","Schedule purge":"tb","Cancel purge":"ub"};return function(c){var d=c.Va()?c.Sa():null;eV(this,d,a)?j_(this,a)||a==this.Zm.COMPLETE&&!RRa(this,c)||(this.X.ba(b[a],c),this.ka(this.Eb,TRa(a),this),d=++RQ,dV(this,d,"verify"+a),this.td(d)):this.ka("na",SRa(a),this)}}
4017h.sd=function(a){w3.D.sd.call(this,a);JRa(this)};function TRa(a){return function(b){var c=b.Va()?b.Sa():null;eV(this,c,"verify"+a)?j_(this,"verify"+a)||this.sd(b):this.ka(this.Eb,TRa(a),this)}}
4018function URa(a){function b(f){return NCa(f,d)}var c=a.hC(),d={items:c.rj,qq:3};if(w(c.search)){var e=c.search;b=function(f){return OCa(f,e,d)}}DQ(a,"Pc","batch_edit_collection",b,function(f){f=N(f,$C,1011);""!=L(f,1002,"")?xZ(L(f,1002,"")):(f="pageName=batch_edit&collectionId="+L(N(f,XC,1001),1,"")+("&formId="+L(f,1,"")),MK(f))})}
4019h.$R=function(a){var b=this,c=new Set(["Complete","Incomplete","Delete","Undelete","Cancel purge"]);if(U1(this.view)){var d=a.target.getValue();a=c.has(d);"Delete"==d&&(a=confirm("Heads up! This will delete the document for all c
4019ollaborators. If you want to remove it from your caseload only, remove the star instead. Really delete?"));d==this.Zm.COMPLETE&&B3(this)?VRa(this,null,!0):a?C3(this,d):"Star"==d||"Unstar"==d?V0(this,{tag:d,Od:"Star"==d?"yb":"Ab",Ke:"Md",Jd:"ra",aq:function(e){return JQ(e,
4020"Star"==d,b.view.wc())},bq:function(e,f){var g=b.zf(),k="Star"==d,l=new lB;FE(l,e);pQ(l,g,f,!0);xCa(l,k,[]);eN(dN.getInstance(),l)}}):"Bulk Edit"==d?URa(this):this.ze?this.X.ba("od"):"Copy to new document"==d?(this.ka("gb",this.C7,this),ROa()):"Schedule purge"==d&&WRa(this)}else this.X.ba("Ma")};
4021function RRa(a,b){var c={};a.forms.forEach(function(y){c[y.id]=y.name});a.l.forEach(function(y){c[y.id]=y.name});var d=!1,e="",f=B("TABLE",{style:"width: 100%"}),g=0;for(b=NE(b);g<b.length;g++){var k=b[g],l=S(k,pB,21).length;if(0!=l){var n=lF(k);n.Rd()!=e&&(e=B("TD",{"class":"nn",colspan:"3"},n.Hb()+", "+n.Fb()),e=B("TR",void 0,e),f.appendChild(e),e=n.Rd());n=B("TD",{"class":"on"},B("SPAN","E","subdirectory_arrow_right"),c[sF(k)]||"Unknown");l=B("TD",{"class":"pn"},l+" errors");var q=B("TD","on",
4022B("DIV",{id:"validation_arrow_"+g,"class":"E"},"keyboard_arrow_down"));l=B("TR","vn",n,l,q);f.appendChild(l);D(l,"click",cb(a.E7,g,a));l=B("TBODY",{style:"display: none",id:"validation_doc_"+g});n=0;for(q=S(k,pB,21);n<q.length;n++){d=!0;var t=q[n],u=B("SPAN",{"class":"E",style:"margin-left: 1em;"},"subdirectory_arrow_right"),v=B("A",{href:"#pageName=form&docId="+rF(k)+"&formId="+sF(k)+"&highlight="+t.getKey()},L(t,2,""));D(v,"click",bb(a.D7,a));u=B("TD","on",u,v);t=B("TD",{"class":"pn",colspan:"2"},
4023t.getTitle());t=B("TR",void 0,u,t);l.appendChild(t)}f.appendChild(l)}}return d?VRa(a,f,!1):!0}
4024function VRa(a,b,c){a.Ka=SP();a.Ka.dg=!0;a.Ka.tc("Validation Errors");var d=new aI;hI(d,kI,!0,!0);if(XJ||WJ){if(c){var e=B("DIV",{style:"padding: 3px 0"},"If any document(s) have a validation error, choose how to proceed.");hI(d,{key:"fail_if_error",caption:"Mark none complete"})}else e=B("DIV",{style:"padding: 3px 0"},B("B",void 0,"WARNING!")," Document(s) with validation errors may be omitted from administrative reports and state reporting.");hI(d,{key:"override",caption:"Mark complete with errors >>"});
4025var f="/iep/g/support/online-guides/user-guide/validate-documents-override"}else c?(e=B("DIV",{style:"padding: 3px 0"},"If any document(s) have a validation error, ",B("B",void 0,"none")," will be marked complete."),hI(d,{key:"fail_if_error",caption:"OK"})):e=B("DIV",{style:"padding: 3px 0"},"Document(s) may not be marked complete until the above validation errors are resolved."),f="/iep/g/support/online-guides/user-guide/validate-documents";eI(a.Ka,d);d=B("DIV","wn",b);var g=B("DIV",{style:"padding-bottom: 9px;"},
4026"The documents you selected could not be marked complete due to validation errors."),k=a.Ka.ib();c||k.appendChild(g);b&&k.appendChild(d);k.appendChild(e);b=B("A",{"class":"xn",href:f,rel:"noopener noreferrer",target:"_blank"},"help_outline");ZH(a.Ka).appendChild(b);gx(a.Ka.w(),"qn");D(a.Ka,gI,a.wQ,void 0,a);a.Ka.Ga(!0);return!1}
4027function XRa(a){var b=a.Ka.Yb,c=fI(b,"override");if("Mark complete with errors >>"!=c.innerText)return!1;c.innerText="Mark complete with errors";iI(b,"override",!1);b=B("DIV",{style:"padding-bottom: 9px;"},"Reason for marking the document(s) complete without resolving validation errors:");c=B("INPUT",{type:"radio",id:"not_author",name:"reason"});var d=B("LABEL",{"for":"not_author",id:"not_author_label"},"I am not the original author and I don't know how to resolve these errors");d=B("DIV",{style:"display: flex; padding-bottom: 7px"},
4028c,d);var e=B("INPUT",{type:"radio",name:"reason",id:"other_radio"}),f=B("LABEL",{"for":"other_radio"},"Other:"),g=B("TEXTAREA",{style:"height: 193px",id:"other"});f=B("DIV",{style:"display: flex; flex-direction: column; flex-grow: 1"},f,g);f=B("DIV",{style:"display: flex; align-items: flex-start; padding-bottom: 7px"},e,f);var k=B("DIV",{style:"padding: 3px 0"},B("B",void 0,"WARNING!")," Document(s) with validation errors may be omitted from administrative reports and state reporting.");D(c,"change",
4029a.zA,void 0,a);D(e,"change",a.zA,void 0,a);D(g,"keyup",a.zA,void 0,a);D(g,"keydown",a.zA,void 0,a);a=a.Ka.ib();a.innerHTML="";a.appendChild(b);a.appendChild(d);a.appendChild(f);a.appendChild(k);return!0}h.E7=function(a){var b=z("validation_doc_"+a);a=z("validation_arrow_"+a);"keyboard_arrow_up"==a.innerText?(b.style.display="none",a.innerText="keyboard_arrow_down"):(b.style.display="",a.innerText="keyboard_arrow_up")};
4030function YRa(){return z("not_author").checked?z("not_author_label").innerText:z("other").value}h.zA=function(a){"change"!=a.type&&(z("other_radio").checked=!0);iI(this.Ka.Yb,"override",!!YRa())};function D3(a,b,c){var d=new Map;void 0!==c&&d.set("override_reason",c);b&&d.set("share_student_team",!0);C3(a,a.Zm.COMPLETE,d)}
4031h.wQ=function(a){var b=this;switch(a.key){case "override":if(XRa(this)){a.stopPropagation();a.preventDefault();break}var c=YRa();if(B3(this)&&F0()){WNa(function(d){return D3(b,d,c)});break}D3(this,!1,c);break;case "fail_if_error":if(B3(this)&&F0()){WNa(function(d){return D3(b,d)});break}C3(this,this.Zm.COMPLETE);break;case "schedule":C3(this,this.Zm.NT);break;default:this.Ka=null}};h.C7=function(a){this.ka("S",SRa(this.Zm.AT),this);var b=++RQ;dV(this,b,"CFE");ACa(b,this.view.wc(),a)};
4032function WRa(a){for(var b=new Set,c=m(a.view.wc()),d=c.next();!d.done;d=c.next())b.add(a.u.get(d.value));try{a.Ka=new v3("document","purge",a.view.wc().length,"one week",b)}catch(e){"SameGoal staff cannot initiate a purge"===e.message&&a.X.ba("Ya");return}a.Ka.render();D(a.Ka,gI,a.wQ,void 0,a)}h.x9=function(a){JQ(++RQ,!1,[a])};h.B7=function(a){JQ(++RQ,!0,[a])};
4033h.Ud=function(a){var b="pageName="+this.Jc;"object_docs_list"==this.Jc&&(b+="&objectId="+this.bb);"user_docs_list"==this.Jc&&(b+="&userId="+this.Ib);var c=this.view.gc();null!=c.PO&&(b+="&searchDocStatus="+c.PO);""!=c.XF&&(b+="&searchDocForms="+c.XF);null!=c.jp&&(b+="&startDate="+c.jp);null!=c.An&&(b+="&endDate="+c.An);null!=c.kS&&(b+="&searchIdList="+encodeURIComponent(c.kS));null!=c.MO&&(b+="&searchDocBuildings="+c.MO);null!=c.NO&&(b+="&searchGrades="+c.NO);null!=c.OO&&(b+="&searchPrograms="+c.OO);
4034this.Vg&&(b+="&collectionId="+this.Vg);this.Qc&&this.Qc.Tb()&&(b+=this.Qc.Um());1!=a&&(b+="&page="+a.toString());MK(b)};h.ei=function(){this.Ud(1)};
4035h.zf=function(){var a=!1,b,c,d,e=!1,f=void 0,g=void 0;if("recent"==this.Jc){var k=!0;WJ||(c=OJ)}if("caseload"==this.Jc){var l="caseload";var n=!1;WJ||(c=OJ)}"all"==this.Jc&&(WJ||(c=OJ));if("object_docs_list"==this.Jc){var q=this.bb;e=void 0;WJ||(c=OJ)}if(this.$l){for(var t="default",u="default",v="default",y="default",G="default",K=void 0,J=m(this.$l),O=J.next();!O.done;O=J.next())switch(O.value){case "Complete":"default"===t?t=!0:t=void 0;break;case "Incomplete":"default"===t?t=!1:t=void 0;break;
4036case "Owner":"default"===u?u=!0:u=void 0;break;case "Not Owner":"default"===u?u=!1:u=void 0;break;case "Deleted":"default"===v?v=!0:v=void 0;break;case "Not Deleted":"default"===v?v=!1:v=void 0;break;case "Active":"default"===y?y=!1:y=void 0;break;case "Inactive":"default"===y?y=!0:y=void 0;break;case "Current":"default"===G?(G=new Date,K=!1):K=G=void 0;break;case "Historical":"default"===G?(G=new Date,K=!0):K=G=void 0}"default"!==t&&(b=t);"default"!==u&&(d=u);"default"!==v&&(a=v);"default"!==y&&
4037(e=y);"default"!==G&&(f=G,g=K)}"user_docs_list"==this.Jc&&(c=this.Ib);if(""!=this.xn)var P=this.xn;
4037if(null!=this.hq)var Q=this.hq;if(null!=this.rt)var R=this.rt;if(null!=this.Pf)var aa=this.Pf;if(null!=this.Vg)var fa=this.Vg;return lCa(!1,N1(this),q,c,P,b,a,l,n,k,this.xh,this.Gh,this.s,Q,d,R,fa,aa,e,f,g)};h.D7=function(){this.Ka.Ga(!1)};h.hC=function(){return this.ze?{search:this.zf()}:{rj:this.view.wc()}};h.Kv=function(){var a=w3.D.Kv.call(this),b=this.view.L.Di();return a&&2!=b};
4038h.aH=function(){var a=2<=zF();return w3.D.aH.call(this)||WJ&&a};function LRa(a){var b=a.view.g.w().querySelectorAll("[tag=doc_button]"),c=0,d=D,e={};b=m(b);for(var f=b.next();!f.done;e={hw:e.hw},f=b.next())f=f.value,f.href||(e.hw=a.Ab[c],d(f,"click",function(g){return function(){return PRa(a,[g.hw.qc],g.hw.zn)}}(e))),c++}h.uU=function(){var a=0==this.view.Di();this.view.Za.W(a);this.view.Za.pd(a?"":'Use the "Approve" button to go to the next page.')};
4039h.K0=function(a){if(F0()&&!(50<NE(a).length)){var b=Sb(this.forms);Tb(b,this.l);var c=NE(a).map(function(d){return rF(d)});b=new O0(c,this.j,b,null);T0(b,a);XNa(b,!0)}};function E3(){$1.call(this);this.Ta=this.h=this.Es=null;this.M=[];this.u=[];this.ac=this.Gb=this.Rl=this.Pl=null;this.zb=yF(AF).includes(30)}x(E3,$1);h=E3.prototype;h.mg="caseload";
4040h.K=function(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P){switch(a){case "all":c="All";break;case "recent":c="Recent";break;case "caseload":c="Caseload";break;case "object_docs_list":c="Student Documents";break;case "user_docs_list":c="User Documents";break;default:c="Documents"}this.ub(c);this.mg=a;this.forms=d;this.Qb=e;this.$l=f;this.xn=g;this.sb=u;this.bc=v;this.Cb=y;this.Y=G;this.Na=O;this.$a=P;a:{a=this.mg;if("recent"!=a){if("caseload"==a){l=[ay(e0,{blue:!0,uH:!0})];break a}if("all"==a){l=[ay(e0,
4041{blue:!0,uH:!0})];break a}if("user_docs_list"==a){a=$M("users_list");n=ay(g0,{Xb:a,cc:q,hc:n});l=ay(h0,{Ib:l,vh:"documents"});q=ay(e0,{uH:!0});l=[n,l,q];break a}if("object_docs_list"==a){l=[ay(e0)];break a}throw Error("could not get workflow bar node");}l=[]}n=this.vd(b);X_(this,l,n);l=gw("student_info_tooltip",this.g.w());n=0;for(q=l.length;n<q;n++)nU(l[n],this.g);"recent"!=this.mg&&(a2(this),c2(this,b),ZRa(this,d,e,f,g,J));tPa(this,b);VU(!1,c);S_(this.g)};
4042h.$=function(){E3.D.$.call(this);"recent"!=this.mg&&(b2(this),d2(this),C(this.h),C(this.Es),C(this.Ta),C(this.Pl));uPa(this);YU()};
4043h.vd=function(a){var b=7,c=1,d=LJ;null!=d&&(c=new Date(d),b=c.getUTCMonth()+1,c=c.getUTCDate());d=Infinity;var e=!1;if(a)for(var f=m(a),g=f.next();!g.done;g=f.next())if(g=g.value,g.Lz||(e=!1),0==g.qF.length)!e&&g.Lz&&(g.zC="Historic"),e=!0;else{var k=g.qF.split("-");if(0!=k.length){var l=parseInt(k[2],10),n=parseInt(k[1],10);k=parseInt(k[0],10);(n<b||n==b&&l<c)&&--k;k<d&&g.Lz&&(g.zC=k+"-"+((k+1)%100).toString().padStart(2,"0"));d=k}}if("object_docs_list"==this.mg){b=0;for(c=a.length;b<c;++b)d=a[b],
4044d=d.o3+" "+d.p3,xc(d)||a[b].wd.unshift(["Owner",d]);return ay(wBa,{items:a})}if("recent"==this.mg)return ay(uBa,{items:a});if("user_docs_list"==this.mg)for(b=0,c=a.length;b<c;++b)d=rR(a[b].n3,!1),"No access"!=d&&a[b].wd.unshift(["team member",d]);return ay(vBa,{items:a})};function l3(a){var b=[],c=[],d=!1;ka(a).concat().forEach(function(e){"\\"!==e||d?d?(c.push(e),d=!1):","===e?(b.push(c.join("")),c=[]):c.push(e):d=!0});b.push(c.join(""));return b}
4045function $Ra(a,b){var c="My Permission";"user_docs_list"==a.mg&&(c="User's Permission");a.u=[["Status",["Complete","Incomplete"]],["Current",["Current","Historical"]],[c,["Owner","Not Owner"]],["Deleted",["Deleted","Not Deleted"]],["Student District Enrollment",["Active","Inactive"]]];a.M=[["Complete","Incomplete"],["Current","Historical"],["Owner","Not Owner"],["Not Deleted"],["Active"]];"object_docs_list"==a.mg&&(a.M=[["Complete","Incomplete"],["Current","Historical"],["Owner","Not Owner"],["Not Deleted"]],
4046a.u=[["Status",["Complete","Incomplete"]],["Current",["Current","Historical"]],[c,["Owner","Not Owner"]],["Deleted",["Deleted","Not Deleted"]]]);b=new Set(b);c=[];for(var d=0,e=m(a.u),f=e.next();!f.done;f=e.next()){var g=!1;f=m(f.value[1]);for(var k=f.next();!k.done;k=f.next())k=k.value,b.has(k)&&(g=!0,c.push(k));g||c.push.apply(c,ka(a.M[d]));d++}a.Ta=new cQ("Documents",a.u,c);a.Ta.render(z("filter_status_button"));if(a=a.Ta.m.w().querySelector(".Zk-al"))a.style.display="none"}
4047function ZRa(a,b,c,d,e,f){var g=[],k=[],l=d&&d.includes("Deleted")&&d.includes("Not Deleted"),n=WJ;g=["Update Collaborators"];a.zb&&2<=zF()&&g.push("Share with Non-District Staff");g.push("Request Document Access");n&&fz(AF,23,!1)&&(g.push("|"),g.push("Transfer to Another District"));n&&(k=["Incomplete"]);k.push("Complete","Delete");3<=zF()&&yF(AF).includes(94)&&k.push("Bulk Edit");l&&k.push("Undelete");k.push("Star","Unstar");2<=zF()&&k.push("Copy to new document");d&&!l&&d.includes("Deleted")&&
4048(k=["Undelete"],WJ&&fz(AF,29,!1)&&k.push("|","Schedule purge","Cancel purge"));0!=k.length&&(a.h=e2("Actions",k),a.h.render(z("actions_button")));0!=g.length&&(a.Es=e2("Share",g),a.Es.render(z("bulk_share_button")));$Ra(a,d);a.Pl=new H0(b,e);a.Pl.render(z("filter_form_button"));a.Ja=null;d=z("filter_building_button");null!=d&&(e=null!=a.Y?l3(a.Y):null,a.Ja=new fQ("Buildings",c,e,void 0,void 0,!0,"none assigned"),a.j.Ea(a.Ja),a.Ja.render(d));c=z("filter_grades_button");null!=c&&(d=null!=a.Na?l3(a.Na):
4049null,f={"":f?f.map(function(q){return L(q,1,"")}):[]},a.Gb=new cQ("Grades",f,d,void 0,void 0,void 0,"No Grade Entered"),a.j.Ea(a.Gb),a.Gb.render(c));f=z("filter_date_selector");null!=f&&(a.ea=new m3(a.sb,a.bc),a.ea.render(f));null!=z("filter_students_box")&&(a.Rl=new W1(a.Cb),a.Rl.render(z("filter_students_box")));f=z("filter_programs_button");null!=f&&(b=ka(new Set(b.map(function(q){return q.group}))).concat(),c=a.$a?l3(a.$a):null,a.ac=new cQ("Programs",{"":b?b:[]},c),a.j.Ea(a.ac),a.ac.render(f))}
4050h.Bc=function(){return this.h};h.sd=function(a,b){uPa(this);"recent"!=this.mg&&(a2(this),c2(this,a));E3.D.sd.call(this,a,b);b=gw("student_info_tooltip",this.g.w());for(var c=0,d=b.length;c<d;c++)nU(b[c],this.g);tPa(this,a);a=++RQ;KQ(a,50*(qZ.getInstance().Nj-1));S_(this.g)};
4051function aSa(a){var b=a.Ta.Cc();b=new Set(b);for(var c=[],d=0,e=m(a.u),f=e.next();!f.done;f=e.next()){var g=a.M[d],k=!1,l=[];
4051f=m(f.value[1]);for(var n=f.next();!n.done;n=f.next())n=n.value,b.has(n)&&(k=!0,l.push(n));k&&!WAa(g,l)&&c.push.apply(c,ka(l));d++}return c=c.filter(function(q){return""!=q})}
4052h.gc=function(){var a={};if(this.Ta){var b=aSa(this);0<b.length&&(a.PO=b.join(","))}else b=JSON.stringify(a),CK.g(Error("no filterstatus button. placeType_: "+this.mg+", v: "+b));a.XF="";(b=nNa(this.Pl))&&"All Forms"!=b&&(a.XF=b);b=this.ea.qH;a.jp=b.jp;a.An=b.An;if(b=this.Rl?this.Rl.$a:"")a.kS=b;this.Ja&&(b=this.Ja.Cc())&&!this.Ja.mi()&&0<b.length&&(a.MO=b.map(function(c){return c.replace(",","\\,")}).join(","));this.Gb&&(b=this.Gb.Cc())&&!this.Gb.mi()&&0<b.length&&(a.NO=b.join(","));this.ac&&(b=
4053this.ac.Cc())&&!this.ac.mi()&&0<b.length&&(a.OO=b.join(","));return a};function F3(a,b,c){J1.call(this,a,b,c);this.Jc="download_backups";this.kl=82;this.Eb="Rc";this.l=[];this.m=[];this.j="";this.s=!1}x(F3,J1);h=F3.prototype;h.start=function(){DQ(this,this.Eb,"initial",function(a){var b=new lB;EE(b,82);FE(b,a);GE(b,0);eN(dN.getInstance(),b)},this.G7,this);zK(this.X,"Sc",this.RW,this)};h.Wd=function(a){this.iq=L(S(a,gD,1008)[0],1,"");this.yt=tEa(a);var b=[],c=0;for(a=S(a,gD,1008);c<a.length;c++){var d=a[c];d={wb:d.kb(),size:d.Md()};b.push(d)}this.Ab=b};
4054h.G7=function(a){this.Wd(a);this.Ya()};h.K=function(){var a=this;F3.D.K.call(this);this.view.K(this.iq,this.yt,this.Ab);for(var b={},c=m(this.view.AB().entries()),d=c.next();!d.done;b={jB:b.jB},d=c.next())d=m(d.value),b.jB=d.next().value,d=d.next().value,D(d,"action",function(e){return function(){return bSa(a,e.jB,!0)}}(b),void 0,this);D(this.view.Bc(),"action",this.BK,void 0,this)};h.$=function(){Mx(this.view.Bc(),"action",this.BK,void 0,this)};
4055function bSa(a,b,c){a.j==b||a.l.includes(b)||a.m.includes(b)?c&&xZ("File already queued or completed"):(a.l.push(b),c&&xZ("File queued for download."),a.s||cSa(a))}h.BK=function(a){var b=this.view.wc();if("Download Files"===a.target.getValue())if(1>b.length)xZ("Please select one or more files to download.");else{a=m(b);for(b=a.next();!b.done;b=a.next())bSa(this,b.value,!1);xZ("Files queued for download.");cSa(this)}};function cSa(a){a.s=!0;a.j=a.l.shift();dSa(a)}
4056function dSa(a){null==window.open(fK+"/iep/downloadBackups?epoch="+(a.iq+"&file="+a.j+"&sid="+rL()))&&wZ(uZ.getInstance(),"Please enable popups and redirects for this site in order to download multiple files.")}h.RW=function(a){this.s&&(a=S(a,gD,1008)[0].kb(),a!=this.j?CK.g(Error("received unexpected backup file notification: "+a+" expected: "+this.j),void 0,!0):(this.m.push(this.j),this.j=this.l.shift()||"",""!=this.j?dSa(this):(this.s=!1,this.j="",this.m=[],this.l=[],wZ(uZ.getInstance(),"All queued files have been downloaded."))))};function eSa(a){Ta(a.$K);var b=a.$K;var c=a.IW;a=a.rU;var d='<div class="'+Z("Lb")+" "+Z("Od")+'">Each zip file can be up to 100 GB. Make sure you have enough space on your computer before downloading. <a class="'+Z("ts")+'" href="/iep/g/support/online-guides/technical-guide/pdf-export" rel="noopener noreferrer" target="_blank" style="text-decoration: none !important">help_outline</a><div><a href='+GL(JL(c))+'>Show included documents</a></div></div><div class="'+Z("Lb")+'"><table width="100%" class="'+
4057Z("le")+'"><tr><th class="'+Z("Em")+'"></th><th class="'+Z("Em")+'">Zip</th><th class="'+Z("Em")+" "+Z("Mn")+'">Last Downloaded By</th><th class="'+Z("Em")+" "+Z("Mn")+'">Status</th><th class="'+Z("Em")+" "+Z("Mn")+" "+Z("Nn")+'"></th>'+(a?'<th colspan=4 class="'+Z("Em")+" "+Z("Mn")+'">Failed Documents</th>':"")+"</tr>";c=b.length;for(var e=0;e<c;e++){var f=b[e],g=a;var k="";if(0<f.Dn.length){g=f.Dn;for(var l=g.length,n=0;n<l;n++){var q=g[n];k+="<tr>";if(0==n)k+=fSa({file:f});else for(var t=0;5>t;t++)k+=
4058"<td></td>";k+=X(LP({ce:q.xx}))+X(NP({complete:q.vu,Tg:q.Tg,gk:q.gk,jl:q.jl}))+X(OP({uc:q.uc,jb:q.jb,Fh:q.Fh,py:0<q.zn}))+X(tBa({oh:q.oh,Zk:q.Zk,zo:q.zo,Ie:q.tn,fd:q.fd,bb:q.bb}))+"</tr>"}}else{k+="<tr>"+fSa({file:f});if(g)for(f=0;4>f;f++)k+='<td class="'+Z("Hm")+'"></td>';k+="</tr>"}k=Y(k);d+=k}return Y(d+"</table></div>")}
4059function fSa(a){a=a.file;return Y('<td class="'+Z("Tm")+'"><span id="'+Z(a.wb)+'"></span></td><td class="'+Z("Hm")+'">'+X(a.name)+'</td><td id="last_download_'+Z(a.wb)+'" class="'+Z("Hm")+'">'+X(a.PM)+'</td><td id="status_'+Z(a.wb)+'" class="'+Z("Hm")+'">'+X(a.aL)+'</td><td class="'+Z("Hm")+" "+Z("Nn")+" "+Z("Nm")+'"><span id="download-btn-'+Z(a.wb)+'" title="Download file"></span></td>')}
4060function gSa(a){var b=a.iq,c=a.yt;Ta(a.bK);a=a.bK;var d='<div class="'+Z("Lb")+'"><p>SameGoal creates full backups for your district every two weeks, with nightly incremental backups in between. The full set of backups are available via your district\'s <a href="/iep/g/support/online-guides/technical-guide/sftp-account">SFTP Account</a>.</p><p>For convenience, the contents of your district\'s <em>latest full database backup</em> are available for download below. Please make sure you have enough space on your computer to hold the files before downloading. <a class="'+Z("ts")+
4061'" href="/iep/g/support/online-guides/technical-guide/download-full-backups" rel="noopener noreferrer" target="_blank" style="text-decoration: none !important">help_outline</a></p><p><strong>Latest Full Backup: </strong>'+X(b)+" - Generated on "+X(c)+'</p><table width="100%" class="'+Z("le")+'"><thead><tr><th class="'+Z("in")+'"></th><th class="'+Z("in")+'">File name</th><th class="'+Z("in")+'">Size</th><th class="'+Z("in")+" "+Z("Nn")+'">Download</th></tr></thead><tbody>';b=a.length;for(c=0;c<b;c++){var e=
4062a[c];e=Y('<tr><td class="'+Z("Tm")+'"><span id="'+Z(e.wb)+'"></span></td><td class="'+Z("Hm")+'">'+X(e.wb)+'</td><td class="'+Z("Hm")+'">'+X(e.size)+'</td><td class="'+Z("Hm")+" "+Z("Nn")+" "+Z("Nm")+'"><span id="btn-'+Z(e.wb)+'" title="Download file"></span></td></tr>');d+=e}return Y(d+"</tbody></table></div>")};function G3(){$1.call(this);this.h=null;this.u=new Map}x(G3,$1);G3.prototype.Bc=function(){return this.h};G3.prototype.AB=function(){return this.u};
4063G3.prototype.K=function(a,b,c){this.ub("Download Database Backup");var d=ay(j0,{mn:"Download Database Backup",Xb:"#pageName=instance_technical",Ce:"technical settings"});this.iq=a;this.yt=b;a=this.vd(c);X_(this,[d],a);c2(this,c);c=m(c);for(d=c.next();!d.done;d=c.next())if(a=d.value.wb,d=TP("download",void 0,void 0,void 0,1),d.rd("D"),this.u.set(a,d),a=z("btn-"+a))this.g.Ea(d,!1),d.render(a);this.h=e2("Actions",["Download Files"]);this.h.render(z("actions_button"));S_(this.g)};
4064G3.prototype.vd=function(a){return ay(gSa,{iq:this.iq,yt:this.yt,bK:a})};function H3(a,b,c){J1.call(this,a,b,c);this.Eb="ja";this.forms=[];i_(this,new p3(this,c,"programs"))}x(H3,J1);h=H3.prototype;h.zQ="";h.start=function(a){this.Dd(a)&&(this.ka(this.Eb,this.yQ,this),a=++RQ,dV(this,a,"initial"),this.td(a),g_(this,"T",this.H7,this),a=++RQ,dV(this,a,"initial"),AQ(a,!1,""),a=++RQ,dV(this,a,"initial"),AQ(a,!0,""))};
4065h.Dd=function(a){var b=a.na("objectId");if(!w(b))return h_(this),!1;this.zQ=b;a=a.na("program_list");if(!w(a))return!0;b=0;for(var c=[],d=0;d<a.length;d++)d>b&&","==a[d]&&"\\"!=a[d-1]&&(c.push(a.substring(b,d-b)),b=d+1);b<a.length&&c.push(a.substring(b));this.j=c;return!0};
4066h.yQ=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){this.Ab=eEa(a);var b=[];if(null!=I(a,28))for(var c=0,d=S(N(a,sC,28),AB,3);c<d.length;c++){var e=d[c],f=rF(e),g=sF(e);e=L(e,23,0);b.push({gx:f,xk:g,permission:e})}this.$h=b;this.l=[];b=S(a,oC,27);for(c=0;c<b.length;c++)d=b[c],this.l.push({name:d.kb(),url:L(d,4,"")});O1(this,a);this.Ya()}else this.ka(this.Eb,this.yQ,this)};
4067h.H7=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){var b=0;for(a=OE(a);b<a.length;b++){var c=a[b],d=xF(c);c=wF(c);Pb(this.forms,[c,d])}this.Ya()}};h.K=function(){k_(this);this.view.K(this.Jc,this.Ab,this.$h,this.forms,this.l)};h.td=function(a){w(this.j)||(this.j=[]);var b=this.zQ,c=this.j,d=new lB;EE(d,30);FE(d,a);a=new sB;M(a,1,b);JE(d,a);for(var e in c)b=new oC,b.sc(e),mz(d,25,b,oC,void 0);eN(dN.getInstance(),d)};function hSa(a){Ta(a.nL);var b=a.nL;Ta(a.$h);var c=a.$h;Ta(a.Pf);var d=a.Pf;a='<div class="'+Z("Ce")+'" style="padding-top: 1em; padding-left: 1em;"><div class="'+Z("Kn")+'">Programs Timeline';if(0<d.length){a+='<span id="program_info" class="'+Z("Gk")+'" style="font-size: .8547em;"><i class="'+Z("E")+'">help_outline</i><span class="'+Z("Nk")+'">Program participation guides:<br/>';for(var e=d.length,f=0;f<e;f++){var g=d[f];a+=BL(g.url,"")?"":'<a href="'+Z(JL(g.url))+'" target="_blank" rel="noopener noreferrer" class="'+
4068Z("Mb")+'">'+X(g.name)+"</a><br/>"}a+="</span></span>"}a+="</div><br>Calculated from completed documents. ";if(0<c.length){a+="Incomplete documents not included:<ul>";d=c.length;for(e=0;e<d;e++)f=c[e],a+="<li>"+(f.xe?'<a href="#pageName=form&docId='+Z(f.gx)+"&formId="+Z(f.xk)+'" rel="noopener noreferrer" target="_blank">'+X(f.jb)+"</a>":X(f.jb))+"</li>";a+="</ul><br/>"}else a+="<br/><br/>";a+='<div style="display: inline-block;"><div class="'+Z("jb-kb-lb")+'" style="display: block; text-align: right; background: none; background-color: none;" id="toggle_line"></div><table class="'+
4069Z("le")+'" id="program_list"><thead><tr class="'+Z("Cm")+'" style="background-color: #ddd; color: #414141;"><td class="'+Z("Hm")+'"></td><td class="'+Z("Hm")+'" style="padding: 5px 1em; font-weight: bold;">As Of <span id="date_info" class="'+Z("Gk")+" "+Z("mx")+'" style="padding: 0px;"><i class="'+Z("E")+'">info</i><span class="'+Z("Nk")+'">The date the way this student participates in this program changed. If the student has participated in the same way since this date, no additional events or documents will appear afterwards.<
4069/span></span></td><td class="'+
4070Z("Hm")+'" style="padding: 5px 1em; font-weight: bold;">Status Change</td><td class="'+Z("Hm")+'" style="padding: 5px 1em; font-weight: bold;">Note</td><td class="'+Z("Hm")+'" style="padding: 5px 1em; font-weight: bold;">Determined From <span id="doc_info" class="'+Z("Gk")+" "+Z("mx")+'" style="padding: 0;"><i class="'+Z("E")+'">info</i><span class="'+Z("Nk")+'">The document and document fields associated with this program change. Documents you have at least view access to are expandable.</span></span></td><td class="'+
4071Z("Hm")+'" style="padding: 5px 1em; font-weight: bold;"></td></tr></thead><tbody>';c=b.length;if(0<c)for(d=0;d<c;d++){e=b[d];g=0==d?"":b[d-1].Nu;var k=0==d?"":b[d-1].BC;f='<tr class="'+(e.xe?" "+Z("kq"):"")+'" id="program_row_'+Z(d)+'">';BL(g,e.Nu)&&BL(k,e.BC)?g='<td class="'+Z("Hm")+'" style="padding: 5px 1em; border-top: none;"></td><td class="'+Z("Hm")+'" style="padding: 5px 1em; border-top: none;"></td>':(g='<td class="'+Z("Hm")+'" style="padding: 5px 1em;">',k=e.ce,k=Y('<div class="student_info_tooltip '+
4072Z("Gk")+'"><div class="'+Z("Hn")+'" style="background-color:'+Z(NL(k.Ed))+';">'+X(k.$d)+'</div><div class="'+Z("Nk")+" "+Z("Wk")+'"><div class="'+Z("Xk")+'">'+X(k.nr)+"</div></div></div>"),g=g+k+'</td><td class="'+Z("Hm")+'" style="padding: 5px 1em;">'+X(e.BC)+"</td>");a+=f+g+'<td class="'+Z("Hm")+'" style="padding: 5px 1em;">'+X(e.event)+'</td><td class="'+Z("Hm")+'" style="padding: 5px 1em;">'+X(e.reason)+'</td><td class="'+Z("Hm")+'" style="padding: 5px 1em;"><button type="button" id="collapsible_menu_'+
4073Z(d)+'" class="'+Z("iq")+'" style="font-size: 13px;'+(e.xe?"":"cursor: auto;")+'">'+X(e.jb)+'</button><div class="'+Z("jq")+'" style="display: none;">';f=e.Lq;g=f.length;for(k=0;k<g;k++){var l=f[k];a+='<span class="'+Z("E")+'">subdirectory_arrow_right</span><a href="#pageName=form&docId='+Z(e.tk)+"&formId="+Z(e.form)+"&highlight="+Z(l)+'" rel="noopener noreferrer" target="_blank">'+X(e.Ct[k])+"</a><br/>"}a+='</div></td><td class="'+Z("Hm")+'">'+(e.xe?'<span id="keyboard_arrow_'+Z(d)+'" class="'+Z("E")+
4074'" style="color: black;">keyboard_arrow_down</span>':"")+"</td></tr>"}else a+='<tr><td class="'+Z("Hm")+'" colspan="6" style="padding-left: 20px;">No timeline entries</td></tr>';return Y(a+"</tbody></table></div></div>")};function I3(){$1.call(this)}x(I3,$1);h=I3.prototype;h.Hq=!0;
4075h.K=function(a,b,c,d,e){this.ub("Student Programs");this.Jc=a;null===b&&(b=[]);a={};for(var f=0;f<d.length;f++)a[d[f][0]]=d[f][1];this.M=a;if(null!==c)for(d=m(c),a=d.next();!a.done;a=d.next())a=a.value,a.jb=this.M[a.xk],a.xe=1<=a.permission;d=m(b);for(a=d.next();!a.done;a=d.next())a=a.value,a.jb=this.M[a.form],a.xe=1<=a.permission;b=this.Y=b;d=[];for(a=0;a<b.length;a++)f=b[a],f.Nu&&"Data Issue"!=f.event&&"Error"!=f.event||d.push(a);this.h=d;c=this.vd([this.Y,c,e]);X_(this,[],c);0!=this.h.length&&
4076(this.u=qM("summary","Only displays the most recent value for each program attribute and does not display errors","Show data issues",void 0,qN(dP,"Am")),D(z("toggle_line"),"click",this.g9,void 0,this),this.u.nc(this.Hq),this.u.render(z("toggle_line")));iSa();jSa(this,this.Hq);c=gw("student_info_tooltip",this.g.w());e=0;for(b=c.length;e<b;e++)nU(c[e],this.g);(c=z("program_info"))&&nU(c,this.g);c=A("date_info");nU(c,this.g);c=A("doc_info");nU(c,this.g);VU(!1,"Student Programs")};
4077function iSa(){var a=gw("kq"),b;for(b=0;b<a.length;b++)a[b].addEventListener("click",function(c){var d=this.getElementsByClassName("iq");1==d.length&&"A"!=c.target.tagName&&(c=d[0],d=c.id.split("_"),d=d[d.length-1],c.classList.toggle("sgMenuCollapsibleActive"),d=document.getElementById("keyboard_arrow_"+d),d.innerText="keyboard_arrow_up"==d.innerText?"keyboard_arrow_down":"keyboard_arrow_up",c=c.nextElementSibling,c.style.display="none"===c.style.display?"block":"none")})}
4078h.g9=function(){this.Hq=!this.Hq;this.u.ib().innerText=this.Hq?"Show data issues":"Hide data issues";jSa(this,this.Hq)};function jSa(a,b){for(var c=0;c<a.h.length;c++)z("program_row_"+a.h[c]).style.display=b?"none":""}h.$=function(){YU();I3.D.$.call(this)};h.vd=function(a){return ay(hSa,{nL:a[0],$h:a[1],Pf:a[2],Ze:WJ})};function J3(a,b,c){f_.call(this,a,b,c);this.g=[];this.h=[]}x(J3,$_);h=J3.prototype;h.ZD=!1;h.CQ=!1;function kSa(a,b){var c=b.na("docId");if(!w(c))return h_(a),!1;a.g=c.split(" ");c=b.na("includeAttachments");w(c)&&(a.ZD="true"===c.toLowerCase()?!0:!1);c=b.na("altFormId");w(c)&&(a.j=c);c=b.na("sectionNum");w(c)&&(a.l=c);c=b.na("version");w(c)&&(a.s=c);a.CQ=ZL(b,"async");return!0}function lSa(){var a=new Ce(mH.g.re());a.remove("async");return Be(a.toString())}
4079h.start=function(a){if(kSa(this,a)){var b=[];a=m(this.g);for(var c=a.next();!c.done;c=a.next())c=SU(c.value,this.j,void 0,this.l,!1,this.s),b.push(c);if(this.CQ){var d=lSa();DQ(this,"za","initial",function(e){var f=new lB;FE(f,e);bCa(f,d,!0);yCa(f,b);eN(dN.getInstance(),f)},this.Ya,this);DQ(this,"za","async_print",void 0,this.vU,this)}else DQ(this,"za","initial",function(e){var f=new lB;FE(f,e);yCa(f,b);eN(dN.getInstance(),f)},this.n_,this)}};h.n_=function(a){this.h=sEa(a);this.Ya()};
4080h.vU=function(a){this.h=sEa(a);mSa(this.view,this.g,this.h,this.ZD);nSa(this)};function nSa(a){var b=a.view.bk;null===b||D(b,"action",a.UK,void 0,a)}h.K=function(){J3.D.K.call(this);this.view.K(this.g,this.h,this.ZD);nSa(this)};h.$=function(){J3.D.$.call(this);var a=this.view.bk;null===a||Mx(a,"mousedown",this.UK,void 0,this)};
4081h.UK=function(){this.view.bk.W(!1);Jw(z("print_object"));var a=aM.getInstance();a:{for(var b=a.j.length-1;0<=b;b--)if("form_preview"!=(new YL(a.j[b])).na("pageName")){a=a.j[b];break a}a=ZM(a)}MK(a)};function oSa(){this.g=("undefined"==typeof document?null:document)||{cookie:""}}h=oSa.prototype;h.isEnabled=function(){return navigator.cookieEnabled};
4082h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');w(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(db()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f};
4083h.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=yc(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};h.remove=function(a,b,c){var d=w(this.get(a));this.set(a,"",0,b,c);return d};h.dh=function(){return K3(this).keys};h.gc=function(){return K3(this).values};h.yj=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};h.clear=function(){for(var a=K3(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
4084function K3(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=yc(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}}var pSa=new oSa;var qSa=!ama&&!hy&&!gy,L3="Not Installed",M3=function(){if(hy||gy)return L3="Apple built-in Reader",6;if(Mv)return L3="Firefox built-in Reader",8;var a=La.navigator.mimeTypes["application/pdf"];return a&&a.enabledPlugin?(L3=a=a.enabledPlugin.name,-1!=a.indexOf("Adobe")?2:-1!=a.indexOf("Foxit")?3:-1!=a.indexOf("PDF Viewer")?iy?4:5:7):0}(),rSa=2==M3||3==M3||4==M3||8==M3;
4085function sSa(){var a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K;r(function(J){switch(J.g){case 1:if(a=z("cookie_support"))pSa.isEnabled()?a.innerText="Enabled":(gx(a,"gc"),a.innerText="Disabled");if(b=z("js_support"))ix(b,"gc"),b.innerText="Enabled";if(c=z("pdf_viewer"))c.innerText=L3,0!=M3&&1!=M3||gx(c,"gc");if(d=z("pdf_viewer_details"))e=[],rSa&&e.push("Auto Print"),qSa&&e.push("Download"),e.length&&(d.innerText="["+e.join(", ")+"]");f=z("service_worker");if(!f){J.ua(2);break}g=qI;if(!navigator.serviceWorker){gx(f,
4086"gc");f.innerText="Not Supported";J.ua(2);break}return p(J,g.controller(),4);case 4:J.h?f.innerText="Enabled":(gx(f,"gc"),f.innerText="Disabled");case 2:k=z("sig_pad");if(!k){J.ua(5);break}l=uI;return p(J,l.system(),6);case 6:n=J.h,k.innerText=n.system,n.supported||gx(k,"gc");case 5:q=z("network");if(!q){J.ua(0);break}q.innerText="Testing ";Dw(q,ay(d_));t=z("md_body").dataset.wcshard;fK="https://"+t;u=OL;return p(J,u.test(),8);case 8:v=J.h,q.innerText=v.message||u.result(v.result),1!=v.result&&(gx(q,
4087"gc"),y=z("network_details"),G=B("BUTTON",void 0,"Details"),K=B("DIV",{style:"display: none"}),u.table(v,K),Ix(G,"click",function(){K.style.display="";G.remove()}),y.appendChild(G),y.appendChild(K)),ua(J)}})}function tSa(){var a=z("sys_req"),b=z("sign_in_button");if(a&&b){var c=!1;pSa.isEnabled()||(a.innerHTML='<a href="/iep/g/support/system_requirements">Cookies are disabled</a> in your web browser.',c=!0);c?(Jw(z("username")),Jw(z("password")),Jw(z("sign_in_button"))):b.disabled=!1}};function uSa(a){Ta(a.rF);var b=a.rF;Ta(a.sN);var c=a.sN;a=a.m8;var d=Y,e='<div class="'+Z("Ec")+'"><div id="print_object">';Ta(b);Ta(c);for(var f="",g=b.length,k=0;k<g;k++){var l=b[k];if(1<b.length){f+='<div class="'+Z("Fd")+'"><span class="'+Z("jx")+'">'+X(l.jb)+'</span><a href="#pageName=object_docs_list&objectId='+Z(l.bb)+'">'+X(l.hc)+", "+X(l.cc)+"</a> ("+X(l.og)+")"+X(IP({Ie:c[k]}));for(var n=l.fd,q=n.length,t=0;t<q;t++)f+=X(JP({ce:n[t],bb:l.bb,Tb:c[k].Tb}));f+=X(HMa({complete:l.kk,permission:l.permission}))+
4088"</div>"}f+='<div tag="doc_container" class="'+Z("Hc")+" "+Z("jb-kb-lb")+'"></div>'}b=Y(f);return d(e+b+"</div>"+(a?'<div class="'+Z("x")+" "+Z("mb")+'"><p>Document will print with attachments (not shown)</p></div>':"")+"</div>")}function vSa(a,b,c){b=c||b;a=a.Eh;return Y('<div class="'+Z("Ec")+'">'+X(d_(null,b))+"<i> Generating print preview for "+X(a)+" document"+(1<a?"s":"")+". You can leave this page and a notification will be sent when the preview is ready. </i></div>")};function N3(){W_.call(this);this.bk=null}x(N3,W_);h=N3.prototype;h.lr="";h.K=function(a,b,c){this.ub();globalThis.pdfjsLib.GlobalWorkerOptions.workerSrc=document.querySelector("#pdfjs_worker").src;
40880<b.length?mSa(this,a,b,c):(b=a.length,a="#"+ZM(aM.getInstance()),b=ay(vSa,{Eh:b}),a=ay(c0,{title:"Print Preview",Xb:a}),X_(this,[a],b))};
4089function mSa(a,b,c,d){a.g.w().innerHTML="";a.j.w().innerHTML="";b=wSa(a,b,c,d);for(var e=[],f=m(c),g=f.next();!g.done;g=f.next())e.push(kR(g.value.Yg));d=ay(uSa,{rF:c,sN:e,m8:d});e=Array.from(d.querySelectorAll('[tag="doc_container"]'));for(f=0;f<c.length;f++)xSa(c[f].url,e[f]);X_(a,[b],d);a.bk=TP("Exit Preview",void 0,void 0,1);a.bk.render(z("exit_preview_button"));""!=a.lr&&(a.h=UP("Print"),a.h.render(z("print_button")),D(a.h,"action",a.jO,void 0,a));c=a.g.w().querySelectorAll(".student_info_tooltip");
4090b=0;for(d=c.length;b<d;b++)nU(c[b],a.g);c=a.j.w().querySelectorAll(".student_info_tooltip");b=0;for(d=c.length;b<d;b++)nU(c[b],a.j)}h.$=function(){N3.D.$.call(this);""!=this.lr&&(Mx(this.h,"action",this.jO,void 0,this),C(this.h));C(this.bk)};
4091function wSa(a,b,c,d){var e=ySa();if(1==b.length)return b=c[0],""!=e.print&&(a.lr=b.url+("&includeAttachments="+d+"&print")),ay(UMa,{kk:b.kk,permission:b.permission,j$:b.jb,bb:b.bb,og:b.og,dz:b.cc,ez:b.hc,wz:b.url,kx:e.download,vz:e.print,aB:e.view,Ie:kR(b.Yg),fd:b.fd,pj:cK||dK,zy:d});var f=!1;if(0<c.length){var g=c[0].Ac;f=""!=g&&c.every(function(k){return k.Ac==g})}if(f&&zSa(c[0].url))return d="/iep/bulkprint?pageName=form"+SU(b.join(" "),c[0].Ac),""!=e.print&&(a.lr=d+"&print"),ay(VMa,{wz:d,DK:e.yT,
4092kx:e.download,vz:e.print,aB:e.view,zy:!1});b="/iep/bulkprint?pageName=form"+SU(b.join(" "),void 0,void 0,void 0,d);""!=e.print&&(a.lr=b+"&print");return ay(VMa,{wz:b,DK:e.yT,kx:e.download,vz:e.print,aB:e.view,zy:d})}function zSa(a){var b=new URLSearchParams(a);a=b.get("formId");b=b.get("altFormId");return null==a||null==b?!1:a!=b}
4093function xSa(a,b){b&&globalThis.pdfjsLib.getDocument({url:a}).promise.then(function(c){for(var d={},e=1;e<=c.numPages;d={vp:d.vp},e++)d.vp=document.createElement("canvas"),b.appendChild(d.vp),c.getPage(e).then(function(f){return function(g){var k=g.getViewport({scale:1.5}),l=f.vp.getContext("2d");f.vp.height=k.height;f.vp.width=k.width;g.render({canvasContext:l,viewport:k})}}(d))}).catch(function(c){b.innerText="Failed to render preview";CK.g(Error(c),void 0,!0)})}
4094function ySa(){var a={};qSa&&(a.download="Download",a.yT="Download Zip");if(rSa)return a.print="Print",a.view="Pop-out",a;a.view="Print";return a}h.jO=function(){AK.ba("C","Printing");var a=z("print_object");if(!w(a))throw Error("print_object element not found for print function");var b=B("IFRAME",{"class":"W",id:"print_image",src:this.lr}),c=z("print_image");c?Kw(b,c):a.after(b);D(b,"load",this.iO,void 0,this);D(b,"readystatechange",this.iO,void 0,this)};h.iO=function(){AK.ba("D")};function O3(a,b,c){J1.call(this,a,b,c);this.Eb="ea";this.kl=58}x(O3,J1);h=O3.prototype;h.start=function(a){var b=this;this.Dd(a)&&(this.view.wl(a),DQ(this,this.Eb,"initial",function(c){return b.td(c)},this.J7,this))};h.Wd=function(a){var b=[],c=[],d=0;for(a=S(a,LC,1001);d<a.length;d++){var e=a[d],f=L(e,1,""),g=""===f?"XX":f;e=L(e,2,"");b.push({wb:g,RL:f||"No Grade Entered",UE:e});c.push(g)}b=m([b,c]);this.Ab=b.next().value;this.g=b.next().value};h.J7=function(a){this.Wd(a);O1(this,a);this.Ya()};
4095h.K=function(){O3.D.K.call(this);this.view.K(this.Ab);P1(this);L1(this);g_(this,"Ca",this.L7,this);D(this.view.Bc(),"action",this.DQ,void 0,this)};h.$=function(){O3.D.$.call(this);M1(this);Mx(this.view.Bc(),"action",this.DQ,void 0,this)};h.zf=function(){return tCa(N1(this))};h.L7=function(){this.Ud(1)};h.Ud=function(a){var b="&pageName=grades_list";1!=a&&(b+="&page="+a.toString());MK(b)};
4096h.DQ=function(a){var b=this,c=this.view.wc().map(ASa);a=a.target.getValue();if("Merge"==a){if(1>=c.length){this.X.ba("ab");return}vX(1,function(){return tX(c,"Keep:",0)},"Merge Grades","Merge","Cancel",function(e){return BSa(b,e[0],b.view.wc())},"Select a grade to keep. The other grades will be merged into that grade. All students assigned to those grades will be assigned to the selected grade.\nThis action effectively deletes the merged grade levels.")}if("Update"==a)if(1!==c.length)this.X.ba("bb");
4097else{var d="XX"==c[0].Oa?"":c[0].Oa;vX(1,function(){return rX("New Grade Level:",30)},"Update Grade Level: "+d,"Update","Cancel",function(e){return CSa(b,d,e[0])},"Edit the grade level name below. All students in that grade level will be updated.",[d])}};function BSa(a,b,c){c=c.filter(function(d){return d!=b}).map(function(d){return"XX"===d?"":d});DQ(a,"xa","merge",function(d){return MQ(d,59,b,c)},a.K7,a)}h.K7=function(a){(a=N(a,gC,22))&&this.X.ba("md",L(a,3,""));DSa(this)};
4098function CSa(a,b,c){DQ(a,"qa","update",function(d){var e=new lB;EE(e,60);w(d)&&FE(e,d);w(2)&&GE(e,2);if(w(b)&&w(c)){var f=new LC;M(f,1,b);var g=new LC;M(g,1,c);lz(e,43,[f,g])}eN(dN.getInstance(),e,!w(d))},a.f5,a)}h.f5=function(a){(a=S(a,LC,1001))&&a[0]&&this.X.ba("ld",L(a[0],1001,""));DSa(this)};function DSa(a){DQ(a,a.Eb,"refresh",function(b){return a.td(b)},a.sd,a)};function P3(){$1.call(this);this.u=null}x(P3,$1);h=P3.prototype;h.Bc=function(){return this.h};h.Ak=function(){return this.u};h.wl=function(a){this.u=new X1(a)};h.K=function(a){this.ub("Grade Levels");var b=ay(j0,{mn:"Grade Levels",Xb:"#pageName=instance_settings",Ce:"settings"});var c=this.vd(a);X_(this,[b],c);c2(this,a);this.h=e2("Actions",["Update","Merge"]);this.h.render(z("actions_button"));S_(this.g);a2(this);(a=z("student_count_note"))&&nU(a,this.g);VU(!1,"Grade Levels")}
4098;
4099h.$=function(){P3.D.$.call(this);YU();b2(this)};h.vd=function(a){var b=lH.object.re();b=b.split("&").join("*amp*");return ay(HBa,{rf:a,Xb:b})};function Q3(a,b,c){f_.call(this,a,b,c)}x(Q3,$_);Q3.prototype.start=function(){this.Ya()};Q3.prototype.K=function(){Q3.D.K.call(this);this.view.K()};function ESa(){return Y('<div class="'+Z("Lb")+"\"><div>Oops! Looks like you've gotten lost.  Please follow a link from your email to access a document.</div></div>")};function R3(){W_.call(this)}x(R3,W_);R3.prototype.K=function(){this.ub("Guardian Home");var a=ay(b0,{title:"Guardian Home"}),b=ay(ESa);X_(this,[a],b)};function S3(a,b,c){s1.call(this,a,b,c)}x(S3,s1);S3.prototype.ep=function(a){var b=a.na("formId");if(!w(b))return h_(this),!1;this.g.Wi=b;(b=a.na("sectionNum"))&&NZ(this.g,b);this.g.Im=!0;this.g.Nr=!0;if(a=a.na("debug"))this.g.Cl="true"==a;return!0};
4100S3.prototype.start=function(a){var b=this;this.ep(a)&&(this.ka("ha",this.Lm,this),a=++RQ,dV(this,a,"initial"),rQ(a,sV(this.g)),DQ(this,"wb","initial",function(c){return LQ(c,0,{Ac:sV(b.g)})},function(c){c&&(c=N(c,FB,33),null!=I(c,1)&&yLa(b.g,L(c,1,0)),b.Ya())}),m_(this,!1))};function T3(){f1.call(this)}x(T3,f1);T3.prototype.K=function(a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O){this.ub("Update District Banks");gx(this.g.w(),"Pe");a=mZ(b);c=this.sn(c,d,e,a,k,l,n,q,t,u,J,O);X_(this,[c]);c=gw("student_info_tooltip",this.j.w());d=0;for(e=c.length;d<e;d++)nU(c[d],this.j)};T3.prototype.sn=function(a,b,c,d,e,f,g,k,l,n,q){w(q)||(q="");a=$M("instance_banks");return ay(SMa,{Xb:a,jb:c,Ac:Od(b),Yk:d.length,sh:d,ll:q})};function U3(a,b,c){f_.call(this,a,b,c)}x(U3,$_);h=U3.prototype;h.UG=0;h.Fl=0;h.K=function(){var a=rL();this.UG=++RQ;dV(this,this.UG,"save");U3.D.K.call(this);this.view.K(a,this.UG);this.ka("n",this.HO,this)};h.$=function(){U3.D.$.call(this);clearTimeout(this.Fl)};h.M7=function(a){var b=this;this.Fl&&clearTimeout(this.Fl);FSa(this.view.mb);hH(a.target)?(this.view.Vo(),this.Fl=setTimeout(function(){return b.view.ql()},3E4)):this.view.Uo(iH(a.target))};
4101h.HO=function(){if(this.kg()){this.ka("jc",this.EQ,this);this.view.W(!1);var a=this.view.iD();if(null!==a){this.view.mb.Vo("Uploading file ");var b=new FormData(a);eH(a.action,this.M7.bind(this),"POST",b,void 0,void 0,!0)}}else this.ka("n",this.HO,this)};h.EQ=function(a){eV(this,a.Va()?a.Sa():null,"save")?(clearTimeout(this.Fl),this.Kd(a)):this.ka("jc",this.EQ,this)};
4102h.kg=function(){if(ZW(this.view.yb)||ZW(this.view.Wa)||ZW(this.view.Yc)||ZW(this.view.Ub)||ZW(this.view.Dp)||ZW(this.view.ge)||this.view.Z&&ZW(this.view.Z)){for(var a=m([this.view.yb,this.view.Wa,this.view.Yc,this.view.Ub,this.view.Dp,this.view.ge,this.view.Z]),b=a.next();!b.done;b=a.next())(b=b.value)&&b.qb("");return!0}return!1};
4103h.yc=function(a){a=N(a,iC,24)||new iC;this.v={load:a};fz(a,5,!1)||(this.view.yb.Nb.value="",this.view.Wa.Nb.value="",this.view.Yc.Nb.value="",this.view.Ub.Nb.value="",this.view.yb.nq=void 0,this.view.Wa.nq=void 0,this.view.Yc.nq=void 0,this.view.Ub.nq=void 0,this.view.Z&&(this.view.Z.Nb.value="",this.view.Z.nq=void 0));return 0};function GSa(a){var b=a.uri,c=a.El;a=Y;var d='<div class="'+Z("Lb")+'">Bulk load students, guardians, users, user roles, absences and test scores. <a href="/iep/g/support/online-guides/administrative-guide/bulk-loader" rel="noopener" target="_blank">Learn more</a><br><br><div id="input_form_container">';b=Y('<form id="input_form" action="'+Z(JL(b))+'" enctype="multipart/form-data" method="POST"><div class="'+Z("jb-kb-lb")+'" id="students_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="guardians_input"></div><br>'+
4104(c?'<div class="'+Z("jb-kb-lb")+'" id="teams_input"></div><br>':"")+'<div class="'+Z("jb-kb-lb")+'" id="user_roles_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="users_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="medicaid_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="absences_input"></div><br><br><div id="save_button"></div></form>');return a(d+b+'</div><br><div id="loaderOutput"></div></div>')}
4105function HSa(a){Ta(a.oS);var b=a.oS;Ta(a.rM);var c=a.rM;Ta(a.hT);var d=a.hT;Ta(a.SK);var e=a.SK;a=0<e.length?'<h1 class="'+Z("gc")+'">Load failed. No changes have been made to the database.</h1>':0<d.length?'<h1 class="'+Z("gc")+'">Load succeeded, but with some warnings. Some data may not have been written to the database.</h1>':"<h1>Load succeeded.</h1>";a='<div class="'+Z("Nd")+'">'+a;if(0<b.length){a+="<h2>Summary:</h2><ul>";
4105for(var f=b.length,g=0;g<f;g++){var k=b[g];a+="<li>"+X(k.xt)+" - "+X(k.message)+
4106"</li>"}a+="</ul>"}if(0<e.length){a+='<h2>Errors</h2><table class="'+Z("On")+'"><tr><th>Type</th><th>Row</th><th>Message</th></tr>';b=e.length;for(f=0;f<b;f++)g=e[f],a+="<tr><td>"+X(g.xt)+"</td><td>"+(1>g.No?"-":X(g.No))+"</td><td>"+X(g.message)+"</td></tr>";a+="</table>"}if(0<d.length){a+='<h2>Warnings</h2><table class="'+Z("On")+'"><tr><th>Type</th><th>Row</th><th>Message</th></tr>';e=d.length;for(b=0;b<e;b++)f=d[b],a+="<tr><td>"+X(f.xt)+"</td><td>"+(1>f.No?"-":X(f.No))+"</td><td>"+X(f.message)+
4107"</td></tr>";a+="</table>"}if(0<c.length){a+='<h2>Info</h2><table class="'+Z("On")+'"><tr><th>Type</th><th>Row</th><th>Message</th></tr>';d=c.length;for(e=0;e<d;e++)b=c[e],a+="<tr><td>"+X(b.xt)+"</td><td>"+(1>b.No?"-":X(b.No))+"</td><td>"+X(b.message)+"</td></tr>";a+="</table>"}return Y(a+"</div>")};function V3(){EH.call(this);this.h=null}x(V3,EH);V3.prototype.Ra=function(){this.j=this.h=B("DIV")};function W3(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push({No:L(d,1,0),xt:L(d,2,""),message:L(d,3,"")})}return b}function ISa(a,b){b=ay(HSa,{oS:W3(S(b,hC,6)),rM:W3(S(b,hC,7)),hT:W3(S(b,hC,8)),SK:W3(S(b,hC,9))});Fw(a.h);a.h.appendChild(b)}function FSa(a){a.h&&(a.h.innerHTML="")}V3.prototype.Vo=function(a){var b="Processing CSV files ";a&&(b=a);Yx(this.h,aMa,{text:b,UI:null})};
4108V3.prototype.ql=function(){Yx(this.h,aMa,{text:"Processing is taking a while ",UI:"Thank you for your patience. We're actively working on your request, please stay on the page until the process is finished."})};V3.prototype.Uo=function(a){this.h.innerHTML="<h1>Error: "+a+"</h1>"};function X3(){W_.call(this);this.mb=this.Ub=this.ge=this.Dp=this.Yc=this.Wa=this.yb=null}x(X3,W_);h=X3.prototype;h.FQ=null;
4109h.K=function(a,b){this.ub("Bulk Loader");var c=$M("instance_settings");c=ay(c0,{title:"Bulk Loader",Xb:c});a=ay(GSa,{uri:fK+("/iep/csvload?SID="+a+"&seqNum="+b),jL:this.jL(!0),El:F0()});X_(this,[c],a);this.FQ=$v().w("input_form");this.yb=qX("Students:","students_input_file");this.yb.render(z("students_input"));this.Wa=qX("Guardians:","guardians_input_file");this.Wa.render(z("guardians_input"));this.Ub=qX("User Roles:","user_roles_input_file");this.Ub.render(z("user_roles_input"));this.Yc=qX("Users:",
4110"users_input_file");this.Yc.render(z("users_input"));this.Dp=qX("Medicaid IDs:","medicaid_input_file");this.Dp.render(z("medicaid_input"));this.ge=qX("Absences:","absences_input_file");this.ge.render(z("absences_input"));a=[this.yb,this.Wa,this.Yc,this.Ub,this.Dp,this.ge];F0()&&(this.Z=qX("Student Teams:","teams_input_file"),this.Z.render(z("teams_input")),a.push(this.Z));this.mb=new V3;this.mb.render(z("loaderOutput"));Y_(this,a,void 0,"Load")};
4111h.$=function(){X3.D.$.call(this);C(this.yb);C(this.Wa);C(this.Yc);C(this.Dp);C(this.ge);C(this.Ub);this.Z&&C(this.Z)};h.iD=function(){return this.FQ};h.hd=function(a){ISa(this.mb,a.load)};h.Vo=function(){var a=z("input_form_container");a&&a.remove();this.mb.Vo()};h.ql=function(){this.mb.ql()};h.Uo=function(a){this.mb.Uo(a)};function Y3(a,b,c){f_.call(this,a,b,c);this.g=new GZ}x(Y3,$_);Y3.prototype.start=function(a){a=a.na("debug");w(a)&&"true"==a&&(this.g.Cl=!0);this.g.Wi="INSTANCE_FORM";this.g.yl="Instance Form";this.g.Bi=0;this.ka("ha",this.h,this);a=++RQ;dV(this,a,"initial");rQ(a,sV(this.g))};Y3.prototype.h=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=OE(a)[0],MZ(this.g,uF(a)),this.Ya()):this.ka("ha",this.h,this)};Y3.prototype.K=function(){Y3.D.K.call(this);this.view.K();this.g.m=this.view.g;this.g.Bi=0;this.g.start()};
4112Y3.prototype.Tf=function(){Y3.D.Tf.call(this);this.g.stop()};function Z3(){W_.call(this)}x(Z3,W_);Z3.prototype.K=function(){this.ub("District Information");gx(this.g.w(),"Lb");var a=ay(KMa),b=ay(LMa,{vh:"details"});X_(this,[a,b],void 0)};function $3(a,b,c){f_.call(this,a,b,c)}x($3,$_);h=$3.prototype;h.jb="";h.Kr="";h.fn=void 0;h.rJ=!0;h.start=function(a){a=a.na("formId");w(a)?(this.Kr=a.toString(),a=!0):(h_(this),a=!1);a&&(this.ka("ha",this.HQ,this),a=++RQ,dV(this,a,"initial"),rQ(a,this.Kr),this.ka("wb",this.IQ,this),a=++RQ,dV(this,a,"initial"),LQ(a,0,{Ac:this.Kr,GH:!0}))};
4113h.HQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=OE(a)[0],this.jb=xF(a),this.fn=null!=I(a,12)?L(a,12,""):void 0,this.rJ=0==L(KA(uF(a)),13,0),this.Ya()):this.ka("ha",this.HQ,this)};h.IQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.yc(a),this.Ya()):this.ka("wb",this.IQ,this)};h.K=function(){$3.D.K.call(this);this.view.K(this.v,this)};h.jc=function(a){$3.D.jc.call(this,a);this.ka("wb",this.GQ,this);var b=++RQ;dV(this,b,"form_settings_save");LQ(b,2,{Ac:this.Kr,zJ:a.Tp,li:a.li,vl:a.vl})};
4114h.GQ=function(a){eV(this,a.Va()?a.Sa():null,"form_settings_save")?(this.Kd(a,"wb"),AK.ba("xb")):this.ka("wb",this.GQ,this)};h.yc=function(a){a=N(a,FB,33);this.v={};this.v.wv=S(a,HB,1004);this.v.jb=this.jb;this.v.Ac=this.Kr;this.v.fn=this.fn;this.v.Tp=3;var b=zF();this.v.Uf=b;var c=S(a,EC,1002);this.v.sm=JSa(c);this.rJ&&2<=b&&(this.v.Tp=null!=I(a,1)?L(a,1,0):0);this.v.li=a.On();this.v.vl=gz(a,3,void 0,null);return 0};
4115function KSa(a){DQ(a,"wb","translation_response",function(b){return LQ(b,0,{Ac:a.Kr,GH:!0})},a.r9,a)}
4115h.r9=function(a){if(a){a=S(N(a,FB,33),EC,1002);a=JSa(a);a=ay(LSa,{sm:a});var b=document.getElementById("translation_language_statuses");b&&a&&(b.innerHTML="",b.appendChild(a))}};function JSa(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];d={language:L(d,2,""),state:L(d,1020,"")};b.push(d)}return b};function MSa(){return Y('<div class="'+Z("Lb")+'"><br/><div class="'+Z("jb-kb-lb")+'" id="full_name_input"></div><br/><br/><div id="save_button"></div></div>')}
4116function NSa(a){var b=a.username;a=a.RU;return Y('<div class="'+Z("Lb")+'"><table><tr><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">SFTP Account:</span><br/><a href="/iep/g/support/online-guides/technical-guide/sftp-account" rel="noopener noreferrer" target="_blank">learn more</a></td><td class="'+Z("Ks")+'">authorized_keys file (max 8000 characters, one key per line)<br><div id="sftp_auth_keys"></div><br>Connection information:<ul><li>Host: sftp.samegoal.com</li><li>Username: '+X(b)+"</li><li>Authentication: Public key only</li></ul></td></tr>"+
4117(a?'<tr><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">Download Latest Database Backup:</span></td><td class="'+Z("Ks")+'"><a href="#pageName=download_backups">View Backup Files</a></td></tr>':"")+'<tr><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">Linked Accounts Reauthentication Interval:</span></td><td class="'+Z("Ks")+'"><div class="'+Z("jb-kb-lb")+'" id="reauth_select"></div></td></tr></table><br/><div class="'+Z("Ms")+'"><div class="'+Z("jb-kb-lb")+'" id="save_button"></div></div><br><br></div>')}
4118function LSa(a){var b="";Ta(a.sm);a=a.sm;for(var c=a.length,d=0;d<c;d++){var e=a[d];b+='<div class="'+Z("Ns")+'"><span>'+X(e.language)+"</span><span>"+X(e.state)+"</span></div>"}return Y(b)}
4119function OSa(){return Y('<span>When this is selected, notifications requesting a signature will be sent to student team members when documents of this form type are marked complete.</span> <a target="blank" href="/iep/g/support/online-guides/administrative-guide/forms#require-acknowledgement">Learn more</a>')}
4120function PSa(a,b,c){b=c||b;var d=a.M_;c=a.N_;var e=a.Sl,f=a.Pp;Ta(a.wv);var g=a.wv;Ta(a.sm);a=a.sm;e='<div class="'+Z("Lb")+'"><table><tr><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">Allow copy to new document:</span></td><td class="'+Z("Ks")+'"><div class="'+Z("jb-kb-lb")+'" id="cfe_select"></div></td><td class="'+Z("Js")+'">'+(d?"":"<span>Requires a SameGoal Plus license</span>")+"</td></tr>"+(e?'<tr><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">Require Acknowledgement:</span><span id="require_ack_tooltip"></span></td><td class="'+
4121Z("Ks")+'"><div class="'+Z("jb-kb-lb")+'" id="require_ack_checkbox"></div></td><td class="'+Z("Js")+'">'+(c?"":"<span>Requires a SameGoal Pro license</span>")+"</td></tr>":"");if(f)for(f=g.length,d=0;d<f;d++){var k=g[d];k=Y('<tr data-tag="setting_wrapper"><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">'+X(k.displayName)+'</span><span data-tag="tooltip"></span></td><td class="'+Z("Ks")+'"><div class="'+Z("jb-kb-lb")+'" data-tag="input"></div></td><td class="'+Z("Js")+'">'+(k.P0?"":"<span>Requires a SameGoal "+
4122X(k.p5)+" license</span>")+"</td></tr>");e+=k}e+='<tr><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">Form translation:</span></td><td class="'+Z("Ks")+'"><div id="request_form_translation" style="padding-left:16px"></div></td><td class="'+Z("Js")+'">'+(c?"":"<span>Requires a SameGoal Pro license</span>")+"</td></tr>"+(c?'<tr><td class="'+Z("Js")+'"><span class="'+Z("mb")+'">Form translation statuses:</span></td><td id="translation_language_statuses" class="'+Z("Ks")+'">'+LSa({sm:a},b)+'</td><td class="'+
4123Z("Js")+'"></td></tr>':"")+'</table><br/><div class="'+Z("Ms")+'"><div class="'+Z("jb-kb-lb")+'" id="save_button"></div></div><br><br></div>';return Y(e)};function a4(){W_.call(this);this.h=null;this.M=[];this.Sl=yF(AF).includes(49);this.Pp=yF(AF).includes(94)}x(a4,W_);h=a4.prototype;h.rn=null;h.VG="";function QSa(a){a.h=new o0("",15);a.h.render(z("require_ack_checkbox"));a.h.W(F0());a=ay(OSa);(new mU(a)).render(z("require_ack_tooltip"))}function RSa(a,b){var c=S(a,GB,3).map(function(d){return{label:d.zk(),Oa:L(d,1,0)}});c=uX(c,"",15,"Disabled");c.render(b.querySelector("[data-tag=input]"));c.W(!fz(a,1001,!1));c.setValue(a.Ci());return c}
4124function SSa(a,b){a.M=[];for(var c=document.querySelectorAll("[data-tag=setting_wrapper]"),d=0;d<b.length;d++){var e=b[d],f=RSa(e,c[d]);a.M.push({Lc:f,Rj:e})}}
4125h.K=function(a,b){this.u=b;this.ub("Form Settings");this.VG=a.Ac;this.Sl=this.Sl&&!a.fn;this.Pp=this.Pp&&!a.fn;b=ay($Ma,{title:"Form Settings",jb:a.jb,Xb:"#pageName=instance_forms_list",Ce:"forms list"});var c=ay(PSa,{sm:a.sm,M_:2<=a.Uf,N_:3<=a.Uf,Sl:this.Sl,Pp:this.Pp,wv:a.wv.map(function(d){return{displayName:d.zk(),P0:zF()>=L(d,6,0),p5:rEa(L(d,6,0))}})});X_(this,[b],c);this.rn=uX([{label:"All Users",Oa:0},{label:"Admin Only",Oa:1},{label:"No Users",Oa:2}],"",15,"Disabled");this.rn.render($v().w("cfe_select"));
4126b=[this.rn];c=qN(FN,"ul");this.Y=TP("Translate/retranslate form",void 0,c,void 0,1);this.Y.render(z("request_form_translation"));this.Sl&&(QSa(this),b.push(this.h));this.Pp&&(SSa(this,a.wv),b.push.apply(b,ka(this.M.map(function(d){return d.Lc}))));this.hd(a);3<=a.Uf?D(this.Y,"action",this.l3,!0,this):this.Y.W(!1);Y_(this,b,0,"Save changes")}
4126;h.$=function(){a4.D.$.call(this);C(this.rn)};
4127h.hd=function(a){this.rn.setValue(a.Tp,void 0);3==a.Tp&&this.rn.W(!1);this.h&&this.h.setValue(a.li?a.li:!1);for(var b=m(this.M),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.Rj.rb();a.vl.has(d)&&c.Lc.setValue(a.vl.get(d))}this.VG=a.Ac};h.gc=function(){var a={};a.Tp=this.rn.getValue();this.h&&F0()&&(a.li=this.h.getValue());a.vl=new Map;for(var b=m(this.M),c=b.next();!c.done;c=b.next())c=c.value,a.vl.set(c.Rj.rb(),c.Lc.getValue());return a};
4128h.l3=function(){var a=new $U(this.VG,this.u);D(a,"translation_success",bb(function(){KSa(this.u)},this))};function b4(a,b,c){J1.call(this,a,b,c);this.Eb="T";this.kl=5}x(b4,J1);h=b4.prototype;h.start=function(a){this.Dd(a)&&(this.view.wl(a),this.ka(this.Eb,this.KQ,this),a=++RQ,dV(this,a,"initial"),this.td(a))};h.N7=function(){this.Ud(1)};h.KQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.Wd(a),O1(this,a),this.Ya()):this.ka(this.Eb,this.KQ,this)};
4129h.Wd=function(a){var b=[];var c=[],d=0;for(a=OE(a);d<a.length;d++){var e=a[d],f=wF(e),g=f.replace(/ /g,"_"),k=xF(e),l=fz(e,5,!1);e=1==L(e,1007,0);f={wb:g,Ac:f,jb:k,TS:Od(f),zX:g,uc:l,pU:e};b.push(f);c.push(g)}b=[b,c];this.Ab=b[0];this.g=b[1]};h.K=function(){k_(this);this.view.K(this.Jc,this.Ab,this.g);P1(this);L1(this);K1(this);g_(this,"Ca",this.N7,this);var a=this.view.Bc();null===a||D(a,"action",this.JQ,void 0,this)};
4130h.$=function(){b4.D.$.call(this);M1(this);var a=this.view.Bc();null===a||Mx(a,"action",this.JQ,void 0,this)};h.Ud=function(a){var b=T1(this.view.Ak()),c="pageName="+this.Jc;b.Df&&(c+="&searchDeleted="+b.Df);1!=a&&(c+="&page="+a.toString());MK(c)};h.zf=function(){var a=T1(this.view.Ak()),b=N1(this);return"instance_banks"==this.Jc?zQ(b,a.Df,"",void 0,void 0,void 0,void 0,void 0,!0):zQ(b,a.Df,void 0,void 0,void 0,void 0,void 0,void 0,!0)};
4131h.JQ=function(a){U1(this.view)?(a=a.target.getValue(),"Delete"==a?V0(this,{tag:"delete",Qe:!0,Od:"fc",Ke:"Id",Jd:"ha",bf:"Dd"}):"Undelete"==a&&V0(this,{tag:"undelete",Qe:!1,Od:"gc",Ke:"Id",Jd:"ha",bf:"Dd"})):this.X.ba("Ia")};function c4(){$1.call(this);this.u=this.h=null}x(c4,$1);h=c4.prototype;h.Jc="instance_forms_list";h.wl=function(a){this.u=new X1(a)};
4132h.K=function(a,b){this.Jc=a;a="Form Settings";"instance_banks"==this.Jc&&(a="District Banks");this.ub(a);a="instance_banks"==this.Jc?ay(i0,{title:"District Banks",Xb:"#pageName=instance_settings",Ce:"settings"}):ay(j0,{mn:"Forms",Xb:"#pageName=instance_settings",Ce:"settings"});var c=this.vd(b);X_(this,[a],c);a2(this);"instance_forms_list"==this.Jc&&(c2(this,b),this.h=e2("Actions",["Delete","Undelete"]),this.h.render(z("actions_button")),TSa(b));this.u.render(z("search_bar"));S_(this.g)};
4133h.$=function(){c4.D.$.call(this);b2(this);"instance_forms_list"==this.Jc&&(d2(this),C(this.h));C(this.u)};h.vd=function(a){return"instance_banks"==this.Jc?ay(EBa,{forms:a}):ay(zBa,{forms:a})};function TSa(a){if(a){a=m(a);for(var b=a.next();!b.done;b=a.next())(b=z(b.value.jb))&&(new mU("Allows multiple documents to be incomplete.","note_stack")).render(b)}}h.sd=function(a,b){c4.D.sd.call(this,a,b);TSa(a)};h.Bc=function(){return this.h};h.Ak=function(){return this.u};
4134h.wc=function(){for(var a=c4.D.wc.call(this),b=[],c=0,d=a.length;c<d;c++){var e=a[c].replace(/_/g," ");b.push(e)}return b};function d4(a,b,c){this.g=[];f_.call(this,a,b,c)}x(d4,$_);d4.prototype.start=function(){this.ka("ca",this.j,this);var a=++RQ;dV(this,a,"initial");GQ(a,0,!0);a=Array.from(Hxa());var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())b.push(c.value.F);DQ(this,"Mc","initial",function(d){var e=new lB;EE(e,62);for(var f=m(b),g=f.next();!g.done;g=f.next()){g=g.value;var k=new SC;M(k,1,g);mz(e,44,k,SC,void 0)}FE(e,d);GE(e,0);eN(dN.getInstance(),e)},this.l,this)};
4135d4.prototype.j=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.h=PE(a),this.Ya()):this.ka("ca",this.j,this)};d4.prototype.l=function(a){var b=S(a,SC,44);a={};b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a[L(c,1,"")]=I(c,2);this.s=a;this.Ya()};d4.prototype.K=function(){d4.D.K.call(this);this.g=this.h.filter(function(a){return!fz(a,6,!1)}).map(function(a){return L(a,4,"")});this.view.K(VJ,this.g,this.h,this.s)};var e4=VI("ca");function f4(a){return{name:a+" Date:",type:"date",Pd:TI(),C:"Optional"}}function g4(){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"At least one must be checked"}}function USa(){return{name:"Student Status:",type:"checkbox",options:[{text:"Non-Deleted",check:!0},{text:"Deleted",check:!1}],required:!0,C:"Whether to display Deleted/Non-Deleted students."}}
4136function h4(a){return{name:a,type:"range",C:"Optional"}}function i4(a){var b=[];a=m(a.buildings);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({text:(""!=c.name?c.name:"None Assigned")+" ("+c.reporting_id+")",value:c.reporting_id,check:c.building_id?!c.inactive:!0,hidden:c.hidden});return{name:"Building:",type:"checkbox",options:b,required:!0,ld:"Building Reporting Id(s)",np:!0}}
4137function j4(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
4138function k4(a,b){return{name:b+" Program Enrollment:",type:"checkbox",options:[{text:"Eligibility Review",check:!0},{text:"Participating",check:!0},{text:"Not Participating",check:a}],required:!0,C:"At least one must be checked"}}function l4(a){return{name:a+" Cutover Date:",type:"date",C:"Include program participation records with a start date on or after this date."}}
4139function m4(a,b){var c=void 0===c?[]:c;for(var d=[],e=0;e<b.length;e++)if(0==c.length)d.push({text:b[e],check:!0});else{for(var f=!1,g=0;g<c.length;g++)if(b[e]==c[g]){f=!0;break}d.push({text:b[e],check:f})}return{name:a,type:"checkbox",options:d,required:!0}}
4140function n4(a,b){return V([{objects_deadlines_group_name:[[a]]},{index_objects_deadlines:[["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]}],["Due"],b)}
4141function VSa(a){var b=[{index_objects_deadlines:[["Program","group_name"],["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:a["Program:"].map(function(c){return["notes",c]})}];return V(b,["Due"],a)}
4142var WSa=YI(e4,"Special Education","Special Education administrative and deadlines reports"),o4=YI(e4,"Section 504","Section 504 administrative reports."),p4=YI(e4,"SST","Student Study Team 
4142(SST) administrative reports."),q4=YI(e4,"CALPADS","California Longitudinal Pupil Achievement Data System (CALPADS) Special Education reports."),r4=YI(e4,"LEA BOP Coordination","LEA Medi-Cal Billing Option Program (BOP) coordination reports."),s4=YI(e4,"System","System-level reports.",!0),XSa=bJ(WSa,"Deadlines",
4143"Special Education deadlines reports. These reports highlight upcoming deadlines for special programs."),t4=bJ(WSa,"Administration","Special Education administrative reports.");W(XSa,{name:"Special Education Deadlines",fu:"Special Education Deadlines",C:"A list of all Special Education deadlines in your district.",F:"specialEducation/deadlines",inputs:function(a){return[i4(a),j4(!1),h4("Due:")]},query:function(a){return n4("Special Education",a)}});
4144W(t4,{name:"Special Education Overview",N:"SPED Overview",C:"[IEP Sections 1, 7a, and 7b] An overview of key special education information including disability, eligibility and placement.",F:"sped/overviewSped",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4145{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Has Disability"],["Is Eligible"],["Primary Disability"],["Secondary Disability"],["Program Setting"],["Preschool Program Setting"]]}],["Meeting Date","Student ID"],a)}});
4146W(t4,{name:"Disability",C:"[Section 1] A combined report of each disability condition reported and corresponding priority.",F:"sped/disabilityReport",inputs:function(a){return[i4(a),g4(),h4("Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4147{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Disability Condition"],["Priority"]]}],["Meeting Date","Student ID"],a)}});
4148W(t4,{name:"IEP Details",C:"[IEP Section 1] IEP details, including meeting type, key dates, etc.",F:"sped/iepDetailsReport",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4149{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Type"],["Meeting Date"],["Start Date"],["End Date"],["Next Annual IEP"],["English Learner"]]}],["Meeting Date","Student ID"],a)}});
4150W(t4,{name:"IEP Caseload",C:"The lead for current IEPs.",F:"sped/iepCaseloadReport",inputs:function(){return[g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4151"last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4152W(t4,{name:"Specialized Instruction",C:"[IEP section 7a] Specialized Instruction.",F:"sped/specializedInstructionReport",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4153{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Service Start Date"],["Service End Date"],["Service Type"],["Setting"],["Frequency"],["Interval"],["Duration"],["Provider"],["Location"],["Goals Addressed"]]}],["Student ID","Meeting Date"],a)}});
4154W(t4,{name:"Related Services",C:"[IEP section 7a] Related services.",F:"sped/relatedServicesReport",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4155{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Service Start Date"],["Service End Date"],["Service Type"],["Setting"],["Frequency"],["Interval"],["Duration"],["Provider"],["Location"],["Goals Addressed"]]}],["Student ID","Meeting Date"],a)}});
4156W(t4,{name:"Low Incidence Services",C:"[IEP section 7a] Low Incidence services.",F:"sped/lowIncidenceServices",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4157{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Service Start Date"],["Service End Date"],["Service Type"],["Setting"],["Frequency"],["Interval"],["Duration"],["Provider"],["Location"],["Goals Addressed"]]}],["Student ID","Meeting Date"],a)}});
4158W(t4,{name:"Program Accommodations",N:"Accommodations",C:"[IEP section 7a] Program Accommodations.",F:"sped/accommodationsReport",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4159{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Accommodation Start Date"],["Accommodation End Date"],["Accommodation"]]}],["Student ID","Meeting Date"],a)}});
4160W(t4,{name:"Evaluations/REED Caseload",C:"The lead for current Evaluation Reports/REEDs.",F:"admin/leadEvaluationReed",inputs:function(){return[g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4161{index_documents_reports:[["Form Name"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Evaluation Date"],["Evaluation Type"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Evaluation Date")'],a)}});
4162W(t4,{name:"CAASPP Assessments",C:"[IEP section 5] State (CAASPP) assessments.",F:"admin/caasppAssessments",inputs:function(){return[g4(),h4("Meeting Date:"),f4("Effective"),j4(!1),k4(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4163{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]}],["Student ID","Meeting Date"],a)}});
4164W(t4,{name:"CAASPP Accommodations",C:"[IEP section 5] State (CAASPP) assessment accommodations.",F:"admin/caasppAccommodations",inputs:function(){return[g4(),h4("Meeting Date:"),f4("Effective"),j4(!1),k4(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4165{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]}],["Student ID","Meeting Date"],a)}});
4166W(t4,{name:"Annual Goals",C:"[IEP section 6] Measurable annual goals.",F:"admin/annualGoalsReport",input
4166s:function(){return[g4(),h4("Meeting Date:"),f4("Effective"),j4(!1),k4(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4167{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Num"],["Type"],["Area"],["Standard"],["Goal"],["Progress Method"],["Progress Frequency"]]}],["Student ID","Meeting Date"],a)}});
4168W(t4,{name:"ESY Required",C:"[IEP section 7a] Students that require ESY.",F:"admin/esyRequired",inputs:function(){return[g4(),h4("Meeting Date:"),f4("Effective"),j4(!1),k4(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4169{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["ESY Required"]]}],["Student ID","Meeting Date"],a)}});
4170W(t4,{name:"IEP Service Fidelity",N:"Service Fidelity",C:"Contains one record for valid each service documented in the IEP or IEP Service Log, showing the total number of service minutes provided and the total number of service minutes not provided, for the following services: Counseling, OT, PT, and Speech.",Ae:"/iep/g/support/online-guides/state-specific-guide/california/special-education-common-workflows/service-fidelity",F:"admin/serviceFidelity",inputs:function(a){a=i4(a);var b=g4(),c=h4("Service Start Date:"),
4171d=f4("Service Effective"),e=m4("Service:",["Counseling","Occupational Therapy","Physical Therapy","Speech Therapy"]);return[a,b,c,d,e,j4(!1),k4(!1,"Special Education"),{name:"Record Types:",type:"checkbox",options:[{text:"Valid",check:!0},{text:"Invalid",check:!1}],required:!0}]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4172{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Service"],["Service Start Date"],["Service End Date"],["Provider Title"],["Maximum Allowable Minutes"],["Minutes Provided"],["Minutes Not Provided - Student Excused Absence"],["Minutes Not Provided - Student Unexcused Absence"],["Minutes Not Provided - Provider Absence"],["Minutes Not Provided - Student Non-Participatory"],["Minutes Not Provided - School Holiday"],["Total Minutes Accounted For"],
4173["Total Minutes Not Accounted For"],["Total Allowable Minutes Remaining"]]}],["Student ID",'SG_DATE("Service Start Date")',"Service"],a)}});
4174W(q4,{N:"SWDS",name:"Students with Disabilities Status",C:"CALPADS Report for Students with Disabilities Status.",F:"calpads/stateDisabilityReport",inputs:function(a){return[i4(a),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents_reports:[["Record Type Code"],["Transaction Type Code"],["Local Record ID"]]},{index_instances_reports:[["Reporting LEA","District Reporting ID"]]},{index_documents_reports:[["Academic Year ID"]]},{index_objects_reports:[["SSID","Reporting ID"],
4175["Local Student ID","Student ID"],["Local Special Education Student ID","Student State Assigned ID"]]},{index_instances_reports:[["Reporting SELPA","Org Reporting ID"]]},{index_documents_reports:[["Special Education Initial Entry Date"],["Special Education Status Effective Start Date"],["Special Education Status Code"],["Non-Participation Reason Code"]]}],["SSID",'SG_DATE("Special Education Status Effective Start Date")'],a)}});
4176W(q4,{N:"PLAN",name:"Special Education Plan",C:"CALPADS Report for Special Education Plan",F:"calpads/stateSpedPlanReport",input
4176s:function(a){return[i4(a),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents_reports:[["Record Type Code"],["Transaction Type Code"],["Local Record ID"]]},{index_instances_reports:[["Reporting LEA","District Reporting ID"]]},{index_documents_reports:[["Academic Year ID"]]},{index_objects_reports:[["SSID","Reporting ID"],["Local Student ID",
4177"Student ID"],["Local Special Education Student ID","Student State Assigned ID"]]},{index_instances_reports:[["Reporting SELPA","Org Reporting ID"]]},{index_documents_reports:[["District of Special Education Accountability"],["Special Education Plan Type Code"],["Special Education Plan Effective Start Date"],["Reason For Plan Record Code"],["Primary Residence Code"],["Disability 1 Code"],["Disability 1 Degree of Support"],["Disability 2 Code"],["Disability 2 Degree of Support"],["Infant Regional Center Services Eligibility Indicator"],
4178["Special Education Program Setting Code"],["Preschool Program Setting Service Location Code"],["Ten or More Weekly Hours in Setting Indicator"],["General Education Participation Percentage"],["Special Education Program Type Code"],["IEP Includes Postsecondary Goals Indicator"],["Postsecondary Goals Updated Annually Indicator"],["Postsecondary Goals Age Appropriate Transition Assessment Indicator"],["Transition Services in IEP Indicator"],["Supportive Services Indicator"],["Transition Services Goals in IEP Indicator"],
4179["Student IEP Participation Indicator"],["Agency Representative IEP Participation Code"],["Special Transportation Indicator"]]}],["SSID",'SG_DATE("Special Education Plan Effective Start Date")'],a)}});
4180W(q4,{N:"MEET",name:"Special Education Meetings",C:"CALPADS Report for Special Education Meetings",F:"calpads/stateSpedMeetings",inputs:function(a){return[i4(a),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents_reports:[["Record Type Code"],["Transaction Type Code"],["Local Record ID"]]},{index_instances_reports:[["Reporting LEA","District Reporting ID"]]},{index_documents_reports:[["Academic Year ID"]]},{index_objects_reports:[["SSID","Reporting ID"],["Local Student ID",
4181"Student ID"],["Local Special Education Student ID","Student State Assigned ID"]]},{index_instances_reports:[["Reporting SELPA","Org Reporting ID"]]},{index_documents_reports:[["Special Education Referral Date"],["Referring Party Code"],["Initial Evaluation Parental Consent Date"],["Special Education Meeting Date"],["Pending As Of Date"],["Meeting Delay Code"],["Meeting Activity - Evaluation Type Code"],["Meeting Activity - Plan Review Indicator"],["Evaluation Outcome Code"],["Parental Involvement Facilitation Code"]]}],
4182["SSID",'SG_DATE("Special Education Meeting Date")'],a)}});
4183W(q4,{N:"SERV",name:"Special Education Services",C:"CALPADS Report for Special Education Services",F:"calpads/stateSpedServices",inputs:function(a){return[i4(a),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents_reports:[["Record Type Code"],["Transaction Type Code"],["Local Record ID"]]},{index_instances_reports:[["Reporting LEA","District Reporting ID"]]},{index_documents_reports:[["Nonpublic Agency Identifier (NPA)"],["Academic Year ID"]]},{index_instances_reports:[["Reporting SELPA",
4184"Org Reporting ID"]]},{index_objects_reports:[["SSID","Reporting ID"],["Local Student ID","Student ID"]]},{index_documents_reports:[["District of Special Education Accountability"],["Special Education Service Code"],["Special Education Service Provider Code"],["Special Education Service Location Code"],["Service Frequency Code"],["Service Duration"]]},{index_objects_reports:[["Local Special Education Student ID","Student State Assigned ID"]]},{index_documents_reports:[["Plan Effective Start Date"]]}],
4185["SSID",'SG_DATE("Plan Effective Start Date")'],a)}});W(o4,{name:"Section 504 Deadlines",C:"Section 504 deadlines across your district.",F:"section504/deadlines",inputs:function(a){return[i4(a),j4(!1),h4("Due:")]},query:function(a){return n4("Section 504",a)}});
4186W(o4,{name:"504 Plan Caseload",N:"S504 Plan Caseload",C:"The lead for current Section 504 Plans.",F:"section504/s504PlanCaseload",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4187{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4188W(o4,{name:"504 Evaluation Caseload",N:"S504 Eval Caseload",C:"The lead for current Section 504 Evaluations.",F:"section504/s504EvalCaseload",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4189{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4190W(o4,{name:"504 Plan Details",C:"Key information from each Section 504 plan.",F:"section504/planDetails",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4191{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Plan Type"],["Meeting Date"],["Start Date"],["End Date"],["Impairment"],["Contact Name"],["Contact Position"],["Person Responsible for Distribution"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4192W(o4,{name:"504 Plan Accommodations, Services and Aids",N:"504 Plan Accommodations",C:"[504 plan section 2] Accommodations, services and aids.",F:"section504/planAccommodations",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4193{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Student Need"],["Acc/Service/Aid"],["Details"],["When Needed"],["Contact Name"],["Contact Position"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4194W(o4,{name:"504 Plan Special Instructions",C:"[504 plan section 2] Special instructions or considerations (e.g., field trips, extracurricular activities).",F:"section504/planSpecialInstructions",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4195{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Special Instructions"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4196W(o4,{name:"504 Plan State Assessments",N:"504 Plan State Assessments",C:"[504 plan section 3] State (STAAR) assessments.",F:"section504/stateAssessments",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4197{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4198W(o4,{name:"504 Plan State Assessment Accommodations",N:"504 Plan State Accommodations",C:"[504 plan section 3] State assessment accommodations.",F:"section504/stateAssessmentAccommodations",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4199{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4200W(o4,{name:"504 Evaluation Details",N:"504 Evaluation",C:"Key information from Section 504 evaluations.",F:"section504/evaluation",inputs:function(a){return[i4(a),g4(),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4201{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Q1 Physical Impairment"],["Q2 Affect Major Life Activity"],["Q2 Major Life Activity"],["Q2 Major Life Activity Other"],["Q2 Major Bodily Function"],["Q2 Major Bodily Function Other"],["Q3 Substantially Limit"],["Q4 Need Accommodations"],["Develop 504 Plan"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4202W(o4,{name:"504 Consent for Initial Evaluation",N:"504 Consent Initial Evaluation",C:"View each time consent was given, recieved, granted and/
4202or refused.",F:"section504/consentInitialEvaluation",inputs:function(a){return[i4(a),g4(),h4("Sent Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4203{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Sent Date"],["Received Date"],["Consent Granted"]]}],['SG_DATE("Sent Date")',"Student ID"],a)}});
4204W(o4,{name:"504 Manifestation Determination",N:"504 MDR",C:"View all manifestation determinations, including considerations.",F:"section504/mdr",inputs:function(a){return[i4(a),g4(),h4("Meeting Date:"),j4(!1),k4(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4205{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Q1 Caused by Disability"],["Q2 Failure to Implement"],["Conduct was Manifestation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});W(p4,{name:"SST Deadlines",C:"A list of all Student Study Team (SST) deadlines in your district.",F:"rti/deadlines",inputs:function(a){return[i4(a),j4(!1),h4("Due:")]},query:function(a){return n4("SST",a)}});
4206W(p4,{name:"SST Plan Caseload",C:"The lead for SST Meeting Summaries.",N:"SST Caseload",F:"sst/caseload",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"SST")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4207{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4208W(p4,{name:"SST Plan Details",C:"Key information from each SST Meeting Summary.",N:"SST Plan Details",F:"sst/planDetails",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"SST")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4209{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4210W(p4,{name:"SST Interventions",C:"SST interventions documented in SST Meeting Summaries.",N:"SST Interventions",F:"sst/interventions",inputs:function(a){return[i4(a),g4(),f4("Effective"),h4("Meeting Date:"),j4(!1),k4(!1,"SST")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4211["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Tier"],["Target Area"],["Baseline"],["Goal"],["Intervention"],["Person Responsible"],["Location"],["Frequency (mins)"],["Frequency (times/week)"],["Frequency (weeks)"],["Begin"],["Review"],["Methods for Measuring Progress"],["Progress Monitoring Frequency"],["Teaching Strategies/Comments"]]}],['SG_DATE("Meeting Date")','SG_DATE("Begin")',"Student ID"],a)}});
4212W(r4,{name:"Students",N:"Object",kd:!0,C:"All students in the district.",ld:"Contains one record for each student in the district.",F:"leabop/students",inputs:function(){return[j4(!0),USa()]},query:function(a){return V([{index_objects_reports:[["Student ID"],["State Reporting ID","Reporting ID"],["Last Name"],["First Name"],["Date of Birth"],["Gender"],["Grade"],["Address","Street"],["City"],["State"],["Zip"],["Building ID","CampusID"],["Building"]]},{index_objects:[["District Enrollment","district_enrollment"],
4213["Deleted","deleted"]]},{index_objects_enrollments:[["Program Participation","Special Education"]]}],["Student ID"],a)}});
4214W(r4,{name:"IEPs",N:"LEA BOP IEPs",C:"Contains one record for each IEP marked complete.",ld:"Contains one record for each IEP marked complete.",F:"leabop/ieps",inputs:function(a){return[i4(a),f4("Effective"),h4("IEP Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"],["Document ID",
4215"doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Start Date"],["End Date"],["Primary Disability"],["Secondary Disability"]]}],["Document ID"],a)}});
4216W(r4,{name:"Goals",N:"LEA BOP Goals",C:"Contains one record for each goal documented in an IEP marked complete.",F:"leabop/goals",inputs:function(a){return[i4(a),h4("IEP Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4217{index_documents_reports:[["Goal ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Start Date"],["End Date"],["Goal Number"],["Goal Type"],["Goal Area"],["Goal Text"]]}],["Document ID","Goal ID"],a)}});
4218W(r4,{name:"Benchmarks",N:"LEA BOP Benchmarks",C:"Contains one record for each benchmark documented in an IEP marked complete.",F:"leabop/benchmarks",inputs:function(a){return[i4(a),h4("IEP Meeting Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4219{index_documents_reports:[["Benchmark ID"],["Goal ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Benchmark Number"],["Benchmark Text"]]}],["Document ID","Goal ID","Benchmark ID"],a)}});
4220W(r4,{name:"Related Services",N:"LEA BOP Related Services",C:"Contains one record for each related service documented in an IEP marked complete.",F:"leaBop/relatedServices",inputs:function(a){return[i4(a),h4("IEP Meeting Date:"),j4(!0),k4(!0,"Special Education"),m4("Direct:",["Yes","No"])]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4221{index_documents_reports:[["Service ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Service Code"],["Related Service"],["Setting"],["Frequency Number"],["Frequency Interval"],["Begin Date"],["End Date"],["Goal Numbers"],["Location"],["Duration"],["Provider"],["Direct"]]}],["Service ID","Document ID"],a)}});
4222W(r4,{name:"Assessment Logs",N:"LEA BOP Assessment Logs",C:"Contains one record for each log in an Assessment Log.",F:"leaBop/assessmentLogs",inputs:function(a){return[i4(a),g4(),h4("Evaluation Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4223{index_documents_reports:[["Log ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Evaluation Date"],["Evaluation Type"],["Assessment Date"],["Start Time"],["End Time"],["Assessment"],["Plan Type"],["Setting"],["Attendance Code"],["Comments"],["Provider Type"],["Provider First Name"],["Provider Last Name"],["Provider Title"],["Provider Signature"]]}],["Document ID","Log ID"],a)}});
4224W(r4,{name:"Service Logs",N:"LEA BOP Service Logs",C:"Contains one record for each log in a Service Log.",F:"leaBop/serviceLogs",inputs:function(a){return[i4(a),g4(),h4("Service Date:"),j4(!0),k4(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4225{index_documents_reports:[["Log ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Service Date"],["Service"],["Start Time"],["End Time"],["Duration Mins"],["Plan Type"],["Delivery"],["Setting"],["Attendance Code"],["Case Notes"],["Progress"],["Provider First Name"],["Provider Last Name"],["Provider Title"],["Provider Type"],["Provider Signature"]]}],["Document ID","Log ID"],a)}});
4226W(s4,{name:"Students",N:"Object",C:"All students in the system.",F:"system/students",kd:!0,inputs:function(){return[j4(!1)]},query:function(a){return V([{index_objects_reports:[["SIS Student ID"],["Student ID"]]},{index_objects:[["SIS Internal ID","sis_internal_id"]]},{index_objects_reports:[["Reporting ID"],["First Name"],["Middle Name"],["Last Name"],["Date of Birth"],["Grade"],["Gender"],["Street"],["City"],["State"],["Zip"],["District of Residence"],["County of Residence"],["District of Service"],
4227["Building"],["Building Reporting ID"],["Medicaid"]]},{index_objects:[["District Enrollment","district_enrollment"]]},{index_objects_enrollments:[["Special Education Program Participation","Special Education"],["Section 504 Program Participation","Section 504"],["SST Program Participation","SST"]]}],["Student ID"],a)}});
4228W(s4,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",kd:!0,query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["Roles","user_role"],["Buildings","buildings"],["LDAP Username","ldap_user_name"],["Force Local Authentication","force_local_authentication"],["Last Login"]]}],["Last Name","First Name","Email"],a)}});
4229W(s4,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(a){return[i4(a),f4("Effective"),h4("Meeting Date:"),j4(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],["End Date"],["Program"],
4230["ProgramAbbr"],["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a)}});
4231W(s4,{name:"Student Program Participation",N:"Program Participation",C:"A report of student program participation records, including start date, end date and program. Records are only returned for programs with a cutover date specified.",F:"system/programParticipation",inputs:function(){return[j4(!1),USa(),l4("Section 504"),l4("Special Education"),l4("SST")]},query:function(a){return V([{index_objects:[["Student ID","print_id"],["SIS Student ID","object_name"],["Internal SIS Student ID","sis_internal_id"]]},
4232{index_objects_enrollments:[["Start Date","start"],["End Date","end"],["Program","program"],["Notes","notes"]]}],["Start Date","Student ID"],a)}});W(s4,{name:"Deadlines",C:"These reports highlight upcoming deadlines for all special programs",F:"system/allDeadlines",inputs:function(a){return[i4(a),j4(!1),m4("Program:",a.activePrograms),h4("Due:")]},query:function(a){return VSa(a)}});W(s4,hJ());W(s4,iJ());W(s4,jJ());W(s4,kJ());var u4=VI("fl");function v4(){return{name:"Effective Date:",type:"date",Pd:TI(),C:"Optional"}}function w4(){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"At least one must be checked"}}function x4(){for(var a=[],b=m(["Exceptionality"]),c=b.next();!c.done;c=b.next())a.push({text:c.value,check:!1});return{name:"Notes:",type:"checkbox",options:a,required:!1,C:"Optional Program Participation columns"}}
4233function y4(a){return{name:a,type:"range",C:"Optional"}}function z4(a){var b=[];a=m(a.buildings);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({text:(""!=c.name?c.name:"None Assigned")+" ("+c.reporting_id+")",value:c.reporting_id,check:c.building_id?!c.inactive:!0,hidden:c.hidden});return{name:"Building:",type:"checkbox",options:b,required:!0,ld:"Building Reporting Id(s)",np:!0}}
4234function A4(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
4235function B4(a){return{name:a+" Program Enrollment:",type:"checkbox",options:[{text:"Eligibility Review",check:!0},{text:"Participating",check:!0},{text:"Not Participating",check:!1}],required:!0,C:"At least one must be checked"}}function C4(a){return{name:a+" Cutover Date:",type:"date",C:"Include program participation records with a start date on or after this date."}}
4236function D4(a,b){return V([{objects_deadlines_group_name:[[a]]},{index_objects_deadlines:[["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:[["notes",a]]}],["Due"],b)}
4237function YSa(a){var b=[{index_objects_deadlines:[["Program","group_name"],["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:a["Program:"].map(function(c){return["notes",c]})}];return V(b,["Due"],a)}
4238var ZSa=YI(u4,"Exceptional Student Education","Exceptional Student Education (ESE) reports."),E4=YI(u4,"G
4238ifted Education","Gifted Education reports."),F4=YI(u4,"Section 504","Section 504 administrative reports."),G4=YI(u4,"RTI/MTSS","Response To Intervention (RTI) administrative reports."),$Sa=YI(u4,"State Reporting","Exceptional Student Education (ESE) and Gifted Education state reports."),H4=YI(u4,"System","System-level reports.",!0),I4=bJ(ZSa,"Administration","ESE administrative reports.");
4239W(bJ(ZSa,"Deadlines","ESE deadlines reports. These reports highlight upcoming deadlines for special programs."),{name:"Exceptional Student Education (ESE) Deadlines",C:"A list of all ESE deadlines.",F:"eseAdmin/deadlines",inputs:function(a){return[z4(a),A4(!1),x4(),y4("Due:")]},query:function(a){return D4("Exceptional Student Education",a)}});
4240W(I4,{name:"IEP Plan Details",N:"IEP Admin Default",C:"[IEP Cover] IEP details, including meeting type, key dates, etc.",F:"eseAdmin/planDetails",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4241{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Review Due Date"],["Reevaluation Due Date"],["Purpose(s)"],["Positive Behavior Intervention Plan (PBIP)"],["Communication Plan"],["English Language Learner (ELL) Plan"],["Individualized Healthcare Plan (IHP)"],["Primary Exceptionality"],["Other Exceptionality(ies)"],["Needs ESY"],["EE Code"],["Placement (when EE code is Z)"]]},{index_objects_enrollments:[["notes",
4242"Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4243W(I4,{name:"Planning for Graduation",N:"IEP Planning Graduation",C:"[IEP section 2] Information about the graduation tracks students are planning to pursue.",F:"eseAdmin/gradPlans",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4244["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Age"],["Graduation Option"],["Pursuing Diploma Designation"],["Designation Type"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4245W(I4,{name:"Postsecondary Transition Goals",N:"IEP Transition Goals",C:"[IEP section 3] Postsecondary goals related to education and training, employment and career, and independent living skills.",F:"eseAdmin/transitionGoals",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4246{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Age"],["Category"],["Goal Statement"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4247W(I4,{name:"Special Considerations",N:"IEP Special Considerations",C:"[IEP section 4] Special Considerations such as PBIPs, ELL Plans, IHPs, AT, etc. students need as stated in the IEP.",F:"eseAdmin/specialConsiderations",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4248{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Primary Exceptionality"],["Other Exceptionality(ies)"],["Positive Behavioral Intervention Plan (PBIP)"],["English Learner Plan (ELL)"],["Communication Plan"],["Assistive Technology (AT)"],["Accessible Instructional Materials (AIM)"],["Individualized Healthcare Plan (IHP)"],["Specially Designed Physical Education (PE)"],["Provision of Information in the Area of Self-Determination and Self-Advocacy"]]},
4249{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4250W(I4,{name:"Annual Goals",N:"IEP Goals",C:"[IEP section 5] Annual goals including corresponding present level domain(s) and/or transition service(s)/activity area(s).",F:"eseAdmin/annualGoal",input
4250s:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4251{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Goal Number"],["Goal Statement"],["Associated Domain(s)"],["Associated Transition Service(s)/Activity Area(s)"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4252W(I4,{name:"Short Term Objectives",N:"IEP Objectives",C:"[IEP section 5] Short term objectives on annual goals.",F:"eseAdmin/objectives",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4253{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Goal Number"],["Goal Statement"],["Objective"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4254W(I4,{name:"District Assessments",N:"IEP District Assessments",C:"[IEP section 6] Information about district assessments for current IEPs.",F:"eseAdmin/districtAssessments",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4255{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year, Term, Subject"],["Grade"],["Assessment Title"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4256W(I4,{name:"Classroom and Instructional Accommodations",N:"IEP Classroom Accommodations",C:"[IEP section 7] Classroom/Instructional Accommodations for students.",F:"eseAdmin/classroomAccommodations",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4257{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Accommodation"],["Frequency"],["Location"],["Initiation Date"],["Duration Date"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4258W(I4,{name:"Statewide Assessment Accommodations",N:"IEP Testing Accommodations",C:"[IEP section 7] Accommodations for statewide standardized assessments.",F:"eseAdmin/assessmentAccommodations",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4259{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Assessment"],["Accommodation"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4260W(I4,{name:"Special Education Services",N:"IEP Sped Services",C:"[IEP section 8] Special Education Services for current IEPs.",F:"eseAdmin/spedServices",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4261{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Service"],["Amount"],["Frequency"],["Location"],["Service Initiation"],["Service Duration"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4262W(I4,{name:"Gifted Services for Twice Exceptional Students",N:"IEP Gifted Services",C:"[IEP section 8] Gifted Services for Twice Exceptional students and whether they are currently receiving them or not.",F:"eseAdmin/giftedServices",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4263{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Service"],["Amount"],["Frequency"],["Location"],["Service Initiation"],["Service Duration"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4264W(I4,{name:"Related Services",N:"IEP Related Services",C:"[IEP section 8] Related services that the student needs in order to benefit from his/her plan.",F:"eseAdmin/relatedServ",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4265{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Service"],["Direct or Indirect"],["Amount"],["Frequency"],["Location"],["Service Initiation"],["Service Duration"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4266W(I4,{name:"Aids and Services",N:"IEP Aids and Services",C:"[IEP section 8] Any aids and/
4266or services that the student needs in order to benefit from his/her plan.",F:"eseAdmin/aidsServ",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4267{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Service"],["Amount"],["Frequency"],["Location"],["Service Initiation"],["Service Duration"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4268W(I4,{name:"Extended School Year (ESY) Services",N:"IEP ESY",C:"[IEP section 8] Information about ESY services students are/will be receiving.",F:"eseAdmin/esy",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4269{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Description"],["Amount"],["Frequency"],["Location"],["Service Initiation"],["Service Duration"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4270W(I4,{name:"Educational Environment (EE)/Least Restrictive Environment (LRE)",N:"IEP Placement",C:"[IEP section 9] Information about the placement setting (such as EE code or LRE) for students.",F:"eseAdmin/placement",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4271{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Age"],["EE Code"],["Placement (when EE code is Z)"],["Time in Total School Week"],["Time with Nondisabled Peers"],["LRE Initiation Date"],["LRE Duration Date"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4272W(I4,{name:"Statewide Assessment Waivers",N:"Assessment Waivers",C:"A report of students who have a waiver(s) for applicable statewide assessments, including EOC.",F:"eseAdmin/assessmentWaiver",input
4272s:function(a){return[z4(a),w4(),y4("Meeting Date:"),A4(!1),B4("Exceptional Student Education"),x4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4273{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Assessment Type"],["Assessment Name"],["Assessment Date"],["Score/Level Achieved"],["IEP Team Approval"],["Parent/Guardian Approval"]]},{index_objects_enrollments:[["notes","Exceptional Student Education"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4274W(I4,{name:"Matrix of Services Details",N:"Matrix Details",C:"Includes details from ESE Matrix of Services, including domain ratings, cost factor, support level, etc. Contains one row for each completed date and reviewed date of a matrix.",F:"eseAdmin/matrixDetails",inputs:function(a){return[z4(a),v4(),A4(!1),B4("Exceptional Student Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4275{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_documents_reports:[["Date Completed/Reviewed","Start Date"],["Matrix Reviewed"],["Primary Exceptionality"],["Other Exceptionality(ies)"],["Areas of Related Service"],["Domain A Rating"],["Domain B Rating"],["Domain C Rating"],["Domain D Rating"],["Domain E Rating"],["Special Considerations Rating"],["Total of Ratings"],["Cost Factor"],["Support Level"]]}],["Last Name","First Name",
4276'SG_DATE("Date Completed/Reviewed")',"Student ID"],a)}});W(E4,{name:"Gifted Education Deadlines",C:"A list of all gifted deadlines.",F:"gifted/deadlines",inputs:function(a){return[z4(a),A4(!1),y4("Due:")]},query:function(a){return D4("Gifted Education",a)}});
4277W(E4,{name:"Gifted Nominations",N:"Gifted Noms",C:"Information about students who have been nominated for the Gifted Program.",F:"gifted/nominations",inputs:function(a){return[z4(a),w4(),v4(),y4("District Received Date:"),A4(!1),B4("Gifted Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4278{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["District Received Date"],["Nominated By"],["Reason for Nomination"],["Prior Nomination Status"]]}],["Last Name","First Name",'SG_DATE("District Received Date")',"Student ID"],a)}});
4279W(E4,{name:"Educational Plan (EP) Caseload",N:"EP Caseload",C:"[Educational Plan] The lead for current EPs.",F:"gifted/epCaseload",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Gifted Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4280{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4281W(E4,{name:"Annual Goals",N:"EP Goals",C:"[EP Section 2] Goal statements and how their progress will be reported and measured.",F:"gifted/annualGoals",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Gifted Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4282{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Goal Statement"],["When Progress Will Be Reported"],["How Progress Will Be Measured"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4283W(E4,{name:"Objectives and/or Benchmarks on Annual Goals",N:"EP Objectives",C:"[EP Section 2] Short-term objectives and/or benchmarks on annual goals.",F:"gifted/objectives",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Gifted Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4284{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Goal Statement"],["Objective/Benchmark"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4285W(E4,{name:"Gifted Services",N:"EP Services",C:"[EP section 3] A list of all gifted services in current EPs.",F:"gifted/services",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Gifted Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4286{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Service"],["Amount"],["Frequency"],["Location"],["Service Initiation"],["Service Duration"]]}],["Last Name","First Name",'SG_DATE("Meeting Date")',"Student ID"],a)}});
4287W(F4,{name:"Section 504 Deadlines",C:"A list of all Section 504 deadlines.",F:"section504/deadlines",inputs:function(a){return[z4(a),A4(!1),y4("Due:")]},query:function(a){return D4("Section 504",a)}});
4288W(F4,{name:"Section 504 Evaluation Caseload",N:"S504 Eval Caseload",C:"[504 Evaluation] The lead for current Section 504 Evaluations.",F:"section504/s504EvalCaseload",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4289{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4290W(F4,{name:"504 Evaluation Details",N:"504 Evaluation",C:"[504 Evaluation] Key information from Section 504 evaluations.",F:"section504/evaluation",inputs:function(a){return[z4(a),w4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4291{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Q1 Physical Impairment"],["Q2 Affect Major Life Activity"],["Q2 Major Life Activity"],["Q2 Major Life Activity Other"],["Q2 Major Bodily Function"],["Q2 Major Bodily Function Other"],["Q3 Substantially Limit"],["Q4 Need Accommodations"],["Develop 504 Plan"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4292W(F4,{name:"Section 504 Plan Caseload",N:"S504 Plan Caseload",C:"[504 Plan] The lead for current Section 504 Plans.",F:"section504/s504PlanCaseload",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4293{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4294W(F4,{name:"504 Plan Details",C:"[504 Plan] Key information from each Section 504 plan including plan type, dates, and contact information.",F:"section504/planDetails",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4295{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Plan Type"],["Meeting Date"],["Start Date"],["End Date"],["Impairment"],["Contact Name"],["Contact Position"],["Person Responsible for Distribution"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4296W(F4,{name:"504 Plan Accommodations, Related Aids and Services",N:"504 Plan Accommodations",C:"[504 Plan section 2] Accommodations, related aids and services.",F:"section504/planAccommodations",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4297{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Student Need"],["Acc/Service/Aid"],["Details"],["When Needed"],["Contact Name"],["Contact Position"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4298W(F4,{name:"504 Plan Special Instructions",C:"[504 Plan section 2] Special instructions or considerations (e.g., field trips, extracurricular activities).",F:"section504/planSpecialInstructions",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4299{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Special Instructions"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4300W(F4,{name:"504 Plan Special Transportation Arrangement Routes",N:"504 Plan Trans Routes",C:"[504 Plan section 2] Special transportation arrangement routes.",F:"section504/specialTransportationArrangementRoutes",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4301{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Accommodations"],["Other Accommodations"],["SAV Adaptations"],["Pickup/Dropoff"],["Comments"],["Route To"],["Route From"],["Route Roundtrip"],["Route ESY/Summer"],["Route Comments"],["Route Begin"],["Route End"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4302W(F4,{name:"504 Statewide Assessment Accommodations",N:"504 Plan State Accommodations",C:"[504 Plan section 3] Statewide assessment accommodations.",F:"section504/statewideAssessmentAccommodations",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4303{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Assessment"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4304W(F4,{name:"Consent for Initial Section 504 Evaluation",N:"504 Consent Initial Evaluation",C:"View each time consent was given, recieved, granted and/or refused.",F:"section504/consentInitialEvaluation",inputs:function(a){return[z4(a),w4(),y4("Sent Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4305{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Sent Date"],["Received Date"],["Consent Granted"]]}],['SG_DATE("Sent Date")',"Student ID"],a)}});
4306W(F4,{name:"Manifestation Determination",N:"504 MDR",C:"View all manifestation determinations, including considerations.",F:"section504/mdr",inputs:function(a){return[z4(a),w4(),y4("Meeting Date:"),A4(!1),B4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4307["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Q1 Caused by Disability"],["Q2 Failure to Implement"],["Conduct was Manifestation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});W(G4,{name:"RTI/MTSS Deadlines",C:"A list of all Response to Intervention deadlines in your district.",F:"rti/deadlines",inputs:function(a){return[z4(a),A4(!1),y4("Due:")]},query:function(a){return D4("RTI/MTSS",a)}});
4308W(G4,{name:"Tier 2 Plans",N:"RTI T2",C:"Tier 2 intervention plan information.",F:"rti/tier2plan",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4309["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4310W(G4,{name:"Tier 2 Plan Caseload",N:"RTI T2 Plan Caseload",C:"The lead for current Tier 2 RTI Plans.",F:"rti/tier2PlanCaseload",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4311"last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4312W(G4,{name:"Tier 2 Plan Interventions",N:"RTI T2 Interventions",C:"Tier 2 plan interventions information.",F:"rti/tier2planInterventions",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4313{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4314W(G4,{name:"Tier 3 Plans",N:"RTI T3",C:"Tier 3 intervention plan information.",F:"rti/tier3plan",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4315["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4316W(G4,{name:"Tier 3 Plan Caseload",N:"RTI T3 Plan Caseload",C:"The lead for current Tier 3 RTI Plans.",F:"rti/tier3PlanCaseload",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4317"last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4318W(G4,{name:"Tier 3 Plan Interventions",N:"RTI T3 Interventions",C:"Tier 3 plan interventions information.",F:"rti/tier3planInterventions",inputs:function(a){return[z4(a),w4(),v4(),y4("Meeting Date:"),A4(!1),B4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4319{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4320W($Sa,{name:"Exceptional Student",N:"ESE Report",C:"Exceptional Student state report.",F:"stateReports/eseReport",input
4320s:function(a){return[z4(a),w4(),v4(),A4(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_instances_reports:[["District Number, Current Enrollment",
4321"District Reporting ID"]]},{index_objects_reports:[["School Number, Current Enrollment","SR Building Reporting ID"]]},{index_documents_reports:[["Filler1"],["Survey Period Code"],["Year"],["Age"],["Filler2"],["Exceptional Student, IDEA Educational Environments"],["Exceptionality, Primary"],["Alternate Assessment Administered"],["Gifted Eligibility"],["Time, Total School Week"],["Time With Non-Disabled Peers"],["Filler3"],["Transaction Code"],["Filler4"]]},{index_objects_reports:[["Florida Education Identifier",
4322"Student ID"]]},{index_documents_reports:[["Exceptional Student, Dismissal Date"],["Exceptional Student Plan Date"],["Exceptional Student Placement Status"],["Exceptional Student Referral Reason"],["Evaluation Completion Date"],["Exceptional Student Placement Date"],["Exceptional Student Eligibility Determination Date"],["Evaluation Consent Date"],["Exceptional Student, 60-Day Exception/Extension"],["Filler5"]]},{index_objects_reports:[["Student Number Identifier, Local","Reporting ID"]]},{index_documents_reports:[["Filler6"],
4323["Exceptionality, Other"],["Filler/Error Codes"]]}],["School Number, Current Enrollment","Florida Education Identifier","Age"],a)}});
4324W(H4,{name:"Students",N:"Object",C:"All students in the system.",F:"system/students",kd:!0,inputs:function(){return[A4(!1)]},query:function(a){return V([{index_objects_reports:[["SIS Student ID"],["Student ID"]]},{index_objects:[["SIS Internal ID","sis_internal_id"]]},{index_objects_reports:[["Reporting ID"],["First Name"],["Middle Name"],["Last Name"],["Date of Birth"],["Grade"],["Gender"],["Street"],["City"],["State"],["Zip"],["District of Residence"],["County of Residence"],["District of Service"],
4325["Building"],["Building Reporting ID"],["Medicaid"]]},{index_objects:[["District Enrollment","district_enrollment"]]},{index_objects_enrollments:[["Exceptional Student Education Program Participation","Exceptional Student Education"],["Section 504 Program Participation","Section 504"],["SST Program Participation","SST"]]}],["Student ID"],a)}});
4326W(H4,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",kd:!0,query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["Roles","user_role"],["Buildings","buildings"],["LDAP Username","ldap_user_name"],["Force Local Authentication","force_local_authentication"],["Last Login"]]}],["Last Name","First Name","Email"],a)}});
4327W(H4,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(a){return[z4(a),v4(),y4("Meeting Date:"),A4(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],["End Date"],["Program"],["ProgramAbbr"],
4328["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a)}});
4329W(H4,{name:"Student Program Participation",N:"Program Participation",C:"A report of student program participation records, including start date, end date and program. Records are only returned for programs with a cutover date specified.",F:"system/programParticipation",inputs:function(){return[A4(!1),{name:"Student Status:",type:"checkbox",options:[{text:"Non-Deleted",check:!0},{text:"Deleted",check:!1}],required:!0,C:"Whether to display Deleted/Non-Deleted students."},C4("Exceptional Student Education"),
4330C4("Gifted Education"),C4("RTI/MTSS"),C4("Section 504")]},query:function(a){return V([{index_objects:[["Student ID","print_id"],["SIS Student ID","object_name"],["Internal SIS Student ID","sis_internal_id"]]},{index_objects_enrollments:[["Start Date","start"],["End Date","end"],["Program","program"],["Notes","notes"]]}],["Start Date","Student ID"],a)}});
4331W(H4,{name:"Deadlines",C:"These reports highlight upcoming deadlines for all special programs",F:"system/allDeadlines",inputs:function(a){var b=z4(a
4331),c=A4(!1);a=a.activePrograms;var d=void 0===d?[]:d;for(var e=[],f=0;f<a.length;f++)if(0==d.length)e.push({text:a[f],check:!0});else{for(var g=!1,k=0;k<d.length;k++)if(a[f]==d[k]){g=!0;break}e.push({text:a[f],check:g})}return[b,c,{name:"Program:",type:"checkbox",options:e,required:!0},y4("Due:")]},query:function(a){return YSa(a)}});W(H4,hJ());W(H4,iJ());
4332W(H4,jJ());W(H4,kJ());var J4=VI("il");function K4(){return{name:"Effective Date:",type:"date",Pd:TI(),C:"Optional"}}function L4(){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"At least one must be checked"}}function M4(){for(var a=[],b=m(["Disability"]),c=b.next();!c.done;c=b.next())a.push({text:c.value,check:!1});return{name:"Notes:",type:"checkbox",options:a,required:!1,C:"Optional Program Participation columns"}}
4333function N4(a){return{name:a,type:"range",required:!1,C:"Optional"}}function O4(a){var b=[];a=m(a.buildings);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({text:(""!=c.name?c.name:"None Assigned")+" ("+c.reporting_id+")",value:c.reporting_id,check:c.building_id?!c.inactive:!0,hidden:c.hidden});return{name:"Building:",type:"checkbox",options:b,required:!0,Qr:"buildingCheckbox",ld:"Building Reporting Id(s)",np:!0}}
4334function P4(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
4335function Q4(a){return{name:a+" Program Enrollment:",type:"checkbox",options:[{text:"Eligibility Review",check:!0},{text:"Participating",check:!0},{text:"Not Participating",check:!1}],required:!0,C:"At least one must be checked"}}function R4(a){return{name:a+" Cutover Date:",type:"date",C:"Include program participation records with a start date on or after this date."}}
4336function S4(a,b){return V([{objects_deadlines_group_name:[[a]]},{index_objects_deadlines:[["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:[["notes",a]]}],["Due"],b)}
4337function aTa(a){var b=[{index_objects_deadlines:[["Program","group_name"],["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:a["Program:"].map(function(c){return["notes",c]})}];return V(b,["Due"],a)}
4338var T4=YI(J4,"Special Education","Special Education reports."),U4=YI(J4,"Section 504","Section 504 administrative reports."),V4=YI(J4,"RTI/MTSS","Response To Intervention (RTI)/ Multi-Tiered System of Supports (MTSS) administrative reports."),W4=YI(J4,"System","System-level reports.",!0),X4=bJ(T4,"Administration","Special Education administrative reports."),bTa=bJ(T4,"Caseload","Special Education caseload reports."),Y4=bJ(T4,"State Reporting","I-Star state reports including select indicators of the State Performance Plan (SPP).");
4339W(X4,{name:"Special Education Deadlines",C:"A list of all Special Education deadlines.",F:"spedAdmin/deadlines",inputs:function(a){return[O4(a),P4(!1),N4("Due:")]},query:function(a){return S4("Special Education",a)}});
4340W(X4,{name:"IEP Plan Details",N:"IEP Default",C:"[IEP Cover] IEP details, including meeting type, key dates, etc.",F:"spedAdmin/planDetails",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4341{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Most Recent Evaluation"],["Next Reevaluation"],["Purpose(s)"],["Language"],["Primary Disability"],["Secondary Disability"],["EE Code"],["BIP"],["Needs ESY"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4342W(X4,{name:"Transition Services",N:"IEP Transition Services",C:"[IEP section 2] Transition services.",F:"spedAdmin/transitionServices",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4343{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Service Type"],["Service"],["Goal Number(s)"],["Service Start"],["Service End"],["Person/Agency Re
4343sponsible"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")','SG_DATE("Service Start")',"Student ID"],a)}});
4344W(X4,{name:"Transition Goals",N:"IEP Transition Goals",C:"[IEP section 2] Transition goals.",F:"spedAdmin/transitionGoals",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4345{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Area"],["Goal"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4346W(X4,{name:"Annual Goals",N:"IEP Goals",C:"[IEP Section 3] Goals for current IEPs.",F:"spedAdmin/iepGoals",inputs:function(){return[L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4347{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Goal Area"],["Goal Number"],["Goal"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4348W(X4,{name:"Short Term Objectives",N:"Admin IEP Objectives",C:"[IEP section 3] Short term objectives on the Annual Goal.",F:"spedAdmin/objectives",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4349{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Goal Statement"],["Objective"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4350W(X4,{name:"Educational Aids, Accommodations, and Modifications",N:"accommodations and modifications",C:"[IEP section 4] Any aids, accommodations, and/or modifications the child may require.",F:"spedAdmin/accommodationModification",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4351{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Type"],["Subject"],["Description"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4352W(X4,{name:"Extra Curricular/Non-Academic Aids, Accommodations, and Modifications",N:"Admin Non Academic Accommodations",C:"[IEP section 4] Any aids, accommodations, and/or modifications the child may require during extra curricular or other non-academic activities.",F:"spedAdmin/extraCurricAccommodationModification",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4353{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Type"],["Activity"],["Description"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4354W(X4,{name:"Supports for School Personnel",N:"Admin IEP Supports",C:"[IEP section 4] Supports for staff needed to implement the student's IEP.",F:"spedAdmin/personnelSupports",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4355{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Supports for School Personnel"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4356W(X4,{name:"Parent Training and Counseling",N:"Admin IEP Parent Training",C:"[IEP section 4] Training and counseling provided to parents to assist in understanding the special needs of their child.",F:"spedAdmin/parentTraining",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4357{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Training and Counseling"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4358W(X4,{name:"ACCESS Assessment Participation",N:"Admin IEP ACCESS",C:"[IEP section 5] A report of students who will be participating in the ACCESS or Alternate ACCESS assessment.",F:"spedAdmin/accessParticipation",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4359{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Assessment Participation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4360W(X4,{name:"ACCESS Assessment Accommodations",N:"Admin IEP ACCESS Accommodations",C:"[IEP section 5] Accommodations students require for the ACCESS or Alternate ACCESS assessment.",F:"spedAdmin/accessAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4361{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Subject"],["Assessment Title"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4362W(X4,{name:"Classroom and Districtwide Assessment Participation",N:"Admin IEP Assessment Participation",C:"[IEP section 5] Student participation in classroom and districtwide assessments.",F:"spedAdmin/assessmentParticipation",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4363{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Assessment Type"],["Participation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4364W(X4,{name:"Classroom Assessment Accommodations",N:"Admin IEP Classroom Accommodations",C:"[IEP section 5] Information about accommodations for classroom assessments.",F:"spedAdmin/classroomAssessmentAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4365{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4366W(X4,{name:"District-based Assessment Accommodations",N:"Admin IEP Districtwide Accommodations",C:"[IEP section 5] Information about accommodations for district-based assessments.",F:"spedAdmin/districtwideAssessmentAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4367{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Subject"],["Assessment Title"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4368W(X4,{name:"State Assessment Participation",N:"Admin IEP State Assessment Participation",C:"[IEP section 5] Information about how students will be participating in state assessments (IAR, ISA, and DLM-AA).",F:"spedAdmin/stateAssessmentParticipation",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4369{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Assessment Title"],["Participation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4370W(X4,{name:"State Assessment (IAR and ISA) Accommodations and Accessibility Features",N:"Admin IEP State Accommodations",C:"[IEP section 5] Accommodations and Accessibility Features students will use on the state IAR and ISA assessments.",F:"spedAdmin/stateAssessmentAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4371{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Subject"],["Assessment Title"],["Accommodation/Accessbility Feature"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4372W(X4,{name:"State Alternate Assessment (DLM-AA) Accommodations and Accessibility Features",N:"Admin IEP State Alternate Accommodations",C:"[IEP section 5] Accommodations and Accessibility Features students will use on the state alternate assessment (DLM-AA).",F:"spedAdmin/stateAlternateAssessmentAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4373{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Subject"],["Accommodation/Accessbility Feature"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4374W(X4,{name:"National Assessment Accommodations",N:"Admin IEP National Accommodations",C:"[IEP section 5] Accommodations students will use on national assessments (e.g. College Board, etc.).",F:"spedAdmin/stateNationalAssessmentAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4375{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Subject"],["Assessment Title"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4376W(X4,{name:"Physical Fitness Assessment Accommodations",N:"Admin IEP Fitness",C:"[IEP section 5] Accommodations students require for physical fitness asse
4376ssments.",F:"spedAdmin/fitnessAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4377{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Section"],["Assessment Title"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4378W(X4,{name:"Kindergarten Individual Development Survey (KIDS) Assessment Accommodations",N:"Admin IEP KIDS",C:"[IEP section 5] Accommodations students require for the KIDS assessments.",F:"spedAdmin/kidsAccommodations",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4379{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Subset"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4380W(X4,{name:"Special Education Services (Within General Ed. Setting)",N:"Admin IEP Sped Inside",C:"[IEP section 6] Special education services that are taking place within the general eduation setting.",F:"spedAdmin/specialEdServices",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4381{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Content Area/Class/Subject"],["Special Education Service"],["Minutes Per Week"],["Initiation of Services"],["Duration of Services"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4382W(X4,{name:"Special Education Services (Outside General Ed. Setting)",N:"Admin IEP Sped Outside",C:"[IEP section 6] Special education services that are taking place outside the general eduation setting.",F:"spedAdmin/specialEdServicesOutside",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4383{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Location"],["Special Education Service"],["Minutes Per Week"],["Initiation of Services"],["Duration of Services"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4384W(X4,{name:"Related Services (Within General Ed. Setting)",N:"Admin IEP Related Services Inside",C:"[IEP section 6] Related services that the student needs in order to benefit from his/her special education program that are taking place within the general eduation setting.",F:"spedAdmin/relatedServicesInside",input
4384s:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4385{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Content Area/Class/Subject"],["Related Service"],["Direct or Indirect"],["Notes"],["Minutes per Week"],["Initiation of Services"],["Duration of Services"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4386W(X4,{name:"Related Services (Outside General Ed. Setting)",N:"Admin IEP Related Services Outside",C:"[IEP section 6] Related services that the student needs in order to benefit from his/her special education program that are taking place outside the general eduation setting.",F:"spedAdmin/relatedServicesOutside",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4387{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Location"],["Related Service"],["Direct or Indirect"],["Notes"],["Minutes per Week"],["Initiation of Services"],["Duration of Services"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4388W(X4,{name:"Educational Environment Codes",N:"IEP EE Codes",C:"[IEP Section 6] All minutes used to calculate Educational Environment (EE) and the placement code accepted by the IEP team for current IEPs.",F:"spedAdmin/iepEECode",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4389{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["EE Code"],["Minutes Spent in Regular EC Program"],["Minutes Spent Receiving Services Outside Regular EC Program"],["Total Bell-to-Bell Minutes"],["Total Minutes Outside Gen Ed Setting"],["Total Minutes Inside Gen Ed Setting"],["Percentage of Time Inside Gen Ed Environment"],["Placement Initiation Date"],["Placement Duration Date"]]},
4390{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4391W(X4,{name:"Transportation",N:"Admin IEP Transportation",C:"[IEP section 6] Whether students require special transportation.",F:"spedAdmin/specialTransportation",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4392["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["To/From/Between Schools"],["In and Around School"],["Specialized Equipment"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4393W(X4,{name:"Extended School Year Services",N:"IEP ESY Services",C:"[IEP Section 6] ESY information for current IEPs.",F:"spedAdmin/iepESYServices",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4394{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["ESY Service"],["Location"],["Frequency"],["Projected Beginning Date"],["Anticipated Duration"],["Goal(s) Addressed"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4395W(bTa,{name:"IEP Plan Caseload",N:"IEP Plan Caseload",C:"The lead for current IEPs.",F:"spedManagement/iepCaseload",inputs:function(){return[L4(),N4("Meeting Date:"),P4(!1),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4396"last_name"],["Lead First","first_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Purpose(s)"],["Meeting Date"],["Start Date"],["End Date"]]},{index_objects_enrollments:[["notes","Special Education"]]}],'Lead Last;Lead First;Last Name;First Name;Student ID;SG_DATE("Meeting Date");SG_DATE("Start Date")'.split(";"),a)}});
4397W(bTa,{name:"Evaluation Caseload",C:"The lead for current initial evaluations and reevaluations.",F:"spedAdmin/evalCaseload",inputs:function(a){return[O4(a),L4(),N4("Evaluation Date:"),P4(!1),Q4("Special Education"),M4()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4398{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Evaluation Date"],["Evaluation Type"]]},{index_objects_enrollments:[["notes","Special Education"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Evaluation Date")'],a)}});
4399W(Y4,{name:"Student",N:"Student",C:"Student state report for I-Star.",F:"spedState/student",inputs:function(){return[P4(!1),Q4("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["SIS Student ID"],["Last Name"],
4400["First Name"],["Middle Name"],["Gender"],["Date of Birth"]]},{index_documents_reports:[["Active Flag"],["School Year"]]},{index_objects_reports:[["District of Residence"]]},{index_documents_reports:[["Serving District"],["Serving School"],["Fund Code"],["Private Facility"],["Beginning Date"],["Ending Date"],["Primary Disability"],["Secondary Disability"],["Language"],["Related and Other Services"],["Percent Time Inside General Education Classroom"],["Reason for Exit"],["Last Evaluation Date"]]},
4401{index_objects_reports:[["Medicaid ID"]]}],["SIS Student ID","Last Name","First Name","Beginning Date"],a)}});
4402W(Y4,{name:"Indicator 11: Evaluation Timelines",N:"Indicator 11",C:"A compliance indicator that measures the percentage of children who were evaluated within 60 school days of receiving parental con\u200bsent for initial evaluation.",F:"spedState/indicator11",inputs:function(){return[P4(!1),Q4("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_documents_reports:[["School Year"]]},
4403{index_objects_reports:[["SIS Student ID"]]},{index_documents_reports:[["Initial Evaluation Parent Consent Date"],["Initial Eligibility Determination Date"]]},{index_instances_reports:[["District Reporting ID"]]},{index_documents_reports:[["Number of School Days to Complete"],["Reason Timeline Not Met"],["Extended Timeline Date"],["Reason Indicator 11 Not Applicable"]]}],["SIS Student ID",'SG_DATE("Initial Evaluation Parent Consent Date")'],a)}});
4404W(Y4,{name:"Indicator 13: Secondary Transition",N:"Indicator 13",C:"A compliance indicator that measures the percentage of youth with IEPs aged 16 and above with an IEP that includes appropriate postsecondary and annual goals based off the determination in the Indicator 13 Checklist form.",F:"spedState/indicator13",input
4404s:function(a){return[O4(a),L4(),K4(),P4(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4405{index_objects_reports:[["SISId","SIS Student ID"]]},{index_documents_reports:[["SchoolYear"]]},{index_instances_reports:[["ResidentDistrict","District Reporting ID"]]},{index_documents_reports:[["Ind13Answers"],["Ind13IEPMeetRequirements"]]}],["SISId"],a)}});W(U4,{name:"Section 504 Deadlines",C:"A list of all Section 504 deadlines.",F:"section504/deadlines",inputs:function(a){return[O4(a),P4(!1),N4("Due:")]},query:function(a){return S4("Section 504",a)}});
4406W(U4,{name:"Section 504 Evaluation Caseload",N:"S504 Eval Caseload",C:"[504 Evaluation] The lead for current Section 504 Evaluations.",F:"section504/s504EvalCaseload",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4407{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4408W(U4,{name:"504 Evaluation Details",N:"504 Evaluation",C:"[504 Evaluation] Key information from Section 504 evaluations.",F:"section504/evaluation",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4409{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Q1 Physical Impairment"],["Q2 Affect Major Life Activity"],["Q2 Major Life Activity"],["Q2 Major Life Activity Other"],["Q2 Major Bodily Function"],["Q2 Major Bodily Function Other"],["Q3 Substantially Limit"],["Q4 Need Accommodations"],["Develop 504 Plan"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4410W(U4,{name:"Section 504 Plan Caseload",N:"S504 Plan Caseload",C:"[504 Plan] The lead for current Section 504 Plans.",F:"section504/s504PlanCaseload",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4411{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4412W(U4,{name:"504 Plan Details",C:"[504 Plan] Key information from each Section 504 plan including plan type, dates, and contact information.",F:"section504/planDetails",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4413{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Plan Type"],["Meeting Date"],["Start Date"],["End Date"],["Impairment"],["Contact Name"],["Contact Position"],["Person Responsible for Distribution"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4414W(U4,{name:"504 Plan Accommodations, Related Aids and Services",N:"504 Plan Accommodations",C:"[504 Plan section 2] Accommodations, related aids and services.",F:"section504/planAccommodations",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4415{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Student Need"],["Acc/Service/Aid"],["Details"],["When Needed"],["Contact Name"],["Contact Position"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4416W(U4,{name:"504 Plan Special Instructions",C:"[504 Plan section 2] Special instructions or considerations (e.g., field trips, extracurricular activities).",F:"section504/planSpecialInstructions",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4417{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Special Instructions"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4418W(U4,{name:"504 Plan Special Transportation Arrangement Routes",N:"504 Plan Trans Routes",C:"[504 Plan section 2] Special transportation arrangement routes.",F:"section504/specialTransportationArrangementRoutes",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4419{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Accommodations"],["Other Accommodations"],["SAV Adaptations"],["Pickup/Dropoff"],["Comments"],["Route To"],["Route From"],["Route Roundtrip"],["Route ESY/Summer"],["Route Comments"],["Route Begin"],["Route End"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4420W(U4,{name:"504 Plan Classroom and District-based Assessment Participation",N:"504 Plan Assessment Participation",C:"[504 Plan section 3] Student participation in classroom and districtwide assessments.",F:"section504/assessmentParticipation",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4421{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Assessment Type"],["Participation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4422W(U4,{name:"504 Plan Classroom Assessment Accommodations",N:"504 Plan Classroom Accommodations",C:"[504 Plan section 3] Information about accommodations for classroom assessments.",F:"section504/classroomAssessmentAccommodations",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4423{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4424W(U4,{name:"504 Plan District-based Assessment Accommodations",N:"504 Plan Districtwide Accommodations",C:"[504 Plan section 3] Districtwide assessment accommodations.",F:"section504/districtwideAssessmentAccommodations",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4425{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["School Year"],["Subject"],["Assessment Title"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4426W(U4,{name:"Consent for Initial Section 504 Evaluation",N:"504 Consent Initial Evaluation",C:"View each time consent was given, recieved, granted and/or refused.",F:"section504/consentInitialEvaluation",inputs:function(a){return[O4(a),L4(),N4("Sent Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4427{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Sent Date"],["Received Date"],["Consent Granted"]]}],['SG_DATE("Sent Date")',"Student ID"],a)}});
4428W(U4,{name:"Manifestation Determination",N:"504 MDR",C:"View all manifestation determinations, including considerations.",F:"section504/mdr",inputs:function(a){return[O4(a),L4(),N4("Meeting Date:"),P4(!1),Q4("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4429["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Q1 Caused by Disability"],["Q2 Failure to Implement"],["Conduct was Manifestation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});W(V4,{name:"RTI/MTSS Deadlines",C:"A list of all Response to Intervention (RTI) deadlines.",F:"rti/deadlines",inputs:function(a){return[O4(a),P4(!1),N4("Due:")]},query:function(a){return S4("RTI/MTSS",a)}});
4430W(V4,{name:"Tier 2 Plan Caseload",N:"RTI T2 Plan Caseload",C:"The lead for current Tier 2 RTI Plans.",F:"rti/tier2PlanCaseload",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4431{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4432W(V4,{name:"Tier 2 Plan Interventions",N:"RTI T2 Interventions",C:"Tier 2 plan interventions information.",F:"rti/tier2PlanInterventions",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4433{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4434W(V4,{name:"Tier 3 Plan Caseload",N:"RTI T3 Plan Caseload",C:"The lead for current Tier 3 RTI Plans.",F:"rti/tier3PlanCaseload",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4435{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4436W(V4,{name:"Tier 3 Plan Interventions",N:"RTI T3 Interventions",C:"Tier 3 plan interventions information.",F:"rti/tier3PlanInterventions",inputs:function(a){return[O4(a),L4(),K4(),N4("Meeting Date:"),P4(!1),Q4("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4437{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4438W(W4,{name:"Students",N:"Object",C:"All students in the system.",F:"system/students",kd:!0,inputs:function(){return[P4(!1)]},query:function(a){return V([{index_objects_reports:[["SIS Student ID"],["Student ID"],["Reporting ID"],["First Name"],["Middle Name"],["Last Name"],["Date of Birth"],["Grade"],["Gender"],["Street"],["City"],["State"],["Zip"],["District of Residence"],["County of Residence"],["District of Service"],["Building"],["Building Reporting ID"],["Medicaid"]]},{index_objects:[["District Enrollment",
4439"district_enrollment"]]},{index_objects_enrollments:[["Special Education Program Participation","Special Education"],["Section 504 Program Participation","Section 504"],["RTI/MTSS Program Participation","RTI/MTSS"]]}],["Student ID"],a)}});
4440W(W4,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",kd:!0,query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["Roles","user_role"],["Buildings","buildings"],["LDAP Username","ldap_user_name"],["Force Local Authentication","force_local_authentication"],["Last Login"]]}],["Last Name","First Name","Email"],a)}});
4441W(W4,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(a){return[O4(a),K4(),N4("Meeting Date:"),P4(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],["End Date"],["Program"],["ProgramAbbr"],
4442["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a)}});
4443W(W4,{name:"Student Program Participation",N:"Program Participation",C:"A report of student program participation records, including start date, end date and program. Records are only returned for programs with a cutover date specified.",F:"system/programParticipation",inputs:function(){return[P4(!1),{name:"Student Status:",type:"checkbox",options:[{text:"Non-Deleted",check:!0},{text:"Deleted",check:!1}],required:!0,C:"Whether to display Deleted/Non-Deleted students."},R4("RTI/MTSS"),R4("Section 504"),
4444R4("Special Education")]},query:function(a){return V([{index_objects:[["Student ID","print_id"],["SIS Student ID","object_name"],["Internal SIS Student ID","sis_internal_id"]]},{index_objects_enrollments:[["Start Date","start"],["End Date","end"],["Program","program"],["Notes","notes"]]}],["Start Date","Student ID"],a)}});
4445W(W4,{name:"Deadlines",C:"These reports highlight upcoming deadlines for all special programs",F:"system/allDeadlines",inputs:function(a){var b=O4(a),c=P4(!1);a=a.activePrograms;var d=void 0===d?[]:d;for(var e=[],f=0;f<a.length;
4445f++)if(0==d.length)e.push({text:a[f],check:!0});else{for(var g=!1,k=0;k<d.length;k++)if(a[f]==d[k]){g=!0;break}e.push({text:a[f],check:g})}return[b,c,{name:"Program:",type:"checkbox",options:e,required:!0},N4("Due:")]},query:function(a){return aTa(a)}});W(W4,hJ());W(W4,iJ());
4446W(W4,jJ());W(W4,kJ());var cTa=VI("me"),Z4=YI(cTa,"System","System-level reports.");function $4(){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"Includes data from complete/incomplete documents in SameGoal"}}function a5(a){return{name:a+" Date:",type:"date",Pd:TI(),C:"Optional"}}function b5(){return{name:"Meeting Date:",type:"range",C:"Optional"}}
4447function c5(){return{name:"Dates:",type:"checkbox",options:[{text:"Valid",check:!0},{text:"Invalid",check:!1}],required:!0}}function dTa(){return{name:"Attachments:",type:"select",options:[{text:"With or without",check:!0},{text:"Without only"},{text:"With only"}]}}
4448function d5(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
4449W(Z4,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["Roles","user_role"],["Buildings","buildings"],["LDAP Username","ldap_user_name"],["Force Local Authentication","force_local_authentication"],["Last Login"]]}],["Last Name","First Name","Email"],a)}});
4450W(Z4,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(){return[a5("Effective"),b5(),d5(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],["End Date"],["Program"],["ProgramAbbr"],
4451["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a,"me")}});var e5=YI(cTa,"Special Education","Special Education administrative reports."),f5=bJ(e5,"Compliance","Special Education compliance reports. The reports highlight upcoming due dates, meeting information, etc."),eTa=bJ(e5,"Management","Special Education management reports. These reports highlight caseload and staffing."),g5=bJ(e5,"Insights","Special Education insights reports. These reports surface key data and information from documents.");
4452W(eTa,{name:"IEP Caseload",N:"IEP Default",C:"The lead for current IEPs.",F:"spedManagement/iepCaseload",inputs:function(){return[$4(),a5("IEP Effective"),b5(),c5(),dTa(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4453"last_name"],["Lead First","first_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Effective Start"],["Effective End"]]}],["Lead Last","Lead First","Last Name","First Name","Student ID"],a)}});
4454W(f5,{name:"IEP Future Due Dates",N:"IEP Default",C:"Due dates for IEPs based on current IEPs.",F:"spedCompliance/iepFutureDueDates",inputs:function(){return[$4(),a5("IEP Effective"),b5(),c5(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4455{index_documents_reports:[["Next IEP"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Effective Start"],["Effective End"]]}],'SG_DATE("Next IEP");Last Name;First Name;Student ID;Lead Last;Lead First'.split(";"),a)}});
4456W(f5,{name:"IEP Meeting Date Information",N:"IEP Default",C:"Meeting information for current IEPs.",F:"spedCompliance/iepMeetingDateInformation",inputs:function(){return[$4(),a5("IEP Effective"),b5(),c5(),dTa(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4457{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Re-Evaluation"],["Amended"],["Disability"],["Effective Start"],["Effective End"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4458W(g5,{name:"IEP Special Instructional Factors",N:"IEP Default",C:"Special instructional factors for current IEPs.",F:"spedInsights/iepSpecialInstructionalFactors",inputs:function(){return[$4(),a5("IEP Effective"),b5(),c5(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4459{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Beh"],["LEP"],["Vision"],["Comm"],["Assist Tech"],["Effective Start"],["Effective End"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4460W(g5,{name:"IEP Special Education Services",C:"Special education services for current IEPs.",F:"spedInsights/iepSpecialEducationServices",inputs:function(){return[{name:"Specially Designed Services:",type:"checkbox",options:[{text:"Specially Designed Instru
4460ction",check:!0},{text:"Consultation"},{text:"Speech and Language Services"},{text:"Tutorial Instruction"},{text:"Extended School Year Services"}]},$4(),a5("IEP Effective"),b5(),c5(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL",
4461"'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Person Responsible"],["Location"],["Frequency"],["Begin"],["End"],
4462["Effective Start"],["Effective End"]]}],'Last Name;First Name;Student ID;SG_DATE("Begin");SG_DATE("End");Lead Last;Lead First'.split(";"),a)}});
4463W(g5,{name:"IEP Related Services",C:"Related services for current IEPs.",F:"spedInsights/iepRelatedServices",inputs:function(){return[{name:"Specially Designed Services:",type:"checkbox",options:[{text:"Speech and Language Services",check:!0},{text:"Occupational Therapy"},{text:"Physical Therapy"},{text:"Social Work Services"},{text:"Transportation"},{text:"Other"}]},$4(),a5("IEP Effective"),b5(),c5(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4464{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Person Responsible"],["Location"],["Frequency"],["Begin"],["End"],["Effective Start"],["Effective End"]]}],'Last Name;First Name;Student ID;SG_DATE("Begin");SG_DATE("End");Lead Last;Lead First'.split(";"),a)}});
4465W(g5,{name:"IEP Supplementary Aids, Services, Modifications And/Or Support",N:"IEP Supplementary Aides",C:"Supplementary aids, services, modifications and/or supports for current IEPs.",F:"spedInsights/iepSupplementaryAids",inputs:function(){return[$4(),a5("IEP Effective"),b5(),c5(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4466{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Aids"],["Person Responsible"],["Location"],["Frequency"],["Begin Date"],["End Date"],["Effective Start"],["Effective End"]]}],'Last Name;First Name;Student ID;SG_DATE("Begin Date");SG_DATE("End Date");Lead Last;Lead First'.split(";"),a)}});
4467W(g5,{name:"IEP Least Restrictive Environment",N:"IEP Default",C:"Least Restrictive Environment (LRE) information for current IEPs.",F:"spedInsights/iepLeastRestrictiveEnvironment",inputs:function(){return[$4(),a5("IEP Effective"),b5(),c5(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4468{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Age 3-5 % Time Non-Disabled Children"],["Age 3-5 General Education"],["Age 3-5 Special Education Total Hours"],["K-12 % Time Non-Disabled Children"],["Effective Start"],["Effective End"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4469W(f5,{name:"LDER Future Due Dates",N:"IEP Default",C:"Due dates for LDERs as pulled from current IEPs.",F:"spedInsights/lderFutureDueDates",inputs:function(){return[$4(),a5("IEP Effective"),b5(),c5(),d5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4470{index_documents_reports:[["Re-Evaluation"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Effective Start"],["Effective End"]]}],'SG_DATE("Re-Evaluation");Last Name;First Name;Student ID;Lead Last;Lead First'.split(";"),a)}});W(Z4,hJ());W(Z4,iJ());W(Z4,jJ());W(Z4,kJ());var h5=VI("pa");function i5(){return{name:"Effective Date:",type:"date",Pd:TI(),C:"Optional"}}function j5(){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"At least one must be checked"}}function k5(a){return{name:a,type:"range",C:"Optional"}}
4471function l5(a){var b=[];a=m(a.buildings);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({text:(""!=c.name?c.name:"None Assigned")+" ("+c.reporting_id+")",value:c.reporting_id,check:c.building_id?!c.inactive:!0,hidden:c.hidden});return{name:"Building:",type:"checkbox",options:b,required:!0,ld:"Building Reporting Id(s)",np:!0}}
4472function m5(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
4473function n5(a){return{name:a+" Program Enrollment:",type:"checkbox",options:[{text:"Eligibility Review",check:!0},{text:"Participating",check:!0},{text:"Not Participating",check:!1}],required:!0,C:"At least one must be checked"}}function o5(a){return{name:a+" Cutover Date:",type:"date",C:"Include program participation records with a start date on or after this date."}}
4474function p5(a,b){return V([{objects_deadlines_group_name:[[a]]},{index_objects_deadlines:[["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:[["notes",a]]}],["Due"],b)}
4475function fTa(a){var b=[{index_objects_deadlines:[["Program","group_name"],["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:a["Program:"].map(function(c){return["notes",c]})}];return V(b,["Due"],a)}
4476var q5=YI(h5,"Special Education","Special Education administrative reports."),r5=YI(h5,"Section 504","Section 504 administrative reports."),s5=YI(h5,"RTI/MTSS","Response To Intervention (RTI) administrative reports."),gTa=YI(h5,"Gifted Education","Gifted Education administrative reports."),t5=YI(h5,"System","System-level reports.",!0);
4477W(t5,{name:"Students",N:"Object",C:"All students in the system.",F:"system/students",kd:!0,inputs:function(){return[m5(!1)]},query:function(a){return V([{index_objects_reports:[["SIS Student ID"],["Student ID"]]},{index_objects:[["SIS Internal ID","sis_internal_id"]]},{index_objects_reports:[["Reporting ID"],["First Name"],["Middle Name"],["Last Name"],["Date of Birth"],["Grade"],["Gender"],["Street"],["City"],["State"],["Zip"],["District of Residence"],["County of Residence"],["District of Service"],
4478["Building"],["Building Reporting ID"]]},{index_objects:[["District Enrollment","district_enrollment"]]},{index_objects_enrollments:[["Special Education Program Participation","Special Education"],["Section 504 Program Participation","Section 504"],["Gifted Program Participation","Gifted"],["RTI/MTSS Program Participation","RTI/MTSS"]]}],["Student ID"],a)}});
4479W(t5,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",kd:!0,query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["Roles","user_role"],["Buildings","buildings"],["LDAP Username","ldap_user_name"],["Force Local Authentication","force_local_authentication"],["Last Login"]]}],["Last Name","First Name","Email"],a)}});
4480W(t5,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(a){return[l5(a),i5(),k5("Meeting Date:"),m5(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"],["SIS Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],["End Date"],
4481["Program"],["ProgramAbbr"],["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a)}});W(q5,{name:"Special Education Deadlines",C:"A list of all Special Education deadlines.",F:"sped/deadlines",inputs:function(a){return[l5(a),m5(!1),k5("Due:")]},query:function(a){return p5("Special Education",a)}});
4482W(q5,{name:"Evaluation Overview",N:"Admin Evaluation Summary",C:"An overview of evaluation results from the Evaluation Report and the Reevaluation Report including primary disability, secondary disability, and determination of eligibility.",F:"sped/evalOverview",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4483{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Date of Birth"],["Building"],["Grade"]]},{index_documents_reports:[["Evaluation Type"],["Meeting Date"],["Start Date"],["End Date"],["Primary Disability Category"],["Secondary Disability Category"],["Conclusion"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4484W(q5,{name:"Special Education Overview",N:"Admin IEP Sped",C:"[IEP Cover, Sections 1, 3, and 8] An overview of key special education information including special considerations, educational environment, and placement.",F:"sped/iepOverview",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4485{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Date of Birth"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Educational Environment"],["Noneducational Agency Placement"],["Limited English Proficiency"],["Transition Info"],["Communication Needs"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4486W(q5,{name:"IEP Caseload",C:"The lead for current IEPs.",F:"sped/iepCaseload",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4487"last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4488W(q5,{name:"Transition",N:"Admin IEP Transition",C:"[IEP section 3] Basic transition information.",F:"sped/transition",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4489{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Age"],["Transition Plan"],["Paid Work Based Learning"],["Job Supports/Coaching"],["Career Dev/Job Exploration"],["Modified"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4490W(q5,{name:"Transition Goals",C:"[IEP section 3] Transition goals.",F:"sped/transitionGoals",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4491["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Goal Type"],["Goal"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4492W(q5,{name:"Transition Services",C:"[IEP section 3] Transition services.",F:"sped/transitionServices",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4493["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Goal Type"],["Goal"],["Service"],["Service Location"],["Service Frequency"],["Service Start"],["Service Duration"],["Person/Agency Re
4493sponsible"]]}],['SG_DATE("Meeting Date")','SG_DATE("Service Start")',"Student ID"],a)}});
4494W(q5,{name:"State (PSSA) Assessment Accommodations",N:"PSSA Accommodations",C:"[IEP section 4] State (PSSA) Assessment Accommodations.",F:"sped/pssaAccommodations",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4495{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Accommodations"],["Accommodations to be Provided"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4496W(q5,{name:"State (Keystone Exam) Assessment Accommodations",N:"Keystone Exam Accommodations",C:"[IEP section 4] State (Keystone Exam) Assessment Accommodations.",F:"sped/keystoneExamAccommodations",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4497{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Accommodations"],["Accommodations to be Provided"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4498W(q5,{name:"State (Keystone Project Based) Assessment Accommodations",N:"Keystone Project Based Accommodations",C:"[IEP section 4] State (Keystone Project Based) Assessment Accommodations.",F:"sped/keystoneProjectAccommodations",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4499{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Accommodations"],["Accommodations to be Provided"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4500W(q5,{name:"Annual Goals",N:"Admin IEP Goals",C:"[IEP section 5] Measuarable annual goals.",F:"sped/goals",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4501{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Num"],["Goal"],["Progress Method"],["Progress Frequency"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4502W(q5,{name:"Short Term Objectives",N:"Admin IEP Objectives",C:"[IEP section 5] Short term objectives.",F:"sped/objectives",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4503{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Objective Number"],["Objective"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4504W(q5,{name:"Program Modifications and Specially Designed Instruction (SDI)",N:"Admin IEP Modification/SDI",C:"[IEP section 6] Program Modifications and Specially Designed Instruction (SDI).",F:"sped/sdi",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4505{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Modification/SDI"],["Location"],["Frequency"],["Projected Beginning Date"],["Anticipiated Duration"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4506W(q5,{name:"Related Services",N:"Admin IEP Related Services",C:"[IEP section 6] Related services that the student needs in order to benefit from his/her special education program.",F:"sped/rs",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4507{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Service"],["Location"],["Frequency"],["Projected Beginning Date"],["Anticipiated Duration"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4508W(q5,{name:"Supports for School Personnel",N:"Admin IEP Supports",C:"[IEP section 6] Supports for staff needed to implement the student's IEP.",F:"sped/supports",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4509{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Personnel"],["Support"],["Location"],["Frequency"],["Projected Beginning Date"],["Anticipiated Duration"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4510W(q5,{name:"ESY Services",N:"Admin IEP ESY",C:"[IEP section 6] ESY Service to be Provided.",F:"sped/esy",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4511{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Service"],["Location"],["Frequency"],["Interval"],["Projected Beginning Date"],["Anticipiated Duration"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4512W(q5,{name:"PIMS Student Template",N:"PIMS Student Template",C:"PIMS Student Template report.",F:"sped/pimsStudentTemplate",inputs:function(a){return[l5(a),m5(!1)]},query:function(a){return V([{index_instances_reports:[["Submitting AUN","District Reporting ID"]]},{index_objects_reports:[["School Number","Building Reporting ID"]]},{index_documents_reports:[["School Year Date"]]},{index_objects_reports:[["PASECUREID","Reporting ID"]]},{index_documents_reports:[["Special Education"],["504 Plan"],["Gifted"],
4513["Special Education Referral"]]}],["PASECUREID","School Year Date"],a)}});
4514W(q5,{name:"PIMS Special Ed Snapshot",N:"Special Education Snapshot",C:"PIMS Special Education Snapshot Report",F:"sped/pimsSpecialEdSnapsh
4514ot",inputs:function(a){return[l5(a),j5(),m5(!1),n5("Special Education"),{name:"Record Types:",type:"checkbox",options:[{text:"Valid",check:!0},{text:"Invalid",check:!1}],required:!0}]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_instances_reports:[["Submitting AUN",
4515"District Reporting ID"]]},{index_objects_reports:[["School Number","Building Reporting ID"]]},{index_documents_reports:[["School Year Date"]]},{index_objects_reports:[["PASECUREID","Reporting ID"]]},{index_documents_reports:[["Special Education Teacher Name"],["Primary Disability"],["Secondary Disability"],["Amount of Special Education Services"],["Type of Support"],["Noneducational Agency Placement"],["Date Exited Special Education"],["Snapshot Date"],["Educational Environment"],["Transition IEP Status Code"],
4516["Educational Environment Percentage (School Age Program)"],["Reason for Exiting Special Education"],["LEP Status"],["Service Provider"],["Location of Special Education Services"],["Trans IEP (Comp Int Paid Work Exp)"],["Trans IEP (Job Coaching)"],["Trans IEP (Comp Int Emp Goal)"],["Trans IEP (Comp Int Emp)"]]}],["PASECUREID"],a)}});
4517W(s5,{name:"RTI/MTSS Deadlines",C:"A list of all Response to Intervention (RTI) deadlines.",F:"rti/deadlines",inputs:function(a){return[l5(a),m5(!1),k5("Due:")]},query:function(a){return p5("RTI/MTSS",a)}});
4518W(s5,{name:"Tier 2 Plans",N:"RTI T2",C:"Tier 2 intervention plan information.",F:"rti/tier2plan",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4519["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4520W(s5,{name:"Tier 2 Plan Caseload",N:"RTI T2 Plan Caseload",C:"The lead for current Tier 2 RTI Plans.",F:"rti/tier2PlanCaseload",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4521"last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4522W(s5,{name:"Tier 2 Plan Interventions",N:"RTI T2 Interventions",C:"Tier 2 plan interventions information.",F:"rti/tier2planInterventions",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4523{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4524W(s5,{name:"Tier 3 Plans",N:"RTI T3",C:"Tier 3 intervention plan information.",F:"rti/tier3plan",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("RTI/
4524MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4525["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4526W(s5,{name:"Tier 3 Plan Caseload",N:"RTI T3 Plan Caseload",C:"The lead for current Tier 3 RTI Plans.",F:"rti/tier3PlanCaseload",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4527"last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4528W(s5,{name:"Tier 3 Plan Interventions",N:"RTI T3 Interventions",C:"Tier 3 plan interventions information.",F:"rti/tier3planInterventions",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4529{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4530W(r5,{name:"Section 504 Deadlines",C:"A list of all Section 504 deadlines.",F:"section504/deadlines",inputs:function(a){return[l5(a),m5(!1),k5("Due:")]},query:function(a){return p5("Section 504",a)}});
4531W(r5,{name:"504 Plan Details",C:"Key information from each Section 504 plan.",F:"section504/planDetails",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4532["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Plan Type"],["Meeting Date"],["Start Date"],["End Date"],["Impairment"],["Dyslexia"],["Contact Name"],["Contact Position"],["Person Responsible for Distribution"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4533W(r5,{name:"504 Plan Accommodations, Services and Aids",N:"504 Plan Accommodations",C:"[504 plan section 2] Accommodations, services and aids.",F:"section504/planAccommodations",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4534{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Student Need"],["Acc/Service/Aid"],["Details"],["When Needed"],["Contact Name"],["Contact Position"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4535W(r5,{name:"504 Plan Special Instructions",C:"[504 plan section 2] Special instructions or considerations (e.g., field trips, extracurricular activities).",F:"section504/planSpecialInstructions",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4536{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Special Instructions"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4537W(r5,{name:"504 Plan Special Transportation Arrangement Routes",N:"504 Plan Trans Routes",C:"[504 plan section 2] Special transportation arrangement routes.",F:"section504/specialTransportationArrangementRoutes",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4538{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Accommodations"],["Other Accommodations"],["SAV Adaptations"],["Pickup/Dropoff"],["Comments"],["Route To"],["Route From"],["Route Roundtrip"],["Route ESY/Summer"],["Route Comments"],["Route Begin"],["Route End"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4539W(r5,{name:"Section 504 Evaluation Caseload",N:"S504 Eval Caseload",C:"The lead for current Section 504 Evaluations.",F:"section504/s504EvalCaseload",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4540{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4541W(r5,{name:"Section 504 Plan Caseload",N:"S504 Plan Caseload",C:"The lead for current Section 504 Plans.",F:"section504/s504PlanCaseload",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4542{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4543W(r5,{name:"Districtwide Assessments",N:"504 Plan Districtwide Assessments",C:"[504 plan section 3] Student participation in districtwide assessments.",F:"section504/districtwideAssessments",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4544{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4545W(r5,{name:"Districtwide Assessment Accommodations",N:"504 Plan Districtwide Accommodations",C:"[504 plan section 3] Districtwide assessment accommodations.",F:"section504/districtwideAssessmentAccommodations",inputs:function(a){return[l5(a),j5(),i5(),k5("Meeting Date:"),m5(!1),n5("Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4546{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4547W(r5,{name:"504 Evaluation Details",N:"504 Evaluation",C:"Key information from Section 504 evaluations.",F:"section504/evaluation",inputs:function(a){return[l5(a),j5(),k5("Meeting Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4548{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Q1 Physical Impairment"],["Q2 Affect Major Life Activity"],["Q2 Major Life Activity"],["Q2 Major Life Activity Other"],["Q2 Major Bodily Function"],["Q2 Major Bodily Function Other"],["Q3 Substantially Limit"],["Q4 Need Accommodations"],["Develop 504 Plan"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4549W(r5,{name:"Consent for Initial Section 504 Evaluation",N:"504 Consent Initial Evaluation",C:"View each time consent was given, recieved, granted and/
4549or refused.",F:"section504/consentInitialEvaluation",inputs:function(a){return[l5(a),j5(),k5("Sent Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4550{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Sent Date"],["Received Date"],["Consent Granted"]]}],['SG_DATE("Sent Date")',"Student ID"],a)}});
4551W(r5,{name:"Manifestation Determination",N:"504 MDR",C:"View all manifestation determinations, including considerations.",F:"section504/mdr",inputs:function(a){return[l5(a),j5(),k5("Meeting Date:"),m5(!1),n5("Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4552["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Q1 Caused by Disability"],["Q2 Failure to Implement"],["Conduct was Manifestation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});W(gTa,{name:"Gifted Education Deadlines",C:"A list of all Gifted Education deadlines.",F:"gifted/deadlines",inputs:function(a){return[l5(a),m5(!1),k5("Due:")]},query:function(a){return p5("Gifted Education",a)}});
4553W(t5,{name:"Student Program Participation",N:"Program Participation",C:"A report of student program participation records, including start date, end date and program. Records are only returned for programs with a cutover date specified.",F:"system/programParticipation",inputs:function(){return[m5(!1),{name:"Student Status:",type:"checkbox",options:[{text:"Non-Deleted",check:!0},{text:"Deleted",check:!1}],required:!0,C:"Whether to display Deleted/Non-Deleted students."},o5("Gifted Education"),o5("RTI/MTSS"),
4554o5("Section 504"),o5("Special Education")]},query:function(a){return V([{index_objects:[["Student ID","print_id"],["SIS Student ID","object_name"],["Internal SIS Student ID","sis_internal_id"]]},{index_objects_enrollments:[["Start Date","start"],["End Date","end"],["Program","program"],["Notes","notes"]]}],["Start Date","Student ID"],a)}});
4555W(t5,{name:"Deadlines",C:"These reports highlight upcoming deadlines for all special programs",F:"system/allDeadlines",inputs:function(a){var b=l5(a),c=m5(!1);a=a.activePrograms;var d=void 0===d?[]:d;for(var e=[],f=0;f<a.length;f++)if(0==d.length)e.push({text:a[f],check:!0});else{for(var g=!1,k=0;k<d.length;k++)if(a[f]==d[k]){g=!0;break}e.push({text:a[f],check:g})}return[b,c,{name:"Program:",type:"checkbox",options:e,required:!0},k5("Due:")]},query:function(a){return fTa(a)}});W(t5,hJ());W(t5,iJ());
4556W(t5,jJ());W(t5,kJ());var u5=YI(VI("sg"),"System","System-level administrative reports.",!0);W(u5,iJ());W(u5,jJ());W(u5,kJ());
4557W(u5,{name:"Report Extractors Example",N:"Records Example",C:"An example report to display report extractors.",F:"system/exampleEndPoint",inputs:function(){return[{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"Includes data from complete/incomplete documents in SameGoal"},{name:"Record Types:",type:"checkbox",options:[{text:"Valid",check:!0},{text:"Invalid",check:!0}],required:!0}]},query:function(a){return V([{index_documents:[["Doc URL",
4558"'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"]]},{index_documents_reports:[["Primary Date"],["Required Text Input"],["RTE"],["Single Nested Date"],["Single Nested Text Input"],["Double Nested Date"],["Double Nested Text Input"],["Doc Level: District Name",
4559"District Name"],["Doc Level: District Reporting ID","District Reporting ID"]]},{index_instances_reports:[["District Name"],["District Reporting ID"]]}],["Primary Date"],a)}});
4560W(u5,{name:"OKR Submissions Report",N:"OKR Submissions",C:"A report to track Objectives and Key Results across the organization.",F:"system/okrEndPoint",inputs:function(){return[]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4561["Last Name"],["First Name"]]},{index_documents_reports:[["Submission Date"],["Employee Name"],["Department"],["Manager Name"],["Quarter"],["Objective Title"],["Objective Description"],["KR Title"],["KR Ticket Number"],["KR Measurement"],["KR Progress"],["Doc Level: District Name","District Name"],["Doc Level: District Reporting ID","District Reporting ID"]]},{index_instances_reports:[["District Name"],["District Reporting ID"]]}],["Submission Date","Employee Name","Objective Title","KR Title"],a)}});var v5=VI("tx");function w5(a){return{name:a+" Date:",type:"date",Pd:TI(),C:"Optional"}}function x5(a){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:a}],required:!0,C:"At least one must be checked"}}function hTa(){return{name:"Student Status:",type:"checkbox",options:[{text:"Non-Deleted",check:!0},{text:"Deleted",check:!1}],required:!0,C:"Whether to display Deleted/Non-Deleted students."}}
4562function y5(){for(var a=[],b=m(["Disability","LRE","LPC"]),c=b.next();!c.done;c=b.next())a.push({text:c.value,check:!1});return{name:"Notes:",type:"checkbox",options:a,required:!1,C:"Optional Program Participation columns"}}function z5(a,b){return{name:a,type:"range",required:!1,C:b}}function A5(){return{name:"Progress Date:",type:"range",required:!0,C:"Required. Date range in which progress for each goal is expected."}}
4563function B5(a){var b=[];a=m(a.buildings);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({text:(""!=c.name?c.name:"None Assigned")+" ("+c.reporting_id+")",value:c.reporting_id,check:c.building_id?!c.inactive:!0,hidden:c.hidden});return{name:"Building:",type:"checkbox",options:b,required:!0,Qr:"buildingCheckbox",ld:"Building Reporting Id(s)",np:!0}}
4564function C5(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
4565function D5(a,b){return{name:b+" Program Enrollment:",type:"checkbox",options:[{text:"Eligibility Review",check:!0},{text:"Participating",check:!0},{text:"Not Participating",check:a}],required:!0,C:"At least one must be checked"}}function E5(){return{name:"Record Types:",type:"checkbox",options:[{text:"Valid",check:!0},{text:"Invalid",check:!1}],required:!0}}
4566function F5(a){return{name:a+" Cutover Date:",type:"date",C:"Include program participation records with a start date on or after this date."}}function G5(a,b,c){c=void 0===c?[]:c;for(var d=[],e=0;e<b.length;e++)if(0==c.length)d.push({text:b[e],check:!0});else{for(var f=!1,g=0;g<c.length;g++)if(b[e]==c[g]){f=!0;break}d.push({text:b[e],check:f})}return{name:a,type:"checkbox",options:d,required:!0}}
4567function H5(a,b){a=[{objects_deadlines_group_name:a.map(function(c){return[c]})},{index_objects_deadlines:[["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:a.map(function(c){return["notes",c]})}];return V(a,["Due"],b)}
4568function iTa(a){var b=[{index_objects_deadlines:[["Program","group_name"],["Due","due"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_objects_deadlines:[["Assigned"],["Required","satisfy_abbr"],["Deadline","name_abbr"],["Determined From"]]},{index_objects_enrollments:a["Program:"].map(function(c){return["notes",c]})}];return V(b,["Due"],a)}
4569var jTa=YI(v5,"Special Education","Special Education administrative and SPPI reports."),kTa=bJ(jTa,"Deadlines","Special Education deadlines reports. These reports highlight upcoming deadlines for special programs."),I5=bJ(jTa,"Administration","Special Education administrative reports."),J5=YI(v5,"Section 504","Section 504 administrative reports."),K5=YI(v5,"Emergent Bilingual","Emergent Bilingual/LPAC administrative reports."),L5=YI(v5,"RTI/MTSS","Response To Intervention (RTI) administrative reports."),
4570M5=YI(v5,"Gifted/Talented","Gifted/Talented (G/T) administrative reports."),N5=YI(v5,"TSDS/PEIMS","Texas Student Data System (TSDS) reports."),O5=YI(v5,"SHARS Coordination","Data integration extracts for third-party SHARS billing software."),P5=YI(v5,"Testing Coordination","Data integration extracts for third-party testing coordination software."),lTa=YI(v5,"Dyslexia Coordination","Screening and testing information for Dyslexia and related disorders."),mTa=YI(v5,"Transportation Coordination","Transportation request information for transportation departments and third-party transportation vendors."),
4571Q5=YI(v5,"System","System-level reports.",!0);W(kTa,{name:"Special Education Deadlines",C:"A list of all Special Education deadlines in your district.",F:"specialEducation/deadlines",inputs:function(a){return[B5(a),C5(!1),y5(),z5("Due:","Optional")]},query:function(a){return H5(["Special Education"],a)}});
4572W(I5,{name:"Special Education Overview",N:"Admin IEP Sped",C:"[IEP Cover, Sections 2 and 7a] An overview of key special education information including disability, eligibility and placement.",F:"admin/specialEducationOverview",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4573{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["FIE Date"],["Has Disability"],["Is Eligible"],["Primary Disability"],["Secondary Disability"],["Tertiary Disability"],["Areas of SLD"],["Areas of NCEC"],["Areas of SI"],["Areas of OHI"],["Dyslexia"],["Multiple Disabilities"],["Medically Fragile"],["Instru
4573ctional Setting"],["RDSPD"],["RDSPD LEA"],
4574["PPCD"],["PPCD Location"],["Speech Therapy"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4575W(I5,{name:"Special Education Status",N:"Status",C:"[IEP Cover, Section 1, Section 2] Special education status report including special education status, meeting date, primary and secondary disabilities etc.",F:"admin/spedStatusReport",inputs:function(a){return[G5("Document:",["IEP","SP","Transfer"]),x5(!1),B5(a),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),y5()]},query:function(a){return V([{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Date of Birth"],["Building"],
4576["Grade"]]},{index_objects_enrollments:[["Status","Special Education"]]},{index_documents_reports:[["Annual Review"],["Primary Disability"],["Secondary Disability"],["FIE Date"]]},{index_objects_enrollments:[["notes","Special Education"]]}],["Student ID"],a)}});
4577W(I5,{name:"Disability",N:"Admin Disability",C:"[Section 2] A combined report of each disability condition reported and corresponding priority.",F:"admin/disability",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4578{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Disability Condition"],["Priority"]]},{index_objects_enrollments:[["notes","Special Education"]]}],["Student ID","Disability Condition"],a)}});
4579W(I5,{name:"IEP Details",N:"Admin IEP Details",C:"[IEP Cover] IEP details, including meeting type, key dates, etc.",F:"admin/iepDetails",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4580{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Date of Birth"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Type"],["Meeting Date"],["Start Date"],["End Date"],["Next IEP Due By"],["Emergent Bilingual"],["Transitioning from ECI"],["Transition Info (younger than 14)"],["Transition Info (14 or older)"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4581W(I5,{name:"IEP Caseload",N:"Admin IEP Caseload",C:"The lead for current IEPs.",F:"admin/iepCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4582{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]},{index_objects_enrollments:[["notes","Special Education"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4583W(I5,{name:"FIE/REED Caseload",C:"The lead for current FIEs/REEDs.",F:"admin/fieReedCaseload",inputs:function(a){return[B5(a),x5(!1),z5("Evaluation Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4584{index_documents_reports:[["Form Name"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Evaluation Date"],["Evaluation Type"]]},{index_objects_enrollments:[["notes","Special Education"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Evaluation Date")'],a)}});
4585W(I5,{name:"Full and Individual Evaluation Signatures",N:"FIE Signatures",C:"[FIE section 6] The names, titles and signatures of the members of the evaluation team and an indication of whether or not each team member is in agreement with the conclusions of the report.",F:"admin/fieSignatures",inputs:function(a){return[B5(a),x5(!1),z5("Evaluation Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4586{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Evaluation Date"],["Name"],["Title"],["Signature"],["Signature Date"],["Agreed"]]}],["Student ID",'SG_DATE("Evaluation Date")'],a)}});
4587W(I5,{name:"Services Plan Caseload",C:"The lead for current Services Plans.",F:"admin/spCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4588{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4589W(I5,{name:"TSCSA Caseload",C:"The lead for current Transfer Student Comparable Services Agreements.",F:"admin/tscsaCaseload",inputs:function(a){return[B5(a),x5(!1),z5("Enrollment Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4590{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Enrollment Date"],["Agreement Date"]]},{index_objects_enrollments:[["notes","Special Education"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Enrollment Date")'],a)}});
4591W(I5,{name:"IFSP Caseload",C:"The lead for current IFSPs.",F:"admin/ifspCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4592{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4593W(I5,{name:"Additional Evaluation Status",N:"Additional Evaluation Status",C:"[IEP section 1] Whether students require additional evaluation.",F:"admin/additionalEvalStatus",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),G5("Document:",["IEP","SP"])]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4594{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Additional Evaluation Needed"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4595W(I5,{name:"Accelerated Reading Instruction (grades K, 1, 2)",N:"Admin IEP ARI",C:"[IEP section 3] Whether students require accelerated reading instruction.",F:"admin/acceleratedReadingInstruction",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4596{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Accelerated Reading Instruction"],["Participation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4597W(I5,{name:"Accelerated Plan of Instruction",N:"Admin IEP IPI",C:"[IEP section 3] Whether students require an accelerated plan of instruction.",F:"admin/acceleratedInstructionPlan",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4598{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Requires IPI"],["Reason for IPI"],["IEP will serve as IPI"],["Comments"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4599W(I5,{name:"CPR Instruction (grades 7-12)",N:"Admin IEP CPR",C:"[IEP section 3] Whether students will receive CPR instruction.",F:"admin/cprInstruction",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4600{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Participation"],["Not Participate Reason"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4601W(I5,{name:"Transition",N:"Admin IEP Transition",C:"[IEP section 4] Basic transition information.",F:"admin/transition",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4602{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Age"],["Transition Info (younger than 14)"],["Transition Info (14 or older)"],["Initial Discussion"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4603W(I5,{name:"Graduation",N:"Admin IEP Grad",C:"[IEP section 5] Basic graduation information.",F:"admin/graduation",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4604{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Expected Graduation"],["IEP will serve as PGP"],["Last IEP Before Grad"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4605W(I5,{name:"Anticipated Graduation",N:"Admin IEP Anticipated Grad",C:"[IEP section 5] Anticipated graduation information.",F:"admin/anticipatedGraduation",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4606{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Expected Graduation"],["Last IEP Before Grad"],["Anticipated Graduation Code"],["Graduation Option"],["FHSP Option"],["FHSP Option1 Assmt"],["FHSP Option1 Assmt Comments"],["FHSP Option2 Modified Curriculum"],["FHSP Option2 Assmt"],["FHSP Option2 Assmt Comments"],["FHSP Option2 Condition"],["FHSP Substitutions"],["FHSP Substitutions LOTE Comments"],
4607["FHSP Substitutions Phys Comments"],["Endorsement"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4608W(I5,{name:"Annual Goals",N:"Admin IEP Goals",C:"[IEP section 6] Measurable annual goals.",F:"admin/goals",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4609["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Num"],["Type"],["Area"],["TEKS"],["Goal"],["Progress Method"],["Progress Frequency"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4610W(I5,{name:"Special Education",N:"Admin IEP SDI",C:"[IEP section 7a] Special education (specially designed instruction).",F:"admin/specialEducation",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("SDI Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4611{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["SDI Start Date"],["SDI End Date"],["SY/Term/Subj"],["Type"],["GenEd Time"],["Sped Time"],["Frequency"],["Interval"],["Provider"],["Location"],["Goals Addressed"],["Grades/Progress"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4612W(I5,{name:"Related Services",N:"Admin IEP Related Services",C:"[IEP section 7a] Related services.",F:"admin/relatedServices",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Service Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4613{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["Date of Birth"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Service Start Date"],["Service End Date"],["SY/Term/Subj"],["Code"],["Type"],["GenEd Time"],["Sped Time"],["Frequency"],["Interval"],["Provider"],["Location"],["Goals Addressed"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4614W(I5,{name:"Assistive Technology",N:"Admin IEP AT",C:"[IEP section 7a] Assistive technology.",F:"admin/assistiveTechnology",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("AT Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4615{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["AT Start Date"],["AT End Date"],["SY/Term/Subj"],["Device/Service"],["Environments/Tasks"],["Responsible"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4616W(I5,{name:"Accommodations",N:"Admin IEP Accommodations",C:"[IEP section 7a] Accommodations.",F:"admin/accommodations",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Accommodation Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4617{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Accommodation Start Date"],["Accommodation End Date"],["SY/Term/Subj"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4618W(I5,{name:"Modifications",N:"Admin IEP Modifications",C:"[IEP section 7a] Modifications.",F:"admin/modifications",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Modification 
4618Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4619{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Modification Start Date"],["Modification End Date"],["SY/Term/Subj"],["Modification"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4620W(I5,{name:"Program Modifications",N:"Admin IEP Program Modifications",C:"[IEP section 7a] Program modifications.",F:"admin/programModifications",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Modification Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4621{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Modification Start Date"],["Modification 
4621End Date"],["SY/Term/Subj"],["Program Modification"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4622W(I5,{name:"Placement of Services",N:"Admin IEP Placement",C:"[IEP section 7a] Placement of services.",F:"admin/placementOfServices",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4623{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Instructional Setting"],["RDSPD"],["RDSPD LEA"],["PPCD"],["PPCD Location"],["Speech Therapy"],["Commensurate"],["Length of Day"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4624W(I5,{name:"Residential Educational Placement",N:"Admin IEP REP",C:"[IEP section 7a] Residential education placement information.",F:"admin/residentialEducationalPlacement",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4625{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Services"],["Criteria"],["Appropriateness"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4626W(I5,{name:"TSBVI/TSD Placement",N:"Admin IEP TSD",C:"[IEP section 7a] Texas School for the Blind (TSBVI) or Texas School for the Deaf (TSD) placement information.",F:"admin/tsbviTsdPlacement",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4627{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Services"],["Criteria"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4628W(I5,{name:"Behavior Interventions, Supports and Strategies",N:"Admin IEP Behavior",C:"[IEP section 7c] Behavior interventions, supports and strategies.",F:"admin/behaviorSupports",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4629{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Behavior Impedes"],["BIP"],["Positive Behavioral Interventions"],["Other Strategies"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4630W(I5,{name:"Autism Strategies",N:"Admin IEP Autism",C:"[IEP section 7c] Strategies for a child with autism or other pervasive developmental disorder.",F:"admin/autismStrategies",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4631{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Extended Programming"],["Daily Schedules"],["In-home Training"],["Positive Behavior Strategies"],["Futures Planning"],["Parent Training"],["Staff-to-Child Ratio"],["Communication Interventions"],["Social Skills Supp
4631orts"],["Professional Support"],["Teaching Strategies"]]},{index_objects_enrollments:[["notes","Special Education"]]}],
4632['SG_DATE("Meeting Date")',"Student ID"],a)}});
4633W(I5,{name:"Blind/Visually Impaired Arrangements",N:"Admin IEP Blind",C:"[IEP section 7c] Arrangements for a child who is blind or visually impaired.",F:"admin/blindArrangements",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4634["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Evaluation of Impairment"],["Compensatory Skills"],["Orientation Mobility"],["Social Interaction"],["Career Planning"],["Assistive Technology"],["IL Skills"],["Recreation"],["Self-determination"],["Sensory Efficiency"],["Beyond School"],["Community Resources"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],
4635a)}});
4636W(I5,{name:"Special Transportation",N:"Admin IEP Transportation",C:"[IEP section 8] Whether students require special transportation.",F:"admin/specialTransportation",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4637["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Special Transportation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4638W(I5,{name:"Dyslexia Codes",N:"Admin Dyslexia Codes",C:"[IEP and SP section 7c, Transfer Agreement section 3c] Dyslexia Codes.",F:"admin/iepDyslexiaCodes",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4639{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["01 Dyslexia Services"],["02 Dyslexia Instruction"],["03 Dyslexia Accommodations/Modifications"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Start Date")',"Student ID"],a)}});
4640W(I5,{name:"Special Transportation Arrangement Routes",N:"Admin IEP Trans Routes",C:"[IEP section 8] Special transportation arrangement routes.",F:"admin/specialTransportationArrangementRoutes",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4641{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Special Trans
4641portation"],["Accommodations"],["Other Accommodations"],["SAV Adaptations"],["Pickup/Dropoff"],["Comments"],["Route To"],["Route From"],["Route Roundtrip"],["Route ESY/Summer"],["Route Comments"],["Route Begin"],["Route End"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',
4642"Student ID"],a)}});
4643W(mTa,{name:"Transportation Requests",N:"Admin Transport Request",C:"Transportation requests processed by the transportation department (special education and 504).",F:"transportation/requests",inputs:function(a){return[B5(a),x5(!1),C5(!0),D5(!0,"Special Education"),D5(!0,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4644["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Request Date"],["Type"],["Status"],["To"],["From"]]}],['SG_DATE("Request Date")',"Student ID"],a)}});
4645W(mTa,{name:"Bus Routes",N:"Admin Transport Request Routes",C:"Bus route information entered by the transportation department on transportation requests (special education and 504).",F:"transportation/busRoutes",inputs:function(a){return[B5(a),x5(!1),C5(!0),D5(!0,"Special Education"),D5(!0,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4646{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Start Date"],["Type"],["Year"],["AM Bus #"],["SR Bus #"],["PM Bus #"]]}],['SG_DATE("Start Date")',"Student ID"],a)}});
4647W(I5,{name:"Alternate Assessment Participation",N:"Admin IEP Alt Assessment",C:"[IEP section 9] Student participation in alternate assessments.",F:"admin/alternateAssessmentParticipation",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4648{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Alternate Assessments"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4649W(I5,{name:"Districtwide Assessments",N:"Admin IEP Districtwide Assessments",C:"[IEP section 9] Student participation in districtwide assessments.",F:"admin/districtwideAssessments",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4650{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4651W(I5,{name:"Districtwide Assessment Accommodations",N:"Admin IEP Districtwide Accommodations",C:"[IEP section 9] Districtwide assessment accommodations.",F:"admin/districtwideAssessmentAccommodations",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4652{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4653W(I5,{name:"State (STAAR) Assessments",N:"Admin IEP State Assessments",C:"[IEP section 9] State (STAAR) assessments.",F:"admin/stateAssessments",inputs:function(a){return[E5(),B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4654{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4655W(I5,{name:"State (STAAR) Assessment Accommodations",N:"Admin IEP State Accommodations",C:"[IEP section 9] State (STAAR) assessment accommodations.",F:"admin/stateAssessmentAccommodations",inputs:function(a){return[E5(),B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4656{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4657W(I5,{name:"State (STAAR) Assessment Exemptions",N:"Admin IEP Exemptions",C:"[IEP section 9] End-of-course STAAR assessments for which students are exempt from graduation requirements to achieve satisfactory performance.",F:"admin/stateAssessmentExemptions",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4658{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Justification"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4659W(I5,{name:"TELPAS Assessments",N:"Admin IEP TELPAS Assessments",C:"[IEP section 9] TELPAS assessments.",F:"admin/telpasAssessments",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4660{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4661W(I5,{name:"TELPAS Assessment Accommodations",N:"Admin IEP TELPAS Accommodations",C:"[IEP section 9] TELPAS assessment accommodations.",F:"admin/telpasAssessmentAccommodations",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4662{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4663W(I5,{name:"EB Individualized Reclassification Criteria - Assessments",N:"Admin EB Assessments Reclass Criteria",C:"[IEP section 9] Emergent Bilingual (EB) Individualized Reclassification Criteria for TELPAS Assessments.",F:"admin/iepEbReclassificationCriteria",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4664{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment"],["Performance Standard"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4665W(I5,{name:"Early Reading Assessment",N:"Admin IEP ERA",C:"[IEP section 9] Students that will or will not take the Early Reasing Assessment (for which it is applicable).",F:"admin/earlyReadingAssessment",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4666{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Will Participate"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4667W(I5,{name:"Physical Fitness Assessment Initiative (PFAI)",N:"Admin IEP PFAI",C:"[IEP section 9] Students that will participate in the Physical Fitness Assessment Initiative (PFAI) with modifications/adaptations or who are exempt.",F:"admin/pfai",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4668{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Participation"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4669W(I5,{name:"Physical Fitness Assessment Initiative (PFAI) Modifications",N:"Admin IEP PFAI Modifications",C:"[IEP section 9] Physical Fitness Assessment Initiative (PFAI) modifications/adaptations.",F:"admin/pfaiModifications",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4670{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Modification"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4671W(I5,{name:"Consideration of LRE",N:"Admin IEP Consideration LRE",C:"[IEP section 10] Consideration of least restrictive environment (LRE).",F:"admin/considerationLre",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4672{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Nature"],["Disruptive"],["Monopolize Time"],["Regular Ed (No Removal)"],["Close to Child Home"],["School Attend if Nondisabled"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4673W(I5,{name:"Extended School Year Services (ESY)",N:"Admin IEP ESY",C:"[IEP section 11] Students that require ESY.",F:"admin/esy",inputs:function(a){return[B5(a),G5("Document:",["IEP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4674{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormTyp
4674e"],["Meeting Date"],["Start Date"],["End Date"],["ESY Required"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4675W(I5,{name:"Behavior Intervention Plans (BIP)",N:"Admin IEP BIP",C:"[IEP section 12] Basic BIP information.",F:"admin/bip",inputs:function(a){return[B5(a),G5("Document:",["IEP","SP","Transfer"]),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education"),y5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4676{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Length of Plan"],["Implementation"],["Monitoring"],["Review Schedule"]]},{index_objects_enrollments:[["notes","Special Education"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4677W(I5,{name:"Referral for Initial Evaluation",N:"Referral for Initial Evaluation",C:"Basic information regarding the referral for an initial evaluation for a student",F:"admin/referralEval",inputs:function(a){return[B5(a),x5(!1),z5("Date Referral Received:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4678{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Date Referral Received"],["Referred By"],["Reason for Referral"]]}],['SG_DATE("Date Referral Received")',"Student ID"],a)}});
4679W(I5,{name:"Missing IEP Goal Progress",N:"IEP Progress Report Compliance",C:"Contains one record for each goal documented in an IEP that does not have a progress entry in an `IEP Progress Report` during the selected date range.",F:"admin/goalProgress",inputs:function(a){return[B5(a),x5(!1),C5(!0),D5(!0,"Special Education"),A5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4680{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Goal Number"],["Goal Area"],["Progress Available"]]}],["Student ID","Goal Number"],a)}});
4681W(I5,{name:"Missing Progress Report for Stub IEPs",N:"Stub IEP No Goals",C:"Contains one record for each Stub IEP (First-year IEP with key program data and no goal information) that does not have a corresponding `IEP Progress Report`.",F:"admin/stubIEPsNoGoals",inputs:function(a){return[B5(a),x5(!1),C5(!0),D5(!0,"Special Education"),z5("Meeting Date:","Optional")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4682{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"]]}],["Student ID"],a)}});
4683W(I5,{name:"Manifestation Determination Review",N:"Special Education MDR",C:"View all manifestation determination review information.",F:"admin/mdr",inputs:function(a){return[B5(a),x5(!1),z5("Manifestation Determination Review Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4684{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Manifestation Determination Review Date"],["Date of Behavior Subject to Disciplinary Action"],["Date of Decision to Make Disciplinary Change of Placement"]]}],['SG_DATE("Manifestation Determination Review Date")',"Student ID"],a)}});
4685W(I5,{name:"IEP Service Fidelity",N:"Service Fidelity",C:"Contains one record for valid each service documented in the IEP, IEP Service Log, IEP Related Service Log, or the IEP Instructional Service Log, showing the total number of service minutes provided and the total number of service minutes not provided, for the following services: Audiology, Counseling, OT, PT, and Speech.",Ae:"/iep/g/support/online-guides/state-specific-guide/texas/se-workflows/service-fidelity",F:"admin/serviceFidelity",inputs:function(a){return[B5(a),
4686x5(!1),z5("Service Start Date:","Optional"),w5("Service Effective"),G5("Service:",["Audiology","Counseling","Occupational Therapy","Physical Therapy","Speech Therapy"]),C5(!1),D5(!1,"Special Education"),E5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4687{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Service"],["Service Start Date"],["Service End Date"],["Provider Title"],["Maximum Allowable Minutes"],["Minutes Provided"],["Minutes Not Provided - Student Absence"],["Minutes Not Provided - Provider Absence"],["Minutes Not Provided - Student Refused Service"],["Minutes Not Provided - Holidays/Days Off"],["Minutes Not Provided - Other"],["Total Minutes Accounted For"],["Total Minutes Not Accounted For"],
4688["Total Allowable Minutes Remaining"]]}],["Student ID",'SG_DATE("Service Start Date")',"Service"],a)}});
4689W(I5,{name:"Special Education Funding Tool",N:"Admin SEFT",C:"Contains one record for each Special Education Funding Tool.",F:"admin/spedFundingTool",inputs:function(a){return[B5(a),x5(!1),z5("Date Completed:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student Local ID",
4690"Student ID"],["Student UID","Reporting ID"]]},{index_documents_reports:[["Instructional Setting Code"],["Speech Therapy (Y/N)"],["Minutes"],["Tier"],["SG 1-3"],["SG 4-5"],["Date Completed"],["1A"],["1B"],["1C"],["1D"],["2A"],["2B"],["2C"],["2D"],["3A"],["3B"],["3C"],["3D"],["4A"],["4B"],["4C"],["4D"],["5A"],["5B"],["5C"],["5D"]]}],["Student UID",'SG_DATE("Date Completed")',"Tier"],a)}});
4691W(I5,{name:"SPPI 11: Timely Initial Evaluation Child Find",N:"SPPI 11",C:"State Performance Plan Indicator (SPPI) 11 data is submitted through TSDS/PEIMS Child Find. This report assists districts in tracking events as they occur, rather than in aggregate when reported through TSDS/PEIMS.",F:"sppi/sppi11",inputs:function(a){return[B5(a),x5(!1),z5("Consent Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4692{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Referral Date"],["Consent Date"],["Consent Granted"],["FIE Date"],["ARD Date (Elig Det)"],["Eligible"]]}],["Student ID"],a)}});
4693W(N5,{name:"Early Childhood Outcomes (SPPI-7)",N:"SPPI7 Combined",C:"Early Childhood Outcomes (SPPI-7) entry and exit data.",F:"tsds/earlyChildhoodOutcomes",inputs:function(a,b,c){a=[B5(a),z5("Date Services Began:","Optional"),z5("Date Services Ended:","Optional"),E5(),x5(!1),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4694{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueId","Reporting ID"]]},{index_documents_reports:[["Entry Date","Date Services Began"],["Exit Date","Date Services Ended"],["EcseServiceExitReason","Exit Reason"],["EcseSocialEmotionalEntrySkillsRating","1a Entry"],["EcseSocialEmotionalExitSkillsRating","1a Exit"],["EcseExitSocialEmotionalNewSkills","1b"],["EcseKnowledgeEntrySkillsRating","2a Entry"],["EcseKnowledgeExitSkillsRating","2a Exit"],
4695["EcseExitKnowledgeNewSkills","2b"],["EcseAppropriateFunctioningEntrySkillsRating","3a Entry"],["EcseAppropriateFunctioningExitSkillsRating","3a Exit"],["EcseExitAppropriateFunctioningNewSkills","3b"]]}],["Student ID",'SG_DATE("Entry Date")'],a)}});
4696W(N5,{name:"Secondary Transition (SPPI-13)",N:"TSDS SPPI13",C:"Secondary Transition (SPPI-13) data.",F:"tsds/secondaryTransition",inputs:function(a,b,c){a=[B5(a),z5("SecondaryTransitionARDMeetingDate:","Optional"),E5(),x5(!1),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4697{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueId","Reporting ID"]]},{index_documents_reports:[["SecondaryTransitionARDMeetingDate"],["SecondaryTransitionIEPReviewDate"],["MeasurableSecondaryGoals"],["UpdatedSecondaryGoals"],["TransitionAssessment"],["IEPTransitionServices"],["CoursesStudySecondaryGoals"],["TransitionServiceNeeds"],["ARDInvitedStudent"],["ARDInvitedRepresentative"],["ARD Meeting Date"]]}],["Student ID",'SG_DATE("SecondaryTransitionARDMeetingDate")'],
4698a)}});
4699W(N5,{name:"Child Find",N:"TSDS Child Find",C:"SPPI 11  (Timely Initial Evaluation) and SPPI 12 (Early Childhood Transition) student information. TSDS/PEIMS Record: 40110 StudentChildFindAssociation.",F:"tsds/40110childFind",inputs:function(a,b,c){a=[B5(a),z5("Start Date:","Optional"),z5("TX-SPEDEligibilityDeterminationDate:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4700["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["Start Date"],["End Date"],["TX-CampusIdOfEvaluation"],["TX-StudentAbsencesWithinTimeframe"],["TX-OriginalECIServicesDate"],["TX-ECINotificationDate"],["TX-ECITransitionConferenceDate"],["TX-ParentalConsentDate"],["TX-InitialEvaluationDate"],["TX-SPEDEligibilityDeterminationDate"],["TX-SPEDEligibilityDeterminationCode"],["TX-EvaluationDelayReason"],["TX-EligibilityDelayReason"]]}],
4701["Student ID",'SG_DATE("TX-SPEDEligibilityDeterminationDate")'],a)}});
4702W(N5,{name:"Special Education Enrollment",N:"TSDS Sped Enrollment",C:"Changes in special education enrollment information. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163sped",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateSpEd:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4703["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-EffectiveDateSpEd"],["End"],["TX-InstructionalSetting"],["TX-MultiplyDisabled"],["T
4703X-MedicallyFragile"],["TX-ChildCountFunding"],["TX-PPCDServiceLocationIndicator"],["TX-LEAOfRDSPDService"]]}],["Student ID",'SG_DATE("TX-EffectiveDateSpEd")','SG_DATE("End")'],a)}});
4704W(N5,{name:"Special Education Disabilities",N:"TSDS Sped Disabilities",C:"Changes in special education disabilities information. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163disabilities",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateDisabilities:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4705{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-EffectiveDateDisabilities"],["TX-PrimaryDisability"],["TX-SecondaryDisability"],["TX-TertiaryDisability"],["Disability 4"],["Disability 5"]]}],["Student ID",'SG_DATE("TX-EffectiveDateDisabilities")'],a)}});
4706W(N5,{name:"Special Education Services",N:"TSDS Sped Services",C:"Changes in special education services information. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163services",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateServices:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4707{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-EffectiveDateServices"],["TX-AssistiveTechnology"],["TX-AudiologicalServices"],["TX-CounselingServices"],["TX-EarlyChildhoodIntervention"],["TX-InterpretingServices"],["TX-MedicalDiagnosticServices"],["TX-OccupationalTherapy"],["TX-OrientationMobilityTraining"],["TX-PhysicalTherapy"],["TX-PreschlPrgmChildDisabilities"],["TX-PsychologicalServices"],
4708["TX-Recreation"],["TX-RegDaySchProgDeaf"],["TX-SchoolHealthServices"],["TX-SocialWorkServices"],["TX-SpeechTherapy"],["TX-Transportation"]]}],["Student ID",'SG_DATE("TX-EffectiveDateServices")'],a)}});
4709W(N5,{name:"Special Education Program",N:"TSDS Sped Program Combined",C:"Combined information from TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163program",input
4709s:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateSpEd:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4710{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-EffectiveDateSpEd"],["End"],["TX-MultiplyDisabled"],["TX-MedicallyFragile"],["TX-InstructionalSetting"],["TX-ChildCountFunding"],["TX-PPCDServiceLocationIndicator"],["TX-LEAOfRDSPDService"],["TX-EffectiveDateDisabilities"],["TX-PrimaryDisability"],["TX-SecondaryDisability"],["TX-TertiaryDisability"],["Disability 4"],["Disability 5"],["TX-EffectiveDateServices"],
4711["TX-AssistiveTechnology"],["TX-AudiologicalServices"],["TX-CounselingServices"],["TX-EarlyChildhoodIntervention"],["TX-InterpretingServices"],["TX-MedicalDiagnosticServices"],["TX-OccupationalTherapy"],["TX-OrientationMobilityTraining"],["TX-PhysicalTherapy"],["TX-PreschlPrgmChildDisabilities"],["TX-PsychologicalServices"],["TX-Recreation"],["TX-RegDaySchProgDeaf"],["TX-SchoolHealthServices"],["TX-SocialWorkServices"],["TX-SpeechTherapy"],["TX-Transportation"],["TX-IEPContinuerIndicator"],["TX-EffectiveDateTiers"],
4712["TX-TierOfIntensity"],["TX-SPEDServiceGroupA"],["TX-SPEDServiceGroupB"],["TX-NumberOfMinutesInSPED"]]}],["Student ID",'SG_DATE("TX-EffectiveDateSpEd")','SG_DATE("TX-EffectiveDateServices")','SG_DATE("End")'],a)}});
4713W(N5,{name:"Special Education Program Changes",N:"TSDS Sped Changes",C:"Changes in each individual data element. Useful for certain student information systems. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163changes",inputs:function(a,b,c){a=[B5(a),z5("Start:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4714{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["FieldNum"],["FieldCode"],["Field"],["Value"],["Start"],["End"]]}],["Student ID","FieldNum",'SG_DATE("Start")','SG_DATE("End")'],a)}});
4715W(N5,{name:"SELA Program",N:"TSDS SELA Program",C:"TSDS/PEIMS Record:combined SELA information from 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163selacombined",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateSpEd:","Optional"),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4716{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-EffectiveDateSpEd"],["End"],["TX-PreferredHomeCommunicationMethod"],["TX-LangAcqServicesProvided"],["TX-FrequencyOfServices"],["TX-HoursSpentReceivingServices"],["TX-HearingAmplificationType"],["TX-HearingAmplificationAccess"],["TX-HearingAmplifAvgDailyUse"],["TX-ToolOrAssessmentUsed"],["TX-AssessmentResultsObtained"]]}],["Student ID",
4717'SG_DATE("TX-EffectiveDateSpEd")'],a)}});
4718W(N5,{name:"Special Education Language Acquisition",N:"TSDS SELA",C:"Preferred home communication method. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163sela",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateSpEd:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4719["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-PreferredHomeCommunicationMethod"],["TX-EffectiveDateSpEd"]]}],["Student ID",'SG_DATE("TX-EffectiveDateSpEd")'],a)}});
4720W(N5,{name:"Language Acquisition Services Provided",N:"TSDS SELA Services",C:"Language acquisition services information. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163selaServices",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateSpEd:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4721{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-LangAcqServicesProvided"],["TX-FrequencyOfServices"],["TX-HoursSpentReceivingServices"],["TX-EffectiveDateSpEd"]]}],["Student ID",'SG_DATE("TX-EffectiveDateSpEd")'],a)}});
4722W(N5,{name:"Hearing Amplification",N:"TSDS SELA Hearing",C:"Hearing amplification information. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163selaAmplification",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateSpEd:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4723{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-HearingAmplificationType"],["TX-HearingAmplificationAccess"],["TX-HearingAmplifAvgDailyUse"],["TX-EffectiveDateSpEd"]]}],["Student ID",'SG_DATE("TX-EffectiveDateSpEd")'],a)}});
4724W(N5,{name:"Language Acquisition Assessment Information",N:"TSDS SELA Assessment",C:"Language acquisition assessment information. TSDS/PEIMS Record: 41163 StudentSpecialEdProgramAssociation.",F:"tsds/41163selaAssessment",inputs:function(a,b,c){a=[B5(a),z5("TX-EffectiveDateSpEd:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4725{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["TX-ToolOrAssessmentUsed"],["TX-AssessmentResultsObtained"],["TX-EffectiveDateSpEd"]]}],["Student ID",'SG_DATE("TX-EffectiveDateSpEd")'],a)}});
4726W(N5,{name:"Restraint Event",N:"TSDS Restraint",C:"Restraint event information. TSDS/PEIMS Record: 45435 RestraintEventExtension.",F:"tsds/45435restraintEvent",inputs:function(a,b,c){a=[B5(a),z5("EventDate:","Optional"),E5(),C5(!0),D5(!0,"Special Education")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4727{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["EventDate"],["TX-SchoolYear"],["StateOrganizationId"],["RestraintEventIdentifier"],["TX-PrimaryRestraintReason"],["TX-RestraintStaff"],["TX-SpecialEducation"],["TX-NonMembershipDisciplineRestraintIndicator"],["Restraint Event Time"]]}],["Student ID",'SG_DATE("EventDate")'],a)}});
4728W(N5,{name:"Student Program Extension Changes",N:"TSDS Program Changes",C:"Changes in student program extension. Useful for certain student information systems. TS
4728DS/PEIMS Record: 40110 StudentProgramExtension.",F:"tsds/40110changes",inputs:function(a,b,c){a=[B5(a),z5("Start:","Optional"),E5(),C5(!0),D5(!0,"Special Education"),D5(!0,"Section 504"),D5(!0,"Emergent Bilingual")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4729{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["FieldNum"],["FieldCode"],["Field"],["Value"],["Start"],["End"]]}],["Student ID","FieldNum",'SG_DATE("Start")','SG_DATE("End")'],a)}});
4730W(N5,{name:"Student Extension Changes",N:"TSDS Extension Changes",C:"Changes in student extension changes. Useful for certain student information systems. TSDS/PEIMS Record: 40100 StudentExtension.",F:"tsds/40100changes",inputs:function(a,b,c){a=[B5(a),z5("Start:","Optional"),E5(),C5(!0),D5(!0,"Special Education"),D5(!0,"Section 504"),D5(!0,"Emergent Bilingual")];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4731{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["FieldNum"],["FieldCode"],["Field"],["Value"],["Start"],["End"]]}],["Student ID","FieldNum",'SG_DATE("Start")','SG_DATE("End")'],a)}});
4732W(N5,{name:"Skyward SMS Extract - Child Find",N:"Skyward SMS Child Find",F:"tsds/skywardSmsChildFind",C:"Skyward SMS-specific extract file for Child Find records in file format expected by SameGoal interface file used in Import Builder.",inputs:function(a){return[B5(a),z5("Start Date:","Optional"),E5(),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4733{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["StudentUniqueStateId","Reporting ID"]]},{index_documents_reports:[["Start Date"],["End Date"],["TX-CampusIdOfEvaluation"],["TX-StudentAbsencesWithinTimeframe"],["TX-OriginalECIServicesDate"],["TX-ECINotificationDate"],["TX-ECITransitionConferenceDate"],["TX-ParentalConsentDate"],["TX-InitialEvaluationDate"],["TX-SPEDEligibilityDeterminationDate"],["TX-SPEDEligibilityDeterminationCode"],["TX-EvaluationDelayReason"],
4734["TX-EligibilityDelayReason"],["Out of District Evaluation"]]}],["Student ID",'SG_DATE("TX-SPEDEligibilityDeterminationDate")'],a)}});
4735W(N5,{name:"Skyward SMS Extract - Special Education",N:"Skyward SMS Sped",C:"Skyward SMS-specific extract file for Special Education records in file format expected by eSped Import Utility.",F:"tsds/skywardSmsSped",inputs:function(a){return[B5(a),z5("Start Date:","Optional"),E5(),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4736{index_documents_reports:[["State ID"]]},{index_objects_reports:[["Other ID","Student ID"],["Date of Birth"]]},{index_documents_reports:[["RecNum",void 0,void 0,"hidden"],["Record Type"],["Record Code"],["Record Description"],["Start Date"],["End Date"],["DocID",void 0,void 0,"hidden"],["Version",void 0,void 0,"hidden"]]}],'Other ID;DocID;("Version")::DECIMAL;RecNum;SG_DATE("Start Date");SG_DATE("End Date")'.split(";"),a)}});
4737W(N5,{name:"Powerschool Extract - Special Education Language Acquisition",N:"TSDS SELA Powerschool",C:"Powerschool-specific extract file for Special Education Language Acquisition records.",F:"tsds/powerschoolSela",inputs:function(a){return[B5(a),z5("Start:","Optional"),E5(),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4738{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Start"],["End"],["Preferred Home Communication Method"],["Language Acquisition Services Provided - Direct"],["Frequency of Services - Direct"],["Hours Spent Receiving Services - Direct"],["Language Acquisition Services Provided - Indirect/Consultative"],["Frequency of Services - Indirect/Consultative"],["Hours Spent Receiving Services - Indirect/Consultative"],["Hearing Amplification Type - Hearing Aids"],
4739["Hearing Amplification Access - Hearing Aids"],["Hearing Amplification Average Daily Use - Hearing Aids"],["Hearing Amplification Type - BAHA"],["Hearing Amplification Access - BAHA"],["Hearing Amplification Average Daily Use - BAHA"],["Hearing Amplification Type - Implants"],["Hearing Amplification Access - Implants"],["Hearing Amplification Average Daily Use - Implants"],["Hearing Amplification Type - Supplemental"],["Hearing Amplification Access - Supplemental"],["Hearing Amplification Average Daily Use - Supplemental"],
4740["Tool or Assessment Used - OWLS"],["Assessment Results Obtained - OWLS"],["Tool or Assessment Used - CASLLS"],["Assessment Results Obtained - CASLLS"],["Tool or Assessment Used - Communication Matrix"],["Assessment Results Obtained - Communication Matrix"],["Tool or Assessment Used - VCSL"],["Assessment Results Obtained - VCSL"],["Tool or Assessment Used - ASL-RST"],["Assessment Results Obtained - ASL-RST"],["Tool or Assessment Used - ASL-EST"],["Assessment Results Obtained - ASL-EST"]]}],["Student ID",
4741'SG_DATE("Start")'],a)}});
4742W(N5,{name:"TSDS Dyslexia Codes",N:"TSDS Dyslexia Codes",C:"Dyslexia Services Codes used for TSDS state reporting",F:"admin/dyslexiaCodes",inputs:function(a,b,c){a=[z5("Start Date:","Optional"),C5(!0),D5(!0,"Special Education"),D5(!0,"Section 504"),D5(!0,"Emergent Bilingual"),E5()];dJ(a,c,b);return a},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4743["Last Name"],["First Name"],["Building"]]},{index_documents_reports:[["Start Date"],["End Date"],["TX-DyslexiaIndicator"],["TX-DyslexiaServicesCode00"],["TX-DyslexiaServicesCode01"],["TX-DyslexiaServicesCode02"],["TX-DyslexiaServicesCode03"],["DyslexiaServices04"],["DyslexiaServices05"],["DyslexiaServices06"]]},{index_objects_enrollments:[["Special Education Program Participation","Special Education"],["Section 504 Program Participation","Section 504"]]}],["Student ID",'SG_DATE("Start Date")','SG_DATE("End Date")'],
4744a)}});
4745W(O5,{name:"Students",N:"Object",kd:!0,C:"All students in the district.",ld:"Contains one record for each student in the district.",F:"medicaid/students",inputs:function(){return[C5(!0),hTa()]},query:function(a){return V([{index_objects_reports:[["Student ID"],["State Reporting ID","Reporting ID"],["Last Name"],["First Name"],["Date of Birth"],["Gender"],["Grade"],["Address","Street"],["City"],["State"],["Zip"],["Building ID","CampusID"],["Building"]]},{index_objects:[["District Enrollment","district_enrollment"],
4746["Deleted","deleted"]]},{index_objects_enrollments:[["Program Participation","Special Education"]]}],["Student ID"],a)}});
4747W(O5,{name:"IEPs",N:"SHARS IEPs",C:"Contains one record for each IEP marked complete.",ld:"Contains one record for each IEP marked complete.\n\nRecord includes: _goals, objectives, nursing, personalCareServices,\nrelatedServices, transportation_.",F:"medicaid/ieps",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"],
4748["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["IEP Start Date"],["IEP End Date"],["Primary Disability"],["Secondary Disability"],["Tertiary Disability"]]}],["Document ID"],a)}});
4749W(O5,{name:"Goals",N:"SHARS Goals",C:"Contains one record for each goal documented in an IEP marked complete.",F:"medicaid/goals",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4750{index_documents_reports:[["Goal ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Start Date"],["End Date"],["Goal Number"],["Goal Type"],["Goal Area"],["Goal Text"]]}],["Document ID","Goal ID"],a)}});
4751W(O5,{name:"Objectives",N:"SHARS Objectives",C:"Contains one record for each objective documented in an IEP marked complete.",F:"medicaid/objectives",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4752{index_documents_reports:[["Objective ID"],["Goal ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Objective Number"],["Objective Text"]]}],["Document ID","Goal ID","Objective ID"],a)}});
4753W(O5,{name:"Related Services",N:"SHARS Related Services",C:"Contains one record for each related service documented in an IEP marked complete.",F:"medicaid/relatedServices",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education"),G5("Direct:",["Yes","No"])]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4754{index_documents_reports:[["Service ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Service Code"],["Related Service"],["Start Date"],["End Date"],["Duration GenEd"],["Duration Sped"],["Frequency Number"],["Frequency Interval"],["Location"],["Goal Numbers"],["Direct"]]}],["Service ID","Document ID"],a)}});
4755W(O5,{name:"Transportation",N:"SHARS Transportation",C:"Contains one record for each date range of special transportation indicated in an IEP.",F:"medicaid/transportation",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4756{index_documents_reports:[["Transportation ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Start Date"],["End Date"],["Specially Adapted Vehicle"],["PCS"]]}],["Document ID","Transportation ID"],a)}});
4757W(O5,{name:"Personal Care Services",N:"SHARS Personal Care Services",C:"Contains one record for each personal care services activity documented in an IEP marked complete.",F:"medicaid/personalCareServices",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4758{index_documents_reports:[["PCS ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Start Date"],["End Date"],["Type"],["Activity"],["Setting"],["When/Where, Frequency and Duration"]]}],["Document ID","PCS ID"],a)}});
4759W(O5,{name:"Nursing",N:"SHARS Nursing",C:"Contains one record for each skilled nursing task documented in an IEP marked complete.",F:"medicaid/nursing",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4760{index_documents_reports:[["Nursing ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Start Date"],["End Date"],["Task"]]}],["Document ID","Task"],a)}});
4761W(O5,{name:"Prescriptions",N:"SHARS Prescriptions",C:"Contains one record for each prescription document marked complete (PT or OT).",ld:"Contains one record for each prescription document marked complete (PT or OT). A prescription is a document created using any of the following\nforms: _Prescription - Physical Therapy, Prescription - Occupational Therapy_.",F:"medicaid/prescriptions",inputs:function(a){return[B5(a),x5(!1),z5("Prescription Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL",
4762"'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"],["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Prescription Date"],["Related Service"],["Provider Name"],["NPI"]]}],["Document ID"],a)}});
4763W(O5,{name:"Referrals",N:"SHARS Referrals",C:"Contains one record for each referral document marked complete (ST or audiology).",ld:"Contains one record for each referral document marked complete '+\n      '(ST or audiology).\n\nA referral is a document created using any of the following forms: _Referral - Audiological Services, Referral - Speech Therapy_.",F:"medicaid/referrals",inputs:function(a){return[B5(a),x5(!1),z5("Referral Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL",
4764"'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"],["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Referral Date"],["Related Service"],["Provider Name"],["NPI"]]}],["Document ID"],a)}});
4765W(O5,{name:"Consent",N:"SHARS Consent",C:"Contains one record for each SHARS consent document marked complete.",ld:"Contains one record for each SHARS consent marked complete.\n\nA consent is a document created using the _SHARS Notice and Consent_ form.",F:"medicaid/consent",inputs:function(a){return[B5(a),x5(!1),z5("Consent Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"],
4766["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Consent Date"],["Consent Granted"]]}],["Document ID"],a)}});
4767W(O5,{name:"Instructional Accommodations",N:"SHARS IEP Accommodations",C:"Contains one record for each instructional accommodation documented in an IEP.",F:"medicaid/instructionalAccommodations",inputs:function(a){return[B5(a),x5(!1),z5("IEP Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4768{index_documents_reports:[["Accommodation ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["IEP Meeting Date"],["Subject"],["Accommodation"],["Start Date"],["End Date"]]}],["Document ID","Accommodation ID"],a)}});
4769W(O5,{name:"IEP Service Logs",N:"SHARS IEP Service Logs",C:"Contains one record for each IEP-related service log in forms 'IEP Service Log', 'IEP Instructional Service Log' and 'IEP Related Service Log' (whether advanced/billable or not).",F:"medicaid/iepServiceLogs",inputs:function(a){return[B5(a),x5(!0),G5("Log Type:",["Advanced","Basic"]),G5("Billable Service:",["Yes","No"]),G5("Direct:",["Yes","No"]),G5("Service:","Audiology therapy;Counseling;Occupational therapy;Physical therapy;Psychological services;Speech therapy;Audiological services;Medical diagnostic services;Orientation and mobility training;Recreation;School health services;Social work services;Interpreting services-oral transliteration;Interpreting services-CUED language transliteration;Interpreting services-sign language transliteration;Interpreting services-sign language interpreting;Interpreting services-CART;Interpreting services-c-print;Interpreting services-type well;Interpreting services-deaf-blind interpreting;Other;Basic log".split(";")),
4770G5("Missing Supervisor Signature:",["Yes","No"]),z5("Service Date:","Optional"),E5(),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_documents_reports:[["Log ID"]]},{index_documents:[["Document ID","doc_id"]]},
4771{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Service Date"],["Service"],["Start Time"],["End Time"],["Duration Mins"],["Time Away Mins"],["Total Time Mins"],["Setting"],["Delivery"],["Student Observation"],["Primary Activity"],["Goal/Objective"],["Progress"],["Session Notes"],["Provider Type"],["Provider Name"],["Provider Title"],["Provider Signature"],["Documented in Seven Days"],["Do Not Bill"],["Do Not Bill Reason"],["Do Not Bill Reason Other"],
4772["Missing Supervisor Signature"],["Log Type"],["Billable Service"],["Direct"]]}],["Document ID","Log ID"],a)}});
4773W(O5,{name:"Evaluation Service Logs",N:"SHARS Evaluation Service Logs",C:"Contains one record for each evaluation service log.",F:"medicaid/evaluationServiceLogs",inputs:function(a){return[B5(a),x5(!1),z5("Service Date:","Optional"),E5(),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_documents_reports:[["Log ID"]]},
4774{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Plan Type"],["Service Date"],["Service"],["Start Time"],["End Time"],["Setting"],["Delivery"],["Student Observation"],["Student Observation Other"],["Session Notes"],["Provider Type"],["Provider Name"],["Provider Title"],["Provider Signature"],["Documented in Seven Days"],["Do Not Bill"],["Do Not Bill Reason"],["Do Not Bill Reason Other"],
4775["FIE Type"],["Student Qualified"]]}],["Document ID","Log ID"],a)}});
4776W(O5,{name:"IEP Personal Care Service Logs",N:"SHARS PCS Logs",C:"Contains one record for each IEP Personal Care Service Log.",F:"medicaid/iepPcsLogs",inputs:function(a){return[B5(a),x5(!0),G5("Billable Activity:",["Yes","No"]),G5("Activity:","Dressing;Eating;Locomotion or mobility;Personal hygiene;Positioning;Toileting;Transferring;Escort;Meal preparation;Medication assistance;Money management;Other".split(";")),z5("Service Date:","Optional"),E5(),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL",
4777"'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_documents_reports:[["Log ID"]]},{index_documents:[["Document ID","doc_id"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Service Date"],["Activity"],["Start Time"],["End Time"],
4778["Duration Mins"],["Time Away Mins"],["Total Time Mins"],["Location"],["Student Observation"],["Provider Name"],["Provider Title"],["Provider Signature"],["Documented in Seven Days"],["Do Not Bill"],["Do Not Bill Reason"],["Do Not Bill Reason Other"],["Billable Activity"]]}],["Document ID","Log ID"],a)}});
4779W(O5,{name:"Custom Layout (students)",N:"SHARS Students Custom Layout",C:"Basic information for students with an IEP (Houston ISD/eSHARS).",ld:"Contains one record for each student associated with an IEP (Houston ISD/eSHARS).",F:"medicaid/studentsCustom",input
4779s:function(a){return[B5(a),x5(!1),E5(),w5("IEP Effective"),z5("Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4780{index_objects_reports:[["StudentId","Student ID"],["LastName","Last Name"],["FirstName","First Name"],["MiddleName","Middle Name"],["DateOfBirth","Date of Birth"],["SSN","Student SSN"],["TXUStudentID","Reporting ID"],["PEIMSNumber","Student State Assigned ID"],["Gender","GenderAbbr"],["AddressLine1","Street"],["AddressLine2"],["City"],["State"],["Zip"],["CampusNumber","Building Reporting ID"],["CampusName","Building"]]},{index_documents_reports:[["CampusEnrollmentDate"],["DistrictWithdrawalDate"]]},
4781{index_objects_reports:[["MedicaidNumber","Medicaid ID"]]},{index_documents_reports:[["Audiology"],["CounselingServices"],["OccupationalTherapy"],["PersonalCareServices"],["PhysicalTherapy"],["PhysicianMedicalService"],["PsychologicalServices"],["NursingServices"],["SpecialTransportation"],["SpeechTherapy"],["ServiceActivationDate"],["TRAMRouteNumber"],["TRMidAMRouteNumber"],["TRMidPMRouteNumber"],["TRPMRouteNumber"],["ParentalConsentApproved"],["ParentalConsentDate"],["TRRouteEndDate"]]}],["StudentId"],
4782a)}});
4783W(O5,{name:"Custom Layout (goals)",N:"SHARS Goals Custom Layout",C:"Goals related to billable services in each IEP (audiology, counseling, OT, PT, ST, psychological services and PCS). Note: Goals are only related to PCS in this report when a related service in IEP Section 7a has 'Other' set in the service code dropdown, and text under this dropdown includes 'personal care' (Houston ISD/eSHARS).",ld:"Contains one record for each goal documented an IEP related to a billable service (Houston ISD/eSHARS).",F:"medicaid/goalsCustom",
4784inputs:function(a){return[B5(a),x5(!1),E5(),w5("IEP Effective"),z5("Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["StudentNumber","Student ID"],["FirstName",
4785"First Name"],["LastName","Last Name"]]},{index_documents_reports:[["ServiceName"],["GoalEffectiveDate"],["GoalName"],["GoalDetail"],["Objective1"],["Objective2"],["Objective3"],["Objective4"]]}],["StudentNumber"],a)}});
4786W(O5,{name:"Custom Layout (ARD)",N:"SHARS ARD Custom Layout",C:"Billable services in each IEP (audiology, counseling, OT, PT, ST, psychological services and PCS) (Houston ISD/eSHARS).",ld:"Contains one record for each billable service documented in an IEP (Houston ISD/eSHARS).",F:"medicaid/ardCustom",inputs:function(a){return[B5(a),x5(!1),E5(),w5("IEP Effective"),z5("Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4787{index_objects_reports:[["StudentNumber","Student ID"],["LastName","Last Name"],["FirstName","First Name"]]},{index_documents_reports:[["Therapy"],["BeginDate","Service Start"],["EndDate","Service End"],["TotalMinutesAllowed"]]}],["StudentNumber"],a)}});
4788W(O5,{name:"Custom Layout (visits)",N:"SHARS Visits Custom Layout",C:"Contains one record for each log documented for a billable service (audiology, counseling, OT, PT, ST, psychological services and PCS) in forms 'IEP Service Log', 'IEP Instructional Service Log' and 'IEP Related Service Log' (advanced log format only) (Houston ISD/eSHARS).",ld:"Contains one record for each log documented for a billable service (Houston ISD/eSHARS)",F:"medicaid/visitsCustom",input
4788s:function(a){return[B5(a),x5(!0),
4789E5(),z5("Meeting Date:","Optional"),C5(!0),D5(!0,"Special Education"),G5("Missing Supervisor Signature:",["Yes","No"])]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["StudentCode","Student ID"],["StudentLastName","Last Name"],
4790["StudentFirstName","First Name"],["StudentMiddleName","Middle Name"]]},{index_documents_reports:[["UserLastName"],["UserFirstName"],["UserMiddleName"]]},{index_objects_reports:[["SchoolCode","Building Reporting ID"]]},{index_documents_reports:[["ServiceLogId"],["ServiceDate"],["ServiceStartTime"],["ServiceEndTime"],["ServiceMinutes"],["Service"],["ServiceType"],["ServiceGroupSize"],["PrimaryActivity"],["StudentObservation"],["AreasCovered"],["ServiceComments"],["IsTelehealthVisit"],["StudentGoalName1"],
4791["StudentGoalDetail1"],["StudentGoalName2"],["StudentGoalDetail2"]]}],["StudentCode"],a)}});
4792W(O5,{name:"Custom Layout (prescriptions)",N:"SHARS Prescriptions Custom Layout",C:"Contains one record for each prescription documented in Prescription/Referral forms.",ld:"Contains one record for each prescription documented in Prescription/Referral forms.",F:"medicaid/prescriptionCustom",inputs:function(a){return[B5(a),x5(!1),E5(),z5("RxStartDate:","Optional"),C5(!0),D5(!0,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4793{index_objects_reports:[["StudentId","Student ID"],["LastName","Last Name"],["FirstName","First Name"]]},{index_documents_reports:[["ServiceType"],["NPINumber"],["PrescriberLastName"],["PrescriberFirstName"],["PrescriberMiddleName"],["RxStartDate"],["RxEndDate"]]}],["StudentId"],a)}});
4794W(lTa,{name:"Dyslexia Screening Exemption Reason",N:"Admin IEP Dyslexia Screening Exemption",C:"Contains the dyslexia screening exemption reason (if entered) for each IEP or Section 504 Plan.",F:"dyslexiaCoordination/exemptionReason",inputs:function(a){return[B5(a),w5("Effective"),z5("Meeting Date:","Optional"),C5(!0),D5(!1,"Special Education"),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4795{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Exemption Reason"],["Description"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4796W(P5,{name:"TestHound",C:'Contains one record for each STAAR test to be taken and one row for each corresponding accommodation required in TestHound "Auto Pilot" file format. Combines information from Special Education (IEP, Transfer Comparable Agreement), Section 504 (504 Plan), Emergent Bilingual (LPAC Decisions), RTI/MTSS (Tier 1/2/3 RTI Plans).',F:"testingCoordination/testHound",inputs:function(a){return[E5(),G5("Category:",["STAAR","TELPAS","District Testing"],["STAAR","TELPAS"]),B5(a),w5("Effective"),
4797z5("Meeting Date:","Optional"),C5(!0),D5(!1,"Special Education"),D5(!1,"Section 504"),D5(!1,"Emergent Bilingual"),D5(!1,"RTI/MTSS")]},query:function(a){var b=[{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_instances_reports:[["DistrictID","District Reporting ID"]]},
4798{index_objects_reports:[["CampusID"],["LocalID","Student ID"]]},{index_documents_reports:[["Subject"],["Accommodation"],["Notes"]]}],c=[],d=JSON.parse(JSON.stringify(a));d.report_record_name="TH IEP";delete d["Section 504 Program Enrollment:"];delete d["Emergent Bilingual Program Enrollment:"];delete d["RTI/MTSS Program Enrollment:"];c.push("("+V(b,["LocalID","Subject","Accommodation"],d)+")");d=JSON.parse(JSON.stringify(a));d.report_record_name="TH Transfer";delete d["Section 504 Program Enrollment:"];
4799delete d["Emergent Bilingual Program Enrollment:"];delete d["RTI/MTSS Program Enrollment:"];c.push("("+V(b,["LocalID","Subject","Accommodation"],d)+")");d=JSON.parse(JSON.stringify(a));d.report_record_name="TH 504";delete d["Special Education Program Enrollment:"];delete d["Emergent Bilingual Program Enrollment:"];delete d["RTI/MTSS Program Enrollment:"];c.push("("+V(b,["LocalID","Subject","Accommodation"],d)+")");d=JSON.parse(JSON.stringify(a));d.report_record_name="TH EB";delete d["Special Education Program Enrollment:"];
4800delete d["Section 504 Program Enrollment:"];delete d["RTI/MTSS Program Enrollment:"];c.push("("+V(b,["LocalID","Subject","Accommodation"],d)+")");d=JSON.parse(JSON.stringify(a));d.report_record_name="TH RTI T1";delete d["Special Education Program Enrollment:"];delete d["Section 504 Program Enrollment:"];delete d["Emergent Bilingual Program Enrollment:"];c.push("("+V(b,["LocalID","Subject","Accommodation"],d)+")");d=JSON.parse(JSON.stringify(a));d.report_record_name="TH RTI T2";delete d["Special Education Program Enrollment:"];
4801delete d["Section 504 Program Enrollment:"];delete d["Emergent Bilingual Program Enrollment:"];c.push("("+V(b,["LocalID","Subject","Accommodation"],d)+")");a=JSON.parse(JSON.stringify(a));a.report_record_name="TH RTI T3";delete a["Special Education Program Enrollment:"];delete a["Section 504 Program Enrollment:"];delete a["Emergent Bilingual Program Enrollment:"];c.push("("+V(b,["LocalID","Subject","Accommodation"],a)+")");return c.join("\nUNION ALL\n")}});
4802W(P5,{name:"State (STAAR) Assessments",N:"Testing Coordination STAAR Assessments",C:"Combines information from Special Education (IEP, Transfer Comparable Agreement), Section 504 (504 Plan), Emergent Bilingual (LPAC Decisions), RTI/MTSS (Tier 1/2/3 RTI Plans).",F:"testingCoordination/staarAssessments",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!0)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4803{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4804W(P5,{name:"State (STAAR) Assessment Accommodations",N:"Testing Coordination STAAR Accommodations",C:"Combines information about state testing accommodations from Special Education (IEP, Transfer Comparable Agreement), Section 504 (504 Plan), Emergent Bilingual (LPAC Decisions), RTI/MTSS (Tier 1/2/3 RTI Plans).",F:"testingCoordination/staarAssessmentAccom",input
4804s:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!0)]},query:function(a){return V([{index_documents:[["Doc URL",
4805"'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],
4806["Assessment"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});W(J5,{name:"Section 504 Deadlines",C:"A list of all Section 504 deadlines in your district.",F:"section504/deadlines",inputs:function(a){return[B5(a),C5(!1),z5("Due:","Optional")]},query:function(a){return H5(["Section 504"],a)}});
4807W(J5,{name:"504 Plan Details",C:"Key information from each Section 504 plan.",F:"section504/planDetails",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4808{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Plan Type"],["Meeting Date"],["Start Date"],["End Date"],["Impairment"],["Dyslexia"],["Contact Name"],["Contact Position"],["Person Responsible for Distribution"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4809W(J5,{name:"504 Plan Accommodations, Services and Aids",N:"504 Plan Accommodations",C:"[504 plan section 2] Accommodations, services and aids.",F:"section504/planAccommodations",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4810{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Student Need"],["Acc/Service/Aid"],["Details"],["When Needed"],["Contact Name"],["Contact Position"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4811W(J5,{name:"504 General Education Homebound",N:"504 General Education Homebound",C:"[504 plan section 2] Consists of students that will be provided services through the General Education Homebound program.",F:"section504/genedHomebound",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4812{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["General Education Homebound"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4813W(J5,{name:"504 Plan Special Instructions",C:"[504 plan section 2] Special instructions or considerations (e.g., field trips, extracurricular activities).",F:"section504/planSpecialInstructions",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4814{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Special Instructions"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4815W(J5,{name:"504 Plan Special Transportation Arrangement Routes",N:"504 Plan Trans Routes",C:"[504 plan section 2] Special transportation arrangement routes.",F:"section504/specialTransportationArrangementRoutes",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4816{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Accommodations"],["Other Accommodations"],["SAV Adaptations"],["Pickup/Dropoff"],["Comments"],["Route To"],["Route From"],["Route Roundtrip"],["Route ESY/Summer"],["Route Comments"],["Route Begin"],["Route End"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4817W(J5,{name:"Dyslexia Codes",N:"504 Dyslexia Codes",C:"[Section 504 Plan section 2] Dyslexia Codes.",F:"section504/s504DyslexiaCodes",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4818{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Start Date"],["End Date"],["01 Dyslexia Services"],["02 Dyslexia Instruction"],["03 Dyslexia Accommodations/Modifications"]]}],['SG_DATE("Start Date")',"Student ID"],a)}});
4819W(J5,{name:"Section 504 Evaluation Caseload",N:"S504 Eval Caseload",C:"The lead for current Section 504 Evaluations.",F:"section504/s504EvalCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4820{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4821W(J5,{name:"Section 504 Plan Caseload",N:"S504 Plan Caseload",C:"The lead for current Section 504 Plans.",F:"section504/s504PlanCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4822{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Meeting Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4823W(J5,{name:"Districtwide Assessments",N:"504 Plan Districtwide Assessments",C:"[504 plan section 3] Student participation in districtwide assessments.",F:"section504/districtwideAssessments",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4824{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4825W(J5,{name:"Districtwide Assessment Accommodations",N:"504 Plan Districtwide Accommodations",C:"[504 plan section 3] Districtwide assessment accommodations.",F:"section504/districtwideAssessmentAccommodations",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4826{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4827W(J5,{name:"State (STAAR) Assessments",N:"504 Plan State Assessments",C:"[504 plan section 3] State (STAAR) assessments.",F:"section504/stateAssessments",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4828{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4829W(J5,{name:"State (STAAR) Assessment Accommodations",N:"504 Plan State Accommodations",C:"[504 plan section 3] State (STAAR) assessment accommodations.",F:"section504/stateAssessmentAccommodations",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4830{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4831W(J5,{name:"TELPAS Assessments",N:"504 Plan TELPAS Assessments",C:"[504 plan section 3] TELPAS assessments.",F:"section504/telpasAssessments",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4832{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4833W(J5,{name:"TELPAS Assessment Accommodations",N:"504 Plan TELPAS Accommodations",C:"[504 plan section 3] TELPAS assessment accommodations.",F:"section504/telpasAssessmentAccommodations",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4834{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Form","FormType"],["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4835W(J5,{name:"Excusals from Graduation Requirements for EOC Assessments",N:"504 Plan EOC Graduation Excusals",C:"[504 plan section 3] Students that have been excused from graduation requirements to achieve satisfactory performance for end-of-course assessments.",F:"section504/graduationReqExcusalsEOC",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4836{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Assessment"],["Justification"]]}],['SG_DATE("Meeting Date")',"Student ID","Assessment"],a)}});
4837W(J5,{name:"Early Reading Assessment",N:"504 Plan ERA",C:"[504 plan section 3] Students that will or will not take the Early Reading Assessment (for which it is applicable).",F:"section504/earlyReadingAssessment",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4838{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Will Participate"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4839W(J5,{name:"Physical Fitness Assessment Initiative (PFAI)",N:"504 Plan PFAI",C:"[504 plan section 3] Students that will participate in the Physical Fitness Assessment Initiative (PFAI) with modifications/adaptations or who are exempt.",F:"section504/pfai",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4840{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Participation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4841W(J5,{name:"Physical Fitness Assessment Initiative (PFAI) Modifications",N:"504 Plan PFAI Modifications",C:"[504 plan section 3] Physical Fitness Assessment Initiative (PFAI) modifications/adaptations.",F:"section504/pfaiModifications",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Special Education")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4842{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Modification"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4843W(J5,{name:"504 Evaluation Details",N:"504 Evaluation",C:"Key information from Section 504 evaluations.",F:"section504/evaluation",inputs:function(a){return[B5(a),x5(!1),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4844{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Q1 Physical Impairment"],["Q2 Affect Major Life Activity"],["Q2 Major Life Activity"],["Q2 Major Life Activity Other"],["Q2 Major Bodily Function"],["Q2 Major Bodily Function Other"],["Q3 Substantially Limit"],["Q4 Need Accommodations"],["Develop 504 Plan"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4845W(J5,{name:"Consent for Initial Section 504 Evaluation",N:"504 Consent Initial Evaluation",C:"View each time consent was given, recieved, granted and/
4845or refused.",F:"section504/consentInitialEvaluation",inputs:function(a){return[B5(a),x5(!1),z5("Sent Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4846{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Sent Date"],["Received Date"],["Consent Granted"]]}],['SG_DATE("Sent Date")',"Student ID"],a)}});
4847W(J5,{name:"Manifestation Determination",N:"504 MDR",C:"View all manifestation determinations, including considerations.",F:"section504/mdr",inputs:function(a){return[B5(a),x5(!1),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Section 504")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4848{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Q1 Caused by Disability"],["Q2 Failure to Implement"],["Conduct was Manifestation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4849W(J5,{name:"Missing Section 504 Intervention Progress",N:"504 Progress Report Compliance",C:"Contains one record for each intervention documented in a `Section 504 Progress Report` that does not have a progress entry during the selected date range.",F:"section504/goalProgress",inputs:function(a){return[B5(a),x5(!1),C5(!0),D5(!0,"Section 504"),A5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4850{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Intervention Number","504 Intervention Number"],["Intervention Goal"],["Intervention"],["Progress Available"]]}],["Student ID","Intervention Number"],a)}});
4851W(K5,{name:"Emergent Bilingual Deadlines",C:"A list of all Emergent Bilingual deadlines in your district.",F:"englishLearners/deadlines",inputs:function(a){return[B5(a),C5(!1),z5("Due:","Optional")]},query:function(a){return H5(["Emergent Bilingual"],a)}});W(K5,{name:"Dual Language Deadlines",C:"A list of all Dual Language deadlines in your district.",F:"englishLearners/2lDeadlines",inputs:function(a){return[B5(a),C5(!1),z5("Due:","Optional")]},query:function(a){return H5(["Dual Language"],a)}});
4852W(K5,{name:"Reclassification Monitoring Deadlines",C:"A list of all Reclassification Monitoring deadlines in your district.",F:"englishLearners/rmDeadlines",inputs:function(a){return[B5(a),C5(!1),z5("Due:","Optional")]},query:function(a){return H5(["Reclassification Monitoring"],a)}});
4853W(K5,{name:"LPAC Caseload",C:"The lead for current Initial/Annual LPAC Reviews.",F:"englishLearners/lpacCaseload",inputs:function(a){return[B5(a),x5(!1),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Emergent Bilingual"),D5(!1,"Dual Language")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4854{index_documents_reports:[["Form Name"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["LPAC Date"],["Decision"],["Placement"],["Language Program"],["Parent Permission"],["Years in US Schools"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("LPAC Date")'],a)}});
4855W(K5,{name:"LPAC Initial Review",N:"EB Initial LPAC",C:"Key information from initial LPAC review.",F:"englishLearners/initialLpacReview",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("LPAC Date:","Optional"),C5(!1),D5(!1,"Emergent Bilingual"),D5(!1,"Dual Language")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4856{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["LPAC Date"],["Identification Decision"],["Placement Recommendation"],["Language Program"],["English Test Date"],["Score PK-K Oral"],["Score Gr1 Listening"],["Score Gr1 Speaking"],["Score Gr2-12 Listening"],["Score Gr2-12 Speaking"],["Score Gr2-12 Reading"],["Score Gr2-12 Writing"],["Spanish Test Date"],["Score Spanish PK-K Oral"],["Score Spanish Gr1-6 Listening"],["Score Spanish Gr1-6 Speaking"]]}],
4857['SG_DATE("LPAC Date")',"Student ID"],a)}});
4858W(K5,{name:"LPAC Annual Review",N:"EB Annual LPAC",C:"Key information from LPAC annual reviews.",F:"englishLearners/annualLpacReview",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("LPAC Date:","Optional"),C5(!1),D5(!1,"Emergent Bilingual"),D5(!1,"Dual Language")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4859["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["LPAC Date"],["Decision"],["Next Year Placement"],["Language Program"]]}],['SG_DATE("LPAC Date")',"Student ID"],a)}});
4860W(K5,{name:"LPAC Monitoring Year",N:"EB Monitoring LPAC",C:"This report shows reclassified students and information regarding monitoring.",F:"englishLearners/monitoringLpac",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("LPAC Date:","Optional"),C5(!1),D5(!0,"Emergent Bilingual"),D5(!1,"Reclassification Monitoring")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4861{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["LPAC Date"],["Monitoring Year"]]}],['SG_DATE("LPAC Date")',"Student ID"],a)}});
4862W(K5,{name:"Pending Reclassification",N:"EB Pending Reclassification",C:"This report pulls from the LPAC Annual Review. It shows pending reclassification students and information regarding their state test scores. This report can be downloaded, filled out, and uploaded to the Pending Reclassification key program data loader to bulk update LPAC Annual Review decisions and placements.",F:"englishLearners/pendingReclassification",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("LPAC Date:",
4863"Optional"),C5(!1),D5(!0,"Emergent Bilingual")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"]]},{index_documents_reports:[["LPAC Date"]]},{index_objects_reports:[["Last Name"],["First Name"],["Building"],
4864["Grade"],["STAAR Reading Date"],["STAAR Reading Type"],["STAAR Reading PL"],["STAAR Reading Score"],["STAAR Math Date"],["STAAR Math Type"],["STAAR Math PL"],["STAAR Math Score"],["STAAR Science Date"],["STAAR Science Type"],["STAAR Science PL"],["STAAR Science Score"],["STAAR Social Studies Date"],["STAAR Social Studies Type"],["STAAR Social Studies PL"],["STAAR Social Studies Score"],["STAAR English I Date"],["STAAR English I Type"],["STAAR English I PL"],["STAAR English I Score"],["STAAR English II Date"],
4865["STAAR English II Type"],["STAAR English II PL"],["STAAR English II Score"],["TELPAS Reading Date"],["TELPAS Reading Score"],["TELPAS Writing Date"],["TELPAS Writing Score"],["TELPAS Listening Date"],["TELPAS Listening Score"],["TELPAS Speaking Date"],["TELPAS Speaking Score"],["TELPAS ALT Reading Date"],["TELPAS ALT Reading Score"],["TELPAS ALT Writing Date"],["TELPAS ALT Writing Score"],["TELPAS ALT Listening Date"],["TELPAS ALT Listening Score"],["TELPAS ALT Speaking Date"],["TELPAS ALT Speaking Score"]]},
4866{index_documents_reports:[["Current Decision"],["Current Next Year Placement"],["Current Next Year Program Model (if applicable)"],["New Decision Date"],["New Decision"],["New Next Year Placement"],["New Next Year Program Model (if applicable)"],["Alternative Methods"]]}],['SG_DATE("LPAC Date")',"Student ID"],a)}});
4867W(K5,{name:"LPAC Assessment Decisions (Grades K-5)",N:"EB Assessments K-5",C:"LPAC assessment decisions regarding STAAR and TELPAS assessments.",F:"englishLearners/assessmentKthru5",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("LPAC Date:","Optional"),C5(!1),D5(!1,"Emergent Bilingual")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4868{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["LPAC Date"],["STAAR Math Participation"],["STAAR Math Participation Status"],["STAAR Math Supports"],["STAAR Reading Participation"],["STAAR Reading Participation Status"],["STAAR Reading Supports"],["STAAR Science Participation"],["STAAR Science Participation Status"],["STAAR Science Supports"],["STAAR Alternate 2"],["TELPAS Participation"],["TELPAS Alternate 2"]]}],['SG_DATE("LPAC Date")',
4869"Student ID"],a)}});
4870W(K5,{name:"LPAC Assessment Decisions (Grades 6-12)",N:"EB Assessments 6-12",C:"LPAC assessment decisions regarding STAAR and TELPAS assessments.",F:"englishLearners/assessment6thru12",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("LPAC Date:","Optional"),C5(!1),D5(!1,"Emergent Bilingual")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Student ID"],
4871["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["LPAC Date"],["STAAR Math/Alg 1 Participation"],["STAAR Math/Alg 1 Participation Status"],["STAAR Math/Alg 1 Supports"],["STAAR Reading Participation"],["STAAR Reading Participation Status"],["STAAR Reading Supports"],["STAAR English I Participation"],["STAAR English I Participation Status"],["STAAR English I Supports"],["STAAR English II Participation"],["STAAR English II Participation Status"],["STAAR English II Supp
4871orts"],
4872["STAAR Science/Biology Participation"],["STAAR Science/Biology Participation Status"],["STAAR Science/Biology Supports"],["STAAR SocSt/US History Participation"],["STAAR SocSt/US History Participation Status"],["STAAR SocSt/US History Supports"],["STAAR Alternate 2"],["TELPAS Participation"],["TELPAS Alternate 2"]]}],['SG_DATE("LPAC Date")',"Student ID"],a)}});
4873W(K5,{name:"STAAR English I Assessment Special Provision",N:"EB STAAR English I 6-12",C:"Eligibility for STAAR English I Assessment Special Provision.",F:"englishLearners/staarEngISpecialProvision6thru12",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("LPAC Date:","Optional"),C5(!1),D5(!1,"Emergent Bilingual")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4874{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["LPAC Date"],["Enrolled Grade"],["Course Participation"],["Assessment"]]}],['SG_DATE("LPAC Date")',"Student ID"],a)}});
4875W(K5,{name:"Instructional Accommodations",N:"Instructional Accommodations",C:"A report of all instructional accommodations present in EB Instructional Accommodations forms.",F:"englishLearners/instructionalAccommodations",inputs:function(a){return[B5(a),x5(!0),z5("Accommodations Start:","Optional"),C5(!1),D5(!1,"Emergent Bilingual")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4876{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Accommodations Start"],["Accommodations End"],["Academic Year"],["Accommodation"],["Subject"]]}],['SG_DATE("Accommodations Start")',"Student ID"],a)}});
4877W(K5,{name:"Instructional Accommodations TEA Checklist",N:"Instructional Accommodations Checklist",C:"A report of all instructional accommodations present in English Learner Instructional Accommodations Checklist forms.",F:"englishLearners/instructionalAccommodationsChecklist",inputs:function(a){return[B5(a),x5(!0),z5("Date:","BOY, MOY, EOY Dates; Optional"),C5(!1),D5(!1,"Emergent Bilingual")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4878{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Academic Year"],["Date"],["Time of Year"],["Accommodation"]]}],['SG_DATE("Date")',"Student ID"],a)}});W(L5,{name:"RTI/MTSS Deadlines",C:"A list of all Response to Intervention deadlines in your district.",F:"rti/deadlines",inputs:function(a){return[B5(a),C5(!1),z5("Due:","Optional")]},query:function(a){return H5(["RTI/MTSS"],a)}});
4879W(L5,{name:"Tier 1 Plans",N:"RTI T1",C:"Tier 1 intervention plan information.",F:"rti/tier1plan",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4880{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4881W(L5,{name:"Tier 1 Plan Caseload",N:"RTI T1 Plan Caseload",C:"The lead for current Tier 1 RTI Plans.",F:"rti/tier1PlanCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4882{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4883W(L5,{name:"Tier 1 Plan Interventions",N:"RTI T1 Interventions",C:"Tier 1 plan interventions information.",F:"rti/tier1planInterventions",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4884{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4885W(L5,{name:"Tier 2 Plans",N:"RTI T2",C:"Tier 2 intervention plan information.",F:"rti/tier2plan",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4886{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4887W(L5,{name:"Tier 2 Plan Caseload",N:"RTI T2 Plan Caseload",C:"The lead for current Tier 2 RTI Plans.",F:"rti/tier2PlanCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4888{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4889W(L5,{name:"Tier 2 Plan Interventions",N:"RTI T2 Interventions",C:"Tier 2 plan interventions information.",F:"rti/tier2planInterventions",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4890{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4891W(L5,{name:"Missing Tier 2 RTI Intervention Progress",N:"RTI Tier 2 Progress Report Compliance",C:"Contains one record for each intervention documented in a Tier 2 RTI Plan that does not have progress reported for it on a `Tier 2 RTI Progress Report` during the selected date range.",F:"rti/tierTwoGoalProgress",inputs:function(a){return[B5(a),x5(!1),C5(!0),D5(!0,"RTI/MTSS"),A5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4892{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Intervention Number","Tier 2 Intervention Number"],["Intervention Goal"],["Intervention"],["Progress Available"]]}],["Student ID","Intervention Number"],a)}});
4893W(L5,{name:"Tier 3 Plans",N:"RTI T3",C:"Tier 3 intervention plan information.",F:"rti/tier3plan",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4894{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4895W(L5,{name:"Tier 3 Plan Caseload",N:"RTI T3 Plan Caseload",C:"The lead for current Tier 3 RTI Plans.",F:"rti/tier3PlanCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4896{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4897W(L5,{name:"Tier 3 Plan Interventions",N:"RTI T3 Interventions",C:"Tier 3 plan interventions information.",F:"rti/tier3planInterventions",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4898{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Number"],["Area"],["Current"],["Goal"],["Intervention"],["Responsible"],["Location"],["Frequency (Mins)"],["Frequency (Days/Week)"],["Frequency (Weeks)"],["Duration Begin"],["Duration End"],["Progress Method"],["Progress Frequency"],["Comments"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4899W(L5,{name:"Missing Tier 3 RTI Intervention Progress",N:"RTI Tier 3 Progress Report Compliance",C:"Contains one record for each intervention documented in a Tier 3 RTI Plan that does not have progress reported for it on a `Tier 3 RTI Progress Report` during the selected date range.",F:"rti/tier3GoalProgress",inputs:function(a){return[B5(a),x5(!1),C5(!0),D5(!0,"RTI/MTSS"),A5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4900{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Intervention Number","Tier 3 Intervention Number"],["Intervention Goal"],["Intervention"],["Progress Available"]]}],["Student ID","Intervention Number"],a)}});
4901W(L5,{name:"Districtwide Assessments",N:"RTI Districtwide Assessments",C:"[Tier 1/2/3 RTI Plan Section 2] Student participation in districtwide assessments.",F:"rti/districtwideAssessments",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4902{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4903W(L5,{name:"Districtwide Assessment Accommodations",N:"RTI Districtwide Accommodations",C:"[Tier 1/2/3 RTI Plan Section 2] Districtwide assessment accommodations.",F:"rti/districtwideAssessmentAccommodations",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4904{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["SY/Term/Subj"],["Assessment Grade","Grade"],["Assessment Title"],["Participation"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID"],a)}});
4905W(L5,{name:"State (STAAR) Assessments",N:"RTI State Assessments",C:"[Tier 1/2/3 RTI Plan Section 2] State (STAAR) assessments.",F:"rti/stateAssessments",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4906{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4907W(L5,{name:"State (STAAR) Assessment Accommodations",N:"RTI State Accommodations",C:"[Tier 1/2/3 RTI Plan Section 2] State (STAAR) assessment accommodations.",F:"rti/stateAssessmentAccommodations",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4908{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4909W(L5,{name:"TELPAS Assessments",N:"RTI TELPAS Assessments",C:"[Tier 1/2/3 RTI Plan Section 2] TELPAS assessments.",F:"rti/telpasAssessments",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4910{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4911W(L5,{name:"TELPAS Assessment Accommodations",N:"RTI TELPAS Accommodations",C:"[Tier 1/2/3 RTI Plan Section 2] TELPAS assessment accommodations.",F:"rti/telpasAssessmentAccommodations",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"RTI/MTSS")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4912{index_objects_reports:[["Student ID"],["Last Name"],["First Name"],["Building"],["Grade"],["State Reporting ID","Reporting ID"]]},{index_documents_reports:[["Meeting Date"],["Start Date"],["End Date"],["Subject"],["Assessment Grade"],["Assessment"],["Accommodation"]]}],['SG_DATE("Meeting Date")',"Student ID","Subject"],a)}});
4913W(M5,{name:"Gifted/Talented Deadlines",C:"A list of all Gifted/Talented deadlines in your district.",F:"gifted/deadlines",inputs:function(a){return[B5(a),C5(!1),z5("Due:","Optional")]},query:function(a){return H5(["Gifted/Talented"],a)}});
4914W(M5,{name:"G/T Education Plan Caseload",C:"The lead for current G/T Education Plans.",F:"gifted/gtCaseload",inputs:function(a){return[B5(a),x5(!1),w5("Effective"),z5("Meeting Date:","Optional"),C5(!1),D5(!1,"Gifted/Talented")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4915{index_users:[["Lead Last","last_name"],["Lead First","first_name"],["Lead Email","user_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Plan Type"],["Start Date"],["End Date"]]}],["Lead Last","Lead First","Student ID",'SG_DATE("Meeting Date")'],a)}});
4916W(M5,{name:"Gifted/Talented Referral",N:"G/T Referral",C:"Referrals for the Gifted/Talented program including who initiated them and whether consent was received.",F:"gifted/gtReferral",input
4916s:function(a){return[B5(a),x5(!1),E5(),z5("Referral Date:","Optional"),C5(!1),D5(!0,"Gifted/Talented")]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4917{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Referral Date"],["Referred By"],["Relationship"],["Parental Consent"],["Parental Consent Date"]]}],["Student ID",'SG_DATE("Referral Date")'],a)}});
4918W(Q5,{name:"Students",N:"Object",C:"All students in the system.",F:"system/students",kd:!0,inputs:function(){return[C5(!1)]},query:function(a){return V([{index_objects_reports:[["SIS Student ID"],["Student ID"]]},{index_objects:[["SIS Internal ID","sis_internal_id"]]},{index_objects_reports:[["Reporting ID"],["First Name"],["Middle Name"],["Last Name"],["Date of Birth"],["Grade"],["Gender"],["Street"],["City"],["State"],["Zip"],["District of Residence"],["County of Residence"],["District of Service"],
4919["Building"],["Building Reporting ID"],["Medicaid"]]},{index_objects:[["District Enrollment","district_enrollment"]]},{index_objects_enrollments:[["Special Education Program Participation","Special Education"],["Section 504 Program Participation","Section 504"],["Emergent Bilingual Program Participation","Emergent Bilingual"],["RTI/MTSS Program Participation","RTI/MTSS"],["Gifted/Talented Program Participation","Gifted/Talented"]]}],["Student ID"],a)}});
4920W(Q5,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",kd:!0,query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["Roles","user_role"],["Buildings","buildings"],["LDAP Username","ldap_user_name"],["Force Local Authentication","force_local_authentication"],["Last Login"]]}],["Last Name","First Name","Email"],a)}});
4921W(Q5,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(a){return[B5(a),w5("Effective"),z5("Meeting Date:","Optional"),C5(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"],["SIS Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],
4922["End Date"],["Program"],["ProgramAbbr"],["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a)}});
4923W(Q5,{name:"Student Program Participation",N:"Program Participation",C:"A report of student program participation records, including start date, end date and program. Records are only returned for programs with a cutover date specified.",F:"system/programParticipation",inputs:function(){return[C5(!1),hTa(),F5("Emergent Bilingual"),F5("Gifted/Talented"),F5("RTI/MTSS"),F5("Section 504"),F5("Special Education")]},query:function(a){return V([{index_objects:[["Student ID","print_id"],["SIS Student ID",
4924"object_name"],["Internal SIS Student ID","sis_internal_id"]]},{index_objects_enrollments:[["Start Date","start"],["End Date","end"],["Program","program"],["Notes","notes"]]}],["Start Date","Student ID"],a)}});W(Q5,{name:"Deadlines",C:"These reports highlight upcoming deadlines for all special programs",F:"system/allDeadlines",inputs:function(a){return[B5(a),C5(!1),G5("Program:",a.activePrograms),z5("Due:","Optional")]},query:function(a){return iTa(a)}});W(Q5,hJ());W(Q5,iJ());W(Q5,jJ());W(Q5,kJ());var nTa=VI("wi"),R5=YI(nTa,"System","System-level administative reports.");function S5(){return{name:"Meeting Date:",type:"range",C:"Optional"}}function T5(){return{name:"Document Status:",type:"checkbox",options:[{text:"Complete",check:!0},{text:"Incomplete",check:!1}],required:!0,C:"Includes data from complete/incomplete documents in SameGoal"}}function U5(a){return{name:a+" Date:",type:"date",Pd:TI(),C:"Optional"}}
4925function V5(){return{name:"Dates:",type:"checkbox",options:[{text:"Valid",check:!0},{text:"Invalid",check:!1}],required:!0}}function W5(){return{name:"Attachments:",type:"select",options:[{text:"With or without",check:!0},{text:"Without only"},{text:"With only"}]}}
4926function X5(a){return{name:"District Enrollment:",type:"checkbox",options:[{text:"Pre-Enrolled",check:!0},{text:"Enrolled",check:!0},{text:"Transferred",check:a},{text:"Withdrew",check:a},{text:"Dropped Out",check:a},{text:"Graduated",check:a},{text:"Historical/Other",check:a},{text:"Historical/Idle",check:a}],required:!0,Ae:"/iep/g/support/online-guides/user-guide/student-enrollment-status",C:'Pre-Enrolled and Enrolled students are "active". All others are "inactive".'}}
4927W(R5,{name:"Users",N:"User",C:"A list of all users in your district.",F:"system/users",query:function(a){return V([{index_users:[["Last Name","last_name"],["First Name","first_name"],["Email","user_name"],["User Roles","user_role"],["Last Login"]]}],["Last Name","First Name","Email"],a)}});
4928W(R5,{name:"Document Viewer",N:"Doc Viewer",C:"A list of all completed plan documents and effective dates. Useful for alerts and document viewer integrations with student information and third-party systems.",ld:PI(),F:"system/docViewer",kd:!0,inputs:function(){return[U5("Effective"),S5(),X5(!0)]},query:function(a){return V([{index_objects_reports:[["Student ID"]]},{index_forms:[["Form","form_name"]]},{index_documents_reports:[["AltViewForm"],["Start Date"],["End Date"],["Program"],["ProgramAbbr"],
4929["ProgramNote"]]},{index_documents:[["DocViewer Reference"]]}],["Student ID","Form","Start Date","End Date"],a)}});var Y5=YI(nTa,"Special Education","Special Education administrative reports."),oTa=bJ(Y5,"Compliance","Special Education compliance reports. The reports highlight upcoming due dates, meeting information, etc."),pTa=bJ(Y5,"Management","Special Education management reports. These reports highlight caseload and staffing."),Z5=bJ(Y5,"Insights","Special Education insights reports. These reports surface key data and information from documents.");
4930W(oTa,{name:"IEP Last Dates",N:"IEP Default",C:"Last (most recent) IEP meeting date for current IEPs.",F:"spedCompliance/iepLastDates",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),W5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4931{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]}],'SG_DATE("Meeting Date");Last Name;First Name;Student ID;Lead Last;Lead First'.split(";"),a)}});
4932W(pTa,{name:"IEP Caseload",N:"IEP Default",C:"The lead for current IEPs.",F:"spedManagement/iepCaseload",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),W5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4933"last_name"],["Lead First","first_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"]]}],["Lead Last","Lead First","Last Name","First Name","Student ID"],a)}});
4934W(pTa,{name:"ER Caseload",N:"ER Default",C:"The lead for current ERs.",F:"spedManagement/erCaseload",inputs:function(){return[T5(),U5("ER Effective"),S5(),V5(),W5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_users:[["Lead Last",
4935"last_name"],["Lead First","first_name"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_documents_reports:[["Meeting Date"],["Evaluation Type"],["Eligibility Determination"],["Impairments"],["Needs Special Education"]]}],["Lead Last","Lead First","Last Name","First Name","Student ID"],a)}});
4936W(Z5,{name:"IEP Special Factors",C:"IEP special factors for current IEPs.",F:"insights/iepSpecialFactors",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4937["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Behavior Which Impedes Learning"],["ELL"],["Blind or Visually Impaired"],["Communication Needs"],["Needs Assistive Technology"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4938W(Z5,{name:"IEP Goals",C:"Goals for current IEPs.",F:"insights/iepGoals",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],["First Name"],
4939["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Goal"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4940W(Z5,{name:"IEP Summary: Supplementary Aids and Services",C:"Current IEP supplementary aids and services.",F:"insights/iepSummarySupplementaryAids",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4941{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Service"],["Frequency"],["Location"],["Duration"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4942W(Z5,{name:"IEP Summary: Special Education Services",C:"Current IEP special education services.",F:"insights/iepSummarySpecialEducation",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4943{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Summary"],["Frequency"],["Location"],["Duration"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4944W(Z5,{name:"IEP Summary: Related Services",C:"Current IEP related services.",F:"insights/iepSummaryRelatedServices",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4945["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["None needed"],["(AT) Assistive Technology"],["(AT) Freq"],["(AT) Location"],["(AT) Duration"],["(AU) Audiology"],["(AU) Freq"],["(AU) Location"],["(AU) Duration"],["(C) Counseling"],["(C) Freq"],["(C) Location"],["(C) Duration"],["(EI) Educational Interpreting"],["(EI) Freq"],["(EI) Location"],
4946["(EI) Duration"],["(MS) Medical Services"],["(MS) Freq"],["(MS) Location"],["(MS) Duration"],["(OT) Occupational Therapy"],["(OT) Freq"],["(OT) Location"],["(OT) Duration"],["(OM) Orientation and Mobility"],["(OM) Freq"],["(OM) Location"],["(OM) Duration"],["(PT) Physical Therapy"],["(PT) Freq"],["(PT) Location"],["(PT) Duration"],["(PS) Psychological Services"],["(PS) Freq"],["(PS) Location"],["(PS) Duration"],["(R) Recreation"],["(R) Freq"],["(R) Location"],["(R) Duration"],["(RC) Rehabilitation Counseling Services"],
4947["(RC) Freq"],["(RC) Location"],["(RC) Duration"],["(SH) School Health Services"],["(SH) Freq"],["(SH) Location"],["(SH) Duration"],["(SN) School Nurse Services"],["(SN) Freq"],["(SN) Location"],["(SN) Duration"],["(SW) Social Work Services"],["(SW) Freq"],["(SW) Location"],["(SW) Duration"],["(SL) Speech Language Services"],["(SL) Freq"],["(SL) Location"],["(SL) Duration"],["(T) Transportation"],["(T) Freq"],["(T) Location"],["(T) Duration"],["(O) Other"],["(O) Freq"],["(O) Location"],["(O) Duration"],
4948["(O) Description"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4949W(Z5,{name:"IEP Summary: Program Modifications",C:"Current IEP program modifications.",F:"insights/iepSummaryProgramModifications",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4950["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Modifications"],["Frequency"],["Location"],["Duration"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4951W(Z5,{name:"IEP ESY: Special Education Services",C:"Current IEP ESY special education services.",F:"insights/iepESYSpecialEducation",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4952{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Service"],["Frequency"],["Location"],["Begin"],["End"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4953W(Z5,{name:"IEP ESY: Related Services",C:"Current ESY related services.",F:"insights/iepESYRelatedServices",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4954["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Service"],["Frequency"],["Location"],["Begin"],["End"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4955W(Z5,{name:"IEP ESY: Supplementary Aids and Services",C:"Current ESY supplementary aids and services.",F:"insights/iepESYSupplementaryAids",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4956{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Service"],["Frequency"],["Location"],["Begin"],["End"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4957W(Z5,{name:"IEP ESY: Program Modifications",C:"Current ESY program modifications.",F:"insights/iepESYProgramModifications",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4958["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Modifications"],["Frequency"],["Location"],["Begin"],["End"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4959W(Z5,{name:"IEP Testing: District Wide Assessment",C:"District Wide Assessment testing information for current IEPs.",F:"insights/iepTestingDistrictWideAssessment",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4960{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["DWA Tests"],["DWA Accommodations Needed"],["DWA Accommodations"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4961W(Z5,{name:"IEP Testing: ACCESS-ELLs",C:"ACCESS-ELLs testing information for current IEPs.",F:"insights/iepTestingAccessELLs",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4962{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["ACCESS for ELLs"],["Speaking w/o Acc"],["Speaking w/Acc"],["Speaking Acc"],["Listening w/o Acc"],["Listening w/Acc"],["Listening Acc"],["Reading w/o Acc"],["Reading w/Acc"],["Reading Acc"],["Writing w/o Acc"],["Writing w/Acc"],["Writing Acc"],["Alt ACCESS for ELLs"],
4963["Alt Speaking w/o Acc"],["Alt Speaking w/Acc"],["Alt Speaking Acc"],["Alt Listening w/o Acc"],["Alt Listening w/Acc"],["Alt Listening Acc"],["Alt Reading w/o Acc"],["Alt Reading w/Acc"],["Alt Reading Acc"],["Alt Writing w/o Acc"],["Alt Writing w/Acc"],["Alt Writing Acc"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4964W(Z5,{name:"IEP Testing: ACT Writing WorkKey (Workkey deprecated 05/2018)",C:"ACT Writing testing information for current IEPs.",F:"insights/iepTestingACTWritingWorkKey",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4965{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Reading w/o Acc"],["Reading w/Acc"],["Reading Acc"],["English w/o Acc"],["English w/Acc"],["English Acc"],["Writing w/o Acc"],["Writing w/Acc"],["Writing Acc"],["Mathematics w/o Acc"],["Mathematics w/Acc"],["Mathematics Acc"],["Science w/o Acc"],["Science w/Acc"],
4966["Science Acc"],["Applied Math w/o Acc"],["Applied Math w/Acc"],["Applied Math Acc"],["Workplace Doc w/Acc"],["Workplace Doc w/o Acc"],["Workplace Doc Acc"],["Graphic Literacy w/o Acc"],["Graphic Literacy w/Acc"],["Graphic Literacy Acc"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4967W(Z5,{name:"IEP Testing: Aspire Early HS",C:"Aspire Early HS testing information for current IEPs.",F:"insights/iepTestingAspireEarlyHS",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4968{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Grade ACT Aspire Early HS"],["Reading w/o Acc"],["Reading w/Acc"],["Reading Acc"],["English w/o Acc"],["English w/Acc"],["English Acc"],["Writing w/o Acc"],["Writing w/Acc"],["Writing Acc"],["Math w/o Acc"],["Math w/Acc"],["Math Acc"],["Science w/o Acc"],
4969["Science w/Acc"],["Science Acc"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4970W(Z5,{name:"IEP Testing: DLM",C:"DLM testing information for current IEPs.",F:"insights/iepTestingDLM",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4971["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["DLM Grade"],["Effective Start"],["Effective End"],["Category 1"],["Category 2"],["Category 3"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4972W(Z5,{name:"IEP Testing: Forward",C:"Forward testing information for current IEPs.",F:"insights/iepTestingForward",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4973["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"],["Forward Grade"],["Supports"],["ELA w/o Acc"],["ELA w/Acc"],["ELA Acc"],["Math w/o Acc"],["Math w/Acc"],["Math Acc"],["Sci w/o Acc"],["Sci w/Acc"],["Sci Acc"],["SS 
4973w/o Acc"],["SS w/Acc"],["SS Acc"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4974W(Z5,{name:"Educational Environment Codes",C:"EE-1 Educational Environment Codes information.",F:"insights/iepTestingEducationalEnvironmentCodes",inputs:function(){return[T5()]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},{index_objects_reports:[["Last Name"],
4975["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["EE-1 Date"],["[Age 6-21] EE-1 Setting"],["[Age 3-5] EE-1 Reg EC Setting"],["[Age 3-5] EE-1 Sped EC Setting"],["[Age 3-5] EE-1 Not Reg or Sped EC Setting"]]}],["Last Name","First Name","Student ID","Lead Last","Lead First"],a)}});
4976W(Z5,{name:"Special Education Disability and Setting",C:"Disability and Special Ed Setting information for current IEPs from IEP cover page.",F:"insights/iepTestingSpecialEdDisabilitySetting",inputs:function(){return[T5(),U5("IEP Effective"),S5(),V5(),X5(!1)]},query:function(a){return V([{index_documents:[["Doc URL","'/iep/#pageName=form&docId=' || SPLIT_PART(idr.\"doc_id\", '_', 1) || '&formId=' || id.\"form_id\" || CASE WHEN SPLIT_PART(idr.\"doc_id\", '_', 2) != '2147483647' THEN '&version=' || SPLIT_PART(idr.\"doc_id\", '_', 2) ELSE '' END || '&collapse'"]]},
4977{index_documents_reports:[["Meeting Date"],["Effective Start"],["Effective End"]]},{index_objects_reports:[["Last Name"],["First Name"],["Student ID"],["Grade"],["Building"]]},{index_users:[["Lead Last","last_name"],["Lead First","first_name"]]},{index_documents_reports:[["Primary Disability"],["Secondary Disability"],["Special Ed Setting"]]}],'SG_DATE("Meeting Date");Last Name;First Name;Student ID;Lead Last;Lead First'.split(";"),a)}});W(R5,hJ());W(R5,iJ());W(R5,jJ());W(R5,kJ());function $5(){W_.call(this)}x($5,W_);
4978$5.prototype.K=function(a,b,c,d){var e=new Set(b),f=0,g=[],k=[],l=[],n=UJ,q=MJ;q=q.filter(function(Q){return!fz(Q,9,!1)}).map(function(Q){return{domain:L(Q,1,""),leaName:L(Q,5,"")}});q.push({domain:n,leaName:SJ});var t=kK(),u=new Ce(La.location.hash.substr(1));b=u.get("path","");u.remove("path");k="#"+u.toString()+"&path=";var v=k+b;l.push({name:"Reports",url:k});k=$I();for(var y=b.split("/"),G="#"+u.toString()+"&path=",K=1;K<y.length;K++)switch(u=be(y[K]),G+="/"+u,f){case 0:l.push({name:k[u].kb(),
4979url:G});0<k[u].Si.length?(f=1,g=k[u].Si,k=[]):k=k[u].St();break;case 1:f=2;var J=g[u];l.push({name:J.name,url:G});break;default:throw Error("invalid report path");}switch(f){case 2:this.ub(J.name);break;default:this.ub("Reports")}k=qTa(k,d);g=g.filter(function(Q){return rTa(Q,d)});u=TAa(c,J,d);c=null;switch(f){case 0:l=ay(T2,{title:l[l.length-1].name,rz:l});t=ay(WPa,{bN:k,url:v,Ze:WJ});X_(this,[l],t);break;case 1:l=ay(T2,{title:l[l.length-1].name,rz:l});t=ay(UPa,{Zh:g,url:v,Ze:WJ});X_(this,[l],t);
4980break;case 2:g=zF();v=yF(AF);null!=J.inputs?J.Vd=J.inputs({buildings:u,activePrograms:t,availableDomains:q,currentDomain:n},g,v):J.Vd=[];2<=q.length&&3<=g&&(c={name:"LEAs:",Ae:"https://samegoal.com/iep/g/company/blog/multi-domain-reports-2024",type:"checkbox",options:q.map(function(Q){return{text:Q.leaName+" ("+Q.domain+")",value:Q.domain,check:Q.domain==n}}),required:!0,Qr:"domainCheckbox",ld:"Linked domains to access"},J.Vd.unshift(c));l=ay(T2,{title:l[l.length-1].name,rz:l});t=(new U2(J,!1,!1)).g;
4981X_(this,[l],t);if(1<q.length){var O=document.querySelectorAll("input.buildingCheckbox"),P=document.querySelectorAll("input.domainCheckbox");P.forEach(function(Q){Q.addEventListener("change",function(){var R=!0,aa=Array.from(P);aa=m(aa);for(var fa=aa.next();!fa.done;fa=aa.next())if(fa=fa.value,fa.value!=n==fa.checked){R=!1;break}Array.from(O).forEach(function(za){za.disabled=!R;za.checked=!R||e.has(za.value)})})})}if(Qv&&(q=gw("us"),q.length))for(l=0;l<q.length;l++)u=q[l].id.split("clearDate_")[1],
4982(t=z("input_"+u))&&D(q[l],"click",bb(a6,void 0,t));q=z("report_");null!=q&&D(q,"submit",bb(b6,void 0,J,a,b,n,c));break;default:throw Error("unexpected reports page");}sTa()};function sTa(){for(var a={},b=m(document.querySelectorAll("[id ^= report_description_]")),c=b.next();!c.done;a={js:a.js},c=b.next())a.js=c.value,a.js.onclick=function(d){return function(e){e.preventDefault();d.js.parentElement.classList.toggle("Mm");d.js.parentElement.classList.toggle("Fm")}}(a)}
4983function qTa(a,b){return a.filter(function(c){a:{c=m(aJ(c));for(var d=c.next();!d.done;d=c.next())if(rTa(d.value,b)){c=!0;break a}c=!1}
4983return c})}function rTa(a,b){b=b[a.F];return WJ||!a.kd&&b&&0<b.length}
4984function b6(a,b,c,d,e,f){var g={};g.domain=d;g.domainOption=e;for(d=0;d<a.Vd.length;d++)switch(e=a.Vd[d],e.type){case "radio":for(var k=gw("input_"+d),l=0;l<k.length;l++)if(k[l].checked){g[e.name]=k[l].value;break}break;case "checkbox":k=gw("input_"+d);var n=[];for(l=0;l<k.length;l++)k[l].checked&&n.push(k[l].value);g[e.name]=n.sort();g[e.name+"_length"]=k.length;if(e.required&&0==n.length){f.preventDefault();alert("At least one "+e.name.replace(/:+$/,"")+" is required");return}break;case "select":l=
4985z("input_"+d);g[e.name]=l.options[l.selectedIndex].value;break;case "date":l=z("input_"+d);g[e.name]=l.value;if(""==l.value&&e.required){f.preventDefault();alert(e.name.replace(/:+$/,"")+" is required");return}break;case "range":l=z("input_"+d+"_start");g[e.name+"_start"]=l.value;k=z("input_"+d+"_end");g[e.name+"_end"]=k.value;if((""==l.value||""==k.value)&&e.required){f.preventDefault();alert("Both "+e.name.replace(/:+$/,"s")+" are required");return}break;case "document_id":l=z("input_"+d);l=new Set(l.value.replace(/,/g,
4986"\n").split("\n").filter(function(q){return 0<q.length}));if(0==l.size&&e.required){f.preventDefault();alert(e.name.replace(/:+$/,"")+" is required");return}if(!ka(l).concat().every(function(q){return!isNaN(parseInt(q,10))&&isFinite(q)})){f.preventDefault();alert("All "+e.name.replace(/:+$/,"s")+" must be numeric");return}g[e.name]=ka(l).concat().join(",");break;case "user_search":case "student_search":(k=(l=z(e.type))&&l.__component)?(g[e.name]=k.getValue()[0],g[e.name+"_label"]=k.jD(g[e.name])):
4987(g[e.name]=l.querySelector('input[type="hidden"]').value,g[e.name+"_label"]=l.innerText);if(!g[e.name]&&e.required){f.preventDefault();alert(e.name.replace(/:+$/,"")+" is required");return}break;default:throw Error("unknown report input type: "+e.type);}f=z("report_");f.name.value=a.name;f.vars.value=WG(g);f.endpoint.value=a.F;f.fixed.value=a.fixed;f.state.value=b;f.path.value=c;a=new Ce(La.location.hash.substr(1));b=z("sleep");c=z("rows");f.sleep.value=b&&b.value?b.value:a.get("sleep","0");f.rows.value=
4988c&&c.value?c.value:a.get("rows","0")}function a6(a){a.value=""};function c6(a,b,c){f_.call(this,a,b,c)}x(c6,$_);c6.prototype.K=function(){c6.D.K.call(this);this.view.K()};function tTa(a){a=a.oX;return Y('<div class="'+Z("Ce")+'"><table width="100%" class="'+Z("le")+'"><tr><td class="'+Z("Hm")+'"><a href="#pageName=buildings_list">Buildings</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=calendar_building_list">Building Calendars</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=instance_csv_loader">Bulk Loader</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=load_data">Data Loader</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=data_transfer_list">Data Imports/Exports</a></td></tr><tr><td class="'+
4989Z("Hm")+'"><a href="#pageName=instance_banks">District Banks</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=instance_form">District Information</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=instance_forms_list">Form Settings</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=grades_list">Grade Levels</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=pdf_import_list">PDF Import</a></td></tr>'+(a?'<tr><td class="'+Z("Hm")+'"><a href="#pageName=pdf_export_list">PDF Export</a></td></tr>':
4990"")+'<tr><td class="'+Z("Hm")+'"><a href="#pageName=instance_technical">Technical Settings</a></td></tr><tr><td class="'+Z("Hm")+'"><a href="#pageName=user_roles_list">User Roles</a></td></tr></table></div>')};function d6(){W_.call(this)}x(d6,W_);d6.prototype.K=function(){this.ub("Settings");var a=2<=zF(),b=ay(b0,{title:"Settings"});a=ay(tTa,{oX:a});X_(this,[b],a)};function e6(a,b,c){f_.call(this,a,b,c)}x(e6,$_);h=e6.prototype;h.start=function(){this.ka("ga",this.MQ,this);var a=++RQ;dV(this,a,"initial");sQ(a,0)};h.MQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.yc(a),this.Ya()):this.ka("ga",this.MQ,this)};h.K=function(){e6.D.K.call(this);this.view.K(this.v)};h.jc=function(a){e6.D.jc.call(this,a);this.ka("ga",this.LQ,this);var b=++RQ;dV(this,b,"save");sQ(b,2,void 0,void 0,void 0,void 0,void 0,a.YB,a.EF)};
4991h.LQ=function(a){eV(this,a.Va()?a.Sa():null,"save")?this.Kd(a,"hc"):this.ka("ga",this.LQ,this)};h.yc=function(a){var b=ME(a)[0];this.v={};a=0;this.v.YB=null!=I(b,24)?L(b,24,""):null;this.v.EF=L(b,44,0);b=null!=I(b,25)?N(b,U,25):null;null!==b&&(this.v.xU=b.xb()?b.getError():null,a++);return a};function f6(){W_.call(this)}x(f6,W_);h=f6.prototype;h.jn=null;h.rr=null;
4992h.K=function(a){this.ub("Technical Settings");var b=ay(c0,{title:"Technical Settings",Xb:"#pageName=instance_settings",Ce:"settings"}),c=ay(NSa,{username:UJ,RU:2<=zF()});X_(this,[b],c);this.jn=new oX(void 0,0,void 0);this.jn.render(z("sftp_auth_keys"));this.rr=uX([{label:"Always",Oa:0},{label:"Daily",Oa:1},{label:"Weekly",Oa:2},{label:"Monthly",Oa:3},{label:"Never",Oa:4}],"",15,"Please Select ...");this.rr.render($v().w("reauth_select"));b=[this.jn,this.rr];this.hd(a);Y_(this,b,0,"Save changes")};
4993h.$=function(){f6.D.$.call(this);C(this.jn);C(this.rr)};h.hd=function(a){this.jn.setValue(a.YB,a.xU);this.rr.setValue(a.EF,void 0)};h.gc=function(){var a={};a.YB=this.jn.getValue();a.EF=this.rr.getValue();return a};function g6(a,b,c){f_.call(this,a,b,c)}x(g6,$_);h=g6.prototype;h.start=function(){this.ka("ga",this.OQ,this);var a=++RQ;dV(this,a,"initial");sQ(a,0)};h.OQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.yc(a),this.Ya()):this.ka("ga",this.OQ,this)};h.K=function(){g6.D.K.call(this);this.view.K(this.v)};h.jc=function(a){g6.D.jc.call(this,a);this.ka("ga",this.NQ,this);var b=++RQ;dV(this,b,"save");sQ(b,2,void 0,void 0,void 0,a.Hn)};
4994h.NQ=function(a){eV(this,a.Va()?a.Sa():null,"save")?this.Kd(a,"cc"):this.ka("ga",this.NQ,this)};h.yc=function(a){var b=ME(a)[0];this.v={};a=0;this.v.Hn=null!=I(b,5)?b.Fx():null;b=null!=I(b,15)?N(b,U,15):null;null!==b&&(this.v.dD=b.xb()?b.getError():null,a++);return a};function h6(){W_.call(this);this.h=null}x(h6,W_);h6.prototype.K=function(a){this.ub("District Information");var b=ay(KMa),c=ay(LMa,{vh:"basics"}),d=ay(MSa);X_(this,[b,c],d);this.h=rX("Full name:",100);this.h.render(z("full_name_input"));Y_(this,[this.h],100);this.hd(a)};h6.prototype.$=function(){h6.D.$.call(this);C(this.h)};h6.prototype.hd=function(a){this.h.setValue(a.Hn,a.dD)};h6.prototype.gc=function(){var a={};a.Hn=this.h.getValue();return a};function i6(a,b,c){w3.call(this,a,b,c)}x(i6,w3);i6.prototype.label="";i6.prototype.Dd=function(a){var b=a.na("pageName");if(!w(b))return h_(this),!1;this.mg=b;var c=a.na("labelName");if(!w(b))return h_(this),!1;this.label=c=c.replace(/\+/g," ");a=a.na("page");w(a)||(this.ir=parseInt(a,10));return!0};i6.prototype.K=function(){i6.D.K.call(this);this.view.K(this.mg,this.Ab,this.g,this.forms,void 0,void 0,void 0,void 0,this.label)};function j6(a,b,c){f_.call(this,a,b,c)}x(j6,$_);j6.prototype.K=function(){j6.D.K.call(this);this.view.K()};j6.prototype.jc=function(a){j6.D.jc.call(this,a);this.ka("Aa",this.g,this);var b=++RQ;dV(this,b,"save");zCa(b,1,a.password,a.RM,a.xE,a.wE)};j6.prototype.g=function(a){eV(this,a.Va()?a.Sa():null,"save")?(this.Kd(a,void 0,void 0,!0),j_(this,"save")||0<L(a,26,0)||(window.location.href="/iep/#",window.location.reload())):this.ka("Aa",this.g,this)};
4995j6.prototype.yc=function(a){this.v={};var b=0;a=a.Mc()[0];var c=S(a,dC,24)[0];this.v.password="";this.v.xE=c.Ic();this.v.RM=L(c,1,"");this.v.wE="";a=null!=I(a,25)?N(a,U,25):null;null!==a&&(this.v.e0=a.xb()?a.getError():null,b++);return b};function uTa(a){Ta(a.EI);var b=a.EI;a=a.link;for(var c="",d=Math.max(0,Math.ceil(b.length)),e=0;e<d;e++){var f=e;c+='<div id="acctContainer'+Z(f)+'" class="'+Z("i")+'"><div id="acct'+Z(f)+'" class="'+Z("td")+" "+Z("j")+" "+(BL(a,"")?"":Z("i"))+'" style="display: flex;"><div class="'+Z("qd")+'" style="background-color: '+Z(NL(b[f].backgroundColor))+"; color: "+Z(NL(b[f].color))+'"> '+X(b[f].initial)+' </div><div style="padding-left: 1em; min-width: 0;"><div class="'+Z("pc")+" "+Z("Lu")+'"> '+X(b[f].district)+
4996' </div><div class="'+Z("Cd")+" "+Z("Lu")+'" style="font-size: .8em"> '+X(b[f].domain)+' </div><div class="'+Z("Cd")+" "+Z("Lu")+'" style="font-size: .8em"> '+X(b[f].user_name)+' </div></div></div><div id="removeAcct'+Z(f)+'" class="'+Z("H")+" "+Z("k")+'">close</div></div>'}return Y(c)};function k6(a){a=void 0===a?"":a;Rx.call(this);this.Vh=a;this.ki=[];this.$y=0;this.g=-1;this.nv={};this.l=A("accts_wrapper");this.h=vTa(this)}pa(k6,Rx);
4997function vTa(a){var b;return r(function(c){if(1==c.g)return b=lK(),0==b.length?c.return():p(c,fetch(window.location.origin+"/iep/accountSearch",{method:"POST",body:JSON.stringify({domainUserList:JSON.stringify(b),url:a.Vh})}).then(function(d){return d.json()}).then(function(d){d&&(null!=d.InvalidAccounts&&d.InvalidAccounts.forEac
4997h(function(e){return wTa(e)}),null!=d.ValidAccounts&&d.ValidAccounts.forEach(function(e){var f=new rB;M(f,1,e.user_id);M(f,5,e.first_name);M(f,6,e.last_name);f=xV(f);e.backgroundColor=
4998f.Ed;e.color=f.vk;e.initial=f.$d;a.ki.push(e)}))}),2);a.ki=xTa(a.ki);a.ki.sort(function(d,e){var f=d.district.localeCompare(e.district);return 0!=f?f:d.user_name.localeCompare(e.user_name)});yTa(a);ua(c)})}function xTa(a){if(!OJ)return a;var b=new Set;MJ.forEach(function(d){b.add(L(d,1,"")+":"+d.Ic())});var c=VJ.toUpperCase();return a=a.filter(function(d){return d.state!=c||d.last_name!=RJ||d.domain==UJ&&d.user_id==OJ||b.has(d.domain+":"+d.user_name)?!1:!0})}
4999function yTa(a){a.$y=a.ki.length;var b=ay(uTa,{EI:a.ki,link:a.Vh});a.l.appendChild(b);for(b=0;b<a.ki.length;b++){var c=A("acct"+b);D(c,"click",a.s,void 0,a);c=A("acctContainer"+b);D(c,"mouseover",a.m,void 0,a);D(c,"mouseout",a.L,void 0,a);c=A("removeAcct"+b);D(c,"click",a.j,void 0,a)}}function wTa(a){$xa(function(b){return b!=a})}k6.prototype.s=function(){this.nv=this.ki[this.g];""!=this.Vh&&(window.sessionStorage.setItem("username",this.nv.user_name),window.location=this.nv.href)};
5000k6.prototype.j=function(){A("acctContainer"+this.g).style.display="none";var a=this.ki[this.g],b=lK();0!=b.length&&(a=b.indexOf(a.domain+":"+a.user_name),~a&&b.splice(a,1),window.localStorage.setItem("prevLoggedAccts",JSON.stringify(b)),--this.$y,""==this.Vh||0<this.$y||(window.location="/iep/#"))};k6.prototype.L=function(){this.g=-1;this.nv={}};k6.prototype.m=function(a){this.g=be(a.h.id.substring(13))};function zTa(){return Y('<div class="'+Z("Lb")+'"><b>Current account:</b><br/><div id="current_password_input"></div><br><b>Account to add:</b><div id="suggest_accts_wrapper" class="'+Z("V")+'"><div style="width: 225px; padding-right: 10px; text-align: right">Previous account(s):</div><div style="display: flex; flex-direction: column; width: 30em;"><div id="accts_wrapper" class="'+Z("h")+'" style="border: 1px solid #b5b6b5;"></div><div id="show_dist_button" style=" text-align: right;" class="'+Z("Am")+
5001'">Search district</div></div></div><div id="district_wrapper" class="'+Z("V")+'"><div style="width: 225px; padding-right: 10px; text-align: right">District:</div><div style="display: flex; flex-direction: column"><div id="wrapper" style="width: 30em; border: 1px solid #b5b6b5; padding: 3px"><input class="'+Z("Zn")+" "+Z("x")+'" id="search" placeholder="District Name"><div class="'+Z("lo")+'" id="results">Type to search</div></div><div id="linked_domain" style="overflow: hidden; max-height: 0"><span></span> <span class="'+
5002Z("Am")+'" id="clear_district">clear</span></div><div id="show_suggested_button" style="text-align: right;" class="'+Z("Am")+'">Show suggested accounts</div></div></div><div id="linked_username_input"></div><div id="linked_password_input"></div><br><br><div id="save_button"></div></div>')};function l6(){W_.call(this)}x(l6,W_);h=l6.prototype;h.Mr=null;h.vm=null;h.Xq=null;h.Qv=[];h.WG=null;h.PB=null;h.Ov=null;h.NB=null;
5003h.K=function(){var a=this;this.ub("Add Account");var b=ay(b0,{title:"Add Account"}),c=ay(zTa);X_(this,[b],c);this.u=new mK;D(this.u,"click",this.P7,void 0,this);this.Y=A("clear_district");D(this.Y,"click",this.O7,void 0,this);this.Mr=sX("Password:",225,!0);this.Mr.render($v().w("current_password_input"));this.vm=rX("Email:",225);this.vm.render($v().w("linked_username_input"));this.Xq=sX("Password:",225);this.Xq.render($v().w("linked_password_input"));this.NB=A("suggest_accts_wrapper");this.WG=A("accts_wrapper");
5004this.PB=A("show_dist_button");this.Ov=A("show_suggested_button");this.h=new k6;this.h.h.then(function(){a.Qv=a.h.ki;0<a.Qv.length?(D(a.WG,"click",a.$T,void 0,a),D(a.PB,"click",a.KR,void 0,a),D(a.Ov,"click",function(){m6(!0)},void 0,a),m6(!0)):ATa(a)}).catch(function(){return ATa(a)});Y_(this,[this.Mr,this.vm,this.Xq])};function ATa(a){gx(a.Ov,"U");ix(a.Ov,"Am");gx(a.NB,"U");ix(a.NB,"V")}
5005h.P7=function(){var a=this.u.text(),b=a.split("\n")[0],c=a.split("\n")[1];this.M=a.split("\n")[2];a=A("linked_domain");a.firstElementChild.innerText=b+" ("+c+")";
5005A("wrapper").className="cj";a.className="dj";0<this.Qv.length&&(A("show_suggested_button").className="U")};h.O7=function(){this.M="";A("linked_domain").className="";A("wrapper").className="";A("search").focus();0<this.Qv.length&&(m6(!0),this.vm.setValue(""))};
5006h.$T=function(){if(0<this.h.$y){var a=this.h.nv;if("{}"!=JSON.stringify(a)){this.vm.setValue(a.user_name);this.M=a.domain;var b=A("linked_domain");b.firstElementChild.innerText=a.district+" ("+a.state+")";b.className="dj";A("wrapper").className="bj";A("district_wrapper").className="V";A("suggest_accts_wrapper").className="U";A("show_suggested_button").className="U"}}else l6.prototype.KR(),A("show_suggested_button").className="U"};
5007h.KR=function(){A("linked_domain").className="";A("wrapper").className="";A("search").focus();m6(!1)};function m6(a){a?(A("suggest_accts_wrapper").className="V",A("show_suggested_button").className="U",A("district_wrapper").className="U"):(A("suggest_accts_wrapper").className="U",A("show_suggested_button").className="Am",A("district_wrapper").className="V")}h.$=function(){l6.D.$.call(this);C(this.u);C(this.Mr);C(this.vm);C(this.Xq);C(this.PB);C(this.Ov);C(this.h);C(this.Qv);C(this.WG)};
5008h.gc=function(){var a={};a.password=this.Mr.getValue();a.xE=this.vm.getValue();a.wE=this.Xq.getValue();a.RM=this.M;return a};h.hd=function(a){this.Mr.setValue(a.password,a.Lu);this.vm.setValue(a.xE,a.e0);this.Xq.setValue(a.wE,void 0)};function n6(a,b,c){f_.call(this,a,b,c)}x(n6,$_);n6.prototype.K=function(){n6.D.K.call(this);this.view.K()};n6.prototype.jc=function(a){n6.D.jc.call(this,a);this.ka("Aa",this.g,this);var b=++RQ;dV(this,b,"save");zCa(b,3,a.password,void 0,void 0,void 0,a.ZV)};n6.prototype.g=function(a){eV(this,a.Va()?a.Sa():null,"save")?(this.Kd(a,void 0,void 0,!0),j_(this,"save")||0<L(a,26,0)||(window.location.href="/iep/#",window.location.reload())):this.ka("Aa",this.g,this)};
5009n6.prototype.yc=function(a){var b=0;this.v={password:""};a=a.Mc()[0];null!=I(a,16)&&(b++,this.v.Lu=N(a,U,16).getError());null!=I(a,25)&&(b++,this.v.d0=N(a,U,25).getError());return b};function o6(a){var b=a.Jq,c=a.lf,d=a.backgroundColor,e=a.color,f=a.$d,g=a.rk,k=a.cc,l=a.hc,n=a.cd;return Y('<div style="display: flex; align-items: center; padding: 8px; font-size: 1.2em"><div style="padding-right: .5em"><input type="checkbox" name="account" value="'+Z(a.domain)+"_"+Z(c)+'" id="cb_'+Z(b)+'"></div><label for="cb_'+Z(b)+'" style="display: flex; align-items: center"><div class="'+Z("qd")+'" style="background-color: '+Z(NL(d))+"; color: "+Z(NL(e))+'">'+X(f)+'</div><div style="padding-left: .5em; overflow: hidden"><div class="'+
5010Z("Cd")+'">'+X(g)+'</div><div class="'+Z("Cd")+'" style="font-size: .8em">'+X(k)+" "+X(l)+'</div><div class="'+Z("Cd")+'" style="font-size: .8em">'+X(n)+"</div></div></label></div>")}
5011function BTa(a){var b=a.JV;Ta(a.Bu);var c=a.Bu;Ta(a.mK);a=a.mK;b='<div style="padding: 8px">The account you are currently logged into is part of a linked account group. Select the accounts you wish to remove from this group:</div><div style="padding: 10px 8px 0; font-size: 1.2em; text-decoration: underline">Current Account</div>'+o6(b)+(0<c.length?'<div style="padding: 10px 8px 0; font-size: 1.2em; text-decoration: underline">Linked Accounts</div>':"");for(var d=c.length,e=0;e<d;e++)b+=o6(c[e]);b+=
50120<a.length?'<div style="padding: 10px 8px 0; font-size: 1.2em; text-decoration: underline">Deleted Linked Accounts</div>':"";c=a.length;for(d=0;d<c;d++)b+=o6(a[d]);b+='<div style="padding: 8px"><input type="checkbox" id="select_all"> <label for="select_all">Select All</label></div><div id="linked_account_error" style="padding: 0 8px" class="'+Z("gc")+'"></div><br><div id="current_password_input"></div><br><br><div style="padding: 8px">User bank values currently in this group will be copied to each unlinked account.</div><br><div id="save_button"></div>';
5013return Y(b)};function p6(){W_.call(this)}x(p6,W_);h=p6.prototype;h.Lr=null;
5014h.K=function(){this.ub("Remove Linked Account(s)");var a=ay(b0,{title:"Remove Linked Account(s)"}),b=new rB;M(b,1,OJ);M(b,5,QJ);M(b,6,RJ);var c=xV(b);b=0;
5014c={Jq:b++,domain:UJ,backgroundColor:c.Ed,color:c.vk,$d:c.$d,rk:SJ,cd:TJ||PJ,lf:OJ,cc:QJ,hc:RJ};for(var d=[],e=[],f=m(MJ),g=f.next();!g.done;g=f.next()){g=g.value;var k=new rB,l=g.dc();M(k,1,l);l=g.Fb();M(k,5,l);l=g.Hb();M(k,6,l);k=xV(k);k={Jq:b++,domain:L(g,1,""),backgroundColor:k.Ed,color:k.vk,$d:k.$d,rk:L(g,5,""),cd:L(g,8,"")||g.Ic(),lf:g.dc(),
5015cc:g.Fb(),hc:g.Hb()};fz(g,9,!1)?e.push(k):d.push(k)}b=ay(BTa,{JV:c,Bu:d,mK:e});X_(this,[a],b);this.Lr=sX("Current account password:",175,!0);this.Lr.render($v().w("current_password_input"));Y_(this,[this.Lr],void 0,"Unlink selected accounts");a=m(dw("INPUT"));for(b=a.next();!b.done;b=a.next())b=b.value,"checkbox"==b.type&&D(b,"change",this.jV,void 0,this)};h.$=function(){p6.D.$.call(this);C(this.Lr)};
5016h.gc=function(){for(var a=[],b=m(La.document.getElementsByName("account")),c=b.next();!c.done;c=b.next())c=c.value,c.checked&&(c=c.value.split("_",2),a.push({domain:c[0],lf:c[1]}));return{password:this.Lr.getValue(),ZV:a}};h.hd=function(a){this.Lr.setValue(a.password,a.Lu);z("linked_account_error").innerText=a.d0||""};
5017h.jV=function(a){var b=dw("INPUT"),c=z("select_all");if("select_all"==a.target.id)for(a=m(b),b=a.next();!b.done;b=a.next())b=b.value,"checkbox"==b.type&&"select_all"!=b.id&&(b.checked=c.checked);else{a=0;var d=m(b);for(b=d.next();!b.done;b=d.next())b=b.value,"checkbox"==b.type&&"select_all"!=b.id&&(b.checked||a++);c.checked=0==a}};function q6(a,b,c){f_.call(this,a,b,c);this.g=[]}x(q6,$_);h=q6.prototype;h.start=function(){DQ(this,"pd","initial",function(a){var b=new lB;EE(b,73);FE(b,a);eN(dN.getInstance(),b)},this.T3,this)};h.T3=function(a){this.g=S(a,jB,1004);this.Ya()};h.K=function(){var a=this;q6.D.K.call(this);this.view.K(this.g);D(this.view.Os,"action",function(){return CTa(a,!1)},void 0,this);D(this.view.Ks,"action",function(){return CTa(a,!0)},void 0,this)};
5018h.qZ=function(a){var b=this;this.Fl&&clearTimeout(this.Fl);a.ok?(this.view.Vo(),this.Fl=setTimeout(function(){return b.view.ql()},3E4)):a.text().then(function(c){return b.view.Uo(c)})};
5019function CTa(a,b){if(0!=a.view.Hs.files.length&&(b||confirm("This action will make all the changes listed in the preview. If you have not run a preview, it is strongly recommended to cancel and do that first."))){var c=0;DQ(a,"jc","run_import",function(e){c=e},a.Q7,a);var d=new FormData;d.append("doc_load_input_file",a.view.Hs.files[0]);d.append("docLoadFormat",a.view.Pb.getValue());d.append("noop",b+"");d.append("override",a.view.ic.Pc());b=a.qZ.bind(a);fetch(fK+("/iep/csvload?SID="+rL()+"&seqNum="+
5020c),{method:"POST",body:d,credentials:"include"}).then(b,function(e){return a.view.Uo(e)})}}h.Q7=function(a){clearTimeout(this.Fl);a=N(a,iC,24)||new iC;ISa(this.view.Hp,a)};function DTa(a){a=a.title;return Y('<div><div tag="title" class="'+Z("sj")+'"><span tag="icon" class="'+Z("I")+" "+Z("R")+'">add</span> '+X(a)+'</div><div tag="expanded" style="display:none;"></div></div>')};function r6(a,b,c){EH.call(this,c);this.title=a;this.h=this.m=this.u=null;this.l=!1;if(b)for(a=m(b),b=a.next();!b.done;b=a.next())this.Ea(b.value,!0)}x(r6,EH);r6.prototype.Ra=function(){var a=by(DTa,{title:this.title});this.u=a.querySelector("*[tag=title]");this.m=a.querySelector("*[tag=icon]");this.h=a.querySelector("*[tag=expanded]");this.j=a;ETa(this)};r6.prototype.ib=function(){return this.h};r6.prototype.K=function(){r6.D.K.call(this);D(this.u,"click",this.M,void 0,this)};
5021function ETa(a){a.l?(a.h.style.display="",a.m.innerText="remove"):(a.h.style.display="none",a.m.innerText="add")}r6.prototype.M=function(){this.l=!this.l;this.Uc()&&ETa(this)};function s6(a,b){EH.call(this,b);this.data=a}x(s6,EH);s6.prototype.Ra=function(){var a={J3:I(this.data,3),I3:I(this.data,2),description:this.data.getDescription(),IA:L(this.data,6,0),ox:L(this.data,7,0),fixed:0!=L(this.data,6,0)};this.j=by(FTa,{data:a})};function GTa(){return Y('<div class="'+Z("Lb")+'"><div class="'+Z("Kd")+'"><div id="instructions" class="'+Z("hc")+'"><ol><li>Select an import type and view how the file should be formatted.</li><li>Select a file to upload that is in that format.</li><li>Press the <strong>Preview</strong> button if you would like to see the changes that would result without actually making them. Please note that large imports could take several hours.</li><li>Once you are satisfied with the results of the preview, hit <strong>Start Import</strong> to run the import again and save the changes.</li></ol></div><div class="'+
5022Z("Qd")+" "+Z("Ud")+'"><div id="format_options"></div><a id="generate_template"><div id="generate_template_button"></div></a><input id="file_input" type="file"/><div id="preview_button"></div><div id="start_button"></div><div id="override_checkbox"></div><span id="override_warning" class="'+Z("gc")+'"></span></div><div id="load_details_container" class="'+Z("Kd")+'" style="display:none"><div><h2>Import: <span id="load_name">Name</span></h2></div><div id="description" class="'+Z("Id")+'">some description text</div><div id="spacer" class="'+
5023Z("Nd")+'"></div><div class="'+Z("Td")+" "+Z("Vd")+'"><div class="'+Z("Qd")+" "+Z("Vd")+'"><div id="create_modify_label">Creates/modifies:</div><div id="form_names" class="'+Z("Ne")+" "+Z("Id")+'"></div></div><div id="separator_container" class="'+Z("Qd")+" "+Z("Vd")+'"><div>Separated by:</div><div id="separator" class="'+Z("Ne")+'">,</div></div></div><div><div><strong>Fields</strong></div><div id="col_data"></div></div></div></div><div id="result_container" class="'+Z("Ld")+'"></div></div>')}
5024function FTa(a){var b=a.data;a='<div class="'+Z("Ne")+'">'+X(b.description)+'<div class="'+Z("Td")+" "+Z("Vd")+'">'+(b.fixed?'<div class="'+Z("Kd")+'"><div>Field Position:</div><div class="'+Z("Ne")+'">'+X(b.IA)+" - "+X(b.ox)+'</div></div><div class="'+Z("Kd")+'"><div>Length:</div><div class="'+Z("Ne")+'">'+X(b.ox-b.IA+1)+" character"+(0<b.ox-b.IA?"s":"")+"</div></div>":"")+'<div class="'+Z("Kd")+'"><div>Alternate Names:</div><div class="'+Z("Ne")+" "+Z("de")+'">';
5024for(var c=b.I3,d=c.length,e=0;e<
5025d;e++)a+="<div>"+X(c[e])+"</div>";a+='</div></div><div class="'+Z("Kd")+'"><div>Allowable Values:</div><div class="'+Z("Ne")+" "+Z("de")+'">';b=b.J3;c=b.length;for(d=0;d<c;d++)a+="<div>"+X(b[d])+"</div>";return Y(a+"</div></div></div></div>")};function t6(){W_.call(this);this.M=[];this.Hp=this.ic=this.Os=this.Ks=this.h=this.Hs=this.Pb=this.u=null}x(t6,W_);
5026t6.prototype.K=function(a){var b=this;this.ub("Data Loader");var c=ay(c0,{title:"Data Loader",Xb:"#pageName=instance_settings"}),d=ay(GTa);X_(this,[c],d);this.Hs=z("file_input");D(this.Hs,"change",function(){return u6(b)});this.M=a;c=[];a=m(a);for(d=a.next();!d.done;d=a.next())d=d.value,c.push({Oa:L(d,1,""),label:d.zk()});a=void 0;0==this.M.length&&(a="None supported at this time.");this.Pb=new nX(c,"Import Type:",0,a);this.g.Ea(this.Pb,!1);this.Pb.render(z("format_options"));D(this.Pb,"change",function(e){return HTa(b,
5027e.target.getValue())});0==this.M.length&&this.Pb.W(!1);this.h=TP(" Template",void 0,void 0,0);this.g.Ea(this.h);this.h.render(z("generate_template_button"));c=this.h.w();c.insertBefore(B("SPAN","I T","download"),c.firstChild);ITa(this);this.Ks=TP("Preview",void 0,void 0,1);this.g.Ea(this.Ks);this.Ks.render(z("preview_button"));this.Os=TP("Start Import",void 0,void 0,0);this.g.Ea(this.Os);this.Os.render(z("start_button"));this.ic=new kU("Overwrite manual data",void 0);this.g.Ea(this.ic);this.ic.render(z("override_checkbox"));
5028D(this.ic,"change",function(){return JTa(b)});u6(this);this.u=new EH;this.u.render(z("col_data"));this.Hp=new V3;this.Hp.render(z("result_container"))};function KTa(a){switch(a){case "\t":return"[tab]";case "":return",";default:return a}}
5029function HTa(a,b){u6(a);ITa(a);var c=a.M.find(function(k){return b==L(k,1,"")});z("load_details_container").style.display="";z("load_name").textContent=c.zk();z("description").textContent=c.getDescription();z("separator").textContent=KTa(L(c,3,""));z("separator_container").style.display=""==L(c,3,"")?"none":"";z("create_modify_label").textContent=fz(c,7,!1)?"Creates/modifies:":"Modifies:";z("form_names").textContent=I(c,4).map(function(k){return""==k||"OBJECT_FORM"==k?"Student Details":k}).join("\n");
5030a.u.Fg(!0);for(var d=[],e=m(S(c,kB,5)),f=e.next();!f.done;f=e.next()){var g=f.value;f=L(g,6,0)+" - "+L(g,7,0);0<I(g,2).length?f=I(g,2)[0]:kz(g,2,"",void 0);0==I(g,3).length&&kz(g,3,"",void 0);d.push(f);f=g.Pn()?f+" (Required)":f+" (Optional)";g=new s6(g);f=new r6(f,[g]);a.u.Ea(f,!0)}a=d.join(",")+"\n";d=z("generate_template");d.setAttribute("href","data:text/csv;
5030base64,"+window.btoa(a));d.setAttribute("download",c.zk()+".csv")}t6.prototype.Vo=function(){this.Hp.Vo()};t6.prototype.ql=function(){this.Hp.ql()};
5031t6.prototype.Uo=function(a){this.Hp.Uo(a)};function LTa(a,b,c){a.W(b);b?(a.w().style.pointerEvents="",a.w().title=""):(a.w().style.pointerEvents="auto",a.w().title=c)}function ITa(a){var b=!!a.Pb.getValue();a.h&&LTa(a.h,b,"Select an import type first.")}function u6(a){for(var b=!!a.Pb.getValue()&&0<a.Hs.files.length,c=m([a.Ks,a.Os]),d=c.next();!d.done;d=c.next())LTa(d.value,b,"Select a file and import type first.");b||(a.ic.nc(!1),JTa(a));a.ic.W(b)}
5032function JTa(a){z("override_warning").textContent=a.ic.Pc()?"Warning: the Data Loader will overwrite user entered data. Please review thoroughly before proceeding.":""};function v6(a,b,c){f_.call(this,a,b,c);this.g=[]}x(v6,$_);h=v6.prototype;h.start=function(){this.ka("sa",this.PQ,this);var a=++RQ;dV(this,a,"initial")};h.PQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.g=[],this.Ya()):this.ka("sa",this.PQ,this)};h.sd=function(){this.h=[];this.view.sd(this.h)};h.K=function(){v6.D.K.call(this);this.view.K(this.g);D(this.view.oe,gI,this.JK,void 0,this);D(this.view.Yd,gI,this.kK,void 0,this)};
5033h.JK=function(a){var b=this.view.Gp;this.view.Gp=null;var c=z("label_input").value;z("label_input").value="";"cancel"!=a.key&&""!=c&&null!==b&&(this.ka("sa",this.SJ,this),a=++RQ,dV(this,a,"edit"))};h.SJ=function(a){eV(this,a.Va()?a.Sa():null,"edit")?j_(this,"edit")||(this.sd(a),this.X.ba("zb")):this.ka("sa",this.SJ,this)};h.kK=function(a){var b=this.view.Gp;this.view.Gp=null;"cancel"!=a.key&&null!==b&&(this.ka("sa",this.RJ,this),a=++RQ,dV(this,a,"delete"))};
5034h.RJ=function(a){eV(this,a.Va()?a.Sa():null,"delete")?j_(this,"delete")||(this.sd(a),this.X.ba("Ab")):this.ka("sa",this.RJ,this)};h.$=function(){v6.D.$.call(this);Mx(this.view.oe,gI,this.JK,void 0,this);Mx(this.view.Yd,gI,this.kK,void 0,this)};function MTa(a){Ta(a.labels);a=a.labels;var b='<div><table width="100%">',c=a.length;if(0<c)for(var d=0;d<c;d++){var e=a[d];b+='<tr><td class="'+Z("sgBaseListCell")+'">'+X(e.OM)+'</td><td class="'+Z("sgBaseListCell")+'"><div id='+GL(e.WW)+'></div></td><td class="'+Z("sgBaseListCell")+'"><div id='+GL(e.XV)+"></div></td></tr>"}else b+="<tr><td>You current have no labels to manage.</td></tr>";return Y(b+"</table></div>")};function w6(){W_.call(this);this.Gp=null;this.u=[];this.h=[];this.Yd=this.oe=null}x(w6,W_);h=w6.prototype;h.K=function(a){this.ub("Manage Labels");var b=ay(b0,{title:"Manage Labels"}),c=NTa(a);c=ay(MTa,{labels:c});X_(this,[b],c);b=SP();c=XH();b.tc("Edit label");eI(b,c);this.oe=b;b=SP();c=XH();b.tc("Remove label");eI(b,c);this.Yd=b;OTa(this,a);PTa(this,a)};
5035h.$=function(){w6.D.$.call(this);for(var a=0,b=this.u.length;a<b;a++){var c=this.u[a];D(c,"action",this.LR,void 0,this);C(c)}a=0;for(b=this.h.length;a<b;a++)c=this.h[a],D(c,"action",this.JR,void 0,this),C(c);C(this.oe);C(this.Yd)};function NTa(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c],f=e.replace(/\+/g," ");b.push({OM:f,WW:"eEl_"+e,XV:"dEl_"+e})}return b}
5036function OTa(a,b){for(var c=0,d=b.length;c<d;c++){var e=b[c],f=UP("edit");GH(f,"e_"+e);f.setValue(e);e=z("eEl_"+e);f.render(e);D(f,"action",a.LR,void 0,a);a.u.push(f)}}function PTa(a,b){for(var c=0,d=b.length;c<d;c++){var e=b[c],f=UP("delete");GH(f,"d_"+e);f.setValue(e);e=z("dEl_"+e);f.render(e);D(f,"action",a.JR,void 0,a);a.h.push(f)}}h.sd=function(a){var b=this.g.w();Fw(b);var c=NTa(a);c=ay(MTa,{labels:c});null!==c&&b.appendChild(c);OTa(this,a);PTa(this,a)};
5037h.LR=function(a){a=a.target.getValue();var b=a.replace(/\+/g," ");this.Gp=a;YH(this.oe,zd("div",{},[wd("Label name:"),zd("br"),zd("input",{type:"text",id:"label_input",size:"40",value:b})]));this.oe.Ga(!0)};h.JR=function(a){a=a.target.getValue();var b=a.replace(/\+/g," ");this.Gp=a;YH(this.Yd,zd("div",{},[wd("Remove the label "),zd("b",{},wd(b)),wd("from all conversations and delete the label?")]));this.Yd.Ga(!0)};function x6(a,b,c){f_.call(this,a,b,c);this.h={};this.g=""}x(x6,$_);x6.prototype.start=function(a){var b=this;null!=a&&((this.h=x0(a,function(c){c=N(c,YC,1002);var d=L(c,1003,""),e=L(c,1002,"");b.h.index=L(c,1001,0);0==b.h.index&&(b.h.index=1);null!=I(c,1005)?(b.g=L(c,1005,""),b.Ya()):(c="pageName=form&docId="+e+("&formId="+d)+y0(b.h),NK(c))}))||NK(""))};x6.prototype.K=function(){x6.D.K.call(this);this.view.K(this.g,this.h);BM.W(!0);A0(!!this.h,function(){});this.h&&B0(!0)};
5038x6.prototype.$=function(){x6.D.$.call(this);YU();this.h&&B0(!1)};function QTa(a){a=a.Wk;return Y('<div class="'+Z("Lb")+'"><div class="'+Z("gc")+'">'+X(a)+"</div></div>")};function y6(){W_.call(this)}x(y6,W_);y6.prototype.K=function(a,b){this.ub("Meeting Permission Error");var c="Meeting Mode";b&&b.title&&(c="Meeting Mode: "+b.title);c=ay(i0,{title:"Meeting Permission Error",jr:c});a=ay(QTa,{Wk:a});X_(this,[c],a);w(b)&&(this.Y=v0(b))};function RTa(a){a=a.gt;return Y('<div class="'+Z("Lb")+" "+Z("Md")+'">'+(a?'<div class="'+Z("gc")+'">You do not have access to this document.</div><div id="request_button"></div>':"<div>You do not have access to this document, and your user role restricts you from being able to request it. Please contact a system administrator at your district if you believe this is a mistake.</div>")+"</div>")};function z6(a,b,c){f_.call(this,a,b,c);this.l=this.g="";this.j=null;this.qh=0;this.gt=!1;this.h=void 0}pa(z6,$_);function STa(a,b){b=b.na("docId");if(!w(b))return!1;a.g=b;return!0}function TTa(a){DQ(a,"na","initial",function(b){return wQ(b,9,a.g)},a.gZ,a)}h=z6.prototype;
5039h.start=function(a){var b=this;a&&(this.h=x0(a,function(c){c=N(c,YC,1002);var d=L(c,1003,""),e=L(c,1002,"");b.h.index=L(c,1001,0);0==b.h.index&&(b.h.index=1);null!=I(c,1005)?(b.g=e,TTa(b)):UTa(e,d,b.h)}),STa(this,a)||this.h?this.h||TTa(this):h_(this))};function UTa(a,b,c){a="pageName=form&docId="+a+("&formId="+b);c&&(a+=y0(c));NK(a)}h.gZ=function(a){this.j=nR(a,[])[2];var b=NE(a)[0];this.qh=L(b,23,0);this.gt=0<L(b,29,0);0<this.qh?UTa(rF(b),sF(b)):(this.l=xF(OE(a)[0]),this.Ya())};
5040h.J0=function(){this.gt&&a1(new O0([this.g],this.j,[],this.qh))};h.K=function(){this.view.K({jb:this.l,gt:this.gt,vo:this.h});this.view.Iy&&this.view.Iy.J("action",this.J0,void 0,this);BM.W(!!this.h);A0(!!this.h,function(){});this.h&&B0(!0)};h.$=function(){};function A6(){W_.call(this);this.Iy=null}pa(A6,W_);
5041A6.prototype.K=function(a){var b=""==a.jb?"No Permission":a.jb;this.ub(b);var c="";a.vo&&(c=a.vo.title?"Meeting Mode: "+a.vo.title:"Meeting Mode");b=ay(i0,{title:b,jr:c});c=ay(RTa,a);X_(this,[b],c);if(b=z("request_button"))this.Iy=TP("Request Document Access"),this.Iy.render(b);a.vo&&v0(a.vo)};function B6(a,b,c){f_.call(this,a,b,c);this.g=null;this.kp=[];this.j=VLa;this.h=new Set}x(B6,$_);h=B6.prototype;h.K=function(){B6.D.K.call(this);var a=aM.getInstance();
5041this.view.K("#"+ZM(a),this.kp);this.g=VO(this.O3,1E3,this);VTa(this)};h.Tf=function(){B6.D.Tf.call(this);this.g&&this.g.dispose()};h.start=function(){this.Bd||DQ(this,"Uc","initial",function(a){QQ(a,void 0)},this.R7,this)};h.R7=function(a){var b=S(N(a,Kz,1003),Az,1);a=N(N(a,Kz,1003),Dz,2);b&&a&&WTa(this,b,a);this.Ya()};
5042function WTa(a,b,c){a.kp=b.map(function(d){return yEa(d,c,a.j)})}h.O3=function(){var a=ka(this.h).concat();this.h.clear();var b={},c={};a=m(a);for(var d=a.next();!d.done;c={ys:c.ys},d=a.next()){c.ys=d.value;d=this.kp.find(function(g){return function(k){return k.id==g.ys}}(c)).methods;b[c.ys]=new Cz;d=m(d);for(var e=d.next();!e.done;e=d.next()){var f=e.value;e=f.name;(f=f.Ys)&&f.Pc()&&kz(b[c.ys],1,this.j[e],void 0)}}DQ(this,"Uc","update",function(g){QQ(g,b)},this.K9,this)};
5043function XTa(a,b){a.h.add(b);var c=a.kp.find(function(d){return d.id==b});c.LM||YTa(a.view,c.id);a.g.Zw()}function ZTa(a){var b="Notification"in La?Notification.permission:"default";$Ta(a)&&b_().then(function(c){c!=b&&aUa(a.view);"granted"===c&&QLa()}).catch(function(c){console.error("failed to request notification permissions: "+c)})}
5044function VTa(a){for(var b={},c=m(a.view.je()),d=c.next();!d.done;b={wB:b.wB},d=c.next()){d=d.value;b.wB=d.j9;d=m(d.kV);for(var e=d.next();!e.done;e=d.next())(e=e.value)&&D(e,"change",function(f){return function(){return XTa(a,f.wB)}}(b),void 0,a)}b=m(C6(a.view));for(e=b.next();!e.done;e=b.next())(c=e.value)&&D(c,"change",function(){return ZTa(a)},void 0,a);ZTa(a)}function $Ta(a){a=m(C6(a.view));for(var b=a.next();!b.done;b=a.next())if((b=b.value)&&b.Pc())return!0;return!1}h.K9=function(){this.X.ba("Vc")};function D6(){W_.call(this);this.h=[];this.u="Notification"in window}x(D6,W_);
5045D6.prototype.K=function(a,b){this.ub("Notification Settings");this.h=b;b=ay(c0,{title:"Notification Settings",Xb:a});a=ay(PLa,{kp:this.h,R9:this.u});X_(this,[b],a);b=m(this.h);for(var c=b.next();!c.done;c=b.next()){c=c.value;for(var d=0;d<c.methods.length;d++){var e=c.methods[d],f=e.name,g=e.Pc;(this.u||"webpush"!==f)&&e.isEnabled&&(e=RP(),e.nc(g),f=a.querySelector("#cbspan-"+f+"-"+c.id),this.g.Ea(e,!1),e.render(f),c.methods[d].Ys=e)}c.LM||YTa(this,c.id)}this.u&&aUa(this)};
5046D6.prototype.je=function(){return this.h.map(function(a){return{j9:a.id,kV:a.methods.map(function(b){return b.Ys})}})};function C6(a){return a.h.flatMap(function(b){return b.methods.filter(function(c){return"webpush"===c.name}).map(function(c){return c.Ys})})}
5047function YTa(a,b){var c=a.h.find(function(f){return f.id==b}).methods;a=[];c=m(c);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d=e.Ys;e=e.name;d&&d.Pc()&&("webpush"!=e||"granted"==Notification.permission)&&a.push(d)}c=m(a);for(d=c.next();!d.done;d=c.next())d=d.value,e=1==a.length,d.W(!e),d.zi("Wj",e),e?d.w().setAttribute("title","This topic requires at least one delivery method be enabled."):d.w().removeAttribute("title")}
5048function aUa(a){var b="denied"!==Notification.permission;a=m(C6(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.W(b),c.zi("Wj",!b),b?c.w().removeAttribute("title"):c.w().setAttribute("title","You must grant permission to receive web push notifications.\nIf you have denied/blocked notifications you must visit your browser settings screen to reset the permissions.")};function E6(a,b,c){f_.call(this,a,b,c)}x(E6,$_);h=E6.prototype;h.start=function(){m_(this);n_(this)};h.K=function(){E6.D.K.call(this);this.eS()};h.eS=function(){this.view.K(this.Qb,this.rf,void 0,"","")};h.RQ=function(a){return function(b){return uQ(b,1,void 0,a.Ao,!1,a.xz,a.GA,a.Sc,a.od,a.Xy,a.Qp,a.nJ,a.wn,a.Us,a.Dq)}};h.jc=function(a){E6.D.jc.call(this,a);DQ(this,"ma","save",this.RQ(a),this.QQ,this)};
5049h.QQ=function(a){var b=a.Sd()[0];b=null!=I(b,1)?b.Rd():null;b="pageName=object_form&objectId="+Od(b);this.Kd(a,"Sb",b,!0)};
5050h.yc=function(a){a=a.Sd()[0];this.v={};var b=0;this.v.Ao=L(a,19,"");this.v.xz=null!=I(a,5)?eF(a):null;this.v.GA=null!=I(a,23)?L(a,23,""):null;this.v.Sc=null!=I(a,6)?a.Fb():null;this.v.od=null!=I(a,7)?a.Hb():null;this.v.Xy=null!=I(a,8)?L(a,8,""):null;this.v.Qp=null!=I(a,17)?L(a,17,""):null;this.v.nJ=null!=I(a,21)?L(a,21,""):null;this.v.Us=null!=I(a,30)?a.bh():null;this.v.Dq=null!=I(a,31)?a.Aj():null;this.v.wn=gF(a)?fF(a):1;this.v.Fma=lR($E(a));var c=null!=I(a,20)?N(a,U,20):null;null!==c&&(this.v.VE=
5051c.xb()?c.getError():null,b++);c=null!=I(a,12)?N(a,U,12):null;null!==c&&(this.v.R3=c.xb()?c.getError():null,b++);c=null!=I(a,24)?N(a,U,24):null;null!==c&&(this.v.D8=c.xb()?c.getError():null,b++);c=null!=I(a,13)?N(a,U,13):null;
5051null!==c&&(this.v.Gn=c.xb()?c.getError():null,b++);c=null!=I(a,14)?N(a,U,14):null;null!==c&&(this.v.qo=c.xb()?c.getError():null,b++);c=null!=I(a,15)?N(a,U,15):null;null!==c&&(this.v.S0=c.xb()?c.getError():null,b++);c=null!=I(a,18)?N(a,U,18):null;null!==c&&(this.v.lga=c.xb()?c.getError():
5052null,b++);c=null!=I(a,22)?N(a,U,22):null;null!==c&&(this.v.mga=c.xb()?c.getError():null,b++);c=null!=I(a,1001)?N(a,U,1001):null;null!==c&&(this.v.OU=c.xb()?c.getError():null,b++);c=null!=I(a,1002)?N(a,U,1002):null;null!==c&&(this.v.UY=c.xb()?c.getError():null,b++);c=null!=I(a,26)?N(a,U,26):null;null!==c&&(this.v.rW=c.xb()?c.getError():null,b++);this.v.U_=null!=I(a,36)?fz(a,36,!1):!1;return b};function ASa(a){a="string"===typeof a?a:L(a,1,"");return{label:"XX"==a?"No grade entered":a,Oa:a}};function bUa(){return Y('<div class="'+Z("Lb")+'"><br><div class="'+Z("jb-kb-lb")+'" id="object_name_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="print_id_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="sis_internal_id_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="first_name_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="last_name_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="middle_name_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="building_input"></div><br><div class="'+
5053Z("jb-kb-lb")+'" id="building_reporting_id_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="grade_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="enrollment_input"></div><br><br><div id="save_button"></div></div>')}
5054function cUa(a){var b=a.n1,c=a.bb,d=a.oh;a=a.oU;return Y('<div class="'+Z("Lb")+'"><br><div class="'+Z("jb-kb-lb")+" "+Z("Fk")+'">'+X(b)+"</div>"+X(d)+'&nbsp;&nbsp;<a href="#pageName=rename_object&amp;objectId='+Z(c)+'">change</a><br/><div class="'+Z("jb-kb-lb")+'" id="print_id_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="sis_internal_id_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="first_name_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="last_name_input"></div><br><div class="'+
5055Z("jb-kb-lb")+'" id="middle_name_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="building_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="building_reporting_id_input"></div><br><div class="'+Z("jb-kb-lb")+'" id="grade_input"></div><br><div class="'+Z("jb-kb-lb")+'"><span id="enrollment_input"></span>'+(a?'<span id="student_departure_button"></span>':"")+'</div><br><br><div id="save_button"></div></div>')}
5056function dUa(){return Y('<div class="'+Z("Lb")+'"><div>Choose a student record to keep. All others will be collapsed into this record.</div><div id="collapse_list"></div><div id="save_button"></div><div class="'+Z("gc")+'" id="msg_error"></div></div>')}
5057function eUa(a){a=a.oh;return Y('<div class="'+Z("Lb")+'"><br><div class="'+Z("jb-kb-lb")+" "+Z("Fk")+'">Current SIS Student Id:</div><div class="'+Z("jb-kb-lb")+'">'+X(a)+'</div><br><div class="'+Z("jb-kb-lb")+'" id="object_name_input"></div><br><br><div id="save_button"></div></div>')};function F6(){W_.call(this);this.h=this.Y=this.M=this.$a=this.bc=this.zb=this.sb=this.Na=this.u=null}x(F6,W_);F6.prototype.K=function(a,b){this.ub("Add Student");var c=ay(c0,{title:"Add Student",Xb:"#pageName=objects_list"}),d=ay(bUa);X_(this,[c],d);a=fUa(this,a,b);Y_(this,a,void 0,"Add student")};
5058function fUa(a,b,c,d){var e=[],f=z("object_name_input");null!=f&&(a.u=rX("* SIS Student Id:"),a.u.render(f),e.push(a.u));a.Na=rX("* Print SIS Student Id:");a.sb=rX("Internal SIS Student Id:");a.zb=rX("* First name:");a.bc=rX("* Last name:");a.$a=rX("Middle name:");b=b.filter(function(g){return!fz(g,6,!1)||d&&g.bh()==d.Us}).map(function(g){return I1(g)});a.M=uX(b,"* Building:",void 0,"Choose one...");c=c.map(ASa).filter(function(g){return""!=g.label});c.unshift({label:"No Grade Entered",Oa:""});a.Y=
5059uX(c,"Grade:",150,"Please Select ...");a.h=uX([{label:"Pre-Enrolled",Oa:0},{label:"Enrolled",Oa:1},{label:"Transferred",Oa:3},{label:"Withdrew",Oa:4},{label:"Dropped Out",Oa:5},{label:"Graduated",Oa:6},{label:"Historical/Other",Oa:7},{label:"Historical/Idle",Oa:8,enabled:!1}],"* Enrollment Status:",150,"Please Select ...");a.Na.render(z("print_id_input"));a.sb.render(z("sis_internal_id_input"));a.zb.render(z("first_name_input"));a.bc.render(z("last_name_input"));a.$a.render(z("middle_name_input"));
5060a.M.render(z("building_input"));nw().e2e&&a.M.w().setAttribute("data-e2e","building_input");a.Y.render(z("grade_input"));a.h.render(z("enrollment_input"));a.h.setValue(1,null);return e=e.concat([a.Na,a.sb,a.zb,a.bc,a.$a,a.M,a.h,a.Y])}F6.prototype.$=function(){F6.D.$.call(this);C(this.u);C(this.Na);C(this.sb);C(this.zb);C(this.bc);C(this.$a);C(null);C(null);C(this.M);C(this.h);C(this.Y)};
5061F6.prototype.gc=function(){var a={};this.u&&(a.Ao=this.u.getValue());a.xz=this.Na.getValue();a.GA=this.sb.getValue();a.Sc=this.zb.getValue();a.od=this.bc.getValue();a.Xy=this.$a.getValue();a.Us=this.M.getValue();a.wn=this.h.getValue();a.Dq=this.Y.getValue();return a};
5062F6.prototype.hd=function(a){this.u&&this.u.setValue(a.Ao,a.VE);this.Na.setValue(a.xz,a.R3);this.sb.setValue(a.GA,a.D8);this.zb.setValue(a.Sc,a.Gn);this.bc.setValue(a.od,a.qo);this.$a.setValue(a.Xy,a.S0);this.M.setValue(a.Us,a.OU);this.Y.setValue(a.Dq,a.UY);8==a.wn&&this.h.h.Nc.Gd(7).W(!0);this.h.setValue(a.wn,a.rW)};function G6(a,b,c){f_.call(this,a,b,c);this.g=[];this.h=new Map}x(G6,$_);h=G6.prototype;h.TQ="pageName=recent";h.start=function(a){this.g=a.na("objectId").split(",");if(!this.Bd){g_(this,"ma",this.S7,this);a=0;for(var b=this.g.length;a<b;a++){var c=++RQ;dV(this,c,"initial");uQ(c,0,this.g[a])}}};h.K=function(){G6.D.K.call(this);this.view.K(this.h);this.TQ=ZM(aM.getInstance())};
5063h.jc=function(a){G6.D.jc.call(this,a);this.view.Yz();this.view.Sw();this.ka("va",this.SQ,this);var b=++RQ;dV(this,b,"save");MQ(b,24,a.dW,a.I8)};h.SQ=function(a){eV(this,a.Va()?a.Sa():null,"save")?N(a,gC,22)&&null!=I(N(a,gC,22),3)?(a=L(N(a,gC,22),3,""),this.view.pv(a)):(this.X.ba("Ub"),this.Kd(a,void 0,this.TQ,!0)):this.ka("va",this.SQ,this)};h.S7=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){var b=a.Sd()[0];a=b.Rd();b=L(b,19,"");this.h.set(b,a);this.Ya()}};function H6(){W_.call(this);this.h=null;this.u=new Map;this.M=!1}x(H6,W_);h=H6.prototype;h.K=function(a){this.u=a;this.ub("Collapse Student Records");var b=ay(b0,{title:"Collapse Student Records"}),c=ay(dUa);X_(this,[b],c);b=[];c=Array.from(a.keys());c.sort();for(var d=0,e=c.length;d<e;d++){var f=c[d],g=a.get(f);b.push({label:f,Oa:g})}this.h=tX(b,void 0,void 0,void 0,!0);this.h.render(z("collapse_list"));Y_(this,[this.h],void 0,"Collapse")};h.$=function(){H6.D.$.call(this);C(this.h)};
5064h.Xe=function(){return this.M?!1:!0};h.Yz=function(){this.M=!0};h.ci=function(){};h.gc=function(){for(var a=this.h.getValue(),b=[],c=m(this.u.values()),d=c.next();!d.done;d=c.next())d=d.value,d!=a&&b.push(d);return{dW:a,I8:b}};h.pv=function(a){rw(z("msg_error"),a)};h.Sw=function(){rw(z("msg_error"),"")};function I6(a,b){this.j=a;this.view=b;this.h=this.g=null;this.bb="";this.forms=[]}I6.prototype.start=function(a){var b=this;a=a.na("objectId");w(a)?(this.bb=a,DQ(this.j,"T","initial",function(c){return AQ(c,!1,void 0,void 0,b.bb,!0,!0,!0)},this.l,this,"createForms")):h_(this.j)};I6.prototype.l=function(a){this.forms=m(mR(a,!0,!0)).next().value;this.j.Ya()};
5065function gUa(a,b){var c=[],d="";b.filter(function(e){return e.ft}).forEach(function(e){e.group!=d&&c.push({type:"separator",label:e.group});c.push({label:e.name,Oa:e.id});d=e.group});0!=c.length&&(a.g=new $W(c,"",10,"Create new ...",void 0),a.view.j.Ea(a.g),a.g.render(z("form_button")),a.g.h.w().setAttribute("data-e2e","form_type_select_menu"),a.g.J("change",function(){return a.g.qb("")}),a.g.J("change",function(){return a.h.focus()}))}
5066function hUa(a){a.h=new eX("Create",0,!0,!0,!0,void 0);a.h.render(z("save_button"));a.h.J("action",function(){return iUa(a,!1)});a.h.h.w().addEventListener("mousedown",function(b){1==b.button&&(b.preventDefault(),iUa(a,!0))})}I6.prototype.K=function(){0!=this.forms.length&&(gUa(this,this.forms),this.g&&hUa(this))};I6.prototype.$=function(){};
5067function iUa(a,b){if(0!=a.forms.length){var c=a.g.getValue(),d=b?!0:!1;DQ(a.j,"na","create",function(e){return wQ(e,1,void 0,c,a.bb)},function(e){var f=NE(e)[0],g=null!=I(f,2)?sF(f):null,k=!1,l=null!=I(f,10)?N(f,U,10):null;if(null!==l){var n=l.xb()?l.getError():null;k=!0}f=f.ef();if(""!=f){var q=f;k=!0}""==q&&(q=n);a.g.setValue(g,q);k||(g=++RQ,KQ(g,0),e=NE(e)[0],null===e?e="pageName=caseload":(g=null!=I(e,2)?sF(e):null,e="pageName=form&docId="+(null!=I(e,1)?rF(e):null)+"&formId="+g),xZ("A new document has been created."),
5068d&&e?window.open("#"+e,"_blank","noopener noreferrer"):w(e)&&MK(e),d&&cM())},a)}};function J6(a,b,c){w3.call(this,a,b,c);this.ea=i_(this,new p3(this,c,"documents"));i_(this,new I6(this,c))}x(J6,w3);h=J6.prototype;h.Dd=function(a){J6.D.Dd.call(this,a);var b=a.na("objectId");if(!w(b))return h_(this),!1;this.bb=b;this.Jc="object_docs_list";b=a.na("startDate");w(b)&&(this.xh=b);b=a.na("endDate");w(b)&&(this.Gh=b);a=a.na("searchIdList");w(a)&&(this.s=a);return!0};
5069h.start=function(a){var b=this;this.Dd(a)&&(x3(this),DQ(this,"T","initial",function(c){return AQ(c,!1,void 0,void 0,b.bb)},function(c){return jUa(b,c,!0)},this),DQ(this,"T","initial",function(c){return AQ(c,!0,"",void 0,b.bb)},function(c){return jUa(b,c,!1)},this),this.ka(this.Eb,this.Ay,this),a=++RQ,dV(this,a,"initial"),this.td(a),l_(this,this.bb,this.T7,this),m_(this,!1))};h.T7=function(a){a=a.Sd()[0];this.ae=a.Hb();this.Qd=a.Fb();this.Go=eF(a);this.L=gF(a)?fF(a):1;this.object=a;this.Ya()};
5070function jUa(a,b,c){var d=m(mR(b,!0,!0));b=d.next().value;var e=d.next().value;d=d.next().value;y3(a,d);c?a.forms=b:(a.l=e,a.l.sort(hEa));a.Ya()}h.K=function(){k_(this);this.view.K("object_docs_list",this.Ab,this.g,this.m,this.Qb,this.$l,this.xn,this.object,this.bb,this.ae,this.Qd,this.Go,this.xh,this.Gh,this.s,this.hq,this.L,void 0,void 0,this.Pf);P1(this);z3(this)};h.sd=function(a){J6.D.sd.call(this,a);kUa(this.ea)};function K6(a,b,c){f_.call(this,a,b,c);this.g=new GZ;i_(this,new p3(this,c,"details"))}x(K6,$_);K6.prototype.start=function(a){var b=a.na("objectId");w(b)?(this.g.j=b,a=a.na("debug"),w(a)&&"true"==a&&(this.g.Cl=!0),a=!0):(h_(this),a=!1);a&&(this.g.Wi="OBJECT_FORM",this.g.yl="Student Form",this.g.Bi=2,this.ka("ha",this.h,this),a=++RQ,dV(this,a,"initial"),rQ(a,sV(this.g)))};K6.prototype.h=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=OE(a)[0],MZ(this.g,uF(a)),this.Ya()):this.ka("ha",this.h,this)};
5071K6.prototype.K=function(){K6.D.K.call(this);this.view.K();this.g.m=this.view.g;this.g.start()};K6.prototype.Tf=function(){K6.D.Tf.call(this);this.g.stop()};function L6(){W_.call(this)}x(L6,W_);L6.prototype.K=function(){this.ub("Student Details");gx(this.g.w(),"Lb")};function p3(a,b,c){this.g=a;this.view=b;this.object=null;this.bb="";this.h=c}function kUa(a){DQ(a.g,"ma","initial",function(b){return uQ(b,0,a.bb)},a.o,a,a.bb)}p3.prototype.start=function(a){a=a.na("objectId");w(a)?(this.bb=a,kUa(this)):h_(this.g)};p3.prototype.o=function(a){this.object=a.Sd()[0];this.view.Uc()?(a=z("student_name_container"),a.h="",Yx(a,MMa,lUa(this)),mUa(this)):this.g.Ya()};
5072function lUa(a){var b=$M("objects_list"),c=gF(a.object)?fF(a.object):1;c=kR(c);var d=lR($E(a.object));return{Xb:b,cc:a.object.Fb(),hc:a.object.Hb(),og:eF(a.object),vh:a.h,X1:"students",tn:c,fd:d,bb:a.bb}}function mUa(a){for(var b=gw("student_info_tooltip",a.view.j.w()),c=0,d=b.length;c<d;c++)nU(b[c],a.view.j)}
5073p3.prototype.K=function(){var a=ay(NMa,lUa(this)),b=this.bb,c=this.h,d=WJ,e=fz(this.object,29,!1),f=fz(AF,16,!1);var g=fz(AF,6,!1);b=ay(OMa,{bb:b,vh:c,Ze:d,ut:e,pk:f,mO:g,El:F0()});c=this.view;V_(c.j,a,-1);S_(c.g);a=this.view;V_(a.j,b,-1);S_(a.g);mUa(this)};p3.prototype.$=function(){};function M6(a,b,c){f_.call(this,a,b,c);this.g=i_(this,new p3(this,c,"basics"))}x(M6,E6);h=M6.prototype;h.bb="";h.UQ="";h.qr=null;h.start=function(a){var b=a.na("objectId");w(b)?(this.bb=b,b=!0):(h_(this),b=!1);b&&(l_(this,this.bb,this.U7,this),M6.D.start.call(this,a))};h.U7=function(a){this.yc(a);this.UQ=L(a.Sd()[0]||new sB,19,"");this.Ya()};h.eS=function(){this.view.K(this.Qb,this.rf,this.v,this.bb,this.UQ);var a=this.view.Ha;a&&(nUa(this.view,this.v.wn),D(a,"action",this.$V,void 0,this))};
5074h.RQ=function(a){var b=this;return function(c){return uQ(c,2,b.bb,void 0,void 0,a.xz,a.GA,a.Sc,a.od,a.Xy,a.Qp,a.nJ,a.wn,a.Us,a.Dq)}};h.QQ=function(a){this.Kd(a,"Tb");this.g.o(a);nUa(this.view,this.v.wn)};
5075h.$V=function(){if(!this.v.Ao)throw Error("Unable to initiate student departure");var a=new Set([this.v.Ao]);try{this.qr=new v3("student and their documents","student departure",1,"90 days",a)}catch(b){"SameGoal staff cannot initiate a purge"===b.message&&this.X.ba("Ya");return}this.qr.render();D(this.qr,gI,this.a4,void 0,this)};h.a4=function(a){switch(a.key){case "schedule":oUa(this);break;default:this.qr.Ga(!1)}};
5076function oUa(a){if(!a.bb)throw Error("Unable to initiate student departure");DQ(a,"Zb","init_student_departure",function(b){return TCa(b,[a.bb],1)},a.o_,a)}h.o_=function(a){var b="";a&&0<a.Sd().length&&(b=a.Sd()[0].ef());this.X.ba("$b",b);""==b&&(AK.ba("Ha"),a=new YL("pageName=objects_list"),dM(mH,a,!0))};h.$=function(){M6.D.$.call(this);this.qr&&this.qr.dispose()};function N6(){F6.call(this);this.Cb=yF(AF).includes(71)&&"fl"==VJ;this.Ha=null}x(N6,F6);N6.prototype.K=function(a,b,c,d,e){this.ub("Student Basics");d=ay(cUa,{n1:"* SIS Student Id:",bb:d,oh:e,oU:this.Cb});X_(this,[],d);c||(c={});a=fUa(this,a,b,c);this.Cb&&(b=c.U_,d=z("student_departure_button"))&&(this.Ha=TP("Initiate permanent student departure"),this.Ha.W(!b),this.Ha.Ga(!1),this.Ha.render(d));this.hd(c);
5076Y_(this,a,void 0,"Update student")};
5077function nUa(a,b){if(a.Ha){switch(b){case 3:b=!0;break;case 4:b=!0;break;case 5:b=!0;break;case 6:b=!0;break;case 7:b=!0;break;case 8:b=!0;break;default:b=!1}a.Ha.Ga(b)}}N6.prototype.$=function(){N6.D.$.call(this);this.Ha&&this.Ha.dispose()};function O6(a,b,c){J1.call(this,a,b,c);this.s=new Map;this.Qb=[];this.rf=[];this.xd=[];this.Eb="X";this.kl=3;this.j=[]}x(O6,J1);h=O6.prototype;h.start=function(a){if(this.Dd(a)){this.view.wl(a);this.X.ka("U",this.vM,this);this.ka(this.Eb,this.WQ,this);var b=OJ;DQ(this,"T","initial",function(c){return AQ(c,!1,"",b,void 0,void 0,!0,!0)},this.W7,this);a=++RQ;dV(this,a,"initial");this.td(a);m_(this,!1);n_(this);bMa(this)}};h.X7=function(){this.Ud(1)};
5078h.WQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.Wd(a),O1(this,a),this.Ya()):this.ka(this.Eb,this.WQ,this)};h.W7=function(a){this.Cg=OE(a);a=m(mR(a,!1,!0));var b=a.next().value;a.next();a.next();this.j=b};h.vM=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){for(var b=[],c=0,d=S(a,oC,27);c<d.length;c++){var e=d[c].kb();b.push(e)}this.l=b;pUa(this.view,this.l);O1(this,a);this.Ya()}else this.X.ka("U",this.vM,this)};
5079h.Wd=function(a){var b=[];for(var c=[],d=0,e=a.Sd();d<e.length;d++){var f=e[d],g=f.Rd(),k=eF(f),l=f.Fb(),n=f.Hb(),q=fz(f,4,!1),t=fz(f,28,!1),u=yF(AF).includes(71)?fz(f,36,!1):!1,v=gF(f)?fF(f):1,y=lR($E(f)),G=fz(f,29,!1);v=kR(v);var K=[];f=m(S(f,oB,2));for(var J=f.next();!J.done;J=f.next())J=J.value,K.push([null!=I(J,1)?J.getKey():null,J.kg()?J.getValue():null]);b.push({wb:g,bb:g,hc:n,cc:l,og:k,wd:K,uc:q,Yg:v.Yg,dH:v.dH,Tb:v.Tb,Ed:v.Ed,dC:v.dC,fd:y,ut:G,jl:t,R5:u});c.push(g)}b=[b,c];this.Ab=b[0];this.g=
5080b[1];b=0;for(a=a.Sd();b<a.length;b++)c=a[b],this.s.set(c.Rd(),eF(c))};h.K=function(){O6.D.K.call(this);this.view.K(this.Ab,this.g,this.l,this.Qb,this.rf,this.xd);P1(this);L1(this);K1(this);g_(this,"Ca",this.X7,this);null===this.view.Bc()||D(this.view.Bc(),"action",this.VQ,void 0,this)};h.$=function(){O6.D.$.call(this);M1(this);null===this.view.Bc()||Mx(this.view.Bc(),"action",this.VQ,void 0,this)};
5081h.Ud=function(a){var b=T1(this.view.Ak()),c="pageName=objects_list";""!=b.od&&(c+="&searchLast="+b.od);""!=b.Sc&&(c+="&searchFirst="+b.Sc);null!=b.Qk&&(c+="&searchIdList="+encodeURIComponent(b.Qk));b.Df&&(c+="&searchDeleted="+b.Df);b.Ws&&(c+="&searchCaseload="+b.Ws);b.Qh&&(c+="&searchInactive="+b.Qh);b.Pf&&(c+="&searchPrograms="+b.Pf);null!=b.Qb&&(c+="&searchBuildings="+b.Qb.join(","));b.rf&&(c+="&searchGrades="+b.rf.join(","));b.pk&&(c+="&searchDeadlines="+b.pk.join(","));1!=a&&(c+="&page="+a.toString());
5082MK(c)};
5083h.VQ=function(a){var b=this;U1(this.view)?(a=a.target.getValue(),!(new Set("Delete;Undelete;Cancel purge;Change Building;Create Document;Request Document Access".split(";"))).has(a)&&this.ze?this.X.ba("od"):"Delete"==a?V0(this,{tag:"delete",Qe:!0,Od:"Ob",Ke:"Ld",Jd:"ma",bf:"Dd"}):"Undelete"==a?V0(this,{tag:"undelete",Qe:!1,Od:"Pb",Ke:"Ld",Jd:"ma",bf:"Dd"}):"Collapse Student Records"==a?(a="pageName=object_collapse&objectId="+this.view.wc().join(","),MK(a)):"Schedule purge"==a?qUa(this):"Cancel purge"==a?
5084V0(this,{tag:"cancel_purge",Qe:!1,Od:"Wb",Ke:"Ld",Jd:"ma",bf:"Fd"}):"Cancel Student Departure"==a?V0(this,{tag:"cancel_student_departure",Od:"ac",aq:function(c){return TCa(c,b.view.wc(),0)},Jd:"Zb"}):"Create Document"==a?rUa(this):"Change Building"==a?(a=this.Qb.map(I1),sJa(a,function(c){V0(b,{tag:"move_building",Qe:c,Od:"Yb",Ke:"Ld",Jd:"ma",bf:"Gd"})})):"Request Document Access"==a&&(a=new O0(this.view.wc(),null,this.j,0),this.ze&&R0(a,this.zf()),UNa(a))):this.X.ba("La")};
5085h.td=function(a){O6.D.td.call(this,a);a=++RQ;dV(this,a,"initial");var b=new lB;EE(b,31);FE(b,a);eN(dN.getInstance(),b)};h.zf=function(){var a=S1(),b;WJ||(b=OJ);return jCa(N1(this),a.Sc,a.od,a.Qk,a.Df,a.Qh,a.Pf,b,a.Qb,a.rf,a.pk,a.Ws)};h.Kv=function(){return!1};h.V7=function(a){switch(a.key){case "schedule":V0(this,{tag:"schedule_purge",Qe:!0,Od:"Vb",Ke:"Ld",Jd:"ma",bf:"Fd"});break;default:this.Ka=null}};
5086function qUa(a){for(var b=new Set,c=m(a.view.wc()),d=c.next();!d.done;d=c.next())b.add(a.s.get(d.value));try{a.Ka=new v3("student","purge",a.view.wc().length,"one week",b)}catch(e){if("SameGoal staff cannot initiate a purge"===e.message){a.X.ba("Ya");return}throw e;}a.Ka.render();D(a.Ka,gI,a.V7,void 0,a)}
5087function rUa(a){var b=uJa(a.Cg);if(0==b.length)a.X.ba("$a");else{var c=a.view.wc().length,d=c+"";a.ze&&(d=a.Yr);yF(AF).includes(75)?vX(2,function(e){return 0==e?(e=new $W(b,"Create:",10,"Choose one...",void 0),dJa(e),e.fontWeight="bold",e.Tm(),e):pX([{label:"",Oa:"true"}],"Don't create duplicates")},"Bulk Create Documents","Create "+d+" Document"+(1<c?"s":""),"Cancel",function(e){return sUa(a,e[0],e[1])},"Create a document for all checked students.  If some students have errors, the rest of the students will still have the document created.\n\nCommon errors include:\n- Student already has an incomplete document for the selected type\n- User does not have permission to create the selected document for a student",
5088void 0,[!0,!1]):vX(1,function(){var e=new $W(b,"Create:",10,"Choose one...",void 0);dJa(e);e.fontWeight="bold";e.Tm();return e},"Bulk Create Documents","Create "+d+" Document"+(1<c?"s":""),"Cancel",function(e){return sUa(a,e[0],"")},"Create a document for all checked students.  If some students have errors, the rest of the students will still have the document created.\n\nCommon errors include:\n- Student already has an incomplete document for the selected type\n- User does not have permission to create the selected document for a student")}}
5089function sUa(a,b,c){var d="true"==c;V0(a,{tag:"bulk_create",Jd:"na",Od:"Xb",aq:function(e){var f=a.view.wc(),g=new lB;FE(g,e);e=m(f);for(f=e.next();!f.done;f=e.next())vQ(g,1,void 0,b,f.value,void 0,void 0,void 0,void 0,void 0,d);eN(dN.getInstance(),g)},bq:function(e){var f=a.zf(),g="pageName=all&searchDocForms="+b,k=new lB;FE(k,e);pQ(k,f,g,!0);e=OD(k);M(e,1,11);vQ(k,1,void 0,b,void 0,void 0,void 0,void 0,void 0,void 0,d);eN(dN.getInstance(),k)}})};function P6(){$1.call(this);this.u=this.h=null}x(P6,$1);h=P6.prototype;h.wl=function(a){this.u=new X1(a)};function pUa(a,b){a=a.u;a.Y=[""];a.Y.push.apply(a.Y,b);a.Y.sort()}h.K=function(a,b,c,d,e,f){this.ub("Students");b=WJ?ay(j0,{Rs:"student",Qs:"#pageName=object_add"}):ay(j0);var g=this.vd(a);X_(this,[b],g);a2(this);c2(this,a);sPa(this.u,d,void 0,void 0,void 0,e,f);tUa(this);this.u.render(z("search_bar"));S_(this.g);uUa(this);VU(!1,"Students");pUa(this,c)};
5090h.$=function(){P6.D.$.call(this);b2(this);WJ&&d2(this);C(this.h);C(this.u);YU()};h.sd=function(a,b){P6.D.sd.call(this,a,b);uUa(this)};h.vd=function(a){return ay(yBa,{items:a,Y1:"students"})};
5091function tUa(a){var b=["Create Document","Request Document Access"];if(WJ){b.push("Delete","|","Collapse Student Records");if(T1(a.u).Df){var c=[];fz(AF,29,!1)&&c.push("Schedule purge","Cancel purge");yF(AF).includes(71)&&"fl"==VJ&&c.push("Cancel Student Departure");b=0<c.length?["Undelete","|"].concat(ka(c)):["Undelete"]}b.push("Change Building")}a.h=e2("Actions",b);a.h.render(z("actions_button"));nw().e2e&&KH(a.h.Sb(),function(d,e){return d.w().setAttribute("data-e2e","menu-"+b[e])})}h.Bc=function(){return this.h};
5092h.Ak=function(){return this.u};function uUa(a){for(var b=gw("student_info_tooltip",a.g.w()),c=0,d=b.length;c<d;c++)nU(b[c],a.g)};function Q6(a,b,c){J1.call(this,a,b,c);this.Jc="pdf_export_load";this.kl=83;this.Eb="mc";
5092this.u=vEa(1);this.m="";this.L=null;this.Cg=[];this.T=new Map;this.s=[];this.l="";this.j=0;zK(this.X,"mc",this.QW,this)}x(Q6,J1);h=Q6.prototype;h.Dd=function(a){a=a.na("collectionId");if(!w(a))return h_(this),!1;this.m=a;return!0};
5093h.start=function(a){var b=this;this.Dd(a)&&(DQ(this,"T","initial",function(c){return AQ(c,void 0,void 0)},this.Y7,this),DQ(this,this.Eb,"initial",function(c){return FCa(c,b.m)},function(c){b.L=c;b.Ya()}))};
5094h.K=function(){var a=this;Q6.D.K.call(this);this.Wd(this.L);this.L=null;this.view.K(this.Ab,this.Vl);for(var b={},c=m(this.view.AB()),d=c.next();!d.done;b={kB:b.kB,ew:b.ew},d=c.next())d=m(d.value),b.kB=d.next().value,b.ew=d.next().value,D(b.ew.button,"action",function(e){return function(){z("status_"+e.kB).innerText=a.u;window.open(e.ew.url)}}(b),void 0,this);D(this.view.Bc(),"action",this.CK,void 0,this)};h.$=function(){Mx(this.view.Bc(),"action",this.CK,void 0,this)};
5095h.Wd=function(a){this.Ab=uEa(a,this.Cg);this.Vl=N(S(a,fD,1009)[0],XC,1001);a=m(this.Ab);for(var b=a.next();!b.done;b=a.next())b=b.value,this.T.set(b.wb,b.url)};h.Y7=function(a){this.Cg=mR(a,!1,!1)[0];this.Ya()};h.CK=function(a){var b=this,c;return r(function(d){if(!U1(b.view))return xZ("Please select one or more zips to download."),d.return();c=a.target.getValue();"Download zips"==c&&(b.j=0,b.s=b.view.wc(),b.l=b.s[b.j],vUa(b));ua(d)})};
5096h.QW=function(a){var b=S(a,fD,1009);if(0!=b.length){var c=L(N(b[0],XC,1001),1,"");this.m==c&&(b=gz(b[0],1002,void 0,eD),w(b)&&0!=b.Dc()&&(b=b.entries().next().value,b=z("status_"+b[0]),null!=b&&(a=uEa(a,this.Cg)[0],b.innerText=a.aL,z("last_download_"+a.wb).innerText=a.PM,this.l==a.wb&&(this.j++,this.j<this.s.length&&(this.l=this.s[this.j],vUa(this))))))}};
5097function vUa(a){var b=rL();b=a.T.get(a.l)+"&SID="+b;null==window.open(b)?wZ(uZ.getInstance(),"Please enable popups and redirects for this site in order to download multiple zips."):(b=z("status_"+a.l),null!=b&&(b.innerText=a.u))};function R6(){$1.call(this);this.u=new Map;this.h=null}x(R6,$1);R6.prototype.Bc=function(){return this.h};R6.prototype.AB=function(){return this.u};R6.prototype.K=function(a,b){var c="PDF Export Zip";this.ub(c);c=c+" - "+b.kb();c=ay(j0,{mn:c,Xb:"#pageName=pdf_export_list",Ce:"PDF Exports"});b=ay(eSa,{$K:a,IW:b.Hx(),rU:a.some(function(d){return 0<d.Dn.length})});X_(this,[c],b);wUa(this.g);c2(this,a);this.h=e2("Actions",["Download zips"]);this.h.render(z("actions_button"));S_(this.g);xUa(this,a)};
5098function wUa(a){var b=a.w().querySelectorAll(".student_info_tooltip");b=m(b);for(var c=b.next();!c.done;c=b.next())nU(c.value,a)}function xUa(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=TP("download",void 0,void 0,void 0,1);c.rd("D");a.u.set(d.wb,{url:d.url,button:c});if(d=z("download-btn-"+d.wb))a.g.Ea(c,!1),c.render(d)}};function S6(a,b,c){J1.call(this,a,b,c)}x(S6,J1);
5099S6.prototype.start=function(){var a=this;DQ(this,"mc","initial",function(b){return FCa(b)},function(b){b=S(b,fD,1009);if(!b)throw Error("PDF exports cannot be null");for(var c=[],d=b.length-1;-1<d;d--){var e=N(b[d],XC,1001),f=N(e,rB,1001),g=(new Date(L(e,8,0))).toLocaleDateString(void 0,{day:"2-digit",month:"2-digit",year:"numeric"}),k=[];k.push(["Creation Date: ",g]);k.push(["Created By:",f.Fb()+" "+f.Hb()]);c.push({wd:k,Vg:L(e,1,""),name:e.kb()})}a.j=c;a.Ya()})};
5100S6.prototype.K=function(){S6.D.K.call(this);this.view.K(this.j)};function T6(){$1.call(this)}x(T6,$1);T6.prototype.K=function(a){this.ub("PDF Exports");var b=ay(j0,{mn:"PDF Exports",Rs:"new pdf export",Qs:"#pageName=all",Xb:"#pageName=instance_settings",Ce:"settings",PD:"To create a new export, visit All (left menu). Apply the desired filters, select documents to export, then click Print > Export all."});a=this.vd(a);X_(this,[b],a)};T6.prototype.vd=function(a){return ay(GBa,{aO:a})};function yUa(a){var b=a.domain;return Y(a.Rq?"SameGoal staff cannot run the PDF Import tool.":'<div class="'+Z("sq")+'"><div id="upload_region" class="'+Z("tq")+'"><div><b>This tool bulk imports PDFs in 2 stages.</b> It may be used to migrate PDFs from a prior system when transitioning to SameGoal.</div><ul><li><b>Stage 1: Configure and Upload.</b>
5100 Select the folder on your local computer that contains PDFs from your prior system. This folder must be named <code>'+X(b)+'</code>.<ul><li>Once a folder is selected, you will have the chance to configure the upload and preview the success rate of file association.</li><li>Once you begin, a progress table will show the upload status of each document.</li><li>While PDFs are being uploaded, do not interrupt the process (eg close the tab, close the browser, hit the back button, log out of SameGoal, disconnect from wifi, etc). Doing so will interrupt this stage and require you to restart.</li><li>A summary of the number of uploaded documents for processing and any upload errors will appear on screen after Stage 1 is complete.</li></ul></li><li style="padding-top: 2em"><b>Stage 2: Associate.</b> Once PDFs have been uploaded to SameGoal servers, they are automatically inspected and associated with the corresponding student in SameGoal when possible.<ul><li>This phase happens server-side. You may close the tab, browser, work on something else in SameGoal or even log out while PDFs are being processed.</li><li>Once Stage 2 is complete, you will receive a notification email with a link to review results.</li></ul></li></ul><div id="dnd" class="'+
5101Z("uq")+'"><div class="'+Z("wq")+'">Drag a folder here to begin Stage 1: Upload</div></div></div>'+zUa()+"</div>")}
5102function AUa(){return Y('<div id="selection_region" class="'+Z("tq")+'"><div>Configure your PDF import settings below. Here\'s an example filepath from your uploaded folder:</div><div class="'+Z("zq")+" "+Z("Cq")+'"><i class="'+Z("E")+" "+Z("Dq")+'">folder_open</i><div id="exampleFilepath"></div></div><div id="example_radios" class="'+Z("Eq")+'"></div><div id="div_no_id_text" class="'+Z("Gq")+'" style="display: none"></div><div id="div_no_id_radios" class="'+Z("Eq")+'" style="display: none"></div><div id="div_separator_text" class="'+
5103Z("Gq")+'" style="display: none">If your selection contains information other than the Student ID, choose what separates the ID from the rest. If your selection is only the Student ID, choose None.</div><div id="div_separator_select" class="'+Z("Fq")+'" style="display: none"></div><div id="example_piece_radios" class="'+Z("Eq")+'" style="display: none"></div><div id="div_confirmation_text" class="'+Z("Gq")+'" style="display: none"></div><div id="div_example_regex_radios" class="'+Z("Eq")+'" style="display: none"></div><div id="div_regex_text" class="'+
5104Z("Gq")+'" style="display: none">Enter a regular expression that will capture the student\'s first and last name. You must use capturing groups &lt;first&gt; and &lt;last&gt;. <b>We recommend you contact SameGoal support for this.</b></div><div id="div_best_guess_text" class="'+Z("Gq")+'" style="display: none"><b>We recommend using another option if possible.</b> This mode attempts to associate documents with students by scanning the text content of each PDF for names and Student IDs, but may make incorrect associations. PDFs containing only images (such as document scans) cannot be associated this way.</div><div id="div_pattern" class="'+
5105Z("Hq")+'" style="display: none"></div><div id="div_preview_spinner" class="'+Z("zq")+'" style="display: none"><svg class="'+Z("qu")+" "+Z("ru")+'" viewBox="0 0 66 66"><circle class="'+Z("tu")+'" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle></svg><div class="'+Z("Iq")+'">Processing preview, please wait...</div></div><div id="div_preview_error" class="'+Z("vq")+'"></div><div id="div_preview_results"></div><div class="'+Z("zq")+'"><div id="preview_button"></div><div id="upload_button"></div></div></div>'+
5106zUa())}
5107function zUa(){return Y('<div id="stats" style="display: none" class="'+Z("tq")+'"><div class="'+Z("wq")+'" id="action">Processing...</div><div id="status"><svg class="'+Z("qu")+" "+Z("su")+'" viewBox="0 0 66 66"><circle class="'+Z("tu")+'" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle></svg></div><div><span id="filename"></span> <span id="percent"></span></div><div id="div_connection_loss" style="display: none" class="'+Z("Bq")+'">The connection to the server has been lost. A retry will be sent once per minute until a connection is re-established. Please do not exit the page; the upload is still in progress.</div><div id="div_server_disk_low" style="display: none" class="'+Z("Bq")+
5108'">The server needs some time to clear out its upload queue. We will check the server status every minute until there is confirmed space available. Please do not exit the page or reload; the upload is still in progress.</div>'+BUa()+'<div style="padding-top: 1em; max-width: min(900px, 90%)"><b>Do not interrupt the upload process (eg close the tab, close the browser, hit the back button, log out of SameGoal, disconnect from wifi, etc)</b>. Doing so will require you to restart. You may continue to work in SameGoal on other tabs. Please refrain from initiating additional PDF imports until the current import has completed.</div></div>')}
5109function BUa(){return Y('<div id="errors" style="display: none" class="'+Z("Bq")+'"><b>Upload error list (max 100 entries):</b><pre id="log" style="height: 10em;
5109 overflow-y: scroll"></pre></div>')}
5110function CUa(a){var b=a.O9,c=a.N9,d=a.t3;a=a.SW;b=BL(d,"")?0==c?'<div><div class="'+Z("xq")+'"><b>Stage 1: Upload - Complete</b></div><ul><li>PDFs have been uploaded to SameGoal servers.</li><li>Summary - '+X(b)+' uploaded, 0 upload errors</li></ul></div><div style="padding-top: 2em"><div class="'+Z("xq")+'"><b>Stage 2: Associate - In Progress</b></div><ul><li>Uploaded PDFs are being automatically inspected and associated with the corresponding students in SameGoal when possible.</li><li>You may now leave this page, log out or close your browser. Once Stage 2 is complete, you will receive a notification email with a link to review results.</li></ul></div><div>NOTE: Not all documents may be associated with a student. SameGoal will not store documents which were uploaded but not associated. <b>You must store these non-associated PDFs outside of SameGoal.</b></div>'+
5111(a?"<br><div>The connection to the server was lost sometime during the upload. The upload was still completed. <b>Please refresh your browser to continue using SameGoal.</b></div>":""):'<div><div class="'+Z("xq")+'"><b>Stage 1: Upload - '+X(b)+' PDFs uploaded, <span style="color: red">'+X(c)+" PDFs not uploaded</span></b></div><ul><li>Errors occurred while uploading PDFs to SameGoal servers.</li></ul></div>"+BUa()+'<div style="padding-top: 2em"><div class="'+Z("xq")+'">We recommend you re-upload this folder by beginning a <a href="#pageName=pdf_import_list">new PDF import</a></div><ul><li>PDFs that were uploaded successfully have already continued to Stage 2: Associate. Once Stage 2 is complete, you will receive a notification email with a link to review these results.</li><li>Beginning a new PDF import will not interfere with these PDFs already being processed.</li><li>PDFs that have already been processed will not be re-processed.</li></ul></div>':
5112'<div><div class="'+Z("xq")+'"><b>Stage 1: Upload - <span style="color: red">Failed</span></b></div><ul><li>'+X(d)+"</li></ul></div>";return Y('<div class="'+Z("tq")+" "+Z("yq")+'">'+b+"</div>")};function U6(a,b,c){f_.call(this,a,b,c);this.jd=[];this.Wa=[];this.u=[];this.Z=[];this.h=[];this.m=!1;this.T=[];this.$b="";this.Bb=0;this.sb=this.Kc=this.Yd=!1;this.Gb=this.oe=this.Ia=0;this.ic=this.ac="";this.me=!1;this.g=this.Ua=this.M=this.Ha=this.ea=this.va=null;this.s=this.j="";this.l=0;this.Ja=!0;this.Pb=[];this.Ta=!1;this.Y=this.mb=this.Na=this.$a=0;this.Za=this.Vb=this.L=null;this.zb=[];a=new Date;this.bc=""+a.getFullYear()+((10>a.getMonth()+1?"0":"")+(a.getMonth()+1))+((10>a.getDate()?"0":
5113"")+a.getDate())+"-"+((10>a.getHours()?"0":"")+a.getHours())+((10>a.getMinutes()?"0":"")+a.getMinutes())+((10>a.getSeconds()?"0":"")+a.getSeconds())}x(U6,$_);h=U6.prototype;h.K=function(){U6.D.K.call(this);this.me=yF(AF).includes(85);this.view.K(this);if(!jK()){var a=A("dnd");D(a,"dragover",this.UW,void 0,this);D(a,"dragleave",this.TW,void 0,this);D(a,"drop",this.Z7,void 0,this)}};h.$=function(){U6.D.$.call(this);jK()||V6(this)};
5114h.UW=function(a){this.Bd||(a.stopPropagation(),a.preventDefault(),a.g.dataTransfer.dropEffect="copy",z("dnd").style.borderColor="#4d90fe")};h.TW=function(){this.Bd||(z("dnd").style.borderColor="")};
5115h.Z7=function(a){var b=this,c,d,e,f,g,k,l,n;return r(function(q){switch(q.g){case 1:a.stopPropagation(),a.preventDefault(),F_()||TM(NM),nH.close(),W6("back",!1),W6("upload_region",!1),W6("stats",!0),a.g&&a.g.dataTransfer||(b.ic="No files were found.",V6(b)),c=a.g.dataTransfer.items,d=0;case 2:if(!(d<c.length)){q.ua(4);break}e=c[d].webkitGetAsEntry();b.zb.push(e);f=e.fullPath.substring(1);g=f.split("/")[0].split("_");k=!1;for(l=0;l<g.length;l++)if(g[l]==UJ){k=!0;break}if(!k)return b.ic="Uploaded directory must match instance domain name.\nThis ensures that the correct district is being uploaded and can be found in the\nblue menu bar above.",
5116V6(b),q.return();b.T.push(e.createReader());if(b.s){q.ua(3);break}va(q,6);n=b;return p(q,DUa(b,c[d].webkitGetAsEntry()),8);case 8:n.s=q.h;xa(q,3);break;case 6:ya(q),b.ic="Something went wrong while scanning your\n          documents.",V6(b);case 3:d++;q.ua(2);break;case 4:F_()&&TM(NM);C0();W6("back",!0);var t=gw("sq")[0];Yx(t,AUa);A("exampleFilepath").innerHTML=b.s;t=b.s.split("/");for(var u=[],v=1;v<t.length;v++)u.push({label:t[v],Oa:v});u[u.length-1].Oa="file_ids";u.push({label:"The Student ID is not present",
5117Oa:"no_id"});b.va=tX(u,"Select the portion of the filepath with the Student ID:",void 0,void 0,!0);b.va.render(z("example_radios"));D(b.va,"change",b.kX,void 0,b);b.Ua=uX([{label:"None",Oa:"none"},{label:"Underscore",Oa:"underscore"},{label:"Hyphen",Oa:"hyphen"},{label:"Parentheses",Oa:"parentheses"},{label:"Comma",Oa:"comma"},{label:"Space",Oa:"space"}],"Separator:");b.Ua.render(z("div_separator_select"));D(b.Ua,"change",b.X2,void 0,b);b.M=tX([{label:"Write a regular expression",Oa:"regex"},{label:"Let the system guess",
5118Oa:"best_guess"}],"Alternate upload options:");b.M.render(z("div_no_id_radios"));D(b.M,"change",b.S2,void 0,b);u.pop();b.Ha=tX(u,"Select the portion of the filepath with student information:",void 0,void 0,!0);b.Ha.render(z("div_example_regex_radios"));D(b.Ha,"change",b.U2,void 0,b);b.L=rX("Regular expression:",100);b.L.render(z("div_pattern"));D(b.L,"change",b.Vp,void 0,b);t=A("upload_button");b.Vb=TP("Continue");b.Vb.render(t);D(b.Vb,"action",b.J8,void 0,b);t=A("preview_button");b.Za=TP("Preview");
5119b.Za.render(t);D(b.Za,"action",b.V5,void 0,b);b.Vp();ua(q)}})};
5120function DUa(a,b){var c,d,e,f,g,k;return r(function(l){switch(l.g){case 1:if(!b)return l.return("");
5120if(b.isFile)return l.return(new Promise(function(n,q){b.file(function(t){return n("application/pdf"==t.type?b.fullPath.substring(1):"")},q)}));c=b.createReader();case 2:return p(l,X6(c),4);case 4:d=l.h;if(0==d.length){l.ua(3);break}e=m(d);f=e.next();case 5:if(f.done){l.ua(2);break}g=f.value;return p(l,DUa(a,g),8);case 8:if(k=l.h)return l.return(k);f=e.next();l.ua(5);break;case 3:return l.return("")}})}
5121h.J8=function(){0<this.cb||!this.Ja||(Y6(""),F_()||TM(NM),W6("back",!1),W6("selection_region",!1),W6("stats",!0),A("status").innerHTML='File <span id="num">0</span> of <span id="total">'+(this.jd.length+'</span>, <span id="error_count"><span id="upload_errors">0</span> upload errors</span>'),Z6(this))};
5122function Z6(a){var b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q;r(function(R){switch(R.g){case 1:if((0<a.T.length||0<a.Wa.length)&&a.Kc)return R.return();a.Yd=!0;a.Kc=!0;case 2:if(!(0<a.h.length)){R.ua(7);break}if(!a.m){R.ua(5);break}return p(R,new Promise(function(aa){return setTimeout(aa,6E4)}),6);case 6:a.m=!1;case 5:b=500-a.u.length,c=Math.min(b,a.h.length),a.mb-=c,a.u.push.apply(a.u,ka(a.h.splice(0,c)));case 7:if(!(5E3<a.Z.length||6<=a.$a)){d=0==a.T.length&&0==a.h.length;if(500<=a.u.length||d)if(a.$a++,
5123e=new dH,e.J("complete",bb(a.N3,a,a.u.slice())),e.s=6E5,e.j=!0,f=JSON.stringify(a.u.map(function(aa){return{filename:aa.filename,hash:aa.hash,size:aa.size,prefix:aa.prefix}})),g=new FormData,g.append("data",f),e.send(EUa(a),"POST",g),k=z("total"),a.mb+=a.u.length,k&&(k.innerText=a.mb),a.u=[],d)return R.return();if(0==a.T.length&&0==a.Wa.length){R.ua(2);break}l=[];if(0<a.Wa.length){l=a.Wa.splice(0,500);R.ua(10);break}n=a.T[a.T.length-1];return p(R,X6(n),11)}return p(R,new Promise(function(aa){return setTimeout(aa,
5124100)}),7);case 11:q=R.h;if(0==q.length){a.T.pop();R.ua(2);break}if(500<q.length)for(l=q.splice(0,500),t=m(q),u=t.next();!u.done;u=t.next())v=u.value,a.Wa.push(v);else l=q;case 10:y={},G=m(l),K=G.next();case 12:if(K.done){R.ua(2);break}y.Ll=K.value;if(!y.Ll.isFile||!$6(a,y.Ll.name)){y.Ll.isDirectory&&a.T.push(y.Ll.createReader());R.ua(13);break}J=y;return p(R,new Promise(function(aa){return function(fa,za){aa.Ll.file(fa,za)}}(y)),16);case 16:return J.ls=R.h,p(R,new Promise(function(aa){return function(fa){var za=
5125new FileReader;za.onload=function(Aa){var Va,Ja,ab;return r(function(Xa){if(1==Xa.g)return p(Xa,crypto.subtle.digest("SHA-1",Aa.target.result),2);Va=Xa.h;Ja=ly(new Uint8Array(Va),2);ab=ly((new Uint8Array(Aa.target.result)).slice(0,9),2);fa({hash:Ja,prefix:ab});ua(Xa)})};za.readAsArrayBuffer(aa.ls)}}(y)),17);case 17:O=R.h,P=O.hash,Q=O.prefix,a.u.push({file:y.ls,filename:y.Ll.fullPath.substring(1),size:y.ls.size,hash:P,prefix:Q});case 13:y={Ll:y.Ll,ls:y.ls},K=G.next(),R.ua(12)}})}
5126function $6(a,b){if(!a.me)return b.toLowerCase().endsWith(".pdf");b=b.toLowerCase();a=b.split(".");return 2>a.length?!1:"pdf mp3 mp4 m4a doc docx xls xlsx jpeg jpg png gif".split(" ").includes(a[a.length-1])}
5127h.N3=function(a,b){var c=this;this.$a--;if(!this.Bd)if(b=b.target,hH(b))if("retryAll"==iH(b))this.h.push.apply(this.h,ka(a)),this.m=!0,Z6(this);else{W6("div_connection_loss",!1);b=jH(b);var d=b.success,e=b.retry;b=b.errors;var f=a.length;if(d){var g=a.filter(function(l){return d.includes(l.hash)});this.Z.push.apply(this.Z,ka(g));f-=g.length}e?(g=a.filter(function(l){return e.includes(l.hash)}),this.h.push.apply(this.h,ka(g)),Z6(this),f-=g.length,W6("div_server_disk_low",!0),this.m=!0):W6("div_server_disk_low",
5128!1);if(b){var k=new Map(b.map(function(l){return[l.hash,l.error]}));a.filter(function(l){return k.has(l.hash)}).forEach(function(l){a7(c,l,k.get(l.hash))})}this.Ia+=f;z("num").innerText=this.Ia;FUa(this);b7(this)&&c7(this)}else if(0==b.Ec())this.sb=!0,this.h.push.apply(this.h,ka(a)),W6("div_connection_loss",!0),this.m=!0,Z6(this);else{a=m(a);for(f=a.next();!f.done;f=a.next())a7(this,f.value,iH(b));b7(this)&&c7(this)}};
5129function b7(a){return 0==a.$a&&0==a.Z.length&&0==a.Na&&0==a.T.length&&0==a.h.length}
5130function FUa(a){var b,c,d;r(function(e){switch(e.g){case 1:b={};case 2:if(!(12>=a.Na&&0<a.Z.length)){e.ua(0);break}if(!a.m){e.ua(4);break}return p(e,new Promise(function(f){return setTimeout(f,6E4)}),5);case 5:a.m=!1;case 4:b.Zj=a.Z.shift();if(!b.Zj)return e.return();a.Na++;z("num").innerText=++a.Ia;z("filename").innerText=b.Zj.filename;z("percent").innerText="";
5130c=new dH;c.J("complete",function(f){return function(g){a.Na--;a:{var k=f.Zj;if(!a.Bd){g=g.target;if(hH(g)){if("recheck"==iH(g)){a.h.push(k);
5131z("num").innerText=--a.Ia;a.m=!0;Z6(a);break a}if("full"==iH(g)){a.Z.push(k);a.m=!0;z("num").innerText=--a.Ia;break a}a.oe++}else{if(0==g.Ec()){a.sb=!0;a.h.push(k);z("num").innerText=--a.Ia;W6("div_connection_loss",!0);a.m=!0;Z6(a);break a}a7(a,k,iH(g))}W6("div_connection_loss",!1);b7(a)&&c7(a)}}FUa(a)}}(b));c.J("progress",bb(a.Z3,a,b.Zj));c.s=6E5;c.j=!0;c.cb=!0;d=new FormData;d.append("pdf",b.Zj.file,b.Zj.filename);c.send(GUa(a,b.Zj),"POST",d);b={Zj:b.Zj};e.ua(2)}})}
5132function EUa(a){var b=fK+"/iep/pdfImport?preflight=true&epoch="+encodeURIComponent(a.bc);0<a.l&&(b+="&depth="+encodeURIComponent(a.l.toString()));b+="&selector="+encodeURIComponent(a.g.toString());if(3==a.g||4==a.g)b+="&separator="+encodeURIComponent(a.j),3==a.g&&(b+="&sepIndex="+encodeURIComponent(a.Y.toString()));5==a.g&&(a=a.L.getValue(),b+="&pattern="+encodeURIComponent(a));return b}function X6(a){return new Promise(function(b,c){a.readEntries(b,c)})}
5133h.V5=function(){var a=this,b,c,d,e,f,g,k,l,n,q;return r(function(t){if(1==t.g){if(0<a.cb||!a.Ja)return t.return();Y6("");b=A("div_preview_results");b.innerHTML="";c=a.L.getValue();d=[];a.Ja=!1;a.Bb=0;a.cb=0;a.Ta=!1;a.$b=Date.now()+"_"+Math.random().toString(36);W6("div_preview_spinner",!0);for(e=0;e<a.zb.length;e++)a.Pb.push(a.zb[e].createReader())}if(4!=t.g){f=0==a.Pb.length;if(a.Ta)return t.return();if(5E4<=d.length||f&&0<d.length)a.cb++,a.Bb+=d.length,DQ(a,"oc","pdf_import_preview",function(u){return RCa(u,
5134d,a.l,a.g?a.g.toString():"",a.j,a.Y,c,a.$b)},function(u){a.cb--;u=N(u,iD,50).getError();""!=u||a.Ta?(a.Ta=!0,a.Ja=!0,a.cb=0,Y6(u),W6("div_preview_spinner",!1)):A("div_preview_results").innerHTML="Sent "+a.Bb+" PDFs..."},a),d=[];if(f)return HUa(a),t.return();g=a.Pb[a.Pb.length-1];return p(t,X6(g),4)}k=t.h;if(0==k.length)return a.Pb.pop(),t.ua(2);l=m(k);for(n=l.next();!n.done;n=l.next())q=n.value,q.isFile&&$6(a,q.name)?d.push(q.fullPath.substring(1)):q.isDirectory&&a.Pb.push(q.createReader());return t.ua(2)})};
5135function HUa(a){DQ(a,"pc","pdf_import_preview_results",function(b){var c=a.$b,d=new lB;EE(d,88);FE(d,b);b=new hD;M(b,7,c);T(d,56,b);eN(dN.getInstance(),d)},function(b){return IUa(a,b)},a)}
5136function IUa(a,b){b=N(b,iD,50);var c=b.getError();if(""!=c||a.Ta)a.Ta=!0,a.Ja=!0,a.cb=0,Y6(c),W6("div_preview_spinner",!1);else{c=A("div_preview_results");var d=L(b,2,0),e=L(b,1,0);fz(b,3,!1)?(b=e+"/"+d+" of provided files will successfully associate with a student (",b=0==d?b+"0%)":b+((100*e/d).toFixed(2)+"%)"),c.innerHTML=b,W6("div_preview_spinner",!1),a.Ja=!0):(c.innerHTML=0!=d?"Processed "+d+" PDFs...":"Waiting for server...",setTimeout(function(){return HUa(a)},1E3))}}
5137function d7(a,b){var c=A("exampleFilepath"),d=a.s.split("/");if(1>b||b>=d.length)c.innerHTML=a.s;else{a="";for(var e=0;e<d.length;e++)a=b==e?a+('<b style="font-size: 1.2em;">'+d[e]+"</b>/"):a+(d[e]+"/");c.innerHTML=a.slice(0,-1)}}function Y6(a){A("div_preview_error").innerHTML=a}
5138h.kX=function(){this.Ua.setValue("");var a=!1,b=!1;switch(this.va.getValue()){case "":d7(this,0);break;case "file_ids":this.l=0;d7(this,this.s.split("/").length-1);a=!0;break;case "no_id":this.l=0;d7(this,0);b=!0;break;default:a=this.va.getValue();var c=parseInt(a,10);Number.isNaN(c)&&(c=0);this.l=c;a=!0;d7(this,c)}W6("div_separator_text",a);W6("div_separator_select",a);W6("div_no_id_radios",b);W6("example_piece_radios",!1);W6("div_best_guess_text",!1);W6("div_regex_text",!1);W6("div_pattern",!1);
5139W6("div_example_regex_radios",!1);this.Vp()};h.jX=function(){var a=!1,b=this.ea.getValue();b=parseInt(b,10);if(Number.isNaN(b))this.g=null,this.Y=0;else{a=!0;this.Y=b;var c=e7(this).split(this.j);f7(c[b]);this.g=b==c.length-1?4:3}W6("div_confirmation_text",a);this.Vp()};
5140h.X2=function(){var a=!1,b=!1;this.g=null;switch(this.Ua.getValue()){case "comma":this.j=",";a=!0;g7(this);break;case "hyphen":this.j="-";a=!0;g7(this);break;case "underscore":this.j="_";a=!0;g7(this);break;case "space":this.j=" ";a=!0;g7(this);break;case "none":this.j="";f7(e7(this));b=!0;this.g=1;break;case "parentheses":this.j="(";b=e7(this);var c=b.indexOf("(");if(-1==c){f7(b);b=!0;break}var d=b.indexOf(")",c);f7(b.slice(c+1,d));b=!0;this.g=2;break;default:this.j=""}W6("example_piece_radios",
5141a);W6("div_confirmation_text",b);this.Vp()};h.S2=function(){var a=!1,b=!1;switch(this.M.getValue()){case "regex":this.g=5;a=!0;break;case "best_guess":this.l=0;d7(this,0);this.g=0;b=!0;break;default:this.g=null}W6("div_example_regex_radios",a);W6("div_best_guess_text",b);W6("div_pattern",!1);W6("div_regex_text",!1);this.Vp()};
5142h.U2=function(){switch(this.Ha.getValue()){case "file_ids":this.l=0;d7(this,this.s.split("/").length-1);var a=!0;break;default:a=!0;var b=this.Ha.getValue();b=parseInt(b,10);Number.isNaN(b)&&(b=0,a=!1);this.l=b;d7(this,b)}W6("div_pattern",a);W6("div_regex_text",a)};function e7(a){if("file_ids"==a.va.getValue()){var b=a.s.split("/").pop();b=$6(a,b)?b.slice(0,-4):b}else b=a.s.split("/")[a.l];return b}
5143function g7(a){for(var b=e7(a).split(a.j),c=[],d=0;d<b.length;d++)c.push({label:b[d],Oa:d});a.ea&&C(a.ea);a.ea=tX(c,"Select the Student ID:",void 0,void 0,!0);b=z("example_piece_radios");Fw(b);a.ea.render(b);D(a.ea,"change",a.jX,void 0,a)}
5144function f7(a){var b=z("div_confirmation_text");a="You have indicated that the student ID is '<b>"+a+"</b>'. If this is correct, you may proceed by pressing Continue. It is recommended that you test your configuration ";a+="by using the Preview button first.";b.innerHTML=a}
5145function c7(a){DQ(a,"qc","pdf_import_complete",function(b){var c=a.bc,d=a.Ia,e=new lB;EE(e,92);FE(e,b);b=new jD;M(b,1,c);M(b,2,d);T(e,59,b);eN(dN.getInstance(),e)},function(b){fz(b,23,!1)&&(a.ic="There was an error completing the import");V6(a)},a)}function V6(a){F_()&&TM(NM);C0();a.Yd=!1;W6("back",!0);var b=gw("sq")[0];Yx(b,CUa,{O9:a.oe,N9:a.Gb,t3:a.ic,SW:a.sb});0<a.Gb&&(W6("errors",!0),z("log").innerText=a.ac)}
5146function GUa(a,b){var c=0==a.jd.length;b=fK+"/iep/pdfImport?hash="+encodeURIComponent(b.hash)+("&filename="+encodeURIComponent(b.filename))+("&size="+encodeURIComponent(b.size))+("&prefix="+encodeURIComponent(b.prefix))+("&epoch="+encodeURIComponent(a.bc))+("&allComplete="+c);0<a.l&&(b+="&depth="+encodeURIComponent(a.l.toString()));b+="&selector="+encodeURIComponent(a.g.toString());if(3==a.g||4==a.g)b+="&separator="+encodeURIComponent(a.j),3==a.g&&(b+="&sepIndex="+encodeURIComponent(a.Y.toString()));
51475==a.g&&(a=a.L.getValue(),b+="&pattern="+encodeURIComponent(a));return b}h.Z3=function(a,b){this.Bd||(b=Math.round(b.loaded/b.total*100),z("filename").innerText=a.filename,z("percent").innerText="("+b+"%)")};h.Xe=function(){return this.Yd||0<this.jd.length};function a7(a,b,c){a.Gb++;1==a.Gb&&(W6("errors",!0),z("error_count").style.color="red");z("upload_errors").innerText=a.Gb;100<a.Gb||(b=b.filename,c&&(b+=" ("+c.trim()+")"),a.ac+=b+"\n",z("log").innerText=a.ac)}
5148h.Vp=function(){Y6("");A("div_preview_results").innerHTML="";switch(this.va.getValue()){case "":this.M.setValue("");case "no_id":this.Y=0;this.j="";this.Ua.setValue("");"regex"!=this.M.getValue()&&(this.Ha.setValue(""),this.L.setValue(""));break;default:this.M.setValue(""),this.L.setValue("")}var a=JUa(this);this.Vb.W(a);0==this.g?this.Za.W(!1):this.Za.W(a)};
5149function JUa(a){switch(a.va.getValue()){case "":return!1;case "no_id":switch(a.M.getValue()){case "":return!1;case "best_guess":return!0;case "regex":return!!a.L.getValue()}default:switch(a.Ua.getValue()){case null:return!1;case "none":case "parentheses":return!0;default:if(null==a.ea)return!1;a=a.ea.getValue();return!Number.isNaN(parseInt(a,10))}}}function W6(a,b){A(a).style.display=b?"":"none"};function h7(){W_.call(this)}
5149x(h7,W_);h7.prototype.K=function(a){this.u=a;this.ub("New PDF Import");a=ay(aNa,{title:"New PDF Import",Xb:"#pageName=pdf_import_list",rk:SJ,domain:UJ,gM:"/iep/g/support/online-guides/technical-guide/bulk-import-pdfs"});var b=ay(yUa,{Rq:jK(),domain:UJ});X_(this,[a],b)};h7.prototype.Xe=function(){return this.u.Xe()};function i7(a,b,c){f_.call(this,a,b,c)}x(i7,$_);i7.prototype.start=function(){this.ka("kc",this.g,this);var a=++RQ;dV(this,a,"initial");var b=new lB;EE(b,44);FE(b,a);eN(dN.getInstance(),b,!0)};i7.prototype.g=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.h=S(a,GC,36),this.Ya()):this.ka("kc",this.g,this)};i7.prototype.K=function(){i7.D.K.call(this);this.view.K(this.h)};function KUa(a){Ta(a.imports);var b=a.imports;a=a.toggle;var c='<div class="'+Z("Ce")+'">',d=b.length;if(0<d)for(var e=0;e<d;e++){var f=b[e];f=f.Dn?X(f.pu)+' <span style="padding-left: .5em">Import Failed</span>':f.kO?a&&!BL(f.status,"")?X(f.pu)+' <span style="padding-left: .5em">'+X(f.status)+"</span>":X(f.pu)+' <span style="padding-left: .5em">Processing</span>':'<form method="post" action="/iep/report" rel="opener" target="_blank"><input type="hidden" name="name" value="PDF Import"><textarea type="hidden" name="vars" style="display:none;">{"epoch": "'+
5150DL(f.px)+'"}</textarea><input type="hidden" name="endpoint" value="pdfimport"><input type="submit" value="'+Z(f.pu)+'" class="'+Z("Am")+'" style="border: none; background-color: transparent; padding: 0; vertical-align: inherit"> <span style="padding-left: .5em">'+X(f.details)+"</span></form>";c+='<div class="'+Z("Hm")+'">'+f+"</div>"}else c+=X(QP({type:"previous PDF imports"}));c+='<div><a href="#pageName=pdf_import" class="'+Z("nl")+" "+Z("ul")+" "+Z("ol")+'" style="color: #444; text-decoration: none !important; margin-top: 1em">New PDF Import</a></div></div>';
5151return Y(c)};function j7(){W_.call(this)}x(j7,W_);
5152j7.prototype.K=function(a){this.ub("PDF Import");var b=ay(aNa,{title:"PDF Import",Xb:"#pageName=instance_settings",rk:SJ,domain:UJ,gM:"/iep/g/support/online-guides/technical-guide/bulk-import-pdfs"}),c=[];a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.Ec(),f="";e&&null!=I(e,2)&&(f="Processing - "+L(e,1,0)+" of "+L(e,2,0)+" completed",(e=N(e,lD,3))&&null!=I(e,1)&&null!=I(e,2)&&(f+=" (the last "+L(e,1,0)+" finished in "+(e.getTime()/1E9).toFixed(2)+" seconds)"));c.push({px:L(d,1001,
5153""),pu:L(d,1002,""),details:L(d,1003,""),kO:fz(d,1004,!1),Dn:fz(d,1005,!1),status:f})}a=yF(AF).includes(102);c=ay(KUa,{imports:c,toggle:a});X_(this,[b],c)};j7.prototype.$=function(){j7.D.$.call(this)};function k7(a,b,c){f_.call(this,a,b,c)}x(k7,$_);h=k7.prototype;h.Iv="";h.ZQ="";h.start=function(a){a=a.na("objectId");w(a)?(this.Iv=a,a=!0):(h_(this),a=!1);a&&!this.Bd&&(this.ka("ma",this.YQ,this),a=++RQ,dV(this,a,"initial"),uQ(a,0,this.Iv))};h.YQ=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.yc(a),this.ZQ=L(a.Sd()[0],19,""),this.Ya()):this.ka("ma",this.YQ,this)};h.K=function(){k7.D.K.call(this);this.view.K(this.Iv,this.ZQ)};
5154h.jc=function(a){k7.D.jc.call(this,a);this.ka("ma",this.XQ,this);var b=++RQ;dV(this,b,"save");uQ(b,2,this.Iv,a.Ao)};h.XQ=function(a){eV(this,a.Va()?a.Sa():null,"save")?this.Kd(a,"Tb","pageName=object_update&objectId="+this.Iv,!0):this.ka("ma",this.XQ,this)};h.yc=function(a){this.v={};var b=0;a=a.Sd()[0]||new sB;null!=I(a,20)&&(this.v.VE=N(a,U,20).getError(),b++);return b};function l7(){W_.call(this);this.h=null}x(l7,W_);l7.prototype.K=function(a,b){this.ub("Change Student ID");a=ay(c0,{title:"Change Student ID",Xb:"#pageName=object_update&objectId="+a});b=ay(eUa,{oh:b});X_(this,[a],b);this.h=rX("New SIS Student Id:");this.h.render(z("object_name_input"));Y_(this,[this.h])};l7.prototype.$=function(){l7.D.$.call(this);C(this.h)};l7.prototype.gc=function(){return{Ao:this.h.getValue()}};l7.prototype.hd=function(a){this.h.setValue(void 0,a.VE)};function m7(a,b,c){f_.call(this,a,b,c)}x(m7,$_);h=m7.prototype;h.Jv="";h.YS="";h.start=function(a){a=a.na("userId");w(a)?(this.Jv=a,a=!0):(h_(this),a=!1);a&&!this.Bd&&(this.ka("ga",this.aR,this),a=++RQ,dV(this,a,"initial"),sQ(a,0),this.ka("la",this.bR,this),a=++RQ,dV(this,a,"initial"),tQ(a,0,this.Jv))};h.aR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.m=cz(ME(a)[0],52),this.Ya()):this.ka("ga",this.aR,this)};
5155h.bR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.yc(a),this.YS=(a.Mc()[0]||new rB).Ic(),this.Ya()):this.ka("la",this.bR,this)};h.K=function(){m7.D.K.call(this);this.view.K(this.Jv,this.YS,this.m)};h.jc=function(a){m7.D.jc.call(this,a);this.ka("la",this.$Q,this);var b=++RQ;dV(this,b,"save");tQ(b,2,this.Jv,a.Zv)};
5155h.$Q=function(a){eV(this,a.Va()?a.Sa():null,"save")?this.Kd(a,"Ib","pageName=user_update&userId="+this.Jv,!0):this.ka("la",this.$Q,this)};
5156h.yc=function(a){this.v={};var b=0;a=a.Mc()[0]||new rB;null!=I(a,28)&&(this.v.WH=N(a,U,28).getError(),b++);return b};function LUa(a){a=a.lE;return Y('<div class="'+Z("Lb")+'"><div style="padding: 10px;"><b>Account Information</b><br><div id="first_name_input"></div><div id="last_name_input"></div><div id="user_name_input"></div>'+(a?'<span id="oidc_subject_id"></span><span id="oidc_subject_id_info"></span><br><div class="'+Z("jb-kb-lb")+'" id="ldap_user_name_input"></div>Only set if different from email username<div id="force_local_auth"></div>':"")+'<br><b>Permissions</b><br><div id="account_type"></div><div id="ug_list"></div><div id="ur_list"></div><span id="new_account_email"><br><br><b>New Account Email</b><br><div style="max-width: 400px;">'+
5157(a?"An email containing instructions for logging in will be sent to this user. If this is a locally authenticated account a link to set a password will also be included.":"An email containing a link to set a password and instructions for logging in will be sent to this user.")+'&nbspThis link will expire after 90 days.</div><br><div id="note_input"></div></span><br><div id="save_button"></div></div></div>')}
5158function MUa(a){var b=a.Ib,c=a.userName,d=a.lE,e=a.xc,f=a.j6;a=a.o0;return Y('<div class="'+Z("Lb")+'"><div style="padding: 10px;"><b>Account Information</b><br><div id="first_name_input"></div><div id="last_name_input"></div><div class="'+Z("jb-kb-lb")+" "+Z("Fk")+'">* Email:</div><div class="'+Z("jb-kb-lb")+'">'+X(c)+"</div>"+(f||a?"":'&nbsp;&nbsp;<a href="#pageName=rename_user&amp;userId='+Z(b)+'">'+(-1!=c.indexOf("@")?"change":"set")+" email</a><br>")+(d?'<span id="oidc_subject_id"></span><span id="oidc_subject_id_info"></span><br><div class="'+
5159Z("jb-kb-lb")+'" id="ldap_user_name_input"></div>Only set if different from email username<div id="force_local_auth"></div><div class="'+Z("Ek")+'">'+(!f&&e?'<a href="#pageName=admin_reset_password&amp;userId='+Z(b)+'">Send password reset</a><br>':"")+"</div>":f?"<br>":'<div class="'+Z("Ek")+'">'+(-1!=c.indexOf("@")?'<a href="#pageName=admin_reset_password&amp;userId='+Z(b)+'">Send password reset</a><br>':'<span style="color:#15c;">Send password reset</span><span style="color:red; padding-left:10px">Valid email required to reset password</span><br>')+
5160"</div>")+(f?"":'<div class="'+Z("Ek")+'"><span id="generate_mfa_code_info"></span><span id="generate_mfa_code_button"></span><span id="mfa_code" class="'+Z("Pm")+'"></span><span id="mfa_code_copy"></span></div>')+'<br><b>Permissions</b><br><div id="account_type"></div><div id="ug_list"></div><div id="ur_list"></div><br><div id="save_button"></div></div></div>')}
5161function NUa(a){a=a.userName;return Y('<div class="'+Z("Lb")+'"><br><div class="'+Z("jb-kb-lb")+" "+Z("Fk")+'">Current email:</div><div class="'+Z("jb-kb-lb")+'">'+X(a)+'</div><br><div id="user_name_input"></div><br><div id="save_button"></div></div>')}
5162function OUa(){return Y('<div>Unique user identifier used for OIDC based single sign on. This is usually populated by your OIDC identity provider automatically. <b>Caution: </b>Modifying this field may prevent the user from being able to login. <a href="/iep/g/support/online-guides/technical-guide/openid-connect-identity-provider#oidc-subject-identifier">Learn more</a></div>')};function n7(){W_.call(this);this.h=null}x(n7,W_);n7.prototype.K=function(a,b,c){this.ub("Change Email");a=ay(c0,{title:"Change Email",Xb:"#pageName=user_update&userId="+a});b=ay(NUa,{userName:b});X_(this,[a],b);this.h=new aX(c,"New email:",void 0,void 0);this.h.render(z("user_name_input"));Y_(this,[this.h])};n7.prototype.$=function(){n7.D.$.call(this);C(this.h)};n7.prototype.gc=function(){return{Zv:this.h.getValue()}};n7.prototype.hd=function(a){this.h.setValue(void 0,a.WH)};function PUa(a){a=a.WU;return Y('<div class="'+Z("Lb")+'"><div><span class="'+Z("Kn")+'">Student Team</span> <a target="blank" href="/iep/g/support/online-guides/user-guide/student-team"><span class="'+Z("H")+'">info</span></a></div><div>Users that will be required to acknowledge their receipt of certain completed documents. Upon completion, the document owner will be prompted to grant view access to the document for these users.</div><div id="user_list" class="'+Z("Qd")+" "+Z("Vd")+" "+Z("Nd")+'"><div class="'+
5163Z("Md")+" "+(a?Z("Au"):Z("Bu"))+'"><span class="'+Z("Kn")+'">Team Members</span>'+X(iJa())+'<div data-tag="input_error" class="'+Z("gc")+" "+Z("qc")+'"></div></div>'+(a?'<div class="'+Z("Md")+'"><span class="'+Z("Kn")+'">
5163Add User</span><div class="'+Z("Qd")+'"><span data-tag="input_field_label">Label</span>'+X(fX())+"</div></div>":'<div class="'+Z("U")+'"><span data-tag="input_field_label">Label</span>'+X(fX())+"</div>")+'</div><div id="save_button"></div></div>')};function o7(a,b,c){f_.call(this,a,b,c);i_(this,new p3(this,c,"student_team"));this.g={dm:[],OC:WJ};this.bb=""}pa(o7,$_);h=o7.prototype;h.start=function(a){a=a.na("objectId");if(w(a)){this.bb=a;var b={bb:this.bb};DQ(this,"rd","initial",function(c){var d=new lB;GE(d,0);FE(d,c);SCa(d,b);eN(dN.getInstance(),d)},this.m_,this)}else h_(this)};function QUa(a){return vJa(a,function(b){return b})}
5164function RUa(a){var b="",c=0;a.forEach(function(d){d=d.Oa;var e=""==b;d.pg()&&(c++,e||(b+="\n"),b+="- "+BOa(d).Wk)});return[b,c]}h.m_=function(a){this.yc(a);this.Ya()};h.K=function(){k_(this);this.view.K(this.g)};h.M5=function(a){this.Kd(a,void 0,void 0,void 0,void 0,"Team changes saved.");this.view.ci()};h.jc=function(a){var b={bb:this.bb,vS:a.dm};DQ(this,"rd","save",function(c){var d=new lB;GE(d,2);FE(d,c);SCa(d,b);eN(dN.getInstance(),d)},this.M5,this)};
5165h.yc=function(a){this.v={};this.v.dm=QUa(a);a=m(RUa(this.v.dm));this.v.error=a.next().value;a=a.next().value;this.g.dm=this.v.dm;this.g.error=this.v.error;return a};function p7(){W_.call(this);this.cj=null}pa(p7,W_);function SUa(a,b){a.cj=xX("User:",b,0);a.cj.Ro(!1);a.cj.Wz(function(c,d){return c.dc()==d.dc()});a.cj.ue(z("user_list"))}p7.prototype.K=function(a){this.ub("Student Team");var b=ay(PUa,{WU:a.OC});X_(this,[],b);SUa(this,a.dm);this.cj.Lg(!a.OC);
5165a.OC&&Y_(this,[this.cj],void 0,"Update Team")};
5166p7.prototype.hd=function(a){this.cj.yr(a.dm);this.cj.qb(a.error)};p7.prototype.gc=function(){return{dm:this.cj.getValue()}};function q7(a,b,c){s1.call(this,a,b,c)}x(q7,s1);h=q7.prototype;h.ep=function(a){var b=a.na("docId");if(!w(b))return h_(this),!1;this.g.j=b;b=a.na("translation_version");if(!w(b))return h_(this),!1;this.g.va=b;b=a.na("language");if(!w(b))return h_(this),!1;this.g.u=b;b=a.na("translation_mode");if(!w(b))return h_(this),!1;this.g.T=b.toUpperCase();"true"==a.na("debug")&&(this.g.Cl=!0);return!0};
5167h.start=function(a){if(this.ep(a)){this.ka("$c",this.Lm,this);a=++RQ;dV(this,a,"initial");var b=new EC,c=this.g,d=w(c.j)?c.j:"",e=w(c.va)?c.va:0;c=w(c.u)?c.u:"";M(b,1,d);M(b,3,e);M(b,2,c);switch(this.g.T){case "DOC":SF(b,0);break;case "FORM":SF(b,2);break;case "DOC_AND_FORM":SF(b,1);break;case "FORM_DISPLAY":SF(b,3)}M(b,4,4);e=new lB;EE(e,43);FE(e,a);T(e,35,b);eN(dN.getInstance(),e);this.g.Wi=d}};h.Lm=function(a){this.yc(a);this.view.v=this.v;q7.D.Lm.call(this,a)};
5168h.K=function(){q7.D.K.call(this);eK=!0;YU();mHa();var a=this.view.jd;null===a||D(a,"action",this.OJ,void 0,this);a=this.view.CB;null!=a&&(D(a,"action",this.g3,void 0,this),a=document.getElementById("file_input"),D(a,"change",this.$Z,void 0,this))};h.yc=function(a){a=QE(a);this.v={};this.v.language=L(a,2,"");this.v.Xk=L(a,9,"");this.v.mode=L(a,6,0);this.v.jb=L(a,1011,"");this.v.abbr=L(a,1018,"");this.v.PF=L(a,3,0);this.v.Jz=L(a,1,"");return 0};
5169h.$=function(){q7.D.$.call(this);eK=!1;var a=this.view.jd;null===a||Mx(a,"action",this.OJ,void 0,this)};
5170h.OJ=function(){var a=nH;if(0<IZ.g.length)a.qt(void 0,!0);else{this.view.jd.W(!1);this.g.Xe()&&OZ(this.g,!0,void 0,void 0);this.ka("ad",this.U3,this);var b=++RQ;a=this.g.j;var c=this.g.va,d=this.g.u,e=this.g.T,f=new lB;EE(f,45);FE(f,b);b=new EC;w(a)&&M(b,1,a);w(c)&&M(b,3,c);w(d)&&M(b,2,d.toLowerCase());if(w(e))switch(e){case "FORM":SF(b,2);break;case "DOC":SF(b,0)}M(b,4,5);T(f,35,b);eN(dN.getInstance(),f)}};h.U3=function(){MK("pageName=translation_confirmation")};h.g3=function(){document.getElementById("file_input").click()};
5171h.a8=function(a){a=a.target;hH(a)||this.X.ba("dd",iH(a))};h.$Z=function(){var a=document.getElementById("file_input").files;if(!(1>a.length)){this.ka("cd",this.uZ,this);var b=rL(),c=++RQ;dV(this,c,"action");var d=new FormData;d.set("seqNum",""+c);d.set("SID",b);d.set("docId",this.v.Jz);d.set("language",this.v.language);d.set("translation_version",this.v.PF);d.set("translation_mode",this.v.mode);d.set("xliff_file",a[0]);eH(fK+"/iep/uploadxliff",this.a8.bind(this),"POST",d,void 0,void 0,!0)}};
5172h.uZ=function(a){var b="";null!=I(a,38)?QE(a).xb()&&(b=QE(a).getError().getError()):b="An internal server error occurred while uploading";this.X.ba("dd",b);b||cM()};function r7(){f1.call(this);this.CB=this.jd=null}x(r7,f1);
5173r7.prototype.K=function(){var a="Form Translation";if(this.v){a=this.v.jb;this.v.abbr&&(a=this.v.abbr);var b=" Translation";if(w(this.v.mode))switch(this.v.mode){case 0:b=" Field Translation";break;case 2:b=" Form Translation"}a+=b}this.ub(a);gx(this.g.w(),"Pe");a=this.sn();X_(this,[a]);this.jd=TP("Mark translation complete",void 0,void 0,1);this.jd.render(z("complete_button"));this.$a=TP("Export as XLIFF",void 0,void 0,0);this.$a.render(z("export_button"));this.CB=TP("Import XLIFF",void 0,void 0,
51740);this.CB.render(z("import_button"))};r7.prototype.sn=function(){return ay(TMa,{I_:2==this.v.mode,jb:this.v.jb,ZU:this.v.jb.toLocaleLowerCase().replace(/ /g,"_"),mode:this.v.mode,language:this.v.language,Jz:this.v.Jz,version:this.v.PF})};r7.prototype.$=function(){r7.D.$.call(this);C(this.jd)};function s7(a,b,c){f_.call(this,a,b,c)}x(s7,$_);h=s7.prototype;h.eR="pageName=recent";h.XG="";h.fp="";h.CA="";h.RE="";function TUa(a,b){var c=b.na("docId");if(!w(c))return h_(a),!1;a.XG=c;c=b.na("version");if(!w(c))return h_(a),!1;a.g=c;c=b.na("language");if(!w(c))return h_(a),!1;a:{var d=m(cV);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e[0]==c){d=e[1];break a}d=c}a.fp=d;a.fp||(a.fp=c);a.fp=a.fp.toLowerCase();b=b.na("uid");if(!w(b))return h_(a),!1;a.RE=b;return!0}
5175h.start=function(a){if(!WJ)NK("");else if(TUa(this,a)){this.ka("Zc",this.dR,this);var b=++RQ;dV(this,b,"initial");a=this.XG;var c=this.g,d=this.fp.toLowerCase(),e=this.RE,f=new lB;EE(f,41);FE(f,b);b=new EC;w(a)&&M(b,1,a);w(c)&&M(b,3,c);w(d)&&M(b,2,d.toLowerCase());w(e)&&M(b,22,e);T(f,35,b);eN(dN.getInstance(),f)}};h.dR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.yc(a),this.Ya()):this.ka("Zc",this.dR,this)};
5176h.K=function(){s7.D.K.call(this);this.view.K(this.v);this.eR=ZM(aM.getInstance());var a=z("Accept");null!=a&&D(a,"click",this.cR,void 0,this);a=z("Deny");null!=a&&D(a,"click",this.cR,void 0,this)};
5177h.yc=function(a){a=QE(a);switch(L(a,6,0)){case 0:this.CA="DOC";break;case 1:this.CA="DOC_AND_FORM"}this.v={};this.v.language=L(a,2,"");this.v.xO=L(a,1003,"");this.v.wO=L(a,1004,"");this.v.qc=L(a,1,"");this.v.Xk=L(a,9,"");this.v.mode=this.CA;this.v.jb=L(a,1011,"");this.v.xk=L(a,1012,"");this.v.WB=gK;this.v.CE=fz(a,12,!1);this.v.Oy="/iep/g/support/online-guides/user-guide/translation";var b="#pageName=form&docId="+Od(this.v.qc);b+="&formId="+Od(this.v.xk);this.v.Fh=b;this.v.vO=L(a,1005,"");return 0};
5178h.cR=function(a){var b=this.view.gc();this.ka("Yc",this.b8,this);var c=++RQ;dV(this,c,"initial");var d=new EC;M(d,1,this.XG);M(d,3,this.g);M(d,2,this.fp);switch(this.CA){case "DOC":SF(d,0);break;case "DOC_AND_FORM":SF(d,1)}M(d,22,this.RE);M(d,13,b.u9);M(d,9,b.v9);switch(a.target.id){case "Accept":M(d,4,2);break;case "Deny":M(d,4,1)}a=new lB;EE(a,39);FE(a,c);T(a,35,d);eN(dN.getInstance(),a)};h.b8=function(a){a=QE(a);a.xb()?this.view.pv(a.getError().getError()):MK(this.eR)};function UUa(a){var b=a.xO,c=a.wO,d=a.language,e=a.mode,f=a.Xk,g=a.jb,k=a.vO,l=a.Fh,n=a.WB,q=a.CE;a=a.Oy;return Y('<div class="'+Z("Lb")+" "+Z("Cv")+'"><table class="'+Z("Dv")+'"><tr><td class="'+Z("Fv")+" "+Z("Gv")+'"><span>Date:</span></td><td class="'+Z("Fv")+" "+Z("Hv")+'"><span>'+X(k)+'</span></td></tr><tr><td class="'+Z("Fv")+" "+Z("Gv")+'"><span>Requested By:</span></td><td class="'+Z("Fv")+" "+Z("Hv")+'"><span>'+X(b)+" ("+X(c)+')</span></td></tr><tr><td class="'+Z("Fv")+" "+Z("Gv")+'"><span>Language:</span></td><td class="'+
5179Z("Fv")+" "+Z("Hv")+'"><span style="text-transform: capitalize;">'+X(d)+'</span></td></tr><tr><td class="'+Z("Fv")+" "+Z("Gv")+'"><span>Document:</span></td><td class="'+Z("Fv")+" "+Z("Hv")+'"><span><a href='+GL(JL(l))+">"+X(g)+"</a></span></td></tr>"+(BL(f,"")?"":'<tr><td class="'+Z("Fv")+" "+Z("Gv")+'"><span>Note from requestor:</span></td><td class="'+Z("Fv")+" "+Z("Hv")+'"><span>"'+X(f)+'"</span></td></tr>')+(BL(e,"DOC_AND_FORM")&&!BL(g,"")?'<tr class="'+Z("Ev")+'"><td class="'+Z("Fv")+" "+Z("Gv")+
5180'"><span>Form Translation:</span></td><td class="'+Z("Fv")+" "+Z("Hv")+'"><span>A translation of the form this document uses could not be found or is incomplete. This request will also submit the form itself for translation.</span></td></tr>':"")+(n?'<tr class="'+Z("Ev")+'"><td class="'+Z("Fv")+" "+Z("Gv")+'">Translation Vendor:</td><td class="'+Z("Fv")+" "+Z("Hv")+'"><span display="inline-block">'+X(n)+"</span></td></tr>":'<tr><td class="'+Z("Fv")+" "+Z("Gv")+'"><div id="translator_email_input"></div></td><td class="'+
5181Z("Fv")+" "+Z("Hv")+'"><div class="'+Z("gc")+" "+Z("Iv")+'" id="translator_email_error"></div></td></tr>')+'<tr><td class="'+Z("Fv")+" "+Z("Gv")+'"><div class="'+Z("jb-kb-lb")+'" id="translator_note_input"></div><br></td></tr><tr class="'+Z("Ev")+'"><td class="'+Z("Fv")+" "+Z("Gv")+'"><span>Automated Translation:</span></td><td class="'+Z("Fv")+" "+Z("Hv")+'">'+(q?'<span display="inline-block">Automated translation is enabled.</span><span style="padding-left: 10px;"><a href="'+Z(JL(a))+'">Learn More</a></span>':
5182'<span display="inline-block">Automated translation is disabled. To enable, visit Settings (left menu) > District information. Locate "Automated Translation" and check "Translate documents with Google Translate prior to human review".</span>')+'</td></tr></table><br/><div><button id="Accept">Approve Request and Send to Translator</button><button id="Deny">Deny Request</button></div><br><br></div>')};function t7(){W_.call(this);this.h=null}x(t7,W_);t7.prototype.K=function(a){this.ub("Approve/Deny Translation");
5182var b=ay(IMa,{title:"Approve/Deny Translation",Oy:"/iep/g/support/online-guides/user-guide/translation"}),c=ay(UUa,a);X_(this,[b],c);a.WB||(this.h=rX("Translator Email*:",207),this.h.render(z("translator_email_input")));this.u=new oX("Note for Translator (optional):",200,void 0);this.u.render(z("translator_note_input"));gw("Ak").forEach(function(d){d.style.whiteSpace="nowrap"})};
5183t7.prototype.gc=function(){var a={};this.h&&(a.u9=this.h.getValue());a.v9=this.u.getValue();return a};t7.prototype.pv=function(a){z("translator_email_error").innerHTML=a};t7.prototype.Sw=function(){z("translator_email_error").innerHTML=""};function u7(a,b,c){f_.call(this,a,b,c)}x(u7,$_);u7.prototype.K=function(){u7.D.K.call(this);this.view.K()};function v7(){W_.call(this)}x(v7,W_);v7.prototype.K=function(){this.ub("Translation Confirmation");gx(this.g.w(),"Pe");var a=ay(IMa,{title:"Translation Confirmation",Oy:"/iep/g/support/online-guides/user-guide/translation"}),b=ay(cNa);X_(this,[a],b)};function w7(a,b,c){f_.call(this,a,b,c);this.Qb=[]}x(w7,$_);h=w7.prototype;h.domain="";h.Fj=0;h.start=function(){this.ka("ga",this.gR,this);var a=++RQ;dV(this,a,"initial");sQ(a,0);this.ka("aa",this.hR,this);a=++RQ;dV(this,a,"initial");FQ(a,"NO_USER",!0);m_(this,!1)};
5184h.hR=function(a){var b=this;eV(this,a.Va()?a.Sa():null,"initial")?(this.roles=SE(a).filter(function(c){return!fz(c,5,!1)}).map(function(c){return c.kb()}),this.Qj=new Map,SE(a).forEach(function(c){b.Qj.set(c.kb(),DF(c))},this),this.rh=new Map,SE(a).forEach(function(c){b.rh.set(DF(c),c.kb())},this),this.Ya()):this.ka("aa",this.hR,this)};h.gR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=ME(a)[0],this.Fj=L(a,1003,0),this.g=I(a,52),this.Ya()):this.ka("ga",this.gR,this)};
5185h.K=function(){w7.D.K.call(this);this.view.K(this.g,this.Fj,this.roles,this.Qb)};h.jc=function(a){w7.D.jc.call(this,a);this.ka("la",this.fR,this);var b=this.Qj;a.dj.forEach(function(d,e){a.dj[e].EO=b.get(d.key)});var c=++RQ;dV(this,c,"save");tQ(c,1,void 0,a.Zv,!0,!1,a.Sc,a.od,a.password,a.jh,a.ah,void 0,void 0,a.Xk,a.so,void 0,a.dj,a.Ni,a.Bo)};
5186h.fR=function(a){if(eV(this,a.Va()?a.Sa():null,"save")){var b=a.Mc()[0].dc();b="pageName=user_form&userId="+Od(b);this.Kd(a,"Hb",b,!0)}else this.ka("la",this.fR,this)};
5187h.yc=function(a){var b=this;a=a.Mc()[0];this.v={};var c=0;this.v.Sc=null!=I(a,5)?a.Fb():null;this.v.od=null!=I(a,6)?a.Hb():null;this.v.Zv=null!=I(a,27)?a.Ic():null;this.v.Bo=null!=I(a,44)?L(a,44,""):null;this.v.so=null!=I(a,36)?L(a,36,""):null;this.v.ah=null!=I(a,10)?fz(a,10,!1):null;this.v.Xk=null!=I(a,37)?L(a,37,""):null;this.v.jh=null!=I(a,9)?fz(a,9,!1):null;this.v.Ni=null!=I(a,43)?fz(a,43,!1):null;this.v.yf=[];var d=null!=I(a,14)?N(a,U,14):null;null!==d&&(this.v.Gn=d.xb()?d.getError():null,c++);
5188d=null!=I(a,15)?N(a,U,15):null;null!==d&&(this.v.qo=d.xb()?d.getError():null,c++);d=null!=I(a,28)?N(a,U,28):null;null!==d&&(this.v.WH=d.xb()?d.getError():null,c++);d=null!=I(a,18)?N(a,U,18):null;null!==d&&(this.v.mE=d.xb()?d.getError():null,c++);d=null!=I(a,16)?N(a,U,16):null;null!==d&&(this.v.Lu=d.xb()?d.getError():null,c++);d=null!=I(a,19)?N(a,U,19):null;null!==d&&(this.v.YC=d.xb()?d.getError():null,c++);d=null!=I(a,38)?N(a,U,38):null;null!==d&&(this.v.J1=d.xb()?d.getError():null,c++);d=null!=I(a,
51891005)?N(a,U,1005):null;null!==d&&(this.v.WE=d.xb()?d.getError():null,c++);d=null!=I(a,39)?N(a,U,39):null;null!==d&&(this.v.uE=d.xb()?d.getError():null,c++);null!=this.rh&&this.v.yf.forEach(function(e,f){e.role=b.rh.get(e.role);b.v.yf[f]=e},this);this.v.Bn=gz(a,1004,void 0,null);this.v.Bn.has("user_role")&&(this.v.XH=this.v.Bn.get("user_role"),c++);0<c&&(this.v.OD=!0);return c};function x7(){W_.call(this);this.xc=this.zb=this.M=this.$a=this.u=this.Na=this.$b=this.Cb=this.sb=null;this.Qb=[];this.Y=yF(AF).includes(29)}x(x7,W_);h=x7.prototype;
5190h.K=function(a,b,c,d){this.ub("Add User");var e=ay(c0,{title:"Add User",Xb:"#pageName=users_list"});b=3==b||2==b;var f=ay(LUa,{lE:b});b&&(this.xc=tX([{label:"User not in authentication server",Oa:"local"}],"",void 0,!1,!0));X_(this,[e],f);this.sb=rX("* First name:");this.Cb=rX("* Last name:");this.$b=new aX(a,"* Email:",void 0,void 0);this.Y?this.M=tX([{label:"Admin",Oa:"is_admin"},{label:"Doc Viewer Only",Oa:"is_doc_viewer_only"}],"Account type:",void 0,void 0,!0):this.$a=pX([{label:"",Oa:"is_admin"}],
5191"Admin account:");this.zb=new oX("Include note (optional):",void 0,void 0);this.Qb=d;this.roles=c;this.h=new iQ("Add user roles...",this.roles,"User roles:",void 0,void 0,mQ(d),!0,"All user roles assigned");this.sb.render(z("first_name_input"));this.Cb.render(z("last_name_input"));this.$b.render(z("user_name_input"));this.zb.render(z("note_input"));this.Y?(this.g.Ea(this.M,!1),this.M.render(z("account_type"))):(this.g.Ea(this.$a,!1),this.$a.render(z("account_type")));this.h.render(z("ur_list"));a=
5192[this.sb,this.Cb,this.$b,this.h,this.zb];this.Y?a.push(this.M):a.push(this.$a);b&&(c=ay(OUa),this.bc=new mU(c),c=z("oidc_subject_id_info"),this.bc.render(c),this.Na=rX("OIDC Subject ID:"),this.Na.render(z("oidc_subject_id")),a.push(this.Na),this.u=rX("LDAP username:"),this.u.render(z("ldap_user_name_input")),a.push(this.u));null!==this.xc&&(this.xc.render(z("force_local_auth")),this.xc.setValue("remote"),a.push(this.xc),D(this.xc,"change",this.iR,void 0,this));this.Y?D(this.M,"change",this.jR,void 0,
5193this):D(this.$a,"change",this.jR,void 0,this);Y_(this,a,void 0,"Add User")};h.$=function(){x7.D.$.call(this);C(this.sb);C(this.Cb);C(this.$b);C(this.Na);C(this.u);C(this.zb);null!==this.xc&&(Mx(this.xc,"change",this.iR,void 0,this),C(this.xc));C(this.h)};h.jR=function(){if(this.Y){var a="is_admin"==this.M.getValue(),b="is_doc_viewer_only"==this.M.getValue();y7(this,a,b)}else a="is_admin"==this.$a.getValue(),y7(this,a,!1)};
5194function y7(a,b,c){c=c&&a.Y;b||c?(a.h.clear(),lQ(a.h,!1)):lQ(a.h,!0);z("new_account_email").style.display=c?"none":""}h.iR=function(){this.u&&null!==this.xc&&("local"==this.xc.getValue()?(this.u.setValue(""),this.u.W(!1)):"local"!=this.xc.getValue()&&this.u.W(!0))};
5195h.gc=function(){var a={};a.Sc=this.sb.getValue();a.od=this.Cb.getValue();a.Zv=this.$b.getValue();a.password="SG_USER_EMAIL_ADD";a.cd="";a.Xk=this.zb.getValue();this.Na&&(a.Bo=this.Na.getValue());this.u&&(a.so=this.u.getValue());null!==this.xc&&(a.ah=!1,"local"==this.xc.getValue()&&(a.ah=!0));a.jh=!1;a.dj=[];if(this.Y)switch(a.Ni=!1,this.M.getValue()){case "is_admin":a.jh=!0;break;case "is_doc_viewer_only":a.Ni=!0;break;default:a.dj=this.h.Tc()}else"is_admin"==this.$a.getValue()?a.jh=!0:a.dj=this.h.Tc();
5196return a};
5197h.hd=function(a){var b=this;this.sb.setValue(a.Sc,a.Gn);
5197this.Cb.setValue(a.od,a.qo);this.$b.setValue(a.Zv,a.WH);this.zb.setValue(a.Xk,a.J1);this.Na&&this.Na.setValue(a.Bo,a.WE);this.u&&this.u.setValue(a.so,a.uE);if(null!==this.xc){var c;w(a.ah)&&null!==a.ah&&(c=a.ah?"local":"remote");this.xc.setValue(c,a.YC)}var d=(c=null!=a.jh&&a.jh)?"is_admin":"",e=this.Y&&null!=a.Ni&&a.Ni;this.Y?this.M.setValue(e?"is_doc_viewer_only":d):this.$a.setValue(d,a.mE);this.h.qb(a.XH);a.OD||(d=a.yf.map(function(f){return f.role}),a.yf=
5198a.yf.map(function(f){f.allBuildings=b.Qb;return f}),$Ba(this.h,d,a.yf));y7(this,c,e)};function z7(a,b,c){w3.call(this,a,b,c)}x(z7,w3);h=z7.prototype;h.ae="";h.Qd="";h.Dd=function(a){z7.D.Dd.call(this,a);var b=a.na("userId");if(!w(b))return h_(this),!1;this.Ib=b;this.Jc="user_docs_list";b=a.na("startDate");w(b)&&(this.xh=b);b=a.na("endDate");w(b)&&(this.Gh=b);a.na("searchIdList");return!0};
5199h.start=function(a){this.Dd(a)&&(x3(this),g_(this,"T",this.xQ,this),a=++RQ,dV(this,a,"initial"),AQ(a,!1,void 0),a=++RQ,dV(this,a,"initial"),AQ(a,!0,""),m_(this,!1),n_(this),this.ka(this.Eb,this.Ay,this),a=++RQ,dV(this,a,"initial"),this.td(a),this.ka("la",this.kR,this),a=++RQ,dV(this,a,"initial"),tQ(a,0,this.Ib))};h.kR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=a.Mc()[0],this.ae=a.Hb(),this.Qd=a.Fb(),this.Ya()):this.ka("la",this.kR,this)};
5200h.K=function(){k_(this);this.view.K("user_docs_list",this.Ab,this.g,this.m,this.Qb,this.$l,this.xn,void 0,this.Ib,this.ae,this.Qd,null,this.xh,this.Gh,this.s,this.hq,void 0,this.rf,this.rt,this.Pf);P1(this);z3(this)};function A7(a,b,c){f_.call(this,a,b,c);this.g=new GZ}x(A7,$_);h=A7.prototype;h.ae="";h.Qd="";h.start=function(a){var b=a.na("userId");w(b)?(this.g.j=b,a=a.na("debug"),w(a)&&"true"==a&&(this.g.Cl=!0),a=!0):(h_(this),a=!1);a&&(this.g.Wi="USER_FORM",this.g.yl="User Form",this.g.Bi=1,this.ka("la",this.mR,this),a=++RQ,dV(this,a,"initial"),tQ(a,0,this.g.j),this.ka("ha",this.lR,this),a=++RQ,dV(this,a,"initial"),rQ(a,sV(this.g)))};
5201h.mR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=a.Mc()[0],this.Qd=a.Fb(),this.ae=a.Hb()):this.ka("la",this.mR,this)};h.lR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=OE(a)[0],MZ(this.g,uF(a)),this.Ya()):this.ka("ha",this.lR,this)};h.K=function(){A7.D.K.call(this);this.view.K(this.g.j,this.Qd,this.ae);this.g.m=this.view.g;this.g.start()};h.Tf=function(){A7.D.Tf.call(this);this.g.stop()};function B7(){W_.call(this)}x(B7,W_);B7.prototype.K=function(a,b,c){this.ub("User Details");gx(this.g.w(),"Lb");var d=$M("users_list");b=ay(g0,{Xb:d,cc:b,hc:c});a=ay(h0,{Ib:a,vh:"details"});X_(this,[b,a],void 0)};function C7(a,b,c){J1.call(this,a,b,c);this.Eb="ba";this.j="";this.l=this.m=null}x(C7,J1);h=C7.prototype;h.K=function(){C7.D.K.call(this);this.view.K(this.j,this.m,this.Cg,this.s,this.L);this.s||D(z("save_button"),"click",this.d8,void 0,this)};h.Dd=function(a){var b=a.na("userRoleId");a=a.na("isMerge");this.j=w(b)?b:"";this.L=w(a)&&"true"==a;return!0};h.start=function(a){this.Dd(a)&&(this.ka(this.Eb,this.oR,this),a=++RQ,dV(this,a,"initial"),rCa(a,this.j))};
5202h.oR=function(a){eV(this,a.Va()?a.Sa():null,"initial")||this.ka(this.Eb,this.oR,this);var b=new Map;if(0<SE(a).length){var c=SE(a)[0];c.xb()&&alert(c.getError());S(c,XB,3).forEach(function(d){b.set(L(d,1,""),[L(d,10,0),L(d,11,0)])})}this.Cg=OE(a).map(function(d){var e=b.get(wF(d))||[0,0];return{wb:wF(d),name:xF(d),uc:fz(d,5,!1),group:L(d,17,""),qz:e}});1==SE(a).length&&0<DF(SE(a)[0]).length&&(this.m=SE(a)[0].kb(),this.l=SE(a)[0].kb(),this.s=EF(SE(a)[0]));this.Ya()};
5203h.d8=function(){var a=++RQ,b=this.view.kb();if(0==b.length)D7(this.view,"Cannot save a user role with no name");else if(b.match(/.*\(\d+\)$/g))D7(this.view,'Cannot save a user role that has digits in parentheses at the end\n[ex. "User Role (1)" is invalid]');else{var c=VUa(this.view);null===this.l||0==this.j.length?(dV(this,a,"save"),this.ka(this.Eb,this.IO,this),qCa(a,"",b,c)):(dV(this,a,"save"),this.ka(this.Eb,""==this.l?this.IO:this.O5,this),qCa(a,this.j,b,c));this.view.tt=!1;this.l=b}};
5204h.IO=function(a){this.RF(a,!0)};h.O5=function(a){this.RF(a,!1)};
5204h.RF=function(a,b){eV(this,a.Va()?a.Sa():null,"save")||this.ka(this.Eb,this.RF,this);for(var c=SE(a),d=m(c),e=d.next();!e.done;e=d.next())if(e=e.value,null!=I(e,10)){D7(this.view,L(e,10,""));return}b&&(b="&pageName=user_role_update&userRoleId="+DF(c[0]),this.X.ba("Ha"),MK(b));this.X.ba("$",a)};function E7(){$1.call(this);this.Y=new Map;this.M=new Map;this.Kc=new Map;this.bc=this.sb=this.h=null;this.Cb=!1;this.$a=new Set;this.tt=!1}x(E7,$1);h=E7.prototype;
5205h.K=function(a,b,c,d,e){var f=this;this.ub("Edit Role");var g=new aI;g.set(g.Wn,"Got it");this.Na=SP();this.Na.tc("Error");eI(this.Na,g);var k="#pageName=user_roles_list";d&&(k+="&searchRoleStatus=includingDeleted");var l="";e&&(l="After this merge, users will have the following permissions");var n="Role name:";e&&(n="Merged role name:");var q="Save";e&&(q="Merge");g=[];l=ay(dNa,{Xb:"#pageName=user_roles_list",Ce:"user roles list",zH:n,Rf:!d,GO:q,Vs:e,PD:l});a=ay(eNa,{rg:a,TI:a&&!e,vh:"forms"});g.push(l,
5206a);a=ay(BBa,{forms:c});X_(this,g,a);var t=["none","view","edit","owner"],u=new Map;u.set("none","None");u.set("view","Can View");u.set("edit","Can Edit");u.set("owner","Owner");this.Ab=c;this.Kc=new Map;this.xd=c.map(function(v){return v.wb});this.u=new Set;c.forEach(function(v){z("formgroup"+v.wb).textContent=v.group;var y=z("maxperm"+v.wb),G=ZP("MaxPerm");G.W(!d);G.render(y);t.forEach(function(J){var O=u.get(J);J=WP(O,J);D(J,"action",f.DO,void 0,f);G.Jb(J)});G.setValue(t[v.qz[0]]);f.Y.set(v.wb,
5207G);D(G,"action",function(){F7(f,[v.wb],!1)},void 0,f);y=z("implperm"+v.wb);var K=ZP("Impl");K.W(!d);K.render(y);t.forEach(function(J){var O=u.get(J);J=WP(O,J);D(J,"action",f.DO,void 0,f);K.Jb(J)});K.setValue(t[v.qz[1]]);f.M.set(v.wb,K);D(K,"action",function(){F7(f,[v.wb],!0)},void 0,f);f.Kc.set(v.wb,[t[v.qz[0]],t[v.qz[1]]]);f.u.add(v.group)});this.Ql=wPa("Show: All Forms",["All Forms","Deleted"]);this.Ql.render(z("actions_button2"));D(this.Ql,"action",this.r8,void 0,this);this.Vs=z("cancel_button");
5208null!=this.Vs&&(this.Vs.onclick=function(){window.location.href=k});this.bc=vPa("Set Default",u);this.bc.render(z("impl_permission"));D(this.bc,"action",this.YZ,void 0,this);this.bc.W(!d);(new mU(ay(JBa))).render(z("impl_permission_tooltip"));this.sb=vPa("Set Max",u);this.sb.render(z("max_permission"));D(this.sb,"action",this.F0,void 0,this);this.sb.W(!d);
5208(new mU(ay(JBa))).render(z("max_permission_tooltip"));g=Array.from(this.u.values());this.$a=new Set(g);this.zb=new cQ("Form Group Filter",{"":g},
5209g);this.zb.render(z("actions_button3"));D(this.zb,this.zb.Be(),this.uX,void 0,this);this.Bb=z("listTitle");this.Bb.value=b;this.Bb.disabled=d;c2(this,c);G7(this)};h.DO=function(){this.tt=!0};h.Xe=function(){return this.tt};h.Bc=function(){return this.h};h.uX=function(){this.$a=new Set(this.zb.Cc());G7(this)};
5210h.YZ=function(a){var b=this;this.tt=!0;var c=a.target.getValue();a=H7(this,!0).filter(function(d){return void 0!==b.M.get(d)});a.map(function(d){return b.M.get(d)}).forEach(function(d){d.setValue(c)});F7(this,a,!0)};function F7(a,b,c){var d={none:0,view:1,edit:2,owner:3};b.forEach(function(e){var f=a.M.get(e).getValue(),g=a.Y.get(e).getValue();d[g]<d[f]&&(c?a.Y.get(e).setValue(a.M.get(e).getValue()):a.M.get(e).setValue(a.Y.get(e).getValue()))})}
5211h.F0=function(a){var b=this;this.tt=!0;var c=a.target.getValue();a=H7(this,!0).filter(function(d){return void 0!==b.Y.get(d)});a.map(function(d){return b.Y.get(d)}).forEach(function(d){d.setValue(c)});F7(this,a,!1)};function VUa(a){return(null===a.l?[]:Array.from(a.l.g.keys())).map(function(b){return{id:b,ZZ:a.M.get(b).getValue(),H0:a.Y.get(b).getValue()}})}h.kb=function(){return this.Bb.value};function D7(a,b){a.Na.eP(b);a.Na.Ga(!0)}
5212h.r8=function(a){this.Cb=!1;switch(a.target.getValue()){case "Deleted":this.Cb=!0}G7(this)};function G7(a){a.xd.forEach(function(b){z("row"+b).style.display="none"});H7(a,!1).forEach(function(b){z("row"+b).style.display=""})}function H7(a,b){var c=new Set(a.wc());return a.Ab.filter(function(d){return!d.uc||a.Cb}).filter(function(d){return a.$a.has(d.group)}).map(function(d){return d.wb}).filter(function(d){return c.has(d)||!b})}
5213h.gT=function(){var a=this;return this.Ab.filter(function(b){return!b.uc||a.Cb}).filter(function(b){return a.$a.has(b.group)}).map(function(b){return b.wb})};h.$=function(){E7.D.$.call(this);d2(this)};function I7(a,b,c){J1.call(this,a,b,c)}x(I7,J1);h=I7.prototype;h.jm=function(a){I7.D.jm.call(this,a);var b=a.na("userRoleId");w(b)&&(this.v.rg=b);a=a.na("searchPrograms");w(a)&&(this.v.Pw=a.split(","))};h.start=function(a){var b=this;this.Dd(a)&&(this.v.rg?DQ(this,"ba","initial",function(c){return rCa(c,b.v.rg)},this.nR,this):this.nR(null))};h.nR=function(a){a&&WUa(this,a);this.Wd();this.Ya()};
5214h.Wd=function(){var a=this;Ob(this.Ab);var b=Array.from(Hxa());b=b.filter(function(d){return!d.kd});this.Ab=b.map(function(d){for(var e=d.parent;e.h;)e=e.h;var f=d.F,g=d.name;e=e.kb();for(var k="/"+d.ao,l=d.parent;l;)k="/"+l.ao+k,l=l.h;return{wb:f,name:g,category:e,path:k,endpoint:d.F}});b=this.Ab.map(function(d){return d.category});this.v.RB=Array.from(new Set(b));this.v.Pw&&(this.Ab=this.Ab.filter(function(d){return a.v.Pw.includes(d.category)}));this.l={};b=m(this.Ab);for(var c=b.next();!c.done;c=
5215b.next())this.l[c.value.endpoint]=!0};h.K=function(){I7.D.K.call(this);this.view.K(this.Ab,this.v);var a=this.view.Fs;null===a||D(a,a.Be(),this.c8,void 0,this);this.s||D(this.view.l,"action",this.Q5,void 0,this)};h.Tf=function(){I7.D.Tf.call(this);VG(this.T);if(this.view){var a=this.view;(a.l.j||a.sz!=a.Bb.value||this.j)&&this.SF(!0)}};h.c8=function(){XUa(this,this.view.Fs.Cc())};
5216function XUa(a,b){var c="&pageName=user_role_reports&userRoleId="+a.v.rg;b&&0<b.length&&b.length!=a.v.RB.length&&(c+="&searchPrograms="+b.join(","));MK(c)}function YUa(a){a.v.role||(a.v.role=new ZB);var b=I(a.v.role,12),c=[];b=m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.l[d]||c.push(d);c.push.apply(c,ka(a.view.wc()));M(a.v.role,12,c||[])}h.Q5=function(){this.j||(this.j=!0,this.T=UG(this.SF,5E3,this))};
5217h.SF=function(a){var b=this;!a&&this.L?this.m=!0:(this.j=!1,this.L=!0,YUa(this),this.v.role.sc(this.view.Bb.value),DQ(this,"ba","save",function(c){var d=b.v.role;M(d,1001,1);pCa(c,d)},this.N5,this))};function WUa(a,b){a.v.role=SE(b)[0];a.v.rg!=DF(a.v.role)&&(a.v.rg=DF(a.v.role),XUa(a,a.view.Fs.Cc()));a.s=EF(a.v.role)}h.N5=function(a){WUa(this,a);a=this.v.role.kb();this.view.sz=a;this.L=!1;this.m&&(this.m=!1,this.SF())};function J7(){$1.call(this)}x(J7,$1);
5218J7.prototype.K=function(a,b){this.ub("User Role Reports");var c=ay(dNa,{zH:"Role name:",Xb:"#pageName=user_roles_list",Ce:"user roles list"}),d=ay(eNa,{rg:b.rg,TI:!0,vh:"reports"}),e=this.vd(a);X_(this,[c,d],e);if(c=z("filter_button"))this.Fs=new cQ("Category Filter",{"":b.RB?b.RB:[]},b.Pw?b.Pw:null,void 0,"categories",void 0,"None"),this.j.Ea(this.Fs),this.Fs.render(c);this.sz="New Role";this.Bb=z("listTitle");b.role&&(this.sz=b.role.kb(),this.Bb.value=this.sz,this.Bb.disabled=EF(b.role));c2(this,
5219a);b.role&&bOa(this.l,!0,I(b.role,12));S_(this.g);VU(!1,"User Role Reports")};J7.prototype.$=function(){J7.D.$.call(this);YU()};J7.prototype.vd=function(a){return ay(IBa,{Zh:a})};function K7(a,b,c){J1.call(this,a,b,c);this.Eb="aa";this.j="All Roles"}x(K7,J1);h=K7.prototype;h.start=function(a){this.Dd(a)&&(this.ka(this.Eb,this.pR,this),a=++RQ,dV(this,a,"initial"),this.td(a))};
5219h.pR=function(a){if(eV(this,a.Va()?a.Sa():null,"initial")){this.Wd(a);var b=2*this.Ab.length;this.Wj=b;this.view.IB=b;this.ir=1;O1(this,a);this.Ya()}else this.ka(this.Eb,this.pR,this)};
5220h.Wd=function(a){var b="All Roles"==this.j;this.Ab=SE(a).filter(function(c){return!b||!EF(c)}).map(function(c){return{wb:DF(c),dX:Od(DF(c)),name:c.kb(),uc:EF(c),kF:L(c,6,""),qh:S(c,XB,3).map(function(d){return{FormId:L(d,1,""),MaxAllowable:null!=I(d,10)?L(d,10,0):3,Implicit:L(d,1,"")}})}});this.g=SE(a).filter(function(c){return!b||!EF(c)}).map(function(c){return c.kb()});ata(a,SE(a).filter(function(c){return!b||!EF(c)}).length)};
5221h.K=function(){K7.D.K.call(this);this.view.K(this.Ab,this.g,this.j);P1(this);D(this.view.Bc(),"action",this.e8,void 0,this);D(this.view.Ql,"action",this.f8,void 0,this)};h.jm=function(a){K7.D.jm.call(this,a);a=a.na("searchRoleStatus");w(a)&&(this.j=a)};h.f8=function(a){var b="pageName="+this.Jc;"Deleted"==a.target.Xd&&(b+="&searchRoleStatus=includingDeleted");MK(b)};h.td=function(a){FQ(a,"NO_USER")};
5222function ZUa(a){var b=a.view.wc();DQ(a,a.Eb,"copy",function(c){return oCa(c,b)},function(c){return $Ua(a,c,"copied")},a)}
5223h.e8=function(a){var b=this,c=a.target.getValue();if("Copy"===c)ZUa(this);else{if("Delete"===c||"Undelete"===c){if(!confirm("The checked roles will be "+c.toLowerCase()+"d. This will affect users with those roles. Do you wish to proceed?"))return;var d=this.view.wc();DQ(this,this.Eb,"action",function(f){return mCa(f,d,"Delete"===c)},function(f){return $Ua(b,f,"deleted")},this)}if("Merge"===c)if(a=this.view.wc(),2>a.length)xZ("Select 2 or more user roles to merge.");else{var e=new Set(this.Ab.filter(function(f){return f.uc}).map(function(f){return f.wb}));
5224a.some(function(f){return e.has(f)})?xZ("Cannot merge deleted items."):aVa(this,a)}}};function aVa(a,b){var c=++RQ;dV(a,c,"merge");a.ka(a.Eb,a.cN,a);nCa(c,b)}h.cN=function(a){eV(this,a.Va()?a.Sa():null,"merge")?window.location.href="#pageName=user_role_update&userRoleId="+DF(SE(a)[0])+"&isMerge=true":this.ka(this.Eb,this.cN,this)};function $Ua(a,b,c){j_(a,"action")||(b=lEa(b),c=qEa(b,"user role",c),0<b.Hh?wZ(uZ.getInstance(),c):xZ(c),DQ(a,a.Eb,"actionDone_",function(d){return a.td(d)},a.g8,a))}
5225h.g8=function(a){if("All Roles"==this.j){var b=SE(a).filter(function(c){return!EF(c)});lz(a,40,b)}this.sd(a)};function L7(){$1.call(this);this.h=null}x(L7,$1);
5226L7.prototype.K=function(a,b,c){this.ub("User Roles");"includingDeleted"!=c&&(a=a.filter(function(e){return!e.uc}));b=ay(j0,{Rs:"user role",Qs:"#pageName=user_role_update",Xb:"#pageName=instance_settings",Ce:"settings",mn:"User Roles"});var d=this.vd(a);X_(this,[b],d);a2(this,!0);c2(this,a);bVa(this);this.Ql=wPa("Show: All Roles",["All Roles","Deleted"]);this.Ql.render(z("actions_button2"));a="All Roles";"includingDeleted"==c&&(a="Deleted");this.Ql.setValue(a);c=new aI;hI(c,{caption:"Cancel",key:"cancel"},
5227!1);hI(c,{caption:"Merge",key:"merge"},!0);this.u=SP();this.u.tc("Merge User Roles");eI(this.u,c);this.u.Ga(!0);c=B("div");this.M=B("i",{},"Merging creates a new role, where each form has the highest permission that all merged roles allow on it, excluding roles that give no permission on the form.");c.appendChild(this.M);c.appendChild(B("br"));c.appendChild(B("br"));this.$a=B("span",{id:"merge_role_text"},"Merge into: ");c.appendChild(this.$a);this.Y=B("input",{type:"text",id:"merge_role_name"});
5228c.appendChild(this.Y);this.u.ib().appendChild(c);this.u.Ga(!1)};L7.prototype.vd=function(a){a=a.map(function(b){b.R_=b.wb.match(/.*\(\d+\)$/g);return b});return ay(ABa,{$S:a})};function bVa(a){var b=["Undelete","Delete","Merge"];yF(AF).includes(91)&&b.push("Copy");a.h=e2("Actions",b);a.h.render(z("actions_button"))}L7.prototype.Bc=function(){return this.h};L7.prototype.$=function(){L7.D.$.call(this);b2(this);d2(this)};function M7(a,b,c){f_.call(this,a,b,c);this.Qb=[]}x(M7,$_);h=M7.prototype;h.Ib="";h.userName="";h.domain="";h.Fj=0;h.start=function(a){a=a.na("userId");w(a)?(this.Ib=a,a=!0):(h_(this),a=!1);a&&(this.ka("ga",this.rR,this),a=++RQ,dV(this,a,"initial"),sQ(a,0),this.ka("la",this.sR,this),a=++RQ,dV(this,a,"initial"),tQ(a,0,this.Ib),this.ka("aa",this.tR,this),a=++RQ,dV(this,a,"initial"),FQ(a,this.Ib,!0),m_(this))};
5229h.rR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(a=ME(a)[0],this.Fj=L(a,1003,0),this.domain=L(a,6,""),this.Ya()):this.ka("ga",this.rR,this)};h.sR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.yc(a),a=a.Mc()[0],this.userName=a.Ic(),this.xc=fz(a,10,!1),this.Ya()):this.ka("la",this.sR,this)};
5230h.tR=function(a){var b=this;eV(this,a.Va()?a.Sa():null,"initial")?(this.roles=SE(a).filter(function(c){return!EF(c)}).map(function(c){return c.kb()}),this.g=new Set(SE(a).filter(function(c){return!EF(c)}).map(function(c){return DF(c)}
5230)),this.Qj=new Map,SE(a).forEach(function(c){b.Qj.set(c.kb(),DF(c))},this),this.rh=new Map,SE(a).forEach(function(c){b.rh.set(DF(c),c.kb())},this),this.Ya()):this.ka("aa",this.tR,this)};
5231h.K=function(){var a=this;M7.D.K.call(this);this.v.yf=this.v.yf.filter(function(c){return a.g.has(c.role)},this);this.v.yf.forEach(function(c,d){c.role=a.rh.get(c.role);a.v.yf[d]=c},this);this.view.K(this.v,this.Ib,this.userName,this.Fj,this.xc,this.domain,this.Qb,this.roles);var b=this.view.Is;w(b)&&D(b,"action",this.m5,void 0,this)};
5232h.jc=function(a){M7.D.jc.call(this,a);this.ka("la",this.qR,this);var b=this.Qj;a.dj.forEach(function(d,e){a.dj[e].EO=b.get(d.key)});var c=++RQ;dV(this,c,"save");tQ(c,2,this.Ib,void 0,void 0,void 0,a.Sc,a.od,void 0,a.jh,a.ah,void 0,void 0,void 0,a.so,void 0,a.dj,a.Ni,a.Bo)};h.qR=function(a){eV(this,a.Va()?a.Sa():null,"save")?this.Kd(a,"Ib"):this.ka("la",this.qR,this)};
5233h.Kd=function(a,b,c,d){M7.D.Kd.call(this,a,b,c,d);j_(this,"save")||0!=L(a,26,0)||(this.Ib==OJ?window.location.reload():(a=this.view,b=cVa(a),CMa(a,b)))};
5234h.yc=function(a){var b=this;a=a.Mc()[0];this.v={};var c=0;this.v.Sc=null!=I(a,5)?a.Fb():null;this.v.od=null!=I(a,6)?a.Hb():null;this.v.ah=null!=I(a,10)?fz(a,10,!1):null;this.v.Bo=null!=I(a,44)?L(a,44,""):null;this.v.so=null!=I(a,36)?L(a,36,""):null;this.v.jh=null!=I(a,9)?fz(a,9,!1):null;this.v.Ni=null!=I(a,43)?fz(a,43,!1):null;this.v.yf=S(a,$B,42).map(function(e){return{role:L(e,1,""),buildings:I(e,2)}});var d=null!=I(a,14)?N(a,U,14):null;null!==d&&(this.v.Gn=d.xb()?d.getError():null,c++);d=null!=
5235I(a,15)?N(a,U,15):null;null!==d&&(this.v.qo=d.xb()?d.getError():null,c++);d=null!=I(a,19)?N(a,U,19):null;null!==d&&(this.v.YC=d.xb()?d.getError():null,c++);d=null!=I(a,18)?N(a,U,18):null;null!==d&&(this.v.mE=d.xb()?d.getError():null,c++);d=null!=I(a,1005)?N(a,U,1005):null;null!==d&&(this.v.WE=d.xb()?d.getError():null,c++);d=null!=I(a,39)?N(a,U,39):null;null!==d&&(this.v.uE=d.xb()?d.getError():null,c++);null!=this.rh&&this.v.yf.forEach(function(e,f){e.role=b.rh.get(e.role);b.v.yf[f]=e},this);this.v.Bn=
5236gz(a,1004,void 0,null);this.v.Bn.has("user_role")&&(this.v.XH=this.v.Bn.get("user_role"),c++);0<c&&(this.v.OD=!0);return c};h.m5=function(){var a=this;DQ(this,"Qc","initial",function(b){var c=a.Ib,d=new aD;M(d,1,c);c=new lB;EE(c,71);FE(c,b);T(c,50,d);eN(dN.getInstance(),c)},this.mW,this)};h.mW=function(a){var b=this.view;a=L(N(a,bD,48),1,"");w(b.$b)&&(b.$b.textContent=a);b.Cb||(b.Cb=new N7(b.$b,void 0,0),b.g.Ea(b.Cb,!1),a=b.g.w().querySelector("#mfa_code_copy"),b.Cb.render(a))};function N7(a,b,c,d){EH.call(this,d);this.l=a;this.m=b;this.size=c||1}x(N7,EH);N7.prototype.Ra=function(){var a="content_copy";w(this.m)&&(a=this.m);switch(this.size){case 3:case 4:var b="N";break;case 1:b="R";break;case 0:b="T";break;default:b="R"}this.j=this.h=B("SPAN",{"class":"F "+b,title:"Copy"},a)};N7.prototype.K=function(){N7.D.K.call(this);D(this.h,"click",this.u,void 0,this)};
5237N7.prototype.u=function(){var a="";w(this.l)&&(a=this.l.textContent);""!=a&&(La.navigator.clipboard.writeText(a),AK.ba("hb"))};function O7(){W_.call(this);this.Kc=this.Cb=this.$b=this.Is=this.h=this.u=this.bc=this.Na=this.M=this.$a=this.xc=this.sb=this.zb=null;this.Ib="";this.v=null;this.Y=yF(AF).includes(29)}x(O7,W_);function cVa(a){if(!a.v)return[];var b=$M("users_list");b=ay(g0,{Xb:b,cc:a.v.Sc,hc:a.v.od});a=ay(h0,{Ib:a.Ib,vh:"basics"});return[b,a]}h=O7.prototype;
5238h.K=function(a,b,c,d,e,f,g,k){this.v=a;this.Ib=b;this.ub("User Basics");var l=cVa(this),n=3==d||2==d;d=wc(PJ,"@samegoal.com");b=ay(MUa,{Ib:b,userName:c,domain:f,lE:n,xc:e,j6:c.endsWith("@samegoal.com"),o0:d});n&&(this.xc=pX([{label:"Check if user is not in authentication server",Oa:"local"}],"Authenticate locally:"));X_(this,l,b);this.zb=rX("* First name:");this.sb=rX("* Last name:");this.Na=rX("OIDC Subject ID:");this.u=rX("LDAP username:");this.Y?this.M=tX([{label:"Admin",Oa:"is_admin"},{label:"Doc Viewer Only",
5239Oa:"is_doc_viewer_only"}],"Account type:",void 0,void 0,!0):this.$a=pX([{label:"",Oa:"is_admin"}],"Admin account:");l=mQ(g);this.Qb=g;this.h=new iQ("Add user roles...",k,"User roles:",void 0,void 0,l,!0,"All user roles assigned");this.zb.render(z("first_name_input"));this.sb.render(z("last_name_input"));this.Na.render(z("oidc_subject_id"));null===z("oidc_subject_id")?this.Na.w().style.display="none":(g=ay(OUa),this.bc=new mU(g),g=z("oidc_subject_id_info"),this.bc.render(g));this.u.render(z("ldap_user_name_input"));
5240null===z("ldap_user_name_input")&&(this.u.w().style.display="none");this.Y?(this.g.Ea(this.M,!1),this.M.render(z("account_type"))):(this.g.Ea(this.$a,!1),this.$a.render(z("account_type")));this.h.render(z("ur_list"));g=[this.zb,this.sb,this.Na,this.u,this.h];this.Y?g.push(this.M):g.push(this.$a);null!==this.xc&&(this.xc.render(z("force_local_auth")),this.xc.setValue("remote"),g.push(this.xc),D(this.xc,"change",this.uR,void 0,this));this.Y?D(this.M,"change",this.vR,void 0,this):D(this.$a,"change",
5241this.vR,void 0,this);this.Kc=new mU("This code is valid for 15 minutes and can be used as an alternative to the code emailed to the user.");this.g.Ea(this.Kc);this.Kc.render(z("generate_mfa_code_info"));k=b.querySelector("#generate_mfa_code_button");this.Is=TP("Generate MFA Code");this.g.Ea(this.Is,!1);this.Is.render(k);d&&this.Is.W(!1);this.$b=b.querySelector("#mfa_code");this.hd(a);
5241Y_(this,g,void 0,"Update user")};
5242h.$=function(){O7.D.$.call(this);C(this.zb);C(this.sb);C(this.Na);C(this.u);null!==this.xc&&(Mx(this.xc,"change",this.uR,void 0,this),C(this.xc));C(this.h);null===this.bc||C(this.bc)};h.vR=function(){if(this.Y){var a="is_admin"==this.M.getValue(),b="is_doc_viewer_only"==this.M.getValue();P7(this,a,b)}else a="is_admin"==this.$a.getValue(),P7(this,a,!1)};function P7(a,b,c){c=c&&a.Y;b||c?(a.h.clear(),lQ(a.h,!1)):lQ(a.h,!0)}
5243h.uR=function(){"local"==this.xc.getValue()?(this.u.setValue(""),this.u.W(!1)):"local"!=this.xc.getValue()&&this.u.W(!0)};
5244h.gc=function(){var a={};a.Sc=this.zb.getValue();a.od=this.sb.getValue();a.Bo=this.Na.getValue();a.so=this.u.getValue();null!==this.xc&&(a.ah=!1,"local"==this.xc.getValue()&&(a.ah=!0));a.jh=!1;a.dj=[];if(this.Y)switch(a.Ni=!1,this.M.getValue()){case "is_admin":a.jh=!0;break;case "is_doc_viewer_only":a.Ni=!0;break;default:a.dj=this.h.Tc()}else"is_admin"==this.$a.getValue()?a.jh=!0:a.dj=this.h.Tc();return a};
5245h.hd=function(a){var b=this;this.v=a;this.zb.setValue(a.Sc,a.Gn);this.sb.setValue(a.od,a.qo);this.Na.setValue(a.Bo,a.WE);this.u.setValue(a.so,a.uE);if(null!==this.xc){if(w(a.ah)&&null!==a.ah)if(a.ah){var c="local";this.u.setValue("");this.u.W(!1)}else c="remote";this.xc.setValue(c,a.YC)}var d=(c=null!=a.jh&&a.jh)?"is_admin":"",e=this.Y&&null!=a.Ni&&a.Ni;this.Y?this.M.setValue(e?"is_doc_viewer_only":d):this.$a.setValue(d,a.mE);this.h.qb(a.XH);a.OD||(d=a.yf.map(function(f){return f.role}),a.yf=a.yf.map(function(f){f.allBuildings=
5246b.Qb;return f}),$Ba(this.h,d,a.yf));P7(this,c,e)};function Q7(a,b,c){J1.call(this,a,b,c);this.Eb="V";this.kl=2;this.j=[];this.Qb=[];this.l=yF(AF).includes(29)}x(Q7,J1);h=Q7.prototype;h.start=function(a){this.Dd(a)&&(this.view.wl(a),this.ka(this.Eb,this.xR,this),a=++RQ,dV(this,a,"initial"),this.td(a),this.ka("aa",this.wM,this),a=++RQ,dV(this,a,"initial"),FQ(a,"NO_USER",!0),m_(this))};h.h8=function(){this.Ud(1)};h.xR=function(a){eV(this,a.Va()?a.Sa():null,"initial")?(this.Wd(a),O1(this,a),this.Ya()):this.ka(this.Eb,this.xR,this)};
5247h.wM=function(a){var b=this;eV(this,a.Va()?a.Sa():null,"initial")?(this.fl=SE(a).map(function(c){return c.kb()}),this.fl.sort(),this.rh=new Map,SE(a).forEach(function(c){b.rh.set(DF(c),c.kb())},this),this.rh.set("no role assigned","no role assigned"),this.Qj=new Map,SE(a).forEach(function(c){b.Qj.set(c.kb(),DF(c))},this),this.Qj.set("no role assigned","no role assigned"),this.pN=new Set(SE(a).filter(function(c){return!EF(c)}).map(function(c){return DF(c)})),this.Ya()):this.ka("aa",this.wM,this)};
5248h.Wd=function(a){a=iEa(a);Ob(this.Ab);for(var b=a[0],c=0,d=b.length;c<d;c++){var e=b[c];e.Ze&&Pb(this.j,e.wb)}this.Ab=b;this.g=a[1];null!=this.pN&&null!=this.Qb&&dVa(this)};h.K=function(){Q7.D.K.call(this);dVa(this);this.view.K(this.Ab,this.g,this.fl,this.Qb,this.rh,this.Qj);P1(this);L1(this);K1(this);g_(this,"Ca",this.h8,this);D(this.view.Bc(),"action",this.wR,void 0,this);D(this.view.Ka,gI,this.gW,void 0,this)};
5249h.gW=function(a){var b=this;if("okay"==a.key||"remove"==a.key){var c=this.view.Ip.Tc();if(c.some(function(g){return 0==g.Oa.checked.length})){alert("must assign at least one building to a role");return}var d=this.view.wc(),e=new Map;c.forEach(function(g){var k=this.Qj.get(g.key);e.set(k,g.Oa.checked)},this);var f="okay"==a.key;V0(this,{tag:"roleUpdate",Od:f?"Kb":"Lb",Jd:this.Eb,aq:function(g){var k=new lB;FE(k,g);fCa(k,d,e,f);eN(dN.getInstance(),k)},bq:function(g,k){var l=b.zf(),n=new lB;FE(n,g);
5250pQ(n,l,k,!0);g=f?9:10;k=OD(n);M(k,1,g);fCa(n,[],e,f);eN(dN.getInstance(),n)}})}this.view.Ip.clear()};h.$=function(){Q7.D.$.call(this);M1(this);Mx(this.view.Bc(),"action",this.wR,void 0,this)};
5251h.Ud=function(a){var b=T1(this.view.Ak()),c="pageName=users_list";""!=b.od&&(c+="&searchLast="+b.od);""!=b.Sc&&(c+="&searchFirst="+b.Sc);""!=b.mo&&(c+="&searchId="+b.mo);b.Qk&&""!=b.Qk&&(c+="&searchIdList="+b.Qk);b.Df&&(c+="&searchDeleted="+b.Df);b.dn&&(c+="&searchAdmin="+b.dn);b.yn&&(c+="&searchDocViewerOnly="+b.yn);null!=b.Qb&&(c+="&searchBuildings="+b.Qb.map(function(d){return d.replace(",",",,")}).join(","));null!=b.roles&&(c+="&searchRoles="+b.roles.map(function(d){return d.replace(",",",,")}).join(","));
52521!=a&&(c+="&page="+a.toString());MK(c)};h.zf=function(){var a=S1();this.l||(a.yn=void 0);return hCa(N1(this),a.Sc,a.od,a.Qk,a.Df,a.Qb,a.roles,a.dn,a.yn,a.t9)};h.Kv=function(){return!1};
5253h.wR=function(a){var b=this;if(U1(this.view))if(a=a.target.getValue(),!(new Set("Delete;Undelete;Active;Inactive;Assign User Roles;Change Building;Promote to Regular User;Make Doc Viewer Only".split(";"))).has(a)&&this.ze)this.X.ba("od");else switch(a){case "Active":V0(this,{tag:"active",Qe:!0,Od:"Fb",Ke:"Kd",Jd:"la",bf:"Cd"});break;case "Inactive":V0(this,{tag:"inactive",Qe:!1,Od:"Gb",Ke:"Kd",Jd:"la",bf:"Cd"});break;case "Delete":V0(this,{tag:"delete",Qe:!0,Od:"Bb",Ke:"Kd",Jd:"la",bf:"Dd"});break;
5254case "Undelete":V0(this,{tag:"undelete",Qe:!1,Od:"Cb",Ke:"Kd",Jd:"la",bf:"Dd"});break;case "Assign User Roles":eVa(this.view);break;case "Change Building":a=fVa(this);var c=this.Qb.filter(function(e){return!fz(e,6,!1)}).map(I1);if(0==c.length){this.X.ba("Nb");break}var d=c;this.ze||(d=a.map(I1));if(0==d.length){this.X.ba("Mb");break}tJa([d,c],"Change User Buildings",function(e){return gVa(b,e[0],e[1])},["Current Building:","New Building:"],"Change any user roles associated with one building to a different building for the selected users.");
5255break;case "Promote to Regular User":V0(this,{tag:"promote",Qe:!1,Od:"Db",Ke:"Kd",Jd:"la",bf:"Hd"});break;case "Make Doc Viewer Only":V0(this,{tag:"demote",Qe:!0,Od:"Eb",Ke:"Kd",Jd:"la",bf:"Hd"})}else this.X.ba("Ka")};function fVa(a){var b=hVa(a),c=iVa(a),d={};
5255a.view.wc().forEach(function(e){return c[e].roles.forEach(function(f){return f.Qb.forEach(function(g){return d[g]=!0})})});return Object.keys(d).map(function(e){return b[e]}).filter(function(e){return!!e})}
5256function dVa(a){var b=hVa(a);a.Ab.forEach(function(c){c.roles.forEach(function(d){d.A5=this.rh.get(d.rg);d.KU=d.Qb.map(function(e){return b[e].kb()})},this)},a);a.Ab.forEach(function(c,d){c.roles=c.roles.filter(function(e){return this.pN.has(e.rg)},this);this.Ab[d]=c},a)}function iVa(a){var b={};a.Ab.forEach(function(c){return b[c.Ib]=c});return b}function hVa(a){var b={};a.Qb.forEach(function(c){return b[c.bh()]=c});return b}
5257function gVa(a,b,c){if(b!=c){var d=a.view.wc();V0(a,{tag:"move_user_building",Od:"Jb",Jd:a.Eb,aq:function(e){var f=new lB;FE(f,e);gCa(f,d,b,c);eN(dN.getInstance(),f)},bq:function(e,f){var g=a.zf(),k=new lB;FE(k,e);pQ(k,g,f,!0);e=OD(k);M(e,1,8);gCa(k,[],b,c);eN(dN.getInstance(),k)}})}};function R7(){$1.call(this);this.u=this.h=null;this.$a=yF(AF).includes(29)}x(R7,$1);h=R7.prototype;h.wl=function(a){this.u=new X1(a)};
5258h.K=function(a,b,c,d,e,f){this.ub("Users");b=ay(j0,{Rs:"user",Qs:"#pageName=user_add"});var g=this.vd(a);X_(this,[b],g);a2(this);c2(this,a);a=[];T1(this.u).Df?a.push("Undelete"):a.push("Delete");this.$a?T1(this.u).yn?a.push("Promote to Regular User"):a.push("Assign User Roles","Change Building","Make Doc Viewer Only"):a.push("Assign User Roles","Change Building");this.h=e2("Actions",a);this.h.render(z("actions_button"));a=new aI;hI(a,kI,!0,!0);hI(a,{key:"okay",caption:"Add"},!1,!1);hI(a,{key:"remove",
5259caption:"Remove"},!1,!1);this.Ka=SP();this.Ka.tc("Assign User Roles");eI(this.Ka,a);this.Ip=new iQ("Add user roles...",c,"User roles:",void 0,void 0,mQ(d),!0,"All user roles assigned");D(this.Ip,"change",this.yR,void 0,this);this.Ka.Ga(!0);b=this.Ka.ib();this.M=fI(a,"okay");this.Y=fI(a,"remove");this.yR(null);this.Ip.render(b);this.Ka.w().style.width="750px";this.Ka.Ga(!1);sPa(this.u,d,c,e,f);this.u.render(z("search_bar"));VU(!1,"Users");S_(this.g)};
5260h.$=function(){R7.D.$.call(this);b2(this);d2(this);C(this.h);C(this.u);YU()};h.vd=function(a){return ay(xBa,{items:a})};h.yR=function(){var a=this.Ip.Tc(),b=null;0==a.length&&(b="need roles to");a.some(function(c){return 0==c.Oa.checked.length})&&(b="need building on a role to");null!=b?(this.M.title=b+" add",this.Y.title=b+" remove"):(this.M.title="",this.Y.title="");this.M.disabled=null!=b;this.Y.disabled=null!=b};h.Bc=function(){return this.h};h.Ak=function(){return this.u};
5261function eVa(a){a.Ip.clear();a.Ka.Ga(!0)};function WM(a,b){e_.call(this,a,b);this.h=null}x(WM,e_);
5262WM.prototype.j=function(a){var b=null;a=a.na("pageName");var c=2<=zF();switch(a){case "account_password":b=new l0;b=new a0(this.X,this.g,b);break;case "linked_account":b=new l6;b=new j6(this.X,this.g,b);break;
5262case "linked_account_delete":b=new p6;b=new n6(this.X,this.g,b);break;case "manage_labels":b=new w6;b=new v6(this.X,this.g,b);break;case "form":b=new f1;b=new s1(this.X,this.g,b);break;case "form_preview":b=new N3;b=new J3(this.X,this.g,b);break;case "instance_form":b=new Z3;b=new Y3(this.X,
5263this.g,b);break;case "user_form":b=new B7;b=new A7(this.X,this.g,b);break;case "object_form":b=new L6;b=new K6(this.X,this.g,b);break;case "attachments":b=new n1;b=new D0(this.X,this.g,b);break;case "district_transfer":b=new u3;b=new t3(this.X,this.g,b);break;case "object_collapse":b=new H6;b=new G6(this.X,this.g,b);break;case "recent":case "caseload":case "all":b=new E3;b=new w3(this.X,this.g,b);break;case "label":b=new E3;b=new i6(this.X,this.g,b);break;case "dashboard":b=new J2;b=new I2(this.X,
5264this.g,b);break;case "users_list":b=new R7;b=new Q7(this.X,this.g,b);break;case "user_docs_list":b=new E3;b=new z7(this.X,this.g,b);break;case "user_add":b=new x7;b=new w7(this.X,this.g,b);break;case "admin_reset_password":b=new n0;b=new m0(this.X,this.g,b);break;case "rename_user":b=new n7;b=new m7(this.X,this.g,b);break;case "user_update":b=new O7;b=new M7(this.X,this.g,b);break;case "objects_list":b=new P6;b=new O6(this.X,this.g,b);break;case "object_docs_list":b=new E3;b=new J6(this.X,this.g,
5265b);break;case "object_add":b=new F6;b=new E6(this.X,this.g,b);break;case "object_update":b=new N6;b=new M6(this.X,this.g,b);break;case "rename_object":b=new l7;b=new k7(this.X,this.g,b);break;case "instance_settings":b=new d6;b=new c6(this.X,this.g,b);break;case "instance_update":b=new h6;b=new g6(this.X,this.g,b);break;case "instance_technical":b=new f6;b=new e6(this.X,this.g,b);break;case "instance_reports":b=new $5;b=new d4(this.X,this.g,b);break;case "instance_form_settings":b=new a4;b=new $3(this.X,
5266this.g,b);break;case "instance_forms_list":case "instance_banks":b=new c4;b=new b4(this.X,this.g,b);break;case "enrollment_timeline":b=new I3;b=new H3(this.X,this.g,b);break;case "deadline_list":b=new q3;b=new o3(this.X,this.g,b);break;case "instance_bank_update":b=new T3;b=new S3(this.X,this.g,b);break;case "user_roles_list":b=new L7;b=new K7(this.X,this.g,b);break;case "user_role_update":b=new E7;b=new C7(this.X,this.g,b);break;case "data_transfer_list":b=new L2;b=new K2(this.X,this.g,b);break;
5267case "data_transfer_add":b=new W2;b=new N2(this.X,this.g,b);break;case "data_export_update":b=new W2;b=new g3(this.X,this.g,b);break;case "data_vendor_add":yF(AF).includes(34)?(b=new a3,b=new N2(this.X,this.g,b)):console.error("unknown place",a);break;case "data_vendor_update":yF(AF).includes(34)?(b=new a3,b=new f3(this.X,this.g,b)):console.error("unknown place",a);break;case "data_import_update":b=new i3;b=new h3(this.X,this.g,b);break;case "buildings_list":b=new f2;b=new R1(this.X,this.g,b);break;
5268case "grades_list":b=new P3;b=new O3(this.X,this.g,b);break;case "instance_csv_loader":b=new X3;b=new U3(this.X,this.g,b);break;case "pdf_export_list":c?(b=new T6,b=new S6(this.X,this.g,b)):console.error("unknown place",a);break;case "pdf_export_load":c?(b=new R6,b=new Q6(this.X,this.g,b)):console.error("unknown place",a);break;case "download_backups":c?(b=new G3,b=new F3(this.X,this.g,b)):console.error("unknown place",a);break;case "create_instance":b=new H2;b=new G2(this.X,this.g,b);break;case "display_option":b=
5269new s3;b=new r3(this.X,this.g,b);break;case "deadlines":b=new n3;b=new j3(this.X,this.g,b);break;case "pdf_import":b=new h7;b=new U6(this.X,this.g,b);break;case "pdf_import_list":b=new j7;b=new i7(this.X,this.g,b);break;case "translation_config":b=new t7;b=new s7(this.X,this.g,b);break;case "translation":b=new r7;b=new q7(this.X,this.g,b);break;case "translation_confirmation":b=new v7;b=new u7(this.X,this.g,b);break;case "calendar_building_list":b=new h2;b=new g2(this.X,this.g,b);break;case "calendar":b=
5270new l2;b=new i2(this.X,this.g,b);break;case "building_add":b=new G1;b=new F1(this.X,this.g,b);break;case "building_update":b=new G1;b=new H1(this.X,this.g,b);break;case "user_role_reports":b=new J7;b=new I7(this.X,this.g,b);break;case "meeting":yF(AF).includes(49)?(b=new A6,b=new z6(this.X,this.g,b)):(b=new y6,b=new x6(this.X,this.g,b));break;case "notification_settings":b=new D6;b=new B6(this.X,this.g,b);break;
5270case "guardian_home":b=new R3;b=new Q3(this.X,this.g,b);break;case "load_data":b=new t6;
5271b=new q6(this.X,this.g,b);break;case "student_team":F0()&&(b=new p7,b=new o7(this.X,this.g,b));break;case "no_permission":yF(AF).includes(49)&&(b=new A6,b=new z6(this.X,this.g,b));break;case "batch_edit":3<=zF()&&yF(AF).includes(94)&&(b=new E1,b=new C1(this.X,this.g,b));break;default:console.error("unknown place",a)}return this.h=b};function S7(){this.X=AK;this.o=this.u=this.s=this.T=this.l=null;this.g=[];this.Ka=this.L=this.j=this.h=this.m=null}Ra(S7);function Vza(a){var b=ew("BODY")[0];a.l=new EH;a.l.render(b);a.o=new EH;a.o.render(z("page_body"));b=new WM(a.X,a.o);b=new XM(a.X,b,"yd");a.g.push(b);zK(a.X,"H",function(c){w(c)||(c="Sorry, a server error occurred.");alert("server error: "+c)})}h=S7.prototype;
5272h.sx=function(){var a=MH(this.h,0),b=a.w();a=!(a.getState()&16);if(this.h){var c=MH(this.h,0),d=c.w().children[0].children[0].children[0];a?(c.pd("Collapse"),d.innerText="expand_less",this.m.style.display="block"):(c.pd("Expand"),d.innerText="expand_more",this.m.style.display="none")}ix(b,"jb-pv-Fh-rh");ix(b,"jb-pv-Fh-Bh");RM()};
5273h.dT=function(a,b){a=vM.getState()&16;w(b)&&(a=!0);a?(this.DH(!0),w(b)||BZ?(CZ=w(b)?b:BZ.getKey(),this.X.ka("Pa",IZ.oC,IZ),document.activeElement.blur()):IZ.oC()):(this.DH(!1),document.activeElement.blur())};h.DH=function(a){var b=vM;nHa(a);IZ&&0==IZ.g.length&&b.pd("Hooray! No errors.");var c=wM;pM.W(!a);if(a)c.W(!1);else{var d=mH.g.g.get("pageName");c.W(!cK&&"form"==d);IZ&&DZ(IZ,"")}b.nc(a);WU=a};h.lW=function(){BZ?(this.X.ka("Pa",this.qt,this),document.activeElement.blur()):this.qt()};
5274h.qt=function(a,b){var c=a?a:IZ,d=c.jb;a=c.g;var e=a.length;if(0==e)this.X.ba("fb");else{var f=B("TABLE",{style:"width: 100%"});d=B("TD",{"class":"on"},B("SPAN","E","subdirectory_arrow_right"),d);var g=gLa,k=hLa;g=B("TD",{"class":"pn"},(g?g+" validation ":"")+(g&&k?"and ":"")+(k?k+" format ":"")+"checks run, "+e+" errors");d=B("TR",void 0,d,g);f.appendChild(d);d=B("TBODY",{id:"validation_doc_"});this.Ka=SP();g=new aI;if(XU&&WJ)hI(g,kI,!0,!0),hI(g,{caption:"Add amendment with errors",key:"add"},!0,
5275!0);else if(null!=b&&b)if(hI(g,kI,!0,!0),XJ||WJ){hI(g,{key:"override",caption:"Mark complete with errors >>"});var l=B("DIV",{style:"padding: 3px 0"},B("B",void 0,"WARNING!")," Document with validation errors may be omitted from administrative reports and state reporting.");var n="/iep/g/support/online-guides/user-guide/validate-documents-override"}else l=B("DIV",{style:"padding: 3px 0"},"Document may not be marked complete until the above validation errors are resolved."),n="/iep/g/support/online-guides/user-guide/validate-documents";
5276else hI(g,jI,!0,!0);k={};for(var q=0;q<e;k={ks:k.ks},q++)if(k.ks=lLa(c,a[q]),k.ks){for(var t=B("SPAN",{"class":"E",style:"margin-left: 1em;"},"subdirectory_arrow_right"),u=void 0,v=m(c.h),y=v.next();!y.done;y=v.next())if(y=y.value,y.getKey()==a[q]){u=y;break}!u&&0>a[q].indexOf(":x")||(u=mLa(c,a[q]),u=B("A",void 0,u),D(u,"click",function(G){return function(){CZ=G.ks.key;c.oC();this.Ka.Ga(!1);this.Ka=null}}(k),void 0,this),t=B("TD","on",t,u),u=B("TD",{"class":"pn",colspan:"2"},k.ks.title),t=B("TR",
5277void 0,t,u),d.appendChild(t))}f.appendChild(d);this.Ka.dg=!0;this.Ka.tc("Validation Errors");eI(this.Ka,g);a=B("DIV","wn",f);e=this.Ka.ib();XU&&(f=B("DIV",{style:"padding-bottom: 9px;"},"An amendment cannot be created after this version due to validation errors in the document at this point."),e.appendChild(f));null!=b&&b&&(b=B("DIV",{style:"padding-bottom: 9px;"},"This document could not be marked complete due to validation errors."),e.appendChild(b));e.appendChild(a);null!=l&&e.appendChild(l);null!=
5278n&&(l=B("A",{"class":"xn",href:n,rel:"noopener noreferrer",target:"_blank"},"help_outline"),ZH(this.Ka).appendChild(l));gx(this.Ka.w(),"qn");D(this.Ka,gI,this.oK,void 0,this);this.Ka.Ga(!0)}};h.q1=function(){BZ?(this.X.ka("Pa",IZ.QJ,IZ),document.activeElement.blur()):IZ.QJ()};h.p1=function(){BZ?(this.X.ka("Pa",IZ.pC,IZ),document.activeElement.blur()):IZ.pC()};
5279h.LJ=function(){var a=KJ,b=a.shift(),c=++RQ;b=b.rb();var d=new lB;EE(d,53);FE(d,c);c=new SB;M(c,3,b);mz(d,39,c,SB,void 0);eN(dN.getInstance(),d,!0);c=0<a.length?a[0].eg():"";a=0<a.length?L(a[0],2,""):"";a=ay($La,{Ey:iK(),Rq:jK(),Eo:YJ,FA:ZJ,Sy:c,Ty:a});c=A("login_message");Kw(a,c);(a=z("login_message_close"))&&Ix(a,"click",this.LJ,void 0,this)};h.oW=function(){var a=wM,b=this.j.h.view,c=XU;!c||b.lg&&b.Do?KOa(this):(b.AS(),a.nc(c))};
5280function jVa(a){var b=wM,c=vM,d=pM,e=rM;XU=a;b&&(b.nc(a),b.W(!0));a?(c.W(!1),null!=d&&d.W(!1),null!=e&&e.W(!1)):(null==IZ&&(null!=d&&d.W(!0),null!=e&&e.W(!0)),b.W(!1))}function KOa(a,b,c){a=a.j.h;var d=XU;
5280d!==b&&(d=!d,void 0!==b&&(d=b),jVa(d),VOa(a,d,c)||jVa(!d))}
5281h.oK=function(a){switch(a.key){case "add":this.X.ba("fb");break;case "override":var b=this.Ka.Yb;var c=fI(b,"override");if("Mark complete with errors >>"!=c.innerText)b=!1;else{c.innerText="Mark complete with errors";iI(b,"override",!1);b=B("DIV",{style:"padding-bottom: 9px;"},"Reason for marking the document(s) complete without resolving validation errors:");c=B("INPUT",{type:"radio",id:"not_author",name:"reason"});var d=B("LABEL",{"for":"not_author",id:"not_author_label"},"I am not the original author and I don't know how to resolve these errors");
5282d=B("DIV",{style:"display: flex; padding-bottom: 7px"},c,d);var e=B("INPUT",{type:"radio",name:"reason",id:"other_radio"}),f=B("LABEL",{"for":"other_radio"},"Other:"),g=B("TEXTAREA",{style:"height: 193px",id:"other"});f=B("DIV",{style:"display: flex; flex-direction: column; flex-grow: 1"},f,g);f=B("DIV",{style:"display: flex; align-items: flex-start; padding-bottom: 7px"},e,f);var k=B("DIV",{style:"padding: 3px 0"},B("B",void 0,"WARNING!")," Document(s) with validation errors may be omitted from administrative reports and state reporting.");
5283D(c,"change",this.cA,void 0,this);D(e,"change",this.cA,void 0,this);D(g,"keyup",this.cA,void 0,this);D(g,"keydown",this.cA,void 0,this);c=this.Ka.ib();c.innerHTML="";c.appendChild(b);c.appendChild(d);c.appendChild(f);c.appendChild(k);b=!0}if(b){a.stopPropagation();a.preventDefault();return}a=this.j.h;b=kVa();a.BA?a.pM():a.BQ(null,b);break;case "copy":b=fI(this.Ka.Yb,"copy");"Copy document >>"!=b.innerText?b=!1:(b.innerText="Copy document",b=B("DIV","sn","Settings:"),c=B("INPUT",{type:"checkbox",id:"team_perm",
5284name:"perm"}),d=B("LABEL",{"for":"team_perm",id:"team_perm_label"},"Share it with the same people (except Parent/Guardian)"),c=B("DIV",{style:"display: flex; padding-bottom: 7px"},c,d),d=this.Ka.ib(),d.innerHTML="",d.appendChild(b),d.appendChild(c),b=!0);if(b){a.stopPropagation();a.preventDefault();return}a=z("team_perm").checked;this.X.ba("gb",a);break;default:this.X.clear("fb"),this.X.clear("R"),this.X.clear("gb")}this.Ka.Ga(!1);this.Ka=null};
5285h.cA=function(a){"change"!=a.type&&(z("other_radio").checked=!0);iI(this.Ka.Yb,"override",!!kVa())};function kVa(){return z("not_author").checked?z("not_author_label").innerText:z("other").value}
5286function ROa(){var a=nH;a.Ka=SP();a.Ka.tc("Copy to new document");var b=a.Ka.ib(),c=B("DIV","sn");c.innerHTML="WARNING! This will create a new incomplete document that is a copy of this document with the exception of signatures, most dates, and certain other fields.<br><br>DO NOT use this as a substitute for creating a formal amendment or correcting this document.  Doing so can cause serious state reporting and other issues.";b.appendChild(c);b=new aI;hI(b,kI,!0,!0);hI(b,{caption:"Copy document >>",
5287key:"copy"},!0,!0);a.Ka.dg=!0;eI(a.Ka,b);gx(a.Ka.w(),"rn");D(a.Ka,gI,a.oK,void 0,a);a.Ka.Ga(!0)}h.q9=function(){new $U("",this.j.h)};h.close=function(){SM(MH(this.h,0),16,!0);this.sx(null)};function C0(){var a=nH;SM(MH(a.h,0),16,!1);a.sx(null)}function yX(){return nH.j.h}function YM(a,b){eKa(lM.getInstance(),b);a.L&&(["completion_menu","translation","validation","docHistory","acknowledge"].forEach(function(c){(c=JH(a.L,c))&&c.Ga(b)}),RM())};function lVa(a){iK()&&(nw().appReady=!1);var b=a.EH,c=new lB;EE(c,78);M(c,1005,b);eN(dN.getInstance(),c,!0);a=new YL(a.EH);iV()?(iV()&&fz(AF,15,!1)&&(gV.style.display="none",CHa.style.backgroundImage="",hV=!1),UL&&(AK.ka("A",Kza),Eza(),UG(Jza,1E4)),b=!0):b=!1;dM(mH,a,b)};function mVa(){var a=mH;if(!a.xm()||null!==a.h&&a.h.Xe())return"Your changes have not been saved.";mH.X.ba("g")}function nVa(){sL.close();uI.sU()}mH=aM.getInstance();nH=S7.getInstance();RHa=oZ;
5288function T7(){lH.object=new LK;D(lH.object,"navigate",lVa);window.onbeforeunload=mVa;window.onunload=nVa;FH=!1;AK.ka("Ba",Yxa);zK(AK,"K",Xxa);zK(AK,"sc",eMa);zK(AK,"j",aLa);AK.ba("b");var a=window.localStorage.getItem("networkErrors"),b=JSON.parse(a||"[]");Array.isArray(b)||(b=[]);0<b.length&&(window.localStorage.removeItem("networkErrors"),CK.g(Error("network errors: "+a)))}
5289function U7(){var a=z("doc"),b=uG(a),c=z("footer");b=xya().Md().clone().height-b.y-10-c.offsetHeight;b=Math.max(b,100);a.style.height=b+"px"}function oVa(a){D(a,"change",function(){var b=z("doc");iw(b,{src:zya(a)});z("loading").style.display=""})}function pVa(){z("loading").style.display="none"}
5290function qVa(){var a=z("snippets");a&&I_(a);FH=!1;if(a=z("doc")){var b=xya();D(b,"resize",U7);b=new IK;D(b,"fontsizechange",U7);U7();if((b=z("picker"))&&0!=b.length){D(a,"load",pVa);try{var c=Tw(a);var d="complete"==c.readyState&&"about:blank"!=c.location.href}catch(e){d=!0}d&&pVa();oVa(b)}}}sx(function(a){T7=a(T7)});function rVa(a){Ta(a.columns);var b=a.columns;Ta(a.rows);a=a.rows;for(var c='<table class="'+Z("Er")+'" id="table"><thead><tr>',d=b.length,e=0;e<d;e++)c+="<th>"+X(b[e].value)+"</th>";c+="</tr></thead><tbody>";b=a.length;for(d=0;d<b;d++){e=a[d];c+="<tr>";for(var f=e.length,g=0;g<f;g++)c+="<td>"+X(e[g].value)+"</td>";c+="</tr>"}return Y(c+"</tbody></table>")};var V7,W7,X7,Y7,Z7,$7,a8,b8,c8,d8,e8,f8,g8,sVa,h8=18,tVa=[],uVa=[];
5291function vVa(){La.addEventListener("storage",wVa);var a={name:A("name").value,vars:A("vars").value};D(La,"unload",xVa());for(var b=JSON.parse(window.localStorage.getItem("report")||"[]"),c=!1,d=0;d<b.length;d++){var e=b[d];if(!(e.name<a.name||e.name==a.name&&e.vars<a.vars)){b.splice(d,0,a);c=!0;break}}c||b.push(a);wVa({key:"report",newValue:window.localStorage.getItem("report")});a=A("config_info");I_(a);b=A("downloadInfo");I_(b);ix(a.firstElementChild,"Yr");D(document.body,"keydown",yVa);D(document.body,
5292"keyup",zVa);D(La,"beforeprint",AVa);D(La,"afterprint",BVa);a=A("features").value;a=JSON.parse(a);V7=a.product_tier;tVa=a.programs;uVa=a.features;a=new FormData;a.append("endpoint",A("endpoint").value);a.append("sleep",A("sleep").value);a.append("rows",A("rows").value);a.append("vars",A("vars").value);CVa();b=new dH;b.J("complete",DVa);b.j=!0;b.send("/iep/reportdata","POST",a)}function EVa(){var a=A("filter");a.style.filter="none";a.disable="false"}
5293function CVa(){var a=A("filter");a.style.filter="opacity(0.33)";a.disable="true"}var i8=!1,j8=!1;function FVa(){var a=A("name").value;a=Gd(a).toLowerCase();a=Td(a);var b=new Date;return a+"_"+b.getFullYear()+((10>b.getMonth()+1?"0":"")+(b.getMonth()+1))+((10>b.getDate()?"0":"")+b.getDate())+"_"+((10>b.getHours()?"0":"")+b.getHours())+((10>b.getMinutes()?"0":"")+b.getMinutes())+((10>b.getSeconds()?"0":"")+b.getSeconds())}
5294var k8=[],l8=[],m8=[],n8=[],o8=[],p8=10,q8="",r8=[],s8=0,t8=[],u8=0,v8=1,w8=0,x8=0,y8=0,z8=0,A8=-10,B8=0,C8=[],D8=[],GVa=[],E8=!1,F8=!1,G8=!1,H8=!0,I8=new JK;
5295function DVa(a){var b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P,Q,R,aa,fa,za,Aa,Va,Ja,ab,Xa,Na,Xb,Lb,Mb,xb,zc,he,Lc,Hd,ie,jd,Wd,nh;return r(function(oi){b=a.target;c=A("body");
5295if(!hH(b))return ix(c,"ds"),d=TZ.innerText,SZ(d.replace(/\u2026 /,"")),YZ(),c.innerHTML=iH(b),HVa(),oi.return();e=jH(b);ix(c,"ds");c.style.overflow="visible";f=TZ.innerText;SZ(f.replace(/\u2026 /,""));YZ();g=[];k8=e.table.rows;l8=[];k=e.table.columns;o8.push({value:"",type:"",format:""});for(l=0;l<k.length;l++){q=n="";for(t=0;t<g.length;t++)k[l]==
5296g[t].name&&(n=g[t].type,q=g[t].format?g[t].format:q);o8.push({value:k[l],type:n,format:q})}for(u=0;u<k8.length;u++){v=[];for(y=0;y<o8.length-1;y++)v.push(k8[u][y]);l8.push(v)}G="true"==A("fixed").value;K=FVa();J=[];O=[];for(P=0;P<o8.length;P++)O.push([]),t8[P]={Bf:!0,Bg:!1,Db:[]},J.push({tH:0,QE:0});for(Q=0;Q<k8.length;Q++){k8[Q].unshift({value:(Q+1).toString(),dS:Q+1});l8[Q].unshift({value:(Q+1).toString(),dS:Q+1});R=1;for(aa=0;aa<o8.length;aa++)""==k8[Q][aa].value.trim()&&(k8[Q][aa].value=""),fa=
5297k8[Q][aa].value,za=fa.toLocaleLowerCase(),Aa=fa.split("\n").length,fa.length&&"\n"==fa[fa.length-1]&&Aa--,R=Aa>R?Aa:R,""!=fa.trim()&&(J[aa].tH+=fa.trim().length,J[aa].QE++),t8[aa].Bf&&!O[aa].includes(za)&&(O[aa].push(za),t8[aa].Db.push({text:fa,xg:!0,checked:!0}),1E3<t8[aa].Db.length&&(t8[aa].Bf=!1));R=4<R?4:R;m8[Q]=R*h8+11;n8[Q]=m8[Q]}t8[0].Bf=!1;for(Ja=0;Ja<o8.length;Ja++)t8[Ja].Bf&&(0>=J[Ja].QE?t8[Ja].Bf=!1:(Va=J[Ja].tH/J[Ja].QE,t8[Ja].Bf=100>=Va));for(ab=0;ab<o8.length;ab++)t8[ab].Bf&&t8[ab].Db.sort(function(Ki,
5298tk){return IVa(1,1,Ki.text,tk.text)});W7=new Map;for(Xa=32;127>Xa;Xa++)Na=J8(String.fromCharCode(Xa)),p8=p8>Na?p8:Na;Xb=K8("Tj").height;h8=Math.ceil(Xb);b8=B("DIV","Xq");c8=B("DIV","Yq");d8=B("DIV","Sq");$7=B("DIV","Uq",b8);a8=B("DIV","Vq",c8);Y7=B("DIV","Wq");Y7.style.height="25px";Y7.style.top="0";Y7.style.right="0";Z7=B("DIV","Wq");Z7.style.left="1px";Fw(c);c.appendChild(d8);c.appendChild($7);c.appendChild(a8);c.appendChild(Y7);c.appendChild(Z7);Lb=A("search_input");Mb=A("search_prev");xb=A("search_next");
5299zc=A("search_close");he=dw("BODY")[0];L8();D(Lb,"keyup",JVa);D(Mb,"click",cb(M8,-1));D(xb,"click",cb(M8,1));D(zc,"click",N8);D(c,"wheel",KVa);D(d8,"touchstart",LVa);D(d8,"touchend",MVa);D(I8,"resize",NVa);D($7,"scroll",OVa);D(a8,"scroll",PVa);D(he,"mousedown",QVa);Lc=A("reload");D(Lc,"click",RVa);ix(Lc,"Yr");Hd=A("filter");D(Hd,"click",SVa);ix(Hd,"Yr");ie=A("state").value;jd=A("edit");""!=ie?(D(jd,"click",TVa),ix(jd,"Yr")):jd.style.cursor="default";Wd=A("download");O8(Wd,K,"XLSX","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
5300O8(Wd,K,"CSV","text/csv");G&&O8(Wd,K,"Fixed","text/plain");Ew(Wd.children[1],B("HR",{}));Ew(Wd.children[1],B("I",{style:{fontSize:"10px"}},"Note: downloads only contain displayed data"));ix(Wd.firstElementChild,"Yr");I_(Wd);nh=A("print");D(nh,"click",UVa);ix(nh,"Yr");i8=!0;ua(oi)})}function HVa(){"open_reports config_info reload filter edit download print".split(" ").forEach(function(a){if(a=A(a))0<a.children.length&&(a=a.children[0]),ix(a,"Yr"),gx(a,"Xr")})}
5301function L8(a){if(!j8){var b=hw("Pr"),c=A("body"),d=hw("fs");w8=$7.offsetWidth;d=I8.Md().height-b.offsetHeight-d.offsetHeight-w8;var e=d-250;e=75<e?e:75;d8.style.height=d+w8+"px";B8=d-25-5;var f=hw("cr"),g=x8;G8=!1;[-2,-1,1,2].includes(a)&&(g+=a);g+y8-2>=k8.length-1&&(G8=!0);e8&&(e8.offsetHeight<d&&x8+y8-2>=k8.length-1&&(G8=!0),a&&0>a&&(G8=!1));0>g&&(g=0);x8=g;4==a&&(f?(u8=parseInt(f.id.split("/")[0],10)+x8-1,0==x8&&(u8=0)):u8=x8,u8>k8.length-1&&(u8=k8.length-1,G8=!0));f=!1;5==a&&(u8>x8+y8-3&&(f=
5302!0),u8<x8&&(x8=u8,0>x8&&(x8=0),G8=!1));g=k8.length-y8+1;6==a?$7.scrollTop>=$7.scrollHeight-$7.offsetHeight-1?G8=!0:(a=$7.scrollTop/($7.scrollHeight-$7.offsetHeight),x8=Math.floor(a*g),G8=!1):(a=x8/g,$7.scrollTop=($7.scrollHeight-$7.offsetHeight)*a,A8=($7.scrollHeight-$7.offsetHeight)*a);a=!1;if(f)if(u8==k8.length-1)G8=!0;else if(a=!0,y8=0,25<=d){d-=25;y8+=1;for(x8=f=u8;0<d&&0<=f;)d-=m8[f],0<=d&&(y8++,x8=f,f--);y8++}else y8=1;if(!a)if(G8)if(y8=0,25<=d)for(d-=25,y8+=1,x8=a=k8.length-1;0<d&&0<=a;)d-=
5303m8[a],0<=d&&(y8++,x8=a,a--);else y8=1;else{y8=0;if(25<=d)for(d-=25,y8+=1,a=x8;0<d;)d-=m8[a],a++,0<=d&&y8++;y8++}k8.length<y8-1&&(y8=k8.length+1);e8=qw(document,y8,o8.length,!1);gx(e8,"Zq");D8=[];d=e8.tBodies[0].rows;for(a=0;a<y8;a++)D8.push(d[a]),d[a].cells[0].id=a+"/r",gx(d[a].cells[0],"dr");a=[];if(C8.length)for(f=0;f<C8.length;f++)a.push(C8[f].offsetWidth);f=[];for(g=0;g<r8.length&&-1==r8[g].ye;g++)f.push(r8[g].Ah);var k=g=-2;r8.length&&(g=r8[s8-1].ye,k=r8[s8-1].Ah);C8=[];for(var l=0;l<o8.length;l++){0==
5304l?D(d[0].cells[l],"dblclick",VVa):D(d[0].cells[l],"dblclick",cb(P8,l,!0));D(d[0].cells[l],"touchend",cb(WVa,l));gx(d[0].cells[l],"er");d[0].cells[l].id="col/"+l.toString();d[0].cells[l].tabIndex="1";C8.push(d[0].cells[l]);var n=B("DIV","gr");1<V7&&gx(n,"hr");d[0].cells[l].appendChild(n);if(l==f[0]){f.shift();for(var q=o8[l].value.indexOf(q8),t=0;0<=q;)n.appendChild(pw(o8[l].value.substring(t,q))),t=-1==g&&l==k?B("SPAN","Mr"):B("SPAN","Lr"),rw(t,q8),n.appendChild(t),t=q+q8.length,q=o8[l].value.indexOf(q8,
5305t);n.appendChild(pw(o8[l].value.substring(t)))}else rw(n,o8[l].value);q=B("DIV","ir");q.style.height="25px";n.appendChild(q);D(q,"mousedown",XVa);if(0!=l&&""!=o8[l].value.trim()&&1<V7){if(H8){t={"class":"E",style:"margin-top: -3px"};q=B("DIV","nr","Sort A",B("SPAN",t,"arrow_right_alt"),"Z");t=B("DIV","nr","Sort Z",B("SPAN",t,"arrow_right_alt"),"A");D(q,"click",cb(YVa,!0));D(t,"click",cb(YVa,!1));var u=[q,t];t8[l].Bf&&(u=ZVa(e,l),u=[q,t,u]);q=B("DIV",["Cr","mr"],u);q=B("DIV",["kr","E","S"],"arrow_drop_down",
5306q);t8[l].Bg&&gx(q,"lr");GVa[l]=q}else q=GVa[l];n.appendChild(q);D(q,"click",$Va)}}for(e=1;e<d.length;e++)for(f=1;f<o8.length;f++)d[e].cells[f].id=e.toString()+"/"+f.toString(),d[e].cells[f].tabIndex="1";Fw(d8);d8.style.width=window.innerWidth-1-w8+"px";d8.appendChild(e8);aWa();if(H8){H8=!1;for(e=0;e<C8.length;e++)P8(e,!1);for(e=1;e<C8.length;e++)if(240<C8[e].offsetWidth)for(C8[e].style.width="240px",f=1;f<d.length;f++)g=Mw(d[f].cells[e]),0<g.length&&(g[0].style.width="228px");else for(C8[e].style.width=
5307C8[e].offsetWidth+10+"px",f=1;f<d.length;f++)g=Mw(d[f].cells[e]),0<g.length&&(g[0].style.width=C8[e].offsetWidth-10+"px")}$7.style.height=d8.offsetHeight-w8-25+"px";$7.style.top=b.offsetHeight+"px";Y7.style.top=b.offsetHeight+"px";Y7.style.width=w8+1+"px";e=0;m8.length&&(e=m8.reduce(function(v,y){return v+y}));b8.style.height=e+25+"px";for(f=e=0;f<C8.length;f++){g=a[f]?a[f]:C8[f].offsetWidth;C8[f].style.width=g+"px";for(k=1;k<d.length;k++)l=Mw(d[k].cells[f]),0<l.length&&(l[0].style.width=g-10-2+"px");
5308e+=g}for(a=1;a<D8.length;a++)f=a-1+x8,g=Mw(D8[a])[0],k=B("DIV","jr"),g.appendChild(k),D(k,"mousedown",bWa),D(d[a].cells[0],"dblclick",cb(cWa,f)),D(d[a].cells[0],"touchend",cb(dWa,f)),D8[a].style.height=m8[f]+"px";a=u8-x8;a<=y8-2&&0<=a&&(gx(d[a+1].cells[v8],"cr"),gx(d[a+1].cells[0],"fr"),d[a+1].cells[v8].focus());gx(C8[v8],"fr");e8.style.width=e+"px";a=d[0].cells[0].offsetWidth+1;Z7.style.width=a-1+"px";Z7.style.height=w8-1+"px";Z7.style.top=b.offsetHeight+c.offsetHeight+1-w8+"px";c8.style.width=e8.offsetWidth-
5309d[0].cells[0].offsetWidth+"px";a8.style.top=Z7.style.top;a8.style.height=w8+"px";a8.style.width=d8.offsetWidth-a+"px";a8.style.marginLeft=a+"px";a8.scrollLeft=z8;d8.scrollLeft=z8;d8.scrollTop=0}}
5310function aWa(){var a=e8.tBodies[0].rows,b=0,c=-1,d=-1;r8.length&&(c=r8[s8-1].ye-x8+1,d=r8[s8-1].Ah);for(var e=1;e<y8;e++){for(var f=[],g=e-1+x8,k=b;k<r8.length;k++)if(!(r8[k].ye<g)){if(r8[k].ye>g){b=k;break}f.push(r8[k].Ah)}k=a[e].cells;m8[g]>B8&&(m8[g]=B8);25>m8[g]&&(m8[g]=25);a[e].style.height=m8[g]+"px";k[0].style.height=m8[g]+"px";if(g<k8.length)for(var l=0;l<o8.length;l++){var n=B("DIV","br"),q=k8[g][l].url;if(q&&"fakeurl"!=q){var t=ow(document,"A");t.href=k8[g][l].url;t.target="_blank";t.rel=
5311"noopener noreferrer";Fw(k[l]);k[l].appendChild(n);n.appendChild(t);var u=t}else Fw(k[l]),k[l].appendChild(n),u=n;t=k8[g][l].value;q&&"fakeurl"==q&&"Doc"==t&&(t="linked district document");
5311if(l==f[0]){f.shift();q=t.indexOf(q8);for(var v=0;0<=q;)u.appendChild(pw(t.substring(v,q))),v=e==c&&l==d?B("SPAN","Mr"):B("SPAN","Lr"),rw(v,q8),u.appendChild(v),v=q+q8.length,q=t.indexOf(q8,v);u.appendChild(pw(t.substring(v)));u=t.split("\n").length;t.length&&"\n"==t[t.length-1]&&u--;u=1<u?u:1;t=u*h8+11;m8[g]=m8[g]<
5312t?t<B8?t:B8:m8[g]}else rw(u,t);n.style.height=m8[g]-10-1+"px"}}}function NVa(){L8()}var Q8=0,eWa=0;function LVa(a){eWa=a.clientY;Q8=Date.now()}function MVa(a){a=a.clientY-eWa;75<a?L8(-1):-75>a&&L8(1)}
5313function WVa(a,b){var c=e8.tBodies[0].rows;if(!(200<Date.now()-Q8))if(0==a)VVa();else{if(X7&&!fx(X7,"Cr")){for(var d=X7;!fx(d,"er");)d=Qw(d);if(a==parseInt(d.id.split("/")[1],10))return}c=Mw(Mw(c[0].cells[a])[0]);if(t8[a].Bf&&1<V7&&(c=c[c.length-1].getBoundingClientRect(),c.left<=b.clientX&&c.right>=b.clientX&&c.top<=b.clientY&&c.bottom>=b.clientY))return;P8(a,!0)}}function dWa(a){200>=Date.now()-Q8&&cWa(a)}
5314function KVa(a){if(!X7||fx(X7,"Cr")){a=a.g;var b=a.deltaX;X7&&!fx(X7,"Cr")&&(d8.scrollLeft=z8);z8+=b;d8.scrollLeft=z8;z8=a8.scrollLeft=d8.scrollLeft;a&&a.deltaY&&!E8&&!F8&&(0<a.deltaY&&100>a.deltaY?L8(1):100<=a.deltaY?L8(2):0>a.deltaY&&-100<a.deltaY?L8(-1):L8(-2))}}function OVa(){if(!E8&&!F8){var a=$7.scrollTop-A8;-1<=a&&1>=a?A8=-10:(E8=F8=!0,L8(6),F8=E8=!1)}}function PVa(){z8=a8.scrollLeft;d8.scrollLeft=a8.scrollLeft}function R8(a){return new Promise(function(b){return setTimeout(b,a)})}
5315function fWa(){r(function(a){if(1==a.g)return p(a,R8(125),3);if(!E8)return a.ua(0);0>--u8&&(u8=0);L8(5);return p(a,R8(50),3)})}function gWa(){r(function(a){if(1==a.g)return p(a,R8(125),3);if(!F8)return a.ua(0);++u8>=k8.length&&(u8=k8.length-1);L8(5);return p(a,R8(50),3)})}
5316function QVa(a){if(!E8&&!F8){var b=a8.getBoundingClientRect();if(!(b.left<=a.clientX&&b.right>=a.clientX&&b.top<=a.clientY&&b.bottom>=a.clientY)){if(X7){if(!fx(X7,"Cr")&&(b=X7.getBoundingClientRect(),b.left<=a.clientX&&b.right>a.clientX&&b.top<=a.clientY&&b.bottom>a.clientY))return;hWa()}var c=e8.offsetLeft,d=d8.offsetWidth,e=a.clientY-e8.offsetTop;if(!(25>=e)){b=0;e-=25;for(var f=x8;0<e;)e-=m8[f],f++,b++;if(!(0>=b||b>=y8)){e=e8.tBodies[0].rows;var g=e[b];for(f=1;f<o8.length;f++){var k=g.children[f].getBoundingClientRect();
5317if(k.left<=a.clientX&&k.right>a.clientX&&c+d>a.clientX){if(a=hw("cr")){kx(a,"cr");a=parseInt(a.id.split("/")[0],10);if(!e){CK.g(Error("table rows does not exist"));break}if(!e[a]){CK.g(Error("no value found in tableRow for "+a+". len(tableRows): "+e.length));break}kx(e[a].cells[0],"fr")}kx(C8[v8],"fr");u8=b-1+x8;v8=f;if(b==y8-1&&e8.offsetHeight>d8.offsetHeight){L8(1);break}a=u8+1-x8;kx(e[a].cells[v8],"cr");kx(e[a].cells[0],"fr");kx(C8[v8],"fr");e[a].cells[v8].focus();break}}}}}}}var S8=A("char_dimension");
5318function K8(a,b){S8.style.fontWeight=b?b:"";rw(S8,a);a=S8.offsetWidth;b=S8.offsetHeight;rw(S8,"");S8.style.fontWeight="";return{width:a,height:b}}function J8(a){if(!W7.has(a)){var b=K8(a).width;W7.set(a,b)}return W7.get(a)}
5319function P8(a,b){if(X7&&!fx(X7,"Cr")){for(var c=X7;!fx(c,"er");)c=Qw(c);if(a==parseInt(c.id.split("/")[1],10))return}c=C8[a].offsetWidth;var d=e8.offsetWidth,e=e8.tBodies[0].rows,f=16,g=K8(o8[a].value,"bold").width+20-2;f=g>f?g:f;for(g=0;g<k8.length;g++){for(var k=k8[g][a].value,l=k.split("\n"),n=0;n<l.length;n++)if(!(l[n].length*p8<=f)){for(var q=0,t=0;t<l[n].length;t++)q+=J8(l[n][t]);f=q>f?q:f}b&&(l=l.length,k.length&&"\n"==k[k.length-1]&&l--,l=1<l?l:1,k=l*h8+11,m8[g]=k>m8[g]?k:m8[g])}f+=2;g=f+
532012;e[0].cells[a].style.width=g+"px";for(k=1;k<e.length;k++)l=Mw(e[k].cells[a]),0<l.length&&(l[0].style.width=f+"px");b&&(e8.style.width=d-c+g+"px",0<a&&(v8=a),u8=x8,L8())}
5321function VVa(){for(var a=e8.tBodies[0].rows,b=e8.offsetWidth,c=[],d=[],e=0;e<o8.length;e++){c[e]=C8[e].offsetWidth;d[e]=16;var f=K8(o8[e].value,"bold").width+20-2;16<f&&(d[e]=f)}for(f=0;f<k8.length;f++){e=1;for(var g=0;g<o8.length;g++){var k=k8[f][g].value,l=k.split("\n").length;k.length&&"\n"==k[k.length-1]&&l--;e=l>e?l:e;k=k.split("\n");for(l=0;l<k.length;l++)if(!(k[l].length*p8<=d[g])){for(var n=0,q=0;q<k[l].length;q++)n+=J8(k[l][q]);d[g]=n>d[g]?n:d[g]}}m8[f]=e*h8+11}for(e=0;e<o8.length;e++)for(f=
5322d[e]+2,d[e]+=14,a[0].cells[e].style.width=d[e]+"px",g=1;g<a.length;g++)k=Mw(a[g].cells[e]),0<k.length&&(k[0].style.width=f+"px");a=c.reduce(function(t,u){return t+u});d=d.reduce(function(t,u){return t+u});e8.style.width=b-a+d+"px";1<o8.length&&(v8=1);u8=x8;L8()}var T8=null,U8=0,V8=0;function XVa(a){Pw(a.target)&&(X7&&gx(X7,"Cr"),gx(e8,"ar"),T8=Qw(Qw(a.target)),U8=T8.offsetWidth,V8=a.clientX,D(document,"mousemove",iWa),D(document,"mouseup",jWa))}
5323function iWa(a){var b=U8+(a.clientX-V8);a=parseInt(T8.id.split("/")[1],10);if(28<=b){T8.style.width=b+"px";for(var c=e8.tBodies[0].rows,d=1;d<c.length;d++){var e=Mw(c[d].cells[a]);0<e.length&&(e[0].style.width=b-10+"px")}b=0;for(d=1;d<C8.length;d++)b+=C8[d].offsetWidth;e8.style.width=b+"px";0==a&&(a=c[0].cells[0].offsetWidth+1,Z7.style.width=a-1+"px",a8.style.marginLeft=a+"px")}}function jWa(){ix(e8,"ar");Mx(document,"mousemove",iWa);Mx(document,"mouseup",jWa);L8()}
5324function cWa(a){for(var b=e8.offsetWidth,c=e8.tBodies[0].rows,d=1,e=0,f=0;f<o8.length;f++){var g=C8[f].offsetWidth,k=k8[a][f].value,l=k.split("\n"),n=l.length;k.length&&"\n"==k[k.length-1]&&n--;d=n>d?n:d;m8[a]=d*h8+11;n=g-10-1;k=16;for(var q=0;q<l.length;q++){for(var t=0,u=0;u<l[q].length;u++)t+=J8(l[q][u]);k=t>k?t:k}if(!(k<=n)){l=k+12;c[0].cells[f].style.width=l+"px";for(n=1;n<c.length;n++)q=Mw(c[n].cells[f]),0<q.length&&(q[0].style.width=k+"px");e+=l-g}}e8.style.width=b+e+"px";u8=a;L8()}
5325function bWa(a){Pw(a.target)&&(gx(e8,"ar"),T8=Qw(a.target),U8=T8.offsetHeight,V8=a.clientY,D(document,"mousemove",kWa),D(document,"mouseup",lWa))}function kWa(a){a=U8+(a.clientY-V8);if(T8){var b=parseInt(T8.id.split("/")[0],10);if(25<=a){a>B8&&(a=B8);A(b+"/r").style.height=a+"px";D8[b].style.height=a+"px";m8[x8+b-1]=a;for(var c=e8.tBodies[0].rows,d=0;d<c[0].cells.length;d++){var e=Mw(c[b].cells[d]);0<e.length&&(e[0].style.height=a-10-1+"px")}}}}
5326function lWa(){ix(e8,"ar");Mx(document,"mousemove",kWa);Mx(document,"mouseup",lWa);L8()}
5327function $Va(a){a.stopPropagation();var b=a.target;if(fx(b,"kr")){a=Mw(b)[0];kx(a,"Cr");var c=Qw(Qw(b));if(fx(c,"er")){c=parseInt(c.id.split("/")[1],10);for(var d=0;d<t8[c].Db.length;d++)W8.push(t8[c].Db[d].checked);X7&&X7!=a&&gx(X7,"Cr");X7=a;b=b.getBoundingClientRect();c=I8.Md();a.style.top=b.y+b.height+"px";b.x+320>c.width?(a.style.right=c.width-b.x-b.width-5+"px",a.style.left=""):(a.style.left=b.x-5+"px",a.style.right="")}}}var W8=[];
5328function ZVa(a,b){var c=B("DIV",{"class":"pr"}),d=B("DIV","filterTitle","Filter by values"),e=B("SPAN",{"class":"wr"},"Select all"),f=B("SPAN",{"class":"vr"},"Clear");D(e,"click",cb(mWa,"done",b));D(f,"click",cb(mWa,"",b));e=B("DIV",{"class":"ur"},[e,"-",f]);f=B("DIV",{"class":"E rr"},"search");var g=B("INPUT",{"class":"tr",autocomplete:"new-street-address"});f=B("DIV","qr",[f,g]);D(g,"keyup",cb(nWa,b));g=[];for(var k=0;k<t8[b].Db.length;k++)if(t8[b].Db[k].xg){var l=B("DIV",{"class":"E Ar"},"done");
5329t8[b].Db[k].checked||rw(l,"");var n=t8[b].Db[k].text;l=B("DIV","zr",[l,""==n?"(Blanks)":n]);l=B("DIV","yr",l);D(l,"click",cb(X8,k));g.push(l)}a=B("DIV",{"class":"xr",style:"width:300px; max-height:"+a+"px;"},g);g=B("DIV",{"class":"pr"});k=B("BUTTON",{"class":"ul nl ol",style:"margin-left: 10px;"},"OK");l=B("BUTTON",{"class":"ul nl ol"},"Cancel");D(k,"click",cb(oWa,b));D(l,"click",hWa);b=B("DIV","Br",[l,k]);return B("DIV",{"class":"or"},[c,d,e,f,a,g,b])}
5330function oWa(a){t8[a].Bg=!1;for(var b=0;b<t8[a].Db.length;b++)t8[a].Db[b].checked=W8[b],W8[b]||(t8[a].Bg=!0,EVa());for(b=1;b<o8.length;b++)if(t8[b].Bf)if(t8[b].Bg)for(var c=0;c<t8[b].Db.length;c++)t8[b].Db[c].xg=!t8[b].Db[c].checked;else for(c=0;c<t8[b].Db.length;c++)t8[b].Db[c].xg=!1;k8=[];m8=[];b=0;var d=!0;for(c=0;c<l8.length;c++){d=!0;for(var e=0;e<o8.length;e++)if(t8[e].Bg)for(var f=l8[c][e].value.toLowerCase(),g=0;g<t8[e].Db.length;g++)if(t8[e].Db[g].text.toLowerCase()==f){t8[e].Db[g].checked||
5331(d=!1);break}if(d){d=[];e=-1;d.push({value:(++b).toString()});f={};for(g=1;g<o8.length;f={ow:f.ow},g++)f.ow=l8[c][g],d.push(f.ow),e=t8[g].Db.findIndex(function(k){return function(l){return l.text.toLowerCase()==k.ow.value.toLowerCase()}}(f)),t8[g].Bf&&0<=e&&(t8[g].Db[e].xg=!0);k8.push(d);m8.push(n8[c])}}u8=0;v8=a;x8=0;H8=!0;L8()}
5332function hWa(){W8=[];
5332var a=Mw(X7);if(2<a.length){for(var b=X7;!fx(b,"er");)b=Qw(b);b=parseInt(b.id.split("/")[1],10);a=a[2];var c=Mw(Mw(a)[3])[1];if(!fx(c,"tr"))return;c.value="";Y8=[];Z8=!0;a=Mw(a)[4];Fw(a);for(c=0;c<t8[b].Db.length;c++)if(t8[b].Db[c].xg){var d=B("DIV",{"class":"E Ar"},"done");t8[b].Db[c].checked||rw(d,"");var e=t8[b].Db[c].text;d=B("DIV","zr",[d,""==e?"(Blanks)":e]);d=B("DIV","yr",d);D(d,"click",cb(X8,c));a.appendChild(d)}}gx(X7,"Cr")}var Y8=[],Z8=!0;
5333function nWa(a,b){var c=b.target.value.toLocaleLowerCase();Z8=!1;""==c&&(Z8=!0);Y8=[];for(var d=0;d<t8[a].Db.length;d++)t8[a].Db[d].xg&&(Z8?Y8.push(d):0<=t8[a].Db[d].text.toLocaleLowerCase().indexOf(c)&&Y8.push(d));b=Mw(Qw(Qw(b.target)))[4];Fw(b);for(d=0;d<Y8.length;d++){var e=B("DIV",{"class":"E Ar"},"done"),f=[];W8[Y8[d]]||rw(e,"");f.push(e);e=t8[a].Db[Y8[d]].text;var g=e.toLocaleLowerCase();if(Z8)f.push(""==e?"(Blanks)":e);else{for(var k=g.indexOf(c),l=0;0<=k;)f.push(pw(e.substring(l,k))),l=k+
5334c.length,f.push(B("SPAN","sr",e.substring(k,l))),k=g.indexOf(c,l);f.push(pw(e.substring(l)))}f=B("DIV","zr",f);f=B("DIV","yr",f);D(f,"click",cb(X8,Y8[d]));b.appendChild(f)}}function mWa(a,b,c){var d="done"==a;c=Mw(Qw(Qw(c.target)))[4];c=Mw(c);for(var e,f=0;f<c.length;f++)e=c[f],e=Mw(Mw(e)[0])[0],rw(e,a);if(Z8)for(a=0;a<W8.length;a++)t8[b].Db[a].xg&&(W8[a]=d);else if(Y8.length)for(b=0;b<Y8.length;b++)W8[Y8[b]]=d}
5335function X8(a,b){for(b=b.target;!fx(b,"yr");)b=Qw(b);b=Mw(b)[0];b=Mw(b)[0];""==Ww(b)?(rw(b,"done"),W8[a]=!0):(rw(b,""),W8[a]=!1)}function IVa(a,b,c,d){var e=!isNaN(d),f=""==c.trim(),g=""==d.trim();if(f&&g)return 0;if(f)return-1*b;if(g)return b;if(!isNaN(c)&&e)return a*(parseFloat(c)-parseFloat(d));b=Date.parse(c);e=Date.parse(d);return isNaN(b)||isNaN(e)?a*c.toLowerCase().localeCompare(d.toLowerCase()):a*(b-e)}var $8=-1,pWa=!0;function qWa(a,b,c){return IVa(a,-1,b[$8].value,c[$8].value)}
5336function rWa(){for(var a=[],b=0;b<k8.length;b++){var c=parseInt(k8[b][0].value,10);if(!isNaN(c)&&0<c&&c<=k8.length)a.push(m8[c-1]);else{for(var d=c=1;d<o8.length;d++){var e=k8[b][d].value,f=e.split("\n").length;e.length&&"\n"==e[e.length-1]&&f--;c=f>c?f:c}c=4<c?4:c;a.push((c-1)*h8+25)}k8[b][0].value=(b+1).toString()}m8=a;a=[];for(b=0;b<l8.length;b++){c=parseInt(l8[b][0].value,10);if(!isNaN(c)&&0<c&&c<=l8.length)a.push(n8[c-1]);else{for(d=c=1;d<o8.length;d++)e=l8[b][d].value,f=e.split("\n").length,
5337e.length&&"\n"==e[e.length-1]&&f--,c=f>c?f:c;c=4<c?4:c;a.push((c-1)*h8+25)}l8[b][0].value=(b+1).toString()}n8=a}function YVa(a,b){b.stopPropagation();b=Qw(b.target);var c=parseInt(Qw(Qw(Qw(b))).id.split("/")[1],10);c&&!isNaN(c)&&($8=c,pWa=a,kx(b,"Cr"),EVa(),a=a?1:-1,k8.sort(cb(qWa,a)),l8.sort(cb(qWa,a)),rWa(),u8=x8,v8=$8,N8())}
5338function JVa(){var a=A("search_input"),b=A("search_result");if(a.value!=q8){var c=r8.length;q8=a.value;r8=[];if(q8){for(a=0;a<o8.length;a++)0<=o8[a].value.toLowerCase().indexOf(q8.toLowerCase())&&r8.push({ye:-1,Ah:a});for(a=0;a<k8.length;a++)for(var d=0;d<o8.length;d++)0<=k8[a][d].value.toLowerCase().indexOf(q8.toLowerCase())&&r8.push({ye:a,Ah:d});r8.length?(s8=1,rw(b,s8+"/"+r8.length),x8=r8[s8-1].ye,L8(),r8.length&&(b=r8[s8-1].ye-x8+1,c=r8[s8-1].Ah,a=e8.tBodies[0].rows,a[b]&&a[b].cells[c]&&a[b].cells[c].focus())):
5339(s8=0,rw(b,"0/0"),c&&L8())}else s8=0,rw(b,s8+"/"+r8.length),L8();A("search_input").focus()}}function M8(a){var b=A("search_result");if(r8.length){0>a?(s8--,0>=s8&&(s8=r8.length)):(s8++,s8>r8.length&&(s8=1));rw(b,s8+"/"+r8.length);x8=r8[s8-1].ye;L8();if(r8.length){a=r8[s8-1].ye-x8+1;b=r8[s8-1].Ah;var c=e8.tBodies[0].rows;c[a]&&c[a].cells[b]&&c[a].cells[b].focus()}A("search_input").focus()}}function N8(){s8=0;r8=[];A("search").style.display="none";L8()}
5340function O8(a,b,c,d){function e(k){k?(ix(A("downloadInfo"),"U"),gx(A("download"),"U")):(gx(A("downloadInfo"),"U"),ix(A("download"),"U"))}function f(k){k=k.target;var l=A("body");if(hH(k)){k=jH(k);k=new Blob([my(k[c.toLowerCase()])],{type:d});l=w(La.URL)&&w(La.URL.createObjectURL)?La.URL:w(La.webkitURL)&&w(La.webkitURL.createObjectURL)?La.webkitURL:w(La.createObjectURL)?La:null;
5340if(null==l)throw Error("This browser doesn't seem to support blob URLs");k=l.createObjectURL(k);g.href=k;g.click();e(!1)}else e(!1),
5341ix(l,"ds"),SZ(TZ.innerText.replace(/\u2026 /,"")),YZ(),l.innerHTML=iH(k)}var g=B("A",{download:b+"."+c.toLowerCase(),"class":"Zr"},c);b=B("BUTTON",{"class":"as",onclick:function(){var k=new dH;k.J("complete",f);var l=new FormData;l.append("endpoint",A("endpoint").value);l.append("sleep",A("sleep").value);l.append("rows",A("rows").value);l.append("vars",A("vars").value);0<=$8&&(l.append("sortColumnId",o8[$8].value),l.append("sortColumnIdAsc",""+pWa));var n=t8.map(function(q,t){var u="",v=[];v=q.Db.filter(function(G){return!G.checked}).map(function(G){return G.text.toLocaleLowerCase()});
5342if(q.Db.length/2>v.length)u="excluded";else{u="included";var y=new Set(v);v=q.Db.filter(function(G){return!y.has(G.text.toLocaleLowerCase())}).map(function(G){return G.text})}return[o8[t].value,o8[t].type,o8[t].format,u].concat(v).join("\u001f")}).join("\u001d");l.append("valueFilters",n);l.append("onlyFormats",c);k.j=!0;k.send("/iep/reportdata","POST",l);e(!0)}},c);Ew(a.children[1],b)}
5343function zVa(a){var b="none"!=z("search").style.display;13==a.keyCode?b&&M8(1):(38==a.keyCode&&(E8=!1),40==a.keyCode&&(F8=!1))}function a9(){var a=e8.tBodies[0].rows,b=hw("cr");if(b){kx(b,"cr");var c=parseInt(b.id.split("/")[1],10);kx(a[parseInt(b.id.split("/")[0],10)].cells[0],"fr");kx(C8[c],"fr");b=u8-x8;b<=y8-2&&0<=b&&(kx(a[b+1].cells[v8],"cr"),kx(a[b+1].cells[0],"fr"),a[b+1].cells[v8].focus());kx(C8[v8],"fr")}else x8=u8,L8()}
5344function yVa(a){var b="none"!=z("edit_modal").style.display,c="none"!=z("search").style.display,d=X7&&!fx(X7,"Cr");switch(a.keyCode){case 27:b&&sWa();c&&N8();break;case 33:if(b||c||!i8)break;x8-=y8-2;L8(4);break;case 34:if(b||c||!i8)break;x8+=y8-2;L8(4);break;case 35:if(b||c||!i8)break;v8=o8.length-1;a9();break;case 36:if(b||c||!i8)break;v8=1;a9();d8.scrollLeft=0;break;case 37:if(b||c||d||!i8)break;1>--v8&&(v8=1);a9();break;case 38:if(b||c||d||E8||F8||!i8)break;E8=!0;0>--u8&&(u8=0);L8(5);fWa();break;
5345case 39:if(b||c||d||!i8)break;++v8>o8.length-1&&(v8=o8.length-1);a9();break;case 40:if(b||c||d||E8||F8||!i8)break;F8=!0;++u8>=k8.length&&(u8=k8.length-1);L8(5);gWa();break;case 67:if(b)break;if(a.ctrlKey||a.metaKey)a=A("selected_content"),a.value=k8[u8][v8].value,a.select();break;case 70:if(b)break;if(a.ctrlKey||a.metaKey)a.preventDefault(),A("search").style.display="",A("search_input").focus();break;case 80:if(a.ctrlKey||a.metaKey)a.preventDefault(),i8&&!b&&UVa()}}
5346function UVa(){j8=!0;La.print();j8=!1}
5347function AVa(){var a=A("body");f8=B("DIV","Dr");if(4500<k8.length*o8.length){a=A("print_region");var b=B("DIV");b.innerText="Printing is unsupported for reports this large";a.appendChild(b)}else{Yx(f8,rVa,{columns:o8,rows:k8});a.appendChild(f8);var c=A("table"),d=c.tHead.rows[0].cells;if(0!=d.length){a=[];b=0;for(var e=d[0].offsetWidth,f=1;f<d.length;++f){var g=d[f];912>e+g.offsetWidth?e+=g.offsetWidth:(a.push([f-1,b]),b+=e,e=g.offsetWidth)}a.push([d.length-1,b]);b=c.cloneNode(!0);b.removeAttribute("id");
5348b.style.fontSize="1em";b.style.width=c.offsetWidth+"px";b.style.position="relative";b.style.tableLayout="fixed";for(c=0;c<d.length;++c)b.tHead.rows[0].cells[c].style.width=d[c].offsetWidth+"px";d=A("print_region");d.innerHTML="";for(c=0;c<a.length;++c){e=a[c][0];g=a[c][1];f=b.cloneNode(!0);f.style.left=-g+"px";g=B("DIV",{style:"overflow:hidden;position:relative;width:912px;page-break-before:"+(0==c?"auto":"always")},f);for(var k=f.tHead.rows[0].cells,l=e+1;l<k.length;++l)k[l].style.visibility="hidden";
5349k=f.tBodies[0].rows;for(l=0;l<f.tBodies[0].rows.length;++l)for(var n=k[l],q=e+1;q<n.cells.length;++q)n.cells[q].style.visibility="hidden";d.appendChild(g)}}}}function BVa(){A("print_region").innerHTML="";Jw(f8)}function SVa(){CVa();gw("vr").forEach(function(a){a.click()});k8=l8;m8=n8;t8.filter(function(a){return a.Bf}).forEach(function(a){a.Bg=!1;a.Db.forEach(function(b){b.xg=!0;b.checked=!0})});$8=-1;k8.sort(function(a,b){return a[0].startValue-b[0].startValue});rWa();u8=x8;v8=1;H8=!0;L8()}
5350function tWa(a,b){for(var c=a.domain,d=0;d<b.Vd.length;d++){var e=b.Vd[d];switch(e.type){case "radio":for(var f=gw("input_"+d),g=0;g<f.length;g++)if(a[e.name]==f[g].value){f[g].checked=!0;break}break;case "checkbox":f=gw("input_"+d);e=a[e.name];for(g=0;g<f.length;g++){var k=e.includes(f[g].value);f[g].checked=k}break;case "select":f=A("input_"+d);for(g=0;g<f.options.length;g++)if(a[e.name]==f.options[g].value){f.options[g].selected=!0;break}break;case "date":A("input_"+d).value=a[e.name];break;case "range":A("input_"+
5351d+"_start").value=a[e.name+"_start"];A("input_"+d+"_end").value=a[e.name+"_end"];break;case "document_id":A("input_"+d).value=a[e.name].replace(/,/g,"\n");break;case "user_search":case "student_search":f=A(e.type);f.style.marginLeft="0";f.innerText=[a[e.name+"_label"]];g=B("INPUT",{type:"hidden"});a[e.name]&&(g.value=a[e.name]);f.appendChild(g);break;default:throw Error("unknown report input type: "+e.type);}}a=a["LEAs:"];!a||1==a.length&&a[0]==c||document.querySelectorAll("input.buildingCheckbox").forEach(function(l){l.disabled=
5352!0;l.checked=!0});g8&&V2(g8)}
5353function TVa(){A("edit_modal").style.display="";
5353var a=A("edit_dialog"),b=JSON.parse(A("vars").value),c=b.domainOption,d=A("state").value,e=tVa,f=A("path").value,g=A("endpoint").value,k=new Set;g=XI(UI[d].g,g);if(sVa)tWa(b,g),a.style.display="";else{if(null!=g.inputs){var l=V7,n=uVa,q=A("buildings").value;q=JSON.parse(q);e={buildings:TO(q),activePrograms:e};q=q.filter(function(y){return"true"!=y.inactive}).map(function(y){return y.reporting_id});k=new Set(q);g.Vd=g.inputs(e,l,n)}else g.Vd=[];null!=
5354c&&g.Vd.unshift(c);g8=new U2(g,!0,!1);a.lastElementChild.appendChild(g8.g);if(Qv&&(l=gw("us"),l.length))for(n=0;n<l.length;n++)(e=z("input_"+l[n].id.split("clearDate_")[1]))&&D(l[n],"click",bb(a6,void 0,e));var t=b.domain;if(1<(c?c.options:[]).length){var u=document.querySelectorAll("input.buildingCheckbox"),v=document.querySelectorAll("input.domainCheckbox");v.forEach(function(y){y.addEventListener("change",function(){var G=!0,K=Array.from(v);K=m(K);for(var J=K.next();!J.done;J=K.next())if(J=J.value,
5355J.value!=t==J.checked){G=!1;break}Array.from(u).forEach(function(O){O.checked=!G||k.has(O.value);O.disabled=!G})})})}tWa(b,g);b=z("report_");null!=b&&D(b,"submit",bb(b6,void 0,g,d,f,t,c));c=z("cancel");null!=c&&D(c,"click",sWa);a.style.display="";sVa=!0}}function sWa(){A("edit_modal").style.display="none";A("edit_dialog").style.display="none"}function RVa(){A("form").submit()}function xVa(){return function(){}}
5356function wVa(a){if(a.newValue)switch(a.key){case "appStart":if(""!=JSON.parse(a.newValue).Ib)break;window.location.href="/iep/#";window.location.reload();break;case "report":var b=WG({name:A("name").value,vars:A("vars").value}),c=A("open_reports");P_(c.children[1],a,b);ix(c.children[0],"Yr");Mx(c,"mouseenter",qMa);Mx(c,"mouseleave",rMa);I_(c);break;case "reportNotify":a=JSON.parse(a.newValue),b=A("name").value,c=A("vars").value,a.name==b&&a.vars==c?document.hidden&&(XZ||(XZ=new TG(500),D(XZ,"tick",
5357KLa)),KLa(),XZ.start()):UZ()}};function b9(){Rx.call(this);this.ea=null;this.s="";this.h=!1;this.L=0;this.l=!1;this.g=null;this.j=!1;this.u=null}pa(b9,Rx);b9.prototype.abort=function(){this.j=!0;this.h=!1;this.g&&this.g.abort();this.u&&(this.u.cancel("Request aborted").catch(function(){}),this.u=null)};
5358b9.prototype.send=function(a,b){var c=this;c9(this);b=b||{};this.g=new AbortController;b.signal=this.g.signal;this.l&&(b.credentials="include");fetch(a,b).then(function(d){c.h=d.ok;c.L=d.status;return d.text()}).then(function(d){c.s=d;if(c.h&&c.s)try{c.ea=JSON.parse(c.s)}catch(e){console.warn("Response was not valid JSON")}}).catch(function(d){c.g&&c.g.signal.aborted?c.j=!0:(c.h=!1,c.s=String(d))}).finally(function(){c.j||c.dispatchEvent(new xx("complete"))})};
5359function uWa(a,b,c,d){var e={method:"GET"};c9(a);a.g=new AbortController;e.signal=a.g.signal;a.l&&(e.credentials="include");fetch(b,e).then(function(f){a.h=f.ok;a.L=f.status;if(a.h){var g=f.body.getReader();a.u=g;var k=new TextDecoder("utf-8"),l=function(){g.read().then(function(n){var q=n.value;n.done?d():(n=k.decode(q,{stream:!0}),c(n),l())}).catch(function(n){a.j||a.g&&a.g.signal.aborted?a.j=!0:(console.error("stream reading falied: ",n),a.h=!1);d()})};l()}else d()}).catch(function(f){a.j||a.g&&
5360a.g.signal.aborted?a.j=!0:(console.error("fetch request failed to connect: ",f),a.h=!1,a.L=0);d()})}function c9(a){a.ea=null;a.s="";a.h=!1}b9.prototype.qa=function(){Rx.prototype.qa.call(this);c9(this)};
5361da.Object.defineProperties(b9.prototype,{va:{configurable:!0,enumerable:!0,get:function(){return this.j}},m:{configurable:!0,enumerable:!0,get:function(){return this.h}},T:{configurable:!0,enumerable:!0,get:function(){return this.ea}},text:{configurable:!0,enumerable:!0,get:function(){return this.s}},status:{configurable:!0,enumerable:!0,get:function(){return this.L}}});var d9=new Set,e9=new Set,f9=new Map,vWa=new Map,g9=new Map,h9=null,i9,j9=1500,k9=25,l9=18,m9,n9=!1,o9=!1,p9=!1,q9=!1,r9=[],s9=[],t9=[],u9,v9=10,w9="",x9="",y9="",z9=0,A9={},wWa=[],B9="",C9="",D9=[],E9=0,F9=-1,G9=[],H9=0,I9=1,J9=0,K9=0,L9=null,M9=!1,N9=0,O9=0,P9=0,Q9=0,R9=-10,S9=0,T9,U9,V9,W9=[],X9=[],xWa=[],Y9,Z9,$9,a$,b$,c$,d$=!1,e$=!1,f$=!1,g$=!0,h$=new JK,i$=A("char_dimension"),j$=[],k$=-1,l$=!0,m$=[],n$=!0,o$=0,yWa=0,p$,zWa,AWa,q$=null,r$=0,s$=0,BWa=!1,t$;
5362function CWa(){w9="https://"+z("reportviewer").dataset.repshard;La.addEventListener("storage",DWa);console.log("using new reportviewer goog.module");var a=A("downloadInfo");I_(a);D(document.body,"keydown",EWa);D(document.body,"keyup",FWa);D(La,"beforeprint",GWa);D(La,"afterprint",HWa);a=A("features").value;a=JSON.parse(a);m9=a.product_tier;zWa=a.programs;AWa=a.features;u$()}
5363function u$(a){a=void 0===a?!1:a;J9++;var b=J9;v$(!1);i9&&(clearInterval(i9),i9=void 0);var c=IWa();c={endpoint:A("endpoint").value,vars:A("vars").value,forceRebuild:a,sortCol:c.sortCol,sortAsc:c.sortAsc,filters:c.filters};JWa();var d=new b9;d.l=!0;D(d,"complete",function(){if(b===J9)if(d.m){var e=d.T;x9=e.reportHash;y9=e.viewHash;a&&w$();j9=1500;x$()}else y$()});d.send(w9+"/report/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)})}
5364function x$(){var a=J9;i9||(i9=setInterval(KWa,6E4));var b=w9+"/report/"+x9+"/view/"+y9+"/status",c=new b9;c.l=!0;D(c,"complete",function(){if(a===J9)if(c.m){var d=c.T;switch(d.status){case "building":setTimeout(x$,j9);j9=Math.min(1.5*j9,6E4);break;case "pending":console.warn("report status wiped. self-healing.");z$(!1);break;case "failed":var e=A("body");ix(e,"ds");e.innerHTML='<div\n            style="padding:20px;text-align:center;color:red;"\n          >'+d.error+"</div>";y$();break;case "ready":M9=
5365!1;z9=d.totalRows;wWa=d.columns||[];e=d.filterValues||{};A9={};for(var f in e)A9[f.replace(/^"|"$/g,"")]=e[f];g$?LWa():(r9=Array(z9),s9=[],$9.style.height=z9*k9+25+"px",e=A("body"),ix(e,"ds"),q9?(O9>=z9&&(O9=Math.max(0,z9-1)),H9>=z9&&(H9=Math.max(0,z9-1)),q9=!1):(H9=O9=0,Y9&&(Y9.scrollTop=0)),v$(!0),A$(),""!==A("search_input").value&&(B9="",B$()));d=d.generatedAt;e="Unknown";d&&(e=RAa(new Date(parseInt(d,10))));A("generated_at").innerText=e;d=A("search_input");e=A("search");""!==d.value&&"none"!==
5366e.style.display&&(B9="",B$())}}else y$()});c.send(b,{method:"GET"})}function KWa(){var a=J9;if(x9&&y9){var b=w9+"/report/"+x9+("/view/"+y9+"/heartbeat"),c=new b9;c.l=!0;D(c,"complete",function(){a===J9&&410===c.status&&z$()});c.send(b,{method:"POST"})}}function MWa(){f9.forEach(function(a,b){C$(b)||("number"===typeof a?clearTimeout(a):a.abort(),f9.delete(b))})}
5367function D$(a,b,c,d){d=void 0===d?3:d;if(M9||!o9&&E$())c&&c(!1);else{var e=Math.floor(a/500);o9||C$(e)||!c?(g9.set(e,{offset:a,Py:b,ri:c,Hz:d}),h9&&h9.Zw()):c(!1)}}
5368function NWa(){var a=J9,b=[];g9.forEach(function(t,u){var v;if(!(v=o9))if(o9||0===z9)v=!0;else{var y=m(OWa());v=y.next().value;y=y.next().value;v=u>=v&&u<=y}v?b.push({Zs:u,Kg:t}):t.ri&&t.ri(!1)});g9.clear();if(0!==b.length){b.sort(function(t,u){return t.Zs-u.Zs});for(var c=b[0].Zs,d=b[0].Kg.offset,e=b[0].Kg.Py,f=b[0].Kg.ri?[b[0].Kg.ri]:[],g=b[0].Kg.Hz,k=function(){PWa(c,d,e,a,function(t){f.forEach(function(u){return u(t)})},g)},l=1,n=b.length;l<n;l++){var q=b[l];q.Zs===c+Math.ceil(e/500)&&q.Kg.Hz===
5369g?(e+=q.Kg.Py,q.Kg.ri&&f.push(q.Kg.ri)):(k(),c=q.Zs,d=q.Kg.offset,e=q.Kg.Py,f=q.Kg.ri?[q.Kg.ri]:[],g=q.Kg.Hz)}k()}}
5370function PWa(a,b,c,d,e,f){var g=Math.ceil(c/500),k=w9+"/report/"+x9+"/view/"+y9+"/data?limit="+(c+"&offset="+b),l=new b9;l.l=!0;for(var n=0;n<g;n++)f9.set(a+n,l);var q="",t=b,u=0;uWa(l,k,function(v){if(d===J9){q+=v;var y=q.split("\n");q=y.pop();v=[];y=m(y);for(var G=y.next();!G.done;G=y.next())if(G=G.value,G=G.trim(),G.startsWith(",")&&(G=G.substring(1).trim()),G.endsWith(",")&&(G=G.slice(0,-1).trim()),"]}"!==G&&!G.startsWith('{"offset":'))try{G.startsWith("[")&&(v.push(JSON.parse(G)),u++)}catch(O){console.warn("could not parse streaming row: ",
5371G,O)}if(0<v.length){y=t;for(G=0;G<v.length;G++){var K=y+G,J=v[G].slice();J.unshift({value:(K+1).toString(),dS:K+1});r9[K]=J}QWa();F$();t+=v.length}}},function(){for(var v=0;v<g;v++)f9.delete(a+v);if(d!==J9||l.va)e&&e(!1);else if(l.m)if(u<c&&b+u!==z9)console.warn("report size desync detected. self-healing"),z$(!0),e&&e(!1);else{for(v=0;v<g;v++)d9.add(a+v);e&&e(!0)}else if(410===l.status)z$(),e&&e(!1);else if(f&&0<f){v=1E3*(4-f);console.warn("Chunk fetch failed. Retrying in "+v+"ms... ("+(f+" attempts left)"));
5372var y=f-1;v=setTimeout(function(){D$(b,c,e,y)},v);for(var G=0;G<g;G++)f9.set(a+G,v)}else{for(v=0;v<g;v++)e9.add(a+v);console.error("data chunk fetch failed: HTTP error ",l.status);RWa();A$();e&&e(!1)}})}function OWa(){return[Math.floor(O9/500),Math.floor((O9+Math.max(0,P9-1))/500)]}function C$(a){if(o9||0===z9)return!0;var b=m(OWa()),c=b.next().value;b=b.next().value+5;return a>=c-5&&a<=b}
5373function F$(){if(!o9&&0!==z9&&0!==d9.size)for(var a=m(d9),b=a.next();!b.done;b=a.next())if(b=b.value,!C$(b)){d9.delete(b);var c=500*b;for(b=Math.min(c+500,z9);c<b;c++)delete r9[c]}}function G$(){var a=A("filter");a.style.filter="none";a.disable="false"}function JWa(){var a=A("filter");a.style.filter="opacity(0.33)";a.disable="true"}function E$(){var a=A("body");return fx(a,"ds")}
5374function SWa(a){a=Gd(a).toLowerCase();a=Td(a);var b=new Date;return a+"_"+b.getFullYear()+((10>b.getMonth()+1?"0":"")+(b.getMonth()+1))+((10>b.getDate()?"0":"")+b.getDate())+"_"+((10>b.getHours()?"0":"")+b.getHours())+((10>b.getMinutes()?"0":"")+b.getMinutes())+((10>b.getSeconds()?"0":"")+b.getSeconds())}
5375function IWa(){var a="";0<=k$&&(a=t9[k$].value);var b=[];G9.forEach(function(c,d){if(!c.Bg)return null;var e=c.Db.filter(function(l){return!l.checked}).map(function(l){return l.text.toLocaleLowerCase()}),f=c.Db.filter(function(l){return l.checked}).map(function(l){return l.text.toLocaleLowerCase()}),g="",k=[];c.Db.length/2>e.length?(g="excluded",k=e):(g="included",k=f);b.push({name:t9[d].value,type:t9[d].type,format:t9[d].format,mode:g,values:k})});return{sortCol:a,sortAsc:l$,filters:b,globalSearch:C9}}
5376function H$(){var a=J9,b=IWa(),c=new b9;c.l=!0;D(c,"complete",function(){a===J9&&(c.m?(y9=c.T.viewHash,w$(),x$()):410===c.status?z$():y$())});c.send(w9+"/report/"+x9+"/view",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})}function TWa(){var a=A("search_input");C9===a.value&&""!==C9?(C9="",I$(!1)):(C9=a.value,""!==C9&&(G$(),I$(!0)));w$();H$()}
5377function w$(){J$();for(var a=m(f9.values()),b=a.next();!b.done;b=a.next())b.value.abort();f9.clear();g9.clear();vWa.clear();d9.clear();e9.clear();D9=[];E9=0;r9=0<z9?Array(z9):[];a=A("body");gx(a,"ds")}
5378function LWa(){var a=A("body");ix(a,"ds");a.style.overflow="visible";SZ(TZ.innerText.replace(/\u2026 /,""));YZ();v$(!0);var b=[];t9=[];g$=!0;Q9=H9=O9=0;r9=Array(z9);s9=[];var c=wWa;t9.push({value:"",type:"",format:""});for(var d=0;d<c.length;d++){for(var e="",f="",g=0;g<b.length;g++)c[d]==b[g].name&&(e=b[g].type,f=b[g].format?b[g].format:f);t9.push({value:c[d],type:e,format:f})}if(0===G9.length){for(b={gj:0};b.gj<t9.length;b={gj:b.gj},b.gj++)G9[b.gj]={Bf:!1,Bg:!1,Db:[]},0<b.gj&&(c=A9[t9[b.gj].value])&&
53791E3>
5379=c.length&&(G9[b.gj].Bf=!0,c.forEach(function(l){return function(n){G9[l.gj].Db.push({text:n,xg:!0,checked:!0})}}(b)),G9[b.gj].Db.sort(function(l,n){return UWa(l.text,n.text)}));G9[0].Bf=!1}u9=new Map;for(b=32;127>b;b++)c=K$(String.fromCharCode(b)),v9=v9>c?v9:c;b=L$("Tj").height;l9=Math.ceil(b);k9=l9+11;$9=B("DIV","Xq");a$=B("DIV","Yq");b$=B("DIV","Sq");Y9=B("DIV","Uq",$9);Z9=B("DIV","Vq",a$);U9=B("DIV","Wq");U9.style.height="25px";U9.style.top="0";U9.style.right="0";V9=B("DIV","Wq");V9.style.left=
5380"1px";Fw(a);a.appendChild(b$);a.appendChild(Y9);a.appendChild(Z9);a.appendChild(U9);a.appendChild(V9);c=A("search_input");d=A("search_prev");e=A("search_next");f=A("search_close");g=z("search_filter");b=dw("BODY")[0];var k=VO(B$,300);D(c,"keyup",k.Zw);D(d,"click",cb(M$,-1));D(e,"click",cb(M$,1));D(f,"click",N$);g&&D(g,"click",TWa);D(a,"wheel",VWa);D(b$,"touchstart",WWa);D(b$,"touchend",XWa);c=VO(YWa,150);D(h$,"resize",c.Zw);D(Y9,"scroll",ZWa);D(Z9,"scroll",$Wa);D(b,"mousedown",aXa);h9=VO(NWa,120);
5381b=A("reload");D(b,"click",bXa);ix(b,"Yr");b=A("filter");D(b,"click",cXa);ix(b,"Yr");b=A("state").value;c=A("edit");""!=b?(D(c,"click",dXa),ix(c,"Yr")):c.style.cursor="default";b=A("print");D(b,"click",eXa);ix(b,"Yr");b=A("download");O$(b,"CSV");O$(b,"XLSX");"true"==A("fixed").value&&O$(b,"Fixed");ix(b.firstElementChild,"Yr");I_(b);n9=!0;b=B("DIV",["H","wu"],"autorenew");b=B("DIV","es",b,B("DIV",null,"Updating data..."));a.appendChild(b);A$()}
5382function y$(){["filter","edit","download","print"].forEach(function(a){if(a=A(a))0<a.children.length&&(a=a.children[0]),ix(a,"Yr"),gx(a,"Xr")})}
5383function A$(a){if(!o9){var b=hw("Pr"),c=A("body"),d=hw("fs");N9=Y9.offsetWidth;d=h$.Md().height-b.offsetHeight-d.offsetHeight-N9;var e=d-250;e=75<e?e:75;b$.style.height=d+N9+"px";S9=d-25-5;var f=hw("cr"),g=O9;f$=!1;[-2,-1,1,2].includes(a)&&(g+=a);g+P9-2>=r9.length-1&&(f$=!0);c$&&(c$.offsetHeight<d&&O9+P9-2>=r9.length-1&&(f$=!0),a&&0>a&&(f$=!1));0>g&&(g=0);O9=g;MWa();F$();4==a&&(f?(H9=parseInt(f.id.split("/")[0],10)+O9-1,0==O9&&(H9=0)):H9=O9,H9>r9.length-1&&(H9=r9.length-1,f$=!0));f=!1;5==a&&(H9>O9+
5384P9-3&&(f=!0),H9<O9&&(O9=H9,0>O9&&(O9=0),f$=!1));g=r9.length-P9+1;6==a?Y9.scrollTop>=Y9.scrollHeight-Y9.offsetHeight-1?f$=!0:(O9=Math.floor(Y9.scrollTop/(Y9.scrollHeight-Y9.offsetHeight)*g),f$=!1):(a=O9/g,Y9.scrollTop=(Y9.scrollHeight-Y9.offsetHeight)*a,R9=(Y9.scrollHeight-Y9.offsetHeight)*a);a=!1;if(f)if(H9==r9.length-1)f$=!0;else if(a=!0,P9=0,25<=d){d-=25;P9+=1;for(O9=f=H9;0<d&&0<=f;)d-=P$(f),0<=d&&(P9++,O9=f,f--);P9++}else P9=1;if(!a)if(f$)if(P9=0,25<=d)for(d-=25,P9+=1,O9=a=r9.length-1;0<d&&0<=
5385a;)d-=P$(a),0<=d&&(P9++,O9=a,a--);else P9=1;else{P9=0;if(25<=d)for(d-=25,P9+=1,a=O9;0<d;)d-=P$(a),a++,0<=d&&P9++;P9++}r9.length<P9-1&&(P9=r9.length+1);c$=qw(document,P9,t9.length,!1);gx(c$,"Zq");X9=[];d=c$.tBodies[0].rows;for(a=0;a<P9;a++)X9.push(d[a]),d[a].cells[0].id=a+"/r",gx(d[a].cells[0],"dr");a=[];if(W9.length)for(f=0;f<W9.length;f++)a.push(W9[f].offsetWidth);g=f=-1;var k=null;0<D9.length&&(k=D9[E9-1])&&-1===k.ye&&(f=k.Ah,g=k.vH);W9=[];for(var l=0,n=0;n<t9.length;n++){0==n?D(d[0].cells[n],"dblclick",
5386fXa):D(d[0].cells[n],"dblclick",cb(Q$,n,!0));D(d[0].cells[n],"touchend",cb(gXa,n));gx(d[0].cells[n],"er");d[0].cells[n].id="col/"+n.toString();d[0].cells[n].tabIndex="1";W9.push(d[0].cells[n]);var q=B("DIV","gr");1<m9&&gx(q,"hr");d[0].cells[n].appendChild(q);var t=R$();if(t&&S$(n)&&-1!==t9[n].value.search(t)){t=t9[n].value.split(t);for(var u=0;u<t.length;u++)if(0===u%2)t[u]&&q.appendChild(pw(t[u]));else{var v=k&&-1===k.ye&&n===f&&l===g?"Mr":"Lr";l++;v=B("SPAN",v);rw(v,t[u]);q.appendChild(v)}}else rw(q,
5387t9[n].value);t=B("DIV","ir");t.style.height="25px";q.appendChild(t);D(t,"mousedown",hXa);0!=n&&""!=t9[n].value.trim()&&1<m9&&(t=void 0,g$?(u={"class":"E",style:"margin-top: -3px"},t=B("DIV","nr","Sort A",B("SPAN",u,"arrow_right_alt"),"Z"),u=B("DIV","nr","Sort Z",B("SPAN",u,"arrow_right_alt"),"A"),D(t,"click",cb(iXa,!0)),D(u,"click",cb(iXa,!1)),v=[t,u],G9[n].Bf&&(v=jXa(e,n),v=[t,u,v]),t=B("DIV",["Cr","mr"],v),t=B("DIV",["kr","E","S"],"arrow_drop_down",t),G9[n].Bg&&gx(t,"lr"),xWa[n]=t):t=xWa[n],q.appendChild(t),
5388D(t,"click",kXa))}for(e=1;e<d.length;e++)for(f=1;f<t9.length;f++)d[e].cells[f].id=e.toString()+"/"+f.toString(),d[e].cells[f].tabIndex="1";Fw(b$);b$.style.width=window.innerWidth-1-N9+"px";b$.appendChild(c$);QWa();if(g$){g$=!1;for(e=0;e<W9.length;e++)Q$(e,!1);for(e=1;e<W9.length;e++)if(240<W9[e].offsetWidth)for(W9[e].style.width="240px",f=1;f<d.length;f++)Mw(d[f].cells[e])[0].style.width="228px";else for(W9[e].style.width=W9[e].offsetWidth+10+"px",f=1;f<d.length;f++)Mw(d[f].cells[e])[0].style.width=
5389W9[e].offsetWidth-10+"px"}Y9.style.height=b$.offsetHeight-N9-25+"px";Y9.style.top=b.offsetHeight+"px";U9.style.top=b.offsetHeight+"px";U9.style.width=N9+1+"px";var y=z9*k9;s9.forEach(function(G){y+=G-k9});y=Math.min(y,15E6);$9.style.height=y+25+"px";for(f=e=0;f<W9.length;f++){g=a[f]?a[f]:W9[f].offsetWidth;W9[f].style.width=g+"px";for(k=1;k<d.length;k++)(l=Mw(d[k].cells[f]))&&0<l.length&&(l[0].style.width=g-10-2+"px");e+=g}for(a=1;a<X9.length;a++)f=a-1+O9,g=Mw(X9[a])[0],k=B("DIV","jr"),g.appendChild(k),
5390D(k,"mousedown",lXa),D(d[a].cells[0],"dblclick",cb(mXa,f)),D(d[a].cells[0],"touchend",cb(nXa,f)),X9[a].style.height=P$(f)+"px";a=H9-O9;a<=P9-2&&0<=a&&(gx(d[a+1].cells[I9],"cr"),gx(d[a+1].cells[0],"fr"),d[a+1].cells[I9].focus());gx(W9[I9],"fr");c$.style.width=e+"px";e=d[0].cells[0].offsetWidth+1;V9.style.width=e-1+"px";V9.style.height=N9-1+"px";V9.style.top=b.offsetHeight+c.offsetHeight+1-N9+"px";a$.style.width=c$.offsetWidth-d[0].cells[0].offsetWidth+"px";Z9.style.top=V9.style.top;Z9.style.height=
5391N9+"px";Z9.style.width=b$.offsetWidth-e+"px";Z9.style.marginLeft=e+"px";Z9.scrollLeft=Q9;b$.scrollLeft=Q9;b$.scrollTop=0}}
5392function QWa(){var a=c$.tBodies[0].rows,b=-1,c=-1;D9.length&&(b=D9[E9-1].ye,c=D9[E9-1].vH);for(var d=1;d<P9;d++){var e=d-1+O9,f=a[d].cells;if(e>=z9){e=a[d];for(var g=0;g<t9.length;g++)Fw(f[g]);e.style.height="0px"}else if(r9[e]){g=-1;var k=R$();if(k&&e===b)for(var l=0,n=0;n<t9.length;n++)if(S$(n)){var q=r9[e][n].value.match(k);if(q){if(l+q.length>c){g=n;break}l+=q.length}}q=a[d];l=b;n=c;P$(e)>S9&&(s9[e]=S9);25>P$(e)&&(s9[e]=25);q.style.height=P$(e)+"px";f[0].style.height=P$(e)+"px";q={count:0};for(var t=
53930;t<t9.length;t++){var u=B("DIV","br"),v=r9[e][t].url;if(v&&"fakeurl"!==v){var y=ow(document,"A");y.href=v;y.target="_blank";y.rel="noopener noreferrer";Fw(f[t]);f[t].appendChild(u);u.appendChild(y);var G=y}else Fw(f[t]),f[t].appendChild(u),G=u;y=r9[e][t].value;v&&"fakeurl"===v&&"Doc"===y&&(y="linked district document");if(k&&S$(t)&&-1!==y.search(k)){v=G;G=l;var K=n,J=q;if(k){for(var O=y.split(k),P=0;P<O.length;P++)if(0===P%2)O[P]&&v.appendChild(pw(O[P]));else{var Q=e===G&&J.count===K?B("SPAN","Mr"):
5394B("SPAN","Lr");J.count++;rw(Q,O[P]);v.appendChild(Q)}v=y.split("\n").length;y.length&&"\n"===y[y.length-1]&&v--;v=(1<v?v:1)*l9+11;v>P$(e)&&(s9[e]=Math.min(v,S9))}else rw(v,y)}else rw(G,y);u.style.height=P$(e)-10-1+"px"}if(e==b&&-1!==g){k=b;l=g;if(q=hw("cr"))ix(q,"cr"),n=q.id.split("/")[0],q=q.id.split("/")[1],n&&(n=parseInt(n,10),a[n]&&ix(a[n].cells[0],"fr")),q&&(n=parseInt(q,10),W9[n]&&ix(W9[n],"fr"));H9=k;I9=l;gx(f[l],"cr");gx(f[0],"fr");gx(W9[l],"fr");e===F9&&(oXa(f[g]),F9=-1)}}else if(g=a[d],
5395k=Math.floor(e/500),e9.has(k)){if(!s9[e]||35>s9[e])s9[e]=35;g.style.height=P$(e)+"px";f[0].style.height=P$(e)+"px";pXa(f,e,k)}else for(g.style.height=P$(e)+"px",f[0].style.height=P$(e)+"px",d9.has(k)||f9.has(k)||D$(500*k,500),g=0;g<t9.length;g++)Fw(f[g]),k=B("DIV","br"),0===g?rw(k,(e+1).toString()):(rw(k,"..."),k.style.g="#ccc"),k.style.height=P$(e)-10-1+"px",f[g].appendChild(k)}}
5396function pXa(a,b,c){for(var d=0;d<t9.length;d++){Fw(a[d]);var e=B("DIV","br");if(0===d)rw(e,(b+1).toString());else if(1===d){var f=B("SPAN","vs","Failed to load data."),g=B("BUTTON","ul nl ws","Retry");g.onclick=function(k){k.stopPropagation();e9.delete(c);var l=500*c;for(k=Math.min(l+500,z9);l<k;l++)delete s9[l];
5396if(k=b$.dataset.preErrorWidth)k=parseInt(k,10),l=k-W9[1].offsetWidth,W9[1].style.width=k+"px",qXa(k-10),c$.style.width=c$.offsetWidth+l+"px",a$.style.width=a$.offsetWidth+l+"px",delete W9[1].dataset.preErrorWidth;
5397A$()};e.appendChild(f);e.appendChild(g)}e.style.height=P$(b)-10-1+"px";a[d].appendChild(e)}}function RWa(){var a=W9[1].offsetWidth;200>a&&(b$.dataset.preErrorWidth||(b$.dataset.preErrorWidth=a),W9[1].style.width="200px",qXa(190),c$.style.width=c$.offsetWidth+(200-a)+"px",a$.style.width=c$.offsetWidth-c$.tBodies[0].rows[0].cells[0].offsetWidth+"px")}function qXa(a){for(var b=c$.tBodies[0].rows,c=1;c<b.length;c++){var d=Mw(b[c].cells[1])[0];d&&(d.style.width=a+"px")}}
5398function R$(){return B9?new RegExp("("+B9.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")+")","gi"):null}function S$(a){return 0!==a&&t9[a]?"doc url"!==t9[a].value.trim().toLowerCase():!1}function P$(a){return s9[a]||k9}function YWa(){A$()}function WWa(a){yWa=a.clientY;o$=Date.now()}function XWa(a){a=a.clientY-yWa;75<a?A$(-1):-75>a&&A$(1)}
5399function gXa(a,b){var c=c$.tBodies[0].rows;if(!(200<Date.now()-o$))if(0==a)fXa();else{if(T9&&!fx(T9,"Cr")){for(var d=T9;!fx(d,"er");)d=Qw(d);if(a==parseInt(d.id.split("/")[1],10))return}c=Mw(Mw(c[0].cells[a])[0]);if(G9[a].Bf&&1<m9&&(c=c[c.length-1].getBoundingClientRect(),c.left<=b.clientX&&c.right>=b.clientX&&c.top<=b.clientY&&c.bottom>=b.clientY))return;Q$(a,!0)}}function nXa(a){200>=Date.now()-o$&&mXa(a)}
5400function VWa(a){E$()||T9&&!fx(T9,"Cr")||!(a=a.g)||(a.shiftKey?(a=a.deltaX||a.deltaY)&&rXa(a):(a.deltaX&&rXa(a.deltaX),!a.deltaY||d$||e$||(0<a.deltaY&&100>a.deltaY?A$(1):100<=a.deltaY?A$(2):0>a.deltaY&&-100<a.deltaY?A$(-1):A$(-2))))}function ZWa(){if(!(d$||e$||E$())){var a=Y9.scrollTop-R9;-1<=a&&1>=a?R9=-10:(d$=e$=!0,A$(6),e$=d$=!1)}}function rXa(a){T9&&!fx(T9,"Cr")&&(b$.scrollLeft=Q9);Q9+=a;b$.scrollLeft=Q9;Q9=Z9.scrollLeft=b$.scrollLeft}
5401function $Wa(){Q9=Z9.scrollLeft;b$.scrollLeft=Z9.scrollLeft}function T$(a){return new Promise(function(b){return setTimeout(b,a)})}function sXa(){r(function(a){if(1==a.g)return p(a,T$(125),3);if(!d$)return a.ua(0);0>--H9&&(H9=0);A$(5);return p(a,T$(50),3)})}function tXa(){r(function(a){if(1==a.g)return p(a,T$(125),3);if(!e$)return a.ua(0);++H9>=r9.length&&(H9=r9.length-1);A$(5);return p(a,T$(50),3)})}
5402function aXa(a){if(!d$&&!e$){var b=Z9.getBoundingClientRect();if(!(b.left<=a.clientX&&b.right>=a.clientX&&b.top<=a.clientY&&b.bottom>=a.clientY)){if(T9){if(!fx(T9,"Cr")&&(b=T9.getBoundingClientRect(),b.left<=a.clientX&&b.right>a.clientX&&b.top<=a.clientY&&b.bottom>a.clientY))return;uXa()}var c=c$.offsetLeft,d=b$.offsetWidth,e=a.clientY-c$.offsetTop;if(!(25>=e)){b=0;e-=25;for(var f=O9;0<e;)e-=P$(f),f++,b++;if(!(0>=b||b>=P9)){e=c$.tBodies[0].rows;var g=e[b];for(f=1;f<t9.length;f++){var k=g.children[f].getBoundingClientRect();
5403if(k.left<=a.clientX&&k.right>a.clientX&&c+d>a.clientX){if(a=hw("cr")){kx(a,"cr");a=parseInt(a.id.split("/")[0],10);if(!e){CK.g(Error("table rows does not exist"));break}if(!e[a]){CK.g(Error("no value found in tableRow for "+a+". len(tableRows): "+e.length));break}kx(e[a].cells[0],"fr")}kx(W9[I9],"fr");H9=b-1+O9;I9=f;if(b==P9-1&&c$.offsetHeight>b$.offsetHeight){A$(1);break}a=H9+1-O9;kx(e[a].cells[I9],"cr");kx(e[a].cells[0],"fr");kx(W9[I9],"fr");e[a].cells[I9].focus();break}}}}}}}
5404function L$(a,b){i$.style.fontWeight=b?b:"";rw(i$,a);a=i$.offsetWidth;b=i$.offsetHeight;rw(i$,"");i$.style.fontWeight="";return{width:a,height:b}}function K$(a){if(!u9.has(a)){var b=L$(a).width;u9.set(a,b)}return u9.get(a)}
5405function Q$(a,b){if(T9&&!fx(T9,"Cr")){for(var c=T9;!fx(c,"er");)c=Qw(c);if(a==parseInt(c.id.split("/")[1],10))return}c=W9[a].offsetWidth;var d=c$.offsetWidth,e=c$.tBodies[0].rows,f=16,g=L$(t9[a].value,"bold").width+20-2;f=g>f?g:f;r9.forEach(function(n,q){n=n[a].value;for(var t=n.split("\n"),u=0;u<t.length;u++)if(!(t[u].length*v9<=f)){for(var v=0,y=0;y<t[u].length;y++)v+=K$(t[u][y]);f=v>f?v:f}b&&(t=t.length,n.length&&"\n"==n[n.length-1]&&t--,n=(1<t?t:1)*l9+11,n>P$(q)&&(s9[q]=Math.min(n,S9)))});f+=
54062;g=f+10+2;e[0].cells[a].style.width=g+"px";for(var k=1;k<e.length;k++){var l=Mw(e[k].cells[a]);0<l.length&&(l[0].style.width=f+"px")}b&&(c$.style.width=d-c+g+"px",0<a&&(I9=a),H9=O9,A$())}
5407function fXa(){for(var a=c$.tBodies[0].rows,b=c$.offsetWidth,c=[],d=[],e=0;e<t9.length;e++){c[e]=W9[e].offsetWidth;d[e]=16;var f=L$(t9[e].value,"bold").width+20-2;16<f&&(d[e]=f)}var g;r9.forEach(function(n,q){g=1;for(var t=0;t<t9.length;t++){var u=n[t].value,v=u.split("\n").length;u.length&&"\n"==u[u.length-1]&&v--;g=v>g?v:g;u=u.split("\n");for(v=0;v<u.length;v++)if(!(u[v].length*v9<=d[t])){for(var y=0,G=0;G<u[v].length;G++)y+=K$(u[v][G]);d[t]=y>d[t]?y:d[t]}}n=g*l9+11;n>k9?s9[q]=n:delete s9[q]});
5408for(e=0;e<t9.length;e++){f=d[e]+2;d[e]+=14;a[0].cells[e].style.width=d[e]+"px";for(var k=1;k<a.length;k++){var l=Mw(a[k].cells[e]);0<l.length&&(l[0].style.width=f+"px")}}a=c.reduce(function(n,q){return n+q});c=d.reduce(function(n,q){return n+q});c$.style.width=b-a+c+"px";1<t9.length&&(I9=1);H9=O9;A$()}function hXa(a){Pw(a.target)&&(T9&&gx(T9,"Cr"),gx(c$,"ar"),q$=Qw(
5408Qw(a.target)),r$=q$.offsetWidth,s$=a.clientX,D(document,"mousemove",vXa),D(document,"mouseup",wXa))}
5409function vXa(a){var b=r$+(a.clientX-s$);a=parseInt(q$.id.split("/")[1],10);if(28<=b){q$.style.width=b+"px";for(var c=c$.tBodies[0].rows,d=1;d<c.length;d++){var e=Mw(c[d].cells[a]);0<e.length&&(e[0].style.width=b-10+"px")}b=0;for(d=1;d<W9.length;d++)b+=W9[d].offsetWidth;c$.style.width=b+"px";0==a&&(a=c[0].cells[0].offsetWidth+1,V9.style.width=a-1+"px",Z9.style.marginLeft=a+"px")}}function wXa(){ix(c$,"ar");Mx(document,"mousemove",vXa);Mx(document,"mouseup",wXa);A$()}
5410function mXa(a){for(var b=c$.offsetWidth,c=c$.tBodies[0].rows,d=1,e=0,f=0;f<t9.length;f++){var g=W9[f].offsetWidth,k=r9[a][f].value,l=k.split("\n"),n=l.length;k.length&&"\n"==k[k.length-1]&&n--;d=n>d?n:d;n=g-10-1;k=16;for(var q=0;q<l.length;q++){for(var t=0,u=0;u<l[q].length;u++)t+=K$(l[q][u]);k=t>k?t:k}if(!(k<=n)){l=k+12;c[0].cells[f].style.width=l+"px";for(n=1;n<c.length;n++)Mw(c[n].cells[f])[0].style.width=k+"px";e+=l-g}}c=d*l9+11;c>k9?s9[a]=c:delete s9[a];c$.style.width=b+e+"px";H9=a;A$()}
5411function lXa(a){Pw(a.target)&&(gx(c$,"ar"),q$=Qw(a.target),r$=q$.offsetHeight,s$=a.clientY,D(document,"mousemove",xXa),D(document,"mouseup",yXa))}function xXa(a){a=r$+(a.clientY-s$);if(q$){var b=parseInt(q$.id.split("/")[0],10);if(25<=a){a>S9&&(a=S9);A(b+"/r").style.height=a+"px";X9[b].style.height=a+"px";s9[O9+b-1]=a;for(var c=c$.tBodies[0].rows,d=0;d<c[0].cells.length;d++){var e=Mw(c[b].cells[d]);0<e.length&&(e[0].style.height=a-10-1+"px")}}}}
5412function yXa(){ix(c$,"ar");Mx(document,"mousemove",xXa);Mx(document,"mouseup",yXa);A$()}
5413function kXa(a){a.stopPropagation();var b=a.target;if(fx(b,"kr")){a=Mw(b)[0];kx(a,"Cr");var c=Qw(Qw(b));if(fx(c,"er")){c=parseInt(c.id.split("/")[1],10);for(var d=0;d<G9[c].Db.length;d++)j$.push(G9[c].Db[d].checked);T9&&T9!=a&&gx(T9,"Cr");T9=a;b=b.getBoundingClientRect();c=h$.Md();a.style.top=b.y+b.height+"px";b.x+320>c.width?(a.style.right=c.width-b.x-b.width-5+"px",a.style.left=""):(a.style.left=b.x-5+"px",a.style.right="")}}}
5414function jXa(a,b){var c=B("DIV",{"class":"pr"}),d=B("DIV","filterTitle","Filter by values"),e=B("SPAN","wr","Select all"),f=B("SPAN","vr","Clear");D(e,"click",cb(zXa,"done",b));D(f,"click",cb(zXa,"",b));e=B("DIV","ur",[e,"-",f]);f=B("DIV","E rr","search");var g=B("INPUT",{"class":"tr",autocomplete:"new-street-address"});f=B("DIV","qr",[f,g]);D(g,"keyup",cb(AXa,b));g=[];for(var k=0;k<G9[b].Db.length;k++)if(G9[b].Db[k].xg){var l=B("DIV","E Ar","done");G9[b].Db[k].checked||rw(l,"");var n=G9[b].Db[k].text;
5415l=B("DIV","zr",[l,""==n?"(Blanks)":n]);l=B("DIV","yr",l);D(l,"click",cb(U$,k));g.push(l)}a=B("DIV",{"class":"xr",style:"width:300px; max-height:"+a+"px;"},g);g=B("DIV",{"class":"pr"});k=B("BUTTON",{"class":"ul nl ol",style:"margin-left: 10px;"},"OK");l=B("BUTTON","ul nl ol","Cancel");D(k,"click",cb(BXa,b));D(l,"click",uXa);b=B("DIV","Br",[l,k]);return B("DIV","or",[c,d,e,f,a,g,b])}
5416function BXa(a){G9[a].Bg=!1;for(var b=0;b<G9[a].Db.length;b++)G9[a].Db[b].checked=j$[b],j$[b]||(G9[a].Bg=!0,G$());T9&&gx(T9,"Cr");w$();H$()}
5417function uXa(){j$=[];var a=Mw(T9);if(2<a.length){for(var b=T9;!fx(b,"er");)b=Qw(b);b=parseInt(b.id.split("/")[1],10);a=a[2];var c=Mw(Mw(a)[3])[1];if(!fx(c,"tr"))return;c.value="";m$=[];n$=!0;a=Mw(a)[4];Fw(a);for(c=0;c<G9[b].Db.length;c++)if(G9[b].Db[c].xg){var d=B("DIV","E Ar","done");G9[b].Db[c].checked||rw(d,"");var e=G9[b].Db[c].text;d=B("DIV","zr",[d,""==e?"(Blanks)":e]);d=B("DIV","yr",d);D(d,"click",cb(U$,c));a.appendChild(d)}}gx(T9,"Cr")}
5418function AXa(a,b){var c=b.target.value.toLocaleLowerCase();n$=!1;""==c&&(n$=!0);m$=[];for(var d=0;d<G9[a].Db.length;d++)G9[a].Db[d].xg&&(n$?m$.push(d):0<=G9[a].Db[d].text.toLocaleLowerCase().indexOf(c)&&m$.push(d));b=Mw(Qw(Qw(b.target)))[4];Fw(b);for(d=0;d<m$.length;d++){var e=B("DIV","E Ar","done"),f=[];j$[m$[d]]||rw(e,"");f.push(e);e=G9[a].Db[m$[d]].text;var g=e.toLocaleLowerCase();if(n$)f.push(""==e?"(Blanks)":e);else{for(var k=g.indexOf(c),l=0;0<=k;)f.push(pw(e.substring(l,k))),l=k+c.length,f.push(B("SPAN",
5419"sr",e.substring(k,l))),k=g.indexOf(c,l);f.push(pw(e.substring(l)))}f=B("DIV","zr",f);f=B("DIV","yr",f);D(f,"click",cb(U$,m$[d]));b.appendChild(f)}}function zXa(a,b,c){var d="done"==a;c=Mw(Qw(Qw(c.target)))[4];c=Mw(c);for(var e,f=0;f<c.length;f++)e=c[f],e=Mw(Mw(e)[0])[0],rw(e,a);if(n$)for(a=0;a<j$.length;a++)G9[b].Db[a].xg&&(j$[a]=d);else if(m$.length)for(b=0;b<m$.length;b++)j$[m$[b]]=d}
5420function U$(a,b){for(b=b.target;!fx(b,"yr");)b=Qw(b);b=Mw(b)[0];b=Mw(b)[0];""==Ww(b)?(rw(b,"done"),j$[a]=!0):(rw(b,""),j$[a]=!1)}function UWa(a,b){var c=!isNaN(b),d=""==a.trim(),e=""==b.trim();if(d&&e)return 0;if(d)return-1;if(e)return 1;if(!isNaN(a)&&c)return parseFloat(a)-parseFloat(b);c=Date.parse(a);d=Date.parse(b);return isNaN(c)||isNaN(d)?a.toLowerCase().localeCompare(b.toLowerCase()):c-d}
5421function iXa(a,b){b.stopPropagation();b=Qw(b.target);var c=parseInt(Qw(Qw(Qw(b))).id.split("/")[1],10);c&&!isNaN(c)&&(k$===c&&l$===a?kx(b,"Cr"):(k$=c,l$=a,kx(b,"Cr"),G$(),N$(),H$()))}function O$(a,b){var c=B("BUTTON",{"class":"as",onclick:function(){CXa(b)}},b);Ew(a.children[1],c)}
5422function CXa(a){a=void 0===a?"csv":a;if(!p9){p9=!0;var b=A("name").value;a=w9+"/report/"+x9+"/view/"+y9+"/export?format="+a.toLocaleLowerCase()+"&name="+encodeURIComponent(SWa(b)+"."+a.toLocaleLowerCase());a=B("A",{href:a,style:"display:none;",download:""});A("body").appendChild(a);a.click();Jw(a);setTimeout(function(){p9=!1},2E3)}}function J$(){L9&&(L9.abort(),L9=null)}
5423function B$(){var a=A("search_input"),b=A("search_result"),c=A("search_spinner");if(a.value!=B9){J$();var d=D9.length;B9=a.value;D9=[];if(B9){b.style.display="none";c.style.display="";K9++;var e=K9,f=w9+"/report/"+x9+"/view/"+y9+("/search?q="+encodeURIComponent(B9)),g=new b9;g.l=!0;L9=g;D(g,"complete",function(){L9===g&&(L9=null);if(e==K9&&!g.va)if(b.style.display="",c.style.display="none",g.m){var k=g.T;D9=[];var l=R$();if(l)for(var n=0,q=0;q<t9.length;q++)if(S$(q)){var t=t9[q].value.match(l);if(t)for(var u=
54240;u<t.length;u++)D9.push({ye:-1,Ah:q,vH:n++})}l=-1;for(q=n=0;q<k.length;q++)t=k[q]-1,t===l?n++:(l=t,n=0),D9.push({ye:t,Ah:-1,vH:n});
5424D9.length?(E9=1,rw(b,E9+"/"+D9.length),DXa()):(E9=0,rw(b,"0/0"),d&&A$(),a.focus())}else 410===g.status?z$():rw(b,"Error")});g.send(f,{method:"GET"})}else E9=0,rw(b,E9+"/"+D9.length),A$(),a.focus()}}function M$(a){var b=A("search_result");D9.length&&(0>a?(E9--,0>=E9&&(E9=D9.length)):(E9++,E9>D9.length&&(E9=1)),rw(b,E9+"/"+D9.length),DXa())}
5425function DXa(){if(D9.length){var a=D9[E9-1];if(-1!==a.ye){var b=!1;if(0<P9){var c=O9+P9-3;a.ye>=O9&&a.ye<=c&&(b=!0)}b||(O9=Math.max(0,a.ye-Math.floor((0<P9?P9:20)/2)));F9=a.ye}else O9=0,F9=-1;f$=!1;A$();-1===a.ye&&-1!==a.Ah&&(a=c$.tBodies[0].rows[0].cells[a.Ah],gx(a,"fr"),oXa(a));A("search_input").focus()}}function EXa(){J$();E9=0;D9=[];C9=B9="";A("search_input").value="";var a=A("search_result");a.innerText="0/0";a.style.display="";A("search_spinner").style.display="none"}
5426function oXa(a){var b=A("search_input");ax(document)!==b&&a.focus({preventScroll:!0});requestAnimationFrame(function(){var c=a.offsetLeft,d=a.offsetWidth,e=W9[0].offsetWidth,f=Q9,g=f+b$.clientWidth;c<f+e?f=c-e-1:c+d>g&&(f=c+d-b$.clientWidth+1);Q9=Math.max(0,f);b$.scrollLeft=Q9;Z9.scrollLeft=Q9})}function I$(a){var b=z("search_filter");b&&(a?(rw(b,"filter_alt_off"),b.style.backgroundColor="rgba(0, 0, 0, 0.1)",b.style.borderRadius="4px"):(rw(b,"filter_alt"),b.style.backgroundColor=""))}
5427function N$(){A("search").style.display="none";""===C9&&EXa();I$(!1);A$()}function FWa(a){var b="none"!=z("search").style.display;13==a.keyCode?b&&M$(1):(38==a.keyCode&&(d$=!1),40==a.keyCode&&(e$=!1))}
5428function V$(){var a=c$.tBodies[0].rows,b=hw("cr");if(b){kx(b,"cr");var c=parseInt(b.id.split("/")[1],10);kx(a[parseInt(b.id.split("/")[0],10)].cells[0],"fr");kx(W9[c],"fr");b=H9-O9;b<=P9-2&&0<=b&&(kx(a[b+1].cells[I9],"cr"),kx(a[b+1].cells[0],"fr"),a[b+1].cells[I9].focus());kx(W9[I9],"fr")}else O9=H9,A$()}
5429function EWa(a){var b="none"!=z("edit_modal").style.display,c="none"!=z("search").style.display,d=T9&&!fx(T9,"Cr");switch(a.keyCode){case 27:b&&FXa();c&&N$();break;case 33:if(b||c||!n9)break;O9-=P9-2;A$(4);break;case 34:if(b||c||!n9)break;O9+=P9-2;A$(4);break;case 35:if(b||c||!n9)break;I9=t9.length-1;V$();break;case 36:if(b||c||!n9)break;I9=1;V$();b$.scrollLeft=0;break;case 37:if(b||c||d||!n9)break;1>--I9&&(I9=1);V$();break;case 38:if(b||c||d||d$||e$||!n9)break;d$=!0;0>--H9&&(H9=0);A$(5);sXa();break;
5430case 39:if(b||c||d||!n9)break;++I9>t9.length-1&&(I9=t9.length-1);V$();break;case 40:if(b||c||d||d$||e$||!n9)break;e$=!0;++H9>=r9.length&&(H9=r9.length-1);A$(5);tXa();break;case 67:if(b)break;if(a.ctrlKey||a.metaKey)a=A("selected_content"),a.value=r9[H9][I9].value,a.select();break;case 70:if(a.ctrlKey||a.metaKey)a.preventDefault(),A("search").style.display="",A("search_input").focus();break;case 80:if(a.ctrlKey||a.metaKey)a.preventDefault(),n9&&!b&&eXa()}}
5431function eXa(){if(15E3<z9*t9.length)W$();else{o9=!0;for(var a=!1,b=0;b<z9;b++)if(!r9[b]){a=!0;break}if(a){var c=A("body");gx(c,"ds");D$(0,z9,function(d){ix(c,"ds");d&&W$()})}else W$()}}function W$(){La.print();o9=!1;F$()}
5432function GWa(){var a=A("body");p$=B("DIV","Dr");if(15E3<r9.length*t9.length){a=A("print_region");a.innerHTML="";var b=B("DIV");b.innerText="Printing is unsupported for reports this large. Please use the Export feature to download this data.";b.style.padding="20px";a.appendChild(b)}else{Yx(p$,rVa,{columns:t9,rows:r9});a.appendChild(p$);b=A("table");var c=b.tHead.rows[0].cells;if(0!=c.length){a=[];for(var d=0,e=0,f=0;f<c.length;++f){var g=c[f];912<e+g.offsetWidth&&f>d?(a.push([d,f-1]),d=f,e=g.offsetWidth):
5433e+=g.offsetWidth}a.push([d,c.length-1]);b=b.cloneNode(!0);b.removeAttribute("id");b.style.fontSize="1em";b.style.width="auto";b.style.position="relative";b.style.tableLayout="fixed";for(d=0;d<c.length;++d)b.tHead.rows[0].cells[d].style.width=c[d].offsetWidth+"px";c=A("print_region");c.innerHTML="";for(d=0;d<a.length;++d){e=a[d][0];f=a[d][1];g=b.cloneNode(!0);for(var k=g.tHead.rows[0].cells,l=g.tBodies[0].rows,n=0;n<k.length;++n)if(n<e||n>f){k[n].style.display="none";for(var q=0;q<l.length;++q)l[q].cells[n]&&
5434(l[q].cells[n].style.display="none")}e=B("DIV",{style:"page-break-before:"+(0===d?"auto":"always")+"; break-before:"+(0===d?"auto":"page")+";"},g);c.appendChild(e)}}}}function HWa(){A("print_region").innerHTML="";Jw(p$)}function cXa(){JWa();G9.forEach(function(a){a.Bg=!1;a.Db.forEach(function(b){b.xg=!0;b.checked=!0})});k$=-1;EXa();I$(!1);H$()}
5435function GXa(a,b){for(var c=a.domain,d=0;d<b.Vd.length;d++){var e=b.Vd[d];switch(e.type){case "radio":for(var f=gw("input_"+d),g=0;g<f.length;g++)if(a[e.name]==f[g].value){f[g].checked=!0;break}break;case "checkbox":f=gw("input_"+d);e=a[e.name];for(g=0;g<f.length;g++){var k=e.includes(f[g].value);f[g].checked=k}break;case "select":f=A("input_"+d);for(g=0;g<f.options.length;g++)if(a[e.name]==f.options[g].value){f.options[g].selected=!0;break}break;case "date":case "text":A("input_"+d).value=a[e.name];
5436break;case "range":A("input_"+d+"_start").value=a[e.name+"_start"];A("input_"+d+"_end").value=a[e.name+"_end"];break;case "document_id":A("input_"+d).value=a[e.name].replace(/,/g,"\n");break;case "user_search":case "student_search":f=A(e.type);f.style.marginLeft="0";f.innerText=[a[e.name+"_label"]];g=B("INPUT",{type:"hidden"});a[e.name]&&(g.value=a[e.name]);f.appendChild(g);break;default:throw Error("unknown report input type: "+e.type);}}a=a["LEAs:"];!a||1==a.length&&a[0]==c||document.querySelectorAll("input.buildingCheckbox").forEach(function(l){l.disabled=
5437!0;l.checked=!0});t$&&V2(t$)}
5438function dXa(){A("edit_modal").style.display="";
5438var a=A("edit_dialog"),b=JSON.parse(A("vars").value),c=b.domainOption,d=A("state").value,e=zWa,f=A("path").value,g=A("endpoint").value,k=new Set;g=XI(UI[d].g,g);if(BWa)GXa(b,g),a.style.display="";else{if(null!=g.inputs){var l=A("buildings").value;l=JSON.parse(l);var n=l.filter(function(v){return"true"!=v.inactive}).map(function(v){return v.reporting_id});k=new Set(n);e={buildings:TO(l),activePrograms:e};g.Vd=g.inputs(e,m9,AWa)}else g.Vd=[];null!=c&&
5439g.Vd.unshift(c);t$=new U2(g,!0,!1);a.lastElementChild.appendChild(t$.g);if(Qv&&(e=gw("us"),e.length))for(l=0;l<e.length;l++)(n=z("input_"+e[l].id.split("clearDate_")[1]))&&D(e[l],"click",bb(a6,void 0,n));var q=b.domain;if(1<(c?c.options:[]).length){var t=document.querySelectorAll("input.buildingCheckbox"),u=document.querySelectorAll("input.domainCheckbox");u.forEach(function(v){v.addEventListener("change",function(){var y=!0,G=Array.from(u);G=m(G);for(var K=G.next();!K.done;K=G.next())if(K=K.value,
5440K.value!=q==K.checked){y=!1;break}Array.from(t).forEach(function(J){J.checked=!y||k.has(J.value);J.disabled=!y})})})}GXa(b,g);b=z("report_");null!=b&&D(b,"submit",bb(b6,void 0,g,d,f,q,c));c=z("cancel");null!=c&&D(c,"click",FXa);a.style.display="";BWa=!0}}function FXa(){A("edit_modal").style.display="none";A("edit_dialog").style.display="none"}function bXa(){var a=A("reload");fx(a,"Yr")||(q9=!0,u$(!0))}function z$(a){a=void 0===a?!1:a;q9=M9=!0;w$();u$(a)}
5441function v$(a){var b=A("reload");a?ix(b,"Yr"):gx(b,"Yr");ix(b,"Xr")}function DWa(a){a.newValue&&"appStart"===a.key&&""==JSON.parse(a.newValue).Ib&&(window.location.href="/iep/#",window.location.reload())};function X$(a,b){uv.call(this,a,b);a=this.button.firstElementChild;this.player&&this.player.Hj()?a.style.borderBottom="3px solid red":a.style.borderBottom="3px solid transparent"}pa(X$,uv);X$.prototype.h=function(){var a=this.button.firstElementChild;this.player.Hj()?(this.button.ariaPressed="true",a.style.borderBottom="3px solid red"):(this.button.ariaPressed="false",a.style.borderBottom="3px solid transparent");this.controls.dispatchEvent(new Kh("captionselectionupdated"))};
5442X$.prototype.j=function(){if(this.player.Hj())this.player.vv(!1);else{var a=this.player.Ek();this.player.Qz(a[0]);this.player.vv(!0)}};function HXa(){}HXa.prototype.create=function(a,b){return new X$(a,b)};qu("sgcaptions",new HXa);function IXa(a,b){a.textContent+=JSON.stringify(b)}function JXa(a){return(new Date(1E3*a)).toISOString().substr(11,8).replace(/^00:/,"")}function KXa(a,b){a.pause();a.currentTime=b;a.play()}
5443function LXa(a,b,c){var d=c.dataset.index||-1;a=a.currentTime;if(!(0<=d&&b[d].startTime<=a&&b[d].endTime>a)){for(var e=0;e<b.length;e++)if(!(a<b[e].startTime||a>=b[e].endTime)){0<=d&&c.children[d].classList.remove("at");c.children[e].classList.add("at");wV(c.children[e],{behavior:"smooth"});c.dataset.index=e;return}0<=d&&c.children[d].classList.remove("at");c.dataset.index=-1}}
5444function MXa(a,b,c,d){var e,f,g,k,l,n,q;return r(function(t){if(1==t.g)return e=b.children[0],f=cb(IXa,e),p(t,a.NI(c).catch(f),2);g=t.h;k=B("img","Vs");l=B("div","Ws","00:00");n=B("div","Us",k,l);n.style.display="none";b.appendChild(n);d.addEventListener("mousemove",function(u){var v,y;return r(function(G){if(1==G.g)return q||(q=parseInt(d.getAttribute("max"),10)),v=u.offsetX/u.target.clientWidth*q,p(G,a.zL(g.id,v),2);y=G.h;if(0==y.uris.length)return G.return();k.src=y.uris[0];l.innerText=JXa(v);
5445n.style.left=u.offsetX+10+"px";ua(G)})});d.addEventListener("mouseover",function(){n.style.display="block"});d.addEventListener("mouseout",function(){n.style.display="none"});ua(t)})}
5446function NXa(a,b,c,d){var e,f,g,k,l,n,q,t,u,v,y,G,K;return r(function(J){switch(J.g){case 1:return va(J,2),p(J,a.HI(d,"en"),4);case 4:xa(J,3);break;case 2:return ya(J),J.return();case 3:e=a.pL("en");f=B("div","Xs","Chapters");g=B("div","Ys");k=B("div","Ts",f,g);l=m(e);for(n=l.next();!n.done;n=l.next())q=n.value,t=B("div","bt",q.title),u=JXa(q.startTime),v=B("div","ct",u),y=B("div","Zs",t,v),g.appendChild(y),G=cb(KXa,c,q.startTime),y.addEventListener("click",G);b.appendChild(k);K=cb(LXa,c,e,g);c.addEventListener("timeupdate",
5447K);LXa(c,e,g);ua(J)}})}
5448function OXa(){var a,b,c,d,e,f,g,k,l,n,q,t,u,v,y,G,K,J,O,P;return r(function(Q){switch(Q.g){case 1:a=ew("VIDEO");if(0==a.length)return Q.return();b=m(a);c=b.next();case 2:if(c.done){Q.ua(0);break}d=c.value;e=d.ui;f={enableTooltips:!1,controlPanelElements:"play_pause mute volume time_and_duration spacer sgcaptions overflow_menu picture_in_picture fullscreen".split(" "),overflowMenuButtons:["playback_rate","quality"],customContextMenu:!0,contextMenuElements:["statistics"],seekBarColors:{base:"rgba(255, 255, 255, 0.2)",buffered:"rgba(255, 255, 255, 0.4)",
5449played:"rgb(255, 0, 0)"}};e.configure(f);g=e.lj;k=g.Mn();l=d.getAttribute("manifest");
5449if(!l)return Q.return();n=d.getAttribute("data-host");q="https://"+n+"/"+l+"/";t=d.parentElement.parentElement;u=t.children[0];v=cb(IXa,u);k.addEventListener("error",v);g.addEventListener("error",v);y=Qv?"m3u8":"mpd";return p(Q,k.load(q+"manifest."+y).catch(v),5);case 5:G=gw("shaka-overflow-menu-button",t)[0];G.textContent="settings";K=gw("zx-ky-ly-Kx-Fh",t);J=m(K);for(O=J.next();!O.done;O=J.next())P=O.value,P.firstElementChild.textContent=
5450"arrow_back_ios_new";return p(Q,MXa(k,t,q+"thumb.vtt",g.uf.bar),6);case 6:return p(Q,NXa(k,t,d,q+"chapters.vtt"),3);case 3:c=b.next(),Q.ua(2)}})}function PXa(){var a=ew("VIDEO");if(0!=a.length){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=b.getAttribute("manifest");c&&(c="https://"+b.getAttribute("data-host")+"/"+c+"/",b.src=c+"fallback.mp4",b.controls=!0)}}};function Y$(a,b,c,d){Rx.call(this);this.h=a;this.j=b;this.Z=c;this.ea=d;this.u=!1;this.L="";this.m=this.s=this.T=!1;this.g=-1;this.l=0;D(this.h,"keydown",this.d1,void 0,this);D(this.h,"keyup",this.iN,void 0,this);D(this.h,"change",this.iN,void 0,this);D(this.Z,"click",this.MJ,void 0,this)}pa(Y$,Rx);h=Y$.prototype;
5451h.d1=function(a){switch(a.keyCode){case 38:case 36:case 33:a.preventDefault();if(0>=this.g)return;break;case 40:case 35:case 34:a.preventDefault();if(this.g>=this.l-1)return;break;case 13:a.preventDefault();if(0>this.g)return;var b=z("result"+this.g);this.ea?this.dispatchEvent(new Event("click",b.href)):window.location=b.href;return;default:return}b=z("result"+this.g);switch(a.keyCode){case 38:this.g--;break;case 40:this.g++;break;case 36:this.g=0;break;case 35:this.g=this.l-1;break;case 33:this.g=
54523<this.g?this.g-3:0;break;case 34:this.g=this.g<this.l-3?this.g+3:this.l-1;break;default:throw Error("internal error support search");}a=z("result"+this.g);ix(b,"Ku");gx(a,"Ku");vG(a,this.j)};h.e1=function(a){var b=be(a.h.id.substring(6));b!=this.g&&(a=z("result"+this.g),this.g=b,b=z("result"+this.g),ix(a,"Ku"),gx(b,"Ku"))};
5453h.iN=function(){var a=this.h.value;if(0==a.replace(/\s/g,"").length)this.MJ();else{this.u||(this.u=!0,this.Z.style.visibility="",this.j.innerText="Loading...",this.j.style.display="");var b=this.h.selectionStart;b==this.h.selectionEnd&&(a=a.substr(0,b)+":*"+a.substr(b));this.L!=a&&(this.L=a,this.T||(this.T=!0,this.l=0,this.g=-1,this.j.innerText="Loading...",UG(bb(this.f1,this),250)))}};h.f1=function(){this.T=!1;this.m?this.s=!0:Z$(this)};
5454function Z$(a){a.s=!1;a.m=!0;var b="/iep/supportSearch?q="+encodeURIComponent(a.L);a.ea&&(b+="&steps=1");eH(b,bb(a.g1,a),"POST",void 0,void 0,1E4)}h.MJ=function(){this.u=!1;this.L="";this.h.value="";this.h.focus();this.l=0;this.g=-1;this.j.innerText="";this.Z.style.visibility="hidden";this.j.style.display="none"};
5455h.g1=function(a){a=a.target;if(hH(a))if(this.m=!1,this.s)Z$(this);else{a=JSON.parse(iH(a));this.j.innerText="";this.l=a.length;this.g=0<a.length?0:-1;for(var b=0,c=a.length;b<c;b++){var d=a[b],e=B("DIV","Lu",d.title),f="Ju";0==b&&(f+=" Ku");d=B("A",{"class":f,href:d.url,id:"result"+b},e);D(d,"mouseover",this.e1,void 0,this);this.Vh||D(d,"click",this.c1,void 0,this);this.j.appendChild(d)}0==a.length&&(a=B("DIV","Iu","No results"),this.j.appendChild(a))}else this.j.innerText="",a=B("DIV","Iu","Error querying server"),
5456this.j.appendChild(a),this.m=!1,this.s&&Z$(this)};h.c1=function(){var a=z("result"+this.g);this.dispatchEvent(new Event("click",a.dataset.domain))};var $$={Et:function(){var a=ew("INPUT");if(0!=a.length){for(var b,c=0,d=a.length;c<d;c++){var e=a[c];if("text"==e.type||"email"==e.type||"password"==e.type){if(""==e.value){e.focus();return}b=e}}b.focus();lx(b);px(b)}},AK:function(){var a=z("login_domain_redirect");a&&window.setTimeout(function(){window.location=a.innerText},3E4)},i1:function(){var a=z("username");if(a){window.setTimeout(function(){var d=B("A",{href:window.location.href},"reload");d=B("DIV",void 0,"Session Expired. Please ",d," the page to Sign In.");
5457for(a.form.replaceWith(d);d.nextElementSibling;)d.nextElementSibling.remove()},288E5);var b=A("sign_in_button");D(b.form,"submit",function(){b.disabled=!0;b.style.opacity=.5;$$.V8()});var c=window.sessionStorage.getItem("username");null!=c&&(a.value=c,window.sessionStorage.removeItem("username"));Mva();""==a.value?$$.mH():$$.YR()}},mH:function(){var a=A("username");a.readOnly=!1;var b=A("clear_username");b.style.display="none";Mx(b,"click",$$.mH);b=A("sign_in_button");D(b,"click",$$.VM);ix(a,"co");
5458var c=A("password");c.value="";window.setTimeout(function(){c.style.display="none"},500);ix(c,"eo");a.value="";a.focus();b.value="Next";A("login_error").innerText=""},VM:function(a){var b;return r(function(c){a.preventDefault();b=A("username").value;return 0<b.length?p(c,$$.b2(),0):c.ua(0)})},sY:function(a){a=new URL(a);var b=a.hash.indexOf("?");0<=b&&(a.search=a.hash.substring(b));a.hash="";return a.toString()},b2:function(){var a,b,c,d,e,f,g;return r(function(k){switch(k.g){case 1:return a=A("slider"),
5459gx(a,"vo"),b=$$.sY(window.location.href),c=b+(0>b.indexOf("?")?"?":"&")+"rawRedir=1",d=A("login_error"),e=new FormData(A("username").form),e.delete("password"),va(k,2),p(k,fetch(c,{method:"POST",cac
5459he:"no-cache",body:e}),4);case 4:return f=k.h,f.ok?p(k,f.text(),5):(ix(a,"vo"),d.innerText="Server Error: "+f.headers.get("User-Error-Message"),k.return());case 5:g=k.h;if(0!=g.indexOf("https://"))return $$.YR(),k.return();window.location.href=g;xa(k,0);break;case 2:ya(k),ix(a,"vo"),d.innerText="Failed to connect to the server. Please check your network connection.",
5460ua(k)}})},YR:function(){var a=A("username");a.readOnly=!0;var b=A("clear_username");b.style.display="";D(b,"click",$$.mH);b=A("slider");ix(b,"vo");b=A("sign_in_button");Mx(b,"click",$$.VM);var c=A("password");c.style.display="";$$.reflow_=c.offsetHeight;gx(a,"co");gx(c,"eo");c.focus();lx(c);px(c);b.value="Sign In"},xJ:function(){var a=z("captcha");a&&D(a,"click",$$.$U)},$U:function(){var a=z("captchaImg");a&&(a.src=a.src.split("&")[0]+"&t="+Math.random())},q0:function(){var a=z("badge_copy");a&&D(a,
5461"click",$$.p0)},p0:function(){var a,b,c;return r(function(d){switch(d.g){case 1:return a=z("badge_html").innerText,b=z("badge_msg"),c="Copied",va(d,2),p(d,navigator.clipboard.writeText(a),4);case 4:xa(d,3);break;case 2:ya(d),c="No clipboard access";case 3:b.innerText=c,window.setTimeout(function(){b.innerText=""},1E4),ua(d)}})},h1:function(){var a=z("resendMfa");a&&D(a,"click",$$.r5)},r5:function(){var a,b,c,d;return r(function(e){if(1==e.g)return a=z("resendMfa"),a.disabled=!0,b=window.location.origin+
5462"/iep/mfa/resend",c=A("errorMfa"),p(e,fetch(b,{method:"POST"}),2);d=e.h;setTimeout(function(){a.disabled=!1},5E3);c.innerText=d.ok?"":"Error resending email";ua(e)})},q_:function(){navigator.serviceWorker?(navigator.serviceWorker.addEventListener("message",function(a){if(a.data.type.startsWith("topaz_"))uI.message(a);else if(a.data.type.startsWith("networktest_"))OL.message(a);else throw Error("unknown message type: "+a.data.type);}),window.addEventListener("load",function(){return r(function(a){return p(a,
5463navigator.serviceWorker.register('/iep/s/f6EvUbhwtRBCnVHpwv-dR_Uzwtc',{scope:"/"}),0)})})):console.error("browser does not support service workers")},ZM:function(a){if("appStart"==a.key&&a.newValue&&!iV()&&(a=JSON.parse(a.newValue),a.Ib!=OJ||a.userName!=PJ||a.domain!=UJ||a.Ze!=WJ)){var b="/iep/#";a.redirect&&(b=a.redirect);window.location.href=b;window.location.reload()}},L0:function(a){"appStart"==a.key&&window.location.reload()},V8:function(){var a=z("remember_me");if(a&&a.checked){var b=
5464z("username");if(b){a=window.location.pathname.replace("/iep/a/","");var c="@"+a;b=b.value.includes("@")?b.value:b.value+c;window.sessionStorage.setItem("currentUserKey",a+":"+b.trim())}}},xV:function(){for(var a=ew("INPUT"),b=0,c=a.length;b<c;b++){var d=a[b];"checkbox"==d.type&&D(d,"change",$$.wV)}},wV:function(a){var b="unsubscribe"==a.target.name,c=!a.target.checked,d=ew("INPUT");if("unsubscribe"!=a.target.name&&!a.target.checked){a=!1;for(var e=0,f=d.length;e<f;e++){var g=d[e];if("checkbox"==
5465g.type&&"unsubscribe"!=g.name&&g.checked){a=!0;break}}if(a)return}a=0;for(e=d.length;a<e;a++)f=d[a],"checkbox"!=f.type||"unsubscribe"==f.name&&b||"unsubscribe"!=f.name&&!b||(f.checked=c)},m9:function(){var a=z("ver");a&&D(a,"change",$$.l9)},P5:function(){document.getElementById("acceptButton").addEventListener("click",function(){document.getElementById("warningDialog").style.display="block";document.getElementById("overlay").style.display="block"});document.getElementById("declineButton").addEventListener("click",
5466function(){document.getElementById("declineWarningDialog").style.display="block";document.getElementById("overlay").style.display="block"});document.getElementById("cancelDialog").addEventListener("click",function(a){a.preventDefault();document.getElementById("warningDialog").style.display="none";document.getElementById("overlay").style.display="none"});document.getElementById("cancelDialog2").addEventListener("click",function(a){a.preventDefault();document.getElementById("declineWarningDialog").style.display=
5467"none";document.getElementById("overlay").style.display="none"});document.getElementById("submitForm").addEventListener("click",function(){document.getElementById("datashareForm").submit()});document.getElementById("submitForm2").addEventListener("click",function(){document.getElementById("datashareForm").submit()})},yU:function(){var a=z("auto_submit");a&&a.submit()},l9:function(a){a.target.form.submit()},qS:function(){var a=z("search"),b=z("results"),c=z("clear");a&&b&&c&&new Y$(a,b,c,!1)},P8:function(){var a=
5468z("print");
5468if(a&&(D(a,"click",cb($$.Q8)),a=ew("H2"),0<a.length&&(a[0].style.pageBreakBefore="auto"),"1"==(new URLSearchParams(La.location.search)).get("clean_links"))){a=ew("A");for(var b=0;b<a.length;b++)a[b].removeAttribute("href");a=B("DIV",{id:"notifyDone"});document.body.appendChild(a)}},CV:function(){for(var a=m(document.getElementsByClassName("content_state")),b=a.next();!b.done;b=a.next())b=b.value,b.addEventListener("change",cb($$.q2,b))},O8:function(){var a=z("support_hours");a&&(a.innerText=
5469Xza())},q2:function(a){a.form.submit()},Q8:function(){var a=z("print_object");if(!w(a))throw Error("print_object element not found for print function");var b=B("IFRAME",{"class":"W",id:"print_object",src:"?print=1"});Kw(b,a);D(b,"load",$$.pS);D(b,"readystatechange",$$.pS);a=z("print").parentElement.firstElementChild;a.style.display="";b=ay(d_);a.appendChild(b)},pS:function(){var a=z("print").parentElement.firstElementChild;a.style.display="none";a.innerHTML=""},iX:function(){var a=z("event_list");
5470if(a){window.setTimeout(function(){a.innerHTML='Session Expired. Please <a href="/iep/events">reload</a> the page to register.'},36E5);for(var b=ew("INPUT"),c=0,d=b.length;c<d;c++){var e=b[c];"submit"==e.type&&D(e,"click",$$.hX)}}},tS:function(){for(var a=z("progress"),b=parseInt(a.dataset.complete,10),c=parseInt(a.dataset.total,10),d=ew("TEXTAREA"),e=0,f=d.length;e<f;e++)0<d[e].value.length&&b++;d=ew("INPUT");e=0;for(f=d.length;e<f;e++){var g=d[e];"radio"==g.type&&g.checked&&b++}a.style.width=Math.round(100*
5471b/c)+"%"},uS:function(a){var b=z(a.target.name+"_count"),c=a.target.value.length;b.style.color=c<a.target.maxLength?"#ccc":"red";b.innerText=c;$$.tS()},T8:function(a){var b="true"==a.target.dataset.checked;b&&(a.target.checked=!1);for(var c=ew("INPUT"),d=0,e=c.length;d<e;d++){var f=c[d];f.name==a.target.name&&(f.dataset.checked="false")}b||(a.target.dataset.checked="true");$$.tS()},U8:function(){if(z("progress")){for(var a=ew("TEXTAREA"),b=0,c=a.length;b<c;b++){var d=a[b];D(d,"keyup",$$.uS);D(d,"change",
5472$$.uS)}a=ew("INPUT");b=0;for(c=a.length;b<c;b++)d=a[b],"radio"==d.type&&D(d,"click",$$.T8)}},hX:function(a){confirm("Complete registration?")||a.preventDefault()},pX:function(){var a=z("list-body");if(a&&(a=a.querySelectorAll(".ul"),0!=a.length)){a=m(a);for(var b=a.next();!b.done;b=a.next())b=b.value,D(b,"click",vya(b));sya();if(a=DK())if(b=z("status-"+a.Wl),"Downloaded"==(b?b.innerText:"Unknown")){a.kk.push(a.Wl);if(b=z("cb-"+a.Wl))b.checked=!1;a.Wl=a.files.shift();if(a.Wl)GK(),EK(a),wya(),HK();
5473else{if(a=z("spinner"))a.style.visibility="hidden";uya("All files have been downloaded.");rya()}}else GK(),HK()}},nX:function(){var a=document.getElementById("multidl-form");a?a.addEventListener("submit",function(d){if(ka(a.querySelectorAll('input[type="checkbox"]')).concat().some(function(f){return f.checked})){FK("");var e=document.getElementById("multidl-submit");e&&(e.disabled=!0,setTimeout(function(){e.disabled=!1},1E3))}else d.preventDefault(),FK("Please select at least one option before submitting.")}):
5474CK.g(Error('Form with ID "multidl-form" not found.'),void 0,!0);var b=new gD,c=document.getElementById("epoch-name").innerText;M(b,1,c);c=new nB;bta(c,[b]);document.getElementById("epoch-date").innerText=tEa(c)}};
5475(function(){bG||(bG=!1);var a=window.location.host.split(":")[0];if(bG||"samegoal.com"==a||"samegoal.dev"==a||a.endsWith(".samegoal.dev")){$$.q_();switch(window.location.pathname){case "/iep/accountEmail":a=A("email_fake_input");var b=z("email_note")||void 0;new pK(a,b);break;case "/iep/forgot":case "/iep/callincode":$$.xJ();$$.Et();break;case "/iep/reset":case "/iep/switch":$$.Et();break;case "/iep/directory":new mK("/iep/a/");$$.Et();break;case "/iep/accountlist":if(0==lK().length)window.location.pathname=
5476"/iep/directory";else{var c=new k6("/iep/a/");c.h.then(function(){0==c.ki.length&&(window.location.pathname="/iep/directory")}).catch(function(){window.location.pathname="/iep/directory"})}$$.Et();break;case "/iep/filePreview":window.addEventListener("storage",$$.L0);break;case "/iep/":if(z("lockout"))break;window.addEventListener("storage",$$.ZM);zK(AK,"b",Nza);fK="https://"+z("bootstrap_msg").dataset.wcshard;Eza();iV()&&(VL=!0);T7();break;case "/iep/g/support/system_requirements":sSa();$$.qS();
5477break;case "/iep/docViewer":if(z("lockout"))break;qVa();break;case "/iep/report":if(z("lockout"))break;if((a=A("features"))&&(a=JSON.parse(a.value))&&(a=a.features)&&a.includes(50)){CWa();break}vVa();break;case "/iep/communication":$$.xV();break;case "/iep/tos":$$.m9();break;case "/iep/acceptance":$$.P5();break;case "/iep/loginbadgedocs":$$.q0();break;case "/iep/lti/launch":$$.yU();break;case "/iep/events":$$.iX();break;case "/iep/survey":$$.U8();break;case "/iep/exiting/dbbackup":$$.nX();break;case "/iep/exiting/pdfexport":$$.pX();
5478break;default:vc(window.location.pathname,"/iep/g/")||"/iep/video"==window.location.pathname?(D(document,"shaka-ui-loaded",OXa),D(document,"shaka-ui-load-failed",PXa),$$.qS(),$$.P8(),$$.CV(),$$.O8()):vc(window.location.pathname,"/deprecatedhost/")?$$.AK():vc(window.location.pathname,"/iep/a/")?(window.localStorage.removeItem("appStart"),window.localStorage.removeItem("reportNotify"),window.localStorage.removeItem("report"),window.addEventListener("storage",$$.ZM),tSa(),$$.Et(),$$.xJ(),$$.AK(),$$.i1(),
5479Zxa(),(a=z("show_suggested_link"))&&0==lK().length&&(a.style.visibility="hidden")):"/iep/mfa"==window.location.pathname&&$$.h1()}a=new Tx;Ux(a,"chat","/iep/s/2yFT_rziWfyix6IVVudGNOrQNfM");Ux(a,"checkmark","/iep/s/IXm9g857Zq_T9BRvaSbfsrworus");Ux(a,"checkmark_outline","/iep/s/8yS4lx0EeMUHg7mAIcZar7vhcfY");Ux(a,"checkbox_checked","/iep/s/bvrp80j3S8mTtq7009N1w2J03Ys");Ux(a,"checkbox_unchecked","/iep/s/tSlGXUxvxzDqCjpjmQmc5oLYFGU");Ux(a,"checkbox_undetermined","/iep/s/kc9nDuD2vY5bH1w38IugUrSn7fs");
5480Ux(a,"close","/iep/s/oRN68-P3UHXyd1DHfXSdoFpZNMo");Ux(a,"close_white","/iep/s/k9HdZKgj_dDApFXmVcE8qHS04VE");Ux(a,"dim","/iep/s/siJGG2Cz3ougK_ty0_aKhXAAZq8");Ux(a,"dim-sel","/iep/s/2BC4NjSy43al-WQCJ-tx79SSK_k");Ux(a,"dropdown","/iep/s/CHx1rrYSvEcgU_Ta0i0c1M-wqN4");Ux(a,"maximize","/iep/s/DInav3KKyoeoevaZUZpSt1GrcZU");Ux(a,"maximize_white","/iep/s/ThjWr0eOKbyLSA1wQsxPRxZiQpY");Ux(a,"minimize","/iep/s/giUOBJjZhNczKHzn7qcCgOiOngg");Ux(a,"minimize_white","/iep/s/a-Hqi93Jt91SB4Ry9-XLwi1eAzU");Ux(a,"page_break",
5481"/iep/s/at0Y_nIxitXsmY-zMgY4rFWGh2g");Ux(a,"paper_clip","/iep/s/hGtnYcMMKBklTLwOvz8jKaYsthQ");Ux(a,"radio_checked","/iep/s/H9H7ha8hjbX8zVwYDbMYHjPihgw");Ux(a,"radio_unchecked","/iep/s/8_RQbpniyzMcJsgEExuOReD0GMg");Ux(a,"star_checked","/iep/s/Lp8JqPqW57Ni74ZBOS_YU-dFt24");Ux(a,"star_unchecked","/iep/s/OHXxgGXTBcP21oc0cT5L4H80Wt4");Ux(a,"student","/iep/s/SEfloI-CDNZji_uPFRaV1myI2P0");a.start()}else"1"==(new URLSearchParams(window.location.search)).get("mitm")?document.body.innerText=
5482"MITM Proxy Detected":window.location="https://samegoal.com/?mitm=1"})();}).call(this);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.