{"size": 586269, "ext": "js", "max_stars_repo_path": "CallystoAndDataScience/modules/interactives/M5_U2/html5/lib/scripts/ds-bootstrap.min.js", "max_stars_repo_name": "lfunderburk/online-courses", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "CallystoAndDataScience/modules/interactives/M5_U2/html5/lib/scripts/ds-bootstrap.min.js", "max_issues_repo_name": "lfunderburk/online-courses", "max_issues_repo_issues_event_min_datetime": "2020-09-25T21:00:56.000Z", "max_issues_repo_issues_event_max_datetime": "2020-10-17T01:31:17.000Z", "max_forks_repo_path": "CallystoAndDataScience/modules/interactives/M5_U2/html5/lib/scripts/ds-bootstrap.min.js", "max_forks_repo_name": "lfunderburk/online-courses", "max_forks_repo_forks_event_min_datetime": "2020-05-08T20:01:12.000Z", "max_forks_repo_forks_event_max_datetime": "2020-09-25T17:46:58.000Z"}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": 4, "avg_line_length": 8257.3098591549, "max_line_length": 223230, "alphanum_fraction": 0.6861457795}
/*! ds-bootstrap - v1.0.0.1209 - 2020-08-7 4:24pm UTC
* Copyright (c) 2020 ; Not Licensed */!function(a){function t(t){for(var e,n,i=t[0],r=t[1],o=0,s=[];o<i.length;o++)n=i[o],Object.prototype.hasOwnProperty.call(l,n)&&l[n]&&s.push(l[n][0]),l[n]=0;for(e in r)Object.prototype.hasOwnProperty.call(r,e)&&(a[e]=r[e]);for(u&&u(t);s.length;)s.shift()()}var n={},l={0:0};function r(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.e=function(){return Promise.resolve()},r.m=a,r.c=n,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r.oe=function(t){throw console.error(t),t};var e=window.webpackJsonp=window.webpackJsonp||[],i=e.push.bind(e);e.push=t,e=e.slice();for(var o=0;o<e.length;o++)t(e[o]);var u=i;r(r.s=55)}([function(t,w,b){(function(m,y){var A;
/**
 * @license
 * lodash 3.10.1 (Custom Build) <https://lodash.com/>
 * Build: `lodash modern -o ./lodash.js`
 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 * Available under MIT license <https://lodash.com/license>
 */(function(){var vr,t,e,mr="3.10.1",yr=1,Ar=2,wr=4,br=8,_r=16,Sr=32,Tr=64,xr=128,Er=256,Cr=30,kr="...",Or=150,Rr=16,Pr=200,Ir=1,Lr=2,Mr="Expected a function",Dr="__lodash_placeholder__",Nr="[object Arguments]",jr="[object Array]",Vr="[object Boolean]",Fr="[object Date]",Hr="[object Error]",Ur="[object Function]",n="[object Map]",Wr="[object Number]",Br="[object Object]",qr="[object RegExp]",i="[object Set]",zr="[object String]",r="[object WeakMap]",Gr="[object ArrayBuffer]",Xr="[object Float32Array]",Yr="[object Float64Array]",Jr="[object Int8Array]",Kr="[object Int16Array]",$r="[object Int32Array]",Qr="[object Uint8Array]",Zr="[object Uint8ClampedArray]",to="[object Uint16Array]",eo="[object Uint32Array]",no=/\b__p \+= '';/g,io=/\b(__p \+=) '' \+/g,ro=/(__e\(.*?\)|\b__t\)) \+\n'';/g,oo=/&(?:amp|lt|gt|quot|#39|#96);/g,so=/[&<>"'`]/g,ao=RegExp(oo.source),lo=RegExp(so.source),uo=/<%-([\s\S]+?)%>/g,co=/<%([\s\S]+?)%>/g,ho=/<%=([\s\S]+?)%>/g,fo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,po=/^\w*$/,go=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,vo=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,mo=RegExp(vo.source),yo=/[\u0300-\u036f\ufe20-\ufe23]/g,Ao=/\\(\\)?/g,wo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bo=/\w*$/,_o=/^0[xX]/,So=/^\[object .+?Constructor\]$/,To=/^\d+$/,xo=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Eo=/($^)/,Co=/['\n\r\u2028\u2029\\]/g,ko=(t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",e="[a-z\\xdf-\\xf6\\xf8-\\xff]+",RegExp(t+"+(?="+t+e+")|"+t+"?"+e+"|"+t+"+|[0-9]+","g")),Oo=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Ro=-1,Po={};Po[Xr]=Po[Yr]=Po[Jr]=Po[Kr]=Po[$r]=Po[Qr]=Po[Zr]=Po[to]=Po[eo]=!0,Po[Nr]=Po[jr]=Po[Gr]=Po[Vr]=Po[Fr]=Po[Hr]=Po[Ur]=Po[n]=Po[Wr]=Po[Br]=Po[qr]=Po[i]=Po[zr]=Po[r]=!1;var Io={};Io[Nr]=Io[jr]=Io[Gr]=Io[Vr]=Io[Fr]=Io[Xr]=Io[Yr]=Io[Jr]=Io[Kr]=Io[$r]=Io[Wr]=Io[Br]=Io[qr]=Io[zr]=Io[Qr]=Io[Zr]=Io[to]=Io[eo]=!0,Io[Hr]=Io[Ur]=Io[n]=Io[i]=Io[r]=!1;var o={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},a={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},l={function:!0,object:!0},u={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},c={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},h=l[typeof w]&&w&&!w.nodeType&&w,f=l[typeof m]&&m&&!m.nodeType&&m,d=h&&f&&"object"==typeof y&&y&&y.Object&&y,p=l[typeof self]&&self&&self.Object&&self,g=l[typeof window]&&window&&window.Object&&window,Lo=(f&&f.exports,d||g!==(this&&this.window)&&g||p||this);function Mo(t,e){if(t!==e){var n=null===t,i=t===vr,r=t==t,o=null===e,s=e===vr,a=e==e;if(e<t&&!o||!r||n&&!s&&a||i&&a)return 1;if(t<e&&!n||!a||o&&!i&&r||s&&r)return-1}return 0}function Do(t,e,n){for(var i=t.length,r=n?i:-1;n?r--:++r<i;)if(e(t[r],r,t))return r;return-1}function No(t,e,n){if(e!=e)return Go(t,n);for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}function jo(t){return"function"==typeof t||!1}function Vo(t){return null==t?"":t+""}function Fo(t,e){for(var n=-1,i=t.length;++n<i&&-1<e.indexOf(t.charAt(n)););return n}function Ho(t,e){for(var n=t.length;n--&&-1<e.indexOf(t.charAt(n)););return n}function Uo(t,e){return Mo(t.criteria,e.criteria)||t.index-e.index}function Wo(t){return o[t]}function Bo(t){return s[t]}function qo(t,e,n){return e?t=u[t]:n&&(t=c[t]),"\\"+t}function zo(t){return"\\"+c[t]}function Go(t,e,n){for(var i=t.length,r=e+(n?0:-1);n?r--:++r<i;){var o=t[r];if(o!=o)return r}return-1}function Xo(t){return!!t&&"object"==typeof t}function v(t){return t<=160&&9<=t&&t<=13||32==t||160==t||5760==t||6158==t||8192<=t&&(t<=8202||8232==t||8233==t||8239==t||8287==t||12288==t||65279==t)}function Yo(t,e){for(var n=-1,i=t.length,r=-1,o=[];++n<i;)t[n]===e&&(t[n]=Dr,o[++r]=n);return o}function Jo(t){for(var e=-1,n=t.length;++e<n&&v(t.charCodeAt(e)););return e}function Ko(t){for(var e=t.length;e--&&v(t.charCodeAt(e)););return e}function $o(t){return a[t]}var Qo=function t(e){var O=(e=e?Qo.defaults(Lo.Object(),e,Qo.pick(Lo,Oo)):Lo).Array,n=e.Date,i=e.Error,v=e.Function,r=e.Math,o=e.Number,f=e.Object,m=e.RegExp,s=e.String,y=e.TypeError,a=O.prototype,l=f.prototype,u=s.prototype,c=v.prototype.toString,A=l.hasOwnProperty,h=0,w=l.toString,d=Lo._,p=m("^"+c.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=e.ArrayBuffer,b=e.clearTimeout,_=e.parseFloat,S=r.pow,T=l.propertyIsEnumerable,x=je(e,"Set"),E=e.setTimeout,C=a.splice,k=e.Uint8Array,R=je(e,"WeakMap"),P=r.ceil,I=je(f,"create"),L=r.floor,M=je(O,"isArray"),D=e.isFinite,N=je(f,"keys"),j=r.max,V=r.min,F=je(n,"now"),H=e.parseInt,U=r.random,W=o.NEGATIVE_INFINITY,B=o.POSITIVE_INFINITY,q=4294967295,z=q-1,G=q>>>1,X=9007199254740991,Y=R&&new R,J={};function K(t){if(Xo(t)&&!fi(t)&&!(t instanceof Z)){if(t instanceof Q)return t;if(A.call(t,"__chain__")&&A.call(t,"__wrapped__"))return en(t)}return new Q(t)}function $(){}function Q(t,e,n){this.__wrapped__=t,this.__actions__=n||[],this.__chain__=!!e}K.support={};function Z(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function tt(){this.__data__={}}function et(t){var e=t?t.length:0;for(this.data={hash:I(null),set:new x};e--;)this.push(t[e])}function nt(t,e){var n=t.data;return("string"==typeof e||vi(e)?n.set.has(e):n.hash[e])?0:-1}function it(t,e){var n=-1,i=t.length;for(e=e||O(i);++n<i;)e[n]=t[n];return e}function rt(t,e){for(var n=-1,i=t.length;++n<i&&!1!==e(t[n],n,t););return t}function ot(t,e){for(var n=-1,i=t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function st(t,e){for(var n=-1,i=t.length,r=-1,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[++r]=s)}return o}function at(t,e){for(var n=-1,i=t.length,r=O(i);++n<i;)r[n]=e(t[n],n,t);return r}function lt(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function ut(t,e,n,i){var r=-1,o=t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function ct(t,e){for(var n=-1,i=t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}function ht(t,e,n,i){return t!==vr&&A.call(i,n)?t:e}function ft(t,e,n){for(var i=-1,r=ji(e),o=r.length;++i<o;){var s=r[i],a=t[s],l=n(a,e[s],s,t,e);(l==l?l===a:a!=a)&&(a!==vr||s in t)||(t[s]=l)}return t}function dt(t,e){return null==e?t:gt(e,ji(e),t)}function pt(t,e){for(var n=-1,i=null==t,r=!i&&Fe(t),o=r?t.length:0,s=e.length,a=O(s);++n<s;){var l=e[n];a[n]=r?He(l,o)?t[l]:vr:i?vr:t[l]}return a}function gt(t,e,n){n=n||{};for(var i=-1,r=e.length;++i<r;){var o=e[i];n[o]=t[o]}return n}function vt(t,e,n){var i=typeof t;return"function"==i?e===vr?t:te(t,e,n):null==t?ir:"object"==i?Vt(t):e===vr?ur(t):Ft(t,e)}function mt(n,i,r,t,e,o,s){var a;if(r&&(a=e?r(n,t,e):r(n)),a!==vr)return a;if(!vi(n))return n;var l=fi(n);if(l){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&A.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(n),!i)return it(n,a)}else{var u=w.call(n),c=u==Ur;if(u!=Br&&u!=Nr&&(!c||e))return Io[u]?function(t,e,n){var i=t.constructor;switch(e){case Gr:return ee(t);case Vr:case Fr:return new i(+t);case Xr:case Yr:case Jr:case Kr:case $r:case Qr:case Zr:case to:case eo:var r=t.buffer;return new i(n?ee(r):r,t.byteOffset,t.length);case Wr:case zr:return new i(t);case qr:var o=new i(t.source,bo.exec(t));o.lastIndex=t.lastIndex}return o}(n,u,i):e?n:{};if(a=function(t){var e=t.constructor;return"function"==typeof e&&e instanceof e||(e=f),new e}(c?{}:n),!i)return dt(a,n)}s=s||[];for(var h=(o=o||[]).length;h--;)if(o[h]==n)return s[h];return o.push(n),s.push(a),(l?rt:Pt)(n,function(t,e){a[e]=mt(t,i,r,e,n,o,s)}),a}K.templateSettings={escape:uo,evaluate:co,interpolate:ho,variable:"",imports:{_:K}};var yt=function(t){if(vi(t)){At.prototype=t;var e=new At;At.prototype=vr}return e||{}};function At(){}function wt(t,e,n){if("function"!=typeof t)throw new y(Mr);return E(function(){t.apply(vr,n)},e)}function bt(t,e){var n=t?t.length:0,i=[];if(!n)return i;var r=-1,o=Me(),s=o===No,a=s&&e.length>=Pr?le(e):null,l=e.length;a&&(o=nt,s=!1,e=a);t:for(;++r<n;){var u=t[r];if(s&&u==u){for(var c=l;c--;)if(e[c]===u)continue t;i.push(u)}else o(e,u,0)<0&&i.push(u)}return i}var _t=se(Pt),St=se(It,!0);function Tt(t,i){var r=!0;return _t(t,function(t,e,n){return r=!!i(t,e,n)}),r}function xt(t,i){var r=[];return _t(t,function(t,e,n){i(t,e,n)&&r.push(t)}),r}function Et(t,i,e,r){var o;return e(t,function(t,e,n){if(i(t,e,n))return o=r?e:t,!1}),o}function Ct(t,e,n,i){i=i||[];for(var r=-1,o=t.length;++r<o;){var s=t[r];Xo(s)&&Fe(s)&&(n||fi(s)||hi(s))?e?Ct(s,e,n,i):lt(i,s):n||(i[i.length]=s)}return i}var kt=ae(),Ot=ae(!0);function Rt(t,e){return kt(t,e,Vi)}function Pt(t,e){return kt(t,e,ji)}function It(t,e){return Ot(t,e,ji)}function Lt(t,e){for(var n=-1,i=e.length,r=-1,o=[];++n<i;){var s=e[n];gi(t[s])&&(o[++r]=s)}return o}function Mt(t,e,n){if(null!=t){n!==vr&&n in Ze(t)&&(e=[n]);for(var i=0,r=e.length;null!=t&&i<r;)t=t[e[i++]];return i&&i==r?t:vr}}function Dt(t,e,n,i,r,o){return t===e||(null==t||null==e||!vi(t)&&!Xo(e)?t!=t&&e!=e:function(t,e,n,i,r,o,s){var a=fi(t),l=fi(e),u=jr,c=jr;a||((u=w.call(t))==Nr?u=Br:u!=Br&&(a=_i(t))),l||((c=w.call(e))==Nr?c=Br:c!=Br&&(l=_i(e)));var h=u==Br,f=c==Br,d=u==c;if(d&&!a&&!h)return function(t,e,n){switch(n){case Vr:case Fr:return+t==+e;case Hr:return t.name==e.name&&t.message==e.message;case Wr:return t!=+t?e!=+e:t==+e;case qr:case zr:return t==e+""}return!1}(t,e,u);if(!r){var p=h&&A.call(t,"__wrapped__"),g=f&&A.call(e,"__wrapped__");if(p||g)return n(p?t.value():t,g?e.value():e,i,r,o,s)}if(!d)return!1;s=s||[];for(var v=(o=o||[]).length;v--;)if(o[v]==t)return s[v]==e;o.push(t),s.push(e);var m=(a?function(t,e,n,i,r,o,s){var a=-1,l=t.length,u=e.length;if(l!=u&&!(r&&l<u))return!1;for(;++a<l;){var c=t[a],h=e[a],f=i?i(r?h:c,r?c:h,a):vr;if(f!==vr){if(f)continue;return!1}if(r){if(!ct(e,function(t){return c===t||n(c,t,i,r,o,s)}))return!1}else if(c!==h&&!n(c,h,i,r,o,s))return!1}return!0}:function(t,e,n,i,r,o,s){var a=ji(t),l=a.length,u=ji(e).length;if(l!=u&&!r)return!1;for(var c=l;c--;){var h=a[c];if(!(r?h in e:A.call(e,h)))return!1}for(var f=r;++c<l;){h=a[c];var d=t[h],p=e[h],g=i?i(r?p:d,r?d:p,h):vr;if(!(g===vr?n(d,p,i,r,o,s):g))return!1;f=f||"constructor"==h}if(!f){var v=t.constructor,m=e.constructor;if(v!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof v&&v instanceof v&&"function"==typeof m&&m instanceof m))return!1}return!0})(t,e,n,i,r,o,s);return o.pop(),s.pop(),m}(t,e,Dt,n,i,r,o))}function Nt(t,e,n){var i=e.length,r=i,o=!n;if(null==t)return!r;for(t=Ze(t);i--;){var s=e[i];if(o&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<r;){var a=(s=e[i])[0],l=t[a],u=s[1];if(o&&s[2]){if(l===vr&&!(a in t))return!1}else{var c=n?n(l,u,a):vr;if(!(c===vr?Dt(u,l,n,!0):c))return!1}}return!0}function jt(t,i){var r=-1,o=Fe(t)?O(t.length):[];return _t(t,function(t,e,n){o[++r]=i(t,e,n)}),o}function Vt(t){var e=Ne(t);if(1==e.length&&e[0][2]){var n=e[0][0],i=e[0][1];return function(t){return null!=t&&t[n]===i&&(i!==vr||n in Ze(t))}}return function(t){return Nt(t,e)}}function Ft(n,i){var r=fi(n),o=We(n)&&ze(i),s=n+"";return n=tn(n),function(t){if(null==t)return!1;var e=s;if(t=Ze(t),(r||!o)&&!(e in t)){if(null==(t=1==n.length?t:Mt(t,qt(n,0,-1))))return!1;e=hn(n),t=Ze(t)}return t[e]===i?i!==vr||e in t:Dt(i,t[e],vr,!0)}}function Ht(e){return function(t){return null==t?vr:t[e]}}function Ut(t,e){for(var n=t?e.length:0;n--;){var i=e[n];if(i!=r&&He(i)){var r=i;C.call(t,i,1)}}return t}function Wt(t,e){return t+L(U()*(e-t+1))}var Bt=Y?function(t,e){return Y.set(t,e),t}:ir;function qt(t,e,n){var i=-1,r=t.length;(e=null!=e&&+e||0)<0&&(e=r<-e?0:r+e),(n=n===vr||r<n?r:+n||0)<0&&(n+=r),r=n<e?0:n-e>>>0,e>>>=0;for(var o=O(r);++i<r;)o[i]=t[i+e];return o}function zt(t,i){var r;return _t(t,function(t,e,n){return!(r=i(t,e,n))}),!!r}function Gt(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function Xt(t,n,i){var e=Pe(),r=-1;return n=at(n,function(t){return e(t)}),Gt(jt(t,function(e){return{criteria:at(n,function(t){return t(e)}),index:++r,value:e}}),function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=Mo(r[i],o[i]);if(l){if(a<=i)return l;var u=n[i];return l*("asc"===u||!0===u?1:-1)}}return t.index-e.index}(t,e,i)})}function Yt(t,e){var n=-1,i=Me(),r=t.length,o=i===No,s=o&&Pr<=r,a=s?le():null,l=[];a?(i=nt,o=!1):(s=!1,a=e?[]:l);t:for(;++n<r;){var u=t[n],c=e?e(u,n,t):u;if(o&&u==u){for(var h=a.length;h--;)if(a[h]===c)continue t;e&&a.push(c),l.push(u)}else i(a,c,0)<0&&((e||s)&&a.push(c),l.push(u))}return l}function Jt(t,e){for(var n=-1,i=e.length,r=O(i);++n<i;)r[n]=t[e[n]];return r}function Kt(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?qt(t,i?0:o,i?o+1:r):qt(t,i?o+1:0,i?r:o)}function $t(t,e){var n=t;n instanceof Z&&(n=n.value());for(var i=-1,r=e.length;++i<r;){var o=e[i];n=o.func.apply(o.thisArg,lt([n],o.args))}return n}function Qt(t,e,n){var i=0,r=t?t.length:i;if("number"==typeof e&&e==e&&r<=G){for(;i<r;){var o=i+r>>>1,s=t[o];(n?s<=e:s<e)&&null!==s?i=1+o:r=o}return r}return Zt(t,e,ir,n)}function Zt(t,e,n,i){e=n(e);for(var r=0,o=t?t.length:0,s=e!=e,a=null===e,l=e===vr;r<o;){var u=L((r+o)/2),c=n(t[u]),h=c!==vr,f=c==c;if(s)var d=f||i;else d=a?f&&h&&(i||null!=c):l?f&&(i||h):null!=c&&(i?c<=e:c<e);d?r=u+1:o=u}return V(o,z)}function te(o,s,t){if("function"!=typeof o)return ir;if(s===vr)return o;switch(t){case 1:return function(t){return o.call(s,t)};case 3:return function(t,e,n){return o.call(s,t,e,n)};case 4:return function(t,e,n,i){return o.call(s,t,e,n,i)};case 5:return function(t,e,n,i,r){return o.call(s,t,e,n,i,r)}}return function(){return o.apply(s,arguments)}}function ee(t){var e=new g(t.byteLength);return new k(e).set(new k(t)),e}function ne(t,e,n){for(var i=n.length,r=-1,o=j(t.length-i,0),s=-1,a=e.length,l=O(a+o);++s<a;)l[s]=e[s];for(;++r<i;)l[n[r]]=t[r];for(;o--;)l[s++]=t[r++];return l}function ie(t,e,n){for(var i=-1,r=n.length,o=-1,s=j(t.length-r,0),a=-1,l=e.length,u=O(s+l);++o<s;)u[o]=t[o];for(var c=o;++a<l;)u[c+a]=e[a];for(;++i<r;)u[c+n[i]]=t[o++];return u}function re(a,l){return function(t,i,e){var r=l?l():{};if(i=Pe(i,e,3),fi(t))for(var n=-1,o=t.length;++n<o;){var s=t[n];a(r,s,i(s,n,t),t)}else _t(t,function(t,e,n){a(r,t,i(t,e,n),n)});return r}}function oe(l){return ui(function(t,e){var n=-1,i=null==t?0:e.length,r=2<i?e[i-2]:vr,o=2<i?e[2]:vr,s=1<i?e[i-1]:vr;for("function"==typeof r?(r=te(r,s,5),i-=2):i-=(r="function"==typeof s?s:vr)?1:0,o&&Ue(e[0],e[1],o)&&(r=i<3?vr:r,i=1);++n<i;){var a=e[n];a&&l(t,a,r)}return t})}function se(o,s){return function(t,e){var n=t?De(t):0;if(!qe(n))return o(t,e);for(var i=s?n:-1,r=Ze(t);(s?i--:++i<n)&&!1!==e(r[i],i,r););return t}}function ae(l){return function(t,e,n){for(var i=Ze(t),r=n(t),o=r.length,s=l?o:-1;l?s--:++s<o;){var a=r[s];if(!1===e(i[a],a,i))break}return t}}function le(t){return I&&x?new et(t):null}function ue(o){return function(t){for(var e=-1,n=tr(Gi(t)),i=n.length,r="";++e<i;)r=o(r,n[e],e);return r}}function ce(i){return function(){var t=arguments;switch(t.length){case 0:return new i;case 1:return new i(t[0]);case 2:return new i(t[0],t[1]);case 3:return new i(t[0],t[1],t[2]);case 4:return new i(t[0],t[1],t[2],t[3]);case 5:return new i(t[0],t[1],t[2],t[3],t[4]);case 6:return new i(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new i(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var e=yt(i.prototype),n=i.apply(e,t);return vi(n)?n:e}}function he(o){return function t(e,n,i){i&&Ue(e,n,i)&&(n=vr);var r=Re(e,o,vr,vr,vr,vr,vr,n);return r.placeholder=t.placeholder,r}}function fe(n,i){return ui(function(t){var e=t[0];return null==e?e:(t.push(i),n.apply(vr,t))})}function de(u,c){return function(t,e,n){if(n&&Ue(t,e,n)&&(e=vr),1==(e=Pe(e,n,3)).length){var i=function(t,e,n,i){for(var r=-1,o=t.length,s=i,a=s;++r<o;){var l=t[r],u=+e(l);n(u,s)&&(s=u,a=l)}return a}(t=fi(t)?t:Qe(t),e,u,c);if(!t.length||i!==c)return i}return r=e,o=u,l=a=s=c,_t(t,function(t,e,n){var i=+r(t,e,n);(o(i,a)||i===s&&i===l)&&(a=i,l=t)}),l;var r,o,s,a,l}}function pe(r,o){return function(t,e,n){if(e=Pe(e,n,3),fi(t)){var i=Do(t,e,o);return-1<i?t[i]:vr}return Et(t,e,r)}}function ge(i){return function(t,e,n){return t&&t.length?Do(t,e=Pe(e,n,3),i):-1}}function ve(i){return function(t,e,n){return Et(t,e=Pe(e,n,3),i,!0)}}function me(l){return function(){for(var r,o=arguments.length,t=l?o:-1,e=0,s=O(o);l?t--:++t<o;){var n=s[e++]=arguments[t];if("function"!=typeof n)throw new y(Mr);!r&&Q.prototype.thru&&"wrapper"==Le(n)&&(r=new Q([],!0))}for(t=r?-1:o;++t<o;){var i=Le(n=s[t]),a="wrapper"==i?Ie(n):vr;r=a&&Be(a[0])&&a[1]==(xr|br|Sr|Er)&&!a[4].length&&1==a[9]?r[Le(a[0])].apply(r,a[3]):1==n.length&&Be(n)?r[i]():r.thru(n)}return function(){var t=arguments,e=t[0];if(r&&1==t.length&&fi(e)&&e.length>=Pr)return r.plant(e).value();for(var n=0,i=o?s[n].apply(this,t):e;++n<o;)i=s[n].call(this,i);return i}}}function ye(i,r){return function(t,e,n){return"function"==typeof e&&n===vr&&fi(t)?i(t,e):r(t,te(e,n,3))}}function Ae(i){return function(t,e,n){return"function"==typeof e&&n===vr||(e=te(e,n,3)),i(t,e,Vi)}}function we(i){return function(t,e,n){return"function"==typeof e&&n===vr||(e=te(e,n,3)),i(t,e)}}function be(s){return function(t,r,e){var o={};return r=Pe(r,e,3),Pt(t,function(t,e,n){var i=r(t,e,n);t=s?t:i,o[e=s?i:e]=t}),o}}function _e(i){return function(t,e,n){return t=Vo(t),(i?t:"")+Ee(t,e,n)+(i?"":t)}}function Se(i){var r=ui(function(t,e){var n=Yo(e,r.placeholder);return Re(t,i,vr,e,n)});return r}function Te(u,c){return function(t,e,n,i){var r,o,s,a,l=arguments.length<3;return"function"==typeof e&&i===vr&&fi(t)?u(t,e,n,l):(r=t,o=Pe(e,i,4),s=n,a=l,c(r,function(t,e,n){s=a?(a=!1,t):o(s,t,e,n)}),s)}}function xe(f,d,p,g,v,m,y,A,w,b){var _=d&xr,S=d&yr,T=d&Ar,x=d&br,E=d&wr,C=d&_r,k=T?vr:ce(f);return function t(){for(var e=arguments.length,n=e,i=O(e);n--;)i[n]=arguments[n];if(g&&(i=ne(i,g,v)),m&&(i=ie(i,m,y)),x||C){var r=t.placeholder,o=Yo(i,r);if((e-=o.length)<b){var s=A?it(A):vr,a=j(b-e,0);d|=x?Sr:Tr,d&=~(x?Tr:Sr),E||(d&=~(yr|Ar));var l=[f,d,p,x?i:vr,x?o:vr,x?vr:i,x?vr:o,s,w,a],u=xe.apply(vr,l);return Be(f)&&Ke(u,l),u.placeholder=r,u}}var c=S?p:this,h=T?c[f]:f;return A&&(i=function(t,e){for(var n=t.length,i=V(e.length,n),r=it(t);i--;){var o=e[i];t[i]=He(o,n)?r[o]:vr}return t}(i,A)),_&&w<i.length&&(i.length=w),this&&this!==Lo&&this instanceof t&&(h=k||ce(f)),h.apply(c,i)}}function Ee(t,e,n){var i=t.length;if((e=+e)<=i||!D(e))return"";var r=e-i;return Ki(n=null==n?" ":n+"",P(r/n.length)).slice(0,r)}function Ce(s,t,a,l){var u=t&yr,c=ce(s);return function t(){for(var e=-1,n=arguments.length,i=-1,r=l.length,o=O(r+n);++i<r;)o[i]=l[i];for(;n--;)o[i++]=arguments[++e];return(this&&this!==Lo&&this instanceof t?c:s).apply(u?a:this,o)}}function ke(t){var n=r[t];return function(t,e){return(e=e!==vr&&+e||0)?(e=S(10,e),n(t*e)/e):n(t)}}function Oe(o){return function(t,e,n,i){var r=Pe(n);return null==n&&r===vt?Qt(t,e,o):Zt(t,e,r(n,i,1),o)}}function Re(t,e,n,i,r,o,s,a){var l=e&Ar;if(!l&&"function"!=typeof t)throw new y(Mr);var u=i?i.length:0;if(u||(e&=~(Sr|Tr),i=r=vr),u-=r?r.length:0,e&Tr){var c=i,h=r;i=r=vr}var f,d,p,g=l?vr:Ie(t),v=[t,e,n,i,r,c,h,o,s,a];if(g&&(function(t,e){var n=t[1],i=e[1],r=n|i,o=r<xr,s=i==xr&&n==br||i==xr&&n==Er&&t[7].length<=e[8]||i==(xr|Er)&&n==br;if(o||s){i&yr&&(t[2]=e[2],r|=n&yr?0:wr);var a=e[3];if(a){var l=t[3];t[3]=l?ne(l,a,e[4]):it(a),t[4]=l?Yo(t[3],Dr):it(e[4])}(a=e[5])&&(l=t[5],t[5]=l?ie(l,a,e[6]):it(a),t[6]=l?Yo(t[5],Dr):it(e[6])),(a=e[7])&&(t[7]=it(a)),i&xr&&(t[8]=null==t[8]?e[8]:V(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}}(v,g),e=v[1],a=v[9]),v[9]=null==a?l?0:t.length:j(a-u,0)||0,e==yr)var m=(f=v[0],d=v[2],p=ce(f),function t(){return(this&&this!==Lo&&this instanceof t?p:f).apply(d,arguments)});else m=e!=Sr&&e!=(yr|Sr)||v[4].length?xe.apply(vr,v):Ce.apply(vr,v);return(g?Bt:Ke)(m,v)}function Pe(t,e,n){var i=K.callback||nr;return i=i===nr?vt:i,n?i(t,e,n):i}var Ie=Y?function(t){return Y.get(t)}:lr;function Le(t){for(var e=t.name+"",n=J[e],i=n?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Me(t,e,n){var i=K.indexOf||un;return i=i===un?No:i,t?i(t,e,n):i}var De=Ht("length");function Ne(t){for(var e=Wi(t),n=e.length;n--;)e[n][2]=ze(e[n][1]);return e}function je(t,e){var n=null==t?vr:t[e];return mi(n)?n:vr}function Ve(t,e,n){null==t||We(e,t)||(t=1==(e=tn(e)).length?t:Mt(t,qt(e,0,-1)),e=hn(e));var i=null==t?t:t[e];return null==i?vr:i.apply(t,n)}function Fe(t){return null!=t&&qe(De(t))}function He(t,e){return t="number"==typeof t||To.test(t)?+t:-1,e=null==e?X:e,-1<t&&t%1==0&&t<e}function Ue(t,e,n){if(vi(n)){var i=typeof e;if("number"==i?Fe(n)&&He(e,n.length):"string"==i&&e in n){var r=n[e];return t==t?t===r:r!=r}}}function We(t,e){var n=typeof t;return!!("string"==n&&po.test(t)||"number"==n)||!fi(t)&&(!fo.test(t)||null!=e&&t in Ze(e))}function Be(t){var e=Le(t),n=K[e];if("function"==typeof n&&e in Z.prototype){if(t===n)return 1;var i=Ie(n);return i&&t===i[0]}}function qe(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=X}function ze(t){return t==t&&!vi(t)}function Ge(t,e){t=Ze(t);for(var n=-1,i=e.length,r={};++n<i;){var o=e[n];o in t&&(r[o]=t[o])}return r}function Xe(t,i){var r={};return Rt(t,function(t,e,n){i(t,e,n)&&(r[e]=t)}),r}var Ye,Je,Ke=(Je=Ye=0,function(t,e){var n=Gn(),i=Rr-(n-Je);if(Je=n,0<i){if(++Ye>=Or)return t}else Ye=0;return Bt(t,e)});function $e(t){for(var e=Vi(t),n=e.length,i=n&&t.length,r=!!i&&qe(i)&&(fi(t)||hi(t)),o=-1,s=[];++o<n;){var a=e[o];(r&&He(a,i)||A.call(t,a))&&s.push(a)}return s}function Qe(t){return null==t?[]:Fe(t)?vi(t)?t:f(t):qi(t)}function Ze(t){return vi(t)?t:f(t)}function tn(t){if(fi(t))return t;var r=[];return Vo(t).replace(go,function(t,e,n,i){r.push(n?i.replace(Ao,"$1"):e||t)}),r}function en(t){return t instanceof Z?t.clone():new Q(t.__wrapped__,t.__chain__,it(t.__actions__))}var nn=ui(function(t,e){return Xo(t)&&Fe(t)?bt(t,Ct(e,!1,!0)):[]});function rn(t,e,n){return t&&t.length?((n?Ue(t,e,n):null==e)&&(e=1),qt(t,e<0?0:e)):[]}function on(t,e,n){var i=t?t.length:0;return i?((n?Ue(t,e,n):null==e)&&(e=1),qt(t,0,(e=i-(+e||0))<0?0:e)):[]}var sn=ge(),an=ge(!0);function ln(t){return t?t[0]:vr}function un(t,e,n){var i=t?t.length:0;if(!i)return-1;if("number"==typeof n)n=n<0?j(i+n,0):n;else if(n){var r=Qt(t,e);return r<i&&(e==e?e===t[r]:t[r]!=t[r])?r:-1}return No(t,e,n||0)}var cn=ui(function(t){for(var e=t.length,n=e,i=O(c),r=Me(),o=r===No,s=[];n--;){var a=t[n]=Fe(a=t[n])?a:[];i[n]=o&&120<=a.length?le(n&&a):null}var l=t[0],u=-1,c=l?l.length:0,h=i[0];t:for(;++u<c;)if(a=l[u],(h?nt(h,a):r(s,a,0))<0){for(n=e;--n;){var f=i[n];if((f?nt(f,a):r(t[n],a,0))<0)continue t}h&&h.push(a),s.push(a)}return s});function hn(t){var e=t?t.length:0;return e?t[e-1]:vr}var fn=ui(function(t,e){var n=pt(t,e=Ct(e));return Ut(t,e.sort(Mo)),n});function dn(t){return rn(t,1)}var pn=Oe(),gn=Oe(!0);var vn=ui(function(t){return Yt(Ct(t,!1,!0))});function mn(t,e,n,i){if(!t||!t.length)return[];null!=e&&"boolean"!=typeof e&&(n=Ue(t,e,i=n)?vr:e,e=!1);var r=Pe();return null==n&&r===vt||(n=r(n,i,3)),(e&&Me()===No?function(t,e){for(var n,i=-1,r=t.length,o=-1,s=[];++i<r;){var a=t[i],l=e?e(a,i,t):a;i&&n===l||(n=l,s[++o]=a)}return s}:Yt)(t,n)}function yn(t){if(!t||!t.length)return[];var e=-1,n=0;t=st(t,function(t){return Fe(t)&&(n=j(t.length,n),1)});for(var i=O(n);++e<n;)i[e]=at(t,Ht(e));return i}function An(t,e,n){if(!t||!t.length)return[];var i=yn(t);return null==e?i:(e=te(e,n,4),at(i,function(t){return ut(t,e,vr,!0)}))}var wn=ui(function(t,e){return Fe(t)?bt(t,e):[]});var bn=ui(yn);function _n(t,e){var n=-1,i=t?t.length:0,r={};for(!i||e||fi(t[0])||(e=[]);++n<i;){var o=t[n];e?r[o]=e[n]:o&&(r[o[0]]=o[1])}return r}var Sn=ui(function(t){var e=t.length,n=2<e?t[e-2]:vr,i=1<e?t[e-1]:vr;return 2<e&&"function"==typeof n?e-=2:(n=1<e&&"function"==typeof i?(--e,i):vr,i=vr),t.length=e,An(t,n,i)});function Tn(t){var e=K(t);return e.__chain__=!0,e}function xn(t,e,n){return e.call(n,t)}var En=ui(function(e){return e=Ct(e),this.thru(function(t){return function(t,e){for(var n=-1,i=t.length,r=-1,o=e.length,s=O(i+o);++n<i;)s[n]=t[n];for(;++r<o;)s[n++]=e[r];return s}(fi(t)?t:[Ze(t)],e)})});var Cn=ui(function(t,e){return pt(t,Ct(e))}),kn=re(function(t,e,n){A.call(t,n)?++t[n]:t[n]=1});function On(t,e,n){var i=fi(t)?ot:Tt;return n&&Ue(t,e,n)&&(e=vr),"function"==typeof e&&n===vr||(e=Pe(e,n,3)),i(t,e)}function Rn(t,e,n){return(fi(t)?st:xt)(t,e=Pe(e,n,3))}var Pn=pe(_t),In=pe(St,!0);var Ln=ye(rt,_t),Mn=ye(function(t,e){for(var n=t.length;n--&&!1!==e(t[n],n,t););return t},St),Dn=re(function(t,e,n){A.call(t,n)?t[n].push(e):t[n]=[e]});function Nn(t,e,n,i){var r=t?De(t):0;return qe(r)||(r=(t=qi(t)).length),n="number"!=typeof n||i&&Ue(e,n,i)?0:n<0?j(r+n,0):n||0,"string"==typeof t||!fi(t)&&bi(t)?n<=r&&-1<t.indexOf(e,n):!!r&&-1<Me(t,e,n)}var jn=re(function(t,e,n){t[n]=e}),Vn=ui(function(t,n,i){var r=-1,o="function"==typeof n,s=We(n),a=Fe(t)?O(t.length):[];return _t(t,function(t){var e=o?n:s&&null!=t?t[n]:vr;a[++r]=e?e.apply(t,i):Ve(t,n,i)}),a});function Fn(t,e,n){return(fi(t)?at:jt)(t,e=Pe(e,n,3))}var Hn=re(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Un=Te(ut,_t),Wn=Te(function(t,e,n,i){var r=t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n},St);function Bn(t,e,n){if(n?Ue(t,e,n):null==e)return 0<(i=(t=Qe(t)).length)?t[Wt(0,i-1)]:vr;var i,r=-1,o=Ti(t),s=(i=o.length)-1;for(e=V(!(e<0)&&+e||0,i);++r<e;){var a=Wt(r,s),l=o[a];o[a]=o[r],o[r]=l}return o.length=e,o}function qn(t,e,n){var i=fi(t)?ct:zt;return n&&Ue(t,e,n)&&(e=vr),"function"==typeof e&&n===vr||(e=Pe(e,n,3)),i(t,e)}var zn=ui(function(t,e){if(null==t)return[];var n=e[2];return n&&Ue(e[0],e[1],n)&&(e.length=1),Xt(t,Ct(e),[])});var Gn=F||function(){return(new n).getTime()};function Xn(t,e){var n;if("function"!=typeof e){if("function"!=typeof t)throw new y(Mr);var i=t;t=e,e=i}return function(){return 0<--t&&(n=e.apply(this,arguments)),t<=1&&(e=vr),n}}var Yn=ui(function(t,e,n){var i=yr;if(n.length){var r=Yo(n,Yn.placeholder);i|=Sr}return Re(t,i,e,n,r)}),Jn=ui(function(t,e){for(var n=-1,i=(e=e.length?Ct(e):Ni(t)).length;++n<i;){var r=e[n];t[r]=Re(t[r],yr,t)}return t}),Kn=ui(function(t,e,n){var i=yr|Ar;if(n.length){var r=Yo(n,Kn.placeholder);i|=Sr}return Re(e,i,t,n,r)}),$n=he(br),Qn=he(_r);function Zn(i,r,t){var o,s,a,l,u,c,h,f=0,d=!1,p=!0;if("function"!=typeof i)throw new y(Mr);if(r=!(r<0)&&+r||0,!0===t){var g=!0;p=!1}else vi(t)&&(g=!!t.leading,d="maxWait"in t&&j(+t.maxWait||0,r),p="trailing"in t?!!t.trailing:p);function e(t,e){e&&b(e),s=c=h=vr,t&&(f=Gn(),a=i.apply(u,o),c||s||(o=u=vr))}function v(){var t=r-(Gn()-l);t<=0||r<t?e(h,s):c=E(v,t)}function m(){e(p,c)}function n(){if(o=arguments,l=Gn(),u=this,h=p&&(c||!g),!1===d)var t=g&&!c;else{s||g||(f=l);var e=d-(l-f),n=e<=0||d<e;n?(s=s&&b(s),f=l,a=i.apply(u,o)):s=s||E(m,e)}return n&&c?c=b(c):c||r===d||(c=E(v,r)),t&&(n=!0,a=i.apply(u,o)),!n||c||s||(o=u=vr),a}return n.cancel=function(){c&&b(c),s&&b(s),f=0,s=c=h=vr},n}var ti=ui(function(t,e){return wt(t,1,e)}),ei=ui(function(t,e,n){return wt(t,e,n)}),ni=me(),ii=me(!0);function ri(r,o){if("function"!=typeof r||o&&"function"!=typeof o)throw new y(Mr);var s=function(){var t=arguments,e=o?o.apply(this,t):t[0],n=s.cache;if(n.has(e))return n.get(e);var i=r.apply(this,t);return s.cache=n.set(e,i),i};return s.cache=new ri.Cache,s}var oi=ui(function(n,i){if(i=Ct(i),"function"!=typeof n||!ot(i,jo))throw new y(Mr);var r=i.length;return ui(function(t){for(var e=V(t.length,r);e--;)t[e]=i[e](t[e]);return n.apply(this,t)})});var si=Se(Sr),ai=Se(Tr),li=ui(function(t,e){return Re(t,Er,vr,vr,vr,Ct(e))});function ui(o,s){if("function"!=typeof o)throw new y(Mr);return s=j(s===vr?o.length-1:+s||0,0),function(){for(var t=arguments,e=-1,n=j(t.length-s,0),i=O(n);++e<n;)i[e]=t[s+e];switch(s){case 0:return o.call(this,i);case 1:return o.call(this,t[0],i);case 2:return o.call(this,t[0],t[1],i)}var r=O(s+1);for(e=-1;++e<s;)r[e]=t[e];return r[s]=i,o.apply(this,r)}}function ci(t,e){return e<t}function hi(t){return Xo(t)&&Fe(t)&&A.call(t,"callee")&&!T.call(t,"callee")}var fi=M||function(t){return Xo(t)&&qe(t.length)&&w.call(t)==jr};function di(t,e,n,i){var r=(n="function"==typeof n?te(n,i,3):vr)?n(t,e):vr;return r===vr?Dt(t,e,n):!!r}function pi(t){return Xo(t)&&"string"==typeof t.message&&w.call(t)==Hr}function gi(t){return vi(t)&&w.call(t)==Ur}function vi(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function mi(t){return null!=t&&(gi(t)?p.test(c.call(t)):Xo(t)&&So.test(t))}function yi(t){return"number"==typeof t||Xo(t)&&w.call(t)==Wr}function Ai(t){var e,n;return!(!Xo(t)||w.call(t)!=Br||hi(t)||!(A.call(t,"constructor")||"function"!=typeof(e=t.constructor)||e instanceof e))&&(Rt(t,function(t,e){n=e}),n===vr||A.call(t,n))}function wi(t){return vi(t)&&w.call(t)==qr}function bi(t){return"string"==typeof t||Xo(t)&&w.call(t)==zr}function _i(t){return Xo(t)&&qe(t.length)&&!!Po[w.call(t)]}function Si(t,e){return t<e}function Ti(t){var e=t?De(t):0;return qe(e)?e?it(t):[]:qi(t)}function xi(t){return gt(t,Vi(t))}var Ei=oe(function o(s,a,l,u,c){if(!vi(s))return s;var h=Fe(a)&&(fi(a)||_i(a)),f=h?vr:ji(a);return rt(f||a,function(t,e){if(f&&(t=a[e=t]),Xo(t))!function(t,e,n,i,r,o,s){for(var a=o.length,l=e[n];a--;)if(o[a]==l)return t[n]=s[a];var u=t[n],c=r?r(u,l,n,t,e):vr,h=c===vr;h&&(Fe(c=l)&&(fi(l)||_i(l))?c=fi(u)?u:Fe(u)?it(u):[]:Ai(l)||hi(l)?c=hi(u)?xi(u):Ai(u)?u:{}:h=!1),o.push(l),s.push(c),h?t[n]=i(c,l,r,o,s):(c==c?c!==u:u==u)&&(t[n]=c)}(s,a,e,o,l,u=u||[],c=c||[]);else{var n=s[e],i=l?l(n,t,e,s,a):vr,r=i===vr;r&&(i=t),i===vr&&(!h||e in s)||!r&&(i==i?i===n:n!=n)||(s[e]=i)}}),s}),Ci=oe(function(t,e,n){return n?ft(t,e,n):dt(t,e)});var ki=fe(Ci,function(t,e){return t===vr?e:t}),Oi=fe(Ei,function t(e,n){return e===vr?n:Ei(e,n,t)}),Ri=ve(Pt),Pi=ve(It),Ii=Ae(kt),Li=Ae(Ot),Mi=we(Pt),Di=we(It);function Ni(t){return Lt(t,Vi(t))}var ji=N?function(t){var e=null==t?vr:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&Fe(t)?$e(t):vi(t)?N(t):[]}:$e;function Vi(t){if(null==t)return[];vi(t)||(t=f(t));var e=t.length;e=e&&qe(e)&&(fi(t)||hi(t))&&e||0;for(var n=t.constructor,i=-1,r="function"==typeof n&&n.prototype===t,o=O(e),s=0<e;++i<e;)o[i]=i+"";for(var a in t)s&&He(a,e)||"constructor"==a&&(r||!A.call(t,a))||o.push(a);return o}var Fi=be(!0),Hi=be(),Ui=ui(function(t,e){if(null==t)return{};if("function"!=typeof e[0])return e=at(Ct(e),s),Ge(t,bt(Vi(t),e));var i=te(e[0],e[1],3);return Xe(t,function(t,e,n){return!i(t,e,n)})});function Wi(t){t=Ze(t);for(var e=-1,n=ji(t),i=n.length,r=O(i);++e<i;){var o=n[e];r[e]=[o,t[o]]}return r}var Bi=ui(function(t,e){return null==t?{}:"function"==typeof e[0]?Xe(t,te(e[0],e[1],3)):Ge(t,Ct(e))});function qi(t){return Jt(t,ji(t))}var zi=ue(function(t,e,n){return e=e.toLowerCase(),t+(n?e.charAt(0).toUpperCase()+e.slice(1):e)});function Gi(t){return(t=Vo(t))&&t.replace(xo,Wo).replace(yo,"")}var Xi=ue(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()});var Yi=_e(),Ji=_e(!0);function Ki(t,e){var n="";if(t=Vo(t),(e=+e)<1||!t||!D(e))return n;for(;e%2&&(n+=t),t+=t,e=L(e/2););return n}var $i=ue(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Qi=ue(function(t,e,n){return t+(n?" ":"")+(e.charAt(0).toUpperCase()+e.slice(1))});function Zi(t,e,n){var i=t;return(t=Vo(t))?(n?Ue(i,e,n):null==e)?t.slice(Jo(t),Ko(t)+1):(e+="",t.slice(Fo(t,e),Ho(t,e)+1)):t}function tr(t,e,n){return n&&Ue(t,e,n)&&(e=vr),(t=Vo(t)).match(e||ko)||[]}var er=ui(function(t,e){try{return t.apply(vr,e)}catch(t){return pi(t)?t:new i(t)}});function nr(t,e,n){return n&&Ue(t,e,n)&&(e=vr),Xo(t)?rr(t):vt(t,e)}function ir(t){return t}function rr(t){return Vt(mt(t,!0))}var or=ui(function(e,n){return function(t){return Ve(t,e,n)}}),sr=ui(function(e,n){return function(t){return Ve(e,t,n)}});function ar(i,t,e){if(null==e){var n=vi(t),r=n?ji(t):vr,o=r&&r.length?Lt(t,r):vr;(o?o.length:n)||(o=!1,e=t,t=i,i=this)}o=o||Lt(t,ji(t));var s=!0,a=-1,l=gi(i),u=o.length;!1===e?s=!1:vi(e)&&"chain"in e&&(s=e.chain);for(;++a<u;){var c=o[a],h=t[c];i[c]=h,l&&(i.prototype[c]=function(n){return function(){var t=this.__chain__;if(s||t){var e=i(this.__wrapped__);return(e.__actions__=it(this.__actions__)).push({func:n,args:arguments,thisArg:i}),e.__chain__=t,e}return n.apply(i,lt([this.value()],arguments))}}(h))}return i}function lr(){}function ur(t){return We(t)?Ht(t):(n=(e=t)+"",e=tn(e),function(t){return Mt(t,e,n)});var e,n}var cr,hr=ke("ceil"),fr=ke("floor"),dr=de(ci,W),pr=de(Si,B),gr=ke("round");return K.prototype=$.prototype,(Q.prototype=yt($.prototype)).constructor=Q,(Z.prototype=yt($.prototype)).constructor=Z,tt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tt.prototype.get=function(t){return"__proto__"==t?vr:this.__data__[t]},tt.prototype.has=function(t){return"__proto__"!=t&&A.call(this.__data__,t)},tt.prototype.set=function(t,e){return"__proto__"!=t&&(this.__data__[t]=e),this},et.prototype.push=function(t){var e=this.data;"string"==typeof t||vi(t)?e.set.add(t):e.hash[t]=!0},ri.Cache=tt,K.after=function(t,e){if("function"!=typeof e){if("function"!=typeof t)throw new y(Mr);var n=t;t=e,e=n}return t=D(t=+t)?t:0,function(){if(--t<1)return e.apply(this,arguments)}},K.ary=function(t,e,n){return n&&Ue(t,e,n)&&(e=vr),e=t&&null==e?t.length:j(+e||0,0),Re(t,xr,vr,vr,vr,vr,e)},K.assign=Ci,K.at=Cn,K.before=Xn,K.bind=Yn,K.bindAll=Jn,K.bindKey=Kn,K.callback=nr,K.chain=Tn,K.chunk=function(t,e,n){e=(n?Ue(t,e,n):null==e)?1:j(L(e)||1,1);for(var i=0,r=t?t.length:0,o=-1,s=O(P(r/e));i<r;)s[++o]=qt(t,i,i+=e);return s},K.compact=function(t){for(var e=-1,n=t?t.length:0,i=-1,r=[];++e<n;){var o=t[e];o&&(r[++i]=o)}return r},K.constant=function(t){return function(){return t}},K.countBy=kn,K.create=function(t,e,n){var i=yt(t);return n&&Ue(t,e,n)&&(e=vr),e?dt(i,e):i},K.curry=$n,K.curryRight=Qn,K.debounce=Zn,K.defaults=ki,K.defaultsDeep=Oi,K.defer=ti,K.delay=ei,K.difference=nn,K.drop=rn,K.dropRight=on,K.dropRightWhile=function(t,e,n){return t&&t.length?Kt(t,Pe(e,n,3),!0,!0):[]},K.dropWhile=function(t,e,n){return t&&t.length?Kt(t,Pe(e,n,3),!0):[]},K.fill=function(t,e,n,i){var r=t?t.length:0;return r?(n&&"number"!=typeof n&&Ue(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=null!=n&&+n||0)<0&&(n=r<-n?0:r+n),(i=i===vr||r<i?r:+i||0)<0&&(i+=r),r=i<n?0:i>>>0,n>>>=0;n<r;)t[n++]=e;return t}(t,e,n,i)):[]},K.filter=Rn,K.flatten=function(t,e,n){var i=t?t.length:0;return n&&Ue(t,e,n)&&(e=!1),i?Ct(t,e):[]},K.flattenDeep=function(t){return t&&t.length?Ct(t,!0):[]},K.flow=ni,K.flowRight=ii,K.forEach=Ln,K.forEachRight=Mn,K.forIn=Ii,K.forInRight=Li,K.forOwn=Mi,K.forOwnRight=Di,K.functions=Ni,K.groupBy=Dn,K.indexBy=jn,K.initial=function(t){return on(t,1)},K.intersection=cn,K.invert=function(t,e,n){n&&Ue(t,e,n)&&(e=vr);for(var i=-1,r=ji(t),o=r.length,s={};++i<o;){var a=r[i],l=t[a];e?A.call(s,l)?s[l].push(a):s[l]=[a]:s[l]=a}return s},K.invoke=Vn,K.keys=ji,K.keysIn=Vi,K.map=Fn,K.mapKeys=Fi,K.mapValues=Hi,K.matches=rr,K.matchesProperty=function(t,e){return Ft(t,mt(e,!0))},K.memoize=ri,K.merge=Ei,K.method=or,K.methodOf=sr,K.mixin=ar,K.modArgs=oi,K.negate=function(t){if("function"!=typeof t)throw new y(Mr);return function(){return!t.apply(this,arguments)}},K.omit=Ui,K.once=function(t){return Xn(2,t)},K.pairs=Wi,K.partial=si,K.partialRight=ai,K.partition=Hn,K.pick=Bi,K.pluck=function(t,e){return Fn(t,ur(e))},K.property=ur,K.propertyOf=function(e){return function(t){return Mt(e,tn(t),t+"")}},K.pull=function(){var t=arguments,e=t[0];if(!e||!e.length)return e;for(var n=0,i=Me(),r=t.length;++n<r;)for(var o=0,s=t[n];-1<(o=i(e,s,o));)C.call(e,o,1);return e},K.pullAt=fn,K.range=function(t,e,n){n&&Ue(t,e,n)&&(e=n=vr),t=+t||0,null==e?(e=t,t=0):e=+e||0;for(var i=-1,r=j(P((e-t)/((n=null==n?1:+n||0)||1)),0),o=O(r);++i<r;)o[i]=t,t+=n;return o},K.rearg=li,K.reject=function(t,i,e){var n=fi(t)?st:xt;return i=Pe(i,e,3),n(t,function(t,e,n){return!i(t,e,n)})},K.remove=function(t,e,n){var i=[];if(!t||!t.length)return i;var r=-1,o=[],s=t.length;for(e=Pe(e,n,3);++r<s;){var a=t[r];e(a,r,t)&&(i.push(a),o.push(r))}return Ut(t,o),i},K.rest=dn,K.restParam=ui,K.set=function(t,e,n){if(null==t)return t;for(var i=e+"",r=-1,o=(e=null!=t[i]||We(e,t)?[i]:tn(e)).length,s=o-1,a=t;null!=a&&++r<o;){var l=e[r];vi(a)&&(r==s?a[l]=n:null==a[l]&&(a[l]=He(e[r+1])?[]:{})),a=a[l]}return t},K.shuffle=function(t){return Bn(t,B)},K.slice=function(t,e,n){var i=t?t.length:0;return i?(n&&"number"!=typeof n&&Ue(t,e,n)&&(e=0,n=i),qt(t,e,n)):[]},K.sortBy=function(t,i,e){if(null==t)return[];e&&Ue(t,i,e)&&(i=vr);var r=-1;return i=Pe(i,e,3),Gt(jt(t,function(t,e,n){return{criteria:i(t,e,n),index:++r,value:t}}),Uo)},K.sortByAll=zn,K.sortByOrder=function(t,e,n,i){return null==t?[]:(i&&Ue(e,n,i)&&(n=vr),fi(e)||(e=null==e?[]:[e]),fi(n)||(n=null==n?[]:[n]),Xt(t,e,n))},K.spread=function(e){if("function"!=typeof e)throw new y(Mr);return function(t){return e.apply(this,t)}},K.take=function(t,e,n){return t&&t.length?((n?Ue(t,e,n):null==e)&&(e=1),qt(t,0,e<0?0:e)):[]},K.takeRight=function(t,e,n){var i=t?t.length:0;return i?((n?Ue(t,e,n):null==e)&&(e=1),qt(t,(e=i-(+e||0))<0?0:e)):[]},K.takeRightWhile=function(t,e,n){return t&&t.length?Kt(t,Pe(e,n,3),!1,!0):[]},K.takeWhile=function(t,e,n){return t&&t.length?Kt(t,Pe(e,n,3)):[]},K.tap=function(t,e,n){return e.call(n,t),t},K.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new y(Mr);return!1===n?i=!1:vi(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Zn(t,e,{leading:i,maxWait:+e,trailing:r})},K.thru=xn,K.times=function(t,e,n){if((t=L(t))<1||!D(t))return[];var i=-1,r=O(V(t,q));for(e=te(e,n,1);++i<t;)i<q?r[i]=e(i):e(i);return r},K.toArray=Ti,K.toPlainObject=xi,K.transform=function(t,i,r,e){var n=fi(t)||_i(t);if(i=Pe(i,e,4),null==r)if(n||vi(t)){var o=t.constructor;r=n?fi(t)?new o:[]:yt(gi(o)?o.prototype:vr)}else r={};return(n?rt:Pt)(t,function(t,e,n){return i(r,t,e,n)}),r},K.union=vn,K.uniq=mn,K.unzip=yn,K.unzipWith=An,K.values=qi,K.valuesIn=function(t){return Jt(t,Vi(t))},K.where=function(t,e){return Rn(t,Vt(e))},K.without=wn,K.wrap=function(t,e){return Re(e=null==e?ir:e,Sr,vr,[t],[])},K.xor=function(){for(var t=-1,e=arguments.length;++t<e;){var n=arguments[t];if(Fe(n))var i=i?lt(bt(i,n),bt(n,i)):n}return i?Yt(i):[]},K.zip=bn,K.zipObject=_n,K.zipWith=Sn,K.backflow=ii,K.collect=Fn,K.compose=ii,K.each=Ln,K.eachRight=Mn,K.extend=Ci,K.iteratee=nr,K.methods=Ni,K.object=_n,K.select=Rn,K.tail=dn,K.unique=mn,ar(K,K),K.add=function(t,e){return(+t||0)+(+e||0)},K.attempt=er,K.camelCase=zi,K.capitalize=function(t){return(t=Vo(t))&&t.charAt(0).toUpperCase()+t.slice(1)},K.ceil=hr,K.clone=function(t,e,n,i){return e&&"boolean"!=typeof e&&Ue(t,e,n)?e=!1:"function"==typeof e&&(i=n,n=e,e=!1),"function"==typeof n?mt(t,e,te(n,i,3)):mt(t,e)},K.cloneDeep=function(t,e,n){return"function"==typeof e?mt(t,!0,te(e,n,3)):mt(t,!0)},K.deburr=Gi,K.endsWith=function(t,e,n){e+="";var i=(t=Vo(t)).length;return n=n===vr?i:V(!(n<0)&&+n||0,i),0<=(n-=e.length)&&t.indexOf(e,n)==n},K.escape=function(t){return(t=Vo(t))&&lo.test(t)?t.replace(so,Bo):t},K.escapeRegExp=function(t){return(t=Vo(t))&&mo.test(t)?t.replace(vo,qo):t||"(?:)"},K.every=On,K.find=Pn,K.findIndex=sn,K.findKey=Ri,K.findLast=In,K.findLastIndex=an,K.findLastKey=Pi,K.findWhere=function(t,e){return Pn(t,Vt(e))},K.first=ln,K.floor=fr,K.get=function(t,e,n){var i=null==t?vr:Mt(t,tn(e),e+"");return i===vr?n:i},K.gt=ci,K.gte=function(t,e){return e<=t},K.has=function(t,e){if(null==t)return!1;var n=A.call(t,e);if(!n&&!We(e)){if(null==(t=1==(e=tn(e)).length?t:Mt(t,qt(e,0,-1))))return!1;e=hn(e),n=A.call(t,e)}return n||qe(t.length)&&He(e,t.length)&&(fi(t)||hi(t))},K.identity=ir,K.includes=Nn,K.indexOf=un,K.inRange=function(t,e,n){return e=+e||0,n===vr?(n=e,e=0):n=+n||0,t>=V(e,n)&&t<j(e,n)},K.isArguments=hi,K.isArray=fi,K.isBoolean=function(t){return!0===t||!1===t||Xo(t)&&w.call(t)==Vr},K.isDate=function(t){return Xo(t)&&w.call(t)==Fr},K.isElement=function(t){return!!t&&1===t.nodeType&&Xo(t)&&!Ai(t)},K.isEmpty=function(t){return null==t||(Fe(t)&&(fi(t)||bi(t)||hi(t)||Xo(t)&&gi(t.splice))?!t.length:!ji(t).length)},K.isEqual=di,K.isError=pi,K.isFinite=function(t){return"number"==typeof t&&D(t)},K.isFunction=gi,K.isMatch=function(t,e,n,i){return n="function"==typeof n?te(n,i,3):vr,Nt(t,Ne(e),n)},K.isNaN=function(t){return yi(t)&&t!=+t},K.isNative=mi,K.isNull=function(t){return null===t},K.isNumber=yi,K.isObject=vi,K.isPlainObject=Ai,K.isRegExp=wi,K.isString=bi,K.isTypedArray=_i,K.isUndefined=function(t){return t===vr},K.kebabCase=Xi,K.last=hn,K.lastIndexOf=function(t,e,n){var i=t?t.length:0;if(!i)return-1;var r=i;if("number"==typeof n)r=(n<0?j(i+n,0):V(n||0,i-1))+1;else if(n){var o=t[r=Qt(t,e,!0)-1];return(e==e?e===o:o!=o)?r:-1}if(e!=e)return Go(t,r,!0);for(;r--;)if(t[r]===e)return r;return-1},K.lt=Si,K.lte=function(t,e){return t<=e},K.max=dr,K.min=pr,K.noConflict=function(){return Lo._=d,this},K.noop=lr,K.now=Gn,K.pad=function(t,e,n){e=+e;var i=(t=Vo(t)).length;if(e<=i||!D(e))return t;var r=(e-i)/2,o=L(r);return(n=Ee("",P(r),n)).slice(0,o)+t+n},K.padLeft=Yi,K.padRight=Ji,K.parseInt=function(t,e,n){return e=(n?Ue(t,e,n):null==e)?0:e&&+e,t=Zi(t),H(t,e||(_o.test(t)?16:10))},K.random=function(t,e,n){n&&Ue(t,e,n)&&(e=n=vr);var i=null==t,r=null==e;if(null==n&&(r&&"boolean"==typeof t?(n=t,t=1):"boolean"==typeof e&&(n=e,r=!0)),i&&r&&(r=!(e=1)),t=+t||0,r?(e=t,t=0):e=+e||0,n||t%1||e%1){var o=U();return V(t+o*(e-t+_("1e-"+((o+"").length-1))),e)}return Wt(t,e)},K.reduce=Un,K.reduceRight=Wn,K.repeat=Ki,K.result=function(t,e,n){var i=null==t?vr:t[e];return i===vr&&(null==t||We(e,t)||(i=null==(t=1==(e=tn(e)).length?t:Mt(t,qt(e,0,-1)))?vr:t[hn(e)]),i=i===vr?n:i),gi(i)?i.call(t):i},K.round=gr,K.runInContext=t,K.size=function(t){var e=t?De(t):0;return qe(e)?e:ji(t).length},K.snakeCase=$i,K.some=qn,K.sortedIndex=pn,K.sortedLastIndex=gn,K.startCase=Qi,K.startsWith=function(t,e,n){return t=Vo(t),n=null==n?0:V(!(n<0)&&+n||0,t.length),t.lastIndexOf(e,n)==n},K.sum=function(t,e,n){return n&&Ue(t,e,n)&&(e=vr),1==(e=Pe(e,n,3)).length?function(t,e){for(var n=t.length,i=0;n--;)i+=+e(t[n])||0;return i}(fi(t)?t:Qe(t),e):(i=e,r=0,_t(t,function(t,e,n){r+=+i(t,e,n)||0}),r);var i,r},K.template=function(s,t,e){var n=K.templateSettings;e&&Ue(s,t,e)&&(t=e=vr),s=Vo(s),t=ft(dt({},e||t),n,ht);var a,l,i=ft(dt({},t.imports),n.imports,ht),r=ji(i),o=Jt(i,r),u=0,c=t.interpolate||Eo,h="__p += '",f=m((t.escape||Eo).source+"|"+c.source+"|"+(c===ho?wo:Eo).source+"|"+(t.evaluate||Eo).source+"|$","g"),d="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Ro+"]")+"\n";s.replace(f,function(t,e,n,i,r,o){return n=n||i,h+=s.slice(u,o).replace(Co,zo),e&&(a=!0,h+="' +\n__e("+e+") +\n'"),r&&(l=!0,h+="';\n"+r+";\n__p += '"),n&&(h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=o+t.length,t}),h+="';\n";var p=t.variable;p||(h="with (obj) {\n"+h+"\n}\n"),h=(l?h.replace(no,""):h).replace(io,"$1").replace(ro,"$1;"),h="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(l?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=er(function(){return v(r,d+"return "+h).apply(vr,o)});if(g.source=h,pi(g))throw g;return g},K.trim=Zi,K.trimLeft=function(t,e,n){var i=t;return(t=Vo(t))?(n?Ue(i,e,n):null==e)?t.slice(Jo(t)):t.slice(Fo(t,e+"")):t},K.trimRight=function(t,e,n){var i=t;return(t=Vo(t))?(n?Ue(i,e,n):null==e)?t.slice(0,Ko(t)+1):t.slice(0,Ho(t,e+"")+1):t},K.trunc=function(t,e,n){n&&Ue(t,e,n)&&(e=vr);var i=Cr,r=kr;if(null!=e)if(vi(e)){var o="separator"in e?e.separator:o;i="length"in e?+e.length||0:i,r="omission"in e?Vo(e.omission):r}else i=+e||0;if(i>=(t=Vo(t)).length)return t;var s=i-r.length;if(s<1)return r;var a=t.slice(0,s);if(null==o)return a+r;if(wi(o)){if(t.slice(s).search(o)){var l,u,c=t.slice(0,s);for(o.global||(o=m(o.source,(bo.exec(o)||"")+"g")),o.lastIndex=0;l=o.exec(c);)u=l.index;a=a.slice(0,null==u?s:u)}}else if(t.indexOf(o,s)!=s){var h=a.lastIndexOf(o);-1<h&&(a=a.slice(0,h))}return a+r},K.unescape=function(t){return(t=Vo(t))&&ao.test(t)?t.replace(oo,$o):t},K.uniqueId=function(t){var e=++h;return Vo(t)+e},K.words=tr,K.all=On,K.any=qn,K.contains=Nn,K.eq=di,K.detect=Pn,K.foldl=Un,K.foldr=Wn,K.head=ln,K.include=Nn,K.inject=Un,ar(K,(cr={},Pt(K,function(t,e){K.prototype[e]||(cr[e]=t)}),cr),!1),K.sample=Bn,K.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return Bn(t,e)}):Bn(this.value())},K.VERSION=mr,rt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){K[t].placeholder=K}),rt(["drop","take"],function(i,r){Z.prototype[i]=function(t){var e=this.__filtered__;if(e&&!r)return new Z(this);t=null==t?1:j(L(t)||0,0);var n=this.clone();return e?n.__takeCount__=V(n.__takeCount__,t):n.__views__.push({size:t,type:i+(n.__dir__<0?"Right":"")}),n},Z.prototype[i+"Right"]=function(t){return this.reverse()[i](t).reverse()}}),rt(["filter","map","takeWhile"],function(t,e){var i=e+1,r=i!=Lr;Z.prototype[t]=function(t,e){var n=this.clone();return n.__iteratees__.push({iteratee:Pe(t,e,1),type:i}),n.__filtered__=n.__filtered__||r,n}}),rt(["first","last"],function(t,e){var n="take"+(e?"Right":"");Z.prototype[t]=function(){return this[n](1).value()[0]}}),rt(["initial","rest"],function(t,e){var n="drop"+(e?"":"Right");Z.prototype[t]=function(){return this.__filtered__?new Z(this):this[n](1)}}),rt(["pluck","where"],function(t,e){var n=e?"filter":"map",i=e?Vt:ur;Z.prototype[t]=function(t){return this[n](i(t))}}),Z.prototype.compact=function(){return this.filter(ir)},Z.prototype.reject=function(e,t){return e=Pe(e,t,1),this.filter(function(t){return!e(t)})},Z.prototype.slice=function(t,e){t=null!=t&&+t||0;var n=this;return n.__filtered__&&(0<t||e<0)?new Z(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==vr&&(n=(e=+e||0)<0?n.dropRight(-e):n.take(e-t)),n)},Z.prototype.takeRightWhile=function(t,e){return this.reverse().takeWhile(t,e).reverse()},Z.prototype.toArray=function(){return this.take(B)},Pt(Z.prototype,function(h,t){var f=/^(?:filter|map|reject)|While$/.test(t),d=/^(?:first|last)$/.test(t),p=K[d?"take"+("last"==t?"Right":""):t];p&&(K.prototype[t]=function(){var e=d?[1]:arguments,n=this.__chain__,t=this.__wrapped__,i=!!this.__actions__.length,r=t instanceof Z,o=e[0],s=r||fi(t);function a(t){return d&&n?p(t,1)[0]:p.apply(vr,lt([t],e))}s&&f&&"function"==typeof o&&1!=o.length&&(r=s=!1);var l={func:xn,args:[a],thisArg:vr},u=r&&!i;if(d&&!n)return u?((t=t.clone()).__actions__.push(l),h.call(t)):p.call(vr,this.value())[0];if(d||!s)return this.thru(a);t=u?t:new Z(this);var c=h.apply(t,e);return c.__actions__.push(l),new Q(c,n)})}),rt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(t){var n=(/^(?:replace|split)$/.test(t)?u:a)[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:join|pop|replace|shift)$/.test(t);K.prototype[t]=function(){var e=arguments;return r&&!this.__chain__?n.apply(this.value(),e):this[i](function(t){return n.apply(t,e)})}}),Pt(Z.prototype,function(t,e){var n=K[e];if(n){var i=n.name+"";(J[i]||(J[i]=[])).push({name:e,func:n})}}),J[xe(vr,Ar).name]=[{name:"wrapper",func:vr}],Z.prototype.clone=function(){var t=new Z(this.__wrapped__);return t.__actions__=it(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=it(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=it(this.__views__),t},Z.prototype.reverse=function(){if(this.__filtered__){var t=new Z(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Z.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=fi(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=V(e,t+s);break;case"takeRight":t=j(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,u=i?a:s-1,c=this.__iteratees__,h=c.length,f=0,d=V(l,this.__takeCount__);if(!n||r<Pr||r==l&&d==l)return $t(t,this.__actions__);var p=[];t:for(;l--&&f<d;){for(var g=-1,v=t[u+=e];++g<h;){var m=c[g],y=m.iteratee,A=m.type,w=y(v);if(A==Lr)v=w;else if(!w){if(A==Ir)continue t;break t}}p[f++]=v}return p},K.prototype.chain=function(){return Tn(this)},K.prototype.commit=function(){return new Q(this.value(),this.__chain__)},K.prototype.concat=En,K.prototype.plant=function(t){for(var e,n=this;n instanceof $;){var i=en(n);e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},K.prototype.reverse=function(){function t(t){return t.reverse()}var e=this.__wrapped__;if(e instanceof Z){var n=e;return this.__actions__.length&&(n=new Z(this)),(n=n.reverse()).__actions__.push({func:xn,args:[t],thisArg:vr}),new Q(n,this.__chain__)}return this.thru(t)},K.prototype.toString=function(){return this.value()+""},K.prototype.run=K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=function(){return $t(this.__wrapped__,this.__actions__)},K.prototype.collect=K.prototype.map,K.prototype.head=K.prototype.first,K.prototype.select=K.prototype.filter,K.prototype.tail=K.prototype.rest,K}();Lo._=Qo,(A=function(){return Qo}.call(w,b,w,m))===vr||(m.exports=A)}).call(this)}).call(this,b(35)(t),b(34))},function(t,e,n){"use strict";var i;void 0===(i=function(t){var e={ds:{FRAME_DATA_LOADED:"ds:frameLoaded",PRESO_LOADED:"ds:presoLoaded",PRESO_READY:"ds:presoReady"},actionlink:{EVENT:"actionlink:event",VIEWED:"actionlink:viewed"},animation:{CREATED:"animation:created",DESTROYED:"animation:destroyed"},app:{COMPLETE:"app:complete",BRANDING_COLOR:"app:brandingColor",PRESENTATION_POSITION:"app:presentationPosition",SHOW_LOADER:"app:showLoader",HIDE_LOADER:"app:hideLoader"},audioClip:{ENDED:"audioClip:ended",TIME_UPDATE:"audioClip:timeUpdate"},captions:{SHOW_BUTTON:"captions:showbutton",HIDE_BUTTON:"captions:hidebutton",ENABLED:"captions:enabled",ENABLE:"captions:enable",ADD:"captions:add",REMOVE:"captions:remove"},controlLayout:{CHANGED:"controllayout:changed",UPDATE:"controlLayout:update"},controlOptions:{CHANGED:"controlOptions:changed",RESET:"controlOptions:reset"},course:{COMPLETED:"course:completed",VIEWED:"course:viewed",MANUALLY_COMPLETED:"course:manuallyCompleted"},customlink:{EVENT:"customlink:event"},currTimeline:{TICK:"currTimeline:tick"},data:{INITIALIZED:"data:initialized",UPDATED:"data:updated"},detection:{VISIBILITY_HIDDEN:"detection:visibilityhidden",VISIBILITY_SHOWN:"detection:visibilityshown",ORIENTATION_CHANGE:"detection:orientationChange"},draw:{RESET:"draw:reset",RESET_COMPLETE:"draw:resetcomplete",EXIT:"draw:exit"},error:{INTERFACE:"error:interface"},frame:{LAYOUT_READY:"frame:layoutReady",REFLOW:"frame:reflow",MODEL_READY:"frame:modelReady",SCALE:"frame:scale",FONT_SCALE:"font:scale"},frameModel:{LAYOUT_CHANGED:"frameData:layoutChanged",CHROMELESS_CHANGED:"frameData:chromelessChanged"},glossary:{UPDATE:"glossary:update",REFRESH_VIEW:"glossary:refreshView"},interaction:{EVALUATED:"interaction:evaluated",VIEWED:"interaction:viewed"},keyManager:{FRAME_CONTROL_KEY:"keyManager:frameControlKey"},layer:{HIDDEN:"hidden",HIDE_OTHER_LAYERS:"hideOtherLayers",ACTIVATED:"activated",TIMELINE_ACTIVATED:"layer:timelineActivated",PAUSE_TIMELINE:"layer:pauseTimeline",PLAYING:"layer:playing"},layout:{CHANGED:"layout:changed"},loader:{MUTE:"loader:mute",UNMUTE:"loader:unmute",HIDE:"loader:hide",SHOW:"loader:show",SILENCE:"loader:silence",REMOVE_TITLE:"loader:removeTitle"},main:{PREPARE_AUDIO:"main:prepareAudio"},media:{CURRENT_TIME:"media:currentTime"},menuLinksListItem:{ITEM_SELECTED:"menuLinksListItem:itemSelected",TOGGLE:"menuLinksListItem:toggle"},messageWindow:{SHOWN:"messageWindow:shown"},mobile:{PRESENTATION_VISIBLE:"mobileChromeKiller:presentationVisible",ENTER_THUMB_VIEW:"mobileStartOverlay:enterThumbView",EXIT_THUMB_VIEW:"mobileStartOverlay:exitThumbView",MENU_OPEN:"uiMobile:menuOpen",OUTLINE_SHOWN:"panelsMobile:outlineShown"},navcontrols:{CHANGED:"navcontrols:changed"},navData:{UPDATE:"navData:update",REFRESH_VIEW:"navData:refreshView",SELECT_FIRST_SLIDE_LINK:"navData:selectFirstSlideLink"},player:{RESET:"player:reset",CLOSING:"player:closing",ERROR:"player:error",MENU_OPTIONS:"player:menuOptions",ENABLE_KEYBOARD_SHORTCUTS:"player:enableKeyboardShortcuts",INITIALIZED:"player:initialized",ACCESSIBLE_TEXT_CHANGED:"player:accessibleTextChanged",TOGGLE_PLAYBACK:"player:togglePlayback",SEEK:"player:seek"},popup:{SHOW:"popup:show",HIDE:"popup:hide",TOGGLE:"popup:toggle",EMAIL:"popup:email"},presentation:{ENTER_FULLSCREEN:"presentation:enterFullscreen",EXIT_FULLSCREEN:"presentation:exitFullscreen",ON_OBJECT_EVENT:"presentation:onobjectevent"},preview:{NOTIFY:"preview:notify"},quiz:{INTERACTION_ANSWERED:"quiz:interactionAnswered",COMPLETED:"quiz:completed"},renderTree:{DESTROYED:"renderTree:destroyed"},request:{START:"start:requesting",NEXT_SLIDE:"nextSlide:requesting",PREV_SLIDE:"prevSlide:requesting",NEXT_DRAW_SLIDE:"nextDrawSlide:requesting",PREV_HISTORY_GROUP:"prevHistoryGroup:requesting"},resources:{LINK_CLICKED:"resources:linkClicked",UPDATE_DESCRIPTION:"resources:updateDescription",UPDATE:"resources:update",REFRESH_VIEW:"resources:refreshView"},resume:{SET_DATA:"resume:setdata",RESET:"resume:reset",APPLIED:"resume:applied",COMPLETE:"resume:complete",RESET_DATA:"resume:resetData"},scheme:{CHANGED:"scheme:changed"},search:{START:"search:start",CLEAR:"search:clear",BLUR:"search:blur",SHOW:"search:show",UPDATE_PANEL:"search:updatePanel"},sidebar:{ACTIVE_TAB_SET:"sidebar:activeTabSet",SHOW_SEARCH:"sidebar:showSearch",HIDE_SEARCH:"sidebar:hideSearch",RESIZING:"sidebar:resizing",FORCE_OPEN:"sidebar:forceOpen",OPEN:"sidebar:open",CLOSE:"sidebar:close"},slide:{WILL_CHANGE:"slide:willChange",CHANGE:"change:slides",READY:"slide:ready",STARTED:"slide:started",VIEWED:"slide:viewed",TRANSITION_STARTED:"slide:transitionStarted",ON_TRANSITION_IN:"slide:ontransitionin",CURRENT_TIMELINE:"slide:currentTimeline",PAUSE_TIMELINE:"slide:pauseTimeline",PLAY_TIMELINE:"slide:playTimeline",HAS_MOUNTED:"slide:hasMounted",HAS_CHANGED:"slide:hasChanged",ALL_TIMELINES_COMPLETE:"slide:allTimelinesComplete",ARIA_TOGGLE:"slide:ariaToggle",SLIDE_NUMBERS_UPDATED:"slide:slideNumbersUpdated"},slideWindow:{CLEAR_HISTORY:"slideWindow:clearHistory"},slideContainer:{POSITIONED:"slideContainer:positioned"},slideObject:{FOCUS:"slideobject:focus",TRANSFORM_DIRTY:"slideobject:transformdirty"},startOverlay:{READY:"startOverlay:ready"},status:{UPDATED:"status:updated"},strings:{UPDATE_STRINGS:"strings:updateStrings"},swipe:{CHANGED:"swipe:changed"},tab:{SHOW:"tab:show",HIDE:"tab:hide"},tabLink:{SHOW_PANEL:"tabLink:showPanel"},threeSixtyImage:{EDIT_MODE_ON:"threeSixtyImage:editModeOn"},timeline:{PLAYING:"timeline:playing",PAUSED:"timeline:paused",BEFORE_RESET:"timeline:beforereset",RESET:"timeline:reset",TICK:"timeline:tick",ENDED:"timeline:ended",COMPLETE:"timeline:complete",BEFORE_SEEK_UPDATE:"timeline:beforeSeekUpdate",AFTER_SEEK_UPDATE:"timeline:afterSeekUpdate",SEEK_START:"timeline:seekStart",SEEK_END:"timeline:seekEnd",CHANGED:"timeline:changed",CURRENT_TIMELINE:"timeline:currentTimeline"},timer:{SHOW:"timer:show",HIDE:"timer:hide",SHOWN:"timer:shown",HIDDEN:"timer:hidden",COMPLETE:"timer:complete"},tincan:{STATEMENT:"tincan:statement"},topbar:{CLOSED_SIDEBAR:"topbar:closedSidebar",OPENED_SIDEBAR:"topbar:openedSidebar"},topEllipsesPanel:{HIDE:"topEllipsesPanel:hide"},topTabs:{OPEN_DROPDOWN:"topTabs:openDropDown",OPEN_PANEL:"topTabs:openPanel"},topTabsItem:{ACTIVATE:"topTabsItem:activate",HIDE:"topTabsItem:hide"},touchHelper:{TOUCH_START:"touchHelper:touchStart"},transcript:{CHANGED:"transcript:changed"},tween:{UPDATE:"tween:update"},variable:{CHANGED:"variable:changed",REFRESH_VIEW:"variable:refreshView"},video:{STATE_CHANGED:"video:stateChanged"},elso:{TOGGLE_EXPANDED:"elso:toggleExpanded"},volume:{CHANGED:"volume:changed",TOGGLE:"volume:toggle",CHANGE_CURRENT:"change:currentVolume"},window:{CLOSING:"window:closing",CLOSED:"window:closed",CREATED:"window:created",OPEN_EXTERNAL:"externalWindow:open",MAIN_CREATED:"mainWindow:created",MAIN_CHANGED:"mainWindow:slideChanged",SCALE:"window:scale",AFTER_SCALE:"window:afterScale",STACKING_CHANGED:"window:stackingChanged",ZOOM_MODE_CHANGED:"window:zoomModeChanged"},windowManager:{CREATED:"windowManager:created",TOP_MOST_CHANGED:"windowManager:topMostChanged"}};return Object.freeze(e),Object.freeze(e.actionlink),Object.freeze(e.animation),Object.freeze(e.app),Object.freeze(e.audioClip),Object.freeze(e.captions),Object.freeze(e.controlLayout),Object.freeze(e.course),Object.freeze(e.customlink),Object.freeze(e.data),Object.freeze(e.detection),Object.freeze(e.draw),Object.freeze(e.error),Object.freeze(e.interaction),Object.freeze(e.keyManager),Object.freeze(e.layer),Object.freeze(e.layout),Object.freeze(e.loader),Object.freeze(e.media),Object.freeze(e.menuLinksListItem),Object.freeze(e.mobile),Object.freeze(e.navcontrols),Object.freeze(e.player),Object.freeze(e.popup),Object.freeze(e.presentation),Object.freeze(e.preview),Object.freeze(e.quiz),Object.freeze(e.request),Object.freeze(e.resources),Object.freeze(e.resume),Object.freeze(e.scheme),Object.freeze(e.search),Object.freeze(e.sidebar),Object.freeze(e.slide),Object.freeze(e.slideContainer),Object.freeze(e.status),Object.freeze(e.swipe),Object.freeze(e.timeline),Object.freeze(e.timer),Object.freeze(e.topbar),Object.freeze(e.topTabsItem),Object.freeze(e.tween),Object.freeze(e.variable),Object.freeze(e.volume),Object.freeze(e.window),Object.freeze(e.windowManager),e}.call(e,n,e,t))||(t.exports=i)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(9);return n(0).extend({},e.Events)}.call(e,n,e,t))||(t.exports=i)},function(t,e,v){"use strict";var n;void 0===(n=function(t){function e(t,e){var n=g.slice(e);return n.unshift(t),h.formatSrcUrl(n.join("/"))}function n(t){var n=c.rest(arguments);return function(){var e=c.toArray(arguments);return n[t](function(t){return t.apply(null,e)})}}function i(t){return t+"."}function r(t,e){return e.replace(t,"")}function o(t,e){return t===e}function s(t,e){return e.charAt(0)[t]()+e.slice(1)}function a(t,e){return[t,e,t].join("")}function l(t){return"{"===t.charAt(0)&&(t=JSON.parse(t)),t}function u(t){return t.split("=").map(decodeURIComponent).map(l)}var c=v(0),h=v(37),f=v(4),d=v(5),p=/[\u0600-\u06FF]/,g={keys:{DASH:189,PERIOD:190,DELETE:8,ENTER:13},getPath:function(t,e,n){return function t(e,n,i){if(null==e||null==n)return i;if(0===n.length)return null!=e?e:i;var r,o,s=c.first(n),a=c.rest(n),l=c.isString(s),u=l&&"$"===s.charAt(0)?"prop":"get";return l&&-1<s.indexOf("[")&&(r=s.split("["),a.unshift(parseInt(r[1])),s=c.first(r)),t(s=null!=e[s]&&c.isFunction(e[s])?e[s]():null!=e[s]?e[s]:e[u]&&e[u]((o=s,"get"==u?o:o.slice(1))),a,i)}(t,c.isString(e)?e.split("."):e,n)},fix:function(t,e){return+t.toFixed(null!=e?e:5)},toSeconds:function(t){return t/1e3},toMilliseconds:function(t){return g.fix(1e3*t,0)},formatSecondsAsTime:function(t,e){function n(t){return t<10?"0"+t:t}var i,r=Math.floor(t/3600),o=Math.floor((t-3600*r)/60),s=Math.floor(t-3600*r-60*o);if(i=[o=n(o),s=n(s)],1<=r)i.unshift(r);else if(e){return'<span class="transparent no-wid">00:</span>'+i.join(":")}return i.join(":")},hexify:function(t){return"#"+t.replace(/0x|#/,"")},opacify:function(t){return t/100},rgbify:function(t,e){var n=this.hexify(t).replace("#",""),i=parseInt(n,16),r=[i>>16&255,i>>8&255,255&i],o=null!=e,s="rgb"+(o?"a":"");return o&&r.push(e),[s,"(",r.join(","),")"].join("")},toRgba:function(t,e){return g.rgbify(t,g.opacify(e))},octToDec:function(t){return t/255},decToPct:function(t,e){var n=g.fix(100*t);return e?n+"%":n},stopPct:function(t){return g.decToPct(g.octToDec(t))},pctToDec:function(t,e){return g.fix(parseFloat(t)/100,e)},add:function(t,e){return(t||0)+(e||0)},sum:function(){return c.reduce(arguments,g.add,0)},upperCaseFirst:c.partial(s,"toUpperCase"),lowerCaseFirst:c.partial(s,"toLowerCase"),slice:c.bind(Array.prototype.slice.call,Array.prototype.slice),resolveAssetUrl:function(){return e(f.PRESENTATION_URL,arguments)},resolveDataUrl:function(){return e(f.PRESENTATION_DATA_URL,arguments)+".js"},clamp:function(t,e,n){return Math.max(Math.min(n,e),t)},areOverlapping:function(t,e){return t.left<e.right&&t.right>e.left&&t.top<e.bottom&&t.bottom>e.top},getRectIntersection:function(t,e){var n=Math.max(t.top,e.top),i=Math.min(t.bottom,e.bottom),r=Math.max(t.left,e.left),o=Math.min(t.right,e.right);return g.areOverlapping(t,e)&&{top:n,left:r,bottom:i,right:o,width:o-r,height:i-n}},isWithinRange:function(t,e,n){return t<=n&&n<=e},hasProp:function(t,e){if(null==t)return!1;for(var n,i=t,r=e.split(".");n=r.shift();){if(null==i[n])return!1;i=i[n]}return!0},not:function(t){return function(){return!t.apply(this,arguments)}},take:function(t,e,n){return function(){return e.apply(n,c.take(arguments,t))}},invertPercent:function(t){return 1-t},andify:c.partial(n,"every"),orify:c.partial(n,"some"),is:o,isTrue:c.partial(o,!0),isFalse:c.partial(o,!1),alwaysTrue:function(){return!0},alwaysFalse:function(){return!1},buildDataStructure:function(t,e,n){return new t(n,e)},createSuper:function(e){return function(t){return e.prototype[t]}},cloneDeeply:function(t){return JSON.parse(JSON.stringify(t))},buildEventNamespace:function(t){return".ds"+(t||"")},namespaceEvent:function(t,e){return t+g.buildEventNamespace(e)},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},hypot:function(t,e){return Math.sqrt(t*t+e*e)},dist:function(t,e,n,i){var r=t-n,o=e-i;return this.hypot(r,o)},degToRad:function(t){return t*f.math.TO_RADIANS},radToDeg:function(t){return t*f.math.TO_DEGREES},normalizeDeg:function(t){for(var e=t;e<0;)e+=360;return e%360},stripTags:function(t,e,n){var i=document.createElement("div"),r=n?["<",n,">"].join(""):"",o=r.replace("<","</");return i.innerHTML=t,e?c(i.querySelectorAll(e)).map(function(t){return[r,t.innerHTML,o].join("")}).join(""):i.textContent},stripTagsMobile:function(t,e,n){return d.deviceView.isClassicMobile?g.stripTags(t,e,n):t},camelCaseAttr:function(t,e){return(t=e?t:t.toLowerCase()).replace(/-(.)/g,function(t,e){return e.toUpperCase()})},stripPlayer:c.partial(r,i(f.refs.PLAYER)),stripChoice:c.partial(r,i(f.refs.CHOICES)),stripStatement:c.partial(r,i(f.refs.STMTS)),prefixWithPlayer:function(t){return f.refs.PLAYER+"."+g.stripPlayer(t)},parseParams:function(t){return t=t||window.location.search.substr(1),c.object(t.split("&").map(function(t){return t.split("=")}))},applyMethod:function(t,e){var n=c.slice(arguments,2);return e=c.isArray(e)?e:[e],n.unshift(e,t),c.invoke.apply(c,n)},pxify:function(t){return[t,"px"].join("")},ptify:function(t){return[t,"pt"].join("")},shallowEqual:function(t,e){if(t===e)return!0;var n;for(n in t)if(t.hasOwnProperty(n)&&(!e.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(n in e)if(e.hasOwnProperty(n)&&!t.hasOwnProperty(n))return!1;return!0},doubleQuote:c.partial(a,'"'),quote:c.partial(a,"'"),toCssUrl:function(t){return["url(",this.quote(t),")"].join("")},getWindowSearch:function(){return window.location.search.replace(/^\?/,"")},queryStringToObj:function(){var t;return t=this.getWindowSearch().split("&"),c.zipObject(t.map(u))},rotatePoint:function(t,e,n,i,r){r=g.degToRad(r);var o=t-n,s=e-i,a=Math.cos(r),l=Math.sin(r);return{x:a*o-l*s+n,y:l*o+a*s+i}},pointInRect:function(t,e,n){var i=n[0][0],r=n[0][1],o=n[1][0],s=n[1][1];return i<=t&&t<=o&&r<=e&&e<=s},showTimer:function(t,n){c(t.refs).pick(function(t,e){return 0===e.indexOf("timer")&&t!==n}).forOwn(function(t){t.onHide()}).value()},dateToString:function(t){if(null==t)return"";return[["January","February","March","April","May","June","July","August","September","October","November","December"][t.getMonth()]," ",t.getDate(),", ",t.getFullYear()].join("")},timeToString:function(t){if(null==t)return"";var e=t.getHours(),n=t.getMinutes(),i="am";return n<10&&(n="0"+n),12<e&&(e-=12,i="pm"),[e,":",n," ",i].join("")},parseUrl:function(t){var e=document.createElement("a");return e.href=t,c.pick(e,["protocol","hostname","port","pathname","search","hash","host"])},hasArabicCharacters:function(t){return p.test(t)},ellipsize:function(t,e){return null==t||t.length<=e?t:[t.substr(0,e),"…"].join("")},generateHash:function(t){var e,n=0,i=t.length;for(e=0;e<i;e++)n=31*n+t.charCodeAt(e),n|=0;return n},multiply:c.curry(function(t,e){return t*e}),juxt:function(t){return function(){var e=arguments;return t.map(function(t){return t.apply(null,e)})}}};return g}.call(e,v,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=window.globals||{},n=window.location.protocol+"//",i=window.location.host,r=window.location.pathname.split(/\/+/).slice(0,-1).join("/"),o=e.DATA_PATH_BASE+"/html5/data/js",s=n+i+r+e.DATA_PATH_BASE+"/html5/lib/scripts",a=n+i+r+e.DATA_PATH_BASE+"/html5/lib/stylesheets",l={slideLocation:s+"/ds-slides.min.js",frameLocations:{MOBILE:s+"/ds-frame.mobile.min.js",DESKTOP:s+"/ds-frame.desktop.min.js"},cssLocations:{MOBILE:a+"/mobile.min.css",DESKTOP:a+"/desktop.min.css"},player:{},LINE_BREAK_REGEX:/\n|\r/,theme:{},setThemeConstant:function(t,e){l.theme[t]=e},strings:{PROJECT_TITLE:"project-title"},els:{PRESO:"preso",LIB:"lib",MASK_LIB:"mask-library"},SVG_HIT:"svgHit",RECT_HIT:"rectHit",GROUP_HIT:"groupHit",SLIDE_HIT:"slideHit",PATH_DELIMITER:".",NODE_DELIMITER:"-",SVG_NODE_PREFIX:"commandset",PRESENTATION_URL:[e.DATA_PATH_BASE,r].join(""),PRESENTATION_DATA_URL:[r,o].join(""),STORY_CONTENT_URL:"story_content/",QUIZ_MAKER_URL:"quiz_content/",PRESENTER_URL:"presentation_content/",PLAYER_PROPS_KEYPATH:"playerProps",DEFAULT_VOLUME:.8,DESKTOP_LOADER_DELAY:200,XAPI_RETRY_INTERVALS_MS:[100,400,400,600,600],LIGHTBOX_SCALAR:.85,UNIFIED_PORTRAIT_UI_SIZE:65,UNIFIED_LANDSCAPE_UI_SIZE:58,UNIFIED_LIGHTBOX_UI_SIZE:50,MOBILE_UI_SIZE:58,DOUBLE_MOBILE_UI_SIZE:116,MOBILE_ANIMATION_DURATION:260,ANIMATION_DURATION:300,MOBILE_WIDTH_MIN:320,MOBILE_360_PHONE_LARGE:380,MOBILE_360_PHONE_MEDIUM:375,MOBILE_MIN_LANDSCAPE_FULL:314,MOBILE_MIN_LANDSCAPE:250,MOBILE_FONT:"Open Sans Full",XMLNS_XLINK:"http://www.w3.org/1999/xlink",XMLNS_XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/svg",refs:{PLAYER:"_player",FRAME:"_frame",PARENT:"_parent",CURRENT_SLIDE:"_currentSlide",CHILDREN:"_children",SELF:"_this",CHOICES:"choices",STMTS:"statements",PLAYER_VARS:"_playerVars"},varTypes:{STRING:"string",NUM:"number",BOOL:"boolean"},statuses:{CORRECT:"correct",INCORRECT:"incorrect",INCOMPLETE:"incomplete",COMPLETE:"complete",NEUTRAL:"neutral",PASSING:"pass",FAILING:"fail"},reviewResetTypes:{ALL:"all",INCORRECTONLY:"incorrectonly"},dynamicTabEls:{},tabIndices:{SKIP:0,LIGHTBOX_CLOSE:1,SUBMIT_ALL:2,PREV:3,NEXT:4,SUBMIT:5,SIDEBAR:10,SEARCH_RESULTS_TREE_MODE:0,SEARCH_INPUT:1,SEARCH_SUBMIT:2,SEARCH_FILTER:3,SEARCH_NOTES:4,SEARCH_TEXT:5,SEARCH_RESULTS_LIST_MODE:6,SEARCH_CLEAR:17,TIME:39,TOP_TAB_LEFT:30,TOP_TAB_RIGHT:40,VOLUME:50,CAPTIONS:55,PLAYBACK_PLAY:60,PLAYBACK_PROGRESS:65,PLAYBACK_RESET:70},math:{QUARTER_PI:.25*Math.PI,HALF_PI:.5*Math.PI,THREE_QUARTER_PI:.75*Math.PI,TWO_PI:2*Math.PI,TO_RADIANS:Math.PI/180,TO_DEGREES:180/Math.PI},keys:{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CONTROL:17,ALT:18,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126},TINY_VIDEO:"data:video/mp4;base64, AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=",TINY_AUDIO:"data:audio/mp3;base64,//MgxAAAAANIAAAAAExBTUUzLjk3VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/zIsQnAAADSAAAAABVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV//MgxE8AAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/zIMR2AAADSAAAAABVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVX/8yDEnQAAA0gAAAAAVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVEFHOWVmMTRlNzg4YzVhNDQ5AAAAAAAAAAAAAAAAAAAAYjZiYWQ3ZjY2NjFkZWZhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="};return Object.freeze(l),Object.freeze(l.refs),Object.freeze(l.varTypes),Object.freeze(l.statuses),Object.freeze(l.tabIndices),Object.freeze(l.math),Object.freeze(l.keys),l}.call(e,n,e,t))||(t.exports=i)},function(t,e,j){"use strict";var n;void 0===(n=function(t){function e(t){return"1"===c[t]}function n(){var t=M.orientation;t.value=window.innerWidth>window.innerHeight?"landscape":"portrait",M.innerHeight=window.innerHeight,M.innerWidth=window.innerWidth,D(),t.value===t.prev&&!M.forceHideWarning||("portrait"===t.value?(document.body.classList.remove("is-landscape"),document.body.classList.add("is-portrait"),t.isPortrait=!0,t.isLandscape=!1):(document.body.classList.add("is-landscape"),document.body.classList.remove("is-portrait"),t.isPortrait=!1,t.isLandscape=!0),a.trigger(s.detection.ORIENTATION_CHANGE,{orientation:t.value}),t.prev=t.value)}var i,r,o=j(22),s=j(1),a=j(2),l=j(38),u=j(7).addWindowListener,c=window.globals&&window.globals.parsedParams||{},h=e("forcemobile"),f=e("devicepreview"),d=e("phone"),p=e("noframe"),g=e("enableFs"),v=c.videocontrolsfont,m=window.navigator.userAgent.toLowerCase(),y="ActiveXObject"in window||null!=window.MSBlobBuilder,A=window.isMobile.apple.device,w=A?parseInt((/os[x\s]+([0-9]+)_/.exec(m)||/version\/([0-9]+)/.exec(m))[1]):NaN,b=A&&m.indexOf("version")<0,_="file:"===document.location.protocol,S=null!=window.vInterfaceObject&&window.autoSpider,T=S&&h&&f,x=(i=document.createElement("canvas"),r=i.getContext("webgl")||i.getContext("experimental-webgl"),(i=null)!=r),E=window.globals,C=E.deviceView,k=E.themeName,O=window,R=O.isMobile,P=O.isMobile.apple.tablet,I="classic"===k,L="unified"===k,M={device:{isDesktop:R.desktop,isMobile:R.mobile,isPhone:R.phone,isTablet:R.tablet},deviceView:{isDesktop:C.desktop,isMobile:C.mobile,isPhone:C.phone,isTablet:C.tablet,isClassicMobile:I&&C.mobile,isClassicDesktop:I&&C.desktop,isUnifiedMobile:L&&C.mobile,isUnifiedDesktop:L&&C.desktop},theme:{isClassic:I,isUnified:L},os:{isAndroid:window.isMobile.android.device,isIOS:A,iOSVersion:w,isIosPhoneBefore10:R.phone&&w<10,isMac:o.mac},browser:{isWebKit:m.includes("webkit"),isSafariMac:!(!o.mac||!o.safari),isFF:m.includes("firefox"),isChrome:o.chrome,isWebView:b,isUIWebView:b&&!window.indexedDB,isIE:y,isIE10:m.includes("msie s10"),isIE11:y&&null!=window.msCrypto&&!window.ActiveXObject,isEdge:y&&null==window.msCrypto&&x},env:{is360:S,isDevicePreview:T,isMobilePreview:h,isPhonePreview:T&&d,isRise:null!=window.vInterfaceObject&&window.vInterfaceObject.isRise,isInIframe:window.top!==window.self,isWebObject:/(\?|&)wo=1(&|$)/.test(window.location.search),isFileProtocol:_,enableFs:g&&T&&!d,hideFrame:p,videoControlsFont:null!=v&&"'"+window.decodeURIComponent(v)+"'"},capabilities:{hasAudioApi:l&&(!_||R.mobile),isMemoryDeficientDevice:P&&(768===screen.height||768===screen.width)},orientation:{forceHideWarning:!1,prev:null}},D=M.os.isAndroid?function(){var t=window.screen,e=t.width<t.height?"portrait":"landscape",n=M.orientation;n.forceHideWarning=n.value!==e}:function(){};if(M.device.isMobile&&M.env.isInIframe){document.body.style.position="fixed";var N=function(){document.body.style.width=window.innerWidth+"px",document.body.style.height=window.innerHeight+"px"};u("resize",N),N()}return M.isRise&&(document.body.classList.add("is-rise"),document.body.styles.background="transparent"),M.isMobile&&!M.theme.isUnified&&document.getElementById("preso").setAttribute("class",""),n(),u("orientationchange",n),M}.call(e,j,e,t))||(t.exports=n)},function(t,e,u){"use strict";var n;void 0===(n=function(t){function e(t,e){return e.state()===t}var n=u(0),i=u(59),o=u(3),r="pending",s="resolved",a="rejected",l={Deferred:function(){return new i},when:function(){var t=o.slice(arguments),e=new i,n=t.length;return t.forEach(function(t){t.then(function(){0==--n&&e.resolve()}).catch(function(){0<=--n&&(e.reject(),n=0)})}),e.promise()},after:function(){function e(t){r.push(t),i.length===r.length&&n.resolve.apply(n,i)}var n=new l.Deferred,i=o.slice(arguments),r=[];return i.length?i.forEach(function(t){t.always(function(){e(t)})}):n.resolve(),n.promise()},isPending:n.partial(e,r),isResolved:n.partial(e,s),isRejected:n.partial(e,a),promiseToVow:function(t){var e=l.Deferred();return t.then(e.resolve).catch(e.reject),e.promise()}};return l}.call(e,u,e,t))||(t.exports=n)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function a(t,e,n){return((d[t]||{})[e]||{})[n]}function r(t,e,n,i,r){var o=4<arguments.length&&void 0!==r?r:"on",s=t===window&&("resize"===e||"orientationchange"===e);i=!!i&&!s;var a=h.get(t),l=d[a]=d[a]||{},u=l[e]=l[e]||{},c=u[i]=u[i]||{callbacks:{before:new Set,on:new Set,after:new Set},listener:null,customEvent:s};return f.reduce(function(t,e){return c.callbacks[e].has(n)||t},!1)||(c.callbacks[o].add(n),null===c.listener&&(c.listener=function(e){return f.forEach(function(t){return[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(c.callbacks[t])).forEach(function(t){return t(e)})})},s||t.addEventListener(e,c.listener,i))),function(){return m(t,e,n,i)}}function o(t,e,n){var i=a(t,e,!1);null!=i&&i.listener(n)}function s(t){c!==window.innerWidth||p!==window.innerHeight?(v=null,y()):t-v<1e3?window.requestAnimationFrame(s):v=null}var i=n(2),l=n(1),h=new Map([[document,"document"],[document.body,"body"],[window,"window"]]),f=["before","on","after"],d={},u=window,c=u.lastWidth,p=u.lastHeight,g=void 0,v=void 0,m=function(t,e,n,i){var r=3<arguments.length&&void 0!==i&&i,o=h.get(t),s=a(o,e,r);null!=s&&(f.forEach(function(t){return s.callbacks[t].delete(n)}),s.customEvent||0!==f.reduce(function(t,e){return s.callbacks[e].size+t},0)||t.removeEventListener(e,n,r))},y=function(t){var e,n,i,r=0<arguments.length&&void 0!==t?t:{};e=r,n=window.innerWidth>window.innerHeight,g!==n&&(g=n,o("window","orientationchange",e)),i=r,c===window.innerWidth&&p===window.innerHeight||(c=window.innerWidth,p=window.innerHeight,o("window","resize",i)),null==v&&(v=window.performance.now(),window.requestAnimationFrame(s))};window.addEventListener("orientationchange",y),window.addEventListener("resize",y),i.on(l.window.ZOOM_MODE_CHANGED,function(){o("window","resize",null)});e.addBodyListener=function(t,e,n,i){return r(document.body,t,e,n,i)},e.removeBodyListener=function(t,e,n){return m(document.body,t,e,n)},e.addDocumentListener=function(t,e,n,i){return r(document,t,e,n,i)},e.removeDocumentListener=function(t,e,n){return m(document,t,e,n)},e.addWindowListener=function(t,e,n,i){return r(window,t,e,n,i)},e.removeWindowListener=function(t,e,n){return m(window,t,e,n)}},function(t,e,i){"use strict";var n;void 0===(n=function(t){var r=i(0),n=i(39),e=r.curry(function(t,e,n,i){t([e,"::",n," - ",r.slice(arguments,3).join(" ")].join(""))},4);return{throwFatal:e(function(t){throw new Error(t)}),throwError:e(function(t){var e=n.debugMode?"error":"warn";console[e](t),n.throwError()}),throwErrorSoft:e(function(t){n.debugMode&&console.warn(t)}),warn:e(function(t){console.warn(t)}),backtick:function(t){return["`",t,"`"].join("")}}}.call(e,i,e,t))||(t.exports=n)},function(t,e,n){var i,r,o;i=this,r=function(t,a,_,e){var n=t.Backbone,i=[],r=i.slice;a.VERSION="1.1.2",a.$=e,a.noConflict=function(){return t.Backbone=n,this},a.emulateHTTP=!1,a.emulateJSON=!1;var o=a.Events={on:function(t,e,n){return h(this,"on",t,[e,n])&&e&&(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:n,ctx:n||this})),this},once:function(t,e,n){if(!h(this,"once",t,[e,n])||!e)return this;var i=this,r=_.once(function(){i.off(t,r),e.apply(this,arguments)});return r._callback=e,this.on(t,r,n)},off:function(t,e,n){var i,r,o,s,a,l,u,c;if(!this._events||!h(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events=void 0,this;for(a=0,l=(s=t?[t]:_.keys(this._events)).length;a<l;a++)if(t=s[a],o=this._events[t]){if(this._events[t]=i=[],e||n)for(u=0,c=o.length;u<c;u++)r=o[u],(e&&e!==r.callback&&e!==r.callback._callback||n&&n!==r.context)&&i.push(r);i.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=r.call(arguments,1);if(!h(this,"trigger",t,e))return this;var n=this._events[t],i=this._events.all;return n&&s(n,e),i&&s(i,arguments),this},stopListening:function(t,e,n){var i=this._listeningTo;if(!i)return this;var r=!e&&!n;for(var o in n||"object"!=typeof e||(n=this),t&&((i={})[t._listenId]=t),i)(t=i[o]).off(e,n,this),(r||_.isEmpty(t._events))&&delete this._listeningTo[o];return this}},l=/\s+/,h=function(t,e,n,i){if(!n)return!0;if("object"==typeof n){for(var r in n)t[e].apply(t,[r,n[r]].concat(i));return!1}if(l.test(n)){for(var o=n.split(l),s=0,a=o.length;s<a;s++)t[e].apply(t,[o[s]].concat(i));return!1}return!0},s=function(t,e){var n,i=-1,r=t.length,o=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s,a);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e);return}};_.each({listenTo:"on",listenToOnce:"once"},function(r,t){o[t]=function(t,e,n){var i=this._listeningTo||(this._listeningTo={});return n||"object"!=typeof e||(n=this),(i[t._listenId||(t._listenId=_.uniqueId("l"))]=t)[r](e,n,this),this}}),o.bind=o.on,o.unbind=o.off,_.extend(a,o);var S=a.Model=function(t,e){var n=t||{};e=e||{},this.cid=_.uniqueId("c"),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(n=this.parse(n,e)||{}),n=_.defaults({},n,_.result(this,"defaults")),this.set(n,e),this.changed={},this.initialize.apply(this,arguments)};_.extend(S.prototype,o,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return _.clone(this.attributes)},sync:function(){return a.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return _.escape(this.get(t))},has:function(t){return null!=this.get(t)},set:function(t,e,n){var i,r,o,s,a,l,u,c;if(null==t)return this;if("object"==typeof t?(r=t,n=e):(r={})[t]=e,n=n||{},!this._validate(r,n))return!1;for(i in o=n.unset,a=n.silent,s=[],l=this._changing,this._changing=!0,l||(this._previousAttributes=_.clone(this.attributes),this.changed={}),c=this.attributes,u=this._previousAttributes,this.idAttribute in r&&(this.id=r[this.idAttribute]),r)e=r[i],_.isEqual(c[i],e)||s.push(i),_.isEqual(u[i],e)?delete this.changed[i]:this.changed[i]=e,o?delete c[i]:c[i]=e;if(!a){s.length&&(this._pending=n);for(var h=0,f=s.length;h<f;h++)this.trigger("change:"+s[h],this,c[s[h]],n)}if(l)return this;if(!a)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,_.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var n in this.attributes)e[n]=void 0;return this.set(e,_.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!_.isEmpty(this.changed):_.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&_.clone(this.changed);var e,n=!1,i=this._changing?this._previousAttributes:this.attributes;for(var r in t)_.isEqual(i[r],e=t[r])||((n=n||{})[r]=e);return n},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return _.clone(this._previousAttributes)},fetch:function(e){void 0===(e=e?_.clone(e):{}).parse&&(e.parse=!0);var n=this,i=e.success;return e.success=function(t){if(!n.set(n.parse(t,e),e))return!1;i&&i(n,t,e),n.trigger("sync",n,t,e)},I(this,e),this.sync("read",this,e)},save:function(t,e,n){var i,r,o,s=this.attributes;if(null==t||"object"==typeof t?(i=t,n=e):(i={})[t]=e,n=_.extend({validate:!0},n),i&&!n.wait){if(!this.set(i,n))return!1}else if(!this._validate(i,n))return!1;i&&n.wait&&(this.attributes=_.extend({},s,i)),void 0===n.parse&&(n.parse=!0);var a=this,l=n.success;return n.success=function(t){a.attributes=s;var e=a.parse(t,n);if(n.wait&&(e=_.extend(i||{},e)),_.isObject(e)&&!a.set(e,n))return!1;l&&l(a,t,n),a.trigger("sync",a,t,n)},I(this,n),"patch"==(r=this.isNew()?"create":n.patch?"patch":"update")&&(n.attrs=i),o=this.sync(r,this,n),i&&n.wait&&(this.attributes=s),o},destroy:function(e){e=e?_.clone(e):{};function n(){i.trigger("destroy",i,i.collection,e)}var i=this,r=e.success;if(e.success=function(t){(e.wait||i.isNew())&&n(),r&&r(i,t,e),i.isNew()||i.trigger("sync",i,t,e)},this.isNew())return e.success(),!1;I(this,e);var t=this.sync("delete",this,e);return e.wait||n(),t},url:function(){var t=_.result(this,"urlRoot")||_.result(this.collection,"url")||P();return this.isNew()?t:t.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},_.extend(t||{},{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=_.extend({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return!n||(this.trigger("invalid",this,n,_.extend(e,{validationError:n})),!1)}});_.each(["keys","values","pairs","invert","pick","omit"],function(e){S.prototype[e]=function(){var t=r.call(arguments);return t.unshift(this.attributes),_[e].apply(_,t)}});var u=a.Collection=function(t,e){(e=e||{}).model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,_.extend({silent:!0},e))},T={add:!0,remove:!0,merge:!0},c={add:!0,remove:!1};_.extend(u.prototype,o,{model:S,initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return a.sync.apply(this,arguments)},add:function(t,e){return this.set(t,_.extend({merge:!1},e,c))},remove:function(t,e){var n,i,r,o,s=!_.isArray(t);for(e=e||{},n=0,i=(t=s?[t]:_.clone(t)).length;n<i;n++)(o=t[n]=this.get(t[n]))&&(delete this._byId[o.id],delete this._byId[o.cid],r=this.indexOf(o),this.models.splice(r,1),this.length--,e.silent||(e.index=r,o.trigger("remove",o,this,e)),this._removeReference(o,e));return s?t[0]:t},set:function(t,e){(e=_.defaults({},e,T)).parse&&(t=this.parse(t,e));var n,i,r,o,s,a,l,u=!_.isArray(t);t=u?t?[t]:[]:_.clone(t);var c=e.at,h=this.model,f=this.comparator&&null==c&&!1!==e.sort,d=_.isString(this.comparator)?this.comparator:null,p=[],g=[],v={},m=e.add,y=e.merge,A=e.remove,w=!(f||!m||!A)&&[];for(n=0,i=t.length;n<i;n++){if(r=(s=t[n]||{})instanceof S?o=s:s[h.prototype.idAttribute||"id"],a=this.get(r))A&&(v[a.cid]=!0),y&&(s=s===o?o.attributes:s,e.parse&&(s=a.parse(s,e)),a.set(s,e),f&&!l&&a.hasChanged(d)&&(l=!0)),t[n]=a;else if(m){if(!(o=t[n]=this._prepareModel(s,e)))continue;p.push(o),this._addReference(o,e)}o=a||o,!w||!o.isNew()&&v[o.id]||w.push(o),v[o.id]=!0}if(A){for(n=0,i=this.length;n<i;++n)v[(o=this.models[n]).cid]||g.push(o);g.length&&this.remove(g,e)}if(p.length||w&&w.length)if(f&&(l=!0),this.length+=p.length,null!=c)for(n=0,i=p.length;n<i;n++)this.models.splice(c+n,0,p[n]);else{w&&(this.models.length=0);var b=w||p;for(n=0,i=b.length;n<i;n++)this.models.push(b[n])}if(l&&this.sort({silent:!0}),!e.silent){for(n=0,i=p.length;n<i;n++)(o=p[n]).trigger("add",o,this,e);(l||w&&w.length)&&this.trigger("sort",this,e)}return u?t[0]:t},reset:function(t,e){e=e||{};for(var n=0,i=this.models.length;n<i;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,_.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,_.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t),e},unshift:function(t,e){return this.add(t,_.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t),e},slice:function(){return r.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(n,t){return _.isEmpty(n)?t?void 0:[]:this[t?"find":"filter"](function(t){for(var e in n)if(n[e]!==t.get(e))return!1;return!0})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t=t||{},_.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(_.bind(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return _.invoke(this.models,"get",t)},fetch:function(n){void 0===(n=n?_.clone(n):{}).parse&&(n.parse=!0);var i=n.success,r=this;return n.success=function(t){var e=n.reset?"reset":"set";r[e](t,n),i&&i(r,t,n),r.trigger("sync",r,t,n)},I(this,n),this.sync("read",this,n)},create:function(t,n){if(n=n?_.clone(n):{},!(t=this._prepareModel(t,n)))return!1;n.wait||this.add(t,n);var i=this,r=n.success;return n.success=function(t,e){n.wait&&i.add(t,n),r&&r(t,e,n)},t.save(null,n),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(t instanceof S)return t;var n=new(((e=e?_.clone(e):{}).collection=this).model)(t,e);return n.validationError?(this.trigger("invalid",this,n.validationError,e),!1):n},_addReference:function(t,e){null!=(this._byId[t.cid]=t).id&&(this._byId[t.id]=t),t.collection||(t.collection=this),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,i){("add"!==t&&"remove"!==t||n===this)&&("destroy"===t&&this.remove(e,i),e&&t==="change:"+e.idAttribute&&(delete this._byId[e.previous(e.idAttribute)],null!=e.id&&(this._byId[e.id]=e)),this.trigger.apply(this,arguments))}});_.each(["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"],function(e){u.prototype[e]=function(){var t=r.call(arguments);return t.unshift(this.models),_[e].apply(_,t)}});_.each(["groupBy","countBy","sortBy","indexBy"],function(i){u.prototype[i]=function(e,t){var n=_.isFunction(e)?e:function(t){return t.get(e)};return _[i](this.models,n,t)}});var f=a.View=function(t){this.cid=_.uniqueId("view"),t=t||{},_.extend(this,_.pick(t,p)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},d=/^(\S+)\s*(.*)$/,p=["model","collection","el","id","attributes","className","tagName","events"];_.extend(f.prototype,o,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(t,e){return this.$el&&this.undelegateEvents(),this.$el=t instanceof a.$?t:a.$(t),this.el=this.$el[0],!1!==e&&this.delegateEvents(),this},delegateEvents:function(t){if(!(t=t||_.result(this,"events")))return this;for(var e in this.undelegateEvents(),t){var n=t[e];if(_.isFunction(n)||(n=this[t[e]]),n){var i=e.match(d),r=i[1],o=i[2];n=_.bind(n,this),r+=".delegateEvents"+this.cid,""===o?this.$el.on(r,n):this.$el.on(r,o,n)}}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(_.result(this,"el"),!1);else{var t=_.extend({},_.result(this,"attributes"));this.id&&(t.id=_.result(this,"id")),this.className&&(t.class=_.result(this,"className"));var e=a.$("<"+_.result(this,"tagName")+">").attr(t);this.setElement(e,!1)}}}),a.sync=function(t,e,n){var i=v[t];_.defaults(n=n||{},{emulateHTTP:a.emulateHTTP,emulateJSON:a.emulateJSON});var r={type:i,dataType:"json"};if(n.url||(r.url=_.result(e,"url")||P()),null!=n.data||!e||"create"!==t&&"update"!==t&&"patch"!==t||(r.contentType="application/json",r.data=JSON.stringify(n.attrs||e.toJSON(n))),n.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),n.emulateHTTP&&("PUT"===i||"DELETE"===i||"PATCH"===i)){r.type="POST",n.emulateJSON&&(r.data._method=i);var o=n.beforeSend;n.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",i),o)return o.apply(this,arguments)}}"GET"===r.type||n.emulateJSON||(r.processData=!1),"PATCH"===r.type&&g&&(r.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var s=n.xhr=a.ajax(_.extend(r,n));return e.trigger("request",e,s,n),s};var g=!("undefined"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),v={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};a.ajax=function(){return a.$.ajax.apply(a.$,arguments)};var m=a.Router=function(t){(t=t||{}).routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},y=/\((.*?)\)/g,A=/(\(\?)?:\w+/g,w=/\*\w+/g,b=/[\-{}\[\]+?.,\\\^$|#\s]/g;_.extend(m.prototype,o,{initialize:function(){},route:function(n,i,r){_.isRegExp(n)||(n=this._routeToRegExp(n)),_.isFunction(i)&&(r=i,i=""),r=r||this[i];var o=this;return a.history.route(n,function(t){var e=o._extractParameters(n,t);o.execute(r,e),o.trigger.apply(o,["route:"+i].concat(e)),o.trigger("route",i,e),a.history.trigger("route",o,i,e)}),this},execute:function(t,e){t&&t.apply(this,e)},navigate:function(t,e){return a.history.navigate(t,e),this},_bindRoutes:function(){if(this.routes){this.routes=_.result(this,"routes");for(var t,e=_.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(b,"\\$&").replace(y,"(?:$1)?").replace(A,function(t,e){return e?t:"([^/?]+)"}).replace(w,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return _.map(n,function(t,e){return e===n.length-1?t||null:t?decodeURIComponent(t):null})}});var x=a.History=function(){this.handlers=[],_.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},E=/^[#\/]|\s+$/g,C=/^\/+|\/+$/g,k=/msie [\w.]+/,O=/\/$/,R=/#.*$/;x.started=!1,_.extend(x.prototype,o,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(null==t)if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(O,"");t.indexOf(n)||(t=t.slice(n.length))}else t=this.getHash();return t.replace(E,"")},start:function(t){if(x.started)throw new Error("Backbone.history has already been started");x.started=!0,this.options=_.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var e=this.getFragment(),n=document.documentMode,i=k.exec(navigator.userAgent.toLowerCase())&&(!n||n<=7);if(this.root=("/"+this.root+"/").replace(C,"/"),i&&this._wantsHashChange){var r=a.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=r.hide().appendTo("body")[0].contentWindow,this.navigate(e)}this._hasPushState?a.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!i?a.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=e;var o=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0;this._hasPushState&&this.atRoot()&&o.hash&&(this.fragment=this.getHash().replace(E,""),this.history.replaceState({},document.title,this.root+this.fragment))}if(!this.options.silent)return this.loadUrl()},stop:function(){a.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),x.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getFragment(this.getHash(this.iframe))),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(e){return e=this.fragment=this.getFragment(e),_.any(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0})},navigate:function(t,e){if(!x.started)return!1;e&&!0!==e||(e={trigger:!!e});var n=this.root+(t=this.getFragment(t||""));if(t=t.replace(R,""),this.fragment!==t){if(""===(this.fragment=t)&&"/"!==n&&(n=n.slice(0,-1)),this._hasPushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getFragment(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var i=t.href.replace(/(javascript:|#).*$/,"");t.replace(i+"#"+e)}else t.hash="#"+e}}),a.history=new x;S.extend=u.extend=m.extend=f.extend=x.extend=function(t,e){var n,i=this;n=t&&_.has(t,"constructor")?t.constructor:function(){return i.apply(this,arguments)},_.extend(n,i,e);function r(){this.constructor=n}return r.prototype=i.prototype,n.prototype=new r,t&&_.extend(n.prototype,t),n.__super__=i.prototype,n};var P=function(){throw new Error('A "url" property or function must be specified')},I=function(e,n){var i=n.error;n.error=function(t){i&&i(e,t,n),e.trigger("error",e,t,n)}};return a},o=n(0),r(i,e,o)},function(t,e,m){"use strict";var n;void 0===(n=function(t){function i(t,e,n){var i=[];for(e=e||f.alwaysTrue;t&&1===t.nodeType&&(i.push(t),null==n||!n(t));)t=t.parentNode;return i.slice(1).filter(e)}function n(t,e){return v.closest(t,function(t){return v.hasClass(t,e)})}function e(t,e){return!!n(t,e)}function r(t,e){return e.tagName.toLowerCase()===t.toLowerCase()}function o(t,e){if(null!=t.classList)t.classList.remove(e);else{var n=t.getAttribute("class").split();t.setAttribute("class",h.without(n,e).join(" "))}}function s(t,e){if(null!=t.classList)t.classList.add(e);else{var n=t.getAttribute("class").split();n.includes(e)||n.push(e),t.setAttribute("class",n.join())}}function a(t,e,n){var i=["<",t];return e&&h.isPlainObject(e)&&h.forOwn(e,function(t,e){var n;i.push(" ",e,'="',null==(n=t)?"":h.isString(n)?n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"):n,'"')},i),i.push(!0===n||!0===e?" />":">"),i.join("")}var h=m(0),f=m(3),l=(m(13),m(4)),u=m(11),c=m(7).addBodyListener,d=function(t,e,n){t.removeEventListener(e,n)},p=function(t,e){if(null!=t.classList)return t.classList.contains(e);var n=t.getAttribute("class");return null!=n&&n.split(" ").includes(e)},g=h.partialRight(function(t,e,n){return t.classList.add(e),setTimeout(function(){t.classList.remove(e)},n)},"button-tapped",l.MOBILE_ANIMATION_DURATION),v={on:function(t,e,n,i){return t.addEventListener(e,n,!!i),h.partial(d,t,e,n)},off:d,parentNodesOf:i,closest:function(t,e,n){return(e=e||f.alwaysTrue)(t)?t:i(t,e,n)[0]},isNodeOfType:r,isInput:function(t){return r("input",t)||r("textarea",t)},isLink:h.partial(r,"a"),isVideoNode:h.partial(r,"video"),isIconNode:function(t){return p(t,"svg-icon-wrapper")},isSlideObject:function(t){return p(t,"slide-object")},selectAllByRef:function(n,t){[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(t.querySelectorAll("[data-ref]"))).forEach(function(t){var e=t.classList[0];null!=e&&(n[h.camelCase(e)+"El"]=t)})},setAttributes:function(n,t){return h.forOwn(t,function(t,e){n.setAttribute(e,t)}),n},setStyles:function(n,t){return h.forOwn(t,function(t,e){n.style[e]=t}),n},getScrollRecommendation:function(t,e){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect();return n.height>i.height||i.top>n.top?t.scrollTop-(i.top-n.top):i.bottom<n.bottom?t.scrollTop+(n.bottom-i.bottom):-1},resizeToFit:function(t,r,e,o){var s=!!h.isFinite(e)&&r.length>e,a=t.getBoundingClientRect().width,l=a,u=0,c=l/r.length;o=o||0,h(r).map(function(t,e){t.style.width="";var n=t.getBoundingClientRect().width+o;return u+=n,{el:t,width:n}}).sortBy("width").forEach(function(t,e){var n=e+1,i=Math.min(t.width,c);a<u?(t.el.style.width=f.pxify(i-o),c=(l-=i)/(r.length-n)):s&&(t.el.style.width=f.pxify(t.width+(l-u)/r.length))}).value()},hasClass:p,addClass:s,removeClass:o,toggleClasses:function(t,e,n,i){var r=i?[s,o]:[o,s];r[0](t,e),r[1](t,n)},writeNode:a,writeCloseNode:function(t){return a(t).replace("<","</")},tappedClass:g,trigger:function(t,e,n){if(n=n||{ignoreDisabled:!0},null!=t){var i,r,o,s=(i=e,(o=document.createEvent("Event")).initEvent(i,!0,!0),h.defaults(o,r),o);return n.ignoreDisabled&&t.disabled||t.dispatchEvent(s),s}},getParentFrame:function(){try{for(var t,e=window.parent.document.getElementsByTagName("iframe"),n=e.length,i=0;i<n;i++)if((t=e[i]).contentDocument===document)return t}catch(t){}},getParentWithClass:n,isWithin:e,isWithinSlide:function(t){return e(t,"slide")},isWithinShadowDom:function(t){return e(t,"acc-shadow-dom")},mapShadowToModel:function(t){if(null==t)return null;var e=t;if(v.isWithinShadowDom(e)){for(;null!==e&&null==e.dataset.represents;)e=e.parentElement;return null==e?null:u.resolvePath(e.dataset.represents)}return null},updateMousePosition:function(t){null!=t.pageX&&null!=t.pageY&&(v.mouseX=t.pageX,v.mouseY=t.pageY)},mouseX:0,mouseY:0};return c("mousemove",function(t){v.updateMousePosition(t)}),c("touchstart",function(t){t.touches&&0<t.touches.length&&(v.mouseX=t.touches[0].pageX,v.mouseY=t.touches[0].pageY)},!0),v}.call(e,m,e,t))||(t.exports=n)},function(t,e,k){"use strict";var n;void 0===(n=function(t){function e(t){return i.test(t)}var a=k(0),n=k(8),r=k(4),i=/^RAND/,o={};o.string=o.object=o.boolean=function(t){return t},o.num=o.number=function(t){return e(t)?t:parseFloat(t)},o.var=o.variable=function(t,e){var n=a.identity,i=this.resolvePath(t,e,{optional:!0});return null!=i&&("number"===i.type()&&(n=parseFloat),i=n(i.value())),i},o.property=function(t,e){return this.resolvePath(t,e,{optional:!0})},o.drawid=function(t,e){return this.resolvePath(t,e,{optional:!0})},o.param=function(t,e,n){return this.getRef(n.params[t],e,n)},o.valueref=function(t,e,n){return this.getRef(a.findWhere(n.iterables,{name:t}),e,n)},o.actparam=function(t,e,n){return n[t]},o.default=function(t,e){return this.getRef(t,e)};function l(t){return t.replace(y,"")}function u(t){return m.test(t)}function s(t){return t.split(r.PATH_DELIMITER)}function c(r,o){var s;return a.find(r.resolveables,function(t){var e,n,i=r.get(t);return!!i&&(!(s=i.isCollection?i.get(o):i.id===o?i:i[o])&&(e=t,n=r,a.has(n.resolvers,e))&&(s=r.resolvers[t].call(r,o,i)),s)},r),s}function h(t,e){var n,i,r="$"===e?A:w;return i=e+(n=t.replace(r,"").split(".")).pop(),n.push(i),n.join(".")}var f,d=n.throwError("resolver"),p=d("resolvePath"),g=d("getRef"),v=d("findReference"),m=/\$/,y=/\#/,A=/\$/g,w=/\#/g,b=/^\$/,_=/^\#/,S=new RegExp("^"+r.refs.PLAYER),T=function(t){return t.replace(m,"")},x=a.partialRight(h,"$"),E=a.partialRight(h,"#"),C={initialize:function(){f=DS.presentation},getPresentationContext:function(){return DS.presentation},getSlideBankSlideInstance:function(e){var n=null;return f.scenes().some(function(t){return t.slidedraws().some(function(t){return t.slides().some(function(t){return t.id===e&&(n=t),null!=n}),null!=n}),null!=n}),n},resolvePath:function(t,e,n){var i,r;if(t)return null==f&&null!=DS.presentation&&this.initialize(DS.presentation),r=t,_.test(r)&&-1!==r.indexOf(".")?t=E(t):(i=t,b.test(i)&&-1!==i.indexOf(".")&&(t=x(t))),n=n||{},e&&a.isPlainObject(e)&&(n=e,e=void 0),this.resolvePathArray(s(t),e,n);p("Must provide a path to resolve")},resolvePathArray:function(n,t,e){var i=n.shift();switch(i){case r.refs.PLAYER:t=f;break;case r.refs.PLAYER_VARS:t=f.playerVars();break;case r.refs.PARENT:t=t.getClosestParentRef();break;case r.refs.CHILDREN:t=t.getChildren();break;case r.refs.SELF:t=t.getClosestThisRef();break;case r.refs.CURRENT_SLIDE:t=this.resolvePath(f.prop("CurrentSlideId"),f);break;default:t=C.findReference(i,t)}return null==t?e.optional?void 0:void p("Path did not resolve at:",i):n.length?a.isArray(t)?a(t).map(function(t){var e=n.slice();return C.resolvePathArray(e,t,{optional:!0})}).compact().value():C.resolvePathArray(n,t,e):t},findReference:function(t,e){if(t){var n,i,r,o,s;if(e)return e.isCollection&&e.get(t)?e.get(t):u(t)?e.prop(T(t)):(r=t,y.test(r)?(i=l(t),e.getVariableProp&&(n=e.getVariableProp(i))?n.value():e.variables().get(l(t))):e.isModel||null==e[t]?c(e,t)||(e.id===t?e:(s=t,(o=e).prop&&o.hasOwnPlayerProp(T(s))?e.prop(t):void 0)):e[t]);v("Context must be defined.")}else v("Cannot find a reference with no ID")},getRef:function(t,e,n){if(t){if(t.type)return(o[t.type]||o.default).call(this,t.value,e,n);g("Type is undefined for the provided reference")}else g("No reference passed in")}};return C.normalizePropRef=T,C.isPropRef=u,C.splitPath=s,C.joinPath=function(t){return t.join(r.PATH_DELIMITER)},C.isRelativePath=function(t){return!S.test(t)},C.isRandomToken=e,C.resolveAbsolutePathWithFilter=function(t,e){var n,i;return t=t.split("."),n=a.first(t.splice(0,1)),t.some(function(t){return n+="."+t,i=C.resolvePath(n),e(i)})?i:null},C}.call(e,k,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){n(18);return n(24),n(25),n(26),TweenLite.defaultOverwrite=!1,TweenLite}.call(e,n,e,t))||(t.exports=i)},function(t,e,u){"use strict";var n;void 0===(n=function(t){var e=u(0),n=u(7).addWindowListener,o=u(43),s=u(3),i=(u(16),u(5)),r=u(1),a=u(2),l={scaleValue:1,zoomMode:!1,enableZoomMode:function(t){this.zoomMode=t,a.trigger(r.window.ZOOM_MODE_CHANGED)},initialize:function(){e.bindAll(this,"scale","sendWindowScale"),this.isShowAll()&&!i.deviceView.isClassicMobile?this.startScaling():n("resize",this.sendWindowScale)},isShowAll:function(){return"show all"===window.globals.scale},sendWindowScale:function(){a.trigger(r.window.SCALE),a.trigger(r.window.AFTER_SCALE)},setWindowScale:function(t){this.windowScale=t},getWindowScale:function(){return this.windowScale},startScaling:function(){this.scale(),n("resize",this.scale)},getScaledFontSize:function(){return o.player.getFontScale()*this.getScale()},queueScale:function(){this.pending||(this.pending=!0,window.requestAnimationFrame(this.scale))},scale:function(){this.scaleValue=this.calcScale(),this.sendWindowScale(),this.pending=!1},calcScale:function(){var t=this.getWindowDimensions(),e=t.height,n=t.width,i=e/o.presentation.display().height(),r=n/o.presentation.display().width();return s.fix(Math.min(i,r),5)},getWindowDimensions:function(){return{height:window.innerHeight,width:window.innerWidth}},getScale:function(){return this.scaleValue}};return s.scaleVal=function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=t*l.getScale();return e?Math.round(n):n},l}.call(e,u,e,t))||(t.exports=n)},function(t,e,s){"use strict";var n;void 0===(n=function(t){var e,n=s(0),i=s(4),r=s(1),o=s(6);return new(s(29).extend({shorthand:["currentLayout","currentVolume","accessibleTextOn"],subscriptions:((e={})[r.app.COMPLETE]="onAppComplete",e[r.controlLayout.CHANGED]="onLayoutChanged",e[r.volume.CHANGED]="onVolumeChanged",e[r.volume.TOGGLE]="onToggleVolume",e),initialize:function(){this.appCompleteDfd=new o.Deferred,this.onVolumeChanged(i.DEFAULT_VOLUME)},getAppCompletePromise:function(){return this.appCompleteDfd.promise()},onAppComplete:function(){this.appCompleteDfd.resolve()},unsetAttrs:function(){return this.set(n.toArray(arguments).reduce(function(t,e){return t[e]=null,t},{})),this},onLayoutChanged:function(t,e){this.currentLayout(t),this.trigger(r.layout.CHANGED,this,t,e)},onVolumeChanged:function(t){this.volumeToggle=!1,this.currentVolume(t)},onToggleVolume:function(){this.volumeToggle||(this.lastVolume=this.currentVolume()),this.volumeToggle=!this.volumeToggle,this.currentVolume(this.volumeToggle?0:this.lastVolume)},onToggleAccessibleText:function(){var t=!this.accessibleTextOn();this.accessibleTextOn(t),this.trigger(DS.events.player.ACCESSIBLE_TEXT_CHANGED,t)}}))}.call(e,s,e,t))||(t.exports=n)},function(t,e,v){"use strict";var n;void 0===(n=function(t){function n(t){t.style.display="inline-block",e.browser.isSafariMac&&(t.style.willChange=""),t.style.display="",e.browser.isSafariMac&&(t.style.willChange="contents")}var s=v(0),i=v(18),e=v(5),a=v(1),r=v(16),o=v(44),l=v(45),u=v(32),c=v(6),h=v(3),f=v(2),d=/[\r\n\t]|  +/g,p=e.browser.isIE&&!e.browser.isEdge,g={transformZ:"",feDropShadow:!0,tspanFilters:!0};e.browser.isWebKit&&(g.forceSingleRepaint=function(t){n(t)},g.forceRepaint=function(t,e){return i.to(t,e,{onUpdate:function(){n(t)},onComplete:function(){n(t)}})},g.fixTspan=function(t){var e=h.getPath(t,"x","").split(" ").length;return s.isString(t.y)||(t.y=s.times(e,s.constant(t.y)).join(" ")),t},g.handleWillChange=function(t){t.willChange="opacity"}),p&&(g.getDxAdjustment=function(t){return t.runs.reduce(function(t,e){return t+e.spans.reduce(function(t,e){return t+s.sum(e.dx)},0)},0)/2}),g.fixStyleString=p?function(t){return t.replace(d,"")}:function(t){return t},e.browser.isIE&&(g.tspanFilters=!1,g.feDropShadow=!1,g.forceSingleRepaint=function(t){n(t)},o.patchEvents(),g.mouseOver=function(){return"mouseover"},g.elementsFromPoint=function(t,e,n){return s(document.msElementsFromPoint(t,e)).filter(n).value()},g.forceLayoutLtr=function(t){t.direction="ltr",t.unicodeBidi="bidi-override"},g.removeCharPositions=function(t){return r.isTspanNode(t)&&(t.x=[s.first(t.x.split(" "))]),t},g.stopColorProps=function(t){return{stopColor:h.toRgba(t.rgb,t.alpha)}});return e.os.isIosPhoneBefore10&&(g.buildCaptionTracks=function(t,e){var n,i,r,o;l.hasCaptions(e)&&(n=t,null!=(i=l.getCaptions(e))&&0<i.length&&((r=n.addTextTrack("captions",u.getString("closed_captions"),"")).mode=l.isCaptionEnabled()?"showing":"hidden",i.forEach(function(t){(o=new window.VTTCue(t.startTime,t.endTime,t.text.cueSource)).line=12,r.addCue(o)})))},g.onCaptionsEnabled=function(t){f.on(a.captions.ENABLE,t)},g.offCaptionsEnabled=function(t){f.off(a.captions.ENABLE,t)}),e.os.isAndroid&&(g.getAudioInitEvent=function(){return"click"}),e.os.isIOS&&(g.transformZ=" translateZ(0)",g.destroyAudioContext=s.noop,g.detectVisibilityChange=function(){var i,r=(new Date).getTime(),o=!1,s=!1;setInterval(function(){var t=(new Date).getTime(),e=t-r,n=o;r=t,o=900<=e,!n&&o?i=t:n&&o&&!s&&2e3<=t-i?(s=!0,f.trigger(a.detection.VISIBILITY_HIDDEN)):n&&!o&&(s=!1,f.trigger(a.detection.VISIBILITY_SHOWN))},500)},g.onOpenWindow=function(t,e,n){var i=h.getPath(e,"eventType"),r=h.getPath(e,"context.currView.el");"onpress"===i&&null!=r?r.addEventListener("touchend",function t(){n(),r.removeEventListener("touchend",t)}):n()},g.handleWillChange=function(t){t.willChange="unset"},e.browser.isUIWebView&&(g.registerAudioInitEvent=function(t,e,n,i){if(i.props.model.isKind("button"))return[{teardown:t(e,"click",function(){return!0},n)}]},g.getAudioInitEvent=function(){return"click"})),e.browser.isFF,(e.browser.isChrome||e.device.isMobile||e.browser.isSafariMac)&&(g.transformZ=" translateZ(0)"),g.moveHtmlTextOutOfSvg=function(t){function n(t){return"variableText"===t.nodeType||"accessibleText"===t.nodeType}function e(t){var e;return i=i.concat((e=t,s.remove(e.children,n))),t}var i=[];return e.afterFinish=function(t){if(0===i.length)return t;var e={nodeType:"div",className:"textlib-wrapper"};return e.children=i.slice(),e.children.push(t),e},r.transformNodeConfig(e,t)},g.unwrapForeignObjectVarText=function(t){return t.children[0]},null==document.fonts&&(g.loadFonts=function(t,o){return c.when.apply(c,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(t.map(function(e){var n=new c.Deferred,i=Date.now(),r=s.times(3,function(){var t=document.createElement("div");return s.extend(t.style,{display:"inline-block",fontSize:"40px",left:0,pointerEvents:"none",posistion:"absolute",top:0,visibility:"hidden",whiteSpace:"nowrap"}),t.setAttribute("aria-hidden","true"),t.innerText="BESbswy",document.body.appendChild(t),t});r[0].style.fontFamily=e.name+", serif",r[1].style.fontFamily=e.name+", sans-serif",r[2].style.fontFamily=e.name+", monospace";return function t(){s.uniq(r.map(s.property("offsetWidth"))).length<=2?n.resolve():1e3<=Date.now()-i?n.reject('Timed out loading "'+e.name+'"'):setTimeout(t,50)}(),n.promise().always(function(){r.forEach(function(t){null!=t.parentNode&&t.parentNode.removeChild(t)})}).catch(o("loadFonts"))})))}),g}.call(e,v,e,t))||(t.exports=n)},function(t,e,i){"use strict";var n;void 0===(n=function(t){function e(t,e,n){var i,r,o=(r=s.slice(arguments,3),function(){return s.toArray(arguments).concat(r)});return i=e.apply(null,o(n)),i=t.apply(null,o(o,e,i,n))}var s=i(0),a=i(3),n=i(4),l=i(31),u=(i(13),n.XMLNS_XLINK),c=n.XMLNS,h=n.math.TWO_PI,r=s.partial(e,function(n,i,t){return t.children&&!t.children.skipTraversal&&(t.children=t.children.map(function(t){if(s.isString(t))return t;var e=n(i,t);return r.apply(null,e)})),t}),f={isNodeOfType:function(t,e){var n;return e&&(n=e.tagName||e.nodeType),!!n&&t.toLowerCase()===n.toLowerCase()},svgPrefix:function(t){return[n.SVG_NODE_PREFIX,t].join(n.NODE_DELIMITER)},buildTransformFromConfigFn:function(t){var e=t.args.slice();return e.unshift(t.type),f.buildTransformFn.apply(this,e)},buildTransformFn:function(t){for(var e=arguments.length,n=new Array(e),i=0;i<e;++i)n[i]=arguments[i];return[t,"(",s.rest(n).join(", "),")"].join("")},buildTransformConfig:function(t){return{type:t,args:s.rest(arguments)}},applyTransformTo:function(t,e){return t.transform=[e],t},getTransformOf:function(t){return t.transform=t.transform||[],t.transform},transformNodeConfig:function(t,e){s.isFunction(t.beforeStart)&&t.beforeStart();var n=r.apply(null,arguments);return s.isFunction(t.afterFinish)&&(n=t.afterFinish(n)),n},getFromNodeConfig:s.partial(e,function(i,r,o,t){return null!=o&&!1!==o||!t.children||t.children.every(function(t){var e=i(r,t),n=f.getFromNodeConfig.apply(null,e);return null==n||!1===n||(o=n,!1)}),o}),getFullSvgConfig:function(t,e,n,i){var r={height:(e.fullHeight+Math.ceil(e.strokewidth/2))*i,width:(e.fullWidth+Math.ceil(e.strokewidth/2))*i},o={nodeType:"svg",xmlns:c,"xmlns:xlink":u,"data-xmlns-xlink":u,version:"1.1",baseprofile:"full",height:e.fullHeight*i,width:e.fullWidth*i,focusable:"false",viewBox:[e.fullX,e.fullY,e.fullWidth,e.fullHeight].join(" "),children:[t],"data-commandset-id":n,"data-accepts":"events",ref:s.uniqueId("ref-")};return r[l.camelCase("transform")]=f.transformTranslate(a.pxify(e.fullX*i),a.pxify(e.fullY*i)),{nodeType:"div",className:"slideobject-maskable",style:r,children:[o]}},createSvgNode:function(t,e){var n=document.createElementNS(c,"svg");return n.setAttribute("width",t),n.setAttribute("focusable","false"),n.setAttribute("height",e),n},getFirstTransformOfType:function(t,e){return s.find(e,{type:t})},buildUrl:function(t){return["url(#",t,")"].join("")},createElement:function(t){return document.createElementNS(c,t)},rectPath:function(t,e,n,i){var r=t+n,o=e+i;return["M",t,e,"L",r,e,r,o,t,o].join(" ")},ellipsePath:function(t,e,n,i){var r=2*n;return["M",t,e,"m",-n,0,"a",n,i,0,1,0,r,0,"a",n,i,0,1,0,-r,0].join(" ")},diamondPath:function(t,e,n,i){var r=n/2+t,o=i/2+e;return["M",r,e,"L",n+t,o,r,i+e,t,o].join(" ")},rightRoundedRectPath:function(t,e,n,i,r){return["M",t,e,"h",n-r,"a",r,r,"0 0 1",r,r,"v",i-2*r,"a",r,r,"0 0 1",-r,r,"h",r-n,"z"].join(" ")},wheelPath:function(t,e,n,i,r){if(!r)return"";i=a.degToRad(i),(r=a.degToRad(r))===h&&(r=h-1e-5);var o=r-i>Math.PI?1:0;return["M",t,e,"l",a.fix(n*Math.cos(i),4),a.fix(n*Math.sin(i),4),"A",n,n,0,o,1,a.fix(t+n*Math.cos(r),4),a.fix(e+n*Math.sin(r),4),"z"].join(" ")}};return f.getFirstTranslate=s.partial(f.getFirstTransformOfType,"translate"),f.getFirstRotate=s.partial(f.getFirstTransformOfType,"rotate"),f.getFirstScale=s.partial(f.getFirstTransformOfType,"scale"),f.buildTranslateConfig=s.partial(f.buildTransformConfig,"translate"),f.buildRotateConfig=s.partial(f.buildTransformConfig,"rotate"),f.buildScaleConfig=s.partial(f.buildTransformConfig,"scale"),f.isImageNode=s.partial(f.isNodeOfType,"image"),f.isPatternNode=s.partial(f.isNodeOfType,"pattern"),f.isDefsNode=s.partial(f.isNodeOfType,"defs"),f.isUseNode=s.partial(f.isNodeOfType,"use"),f.isPathNode=s.partial(f.isNodeOfType,"path"),f.isTextNode=s.partial(f.isNodeOfType,"text"),f.isTspanNode=s.partial(f.isNodeOfType,"tspan"),f.transformScale=s.partial(f.buildTransformFn,"scale"),f.transformRotate=s.partial(f.buildTransformFn,"rotate"),f.transformTranslate=s.partial(f.buildTransformFn,"translate"),f.transformTranslateX=s.partial(f.buildTransformFn,"translateX"),f.scaleFromCenter=function(t,e){return null==e&&(e=t),[f.transformTranslate(.5,.5),f.transformScale(t,e),f.transformTranslate(-.5,-.5)].join(" ")},f.getDefsNode=s.partial(f.getFromNodeConfig,function(t){if(f.isDefsNode(t))return t}),f}.call(e,i,e,t))||(t.exports=n)},function(t,e,c){"use strict";var n;void 0===(n=function(t){function v(t){return null!=t&&t.includes("MessageWnd")}function l(t){return null!=t&&t.includes("Lightbox")}var m,e,o=c(0),y=c(3),u=c(4),n=c(9),A=c(46),a=c(20),i=c(19),w=c(1),b=c(2),r=c(14),_=c(50),S=c(8),T=S.warn("windowManager"),x="_current",s=o.extend({subscriptions:((e={})[w.window.CLOSING]="onCloseWindowById",e[w.request.NEXT_SLIDE]="onRequestingNextSlide",e[w.request.PREV_SLIDE]="onRequestingPrevSlide",e[w.request.NEXT_DRAW_SLIDE]="onRequestingNextDrawSlide",e[w.request.PREV_HISTORY_GROUP]="onRequestingPrevHistoryGroup",e[w.window.STACKING_CHANGED]="onTopMostWindowChanged",e),initialize:function(){m=DS.presentation.display(),this.addSubscriptions(),this.windows=[],this.windows.push(this.getOrCreateWindow(u.refs.FRAME)),A.setWindowManager(this),b.trigger(w.window.MAIN_CREATED,this.getMainWindow())},getCurrentWindow:function(){return o.last(this.windows)},getCurrentWindowId:function(){return s.getCurrentWindow().getId()},getMainWindow:function(){return o.first(this.windows)},getCurrentWindowSlide:function(){var t=this.getCurrentWindow();return t&&t.state.currentSlide},removeWindow:function(t){return this.windows=o.without(this.windows,t),this},removeAllButMainWindow:function(){this.windows.forEach(function(t){var e=t.getId();e!==u.refs.FRAME&&b.trigger(w.window.CLOSING,e)})},addWindow:function(t){return this.removeWindow(t),this.windows.push(t),this},getOrCreateWindow:function(t){var e=this.getCurrentWindow();t=t===x?e.getId():t;var n=this.findWindowById(t);if(n)return n!==e&&n.frame.moveToTop(),n;if(e){var i=e.getCurrentSlide();i&&i.onPauseTimeline()}var r,o=DS.frame.createWindow(t),s={id:t,model:m.getWindowById(t),isMainWindow:t===u.refs.FRAME,lightboxed:l(t),hasControls:null!=(r=t)&&r.includes("Controls"),onPinchZoom:o.onPinchZoom,getPinchZoomBounds:o.getPinchZoomBounds,getWinScale:o.getWinScale},a=DS.renderEngine.createWindowFor(o.el,v(t),s,o.captionEl);return a.frame=o,a},findWindowById:function(e){return e===x||null==e?this.getCurrentWindow():this.windows.find(function(t){return t.getId()===e})},isLightBoxActive:function(){return this.getCurrentWindow()!==this.getMainWindow()},moveSlideToOtherWindow:function(n,t){var i=t.props.model.windowId;n.replaceSlideWith(t);var r=function(t){var e=this.findWindowById(i);t===n&&(null!=e&&e.rebuildCurSlide(),b.off(w.window.CLOSED,r))}.bind(this);return b.on(w.window.CLOSED,r),this},isMultiWindowSlide:function(e){return o.initial(this.windows).some(function(t){return(t.getCurrentSlide()||{}).absoluteId===e.absoluteId})},onMainWindowCreated:function(t){this.addWindow(t),A.setWindowManager(this)},onCloseWindowById:function(t){var e,n,i=this.findWindowById(t);this.getMainWindow();i&&(i.el&&(e=i.el.parentNode)&&(e.classList.remove("opaque"),DS.renderEngine.closeWindow(e,i.frame.captionEl),i.frame.close()),this.removeWindow(i),b.trigger(w.window.CLOSED,i),null!=(n=this.getCurrentWindowSlide())&&(n.onPlayTimeline(),b.trigger(w.slide.STARTED,n.absoluteId,n,this.getCurrentWindowId())),A.savePresentationData())},onTopMostWindowChanged:function(t){this.topMostWindow=t,this.trigger(w.windowManager.TOP_MOST_CHANGED)},getTopMostWindowId:function(){return this.topMostWindow},loadSlide:function(t,e,n){var i=o.isString(t)?t:t.absoluteId,r=_.loadSlide(t,this.getCurrentWindowSlide());return r.then(e.bind(this)),b.trigger(w.slide.HAS_CHANGED,y.stripPlayer(i),n),r},onRequestingPrevSlide:function(){var t=this.getCurrentWindow().getPrevSlide();null!=t&&this.onRequestingSlide(t.absoluteId,null,"pop")},onRequestingPrevHistoryGroup:function(){var t=this.getCurrentWindow().getPrevHistoryGroup();null!=t&&this.onRequestingSlide(t.absoluteId,null,"popGroup")},onRequestingNextDrawSlide:function(){var t,e=this.getCurrentWindowSlide(),n=e.getSlideDraw();n&&((t=n.getNextSlideId(e))?this.onRequestingNextSlide(t):n.performExitAction())},onRequestingNextSlide:function(t,e){var n=this.getCurrentWindowSlide();n||(t=t||_.getEntrypoint()),t?this.onRequestingSlide(t,e,"push"):n.executePlayerEvent("onnextslide")},isNewLightBox:function(t,e){return null!=t&&!(v(t)||!l(t)||t===e.displayName)},onRequestingSlide:function(t,e,n){var i,r,o,s,a,l,u,c,h,f=this,d=this.getCurrentWindowSlide(),p=this.getCurrentWindow(),g=this.isNewLightBox(e,p);if(null!=p&&p.forceTransition(),null==(s=_.getSlide(t,this.getCurrentWindowSlide()))){if(m.parent.isPreview())return void b.trigger(w.preview.NOTIFY,"PREVIEW_SLIDE_MISSING");T("onRequestingSlide","could not resolve slide",S.backtick(t),"so defaulting to entry point"),s=_.getSlide(_.getEntrypoint())}if((o=null!=d&&d.absoluteId===s.absoluteId||y.getPath(this.findWindowById(e),"getCurrentSlide")===s)&&!g)s.restart();else{if(null!=d&&(a=d,l=s,u=g||v(e),h={_ActTargetSlideId:l.absoluteId,_ActTargetSlideNavIndex:DS.utils.getPath(l,"navIndex")},a.executePlayerEvent("onbeforeslidejump",h),(c=!h.cancel)&&b.trigger(w.slide.WILL_CHANGE,a,l,u),!c))return;if(null!=d&&!d.slideReady)return this.findWindowById(e)===this.getCurrentWindow()&&(d.destroyed=!0),void b.once(w.slide.READY,function(){f.onRequestingSlide(t,e,n)});i=this.getOrCreateWindow(e||x,s),this.addWindow(i),r=this.loadSlide(s,function(t){f.updateWindowHistory(i,"push"===n?t:null,"popGroup"===n)}),o&&g&&b.trigger(w.loader.HIDE),i.setSlideLoading(r),null!=d&&i!==p&&r.then(function(){A.savePresentationData()})}},updateWindowHistory:function(t,e,n){var i,r=!!e;i=null!=(e=e||t[n?"getPrevHistoryGroup":"getPrevSlide"]())&&this.isMultiWindowSlide(e)&&null!==e.currView,t.prepareToUpdateSlide(i),r?t.pushHistory(e):t[n?"popHistoryGroup":"popHistory"](),i&&(e.onPlayTimeline(),this.moveSlideToOtherWindow(t,e.currView))},getResumeData:function(){return this.windows.reduce(function(t,e){return t+a.create(e.getResumeData())},"")},setResumeData:function(t){var e=new a({fullString:t}),n=e.encodedString();for(this.resumeWindowQueue=[];n.length;)this.setWindowAndHistory(n),n=(e=e.reChunk()).encodedString()},setWindowAndHistory:function(t){var e=new a({fullString:t}),n=e.getUnsignedValue(),i=this.resolveSlideFromResumeData(e.remainder()),r=new a({fullString:i.data}),o=this.createSlideHistoryArray(r.encodedString());0===o.length&&o.push(i.slide),this.restoreOrQueueWindow(n,o)},restoreOrQueueWindow:function(t,e){this.restoringWindow?this.resumeWindowQueue.push({idx:t,history:e}):(this.restoringWindow=!0,this.setLoadedWindow(t,e))},setLoadedWindow:function(t,n){var i=this.getWindowFromIndex(t,n),e=n.pop(),r=this.loadSlide(e.absoluteId,function(t){var e;i.setPreviousHistory(n),this.updateWindowHistory(i,t),this.restoringWindow=0<this.resumeWindowQueue.length,this.restoringWindow&&(t.pauseForResume=!0,e=this.resumeWindowQueue.shift(),this.setLoadedWindow(e.idx,e.history))});i.setSlideLoading(r)},getWindowFromIndex:function(t){var e,n;return 0===t?e=this.getMainWindow():(n=m.windows().at(t-1).id,e=this.getOrCreateWindow(n),this.addWindow(e)),e},createSlideHistoryArray:function(t){for(var e,n=[];t.length;)e=this.resolveSlideFromResumeData(t),n.push(e.slide),t=e.data;return n},resolveSlideFromResumeData:function(t){return this["1"===t.charAt(0)?"getDrawFromResumeData":"getSlideFromResumeData"](t.slice(1))},getSlideFromResumeData:function(t){var e=new a({fullString:t}),n=e.reChunk(),i=e.getUnsignedValue(),r=n.getUnsignedValue();return{slide:_.getSlideFromIndices(r,i),data:n.remainder()}},getDrawFromResumeData:function(t){var e=new a({fullString:t}),n=e.reChunk(),i=n.reChunk(),r=e.getUnsignedValue(),o=n.getUnsignedValue(),s=i.getUnsignedValue();return{slide:_.getDrawFromIndices(s,o,r),data:i.remainder()}}},n.Events,i);return r.windowManager=s}.call(e,c,e,t))||(t.exports=n)},function(G,X,t){var Y;
/*!
 * VERSION: 1.11.8
 * DATE: 2014-05-13
 * UPDATES AND DOCS AT: http://www.greensock.com
 *
 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
!function(c){"use strict";var e,n,f=c.GreenSockGlobals||c;if(!f.TweenLite){var t,i,r,h,d,p=function(t){var e,n=t.split("."),i=f;for(e=0;n.length>e;e++)i[n[e]]=i=i[n[e]]||{};return i},g=p("com.greensock"),v=1e-10,l=[].slice,m=function(){},y=(e=Object.prototype.toString,n=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===n)}),A={},w=function(a,l,u,c){this.sc=A[a]?A[a].sc:[],(A[a]=this).gsClass=null,this.func=u;var h=[];this.check=function(t){for(var e,n,i,r,o=l.length,s=o;-1<--o;)(e=A[l[o]]||new w(l[o],[])).gsClass?(h[o]=e.gsClass,s--):t&&e.sc.push(this);if(0===s&&u)for(i=(n=("com.greensock."+a).split(".")).pop(),r=p(n.join("."))[i]=this.gsClass=u.apply(u,h),c&&(f[i]=r,void 0===(Y=function(){return r}.apply(X,[]))||(G.exports=Y)),o=0;this.sc.length>o;o++)this.sc[o].check()},this.check(!0)},o=c._gsDefine=function(t,e,n,i){return new w(t,e,n,i)},b=g._class=function(t,e,n){return e=e||function(){},o(t,[],function(){return e},n),e};o.globals=f;var s=[0,0,1,1],_=[],u=b("easing.Ease",function(t,e,n,i){this._func=t,this._type=n||0,this._power=i||0,this._params=e?s.concat(e):s},!0),S=u.map={},a=u.register=function(t,e,n,i){for(var r,o,s,a,l=e.split(","),u=l.length,c=(n||"easeIn,easeOut,easeInOut").split(",");-1<--u;)for(o=l[u],r=i?b("easing."+o,null,!0):g.easing[o]||{},s=c.length;-1<--s;)a=c[s],S[o+"."+a]=S[a+o]=r[a]=t.getRatio?t:t[a]||new t};for((r=u.prototype)._calcEnd=!1,r.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},i=(t=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--i;)r=t[i]+",Power"+i,a(new u(null,null,1,i),r,"easeOut",!0),a(new u(null,null,2,i),r,"easeIn"+(0===i?",easeNone":"")),a(new u(null,null,3,i),r,"easeInOut");S.linear=g.easing.Linear.easeIn,S.swing=g.easing.Quad.easeInOut;var T=b("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(r=T.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var o,s,a=this._listeners[t],l=0;for(null==a&&(this._listeners[t]=a=[]),s=a.length;-1<--s;)(o=a[s]).c===e&&o.s===n?a.splice(s,1):0===l&&r>o.pr&&(l=s+1);a.splice(l,0,{c:e,s:n,up:i,pr:r}),this!==h||d||h.wake()},r.removeEventListener=function(t,e){var n,i=this._listeners[t];if(i)for(n=i.length;-1<--n;)if(i[n].c===e)return void i.splice(n,1)},r.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for(e=r.length,n=this._eventTarget;-1<--e;)(i=r[e]).up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n)};var x=c.requestAnimationFrame,E=c.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},k=C();for(i=(t=["ms","moz","webkit","o"]).length;-1<--i&&!x;)x=c[t[i]+"RequestAnimationFrame"],E=c[t[i]+"CancelAnimationFrame"]||c[t[i]+"CancelRequestAnimationFrame"];b("Ticker",function(t,e){var i,r,o,s,a,l=this,u=C(),n=!1!==e&&x,c=function(t){k=C(),l.time=(k-u)/1e3;var e,n=l.time-a;(!i||0<n||!0===t)&&(l.frame++,a+=n+(s<=n?.004:s-n),e=!0),!0!==t&&(o=r(c)),e&&l.dispatchEvent("tick")};T.call(l),l.time=l.frame=0,l.tick=function(){c(!0)},l.sleep=function(){null!=o&&((n&&E?E:clearTimeout)(o),r=m,o=null,l===h&&(d=!1))},l.wake=function(){null!==o&&l.sleep(),r=0===i?m:n&&x?x:function(t){return setTimeout(t,0|1e3*(a-l.time)+1)},l===h&&(d=!0),c(2)},l.fps=function(t){return arguments.length?(s=1/((i=t)||60),a=this.time+s,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),n=t,void l.fps(i)):n},l.fps(t),setTimeout(function(){n&&(!o||l.frame<5)&&l.useRAF(!1)},1500)}),(r=g.Ticker.prototype=new g.events.EventDispatcher).constructor=g.Ticker;var O=b("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,U){d||h.wake();var n=this.vars.useFrames?H:U;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});h=O.ticker=new g.Ticker,(r=O.prototype)._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var R=function(){d&&2e3<C()-k&&h.wake(),setTimeout(R,2e3)};R(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(){},r.invalidate=function(){return this},r.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=n&&n+this.totalDuration()/this._timeScale>t},r._enabled=function(t,e){return d||h.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,n=t.concat();-1<--e;)"{self}"===t[e]&&(n[e]=this);return n},r.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=y(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,n){if(d||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(i<t&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||this.render(t,e,!1)}return this},r.progress=r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},r.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||v,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,n=e||0===e?e:this._timeline.totalTime();this._startTime=n-(n-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},r.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},r.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){d||t||h.wake();var e=this._timeline,n=e.rawTime(),i=n-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?n:null,this._paused=t,this._active=this.isActive(),!t&&0!=i&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(n-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var P=b("core.SimpleTimeline",function(t){O.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(r=P.prototype=new O).constructor=P,r.kill()._gc=!1,r._first=r._last=null,r._sortChildren=!1,r.add=r.insert=function(t,e){var n,i;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(i=t._startTime;n&&n._startTime>i;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._timeline&&this._uncache(!0),this},r._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),this._timeline&&this._uncache(!0)),this},r.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},r.rawTime=function(){return d||h.wake(),this._totalTime};var I=b("TweenLite",function(t,e,n){if(O.call(this,e,n),this.render=I.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"==typeof t&&I.selector(t)||t;var i,r,o,s=t.jquery||t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?F[I.defaultOverwrite]:"number"==typeof a?a>>0:F[a],(s||t instanceof Array||t.push&&y(t))&&"number"!=typeof t[0])for(this._targets=o=l.call(t,0),this._propLookup=[],this._siblings=[],i=0;o.length>i;i++)(r=o[i])?"string"!=typeof r?r.length&&r!==c&&r[0]&&(r[0]===c||r[0].nodeType&&r[0].style&&!r.nodeType)?(o.splice(i--,1),this._targets=o=o.concat(l.call(r,0))):(this._siblings[i]=W(r,this,!1),1===a&&1<this._siblings[i].length&&B(r,this,null,1,this._siblings[i])):"string"==typeof(r=o[i--]=I.selector(r))&&o.splice(i+1,1):o.splice(i--,1);else this._propLookup={},this._siblings=W(t,this,!1),1===a&&1<this._siblings.length&&B(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0),L=function(t){return t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType)};(r=I.prototype=new O).constructor=I,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=!1,I.version="1.11.8",I.defaultEase=r._ease=new u(null,null,1,1),I.defaultOverwrite="auto",I.ticker=h,I.autoSleep=!0,I.selector=c.$||c.jQuery||function(t){return c.$?(I.selector=c.$,c.$(t)):c.document?c.document.getElementById("#"===t.charAt(0)?t.substr(1):t):t};var M=I._internals={isArray:y,isSelector:L},D=I._plugins={},N=I._tweenLookup={},j=0,V=M.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1},F={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=O._rootFramesTimeline=new P,U=O._rootTimeline=new P;U._startTime=h.time,H._startTime=h.frame,U._active=H._active=!0,O._updateRoot=function(){if(U.render((h.time-U._startTime)*U._timeScale,!1,!1),H.render((h.frame-H._startTime)*H._timeScale,!1,!1),!(h.frame%120)){var t,e,n;for(n in N){for(t=(e=N[n].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete N[n]}if((!(n=U._first)||n._paused)&&I.autoSleep&&!H._first&&1===h._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||h.sleep()}}},h.addEventListener("tick",O._updateRoot);var W=function(t,e,n){var i,r,o=t._gsTweenID;if(N[o||(t._gsTweenID=o="t"+j++)]||(N[o]={target:t,tweens:[]}),e&&((i=N[o].tweens)[r=i.length]=e,n))for(;-1<--r;)i[r]===e&&i.splice(r,1);return N[o].tweens},B=function(t,e,n,i,r){var o,s,a,l;if(1===i||4<=i){for(l=r.length,o=0;o<l;o++)if((a=r[o])!==e)a._gc||a._enabled(!1,!1)&&(s=!0);else if(5===i)break;return s}var u,c=e._startTime+v,h=[],f=0,d=0===e._duration;for(o=r.length;-1<--o;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||q(e,0,d),0===q(a,u,d)&&(h[f++]=a)):c>=a._startTime&&a._startTime+a.totalDuration()/a._timeScale>c&&((d||!a._initted)&&c-a._startTime<=2e-10||(h[f++]=a)));for(o=f;-1<--o;)a=h[o],2===i&&a._kill(n,t)&&(s=!0),(2!==i||!a._firstPT&&a._initted)&&a._enabled(!1,!1)&&(s=!0);return s},q=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return e<(o/=r)?o-e:n&&o===e||!t._initted&&o-e<2e-10?v:(o+=t.totalDuration()/t._timeScale/r)>e+v?0:o-e-v};r._init=function(){var t,e,n,i,r=this.vars,o=this._overwrittenProps,s=this._duration,a=r.immediateRender,l=r.ease;if(r.startAt){if(this._startAt&&this._startAt.render(-1,!0),r.startAt.overwrite=0,r.startAt.immediateRender=!0,this._startAt=I.to(this.target,0,r.startAt),a)if(0<this._time)this._startAt=null;else if(0!==s)return}else if(r.runBackwards&&0!==s)if(this._startAt)this._startAt.render(-1,!0),this._startAt=null;else{for(i in n={},r)V[i]&&"autoCSS"!==i||(n[i]=r[i]);if(n.overwrite=0,n.data="isFromStart",this._startAt=I.to(this.target,0,n),r.immediateRender){if(0===this._time)return}else this._startAt.render(-1,!0)}if(this._ease=l?l instanceof u?r.easeParams instanceof Array?l.config.apply(l,r.easeParams):l:"function"==typeof l?new u(l,r.easeParams):S[l]||I.defaultEase:I.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;-1<--t;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o);if(e&&I._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=r.onUpdate,this._initted=!0},r._initProps=function(t,e,n,i){var r,o,s,a,l,u;if(null==t)return!1;for(r in this.vars.css||t.style&&t!==c&&t.nodeType&&D.css&&!1!==this.vars.autoCSS&&function(t,e){var n,i={};for(n in t)V[n]||n in e&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!D[n]||D[n]&&D[n]._autoCSS)||(i[n]=t[n],delete t[n]);t.css=i}(this.vars,t),this.vars){if(u=this.vars[r],V[r])u&&(u instanceof Array||u.push&&y(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[r]=u=this._swapSelfInParams(u,this));else if(D[r]&&(a=new D[r])._onInitTween(t,this.vars[r],this)){for(this._firstPT=l={_next:this._firstPT,t:a,p:"setRatio",s:0,c:1,f:!0,n:r,pg:!0,pr:a._priority},o=a._overwriteProps.length;-1<--o;)e[a._overwriteProps[o]]=this._firstPT;(a._priority||a._onInitAllProps)&&(s=!0),(a._onDisable||a._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=e[r]=l={_next:this._firstPT,t:t,p:r,f:"function"==typeof t[r],n:r,pg:!1,pr:0},l.s=l.f?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),l.c="string"==typeof u&&"="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*Number(u.substr(2)):Number(u)-l.s||0;l&&l._next&&(l._next._prev=l)}return i&&this._kill(i,t)?this._initProps(t,e,n,i):1<this._overwrite&&this._firstPT&&1<n.length&&B(t,this,e,this._overwrite,n)?(this._kill(e,t),this._initProps(t,e,n,i)):s},r.render=function(t,e,n){var i,r,o,s,a=this._time,l=this._duration;if(l<=t)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete"),0===l&&(s=this._rawPrevTime,this._startTime===this._timeline._duration&&(t=0),(0===t||s<0||s===v)&&s!==t&&(n=!0,v<s&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||this._rawPrevTime===t?t:v);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&0<this._rawPrevTime&&this._rawPrevTime!==v)&&(r="onReverseComplete",i=this._reversed),t<0?(this._active=!1,0===l&&(0<=this._rawPrevTime&&(n=!0),this._rawPrevTime=s=!e||t||this._rawPrevTime===t?t:v)):this._initted||(n=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,c=this._easeType,h=this._easePower;(1===c||3===c&&.5<=u)&&(u=1-u),3===c&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:t/l<.5?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||!this._paused&&this._time!==a&&0<=t&&(this._active=!0),0===a&&(this._startAt&&(0<=t?this._startAt.render(t,e,n):r=r||"_dummyGS"),!this.vars.onStart||0===this._time&&0!==l||(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||_))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,e,n),e||(this._time===a&&!i||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||_))),r&&(this._gc||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||_),0===l&&this._rawPrevTime===v&&s!==v&&(this._rawPrevTime=0)))}},r._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._enabled(!1,!1);var n,i,r,o,s,a,l,u;if(e="string"!=typeof e?e||this._targets||this.target:I.selector(e)||e,(y(e)||L(e))&&"number"!=typeof e[0])for(n=e.length;-1<--n;)this._kill(t,e[n])&&(a=!0);else{if(this._targets){for(n=this._targets.length;-1<--n;)if(e===this._targets[n]){s=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],i=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,i=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){for(r in l=t||s,u=t!==i&&"all"!==i&&t!==s&&("object"!=typeof t||!t._tempKill),l)(o=s[r])&&(o.pg&&o.t._kill(l)&&(a=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete s[r]),u&&(i[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return a},r.invalidate=function(){return this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},r._enabled=function(t,e){if(d||h.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;-1<--n;)this._siblings[n]=W(i[n],this,!0);else this._siblings=W(this.target,this,!0)}return O.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(t?"_onEnable":"_onDisable",this)},I.to=function(t,e,n){return new I(t,e,n)},I.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new I(t,e,n)},I.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new I(t,e,i)},I.delayedCall=function(t,e,n,i,r){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:n,onCompleteScope:i,onReverseComplete:e,onReverseCompleteParams:n,onReverseCompleteScope:i,immediateRender:!1,useFrames:r,overwrite:0})},I.set=function(t,e){return new I(t,0,e)},I.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,o;if(t="string"==typeof t&&I.selector(t)||t,(y(t)||L(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];-1<--n;)i=i.concat(I.getTweensOf(t[n],e));for(n=i.length;-1<--n;)for(o=i[n],r=n;-1<--r;)o===i[r]&&i.splice(n,1)}else for(n=(i=W(t).concat()).length;-1<--n;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i},I.killTweensOf=I.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=I.getTweensOf(t,e),r=i.length;-1<--r;)i[r]._kill(n,t)};var z=b("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=z.prototype},!0);if(r=z.prototype,z.version="1.10.1",z.API=2,r._firstPT=null,r._addTween=function(t,e,n,i,r,o){var s,a;return null!=i&&(s="number"==typeof i||"="!==i.charAt(1)?Number(i)-n:parseInt(i.charAt(0)+"1",10)*Number(i.substr(2)))?(this._firstPT=a={_next:this._firstPT,t:t,p:e,s:n,c:s,f:"function"==typeof t[e],n:r||e,r:o},a._next&&(a._next._prev=a),a):void 0},r.setRatio=function(t){for(var e,n=this._firstPT;n;)e=n.c*t+n.s,n.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),n.f?n.t[n.p](e):n.t[n.p]=e,n=n._next},r._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;-1<--e;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},r._roundProps=function(t,e){for(var n=this._firstPT;n;)(t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&(n.r=e),n=n._next},I._onPluginEvent=function(t,e){var n,i,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,i=r;i&&i.pr>a.pr;)i=i._next;(a._prev=i?i._prev:o)?a._prev._next=a:r=a,(a._next=i)?i._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(n=!0),a=a._next;return n},z.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===z.API&&(D[(new t[e])._propName]=t[e]);return!0},o.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},s=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){z.call(this,n,i),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new z(n);for(e in(a.constructor=s).API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,z.activate([s]),s},t=c._gsQueue){for(i=0;t.length>i;i++)t[i]();for(r in A)A[r].func||c.console.log("GSAP encountered missing dependency: com.greensock."+r)}d=!1}}(window)},function(t,e,o){"use strict";var n;void 0===(n=function(t){var n=o(0),i=o(2),r=o(8).throwError("subscribable");return{componentWillMount:function(){return this.addSubscriptions(),this},addSubscriptions:function(){for(var t in this.resetSubscriptions(),this.subscriptions)this.subscriptions.hasOwnProperty(t)&&this.addSubscription(t,this.subscriptions[t]);return this},addSubscription:function(t,e){return n.isFunction(this[e])||r("addSubscription","this."+e,"is not a defined callback."),this.addSubscribedEvent(t).listenTo(i,t,this[e]),this},addSubscribedEvent:function(t){return this.subscribedEvents.push(t),this},removeSubscriptions:function(){return n.each(n.uniq(this.subscribedEvents),this.removeSubscription,this),this},removeSubscription:function(t,e){var n=this.subscribedEvents.indexOf(t);return this.stopListening(i,t,this[e]),-1<n&&this.subscribedEvents.splice(n,1),this},resetSubscriptions:function(){return this.removeSubscriptions(),this.subscribedEvents=[],this}}}.call(e,o,e,t))||(t.exports=n)},function(t,e,o){"use strict";var n;void 0===(n=function(t){var s=o(0),e=o(29),n="abcdefghijklmnopqrstuvwxyz",a=s.union(s.range(10).map(function(t){return t.toString()}),n.split(""),n.toUpperCase().split(""),"_$".split("")),i=/([^a-zA-Z0-9_$])/,l=e.extend({shorthand:["encodedLength","strLength","fullString","encodedString","strVal","remainder"],initialize:function(){var t,e=1,n=0;"~"===this.fullString().charAt(0)&&(n=2,e=parseInt(this.fullString().charAt(1))),t=n+e,this.encodedLength(this.fullString().slice(n,t)),this.strLength(parseInt(l.fromUnsignedString64(this.encodedLength()))),this.encodedString(this.fullString().slice(t,t+this.strLength())),this.remainder(this.fullString().slice(t+this.strLength()))},getDecodedValue:function(t){var e=this.encodedString();return i.test(e)||(e=l[t](e)),e},reChunk:function(){return new l({fullString:this.remainder()})}}),r=l.prototype;return r.getSignedValue=s.partial(r.getDecodedValue,"fromSignedString64"),r.getUnsignedValue=s.partial(r.getDecodedValue,"fromUnsignedString64"),l.EMPTY_CHUNK=0,l.create=function(t){null==t&&(t="");var e="",n=t.toString().length,i=l.toUnsignedString64(n);return 63<n&&(e+="~"+i.length),e+=i+t},l.packData=function(t){return[l.create(l.toUnsignedString64(t.length)),t].join("")},l.toUnsignedString64=function(t,e,n){var i="",r=!0,o=t;for(n=n||l.EMPTY_CHUNK;0<o||r;)r=!1,i+=a[63&o],o>>=6;return i+=s.times(e-i.length,s.partial(s.identity,n)).join("")},l.toSignedString64=function(t,e){var n,i=t,r=t<0,o=1,s=0;for(e=e||-1;Math.pow(64,o)/2<=Math.abs(t);)o++;if(n=Math.max(e,o),r){for(;-t>=Math.pow(64,s)/2;)s++;i=Math.pow(64,s)+t}return l.toUnsignedString64(i,n,r?"$":"0")},l.toSignedFloatString64=function(t,e){if(t%1==0)return l.toSignedString64(t,e);var n,i=Math.min(3,(n=t,Math.floor(n)!==n&&n.toString().split(".")[1].length||0)),r=Math.trunc(t*Math.pow(10,i));return l.toSignedString64(r)+"-"+i.toString()},l.fromUnsignedString64=function(t){return t.toString().split("").reduce(function(t,e,n){var i;return t+=(i=e,a.indexOf(i)<<6*n)},0)},l.fromSignedString64=function(t){var e=l.fromUnsignedString64(t.toString()),n=Math.pow(64,t.length)/2;return n<=e&&(e-=2*n),e},l.fromSignedFloatString64=function(t){if(!t.includes("-"))return l.fromSignedString64(t);var e=t.split("-");return l.fromSignedString64(e[0])/Math.pow(10,Number(e[1]))},l}.call(e,o,e,t))||(t.exports=n)},function(t,e,a){"use strict";var n;void 0===(n=function(t){var e=void 0,n=void 0,i=void 0,r=void 0,o=void 0,s=void 0;return s=a(5).device.isMobile?(i=n="touchstart",r="touchmove",o=e="touchend"):(e="click",n="mousedown",i="mouseenter",r="mousemove",o="mouseup","mouseleave"),Object.freeze({clickOrTouchEnd:e,downOrTouchStart:n,enterOrTouchStart:i,moveOrTouchMove:r,upOrTouchEnd:o,leaveOrTouchEnd:s})}.call(e,a,e,t))||(t.exports=n)},function(t,e,n){var i;i=function(){var T=!0;function s(n){function t(t){var e=n.match(t);return e&&1<e.length&&e[1]||""}function e(t){var e=n.match(t);return e&&1<e.length&&e[2]||""}var i,r=t(/(ipod|iphone|ipad)/i).toLowerCase(),o=!/like android/i.test(n)&&/android/i.test(n),s=/nexus\s*[0-6]\s*/i.test(n),a=!s&&/nexus\s*[0-9]+/i.test(n),l=/CrOS/.test(n),u=/silk/i.test(n),c=/sailfish/i.test(n),h=/tizen/i.test(n),f=/(web|hpw)(o|0)s/i.test(n),d=/windows phone/i.test(n),p=(/SamsungBrowser/i.test(n),!d&&/windows/i.test(n)),g=!r&&!u&&/macintosh/i.test(n),v=!o&&!c&&!h&&!f&&/linux/i.test(n),m=e(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),y=t(/version\/(\d+(\.\d+)?)/i),A=/tablet/i.test(n)&&!/tablet pc/i.test(n),w=!A&&/[^-]mobi/i.test(n),b=/xbox/i.test(n);/opera/i.test(n)?i={name:"Opera",opera:T,version:y||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(n)?i={name:"Opera",opera:T,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||y}:/SamsungBrowser/i.test(n)?i={name:"Samsung Internet for Android",samsungBrowser:T,version:y||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(n)?i={name:"NAVER Whale browser",whale:T,version:t(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(n)?i={name:"MZ Browser",mzbrowser:T,version:t(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(n)?i={name:"Opera Coast",coast:T,version:y||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(n)?i={name:"Focus",focus:T,version:t(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(n)?i={name:"Yandex Browser",yandexbrowser:T,version:y||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(n)?i={name:"UC Browser",ucbrowser:T,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(n)?i={name:"Maxthon",maxthon:T,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(n)?i={name:"Epiphany",epiphany:T,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(n)?i={name:"Puffin",puffin:T,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(n)?i={name:"Sleipnir",sleipnir:T,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(n)?i={name:"K-Meleon",kMeleon:T,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:d?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:T},m?(i.msedge=T,i.version=m):(i.msie=T,i.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(n)?i={name:"Internet Explorer",msie:T,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:l?i={name:"Chrome",osname:"Chrome OS",chromeos:T,chromeBook:T,chrome:T,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(n)?i={name:"Microsoft Edge",msedge:T,version:m}:/vivaldi/i.test(n)?i={name:"Vivaldi",vivaldi:T,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||y}:c?i={name:"Sailfish",osname:"Sailfish OS",sailfish:T,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(n)?i={name:"SeaMonkey",seamonkey:T,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(n)?(i={name:"Firefox",firefox:T,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(n)&&(i.firefoxos=T,i.osname="Firefox OS")):u?i={name:"Amazon Silk",silk:T,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(n)?i={name:"PhantomJS",phantom:T,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(n)?i={name:"SlimerJS",slimer:T,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(n)||/rim\stablet/i.test(n)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:T,version:y||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:f?(i={name:"WebOS",osname:"WebOS",webos:T,version:y||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(n)&&(i.touchpad=T)):/bada/i.test(n)?i={name:"Bada",osname:"Bada",bada:T,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:h?i={name:"Tizen",osname:"Tizen",tizen:T,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||y}:/qupzilla/i.test(n)?i={name:"QupZilla",qupzilla:T,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||y}:/chromium/i.test(n)?i={name:"Chromium",chromium:T,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||y}:/chrome|crios|crmo/i.test(n)?i={name:"Chrome",chrome:T,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:o?i={name:"Android",version:y}:/safari|applewebkit/i.test(n)?(i={name:"Safari",safari:T},y&&(i.version=y)):r?(i={name:"iphone"==r?"iPhone":"ipad"==r?"iPad":"iPod"},y&&(i.version=y)):i=/googlebot/i.test(n)?{name:"Googlebot",googlebot:T,version:t(/googlebot\/(\d+(\.\d+))/i)||y}:{name:t(/^(.*)\/(.*) /),version:e(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(n)?(/(apple)?webkit\/537\.36/i.test(n)?(i.name=i.name||"Blink",i.blink=T):(i.name=i.name||"Webkit",i.webkit=T),!i.version&&y&&(i.version=y)):!i.opera&&/gecko\//i.test(n)&&(i.name=i.name||"Gecko",i.gecko=T,i.version=i.version||t(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!o&&!i.silk?!i.windowsphone&&r?(i[r]=T,i.ios=T,i.osname="iOS"):g?(i.mac=T,i.osname="macOS"):b?(i.xbox=T,i.osname="Xbox"):p?(i.windows=T,i.osname="Windows"):v&&(i.linux=T,i.osname="Linux"):(i.android=T,i.osname="Android");var _="";i.windows?_=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(t(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?_=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?_=(_=t(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):r?_=(_=t(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):o?_=t(/android[ \/-](\d+(\.\d+)*)/i):i.webos?_=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?_=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?_=t(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(_=t(/tizen[\/\s](\d+(\.\d+)*)/i)),_&&(i.osversion=_);var S=!i.windows&&_.split(".")[0];return A||a||"ipad"==r||o&&(3==S||4<=S&&!w)||i.silk?i.tablet=T:(w||"iphone"==r||"ipod"==r||o||s||i.blackberry||i.webos||i.bada)&&(i.mobile=T),i.msedge||i.msie&&10<=i.version||i.yandexbrowser&&15<=i.version||i.vivaldi&&1<=i.version||i.chrome&&20<=i.version||i.samsungBrowser&&4<=i.version||i.whale&&1===x([i.version,"1.0"])||i.mzbrowser&&1===x([i.version,"6.0"])||i.focus&&1===x([i.version,"1.0"])||i.firefox&&20<=i.version||i.safari&&6<=i.version||i.opera&&10<=i.version||i.ios&&i.osversion&&6<=i.osversion.split(".")[0]||i.blackberry&&10.1<=i.version||i.chromium&&20<=i.version?i.a=T:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=T:i.x=T,i}var a=s("undefined"!=typeof navigator&&navigator.userAgent||"");function i(t){return t.split(".").length}function r(t,e){var n,i=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n++)i.push(e(t[n]));return i}function x(t){for(var n=Math.max(i(t[0]),i(t[1])),e=r(t,function(t){var e=n-i(t);return r((t+=new Array(1+e).join(".0")).split("."),function(t){return new Array(20-t.length).join("0")+t}).reverse()});0<=--n;){if(e[0][n]>e[1][n])return 1;if(e[0][n]!==e[1][n])return-1;if(0===n)return 0}}function o(t,e,n){var i=a;"string"==typeof e&&(n=e,e=void 0),void 0===e&&(e=!1),n&&(i=s(n));var r=""+i.version;for(var o in t)if(t.hasOwnProperty(o)&&i[o]){if("string"!=typeof t[o])throw new Error("Browser version in the minVersion map should be a string: "+o+": "+String(t));return x([r,t[o]])<0}return e}return a.test=function(t){for(var e=0;e<t.length;++e){var n=t[e];if("string"==typeof n&&n in a)return!0}return!1},a.isUnsupportedBrowser=o,a.compareVersions=x,a.check=function(t,e,n){return!o(t,e,n)},a._detect=s,a.detect=s,a},t.exports?t.exports=i():n(60)("bowser",i)},function(t,e,l){"use strict";var n;void 0===(n=function(t){function e(t,e){var n,i,r=s[t],o=e.mixins.slice(0);for(i=o.length;i--;)null!=(n=o[i])[t]&&n[t].call(e),null!=n[r]&&n[r].call(e);return this}var n=l(0),i=l(8),s=(i.throwError("mixer"),i.backtick,{init:"componentWillMount"}),r=["preInit","init","postInit"],o=n.partialRight(n.omit,r),a={mixInto:function(t,e){return n.defaults.apply(n,n(e).map(o).unshift(t).value()),t},mix:function(t){return this.mixInto(t,t.mixins),t}};return r.forEach(function(t){a[t+"MixinsOf"]=n.partial(e,t)}),a}.call(e,l,e,t))||(t.exports=n)},function(t,e){
/*!
 * VERSION: beta 1.9.3
 * DATE: 2013-04-02
 * UPDATES AND DOCS AT: http://www.greensock.com
 *
 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("easing.Back",["easing.Ease"],function(v){function t(t,e){var n=c("easing."+t,function(){},!0),i=n.prototype=new v;return i.constructor=n,i.getRatio=e,n}function e(t,e,n,i){var r=c("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return h(r,t),r}function m(t,e,n){this.t=t,this.v=e,n&&(((this.next=n).prev=this).c=n.v-e,this.gap=n.t-t)}function n(t,e){var n=c("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),i=n.prototype=new v;return i.constructor=n,i.getRatio=e,i.config=function(t){return new n(t)},n}var i,r,o,s=window.GreenSockGlobals||window,a=s.com.greensock,l=2*Math.PI,u=Math.PI/2,c=a._class,h=v.register||function(){},f=e("Back",n("BackOut",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),n("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),n("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),d=c("easing.SlowMo",function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:1<t&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n},!0),p=d.prototype=new v;return p.constructor=d,p.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},d.ease=new d(.7,.7),p.config=d.config=function(t,e,n){return new d(t,e,n)},(p=(i=c("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new v).constructor=i,p.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},p.config=i.config=function(t){return new i(t)},(p=(r=c("easing.RoughEase",function(t){for(var e,n,i,r,o,s,a=(t=t||{}).taper||"none",l=[],u=0,c=0|(t.points||20),h=c,f=!1!==t.randomize,d=!0===t.clamp,p=t.template instanceof v?t.template:null,g="number"==typeof t.strength?.4*t.strength:.4;-1<--h;)e=f?Math.random():1/c*h,n=p?p.getRatio(e):e,i="none"===a?g:"out"===a?(r=1-e)*r*g:"in"===a?e*e*g:.5*(r=e<.5?2*e:2*(1-e))*r*g,f?n+=Math.random()*i-.5*i:h%2?n+=.5*i:n-=.5*i,d&&(1<n?n=1:n<0&&(n=0)),l[u++]={x:e,y:n};for(l.sort(function(t,e){return t.x-e.x}),s=new m(1,1,null),h=c;-1<--h;)o=l[h],s=new m(o.x,o.y,s);this._prev=new m(0,0,0!==s.t?s:s.next)},!0)).prototype=new v).constructor=r,p.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},p.config=function(t){return new r(t)},r.ease=new r,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e("Circ",t("CircOut",function(t){return Math.sqrt(1- --t*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(o=function(t,e,n){var i=c("easing."+t,function(t,e){this._p1=t||1,this._p2=e||n,this._p3=this._p2/l*(Math.asin(1/this._p1)||0)},!0),r=i.prototype=new v;return r.constructor=i,r.getRatio=e,r.config=function(t,e){return new i(t,e)},i})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*l/this._p2)+1},.3),o("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*l/this._p2))},.3),o("ElasticInOut",function(t){return(t*=2)<1?-.5*this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*l/this._p2):.5*this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*l/this._p2)+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*u)}),t("SineIn",function(t){return 1-Math.cos(t*u)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),c("easing.EaseLookup",{find:function(t){return v.map[t]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(r,"RoughEase","ease,"),h(i,"SteppedEase","ease,"),f},!0)}),window._gsDefine&&window._gsQueue.pop()()},function(t,e,n){
/*!
 * VERSION: 1.11.8
 * DATE: 2014-05-13
 * UPDATES AND DOCS AT: http://www.greensock.com
 *
 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(o,f){var p,S,T,d,$=function(){o.call(this,"css"),this._overwriteProps.length=0,this.setRatio=$.prototype.setRatio},g={},t=$.prototype=new o("css");(t.constructor=$).version="1.11.8",$.API=2,$.defaultTransformPerspective=0,$.defaultSkewType="compensated",t="px",$.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};function s(t,e){return e.toUpperCase()}function a(t){return V.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function v(t){window.console&&console.log(t)}function x(t,e){var n,i,r=(e=e||Y).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;-1<--i&&void 0===r[n[i]+t];);return 0<=i?(nt="-"+(it=3===i?"ms":n[i]).toLowerCase()+"-",it+t):null}function m(t,e){var n,i,r={};if(e=e||rt(t,null))if(n=e.length)for(;-1<--n;)r[e[n].replace(U,s)]=e.getPropertyValue(e[n]);else for(n in e)r[n]=e[n];else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===r[n]&&(r[n.replace(U,s)]=e[n]);return et||(r.opacity=a(t)),i=kt(t,e,!1),r.rotation=i.rotation,r.skewX=i.skewX,r.scaleX=i.scaleX,r.scaleY=i.scaleY,r.x=i.x,r.y=i.y,Et&&(r.z=i.z,r.rotationX=i.rotationX,r.rotationY=i.rotationY,r.scaleZ=i.scaleZ),r.filters&&delete r.filters,r}function y(t,e,n,i,r){var o,s,a,l={},u=t.style;for(s in n)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=n[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"==typeof o||"string"==typeof o)&&(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(c,"")?o:0:at(t,s),void 0!==u[s]&&(a=new pt(u,s,u[s],a)));if(i)for(s in i)"className"!==s&&(l[s]=i[s]);return{difs:l,firstMPT:a}}function A(t,e,n){var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=lt[e],o=r.length;for(n=n||rt(t,null);-1<--o;)i-=parseFloat(ot(t,"padding"+r[o],n,!0))||0,i-=parseFloat(ot(t,"border"+r[o]+"Width",n,!0))||0;return i}function w(t,e){null!=t&&""!==t&&"auto"!==t&&"auto auto"!==t||(t="0 0");var n=t.split(" "),i=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===i||isNaN(parseFloat(i))&&-1===(i+"").indexOf("="))&&(i="50%"),e&&(e.oxp=-1!==i.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===i.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(i.replace(c,"")),e.oy=parseFloat(r.replace(c,""))),i+" "+r+(2<n.length?" "+n[2]:"")}function E(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)}function b(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)}function _(t,e,n,i){var r,o,s;return(s=null==t?e:"number"==typeof t?t:(r=t.split("_"),o=Number(r[0].replace(c,""))*(-1===t.indexOf("rad")?1:tt)-("="===t.charAt(1)?0:e),r.length&&(i&&(i[n]=e+o),-1!==t.indexOf("short")&&((o%=360)!==o%180&&(o=o<0?o+360:o-360)),-1!==t.indexOf("_cw")&&o<0?o=(o+3599999999640)%360-360*(0|o/360):-1!==t.indexOf("ccw")&&0<o&&(o=(o-3599999999640)%360-360*(0|o/360))),e+o))<1e-6&&-1e-6<s&&(s=0),s}function l(t,e,n){return 0|255*(6*(t=t<0?t+1:1<t?t-1:t)<1?e+6*(n-e)*t:t<.5?n:3*t<2?e+6*(n-e)*(2/3-t):e)+.5}function C(t){var e,n,i,r,o,s;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t]?ct[t]:"#"===t.charAt(0)?(4===t.length&&(t="#"+(e=t.charAt(1))+e+(n=t.charAt(2))+n+(i=t.charAt(3))+i),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):("hsl"===t.substr(0,3)?(t=t.match(M),r=Number(t[0])%360/360,o=Number(t[1])/100,e=2*(s=Number(t[2])/100)-(n=s<=.5?s*(1+o):s+o-s*o),3<t.length&&(t[3]=Number(t[3])),t[0]=l(r+1/3,e,n),t[1]=l(r,e,n),t[2]=l(r-1/3,e,n)):((t=t.match(M)||ct.transparent)[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),3<t.length&&(t[3]=Number(t[3]))),t)):ct.black}var k,O,R,P,I,L,e,n,i,M=/(?:\d|\-\d|\.\d|\-\.\d)+/g,D=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,N=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,c=/[^\d\-\.]/g,j=/(?:\d|\-|\+|=|#|\.)*/g,V=/opacity *= *([^)]*)/,F=/opacity:([^;]*)/,u=/alpha\(opacity *=.+?\)/i,H=/^(rgb|hsl)/,h=/([A-Z])/g,U=/-([a-z])/gi,W=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,B=/(?:Left|Right|Width)/i,Q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,q=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,Z=Math.PI/180,tt=180/Math.PI,G={},X=document,Y=X.createElement("div"),J=X.createElement("img"),r=$._internals={_specialProps:g},K=navigator.userAgent,et=(n=K.indexOf("Android"),i=X.createElement("div"),R=-1!==K.indexOf("Safari")&&-1===K.indexOf("Chrome")&&(-1===n||3<Number(K.substr(n+8,1))),I=R&&Number(K.substr(K.indexOf("Version/")+8,1))<6,P=-1!==K.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(K)&&(L=parseFloat(RegExp.$1)),i.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",!!(e=i.getElementsByTagName("a")[0])&&/^0.55/.test(e.style.opacity)),nt="",it="",rt=X.defaultView?X.defaultView.getComputedStyle:function(){},ot=$.getStyle=function(t,e,n,i,r){var o;return et||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||rt(t,null))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(h,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):a(t)},st=r.convertToPixels=function(t,e,n,i,r){if("px"===i||!i)return n;if("auto"===i||!n)return 0;var o,s,a,l=B.test(e),u=t,c=Y.style,h=n<0;if(h&&(n=-n),"%"===i&&-1!==e.indexOf("border"))o=n/100*(l?t.clientWidth:t.clientHeight);else{if(c.cssText="border:0 solid red;position:"+ot(t,"position")+";line-height:0;","%"!==i&&u.appendChild)c[l?"borderLeftWidth":"borderTopWidth"]=n+i;else{if(s=(u=t.parentNode||X.body)._gsCache,a=f.ticker.frame,s&&l&&s.time===a)return s.width*n/100;c[l?"width":"height"]=n+i}u.appendChild(Y),o=parseFloat(Y[l?"offsetWidth":"offsetHeight"]),u.removeChild(Y),l&&"%"===i&&!1!==$.cacheWidths&&((s=u._gsCache=u._gsCache||{}).time=a,s.width=o/n*100),0!==o||r||(o=st(t,e,n,i,!0))}return h?-o:o},at=r.calculateOffset=function(t,e,n){if("absolute"!==ot(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=ot(t,"margin"+i,n);return t["offset"+i]-(st(t,e,parseFloat(r),r.replace(j,""))||0)},lt={width:["Left","Right"],height:["Top","Bottom"]},ut=["marginLeft","marginRight","marginTop","marginBottom"],ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ht="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(t in ct)ht+="|"+t+"\\b";ht=RegExp(ht+")","gi");function ft(t,e,o,s){if(null==t)return function(t){return t};var a,l=e?(t.match(ht)||[""])[0]:"",u=t.split(l).join("").match(N)||[],c=t.substr(0,t.indexOf(u[0])),h=")"===t.charAt(t.length-1)?")":"",f=-1!==t.indexOf(" ")?" ":",",d=u.length,p=0<d?u[0].replace(M,""):"";return d?a=e?function(t){var e,n,i,r;if("number"==typeof t)t+=p;else if(s&&z.test(t)){for(r=t.replace(z,"|").split("|"),i=0;r.length>i;i++)r[i]=a(r[i]);return r.join(",")}if(e=(t.match(ht)||[l])[0],i=(n=t.split(e).join("").match(N)||[]).length,d>i--)for(;d>++i;)n[i]=o?n[0|(i-1)/2]:u[i];return c+n.join(f)+f+e+h+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,n,i;if("number"==typeof t)t+=p;else if(s&&z.test(t)){for(n=t.replace(z,"|").split("|"),i=0;n.length>i;i++)n[i]=a(n[i]);return n.join(",")}if(i=(e=t.match(N)||[]).length,d>i--)for(;d>++i;)e[i]=o?e[0|(i-1)/2]:u[i];return c+e.join(f)+h}:function(t){return t}}function dt(u){return u=u.split(","),function(t,e,n,i,r,o,s){var a,l=(e+"").split(" ");for(s={},a=0;a<4;a++)s[u[a]]=l[a]=l[a]||l[(a-1)/2>>0];return i.parse(t,s,r,o)}}var pt=(r._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o=this.data,s=o.proxy,a=o.firstMPT;a;)e=s[a.v],a.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),a.t[a.p]=e,a=a._next;if(o.autoRotate&&(o.autoRotate.rotation=s.rotation),1===t)for(a=o.firstMPT;a;){if((n=a.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;n.l>i;i++)r+=n["xn"+i]+n["xs"+(i+1)];n.e=r}}else n.e=n.s+n.xs0;a=a._next}},function(t,e,n,i,r){this.t=t,this.p=e,this.v=n,this.r=r,i&&((i._prev=this)._next=i)}),gt=(r._parseToProxy=function(t,e,n,i,r,o){var s,a,l,u,c,h=i,f={},d={},p=n._transform,g=G;for(n._transform=null,G=e,i=c=n.parse(t,e,i,r),G=g,o&&(n._transform=p,h&&(h._prev=null,h._prev&&(h._prev._next=null)));i&&i!==h;){if(i.type<=1&&(d[a=i.p]=i.s+i.c,f[a]=i.s,o||(u=new pt(i,"s",a,u,i.r),i.c=0),1===i.type))for(s=i.l;0<--s;)l="xn"+s,d[a=i.p+"_"+l]=i.data[l],f[a]=i[l],o||(u=new pt(i,l,a,u,i.rxp[l]));i=i._next}return{proxy:f,end:d,firstMPT:u,pt:c}},r.CSSPropTween=function(t,e,n,i,r,o,s,a,l,u,c){this.t=t,this.p=e,this.s=n,this.c=i,this.n=s||e,t instanceof gt||d.push(this.n),this.r=a,this.type=o||0,l&&(this.pr=l,p=!0),this.b=void 0===u?n:u,this.e=void 0===c?n+i:c,r&&((this._next=r)._prev=this)}),vt=$.parseComplex=function(t,e,n,i,r,o,s,a,l,u){s=new gt(t,e,0,0,s,u?2:1,null,!1,a,n=n||o||"",i),i+="";var c,h,f,d,p,g,v,m,y,A,w,b,_=n.split(", ").join(",").split(" "),S=i.split(", ").join(",").split(" "),T=_.length,x=!1!==k;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(_=_.join(" ").replace(z,", ").split(" "),S=S.join(" ").replace(z,", ").split(" "),T=_.length),T!==S.length&&(T=(_=(o||"").split(" ")).length),s.plugin=l,s.setRatio=u,c=0;c<T;c++)if(d=_[c],p=S[c],(m=parseFloat(d))||0===m)s.appendXtra("",m,E(p,m),p.replace(D,""),x&&-1!==p.indexOf("px"),!0);else if(r&&("#"===d.charAt(0)||ct[d]||H.test(d)))b=","===p.charAt(p.length-1)?"),":")",d=C(d),p=C(p),(y=6<d.length+p.length)&&!et&&0===p[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(S[c]).join("transparent")):(et||(y=!1),s.appendXtra(y?"rgba(":"rgb(",d[0],p[0]-d[0],",",!0,!0).appendXtra("",d[1],p[1]-d[1],",",!0).appendXtra("",d[2],p[2]-d[2],y?",":b,!0),y&&(d=d.length<4?1:d[3],s.appendXtra("",d,(p.length<4?1:p[3])-d,b,!1)));else if(g=d.match(M)){if(!(v=p.match(D))||v.length!==g.length)return s;for(h=f=0;g.length>h;h++)w=g[h],A=d.indexOf(w,f),s.appendXtra(d.substr(f,A-f),Number(w),E(v[h],w),"",x&&"px"===d.substr(A+w.length,2),0===h),f=A+w.length;s["xs"+s.l]+=d.substr(f)}else s["xs"+s.l]+=s.l?" "+d:d;if(-1!==i.indexOf("=")&&s.data){for(b=s.xs0+s.data.s,c=1;s.l>c;c++)b+=s["xs"+c]+s.data["xn"+c];s.e=b+s["xs"+c]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},mt=9;for((t=gt.prototype).l=t.pr=0;0<--mt;)t["xn"+mt]=0,t["xs"+mt]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,n,i,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&a?" "+t:t||"",n||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=i||"",0<a?(s.data["xn"+a]=e+n,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new gt(s,"xn"+a,e,n,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0)):(s.data={s:e+n},s.rxp={},s.s=e,s.c=n,s.r=r)):s["xs"+a]+=e+(i||""),s};function yt(t,e){e=e||{},this.p=e.prefix&&x(t)||t,g[t]=g[this.p]=this,this.format=e.formatter||ft(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0}function At(t){if(!g[t]){var l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";wt(t,{parser:function(t,e,n,i,r,o,s){var a=(window.GreenSockGlobals||window).com.greensock.plugins[l];return a?(a._cssRegister(),g[n].parse(t,e,n,i,r,o,s)):(v("Error: "+l+" js file not loaded."),r)}})}}var wt=r._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;r.length>i;i++)e.prefix=0===i&&e.prefix,e.defaultValue=n[i]||o,new yt(r[i],e)};(t=yt.prototype).parseComplex=function(t,e,n,i,r,o){var s,a,l,u,c,h=this.keyword;if(this.multi&&(z.test(n)||z.test(e)?(a=e.replace(z,"|").split("|"),l=n.replace(z,"|").split("|")):h&&(a=[e],l=[n])),l){for(u=l.length>a.length?l.length:a.length,s=0;s<u;s++)e=a[s]=a[s]||this.dflt,n=l[s]=l[s]||this.dflt,h&&(e.indexOf(h)!==(c=n.indexOf(h))&&((n=-1===c?l:a)[s]+=" "+h));e=a.join(", "),n=l.join(", ")}return vt(t,this.p,e,n,this.clrs,this.dflt,i,this.pr,r,o)},t.parse=function(t,e,n,i,r,o){return this.parseComplex(t.style,this.format(ot(t,this.p,T,!1,this.dflt)),this.format(e),r,o)},$.registerSpecialProp=function(t,a,l){wt(t,{parser:function(t,e,n,i,r,o){var s=new gt(t,n,0,0,r,2,n,!1,l);return s.plugin=o,s.setRatio=a(t,e,i._tween,n),s},priority:l})};function bt(t){var e,n,i=this.data,r=-i.rotation*Z,o=r+i.skewX*Z,s=(0|Math.cos(r)*i.scaleX*1e5)/1e5,a=(0|Math.sin(r)*i.scaleX*1e5)/1e5,l=(0|Math.sin(o)*-i.scaleY*1e5)/1e5,u=(0|Math.cos(o)*i.scaleY*1e5)/1e5,c=this.t.style,h=this.t.currentStyle;if(h){n=a,a=-l,l=-n,e=h.filter,c.filter="";var f,d,p=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==h.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+a+", M21="+l+", M22="+u,y=i.x,A=i.y;if(null!=i.ox&&(y+=(f=(i.oxp?.01*p*i.ox:i.ox)-p/2)-(f*s+(d=(i.oyp?.01*g*i.oy:i.oy)-g/2)*a),A+=d-(f*l+d*u)),v?m+=", Dx="+((f=p/2)-(f*s+(d=g/2)*a)+y)+", Dy="+(d-(f*l+d*u)+A)+")":m+=", sizingMethod='auto expand')",c.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(q,m):m+" "+e,0!==t&&1!==t||1!=s||0!==a||0!==l||1!=u||(v&&-1===m.indexOf("Dx=0, Dy=0")||V.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!v){var w,b,_,S=L<8?1:-1;for(f=i.ieOffsetX||0,d=i.ieOffsetY||0,i.ieOffsetX=Math.round((p-((s<0?-s:s)*p+(a<0?-a:a)*g))/2+y),i.ieOffsetY=Math.round((g-((u<0?-u:u)*g+(l<0?-l:l)*p))/2+A),mt=0;mt<4;mt++)_=(n=-1!==(w=h[b=ut[mt]]).indexOf("px")?parseFloat(w):st(this.t,b,parseFloat(w),w.replace(j,""))||0)!==i[b]?mt<2?-i.ieOffsetX:-i.ieOffsetY:mt<2?f-i.ieOffsetX:d-i.ieOffsetY,c[b]=(i[b]=Math.round(n-_*(0===mt||2===mt?1:S)))+"px"}}}var _t="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective".split(","),St=x("transform"),Tt=nt+"transform",xt=x("transformOrigin"),Et=null!==x("perspective"),Ct=r.Transform=function(){this.skewY=0},kt=r.getTransform=function(t,e,n,i){if(t._gsTransform&&n&&!i)return t._gsTransform;var r,o,s,a,l,u,c,h,f,d,p,g,v,m=n&&t._gsTransform||new Ct,y=m.scaleX<0,A=179.99,w=A*Z,b=Et&&(parseFloat(ot(t,xt,e,!1,"0 0 0").split(" ")[2])||m.zOrigin)||0;for(St?r=ot(t,Tt,e,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(Q))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),m.x||0,m.y||0].join(","):""),s=(o=(r||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[]).length;-1<--s;)a=Number(o[s]),o[s]=(l=a-(a|=0))?(0|1e5*l+(l<0?-.5:.5))/1e5+a:a;if(16===o.length){var _=o[8],S=o[9],T=o[10],x=o[12],E=o[13],C=o[14];if(m.zOrigin&&(x=_*(C=-m.zOrigin)-o[12],E=S*C-o[13],C=T*C+m.zOrigin-o[14]),!n||i||null==m.rotationX){var k,O,R,P,I,L,M,D=o[0],N=o[1],j=o[2],V=o[3],F=o[4],H=o[5],U=o[6],W=o[7],B=o[11],q=Math.atan2(U,T),z=q<-w||w<q;m.rotationX=q*tt,q&&(k=F*(P=Math.cos(-q))+_*(I=Math.sin(-q)),O=H*P+S*I,R=U*P+T*I,_=F*-I+_*P,S=H*-I+S*P,T=U*-I+T*P,B=W*-I+B*P,F=k,H=O,U=R),q=Math.atan2(_,D),m.rotationY=q*tt,q&&(L=q<-w||w<q,O=N*(P=Math.cos(-q))-S*(I=Math.sin(-q)),R=j*P-T*I,S=N*I+S*P,T=j*I+T*P,B=V*I+B*P,D=k=D*P-_*I,N=O,j=R),q=Math.atan2(N,H),m.rotation=q*tt,q&&(M=q<-w||w<q,D=D*(P=Math.cos(-q))+F*(I=Math.sin(-q)),O=N*P+H*I,H=N*-I+H*P,U=j*-I+U*P,N=O),M&&z?m.rotation=m.rotationX=0:M&&L?m.rotation=m.rotationY=0:L&&z&&(m.rotationY=m.rotationX=0),m.scaleX=(0|1e5*Math.sqrt(D*D+N*N)+.5)/1e5,m.scaleY=(0|1e5*Math.sqrt(H*H+S*S)+.5)/1e5,m.scaleZ=(0|1e5*Math.sqrt(U*U+T*T)+.5)/1e5,m.skewX=0,m.perspective=B?1/(B<0?-B:B):0,m.x=x,m.y=E,m.z=C}}else if(!(Et&&!i&&o.length&&m.x===o[4]&&m.y===o[5]&&(m.rotationX||m.rotationY)||void 0!==m.x&&"none"===ot(t,"display",e))){var G=6<=o.length,X=G?o[0]:1,Y=o[1]||0,J=o[2]||0,K=G?o[3]:1;m.x=o[4]||0,m.y=o[5]||0,u=Math.sqrt(X*X+Y*Y),c=Math.sqrt(K*K+J*J),h=X||Y?Math.atan2(Y,X)*tt:m.rotation||0,f=J||K?Math.atan2(J,K)*tt+h:m.skewX||0,d=u-Math.abs(m.scaleX||0),p=c-Math.abs(m.scaleY||0),90<Math.abs(f)&&Math.abs(f)<270&&(y?(u*=-1,f+=h<=0?180:-180,h+=h<=0?180:-180):(c*=-1,f+=f<=0?180:-180)),g=(h-m.rotation)%180,v=(f-m.skewX)%180,(void 0===m.skewX||2e-5<d||d<-2e-5||2e-5<p||p<-2e-5||-A<g&&g<A&&!1|1e5*g||-A<v&&v<A&&!1|1e5*v)&&(m.scaleX=u,m.scaleY=c,m.rotation=h,m.skewX=f),Et&&(m.rotationX=m.rotationY=m.z=0,m.perspective=parseFloat($.defaultTransformPerspective)||0,m.scaleZ=1)}for(s in m.zOrigin=b,m)m[s]<2e-5&&-2e-5<m[s]&&(m[s]=0);return n&&(t._gsTransform=m),m},Ot=r.set3DTransformRatio=function(){var t,e,n,i,r,o,s,a,l,u,c,h,f,d,p,g,v,m,y,A,w,b,_=this.data,S=this.t.style,T=_.rotation*Z,x=_.scaleX,E=_.scaleY,C=_.scaleZ,k=_.perspective;if(P){x<1e-4&&-1e-4<x&&(x=C=2e-5),E<1e-4&&-1e-4<E&&(E=C=2e-5),!k||_.z||_.rotationX||_.rotationY||(k=0)}if(T||_.skewX)t=v=Math.cos(T),r=m=Math.sin(T),_.skewX&&(T-=_.skewX*Z,v=Math.cos(T),m=Math.sin(T),"simple"===_.skewType&&(y=Math.tan(_.skewX*Z),v*=y=Math.sqrt(1+y*y),m*=y)),e=-m,o=v;else{if(!(_.rotationY||_.rotationX||1!==C||k))return void(S[St]="translate3d("+_.x+"px,"+_.y+"px,"+_.z+"px)"+(1!==x||1!==E?" scale("+x+","+E+")":""));t=o=1,e=r=0}c=1,n=i=s=a=l=u=h=f=d=0,p=k?-1/k:0,g=_.zOrigin,(T=_.rotationY*Z)&&(v=Math.cos(T),l=c*-(m=Math.sin(T)),f=p*-m,n=t*m,s=r*m,c*=v,p*=v,t*=v,r*=v),(T=_.rotationX*Z)&&(y=e*(v=Math.cos(T))+n*(m=Math.sin(T)),A=o*v+s*m,w=u*v+c*m,b=d*v+p*m,n=e*-m+n*v,s=o*-m+s*v,c=u*-m+c*v,p=d*-m+p*v,e=y,o=A,u=w,d=b),1!==C&&(n*=C,s*=C,c*=C,p*=C),1!==E&&(e*=E,o*=E,u*=E,d*=E),1!==x&&(t*=x,r*=x,l*=x,f*=x),g&&(i=n*(h-=g),a=s*h,h=c*h+g),i=(y=(i+=_.x)-(i|=0))?(0|1e5*y+(y<0?-.5:.5))/1e5+i:i,a=(y=(a+=_.y)-(a|=0))?(0|1e5*y+(y<0?-.5:.5))/1e5+a:a,h=(y=(h+=_.z)-(h|=0))?(0|1e5*y+(y<0?-.5:.5))/1e5+h:h,S[St]="matrix3d("+[(0|1e5*t)/1e5,(0|1e5*r)/1e5,(0|1e5*l)/1e5,(0|1e5*f)/1e5,(0|1e5*e)/1e5,(0|1e5*o)/1e5,(0|1e5*u)/1e5,(0|1e5*d)/1e5,(0|1e5*n)/1e5,(0|1e5*s)/1e5,(0|1e5*c)/1e5,(0|1e5*p)/1e5,i,a,h,k?1+-h/k:1].join(",")+")"},Rt=r.set2DTransformRatio=function(t){var e,n,i,r,o=this.data,s=this.t.style;return o.rotationX||o.rotationY||o.z||o.force3D?void(this.setRatio=Ot).call(this,t):void(o.rotation||o.skewX?(n=(e=o.rotation*Z)-o.skewX*Z,i=1e5*o.scaleX,r=1e5*o.scaleY,s[St]="matrix("+(0|Math.cos(e)*i)/1e5+","+(0|Math.sin(e)*i)/1e5+","+(0|Math.sin(n)*-r)/1e5+","+(0|Math.cos(n)*r)/1e5+","+o.x+","+o.y+")"):s[St]="matrix("+o.scaleX+",0,0,"+o.scaleY+","+o.x+","+o.y+")")};wt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType",{parser:function(t,e,n,i,r,o,s){if(i._transform)return r;var a,l,u,c,h,f,d,p=i._transform=kt(t,T,!0,s.parseTransform),g=t.style,v=_t.length,m=s,y={};if("string"==typeof m.transform&&St)u=g.cssText,g[St]=m.transform,g.display="block",a=kt(t,null,!1),g.cssText=u;else if("object"==typeof m){if(a={scaleX:b(null!=m.scaleX?m.scaleX:m.scale,p.scaleX),scaleY:b(null!=m.scaleY?m.scaleY:m.scale,p.scaleY),scaleZ:b(m.scaleZ,p.scaleZ),x:b(m.x,p.x),y:b(m.y,p.y),z:b(m.z,p.z),perspective:b(m.transformPerspective,p.perspective)},null!=(d=m.directionalRotation))if("object"==typeof d)for(u in d)m[u]=d[u];else m.rotation=d;a.rotation=_("rotation"in m?m.rotation:"shortRotation"in m?m.shortRotation+"_short":"rotationZ"in m?m.rotationZ:p.rotation,p.rotation,"rotation",y),Et&&(a.rotationX=_("rotationX"in m?m.rotationX:"shortRotationX"in m?m.shortRotationX+"_short":p.rotationX||0,p.rotationX,"rotationX",y),a.rotationY=_("rotationY"in m?m.rotationY:"shortRotationY"in m?m.shortRotationY+"_short":p.rotationY||0,p.rotationY,"rotationY",y)),a.skewX=null==m.skewX?p.skewX:_(m.skewX,p.skewX),a.skewY=null==m.skewY?p.skewY:_(m.skewY,p.skewY),(l=a.skewY-p.skewY)&&(a.skewX+=l,a.rotation+=l)}for(Et&&null!=m.force3D&&(p.force3D=m.force3D,f=!0),p.skewType=m.skewType||p.skewType||$.defaultSkewType,(h=p.force3D||p.z||p.rotationX||p.rotationY||a.z||a.rotationX||a.rotationY||a.perspective)||null==m.scale||(a.scaleZ=1);-1<--v;)(1e-6<(c=a[n=_t[v]]-p[n])||c<-1e-6||null!=G[n])&&(f=!0,r=new gt(p,n,p[n],c,r),n in y&&(r.e=y[n]),r.xs0=0,r.plugin=o,i._overwriteProps.push(r.n));return((c=m.transformOrigin)||Et&&h&&p.zOrigin)&&(St?(f=!0,n=xt,c=(c||ot(t,n,T,!1,"50% 50%"))+"",(r=new gt(g,n,0,0,r,-1,"transformOrigin")).b=g[n],r.plugin=o,Et?(u=p.zOrigin,c=c.split(" "),p.zOrigin=(2<c.length&&(0===u||"0px"!==c[2])?parseFloat(c[2]):u)||0,r.xs0=r.e=g[n]=c[0]+" "+(c[1]||"50%")+" 0px",(r=new gt(p,"zOrigin",0,0,r,-1,r.n)).b=u,r.xs0=r.e=p.zOrigin):r.xs0=r.e=g[n]=c):w(c+"",p)),f&&(i._transformType=h||3===this._transformType?3:2),r},prefix:!0}),wt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),wt("borderRadius",{defaultValue:"0px",parser:function(t,e,n,i,r){e=this.format(e);var o,s,a,l,u,c,h,f,d,p,g,v,m,y,A,w,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],_=t.style;for(d=parseFloat(t.offsetWidth),p=parseFloat(t.offsetHeight),o=e.split(" "),s=0;b.length>s;s++)this.p.indexOf("border")&&(b[s]=x(b[s])),-1!==(u=l=ot(t,b[s],T,!1,"0px")).indexOf(" ")&&(u=(l=u.split(" "))[0],l=l[1]),c=a=o[s],h=parseFloat(u),v=u.substr((h+"").length),""===(g=(m="="===c.charAt(1))?(f=parseInt(c.charAt(0)+"1",10),c=c.substr(2),f*=parseFloat(c),c.substr((f+"").length-(f<0?1:0))||""):(f=parseFloat(c),c.substr((f+"").length)))&&(g=S[n]||v),g!==v&&(y=st(t,"borderLeft",h,v),A=st(t,"borderTop",h,v),l="%"===g?(u=y/d*100+"%",A/p*100+"%"):"em"===g?(u=y/(w=st(t,"borderLeft",1,"em"))+"em",A/w+"em"):(u=y+"px",A+"px"),m&&(c=parseFloat(u)+f+g,a=parseFloat(l)+f+g)),r=vt(_,b[s],u+" "+l,c+" "+a,!1,"0px",r);return r},prefix:!0,formatter:ft("0px 0px 0px 0px",!1,!0)}),wt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,n,i,r,o){var s,a,l,u,c,h,f="background-position",d=T||rt(t,null),p=this.format((d?L?d.getPropertyValue(f+"-x")+" "+d.getPropertyValue(f+"-y"):d.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==p.indexOf("%")!=(-1!==g.indexOf("%"))&&((h=ot(t,"backgroundImage").replace(W,""))&&"none"!==h)){for(s=p.split(" "),a=g.split(" "),J.setAttribute("src",h),l=2;-1<--l;)(u=-1!==(p=s[l]).indexOf("%"))!=(-1!==a[l].indexOf("%"))&&(c=0===l?t.offsetWidth-J.width:t.offsetHeight-J.height,s[l]=u?parseFloat(p)/100*c+"px":parseFloat(p)/c*100+"%");p=s.join(" ")}return this.parseComplex(t.style,p,g,r,o)},formatter:w}),wt("backgroundSize",{defaultValue:"0 0",formatter:w}),wt("perspective",{defaultValue:"0px",prefix:!0}),wt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),wt("transformStyle",{prefix:!0}),wt("backfaceVisibility",{prefix:!0}),wt("userSelect",{prefix:!0}),wt("margin",{parser:dt("marginTop,marginRight,marginBottom,marginLeft")}),wt("padding",{parser:dt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),wt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,n,i,r,o){var s,a,l;return e=L<9?(a=t.currentStyle,l=L<8?" ":",",s="rect("+a.clipTop+l+a.clipRight+l+a.clipBottom+l+a.clipLeft+")",this.format(e).split(",").join(l)):(s=this.format(ot(t,this.p,T,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,s,e,r,o)}}),wt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),wt("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),wt("border",{defaultValue:"0px solid #000",parser:function(t,e,n,i,r,o){return this.parseComplex(t.style,this.format(ot(t,"borderTopWidth",T,!1,"0px")+" "+ot(t,"borderTopStyle",T,!1,"solid")+" "+ot(t,"borderTopColor",T,!1,"#000")),this.format(e),r,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(ht)||["#000"])[0]}}),wt("borderWidth",{parser:dt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),wt("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r){var o=t.style,s="cssFloat"in o?"cssFloat":"styleFloat";return new gt(o,s,0,0,r,-1,n,!1,0,o[s],e)}});function Pt(t){var e,n=this.t,i=n.filter||ot(this.data,"filter"),r=0|this.s+this.c*t;100==r&&(e=-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),!ot(this.data,"filter")):(n.filter=i.replace(u,""),!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("opacity")?0==r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(V,"opacity="+r))}wt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,n,i,r,o){var s=parseFloat(ot(t,"opacity",T,!1,"1")),a=t.style,l="autoAlpha"===n;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),l&&1===s&&"hidden"===ot(t,"visibility",T)&&0!==e&&(s=0),et?r=new gt(a,"opacity",s,e-s,r):((r=new gt(a,"opacity",100*s,100*(e-s),r)).xn1=l?1:0,a.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=t,r.plugin=o,r.setRatio=Pt),l&&((r=new gt(a,"visibility",0,0,r,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",i._overwriteProps.push(r.n),i._overwriteProps.push(n)),r}});function It(t,e){e&&(t.removeProperty?("ms"===e.substr(0,2)&&(e="M"+e.substr(1)),t.removeProperty(e.replace(h,"-$1").toLowerCase())):t.removeAttribute(e))}function Lt(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.className=0===t?this.b:this.e;for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:It(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.className!==this.e&&(this.t.className=this.e)}wt("className",{parser:function(t,e,n,i,r,o,s){var a,l,u,c,h,f=t.className,d=t.style.cssText;if((r=i._classNamePT=new gt(t,n,0,0,r,2)).setRatio=Lt,r.pr=-11,p=!0,r.b=f,l=m(t,T),u=t._gsClassPT){for(c={},h=u.data;h;)c[h.p]=1,h=h._next;u.setRatio(1)}return(t._gsClassPT=r).e="="!==e.charAt(1)?e:f.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),i._tween._duration&&(t.className=r.e,a=y(t,l,m(t),s,c),t.className=f,r.data=a.firstMPT,t.style.cssText=d,r=r.xfirst=i.parse(t,a.difs,r,o)),r}});function Mt(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o=this.t.style,s=g.transform.parse;if("all"===this.e)r=!(o.cssText="");else for(i=(e=this.e.split(",")).length;-1<--i;)n=e[i],g[n]&&(g[n].parse===s?r=!0:n="transformOrigin"===n?xt:g[n].p),It(o,n);r&&(It(o,St),this.t._gsTransform&&delete this.t._gsTransform)}}for(wt("clearProps",{parser:function(t,e,n,i,r){return(r=new gt(t,n,0,0,r,2)).setRatio=Mt,r.e=e,r.pr=-10,r.data=i._tween,p=!0,r}}),t="bezier,throwProps,physicsProps,physics2D".split(","),mt=t.length;mt--;)At(t[mt]);(t=$.prototype)._firstPT=null,t._onInitTween=function(t,e,n){if(!t.nodeType)return!1;this._target=t,this._tween=n,this._vars=e,k=e.autoRound,p=!1,S=e.suffixMap||$.suffixMap,T=rt(t,""),d=this._overwriteProps;var i,r,o,s,a,l,u,c,h,f=t.style;if(O&&""===f.zIndex&&("auto"!==(i=ot(t,"zIndex",T))&&""!==i||(f.zIndex=0)),"string"==typeof e&&(s=f.cssText,i=m(t,T),f.cssText=s+";"+e,i=y(t,i,m(t)).difs,!et&&F.test(e)&&(i.opacity=parseFloat(RegExp.$1)),e=i,f.cssText=s),this._firstPT=r=this.parse(t,e,null),this._transformType){for(h=3===this._transformType,St?R&&(O=!0,""===f.zIndex&&("auto"!==(u=ot(t,"zIndex",T))&&""!==u||(f.zIndex=0)),I&&(f.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(h?"visible":"hidden"))):f.zoom=1,o=r;o&&o._next;)o=o._next;c=new gt(t,"transform",0,0,null,2),this._linkCSSP(c,null,o),c.setRatio=h&&Et?Ot:St?Rt:bt,c.data=this._transform||kt(t,T,!0),d.pop()}if(p){for(;r;){for(l=r._next,o=s;o&&o.pr>r.pr;)o=o._next;(r._prev=o?o._prev:a)?r._prev._next=r:s=r,(r._next=o)?o._prev=r:a=r,r=l}this._firstPT=s}return!0},t.parse=function(t,e,n,i){var r,o,s,a,l,u,c,h,f,d,p=t.style;for(r in e)u=e[r],(o=g[r])?n=o.parse(t,u,r,this,n,i,e):(l=ot(t,r,T)+"",f="string"==typeof u,"color"===r||"fill"===r||"stroke"===r||-1!==r.indexOf("Color")||f&&H.test(u)?(f||(u=(3<(u=C(u)).length?"rgba(":"rgb(")+u.join(",")+")"),n=vt(p,r,l,u,!0,"transparent",n,0,i)):!f||-1===u.indexOf(" ")&&-1===u.indexOf(",")?(c=(s=parseFloat(l))||0===s?l.substr((s+"").length):"",""!==l&&"auto"!==l||(c="width"===r||"height"===r?(s=A(t,r,T),"px"):"left"===r||"top"===r?(s=at(t,r,T),"px"):(s="opacity"!==r?0:1,"")),""===(h=(d=f&&"="===u.charAt(1))?(a=parseInt(u.charAt(0)+"1",10),u=u.substr(2),a*=parseFloat(u),u.replace(j,"")):(a=parseFloat(u),f&&u.substr((a+"").length)||""))&&(h=r in S?S[r]:c),u=a||0===a?(d?a+s:a)+h:e[r],c!==h&&""!==h&&(a||0===a)&&s&&(s=st(t,r,s,c),"%"===h?(s/=st(t,r,100,"%")/100,!0!==e.strictUnits&&(l=s+"%")):"em"===h?s/=st(t,r,1,"em"):"px"!==h&&(a=st(t,r,a,h),h="px"),d&&(a||0===a)&&(u=a+s+h)),d&&(a+=s),!s&&0!==s||!a&&0!==a?void 0!==p[r]&&(u||"NaN"!=u+""&&null!=u)?(n=new gt(p,r,a||s||0,0,n,-1,r,!1,0,l,u)).xs0="none"!==u||"display"!==r&&-1===r.indexOf("Style")?u:l:v("invalid "+r+" tween value: "+e[r]):(n=new gt(p,r,s,a-s,n,0,r,!1!==k&&("px"===h||"zIndex"===r),0,l,u)).xs0=h):n=vt(p,r,l,u,!0,null,n,0,i)),i&&n&&!n.plugin&&(n.plugin=i);return n},t.setRatio=function(t){var e,n,i,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;r.l>i;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(t),r=r._next},t._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||kt(this._target,T,!0)},t._linkCSSP=function(t,e,n,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),n?n._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=n),t},t._kill=function(t){var e,n,i,r=t;if(t.autoAlpha||t.alpha){for(n in r={},t)r[n]=t[n];r.opacity=1,r.autoAlpha&&(r.visibility=1)}return t.className&&(e=this._classNamePT)&&((i=e.xfirst)&&i._prev?this._linkCSSP(i._prev,e._next,i._prev._prev):i===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,i._prev),this._classNamePT=null),o.prototype._kill.call(this,r)};var Dt=function(t,e,n){var i,r,o,s;if(t.slice)for(r=t.length;-1<--r;)Dt(t[r],e,n);else for(r=(i=t.childNodes).length;-1<--r;)s=(o=i[r]).type,o.style&&(e.push(m(o)),n&&n.push(o)),1!==s&&9!==s&&11!==s||!o.childNodes.length||Dt(o,e,n)};return $.cascadeTo=function(t,e,n){var i,r,o,s=f.to(t,e,n),a=[s],l=[],u=[],c=[],h=f._internals.reservedProps;for(t=s._targets||s.target,Dt(t,l,c),s.render(e,!0),Dt(t,u),s.render(0,!0),s._enabled(!0),i=c.length;-1<--i;)if((r=y(c[i],l[i],u[i])).firstMPT){for(o in r=r.difs,n)h[o]&&(r[o]=n[o]);a.push(f.to(c[i],e,r))}return a},o.activate([$]),$},!0)}),window._gsDefine&&window._gsQueue.pop()()},function(t,e){
/*!
 * VERSION: beta 1.3.2
 * DATE: 2014-04-08
 * UPDATES AND DOCS AT: http://www.greensock.com
 *
 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";function y(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i,this.da=i-t,this.ca=n-t,this.ba=e-t}function b(t,e,n,i){var r={a:t},o={},s={},a={c:i},l=(t+e)/2,u=(e+n)/2,c=(n+i)/2,h=(l+u)/2,f=(u+c)/2,d=(f-h)/8;return r.b=l+(t-l)/4,o.b=h+d,r.c=o.a=(r.b+o.b)/2,o.c=s.a=(h+f)/2,s.b=f-d,a.b=c+(i-c)/4,s.c=a.a=(s.b+a.b)/2,[r,o,s,a]}function m(t,e,n,i,r){var o,s,a,l,u,c,h,f,d,p,g,v,m,y=t.length-1,A=0,w=t[0].a;for(o=0;o<y;o++)s=(u=t[A]).a,a=u.d,l=t[A+1].d,f=r?(g=_[o],m=.25*((v=T[o])+g)*e/(!i&&x[o]||.5),a-((c=a-(a-s)*(i?.5*e:0!==g?m/g:0))+(((h=a+(l-a)*(i?.5*e:0!==v?m/v:0))-c)*(3*g/(g+v)+.5)/4||0))):a-((c=a-.5*(a-s)*e)+(h=a+.5*(l-a)*e))/2,c+=f,h+=f,u.c=d=c,u.b=0!==o?w:w=u.a+.6*(u.c-u.a),u.da=a-s,u.ca=d-s,u.ba=w-s,n?(p=b(s,w,d,a),t.splice(A,1,p[0],p[1],p[2],p[3]),A+=4):A++,w=h;(u=t[A]).b=w,u.c=w+.4*(u.d-w),u.da=u.d-u.a,u.ca=u.c-u.a,u.ba=w-u.a,n&&(p=b(u.a,w,u.c,u.d),t.splice(A,1,p[0],p[1],p[2],p[3]))}function A(t,e,n,i){var r,o,s,a,l,u,c=[];if(i)for(o=(t=[i].concat(t)).length;-1<--o;)"string"==typeof(u=t[o][e])&&"="===u.charAt(1)&&(t[o][e]=i[e]+Number(u.charAt(0)+u.substr(2)));if((r=t.length-2)<0)return c[0]=new y(t[0][e],0,0,t[r<-1?0:1][e]),c;for(o=0;o<r;o++)s=t[o][e],a=t[o+1][e],c[o]=new y(s,0,0,a),n&&(l=t[o+2][e],_[o]=(_[o]||0)+(a-s)*(a-s),T[o]=(T[o]||0)+(l-a)*(l-a));return c[o]=new y(t[o][e],0,0,t[o+1][e]),c}function d(t,e,n,i,r,o){var s,a,l,u,c,h,f,d,p={},g=[],v=o||t[0];for(a in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])g.push(a);if(1<t.length){for(d=t[t.length-1],f=!0,s=g.length;-1<--s;)if(a=g[s],.05<Math.abs(v[a]-d[a])){f=!1;break}f&&(t=t.concat(),o&&t.unshift(o),t.push(t[1]),o=t[t.length-3])}for(_.length=T.length=x.length=0,s=g.length;-1<--s;)a=g[s],w[a]=-1!==r.indexOf(","+a+","),p[a]=A(t,a,w[a],o);for(s=_.length;-1<--s;)_[s]=Math.sqrt(_[s]),T[s]=Math.sqrt(T[s]);if(!i){for(s=g.length;-1<--s;)if(w[a])for(h=(l=p[g[s]]).length-1,u=0;u<h;u++)c=l[u+1].da/T[u]+l[u].da/_[u],x[u]=(x[u]||0)+c*c;for(s=x.length;-1<--s;)x[s]=Math.sqrt(x[s])}for(s=g.length,u=n?4:1;-1<--s;)l=p[a=g[s]],m(l,e,n,i,w[a]),f&&(l.splice(0,u),l.splice(l.length-u,u));return p}function p(t,e,n){for(var i,r,o,s,a,l,u,c,h,f,d,p=1/n,g=t.length;-1<--g;)for(o=(f=t[g]).a,s=f.d-o,a=f.c-o,l=f.b-o,i=r=0,c=1;c<=n;c++)i=r-(r=((u=p*c)*u*s+3*(h=1-u)*(u*a+h*l))*u),e[d=g*n+c-1]=(e[d]||0)+i*i}var S=180/Math.PI,_=[],T=[],x=[],w={},v=window._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.2",API:2,global:!0,init:function(t,e,n){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._round={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,r,o,s,a,l=e.values||[],u={},c=l[0],h=e.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0!==h&&Number(h)||0]]:null,c)this._props.push(i);for(o=this._props.length;-1<--o;)i=this._props[o],this._overwriteProps.push(i),r=this._func[i]="function"==typeof t[i],u[i]=r?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),a||u[i]!==l[0][i]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?d(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):function(t,e,n){var i,r,o,s,a,l,u,c,h,f,d,p={},g="cubic"===(e=e||"soft")?3:2,v="soft"===e,m=[];if(v&&n&&(t=[n].concat(t)),null==t||1+g>t.length)throw"invalid Bezier data";for(h in t[0])m.push(h);for(l=m.length;-1<--l;){for(p[h=m[l]]=a=[],f=0,c=t.length,u=0;u<c;u++)i=null==n?t[u][h]:"string"==typeof(d=t[u][h])&&"="===d.charAt(1)?n[h]+Number(d.charAt(0)+d.substr(2)):Number(d),v&&1<u&&u<c-1&&(a[f++]=(i+a[f-2])/2),a[f++]=i;for(c=f-g+1,u=f=0;u<c;u+=g)i=a[u],r=a[u+1],o=a[u+2],s=2==g?0:a[u+3],a[f++]=d=3==g?new y(i,r,o,s):new y(i,(2*r+i)/3,(2*r+o)/3,o);a.length=f}return p}(l,e.type,u),this._segCount=this._beziers[i].length,this._timeRes){var f=function(t,e){var n,i,r,o,s=[],a=[],l=0,u=0,c=(e=e>>0||6)-1,h=[],f=[];for(n in t)p(t[n],s,e);for(r=s.length,i=0;i<r;i++)l+=Math.sqrt(s[i]),f[o=i%e]=l,o===c&&(u+=l,h[o=i/e>>0]=f,a[o]=u,l=0,f=[]);return{length:u,lengths:a,segments:h}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),o=h.length;-1<--o;){for(s=0;s<3;s++)i=h[o][s],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=h[o][2],this._initialRotations[o]=this._func[i]?this._func[i].call(this._target):this._target[i]}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,i,r,o,s,a,l,u,c,h=this._segCount,f=this._func,d=this._target,p=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,c=this._curSeg,t*=this._length,i=this._li,t>this._l2&&i<h-1){for(l=h-1;i<l&&t>=(this._l2=u[++i]););this._l1=u[i-1],this._li=i,this._curSeg=c=this._segments[i],this._s2=c[this._s1=this._si=0]}else if(this._l1>t&&0<i){for(;0<i&&(this._l1=u[--i])>=t;);0===i&&this._l1>t?this._l1=0:i++,this._l2=u[i],this._li=i,this._curSeg=c=this._segments[i],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(e=i,t-=this._l1,i=this._si,t>this._s2&&c.length-1>i){for(l=c.length-1;i<l&&t>=(this._s2=c[++i]););this._s1=c[i-1],this._si=i}else if(this._s1>t&&0<i){for(;0<i&&(this._s1=c[--i])>=t;);0===i&&this._s1>t?this._s1=0:i++,this._s2=c[i],this._si=i}s=(i+(t-this._s1)/(this._s2-this._s1))*this._prec}else s=(t-(e=t<0?0:1<=t?h-1:h*t>>0)*(1/h))*h;for(n=1-s,i=this._props.length;-1<--i;)r=this._props[i],a=(s*s*(o=this._beziers[r][e]).da+3*n*(s*o.ca+n*o.ba))*s+o.a,this._round[r]&&(a=Math.round(a)),f[r]?d[r](a):d[r]=a;if(this._autoRotate){var g,v,m,y,A,w,b,_=this._autoRotate;for(i=_.length;-1<--i;)r=_[i][2],w=_[i][3]||0,b=!0===_[i][4]?1:S,o=this._beziers[_[i][0]],g=this._beziers[_[i][1]],o&&g&&(o=o[e],g=g[e],v=o.a+(o.b-o.a)*s,v+=((y=o.b+(o.c-o.b)*s)-v)*s,y+=(o.c+(o.d-o.c)*s-y)*s,m=g.a+(g.b-g.a)*s,m+=((A=g.b+(g.c-g.b)*s)-m)*s,A+=(g.c+(g.d-g.c)*s-A)*s,a=p?Math.atan2(A-m,y-v)*b+w:this._initialRotations[i],f[r]?d[r](a):d[r]=a)}}}),t=v.prototype;v.bezierThrough=d,v.cubicToQuadratic=b,v._autoCSS=!0,v.quadraticToCubic=function(t,e,n){return new y(t,(2*e+t)/3,(2*e+n)/3,n)},v._cssRegister=function(){var t=window._gsDefine.globals.CSSPlugin;if(t){var e=t._internals,d=e._parseToProxy,p=e._setPluginRatio,g=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,n,i,r,o){e instanceof Array&&(e={values:e}),o=new v;var s,a,l,u=e.values,c=u.length-1,h=[],f={};if(c<0)return r;for(s=0;s<=c;s++)l=d(t,u[s],i,r,o,c!==s),h[s]=l.end;for(a in e)f[a]=e[a];return f.values=h,(r=new g(t,"bezier",0,0,l.pt,2)).data=l,r.plugin=o,r.setRatio=p,0===f.autoRotate&&(f.autoRotate=!0),!f.autoRotate||f.autoRotate instanceof Array||(s=!0===f.autoRotate?0:Number(f.autoRotate),f.autoRotate=null!=l.end.left?[["left","top","rotation",s,!1]]:null!=l.end.x&&[["x","y","rotation",s,!1]]),f.autoRotate&&(i._transform||i._enableTransforms(!1),l.autoRotate=i._target._gsTransform),o._onInitTween(l.proxy,f,i._tween),r}})}},t._roundProps=function(t,e){for(var n=this._overwriteProps,i=n.length;-1<--i;)(t[n[i]]||t.bezier||t.bezierThrough)&&(this._round[n[i]]=e)},t._kill=function(t){var e,n,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=i.length;-1<--n;)i[n]===e&&i.splice(n,1);return this._super._kill.call(this,t)}}),window._gsDefine&&window._gsQueue.pop()()},function(t,e,o){"use strict";var n;void 0===(n=function(t){var e=o(0),n=o(1),i=o(2),r={callbacks:[],endFrameCallbacks:[],frameRequested:!1,staleFrameRequested:!1,timeStale:!0,staleTime:-1,lastCpuTime:Date.now(),lastEndFrameTime:0,currentTime:0,locks:[],locked:!1,waitingLock:!1,clockOverridden:!1,overrideClock:function(t){this.clockOverridden=!0,this.frameTimeMs=t},requestAnimationFrame:function(t,e){e?this.endFrameCallbacks.push(t):this.callbacks.push(t),this.frameRequested||(this.frameRequested=!0,this.staleFrameRequested||this.clockOverridden||window.requestAnimationFrame(this.tick.bind(this)),this.staleFrameRequested=!1)},lock:function(){var t=e.uniqueId("lock-");return this.locks.push(t),this.locked=!0,t},unlock:function(t){e.pull(this.locks,t),this.locked=0<this.locks.length,!this.locked&&this.waitingLock&&(this.waitingLock=!1,this.tick())},updateTime:function(){var t=Date.now(),e=t-this.lastCpuTime;return this.lastCpuTime=t,132<e&&(e=33),this.currentTime+=this.clockOverridden?this.frameTimeMs:e,this.currentTime},requestStaleFrame:function(){this.frameRequested||this.staleFrameRequested||this.clockOverridden||(this.staleFrameRequested=!0,window.requestAnimationFrame(this.tick.bind(this)))},requestEndFrameTick:function(){this.frameRequested||this.clockOverridden||(this.frameRequested=!0,window.requestAnimationFrame(this.tick.bind(this)))},time:function(){return this.timeStale&&(this.requestStaleFrame(),-1===this.staleTime&&(this.staleTime=this.updateTime()),this.frameTime=this.staleTime),this.frameTime},tick:function(){if(this.locked)this.waitingLock=!0;else{var t=this.frameRequested;this.staleFrameRequested=!1,this.frameRequested=!1,this.frameTime=this.updateTime(),this.staleTime=-1,this.timeStale=!1,0<this.callbacks.length&&this.executeCallbacks(),0<this.endFrameCallbacks.length&&(33<=this.currentTime-this.lastEndFrameTime?(this.lastEndFrameTime=this.currentTime,this.executeCallbacks(!0)):this.requestEndFrameTick()),t?this.requestStaleFrame():this.timeStale=!0}},executeCallbacks:function(t){var e,n;t?(e=this.endFrameCallbacks.slice(0),this.endFrameCallbacks=[]):(e=this.callbacks.slice(0),this.callbacks=[]),n=e.length;for(var i=0;i<n;i++)e[i](this.frameTime)}};return i.on([n.detection.VISIBILITY_SHOWN,n.detection.VISIBILITY_HIDDEN].join(" "),r.updateTime.bind(r)),r}.call(e,o,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){n(63);return n(18),n(24),n(25),n(26),TimelineLite}.call(e,n,e,t))||(t.exports=i)},function(t,e,v){"use strict";var n;void 0===(n=function(t){v(64);function i(){}var r=v(9),o=v(0),s=v(1),e=v(8),n=v(19),a=v(41),l=v(30),u=v(42),c=v(23),h=v(3),f=e.throwError("BaseModel"),d=h.createSuper(r.Model),p=r.Model.extend({abilities:{resolveAsThis:!1,resolveAsParent:!1,beEventTarget:!1},mixins:[n,a,l,u],autoParse:!1,isModel:!0,constructor:function(t,e){o.bindAll(this,"createAbsoluteId");var n=this.initialize;this.initialize=i,this.autoParse&&((e=e||{}).parse=!0),r.Model.call(this,t,e),this.on(s.data.UPDATED,this.createAbsoluteId),this.createParentReference(e).buildAssociations().bindAssociations().createAbsoluteId(),c.initMixinsOf(this),this.initialize=n,this.initialize.apply(this,arguments),c.postInitMixinsOf(this)},index:function(){return this.collection||f("index","must have a `collection` defined"),this.collection.indexOf(this)},sibling:function(t){return this.collection||f("sibling","must have a `collection` defined"),t=t||0,this.collection.at(this.index()+t)},prevSibling:function(){return this.sibling(-1)},nextSibling:function(){return this.sibling(1)},toJSON:function(t){return h.isTrue(t)?h.cloneDeeply(this):d("toJSON").call(this)},buildAssociations:function(){for(var t in this.associations)this.associations.hasOwnProperty(t)&&this.buildAssociation(t);return this},buildAssociation:function(t,e){var n=e||this.get(t),i={parent:this},r=this.associations[t];return n instanceof r||(this.attributes[t]=h.buildDataStructure(r,i,n)),this},bindAssociation:function(r){return this.on("change:"+r,function(t,e,n){var i=this.previous(r);o.isFunction(i.set)?(i.set(e,{parent:this}),i.trigger(s.data.UPDATED),i.isCollection&&i.invoke("trigger",s.data.UPDATED),this.set(r,i,{silent:!0})):this.buildAssociation(r,e)}),this},bindAssociations:function(){for(var t in this.associations)this.associations.hasOwnProperty(t)&&this.bindAssociation(t);return this},buildAbsoluteId:function(){if(!this.id)return null;for(var t=this,e=[this.id];t=t.parent;)t.id&&e.push(t.id);return e.reverse().join(".")},createAbsoluteId:function(){this.absoluteId=this.buildAbsoluteId()},isType:function(t){return this.get("type")===t},isKind:function(t){return this.get("kind")===t}});p.addAssociation=function(t,e){this.prototype.associations.hasOwnProperty(t)||(this.prototype.associations[t]=e,this.shorthandify(t))};var g=p.extend;return p.extend=function(){var t=g.apply(this,arguments);return t.prototype.associations=o.extend({},t.prototype.associations,this.prototype.associations),t.shorthandify().shorthandify(o.keys(t.prototype.associations)),t},p}.call(e,v,e,t))||(t.exports=n)},function(t,e,r){"use strict";var n;void 0===(n=function(t){function n(t,e){return i.contains(i.values(e.associations),t)}var i=r(0),e={isAncestral:!0,createParentReference:function(t){return t&&t.parent&&(this.parent=t.parent),this},getClosestAncestor:function(t,e){for(var n=e?this:this.parent;n&&!t(n);)n=n.parent;return n},getClosestAncestorWithAssoc:function(t){var e=i.partial(n,t);return this.getClosestAncestor(e)},getClosestAncestorByAttr:function(e,n,t){return this.getClosestAncestor(function(t){return t.get(e)===n},t)},forEachAncestor:function(t,e){for(var n=e?this:this.parent,i=0;null!=n;){if(!1===t(n,i++))return;n=n.parent}}};return e.getClosestAncestorByKind=i.partial(e.getClosestAncestorByAttr,"kind"),e}.call(e,r,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){n(66);var i={};return{camelCase:function(t){var e,n=i[t]||(e=t,PrefixFree.prefixCSS(e+":").replace(":","").replace(/-(.)/g,function(t,e){return e.toUpperCase()}));return i[t]=n},kebabCase:function(t){return PrefixFree.prefix+t}}}.call(e,n,e,t))||(t.exports=i)},function(t,e,o){"use strict";var n;void 0===(n=function(t){var n=o(8),i=o(4),r=void 0;return{initialize:function(t){r=t},reInit:function(t){r.frame.stringTables[r.currLayout.string_table].string=t},getString:function(t){var e=r&&(t===i.strings.PROJECT_TITLE?r.title.text:r.getString(t));return null==e&&(e=t.replace(/_/g," "),n.throwErrorSoft("getString","could not resolve the string",n.backtick(t))),e}}}.call(e,o,e,t))||(t.exports=n)},function(t,e,l){"use strict";var n;void 0===(n=function(t){var e,n,r=l(0),i=l(3),o=l(6),s=l(20),a={initialize:function(){var t,e,n={},i=window.vRestoreStateData;if(this.hasData=!r.isEmpty(i),this.hasData){for(t=new s({fullString:i}),this.resumeData=t.encodedString(),t=t.reChunk(),e=(t=new s({fullString:t.encodedString()})).encodedString();0<e.length;)t=t.reChunk(),n[e]=t.encodedString(),e=(t=t.reChunk()).encodedString();this.slideStateData=n}},setResumer:function(t){e=t},setWindowManager:function(t){n=t},getSlideStateData:function(t){if(this.hasData)return this.slideStateData[i.stripPlayer(t)]},clearSlideStateData:function(t){this.slideStateData[i.stripPlayer(t)]=null},getState:function(){return r.map([s.packData(e.collectResumeData()),this.getActiveSlideStates()],s.create).join("")},shouldShimLMS:function(){return window.autoSpider},getLMSShim:function(){return{getItem:function(){var t=new o.Deferred;return t.resolve(),t.promise()},setItem:r.noop,setResumer:r.noop}},getActiveSlideStates:function(){return n.windows.map(function(t){var e=t.getCurrentSlide();return null==e?"":(e.prepareResumeData({retainState:!0,force:!0,skipPostBuild:!0}),r.map([i.stripPlayer(e.absoluteId),e.getResumeData()],s.create).join(""))}).join("")}};return a.initialize(),a}.call(e,l,e,t))||(t.exports=n)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,r){"use strict";(function(t){var e;void 0===(e=function(t){var u=r(0),e=r(9),c=r(6),h="Could not fetch model",f={},i={origSync:e.sync,scriptSync:function(t,e,n){var i,r,s,o=n.url||u.result(e,"url"),a=new c.Deferred,l=a.promise();return o?(i=e.id||(r=o,u.first(u.last(r.split("/")).split("."))),s=o,new Promise(function(t,e){function n(){i.removeEventListener("load",r),i.removeEventListener("error",o),document.head.removeChild(i),i.src="",i=null}var i=document.createElement("script"),r=function(){t(),n()},o=function(){e(),n()};i.addEventListener("load",r),i.addEventListener("error",o),i.src=s,document.head.appendChild(i)}).then(function(){var t=f[i];f[i]=null,n.success(t),a.resolve(t)}).catch(function(){n.error(h),a.reject(h)})):a.reject("Must provide a url to fetch model"),l},sync:function(t,e,n){return i["read"===t?"scriptSync":"origSync"].apply(this,arguments)}};return e.sync=i.sync,window.globalProvideData=function(t,e){var n=JSON.parse(e),i="slide"===t?n.id:t;f[i]=n},i}.call(n,r,n,t))||(t.exports=e)}).call(this,r(35)(t))},function(t,e,i){"use strict";var n;void 0===(n=function(t){var e=i(0),n=i(5);return{formatSrcUrl:n.env.isFileProtocol&&n.browser.isIE?function(t){return n.browser.isIE10?"file://"+t:document.location.origin+t}:e.identity}}.call(e,i,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(){return window.AudioContext||window.webkitAudioContext||null}.call(e,n,e,t))||(t.exports=i)},function(t,e,i){"use strict";var n;void 0===(n=function(t){var e=i(2),n=i(1);return{initialize:function(t,e,n){this.debugMode=void 0!==t&&t.get("debugMode"),this.setGlobals(t,e,n)},setGlobals:function(t,e,n){this.debugMode&&(window.presentation=t,window.player=e,window.app=n)},throwError:function(){!0===this.debugMode&&e.trigger(n.player.ERROR)}}}.call(e,i,e,t))||(t.exports=n)},function(t,e,u){"use strict";var n;void 0===(n=function(t){function o(t,e){return s.findIndex(t,{id:e})}function i(t){return t instanceof n||t instanceof r}function e(e){this.playing=!1,this.currentTime=0,this.lastCallbackTime=-1,this.labels={},this.duration=0,this.callbacks=[],this.seekables=[],this.activeSeekables=[],null!=e&&(["onUpdate","onComplete"].forEach(function(t){this[t]=e[t]}.bind(this)),e.tweens&&e.tweens.forEach(function(t){var e=t.delay();i(t)&&(this.wrapGsap(t),e=a.toMilliseconds(e)),this.addSeekable(t,e,!0)}.bind(this)))}var s=u(0),a=u(3),n=u(12),r=u(28),l=u(27);return s.extend(e.prototype,{add:function(t,e,n){if(s.isString(t))this.labels[t]=e;else{if(e=s.isString(e)?this.labels[e]:e||0,s.isFunction(t))return this.insertCallback(this.wrapCallback(t,e)),void this.updateDuration(e);i(t)&&this.wrapGsap(t),s.isFunction(t.stepAnimation)&&this.addSeekable(t,e,n)}},remove:function(t){var e,n,i,r;s.isString(t)?this.labels[t]=null:null!=t.timelineData&&(e=t.timelineData.seekableId,0<=(n=o(this.callbacks,e))&&(this.callbacks.splice(n,1),0<=(i=o(this.seekables,e))&&(this.seekables.splice(i,1),0<=(r=o(this.activeSeekables,e))&&(this.activeMutated=!0,this.activeSeekables.splice(r,1)))),t.timelineData=null,this.mutated=!0)},updateDuration:function(t){t>this.duration&&(this.duration=t,null!=this.timelineData&&this.timelineData.parent.childDurationChanged(this))},childDurationChanged:function(t){this.updateDuration(t.timelineData.startTime+t.totalTime())},wrapGsap:function(i){i.pause(),i.totalTime=function(){return a.toMilliseconds(i.duration())},i.stepAnimation=function(t,e){var n=a.toSeconds(t);i.seek(n,!0),i.render(n,!!e,!0)}},addSeekable:function(t,e,n){var i=t.totalTime(),r=a.clamp(0,i,this.currentTime-e),o=this.wrapSeekable(t,e);this.seekables.push(o),this.insertCallback(o),!n&&this.currentTime>=e&&((this.executingCallbacks||r<=i)&&o.timelineCallback(),this.executingCallbacks||t.stepAnimation(r)),this.updateDuration(e+t.totalTime())},wrapCallback:function(t,e){return{startTime:e,id:s.uniqueId("wc"),timelineCallback:t}},wrapSeekable:function(t,e){var n=s.uniqueId("ws"),i={startTime:e,id:n,seekable:t};return i.timelineCallback=function(){i.seekable.killed||this.activeSeekables.push(i)}.bind(this),t.timelineData={parent:this,seekableId:n,startTime:e},i},insertCallback:function(t){0===this.callbacks.length||t.startTime>=s.last(this.callbacks).startTime?this.callbacks.push(t):this.callbacks.splice(s.sortedLastIndex(this.callbacks,t,"startTime"),0,t)},hasParentTimeline:function(){return null!=this.timelineData},pause:function(){this.playing&&!this.hasParentTimeline()&&(this.playing=!1,this.currentTime=this.executingCallbacks?this.lastCallbackTime:l.time()-this.startTime)},play:function(){!this.playing&&!this.hasParentTimeline()&&this.currentTime<this.duration&&(this.playing=!0,this.startTime=l.time()-this.currentTime,l.requestAnimationFrame(this.tick.bind(this)))},seek:function(t,e){this.hasParentTimeline()||(t<=this.lastCallbackTime&&this.reset(),this.startTime=l.time()-t,this.currentTime=t,this.executingCallbacks&&!this.renderDirty||this.update(e))},reset:function(){this.killed||(this.renderDirty=!0,this.lastCallbackTime=-1,this.activeSeekables=[],this.seekables.forEach(function(t){null!=t.seekable.reset&&t.seekable.reset()}))},progress:function(t,e){return null==t?a.clamp(0,1,this.currentTime/(this.duration||1)):(this.seek(t*this.duration,e),this)},isActive:function(){return this.hasParentTimeline()?this.timelineData.parent.isActive():this.playing},time:function(){return a.clamp(0,this.duration,this.currentTime)},totalTime:function(t){if(null==t)return this.duration;this.duration=t},tick:function(){var t;this.killed||(t=this.currentTime,this.currentTime=l.time()-this.startTime,this.playing&&(t<this.duration||0<this.activeSeekables.length)&&!this.hasParentTimeline()&&(this.update(),l.requestAnimationFrame(this.tick.bind(this))))},stepAnimation:function(t,e){this.currentTime;this.currentTime=a.clamp(0,this.duration,t),this.update(e)},update:function(t){this.renderDirty=!1,!this.silent&&this.executeCallbacks()&&(this.updateActiveSeekables(t),this.onUpdate&&this.onUpdate(),this.currentTime>=this.duration&&(this.playing=!1,t||null==this.onComplete||this.onComplete()))},executeCallbacks:function(){this.executingCallbacks=!0;var t=s.sortedLastIndex(this.callbacks,{startTime:this.lastCallbackTime},"startTime");if(t>=this.callbacks.length)return!(this.executingCallbacks=!1);for(var e=this.callbacks.slice(t),n=e.length,i=0,r=this.currentTime;!this.killed&&i<n&&e[i].startTime<=r;){if(this.lastCallbackTime=e[i].startTime,e[i].timelineCallback(),r>this.currentTime)return this.executingCallbacks=!1;r=this.currentTime,i++}return!(this.executingCallbacks=!1)},updateActiveSeekables:function(t){var e,n,i,r=this.activeSeekables.length-1;for(this.activeMutated=!1;0<=r&&!this.killed;)(!this.activeMutated||r<this.activeSeekables.length)&&(e=(i=this.activeSeekables[r]).seekable,n=i.startTime,e.stepAnimation(this.currentTime-n,t),this.currentTime>=n+e.totalTime()&&(!this.activeMutated||i===this.activeSeekables[r])&&this.activeSeekables.splice(r,1)),r--},kill:function(){this.killed||(this.killed=!0,null!=this.timelineData&&this.timelineData.parent.remove(this),this.timelineData=null,this.onUpdate=null,this.onComplete=null,this.labels=null,this.callbacks=null,this.activeSeekables=null,this.seekables.forEach(function(t){null!=t.seekable.kill&&t.seekable.kill()}),this.seekables=null)}}),e}.call(e,u,e,t))||(t.exports=n)},function(t,e,o){"use strict";var n;void 0===(n=function(t){var e=o(0),n=o(30),i=o(11),r=n.getClosestAncestor;return{resolvePath:function(t){return i.resolvePath(t,this.getClosestThisRef())},getClosestParentRef:e.partial(r,function(t){return t.abilities.resolveAsParent}),getClosestThisRef:e.partial(r,function(t){return t.abilities.resolveAsThis},!0),getClosestEventTarget:e.partial(r,function(t){return t.abilities.beEventTarget},!0),getChildren:function(){return this.objects().slice()}}}.call(e,o,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){function u(e,t){return c.mapValues(t,function(t){return e[t]})}var c=n(0),e=n(8),h=e.warn("shortEventable")("bindShortEvents"),f=e.backtick;return{componentWillMount:function(){return this.bindShortEvents(),this},bindShortEvents:function(){var t,e,n,i,r,o,s,a=Object.keys(this.shortEvents||{}),l=a.length;for(i=0;i<l;i++){if(e="self"===(t=a[i])?this:(s=void 0,(s=(r=this)[o=t])?c.isFunction(s)?s.call(r):s:r.get?r.get(o):r.props&&r.props[o]),n=u(this,this.shortEvents[t]),!e)return void h("Cannot listen to undefined object",f(t));this.listenTo(e,n)}return this},rebindShortEvents:function(){return this.stopListening(),this.bindShortEvents(),this}}}.call(e,n,e,t))||(t.exports=i)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var e={presentation:null,player:null};return Object.seal(e),e}.call(e,n,e,t))||(t.exports=i)},function(t,e,n){"use strict";var i;void 0===(i=function(t){function i(t,e){var n=document.createEvent("Event");n.initEvent("change",!0,!0),r.defaults(n,e),Object.defineProperty(n,a,{value:!0}),t.dispatchEvent(n),s("mouseup",t.fireChangeEvent)}var r=n(0),e=n(7),o=e.addDocumentListener,s=e.removeDocumentListener,a="allowTheChangeEventToPropagate";return{patchEvents:function(){o("change",function(t){var e,n;t[a]||"range"!==t.target.getAttribute("type")||(t.stopPropagation(),(e=document.createEvent("Event")).initEvent("input",!0,!0),r.defaults(e,t),t.target.dispatchEvent(e),s("mouseup",t.target.fireChangeEvent),n=r.partial(i,t.target),t.target.fireChangeEvent=n,o("mouseup",n))},!0)}}}.call(e,n,e,t))||(t.exports=i)},function(t,e,A){"use strict";var n;void 0===(n=function(t){var o=A(36),s=A(1),a=A(2),l=(A(3),A(67)),i=A(0);l=window.captionator;function u(t){return null!=t.captions()}function n(t){var e=t.isVideo(),n=e?t.props.playerProps.parent.get("isBaseLayer"):t.props.model.parent.get("isBaseLayer"),i=p.getCurrentWindowSlide().slideLayers().getTopMostLayer(),r=!!e&&t.props.slideObjectModel.getLayer()===i,o=t.props.slideVisible&&(t.props.objectVisible||n||r);return e?t.props.slideObjectModel.prop("HiddenByLayer")&&(o=!1):null!=i&&!0===n&&!0===i.get("pauseParent")&&(o=!1),o}function c(t){v=t,null!=d&&d.value()!==v?d.changeValue(v):a.trigger(s.captions.ENABLED,v)}function h(t){var e=t.getCueAsSource();return null!=e&&!i.isEmpty(e.trim())}var f,d,p,g={},v=!1,r=[],m='"Open Sans Full", Helvetica, Arial, sans-serif',y={};return{initialize:function(t,e,n,i){var r=e.getCaptionData().font;f=null!=r?['"',r,'", ',m].join(""):m,p=n,null!=i?(v=(d=i).value(),d.on("change:value",function(t){return c(t.value())}),v&&c(v)):v=!1,g={},t.filter(u).map(function(e){o.scriptSync("read",{id:"caption"},{url:e.captions(),success:function(t){null!=t&&(g[e.id]=l.parseCaptions(decodeURI(t.data)).filter(h))},error:function(t){console.error(t)}})}),a.on(s.slide.STARTED,this.checkHasCaptions),a.on(s.layer.PLAYING,this.checkHasCaptions),a.on(s.captions.ENABLE,c)},checkHasCaptions:function(){var t=p.getCurrentWindowSlide();if(null!=t&&!t.isMessageSlide()){var e=(y[t.id]||[]).some(n);a.trigger(e?s.captions.SHOW_BUTTON:s.captions.HIDE_BUTTON)}},isCaptionEnabled:function(){return v},mount:function(t,e){g[t.getAssetId()]&&(null==y[e]&&(y[e]=[]),y[e].push(t))},unmount:function(e,t){var n=i.findIndex(y[t],function(t){return t.getAssetId()===e.getAssetId()});-1!==n&&y[t].splice(n,1)},hasCaptions:function(t){return Array.isArray(t)||(t=[t]),t.some(function(t){return null!=g[t]})},getCaptions:function(t){return g[t]},getCaptionFont:function(){return f},excludeMedia:function(t){-1===r.indexOf(t)&&r.push(t)},includeMedia:function(t){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}.call(e,A,e,t))||(t.exports=n)},function(t,e,_){"use strict";var n;void 0===(n=function(t){function r(t){return t.match(/.{2}/g)}function e(t){return t.getViewGroupId()}var a,i,l,o,s=_(0),n=_(14),u=_(1),c=_(2),h=_(69),f=_(71),d=_(73),p=_(75),g=_(20),v=_(6),m=_(8),y=_(5),A=_(33),w=_(48),b=(m.warn("resumer"),{viewedSlides:[],totalViewedSlides:[],viewedActionLinks:{},courseStartTime:!1,hasOverlay:!1,initialize:function(t,e){return s.bindAll(this,"savePresentationData"),i=(a=t).resume()||{},this.resumeDfd=new v.Deferred,this.hasOverlay=e,this.resumeDfd.catch(function(){this.setViewedSlidesFromString("")}.bind(this)),A.setResumer(this),this.setProperLms(),c.on(u.player.CLOSING,this.closePlayer.bind(this)),this.isResumable()?this.informExternals().setListeners().createSceneResumeArray().setResumeDataCallback().initResumeData():(this.lmsDfd=(new v.Deferred).resolve().promise(),this.setListeners().checkAndReject()),this.resumeDfd.promise()},isResumable:function(){return!!o},setProperLms:function(){var t=a.get("scoring"),e=a.scorings()||[],n=a.get("courseId");return this.hasLms=!0,0===e.length&&null!=t&&e.push(t),0<e.length?window.globals.tinCanPresent||y.env.isRise?o=h.initialize(n,a.get("tincanVersion"),e,a,y.env.isRise):window.globals.aoSupport?o=f.initialize(n,e.first()):window.globals.lmsPresent?(o=d.initialize(n,e,window.globals.cmi5Present),this.hasLms=this.isResumable()):!0===i.flashresume?(this.hasLms=!1,o=p.getStorage()):A.shouldShimLMS()?(this.hasLms=!1,o=A.getLMSShim()):this.hasLms=!1:this.hasLms=!1,y.env.isWebObject&&null!=o&&(o=w.getResumer(o)),null==o||!this.hasLms||i.lmsresume&&!y.env.isRise||this.neverResumeLms(o),this},neverResumeLms:function(t){t.setItem=s.noop,t.getItem=function(){var t=new v.Deferred;return t.resolve(),t.promise()}},informExternals:function(){return o.setResumer(this),this},setListeners:function(){var t={};return t[u.slide.VIEWED]=this.slideViewed.bind(this),t[u.slideWindow.CLEAR_HISTORY]=this.clearResumeData.bind(this),t[u.actionlink.EVENT]=this.onActionLink.bind(this),this.hasLms&&(t[u.interaction.EVALUATED]=this.onInteractionEvaluated,t[u.quiz.COMPLETED]=o.quizComplete.bind(o),t[u.course.COMPLETED]=o.courseComplete.bind(o),t[u.course.MANUALLY_COMPLETED]=o.manualCourseComplete.bind(o),t[u.course.VIEWED]=o.viewedComplete.bind(o),t[u.status.UPDATED]=o.reportStatus.bind(o)),c.on(t),this},onInteractionEvaluated:function(t,e){t.hasScoring()&&o.interactionAnswered(t,e)},closePlayer:function(){a.isPreview()?c.trigger(u.preview.NOTIFY,"PREVIEW_CLOSE_WND"):null!=o&&s.isFunction(o.lmsUnload)?o.lmsUnload(!0):window.top.window.open("","_self","").close()},setWindowManager:function(t){l=t,A.setWindowManager(t),null!=this.lmsDfd&&this.lmsDfd.then(this.checkQuickResume.bind(this))},createSceneResumeArray:function(){return this.sceneResume=a.scenes().map(function(t,e){return g.EMPTY_CHUNK}),this},callForLightboxClose:function(){return c.trigger(u.window.CLOSING,i.window),this},resolveDeferred:function(){return this.resumeDfd.resolve(),c.trigger(u.resume.SET_DATA,this.totalViewedSlides,Object.keys(this.viewedActionLinks)),this},rejectDeferred:function(){return this.resumeDfd.reject(),c.trigger(u.resume.SET_DATA),this},check:function(e){(this.hasOverlay||y.theme.isClassic||!y.deviceView.isDesktop||this.mobileStartAsPrompt)&&(this.hasOverlay||y.deviceView.isPhone&&y.env.isDevicePreview||y.device.isMobile||!y.theme.isClassic&&!a.isPreview())?((y.deviceView.isMobile||y.theme.isUnified)&&DS.renderEngine.createMobileStartOverlay(),n.getAppCompletePromise().then(function(){var t=y.deviceView.isClassicDesktop?e:{rejectDeferred:e,mobileStartAsPrompt:this.mobileStartAsPrompt};c.trigger(u.request.START,t)}.bind(this))):e()},initResumeData:function(){this.lmsDfd=o.getItem(i.id).then(function(t){var e=!1;A.hasData&&(t=A.resumeData),null!=t&&t.length&&(e=this.processResumeData(t)),e?i.prompt&&!y.theme.isClassic?(this.mobileStartAsPrompt=!0,this.checkAndResolve()):this.checkApplyResumeData():this.checkAndReject()}.bind(this))},processResumeData:function(t){var e,n=!1,i=new g({fullString:t});return(e=i).remainder().length===e.getUnsignedValue()?(this.resumeData=i.reChunk(),n=!0):m.warn("processResumeData","the data is the incorrect length, resume not attempted"),n},checkApplyResumeData:function(){return i.prompt&&!A.hasData&&n.getAppCompletePromise().then(function(){c.trigger(u.request.NEXT_SLIDE,i.slideId,i.window)}),this},checkQuickResume:function(){null==this.resumeData||i.prompt&&!A.hasData||this.checkAndResolve()},applyResumeData:function(t){var e=t?"resolveDeferred":"rejectDeferred";this.callForLightboxClose(),this[e]()},slideViewed:function(t){t.get("trackViews")&&(this.addSlideToViewedList(t),this.hasLms&&o.slideViewed(t))},onActionLink:function(t){var e=s.findIndex(a.get("actionlinks"),{id:t});-1!==e&&(this.viewedActionLinks[t]=e)},addSlideToViewedList:function(t){this.viewedSlides.push(t),this.viewedSlides=s.uniq(this.viewedSlides),this.totalViewedSlides.push.apply(this.totalViewedSlides,this.viewedSlides),this.totalViewedSlides=s.uniq(this.totalViewedSlides)},getViewedSlidesString:function(){return this.totalViewedSlides.reduce(function(t,e){return t+g.toUnsignedString64(e.prop("Index")+1,2)},"")},setViewedSlidesFromString:function(t){if(t.length){var n=a.getFlatSlides(),e=a.get("scoring"),i=a.scorings();0===i.length&&null!=e&&i.push(e),this.totalViewedSlides=s(r(t)).map(g.fromUnsignedString64).map(function(e){var t=s.find(n,function(t){return t.prop("Index")===e-1});return null!=t&&(i.incrementViewed(t),t.restoreViewed()),t}.bind(this)).compact().value()}this.hasLms&&a.getDrawPromise().then(function(){o.setTotalSlides(a.getUniqueSlides().length)})},getUniqueSlides:function(t){return s.uniq(this[t],e)},getViewedActionLinksString:function(){return s.reduce(this.viewedActionLinks,function(t,e){return t+g.toUnsignedString64(e,2)},"")},setViewedActionLinksFromString:function(t){if(0<t.length){var i=a.get("actionlinks");null!=i&&(this.viewedActionLinks=r(t).map(g.fromUnsignedString64).reduce(function(t,e){var n=i[e];return null!=n&&(t[n.id]=e),t},{}))}},collectResumeData:function(){return[g.create(this.getViewedSlidesString()),g.create(l.getResumeData()),0<a.variables().length?g.create(a.variables().getResumeDataOrReturn("")):"",this.sceneResume.join(""),a.quizzes().getResumeData(),0<a.timers().length?a.timers().getResumeData():"",g.create(this.getViewedActionLinksString())].join("")},savePresentationData:function(t){if(!this.isResumable()||v.isPending(this.resumeDfd))return this;var e=l.getCurrentWindowSlide();this.saveSceneData(t),null!=e&&(this.resumeData=this.collectResumeData(),o.setItem(i.id,g.packData(this.resumeData)))},saveSceneData:function(t){null!=t&&(this.sceneResume[t.index()]=g.create(t.getResumeData()))},setResumeDataCallback:function(){return this.resumeDfd.then(this.setResumeData.bind(this)).catch(s.noop),this},setResumeData:function(){var t,e,n=this.resumeData.encodedString(),i=0<a.variables().length,r=this.resumeData.reChunk(),o=i?r.reChunk():null,s=i?o.reChunk():r.reChunk();i&&a.variables().setResumeData(o.encodedString()),t=this.setSceneResumeData(s),a.createSlideIndices(),this.setViewedSlidesFromString(n),e=a.quizzes().setResumeData(t),0<a.timers().length&&a.timers().setResumeData(e),this.setViewedActionLinksFromString(e.encodedString()),l.setResumeData(r.encodedString())},setSceneResumeData:function(n){return this.sceneResume=a.scenes().map(function(t){var e=n.encodedString();return t.setResumeData(e),n=n.reChunk(),g.create(e)}),n},courseStarted:function(t){this.courseStartTime=Date.now(),this.hasLms&&o.courseStarted(t)},getCourseTime:function(){return Date.now()-this.courseStartTime},clearResumeData:function(){a.scenes().forEach(function(t){t.clearResumeData()}),a.getUniqueSlides().forEach(function(t){t.clearResumeData()}),l.setResumeData(""),this.viewedSlides=[],this.totalViewedSlides=[],this.isResumable()&&o.setItem(i.id,"")}});return b.getUniqueViewedSlides=s.partial(b.getUniqueSlides,"viewedSlides"),b.getUniqueTotalSlides=s.partial(b.getUniqueSlides,"totalViewedSlides"),b.checkAndReject=s.partial(b.check,b.rejectDeferred.bind(b)),b.checkAndResolve=s.partial(b.check,b.resolveDeferred.bind(b)),b}.call(e,_,e,t))||(t.exports=n)},function(t,e,d){"use strict";var n;void 0===(n=function(t){var n=d(72),r=function(t,e,n){for(var i=0,r=t.length,o=3==arguments.length?n:t[i++];i<r;)o=e.call(null,o,t[i],++i,t);return o},i="undefined"==typeof window?this||self:window;function u(){}function c(t){switch({}.toString.call(t)){case"[object File]":case"[object Blob]":case"[object FormData]":return 1;default:return}}f.getXHR=function(){if(!(!i.XMLHttpRequest||i.location&&"file:"==i.location.protocol&&i.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){}return!1};var h="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function o(t){return t===Object(t)}function e(t){if(!o(t))return t;var e=[];for(var n in t)null!=t[n]&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")}function s(t){for(var e,n={},i=t.split("&"),r=0,o=i.length;r<o;++r)e=i[r].split("="),n[decodeURIComponent(e[0])]=decodeURIComponent(e[1]);return n}function a(t,e){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText,this.setStatusProperties(this.xhr.status),this.header=this.headers=function(t){var e,n,i,r,o=t.split(/\r?\n/),s={};o.pop();for(var a=0,l=o.length;a<l;++a)e=(n=o[a]).indexOf(":"),i=n.slice(0,e).toLowerCase(),r=h(n.slice(e+1)),s[i]=r;return s}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this.setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this.parseBody(this.text?this.text:this.xhr.response):null}function l(t,e){var i=this;n.call(this),this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new a(i)}catch(t){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t,i.callback(e)}if(i.emit("response",t),e)return i.callback(e,t);if(200<=t.status&&t.status<300||0===t.status)return i.callback(e,t);var n=new Error(t.statusText||"Unsuccessful HTTP response");n.original=e,n.response=t,n.status=t.status,i.callback(e||n,t)})}function f(t,e){return"function"==typeof e?new l("GET",t).end(e):1==arguments.length?new l("GET",t):new l(t,e)}return f.serializeObject=e,f.parseString=s,f.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},f.serialize={"application/x-www-form-urlencoded":e,"application/json":JSON.stringify},f.parse={"application/x-www-form-urlencoded":s,"application/json":JSON.parse},a.prototype.get=function(t){return this.header[t.toLowerCase()]},a.prototype.setHeaderProperties=function(t){var e=this.header["content-type"]||"";this.type=e.split(/ *; */).shift();var n=r(e.split(/ *; */),function(t,e){var n=e.split(/ *= */),i=n.shift(),r=n.shift();return i&&r&&(t[i]=r),t},{});for(var i in n)this[i]=n[i]},a.prototype.parseBody=function(t){var e=f.parse[this.type];return e&&t&&(t.length||t instanceof Object)?e(t):null},a.prototype.setStatusProperties=function(t){1223===t&&(t=204);var e=t/100|0;this.status=t,this.statusType=e,this.info=1==e,this.ok=2==e,this.clientError=4==e,this.serverError=5==e,this.error=(4==e||5==e)&&this.toError(),this.accepted=202==t,this.noContent=204==t,this.badRequest=400==t,this.unauthorized=401==t,this.notAcceptable=406==t,this.notFound=404==t,this.forbidden=403==t},a.prototype.toError=function(){var t=this.req,e=t.method,n=t.url,i="cannot "+e+" "+n+" ("+this.status+")",r=new Error(i);return r.status=this.status,r.method=e,r.url=n,r},f.Response=a,n(l.prototype),l.prototype.use=function(t){return t(this),this},l.prototype.timeout=function(t){return this._timeout=t,this},l.prototype.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},l.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},l.prototype.set=function(t,e){if(o(t)){for(var n in t)this.set(n,t[n]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},l.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},l.prototype.getHeader=function(t){return this._header[t.toLowerCase()]},l.prototype.type=function(t){return this.set("Content-Type",f.types[t]||t),this},l.prototype.accept=function(t){return this.set("Accept",f.types[t]||t),this},l.prototype.auth=function(t,e){var n=btoa(t+":"+e);return this.set("Authorization","Basic "+n),this},l.prototype.query=function(t){return"string"!=typeof t&&(t=e(t)),t&&this._query.push(t),this},l.prototype.field=function(t,e){return this._formData||(this._formData=new i.FormData),this._formData.append(t,e),this},l.prototype.attach=function(t,e,n){return this._formData||(this._formData=new i.FormData),this._formData.append(t,e,n),this},l.prototype.send=function(t){var e=o(t),n=this.getHeader("Content-Type");if(e&&o(this._data))for(var i in t)this._data[i]=t[i];else"string"==typeof t?(n||this.type("form"),n=this.getHeader("Content-Type"),this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+t:t:(this._data||"")+t):this._data=t;return!e||c(t)||n||this.type("json"),this},l.prototype.callback=function(t,e){var n=this._callback;this.clearTimeout(),n(t,e)},l.prototype.crossDomainError=function(){var t=new Error("Origin is not allowed by Access-Control-Allow-Origin");t.crossDomain=!0,this.callback(t)},l.prototype.timeoutError=function(){var t=this._timeout,e=new Error("timeout of "+t+"ms exceeded");e.timeout=t,this.callback(e)},l.prototype.withCredentials=function(){return this._withCredentials=!0,this},l.prototype.end=function(t){var e=this,n=this.xhr=f.getXHR(),i=this._query.join("&"),r=this._timeout,o=this._formData||this._data;this._callback=t||u,n.onreadystatechange=function(){if(4==n.readyState){try{n.status}catch(t){if(e.timedout)return e.timeoutError();if(e.aborted)return;return e.crossDomainError()}e.emit("end")}};function s(t){0<t.total&&(t.percent=t.loaded/t.total*100),e.emit("progress",t)}this.hasListeners("progress")&&(n.onprogress=s);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=s)}catch(t){}if(r&&!this._timer&&(this._timer=setTimeout(function(){e.timedout=!0,e.abort()},r)),i&&(i=f.serializeObject(i),this.url+=~this.url.indexOf("?")?"&"+i:"?"+i),n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof o&&!c(o)){var a=f.serialize[this.getHeader("Content-Type")];a&&(o=a(o))}for(var l in this.header)null!=this.header[l]&&n.setRequestHeader(l,this.header[l]);return this.emit("request",this),n.send(o),this},f.Request=l,f.get=function(t,e,n){var i=f("GET",t);return"function"==typeof e&&(n=e,e=null),e&&i.query(e),n&&i.end(n),i},f.head=function(t,e,n){var i=f("HEAD",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},f.del=function(t,e){var n=f("DELETE",t);return e&&n.end(e),n},f.patch=function(t,e,n){var i=f("PATCH",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},f.post=function(t,e,n){var i=f("POST",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},f.put=function(t,e,n){var i=f("PUT",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},f}.call(e,d,e,t))||(t.exports=n)},function(t,e,m){"use strict";var n;void 0===(n=function(t){var e,i,r=m(0),n=m(5),o=m(3),s=m(8),a=m(1),l=m(2),u=m(6),c=m(49),h=new u.Deferred,f=s.throwError("webObjectHelper"),d=!1;l.once(a.data.INITIALIZED,function(){d=!0}),h.catch(function(t){return t});function p(){return h.then(function(){return i.request("getResumeData").then(function(t){return t}).catch(f.bind(this,"receiveResumeData","Cannot receive resume data from web object host"))})}var g={setVolume:function(t){l.trigger(a.volume.CHANGED,t)},executeFilteredPlayerEvent:function(t){if(!d)throw new Error("data is not yet initialized");e.executeFilteredPlayerEvent(v(t),"onhostevent")}},v=function(e){return function(t){return t.eventname===e||t.eventName===e}};return{initialize:function(t){e=t,n.env.isWebObject?((i=new c(g,o.queryStringToObj().id)).ready().then(h.resolve),i.connect(window.parent)):h.reject()},tearDown:function(){null!=i&&i.tearDown()},triggerHostEvent:function(t){if(void 0===i)throw Error("triggerHostEvent - postMessaging has not been initialized");return i.request("triggerHostEvent",t)},getResumer:function(n){return r.extend({},n,{getItem:p,setItem:function(t,e){return function(t){i.request("setResumeData",t).catch(f.bind(this,"receiveResumeData","Cannot receive resume data from web object host"))}(e),n.setItem.apply(n,arguments)}})}}}.call(e,m,e,t))||(t.exports=n)},function(t,e,i){"use strict";var n;void 0===(n=function(t){var g=i(6),v=i(8),e=i(7),n=e.addWindowListener,m=e.removeWindowListener,y={},A="request",w="response",r=[A,w];n("message",function(t){var e,n=v.throwError("PostMessaging");if(null!=t.data){try{e=JSON.parse(t.data)}catch(t){return}var i;if(null!=(i=e)&&null!=i.id&&null!=i.type&&-1!==r.indexOf(i.type))null!=y[e.connectionId]?y[e.connectionId](e,t):n("No listener exists for connectionId: ",e.connectionId)}},!1);return function(o,t){function s(t,e,n,i,r){var o=++f,s=new g.Deferred,a={type:e,connectionId:p};return h[o]=s,e===A?(a.method=n,a.params=i,a.id=o):(a.id=n,a.data=i,a.status=null!=r?r:"SUCCESS"),t.postMessage(JSON.stringify(a),"*"),s.always(function(){delete h[o]}).catch(function(t){delete h[o],c(t.message)}),s.promise()}function a(i){n=function(t,e){return d.then(function(){return s(i,A,t,e)})},l=function(t,e,n){return d.then(function(){return s(i,w,t,e,n)})}}function e(e,t){var n,i,r;if(e.type===A)if("connect"===e.method)a(t.source),s(t.source,w,e.id),d.resolve();else if(null!=o[e.method])try{i=o[e.method].apply(void 0,Array.isArray(e.params)?e.params:[e.params]),null!=(r=i)&&"function"==typeof r.then?i.then(function(t){l(e.id,t)}):l(e.id,i)}catch(t){l(e.id,t.message,"ERROR")}else l(e.id,["No handler for this method ",e.method].join(""),"ERROR");else{if(null!=(n=h[e.id]))return void("SUCCESS"===e.status?n.resolve(e.data,t):n.reject(e.data,t));l(e.id,["No pending requests for this response id ",e.id].join(""),"ERROR")}}var n,l,i,r,u,c=v.throwError("PostMessaging"),h={},f=0,d=new g.Deferred,p=t;u=e,y[r=p]=u,i=function(){delete y[r]},this.ready=function(){return d},this.connect=function(t){return a(t),s(t,A,"connect").then(d.resolve),d},this.request=function(){if(null!=n)return n.apply(void 0,arguments);c("request","A destination iframe needs to be connected before sending requests to it.  Try using `connect` first.")},this.tearDown=function(){i(),m("message",e,!1)}}}.call(e,i,e,t))||(t.exports=n)},function(t,e,s){"use strict";var n;void 0===(n=function(t){var r=s(0),e=s(9),n=s(19),i=(s(2),s(3)),o=s(11);return r.extend({initialize:function(){this.addSubscriptions()},ensureSlideIsSlide:function(t){return t.isScene&&(t=this.getStartingSlide(t)),t.isSlideDraw&&(t=i.getPath(t.slides(),"first")),t},getSlide:function(t,e){var n=o.isRelativePath(t)?e:DS.presentation,i=o.resolvePath(t,n,{optional:!0});return null!=i&&(i=this.ensureSlideIsSlide(i)),i},getRef:function(t){var e=DS.presentation.slideMap().slideRefs();return e.get(t.fullId())||e.get(t.id)},getStartingSlide:function(t){return o.resolvePath(t.startingSlide(),DS.presentation)},getEntrypoint:function(){return DS.presentation.entryPoint()},loadSlide:function(t,e){var n=r.isString(t)?this.getSlide(t,e):t,i=n.load(this.getRef(n));return DS.presentation.slideMap().setCurrentSlide(n.absoluteId),i},getSlideFromIndices:function(t,e){return DS.presentation.scenes().at(t).slides().at(e)},getDrawFromIndices:function(t,e,n){return DS.presentation.scenes().at(e).slidedraws().at(t).slides().at(n)}},e.Events,n)}.call(e,s,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var i=[],r={frame:!1,slides:!1},o={AccessibleText:"accTextEnabled"};return{register:function(t,e){var n=this;r[t]||null==e||i.push.apply(i,e),r[t]=!0,_.every(r,function(t){return t})&&(i.forEach(function(t){n[o[t]]=!0}),Object.freeze(this))},hasFlag:function(t){return i.includes(t)},constants:{SLIDE_ACCESSIBILITY:"slideAccessibility",MULTIPLE_QUIZ_TRACKING:"MultipleQuizTracking",TEXT_STYLE_HYPERLINKS:"TextStyleHyperlinks"}}}.call(e,n,e,t))||(t.exports=i)},function(t,e,o){"use strict";var n;function p(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}void 0===(n=function(t){function s(t){var e,n,i,r,o,s,a,l=t.keyCode,u=t.altKey,c=t.shiftKey,h=t.ctrlKey,f=String.fromCharCode(l);return{LastKeyCodeString:(n=(e=t).keyCode,i=e.altKey,r=e.shiftKey,o=e.ctrlKey,s=String.fromCharCode(n),a=[].concat(p(o?["[CTRL] + "]:[]),p(r?["[SHIFT] + "]:[]),p(i?["[ALT] + "]:[])),48<=n&&n<=90?a.push(s):(a.push("["),null!=d[n]?a.push(d[n]):a.push("#"+n),a.push("]")),a.join("")),LastKeyCode:l,LastKeyValue:f,LastKeyCtrl:h,LastKeyShift:c,LastKeyAlt:u}}var a=o(0),l=o(4),n=o(7).addBodyListener,r=o(17),e=["LastKeyCodeString","LastKeyCode","LastKeyValue","LastKeyCtrl","LastKeyShift","LastKeyAlt"],d=a.invert(l.keys),i={isShowFocus:!1,lastKeyPressTargets:[],initialize:function(){var e=this;n("mousedown",function(t){e.isShowFocus=!1,document.body.classList.remove("show-focus")},!0),n("keyup",function(t){e.isTabKey(t.which)&&!e.isShowFocus&&(e.isShowFocus=!0,document.body.classList.add("show-focus")),e.clearLastKey()},!0)},isKey:function(t,e){return t===e},silenceFocus:function(){this.showFocus=!0},returnFocus:function(){this.showFocus=!1},keyPressHandlerExists:function(t){var e=r.getCurrentWindowSlide();if(null==e)return!1;var n=e.slideLayers().getTopMostLayer()||e.getBaseLayer(),i=e.slideLayers().activeLayers.slice(0);return this.handlerExists(n,t,i)},getLayerStack:function(t){var e=r.getCurrentWindowSlide(),n=null!=e?e.slideLayers().activeLayers.slice(0):[],i=a.findIndex(n,t);return 0<i&&(n.length=i),n},getParentFromLayerstack:function(t,e){var n=null;if(e=e||this.getLayerStack(t),t.isSlideObject){if(null==(n=t.getClosestAncestor(function(t){return t.isSlideObject}))){var i=t.getLayer();i.isBaseLayer()?e=[]:e.length=a.findIndex(e,i)+1}}else if(null==t.modal||!t.modal()){for(;null!=(n=e.pop())&&!n.isOpen;);null==n&&(n=t.getClosestAncestor(function(t){return t.isSlide}))}return{parent:n,layerStack:e}},handlerExists:function(t,e,n){if(null!=t.getFilteredPlayerEvent(function(t){return t.keycode===e.keyCode&&t.shift===e.shiftKey&&t.ctrl===e.ctrlKey&&t.alt===e.altKey},"onkeypress").events.first())return!0;var i=this.getParentFromLayerstack(t,n),r=i.parent,o=i.layerStack;return null!=r&&this.handlerExists(r,e,o)},executeKeypressEvent:function(t,e,n){this.lastKeyPressTargets.push(t),a.contains([l.keys.CONTROL,l.keys.SHIFT,l.keys.ALT],e.keyCode)||(t.prop(s(e)),t.executePlayerEvent("onanykeypress"));var i=this.getParentFromLayerstack(t,n),r=i.parent,o=i.layerStack;t.executeFilteredPlayerEvent(function(t){return t.keycode===e.keyCode&&t.shift===e.shiftKey&&t.ctrl===e.ctrlKey&&t.alt===e.altKey},"onkeypress"),null!=r&&this.executeKeypressEvent(r,e,o)},clearLastKey:function(){this.lastKeyPressTargets.forEach(function(t){t.resetSpecifiedProps(e)}),this.lastKeyPressTargets=[]},isReturnKey:function(t){return i.isKey(t,l.keys.ENTER)},isSpaceKey:function(t){return i.isKey(t,l.keys.SPACE)},isActionKey:function(t){return i.isReturnKey(t)||i.isSpaceKey(t)},isRightKey:function(t){return i.isKey(t,l.keys.RIGHT)},isDownKey:function(t){return i.isKey(t,l.keys.DOWN)},isPageDownKey:function(t){return i.isKey(t,l.keys.PAGE_DOWN)},isDownishKey:function(t){return i.isLeftKey(t)||i.isDownKey(t)},isRtlDownishKey:function(t){return i.isRightKey(t)||i.isDownKey(t)},isLeftKey:function(t){return i.isKey(t,l.keys.LEFT)},isUpKey:function(t){return i.isKey(t,l.keys.UP)},isPageUpKey:function(t){return i.isKey(t,l.keys.PAGE_UP)},isUpishKey:function(t){return i.isRightKey(t)||i.isUpKey(t)},isRtlUpishKey:function(t){return i.isLeftKey(t)||i.isUpKey(t)},isHomeKey:function(t){return i.isKey(t,l.keys.HOME)},isEndKey:function(t){return i.isKey(t,l.keys.END)},isTabKey:function(t){return i.isKey(t,l.keys.TAB)},isSeekKey:function(t){return i.isUpishKey(t)||i.isDownishKey(t)||i.isHomeKey(t)||i.isEndKey(t)||i.isPageUpKey(t)||i.isPageDownKey(t)}};return i}.call(e,o,e,t))||(t.exports=n)},function(t,e,b){"use strict";var n;void 0===(n=function(t){function e(t){return u.hasClass(t,"is-scrollable")||u.hasClass(t,"scrollarea-scrollbar")}function n(t,e){return!!e(t)||!!u.closest(t,e)}function i(t){return t.scrollHeight>t.offsetHeight||u.hasClass(t,"scrollarea-scrollbar")}function r(t){return t.hasAttribute("data-double-click")}function o(t){return u.hasClass(t,"eventable")}function s(t,o){var s,a;return t.objects().forEach(function(t,e){var n,i=null!=o?o.refs["obj"+e]:t.currView,r=i&&i.getFocusTarget();null!=r&&(n=r.props.model.prop("tabIndex"),r.isFocusable()&&r.isVisible()&&(null==a||n<a)&&(a=n,s=i))}),s}var a=b(0),l=b(3),u=b(10),c=b(5),h=a.partialRight(u.hasClass,"draggable"),f=a.partialRight(u.hasClass,"hidden"),d=a.partialRight(u.hasClass,"rotatable"),p=a.partialRight(u.hasClass,"slideable-parent"),g=a.partialRight(n,function(t){return e(t)&&i(t)}),v=a.partialRight(n,function(t){return d(t)}),m=a.partialRight(n,function(t){return f(t)}),y=a.partialRight(n,function(t){return h(t)}),A=a.partialRight(n,function(t){return p(t)}),w=a.partialRight(n,function(t){return o(t)});return{isRelated:n,needsToScroll:i,isScrollable:e,isScrollRelated:function(t){return(e(t)?i:g)(t)},isDraggable:h,isDraggableRelated:y,isEventable:o,isEventableRelated:w,isRotatable:d,isRotatableRelated:v,isSlideableRelated:A,isDoubleClickRelated:function(t){return r(t)||n(t,r)},activeMobileMenuItem:function(t,e){c.deviceView.isClassicMobile&&(0===l.getPath(t,"length",0)?document.body.classList.add(e):document.body.classList.remove(e))},isMobileSlide:function(t){return c.deviceView.isMobile&&!t.props.isMessageWindow},getGroupFocusTarget:function(t){var e=t.props.parent;if(!c.deviceView.isMobile)return e.isFocusable()?e:s(t.props.model,t)},removeEngageBorder:function(){var t=u.getParentFrame();null!=t&&t.classList.remove("webobject-engage")},getChildAtLowestTabIndex:s,isHiddenRelated:m}}.call(e,b,e,t))||(t.exports=n)},function(t,e){t.exports=THREE},function(t,e,n){"use strict";var i,r;i=[n(56)],void 0===(r=function(){Promise.resolve().then(function(){var t=[n(0),n(57),n(36),n(61),n(12)];(function(ut){Promise.resolve().then(function(){var t=[n(7),n(62),n(27),n(40),n(14),n(38),n(65),n(29),n(45),n(4),n(31),n(39),n(5),n(10),n(8),n(1),n(37),n(51),n(76),n(77),n(52),n(78),n(2),n(43),n(79),n(80),n(44),n(81),n(13),n(82),n(83),n(53),n(50),n(32),n(16),n(84),n(28),n(85),n(91),n(3),n(15),n(6),n(11),n(48),n(92),n(17),n(23),n(49),n(30),n(41),n(42),n(19),n(20),n(33),n(46),n(47),n(9),n(93),n(22),n(18),n(24),n(25),n(26)];(function(t,e,n,i,r,o,s,a,l,u,c,h,f,d,p,g,v,m,y,A,w,b,_,S,T,x,E,C,k,O,R,P,I,L,M,D,N,j,V,F,H,U,W,B,q,z,G,X,Y,J,K,$,Q,Z,tt,et,nt){var it=f.deviceView.isMobile?"MOBILE":"DESKTOP",rt=u.frameLocations[it],ot=u.cssLocations[it],st=void 0;if(!window.globals.AUTHORING_HOST_MODE){st=function(){return DS.loadScript(u.slideLocation)},(f.deviceView.isMobile||f.theme.isUnified)&&(window.globals.scale="noscale"),window.globals.HAS_SLIDE&&window.globals.HAS_FRAME||x.initialize(window.globals.HAS_SLIDE);var at=document.createElement("link");at.type="text/css",at.href=ot,at.rel="stylesheet",at.dataset.noprefix=!0,document.head.appendChild(at)}if(window.DS=window.DS||{},Object.assign(window.DS,{_:ut,globalEventHelper:t,analyticsHelper:e,animationClock:n,AnimationTimeline:i,appState:r,audioContext:o,automation:s,BaseModel:a,captionsManager:l,constants:u,cssPrefix:c,debug:h,detection:f,dom:d,errorManager:p,events:g,fileProtocolOverrides:v,flagManager:m,focusManager:y,fontManager:A,keyManager:w,mobileChromeKiller:b,pubSub:_,playerGlobals:S,previewHelper:T,rangeSliders:E,requestAnimationFrame:C,scaler:k,shortcutManager:O,slideNumberManager:R,slideObjectUtils:P,slidesController:I,stringTabler:L,svgUtils:M,tabFocusBox:D,TimelineLite:N,ThreeSixtyImage:j,TransMatrix:V,TweenLite:TweenLite,utils:F,vendorOverrides:H,vow:U,resolver:W,webObjectHelper:B,windowOpen:q,windowManager:z,mixer:G,PostMessaging:X,ancestral:Y,resolveable:J,shortEventable:K,subscribable:$,Chunk:Q,courseStateHelper:Z,resumer:tt,superagent:et,Backbone:nt,clientHeight:document.body.clientHeight,clientWidth:document.body.clientWidth,loadScript:function(t,e){var n=document.createElement("script");n.src=t,n.onload=e,document.head.appendChild(n)}}),!window.globals.AUTHORING_HOST_MODE){var lt=function(){_.once(g.ds.PRESO_LOADED,function(t){_.trigger(g.ds.PRESO_READY,DS.presentation,u.els.PRESO),W.initialize(),I.initialize(DS.presentation),s.initialize(I,DS.presentation),w.initialize(),z.initialize(),q.initialize(DS.presentation),B.initialize(DS.presentation),e.initialize(DS.presentation),h.initialize(window.globals.HAS_SLIDE?DS.presentation:void 0,window.globals.HAS_FRAME?DS.frame:void 0),T.initialize(DS.frame,DS.presentation,t),_.trigger(g.app.COMPLETE)})};_.once(g.ds.FRAME_DATA_LOADED,function(t){DS.frame=t,lt(),window.globals.HAS_SLIDE?st():(DS.playerGlobals.presentation=DS.presentation,k.initialize(),_.trigger(g.ds.PRESO_LOADED),DS.frameModel.frame.controlOptions.controls.closed_captions&&_.trigger(g.captions.SHOW_BUTTON))}),window.globals.HAS_FRAME?DS.loadScript(rt):(lt(),st(),document.querySelector("body > .slide-loader").style.display="none")}}).apply(null,t)}).catch(n.oe)}).apply(null,t)}).catch(n.oe)}.apply(e,i))||(t.exports=r)},function(t,e,n){(function(i){!function r(o,s,a){function l(e,t){if(!s[e]){if(!o[e]){if(0,u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var i=s[e]={exports:{}};o[e][0].call(i.exports,function(t){return l(o[e][1][t]||t)},i,i.exports,r,o,s,a)}return s[e].exports}for(var u=!1,t=0;t<a.length;t++)l(a[t]);return l}({1:[function(n,t,e){(function(t){"use strict";function e(t,e,n){t[e]||Object.defineProperty(t,e,{writable:!0,configurable:!0,value:n})}if(n(327),n(328),n(2),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&e(Array,t,Function.call.bind([][t]))})}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2,327:327,328:328}],2:[function(t,e,n){t(130),e.exports=t(23).RegExp.escape},{130:130,23:23}],3:[function(t,e,n){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],4:[function(t,e,n){var i=t(18);e.exports=function(t,e){if("number"!=typeof t&&"Number"!=i(t))throw TypeError(e);return+t}},{18:18}],5:[function(t,e,n){var i=t(128)("unscopables"),r=Array.prototype;null==r[i]&&t(42)(r,i,{}),e.exports=function(t){r[i][t]=!0}},{128:128,42:42}],6:[function(t,e,n){e.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},{}],7:[function(t,e,n){var i=t(51);e.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},{51:51}],8:[function(t,e,n){"use strict";var c=t(119),h=t(114),f=t(118);e.exports=[].copyWithin||function(t,e,n){var i=c(this),r=f(i.length),o=h(t,r),s=h(e,r),a=2<arguments.length?n:void 0,l=Math.min((void 0===a?r:h(a,r))-s,r-o),u=1;for(s<o&&o<s+l&&(u=-1,s+=l-1,o+=l-1);0<l--;)s in i?i[o]=i[s]:delete i[o],o+=u,s+=u;return i}},{114:114,118:118,119:119}],9:[function(t,e,n){"use strict";var u=t(119),c=t(114),h=t(118);e.exports=function(t,e,n){for(var i=u(this),r=h(i.length),o=arguments.length,s=c(1<o?e:void 0,r),a=2<o?n:void 0,l=void 0===a?r:c(a,r);s<l;)i[s++]=t;return i}},{114:114,118:118,119:119}],10:[function(t,e,n){var i=t(39);e.exports=function(t,e){var n=[];return i(t,!1,n.push,n,e),n}},{39:39}],11:[function(t,e,n){var l=t(117),u=t(118),c=t(114);e.exports=function(a){return function(t,e,n){var i,r=l(t),o=u(r.length),s=c(n,o);if(a&&e!=e){for(;s<o;)if((i=r[s++])!=i)return!0}else for(;s<o;s++)if((a||s in r)&&r[s]===e)return a||s||0;return!a&&-1}}},{114:114,117:117,118:118}],12:[function(t,e,n){var A=t(25),w=t(47),b=t(119),_=t(118),i=t(15);e.exports=function(h,t){var f=1==h,d=2==h,p=3==h,g=4==h,v=6==h,m=5==h||v,y=t||i;return function(t,e,n){for(var i,r,o=b(t),s=w(o),a=A(e,n,3),l=_(s.length),u=0,c=f?y(t,l):d?y(t,0):void 0;u<l;u++)if((m||u in s)&&(r=a(i=s[u],u,o),h))if(f)c[u]=r;else if(r)switch(h){case 3:return!0;case 5:return i;case 6:return u;case 2:c.push(i)}else if(g)return!1;return v?-1:p||g?g:c}}},{118:118,119:119,15:15,25:25,47:47}],13:[function(t,e,n){var c=t(3),h=t(119),f=t(47),d=t(118);e.exports=function(t,e,n,i,r){c(e);var o=h(t),s=f(o),a=d(o.length),l=r?a-1:0,u=r?-1:1;if(n<2)for(;;){if(l in s){i=s[l],l+=u;break}if(l+=u,r?l<0:a<=l)throw TypeError("Reduce of empty array with no initial value")}for(;r?0<=l:l<a;l+=u)l in s&&(i=e(i,s[l],l,o));return i}},{118:118,119:119,3:3,47:47}],14:[function(t,e,n){var i=t(51),r=t(49),o=t(128)("species");e.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},{128:128,49:49,51:51}],15:[function(t,e,n){var i=t(14);e.exports=function(t,e){return new(i(t))(e)}},{14:14}],16:[function(t,e,n){"use strict";var o=t(3),s=t(51),a=t(46),l=[].slice,u={};e.exports=Function.bind||function(e){var n=o(this),i=l.call(arguments,1),r=function(){var t=i.concat(l.call(arguments));return this instanceof r?function(t,e,n){if(!(e in u)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";u[e]=Function("F,a","return new F("+i.join(",")+")")}return u[e](t,n)}(n,t.length,t):a(n,t,e)};return s(n.prototype)&&(r.prototype=n.prototype),r}},{3:3,46:46,51:51}],17:[function(t,e,n){var r=t(18),o=t(128)("toStringTag"),s="Arguments"==r(function(){return arguments}());e.exports=function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:s?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},{128:128,18:18}],18:[function(t,e,n){var i={}.toString;e.exports=function(t){return i.call(t).slice(8,-1)}},{}],19:[function(t,e,n){"use strict";function s(t,e){var n,i=p(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n}var a=t(72).f,l=t(71),u=t(93),c=t(25),h=t(6),f=t(39),i=t(55),r=t(57),o=t(100),d=t(29),p=t(66).fastKey,g=t(125),v=d?"_s":"size";e.exports={getConstructor:function(t,o,n,i){var r=t(function(t,e){h(t,r,o,"_i"),t._t=o,t._i=l(null),t._f=void 0,t._l=void 0,t[v]=0,null!=e&&f(e,n,t[i],t)});return u(r.prototype,{clear:function(){for(var t=g(this,o),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=g(this,o),n=s(e,t);if(n){var i=n.n,r=n.p;delete e._i[n.i],n.r=!0,r&&(r.n=i),i&&(i.p=r),e._f==n&&(e._f=i),e._l==n&&(e._l=r),e[v]--}return!!n},forEach:function(t,e){g(this,o);for(var n,i=c(t,1<arguments.length?e:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!s(g(this,o),t)}}),d&&a(r.prototype,"size",{get:function(){return g(this,o)[v]}}),r},def:function(t,e,n){var i,r,o=s(t,e);return o?o.v=n:(t._l=o={i:r=p(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[v]++,"F"!==r&&(t._i[r]=o)),t},getEntry:s,setStrong:function(t,n,e){i(t,n,function(t,e){this._t=g(t,n),this._k=e,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?r(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,r(1))},e?"entries":"values",!e,!0),o(n)}}},{100:100,125:125,25:25,29:29,39:39,55:55,57:57,6:6,66:66,71:71,72:72,93:93}],20:[function(t,e,n){var i=t(17),r=t(10);e.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},{10:10,17:17}],21:[function(t,e,n){"use strict";function s(t){return t._l||(t._l=new m)}function i(t,e){return p(t.a,function(t){return t[0]===e})}var a=t(93),l=t(66).getWeak,r=t(7),u=t(51),c=t(6),h=t(39),o=t(12),f=t(41),d=t(125),p=o(5),g=o(6),v=0,m=function(){this.a=[]};m.prototype={get:function(t){var e=i(this,t);if(e)return e[1]},has:function(t){return!!i(this,t)},set:function(t,e){var n=i(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(e){var t=g(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(t,n,i,r){var o=t(function(t,e){c(t,o,n,"_i"),t._t=n,t._i=v++,t._l=void 0,null!=e&&h(e,i,t[r],t)});return a(o.prototype,{delete:function(t){if(!u(t))return!1;var e=l(t);return!0===e?s(d(this,n)).delete(t):e&&f(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=l(t);return!0===e?s(d(this,n)).has(t):e&&f(e,this._i)}}),o},def:function(t,e,n){var i=l(r(e),!0);return!0===i?s(t).set(e,n):i[t._i]=n,t},ufstore:s}},{12:12,125:125,39:39,41:41,51:51,6:6,66:66,7:7,93:93}],22:[function(t,e,n){"use strict";var m=t(40),y=t(33),A=t(94),w=t(93),b=t(66),_=t(39),S=t(6),T=t(51),x=t(35),E=t(56),C=t(101),k=t(45);e.exports=function(i,t,e,n,r,o){function s(t){var n=c[t];A(c,t,"delete"==t?function(t){return!(o&&!T(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!T(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!T(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})}var a=m[i],l=a,u=r?"set":"add",c=l&&l.prototype,h={};if("function"==typeof l&&(o||c.forEach&&!x(function(){(new l).entries().next()}))){var f=new l,d=f[u](o?{}:-0,1)!=f,p=x(function(){f.has(1)}),g=E(function(t){new l(t)}),v=!o&&x(function(){for(var t=new l,e=5;e--;)t[u](e,e);return!t.has(-0)});g||(((l=t(function(t,e){S(t,l,i);var n=k(new a,t,l);return null!=e&&_(e,r,n[u],n),n})).prototype=c).constructor=l),(p||v)&&(s("delete"),s("has"),r&&s("get")),(v||d)&&s(u),o&&c.clear&&delete c.clear}else l=n.getConstructor(t,i,r,u),w(l.prototype,e),b.NEED=!0;return C(l,i),h[i]=l,y(y.G+y.W+y.F*(l!=a),h),o||n.setStrong(l,i,r),l}},{101:101,33:33,35:35,39:39,40:40,45:45,51:51,56:56,6:6,66:66,93:93,94:94}],23:[function(t,e,n){var i=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=i)},{}],24:[function(t,e,n){"use strict";var i=t(72),r=t(92);e.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},{72:72,92:92}],25:[function(t,e,n){var o=t(3);e.exports=function(i,r,t){if(o(i),void 0===r)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,arguments)}}},{3:3}],26:[function(t,e,n){"use strict";function i(t){return 9<t?t:"0"+t}var r=t(35),o=Date.prototype.getTime,s=Date.prototype.toISOString;e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=s.call(new Date(-5e13-1))})||!r(function(){s.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":9999<t?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"."+(99<e?e:"0"+i(e))+"Z"}:s},{35:35}],27:[function(t,e,n){"use strict";var i=t(7),r=t(120);e.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(i(this),"number"!=t)}},{120:120,7:7}],28:[function(t,e,n){e.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},{}],29:[function(t,e,n){e.exports=!t(35)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{35:35}],30:[function(t,e,n){var i=t(51),r=t(40).document,o=i(r)&&i(r.createElement);e.exports=function(t){return o?r.createElement(t):{}}},{40:40,51:51}],31:[function(t,e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],32:[function(t,e,n){var a=t(81),l=t(78),u=t(82);e.exports=function(t){var e=a(t),n=l.f;if(n)for(var i,r=n(t),o=u.f,s=0;r.length>s;)o.call(t,i=r[s++])&&e.push(i);return e}},{78:78,81:81,82:82}],33:[function(t,e,n){var g=t(40),v=t(23),m=t(42),y=t(94),A=t(25),w=function(t,e,n){var i,r,o,s,a=t&w.F,l=t&w.G,u=t&w.S,c=t&w.P,h=t&w.B,f=l?g:u?g[e]||(g[e]={}):(g[e]||{}).prototype,d=l?v:v[e]||(v[e]={}),p=d.prototype||(d.prototype={});for(i in l&&(n=e),n)o=((r=!a&&f&&void 0!==f[i])?f:n)[i],s=h&&r?A(o,g):c&&"function"==typeof o?A(Function.call,o):o,f&&y(f,i,o,t&w.U),d[i]!=o&&m(d,i,s),c&&p[i]!=o&&(p[i]=o)};g.core=v,w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,e.exports=w},{23:23,25:25,40:40,42:42,94:94}],34:[function(t,e,n){var i=t(128)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[i]=!1,!"/./"[e](n)}catch(e){}}return!0}},{128:128}],35:[function(t,e,n){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],36:[function(t,e,n){"use strict";var a=t(42),l=t(94),u=t(35),c=t(28),h=t(128);e.exports=function(e,t,n){var i=h(e),r=n(c,i,""[e]),o=r[0],s=r[1];u(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})&&(l(String.prototype,e,o),a(RegExp.prototype,i,2==t?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)}))}},{128:128,28:28,35:35,42:42,94:94}],37:[function(t,e,n){"use strict";var i=t(7);e.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{7:7}],38:[function(t,e,n){"use strict";var p=t(49),g=t(51),v=t(118),m=t(25),y=t(128)("isConcatSpreadable");e.exports=function t(e,n,i,r,o,s,a,l){for(var u,c,h=o,f=0,d=!!a&&m(a,l,3);f<r;){if(f in i){if(u=d?d(i[f],f,n):i[f],c=!1,g(u)&&(c=void 0!==(c=u[y])?!!c:p(u)),c&&0<s)h=t(e,n,u,v(u.length),h,s-1)-1;else{if(9007199254740991<=h)throw TypeError();e[h]=u}h++}f++}return h}},{118:118,128:128,25:25,49:49,51:51}],39:[function(t,e,n){var f=t(25),d=t(53),p=t(48),g=t(7),v=t(118),m=t(129),y={},A={};(n=e.exports=function(t,e,n,i,r){var o,s,a,l,u=r?function(){return t}:m(t),c=f(n,i,e?2:1),h=0;if("function"!=typeof u)throw TypeError(t+" is not iterable!");if(p(u)){for(o=v(t.length);h<o;h++)if((l=e?c(g(s=t[h])[0],s[1]):c(t[h]))===y||l===A)return l}else for(a=u.call(t);!(s=a.next()).done;)if((l=d(a,c,s.value,e))===y||l===A)return l}).BREAK=y,n.RETURN=A},{118:118,129:129,25:25,48:48,53:53,7:7}],40:[function(t,e,n){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},{}],41:[function(t,e,n){var i={}.hasOwnProperty;e.exports=function(t,e){return i.call(t,e)}},{}],42:[function(t,e,n){var i=t(72),r=t(92);e.exports=t(29)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},{29:29,72:72,92:92}],43:[function(t,e,n){var i=t(40).document;e.exports=i&&i.documentElement},{40:40}],44:[function(t,e,n){e.exports=!t(29)&&!t(35)(function(){return 7!=Object.defineProperty(t(30)("div"),"a",{get:function(){return 7}}).a})},{29:29,30:30,35:35}],45:[function(t,e,n){var o=t(51),s=t(99).set;e.exports=function(t,e,n){var i,r=e.constructor;return r!==n&&"function"==typeof r&&(i=r.prototype)!==n.prototype&&o(i)&&s&&s(t,i),t}},{51:51,99:99}],46:[function(t,e,n){e.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},{}],47:[function(t,e,n){var i=t(18);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},{18:18}],48:[function(t,e,n){var i=t(58),r=t(128)("iterator"),o=Array.prototype;e.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},{128:128,58:58}],49:[function(t,e,n){var i=t(18);e.exports=Array.isArray||function(t){return"Array"==i(t)}},{18:18}],50:[function(t,e,n){var i=t(51),r=Math.floor;e.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},{51:51}],51:[function(t,e,n){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],52:[function(t,e,n){var i=t(51),r=t(18),o=t(128)("match");e.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},{128:128,18:18,51:51}],53:[function(t,e,n){var o=t(7);e.exports=function(t,e,n,i){try{return i?e(o(n)[0],n[1]):e(n)}catch(e){var r=t.return;throw void 0!==r&&o(r.call(t)),e}}},{7:7}],54:[function(t,e,n){"use strict";var i=t(71),r=t(92),o=t(101),s={};t(42)(s,t(128)("iterator"),function(){return this}),e.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},{101:101,128:128,42:42,71:71,92:92}],55:[function(t,e,n){"use strict";function A(){return this}var w=t(60),b=t(33),_=t(94),S=t(42),T=t(41),x=t(58),E=t(54),C=t(101),k=t(79),O=t(128)("iterator"),R=!([].keys&&"next"in[].keys());e.exports=function(t,e,n,i,r,o,s){E(n,e,i);function a(t){if(!R&&t in p)return p[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}}var l,u,c,h=e+" Iterator",f="values"==r,d=!1,p=t.prototype,g=p[O]||p["@@iterator"]||r&&p[r],v=g||a(r),m=r?f?a("entries"):v:void 0,y="Array"==e&&p.entries||g;if(y&&(c=k(y.call(new t)))!==Object.prototype&&c.next&&(C(c,h,!0),w||T(c,O)||S(c,O,A)),f&&g&&"values"!==g.name&&(d=!0,v=function(){return g.call(this)}),w&&!s||!R&&!d&&p[O]||S(p,O,v),x[e]=v,x[h]=A,r)if(l={values:f?v:a("values"),keys:o?v:a("keys"),entries:m},s)for(u in l)u in p||_(p,u,l[u]);else b(b.P+b.F*(R||d),e,l);return l}},{101:101,128:128,33:33,41:41,42:42,54:54,58:58,60:60,79:79,94:94}],56:[function(t,e,n){var o=t(128)("iterator"),s=!1;try{var i=[7][o]();i.return=function(){s=!0},Array.from(i,function(){throw 2})}catch(t){}e.exports=function(t,e){if(!e&&!s)return!1;var n=!1;try{var i=[7],r=i[o]();r.next=function(){return{done:n=!0}},i[o]=function(){return r},t(i)}catch(t){}return n}},{128:128}],57:[function(t,e,n){e.exports=function(t,e){return{value:e,done:!!t}}},{}],58:[function(t,e,n){e.exports={}},{}],59:[function(t,e,n){var a=t(81),l=t(117);e.exports=function(t,e){for(var n,i=l(t),r=a(i),o=r.length,s=0;s<o;)if(i[n=r[s++]]===e)return n}},{117:117,81:81}],60:[function(t,e,n){e.exports=!1},{}],61:[function(t,e,n){var i=Math.expm1;e.exports=!i||22025.465794806718<i(10)||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:i},{}],62:[function(t,e,n){var o=t(65),i=Math.pow,s=i(2,-52),a=i(2,-23),l=i(2,127)*(2-a),u=i(2,-126);e.exports=Math.fround||function(t){var e,n,i=Math.abs(t),r=o(t);return i<u?r*(i/u/a+1/s-1/s)*u*a:l<(n=(e=(1+a/s)*i)-(e-i))||n!=n?r*(1/0):r*n}},{65:65}],63:[function(t,e,n){e.exports=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)}},{}],64:[function(t,e,n){e.exports=Math.scale||function(t,e,n,i,r){return 0===arguments.length||t!=t||e!=e||n!=n||i!=i||r!=r?NaN:t===1/0||t===-1/0?t:(t-e)*(r-i)/(n-e)+i}},{}],65:[function(t,e,n){e.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},{}],66:[function(t,e,n){function i(t){a(t,r,{value:{i:"O"+ ++l,w:{}}})}var r=t(124)("meta"),o=t(51),s=t(41),a=t(72).f,l=0,u=Object.isExtensible||function(){return!0},c=!t(35)(function(){return u(Object.preventExtensions({}))}),h=e.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,r)){if(!u(t))return"F";if(!e)return"E";i(t)}return t[r].i},getWeak:function(t,e){if(!s(t,r)){if(!u(t))return!0;if(!e)return!1;i(t)}return t[r].w},onFreeze:function(t){return c&&h.NEED&&u(t)&&!s(t,r)&&i(t),t}}},{124:124,35:35,41:41,51:51,72:72}],67:[function(t,e,n){function r(t,e,n){var i=a.get(t);if(!i){if(!n)return;a.set(t,i=new o)}var r=i.get(e);if(!r){if(!n)return;i.set(e,r=new o)}return r}var o=t(160),i=t(33),s=t(103)("metadata"),a=s.store||(s.store=new(t(266)));e.exports={store:a,map:r,has:function(t,e,n){var i=r(e,n,!1);return void 0!==i&&i.has(t)},get:function(t,e,n){var i=r(e,n,!1);return void 0===i?void 0:i.get(t)},set:function(t,e,n,i){r(n,i,!0).set(t,e)},keys:function(t,e){var n=r(t,e,!1),i=[];return n&&n.forEach(function(t,e){i.push(e)}),i},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},{103:103,160:160,266:266,33:33}],68:[function(t,e,n){var a=t(40),l=t(113).set,u=a.MutationObserver||a.WebKitMutationObserver,c=a.process,h=a.Promise,f="process"==t(18)(c);e.exports=function(){function t(){var t,e;for(f&&(t=c.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?r():i=void 0,t}}i=void 0,t&&t.enter()}var n,i,r;if(f)r=function(){c.nextTick(t)};else if(u){var e=!0,o=document.createTextNode("");new u(t).observe(o,{characterData:!0}),r=function(){o.data=e=!e}}else if(h&&h.resolve){var s=h.resolve();r=function(){s.then(t)}}else r=function(){l.call(a,t)};return function(t){var e={fn:t,next:void 0};i&&(i.next=e),n||(n=e,r()),i=e}}},{113:113,18:18,40:40}],69:[function(t,e,n){"use strict";function i(t){var n,i;this.promise=new t(function(t,e){if(void 0!==n||void 0!==i)throw TypeError("Bad Promise constructor");n=t,i=e}),this.resolve=r(n),this.reject=r(i)}var r=t(3);e.exports.f=function(t){return new i(t)}},{3:3}],70:[function(t,e,n){"use strict";var f=t(81),d=t(78),p=t(82),g=t(119),v=t(47),r=Object.assign;e.exports=!r||t(35)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=r({},t)[n]||Object.keys(r({},e)).join("")!=i})?function(t,e){for(var n=g(t),i=arguments.length,r=1,o=d.f,s=p.f;r<i;)for(var a,l=v(arguments[r++]),u=o?f(l).concat(o(l)):f(l),c=u.length,h=0;h<c;)s.call(l,a=u[h++])&&(n[a]=l[a]);return n}:r},{119:119,35:35,47:47,78:78,81:81,82:82}],71:[function(i,t,e){function r(){}var o=i(7),s=i(73),a=i(31),l=i(102)("IE_PROTO"),u=function(){var t,e=i(30)("iframe"),n=a.length;for(e.style.display="none",i(43).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[a[n]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(r.prototype=o(t),n=new r,r.prototype=null,n[l]=t):n=u(),void 0===e?n:s(n,e)}},{102:102,30:30,31:31,43:43,7:7,73:73}],72:[function(t,e,n){var i=t(7),r=t(44),o=t(120),s=Object.defineProperty;n.f=t(29)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},{120:120,29:29,44:44,7:7}],73:[function(t,e,n){var s=t(72),a=t(7),l=t(81);e.exports=t(29)?Object.defineProperties:function(t,e){a(t);for(var n,i=l(e),r=i.length,o=0;o<r;)s.f(t,n=i[o++],e[n]);return t}},{29:29,7:7,72:72,81:81}],74:[function(e,t,n){"use strict";t.exports=e(60)||!e(35)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete e(40)[t]})},{35:35,40:40,60:60}],75:[function(t,e,n){var i=t(82),r=t(92),o=t(117),s=t(120),a=t(41),l=t(44),u=Object.getOwnPropertyDescriptor;n.f=t(29)?u:function(t,e){if(t=o(t),e=s(e,!0),l)try{return u(t,e)}catch(t){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},{117:117,120:120,29:29,41:41,44:44,82:82,92:92}],76:[function(t,e,n){var i=t(117),r=t(77).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return s.slice()}}(t):r(i(t))}},{117:117,77:77}],77:[function(t,e,n){var i=t(80),r=t(31).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},{31:31,80:80}],78:[function(t,e,n){n.f=Object.getOwnPropertySymbols},{}],79:[function(t,e,n){var i=t(41),r=t(119),o=t(102)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},{102:102,119:119,41:41}],80:[function(t,e,n){var s=t(41),a=t(117),l=t(11)(!1),u=t(102)("IE_PROTO");e.exports=function(t,e){var n,i=a(t),r=0,o=[];for(n in i)n!=u&&s(i,n)&&o.push(n);for(;e.length>r;)s(i,n=e[r++])&&(~l(o,n)||o.push(n));return o}},{102:102,11:11,117:117,41:41}],81:[function(t,e,n){var i=t(80),r=t(31);e.exports=Object.keys||function(t){return i(t,r)}},{31:31,80:80}],82:[function(t,e,n){n.f={}.propertyIsEnumerable},{}],83:[function(t,e,n){var r=t(33),o=t(23),s=t(35);e.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*s(function(){n(1)}),"Object",i)}},{23:23,33:33,35:35}],84:[function(t,e,n){var l=t(81),u=t(117),c=t(82).f;e.exports=function(a){return function(t){for(var e,n=u(t),i=l(n),r=i.length,o=0,s=[];o<r;)c.call(n,e=i[o++])&&s.push(a?[e,n[e]]:n[e]);return s}}},{117:117,81:81,82:82}],85:[function(t,e,n){var i=t(77),r=t(78),o=t(7),s=t(40).Reflect;e.exports=s&&s.ownKeys||function(t){var e=i.f(o(t)),n=r.f;return n?e.concat(n(t)):e}},{40:40,7:7,77:77,78:78}],86:[function(t,e,n){var i=t(40).parseFloat,r=t(111).trim;e.exports=1/i(t(112)+"-0")!=-1/0?function(t){var e=r(String(t),3),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},{111:111,112:112,40:40}],87:[function(t,e,n){var i=t(40).parseInt,r=t(111).trim,o=t(112),s=/^[-+]?0[xX]/;e.exports=8!==i(o+"08")||22!==i(o+"0x16")?function(t,e){var n=r(String(t),3);return i(n,e>>>0||(s.test(n)?16:10))}:i},{111:111,112:112,40:40}],88:[function(t,e,n){"use strict";var i=t(89),u=t(46),c=t(3);e.exports=function(){for(var r=c(this),o=arguments.length,s=Array(o),t=0,a=i._,l=!1;t<o;)(s[t]=arguments[t++])===a&&(l=!0);return function(){var t,e=arguments.length,n=0,i=0;if(!l&&!e)return u(r,s,this);if(t=s.slice(),l)for(;n<o;n++)t[n]===a&&(t[n]=arguments[i++]);for(;i<e;)t.push(arguments[i++]);return u(r,t,this)}}},{3:3,46:46,89:89}],89:[function(t,e,n){e.exports=t(40)},{40:40}],90:[function(t,e,n){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],91:[function(t,e,n){var i=t(69);e.exports=function(t,e){var n=i.f(t);return(0,n.resolve)(e),n.promise}},{69:69}],92:[function(t,e,n){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],93:[function(t,e,n){var r=t(94);e.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},{94:94}],94:[function(t,e,n){var o=t(40),s=t(42),a=t(41),l=t(124)("src"),i=Function.toString,u=(""+i).split("toString");t(23).inspectSource=function(t){return i.call(t)},(e.exports=function(t,e,n,i){var r="function"==typeof n;r&&(a(n,"name")||s(n,"name",e)),t[e]!==n&&(r&&(a(n,l)||s(n,l,t[e]?""+t[e]:u.join(String(e)))),t===o?t[e]=n:i?t[e]?t[e]=n:s(t,e,n):(delete t[e],s(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[l]||i.call(this)})},{124:124,23:23,40:40,41:41,42:42}],95:[function(t,e,n){e.exports=function(e,n){var i=n===Object(n)?function(t){return n[t]}:n;return function(t){return String(t).replace(e,i)}}},{}],96:[function(t,e,n){e.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},{}],97:[function(t,e,n){"use strict";var i=t(33),l=t(3),u=t(25),c=t(39);e.exports=function(t){i(i.S,t,{from:function(t,e,n){var i,r,o,s,a=e;return l(this),(i=void 0!==a)&&l(a),null==t?new this:(r=[],i?(o=0,s=u(a,n,2),c(t,!1,function(t){r.push(s(t,o++))})):c(t,!1,r.push,r),new this(r))}})}},{25:25,3:3,33:33,39:39}],98:[function(t,e,n){"use strict";var i=t(33);e.exports=function(t){i(i.S,t,{of:function(){for(var t=arguments.length,e=Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},{33:33}],99:[function(e,t,n){function r(t,e){if(o(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")}var i=e(51),o=e(7);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,i){try{(i=e(25)(Function.call,e(75).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return r(t,e),n?t.__proto__=e:i(t,e),t}}({},!1):void 0),check:r}},{25:25,51:51,7:7,75:75}],100:[function(t,e,n){"use strict";var i=t(40),r=t(72),o=t(29),s=t(128)("species");e.exports=function(t){var e=i[t];o&&e&&!e[s]&&r.f(e,s,{configurable:!0,get:function(){return this}})}},{128:128,29:29,40:40,72:72}],101:[function(t,e,n){var i=t(72).f,r=t(41),o=t(128)("toStringTag");e.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},{128:128,41:41,72:72}],102:[function(t,e,n){var i=t(103)("keys"),r=t(124);e.exports=function(t){return i[t]||(i[t]=r(t))}},{103:103,124:124}],103:[function(t,e,n){var i=t(40),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(t){return r[t]||(r[t]={})}},{40:40}],104:[function(t,e,n){var r=t(7),o=t(3),s=t(128)("species");e.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||null==(n=r(i)[s])?e:o(n)}},{128:128,3:3,7:7}],105:[function(t,e,n){"use strict";var i=t(35);e.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},{35:35}],106:[function(t,e,n){var l=t(116),u=t(28);e.exports=function(a){return function(t,e){var n,i,r=String(u(t)),o=l(e),s=r.length;return o<0||s<=o?a?"":void 0:(n=r.charCodeAt(o))<55296||56319<n||o+1===s||(i=r.charCodeAt(o+1))<56320||57343<i?a?r.charAt(o):n:a?r.slice(o,o+2):i-56320+(n-55296<<10)+65536}}},{116:116,28:28}],107:[function(t,e,n){var i=t(52),r=t(28);e.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},{28:28,52:52}],108:[function(t,e,n){function i(t,e,n,i){var r=String(s(t)),o="<"+e;return""!==n&&(o+=" "+n+'="'+String(i).replace(a,"&quot;")+'"'),o+">"+r+"</"+e+">"}var r=t(33),o=t(35),s=t(28),a=/"/g;e.exports=function(e,t){var n={};n[e]=t(i),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",n)}},{28:28,33:33,35:35}],109:[function(t,e,n){var c=t(118),h=t(110),f=t(28);e.exports=function(t,e,n,i){var r=String(f(t)),o=r.length,s=void 0===n?" ":String(n),a=c(e);if(a<=o||""==s)return r;var l=a-o,u=h.call(s,Math.ceil(l/s.length));return u.length>l&&(u=u.slice(0,l)),i?u+r:r+u}},{110:110,118:118,28:28}],110:[function(t,e,n){"use strict";var r=t(116),o=t(28);e.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;0<i;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},{116:116,28:28}],111:[function(t,e,n){function i(t,e,n){var i={},r=a(function(){return!!l[t]()||"​"!="​"[t]()}),o=i[t]=r?e(h):l[t];n&&(i[n]=o),s(s.P+s.F*r,"String",i)}var s=t(33),r=t(28),a=t(35),l=t(112),o="["+l+"]",u=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),h=i.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};e.exports=i},{112:112,28:28,33:33,35:35}],112:[function(t,e,n){e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},{}],113:[function(t,e,n){function i(){var t=+this;if(A.hasOwnProperty(t)){var e=A[t];delete A[t],e()}}function r(t){i.call(t.data)}var o,s,a,l=t(25),u=t(46),c=t(43),h=t(30),f=t(40),d=f.process,p=f.setImmediate,g=f.clearImmediate,v=f.MessageChannel,m=f.Dispatch,y=0,A={};p&&g||(p=function(t){for(var e=[],n=1;n<arguments.length;)e.push(arguments[n++]);return A[++y]=function(){u("function"==typeof t?t:Function(t),e)},o(y),y},g=function(t){delete A[t]},"process"==t(18)(d)?o=function(t){d.nextTick(l(i,t,1))}:m&&m.now?o=function(t){m.now(l(i,t,1))}:v?(a=(s=new v).port2,s.port1.onmessage=r,o=l(a.postMessage,a,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(o=function(t){f.postMessage(t+"","*")},f.addEventListener("message",r,!1)):o="onreadystatechange"in h("script")?function(t){c.appendChild(h("script")).onreadystatechange=function(){c.removeChild(this),i.call(t)}}:function(t){setTimeout(l(i,t,1),0)}),e.exports={set:p,clear:g}},{18:18,25:25,30:30,40:40,43:43,46:46}],114:[function(t,e,n){var i=t(116),r=Math.max,o=Math.min;e.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},{116:116}],115:[function(t,e,n){var i=t(116),r=t(118);e.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);if(e!==n)throw RangeError("Wrong length!");return n}},{116:116,118:118}],116:[function(t,e,n){var i=Math.ceil,r=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(0<t?r:i)(t)}},{}],117:[function(t,e,n){var i=t(47),r=t(28);e.exports=function(t){return i(r(t))}},{28:28,47:47}],118:[function(t,e,n){var i=t(116),r=Math.min;e.exports=function(t){return 0<t?r(i(t),9007199254740991):0}},{116:116}],119:[function(t,e,n){var i=t(28);e.exports=function(t){return Object(i(t))}},{28:28}],120:[function(t,e,n){var r=t(51);e.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{51:51}],121:[function(t,e,n){"use strict";if(t(29)){var m=t(60),y=t(40),A=t(35),w=t(33),b=t(123),i=t(122),p=t(25),_=t(6),r=t(92),S=t(42),o=t(93),s=t(116),T=t(118),x=t(115),a=t(114),l=t(120),u=t(41),E=t(17),C=t(51),g=t(119),v=t(48),k=t(71),O=t(79),R=t(77).f,P=t(129),c=t(124),h=t(128),f=t(12),d=t(11),I=t(104),L=t(141),M=t(58),D=t(56),N=t(100),j=t(9),V=t(8),F=t(72),H=t(75),U=F.f,W=H.f,B=y.RangeError,q=y.TypeError,z=y.Uint8Array,G=Array.prototype,X=i.ArrayBuffer,Y=i.DataView,J=f(0),K=f(2),$=f(3),Q=f(4),Z=f(5),tt=f(6),et=d(!0),nt=d(!1),it=L.values,rt=L.keys,ot=L.entries,st=G.lastIndexOf,at=G.reduce,lt=G.reduceRight,ut=G.join,ct=G.sort,ht=G.slice,ft=G.toString,dt=G.toLocaleString,pt=h("iterator"),gt=h("toStringTag"),vt=c("typed_constructor"),mt=c("def_constructor"),yt=b.CONSTR,At=b.TYPED,wt=b.VIEW,bt=f(1,function(t,e){return Et(I(t,t[mt]),e)}),_t=A(function(){return 1===new z(new Uint16Array([1]).buffer)[0]}),St=!!z&&!!z.prototype.set&&A(function(){new z(1).set({})}),Tt=function(t,e){var n=s(t);if(n<0||n%e)throw B("Wrong offset!");return n},xt=function(t){if(C(t)&&At in t)return t;throw q(t+" is not a typed array!")},Et=function(t,e){if(!(C(t)&&vt in t))throw q("It is not a typed array constructor!");return new t(e)},Ct=function(t,e){return kt(I(t,t[mt]),e)},kt=function(t,e){for(var n=0,i=e.length,r=Et(t,i);n<i;)r[n]=e[n++];return r},Ot=function(t,e,n){U(t,e,{get:function(){return this._d[n]}})},Rt=function(t,e,n){var i,r,o,s,a,l,u=g(t),c=arguments.length,h=1<c?e:void 0,f=void 0!==h,d=P(u);if(null!=d&&!v(d)){for(l=d.call(u),o=[],i=0;!(a=l.next()).done;i++)o.push(a.value);u=o}for(f&&2<c&&(h=p(h,n,2)),i=0,r=T(u.length),s=Et(this,r);i<r;i++)s[i]=f?h(u[i],i):u[i];return s},Pt=function(){for(var t=0,e=arguments.length,n=Et(this,e);t<e;)n[t]=arguments[t++];return n},It=!!z&&A(function(){dt.call(new z(1))}),Lt=function(){return dt.apply(It?ht.call(xt(this)):xt(this),arguments)},Mt={copyWithin:function(t,e,n){return V.call(xt(this),t,e,2<arguments.length?n:void 0)},every:function(t,e){return Q(xt(this),t,1<arguments.length?e:void 0)},fill:function(t){return j.apply(xt(this),arguments)},filter:function(t,e){return Ct(this,K(xt(this),t,1<arguments.length?e:void 0))},find:function(t,e){return Z(xt(this),t,1<arguments.length?e:void 0)},findIndex:function(t,e){return tt(xt(this),t,1<arguments.length?e:void 0)},forEach:function(t,e){J(xt(this),t,1<arguments.length?e:void 0)},indexOf:function(t,e){return nt(xt(this),t,1<arguments.length?e:void 0)},includes:function(t,e){return et(xt(this),t,1<arguments.length?e:void 0)},join:function(t){return ut.apply(xt(this),arguments)},lastIndexOf:function(t){return st.apply(xt(this),arguments)},map:function(t,e){return bt(xt(this),t,1<arguments.length?e:void 0)},reduce:function(t){return at.apply(xt(this),arguments)},reduceRight:function(t){return lt.apply(xt(this),arguments)},reverse:function(){for(var t,e=xt(this).length,n=Math.floor(e/2),i=0;i<n;)t=this[i],this[i++]=this[--e],this[e]=t;return this},some:function(t,e){return $(xt(this),t,1<arguments.length?e:void 0)},sort:function(t){return ct.call(xt(this),t)},subarray:function(t,e){var n=xt(this),i=n.length,r=a(t,i);return new(I(n,n[mt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,T((void 0===e?i:a(e,i))-r))}},Dt=function(t,e){return Ct(this,ht.call(xt(this),t,e))},Nt=function(t,e){xt(this);var n=Tt(e,1),i=this.length,r=g(t),o=T(r.length),s=0;if(i<o+n)throw B("Wrong length!");for(;s<o;)this[n+s]=r[s++]},jt={entries:function(){return ot.call(xt(this))},keys:function(){return rt.call(xt(this))},values:function(){return it.call(xt(this))}},Vt=function(t,e){return C(t)&&t[At]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ft=function(t,e){return Vt(t,e=l(e,!0))?r(2,t[e]):W(t,e)},Ht=function(t,e,n){return!(Vt(t,e=l(e,!0))&&C(n)&&u(n,"value"))||u(n,"get")||u(n,"set")||n.configurable||u(n,"writable")&&!n.writable||u(n,"enumerable")&&!n.enumerable?U(t,e,n):(t[e]=n.value,t)};yt||(H.f=Ft,F.f=Ht),w(w.S+w.F*!yt,"Object",{getOwnPropertyDescriptor:Ft,defineProperty:Ht}),A(function(){ft.call({})})&&(ft=dt=function(){return ut.call(this)});var Ut=o({},Mt);o(Ut,jt),S(Ut,pt,jt.values),o(Ut,{slice:Dt,set:Nt,constructor:function(){},toString:ft,toLocaleString:Lt}),Ot(Ut,"buffer","b"),Ot(Ut,"byteOffset","o"),Ot(Ut,"byteLength","l"),Ot(Ut,"length","e"),U(Ut,gt,{get:function(){return this[At]}}),e.exports=function(t,h,e,o){function f(t,r){U(t,r,{get:function(){return t=r,(e=this._d).v[n](t*h+e.o,_t);var t,e},set:function(t){return e=r,n=t,i=this._d,o&&(n=(n=Math.round(n))<0?0:255<n?255:255&n),void i.v[s](e*h+i.o,n,_t);var e,n,i},enumerable:!0})}var d=t+((o=!!o)?"Clamped":"")+"Array",n="get"+t,s="set"+t,p=y[d],a=p||{},i=p&&O(p),r=!p||!b.ABV,l={},u=p&&p.prototype;r?(p=e(function(t,e,n,i){_(t,p,d,"_d");var r,o,s,a,l=0,u=0;if(C(e)){if(!(e instanceof X||"ArrayBuffer"==(a=E(e))||"SharedArrayBuffer"==a))return At in e?kt(p,e):Rt.call(p,e);r=e,u=Tt(n,h);var c=e.byteLength;if(void 0===i){if(c%h)throw B("Wrong length!");if((o=c-u)<0)throw B("Wrong length!")}else if((o=T(i)*h)+u>c)throw B("Wrong length!");s=o/h}else s=x(e),r=new X(o=s*h);for(S(t,"_d",{b:r,o:u,l:o,e:s,v:new Y(r)});l<s;)f(t,l++)}),u=p.prototype=k(Ut),S(u,"constructor",p)):A(function(){p(1)})&&A(function(){new p(-1)})&&D(function(t){new p,new p(null),new p(1.5),new p(t)},!0)||(p=e(function(t,e,n,i){var r;return _(t,p,d),C(e)?e instanceof X||"ArrayBuffer"==(r=E(e))||"SharedArrayBuffer"==r?void 0!==i?new a(e,Tt(n,h),i):void 0!==n?new a(e,Tt(n,h)):new a(e):At in e?kt(p,e):Rt.call(p,e):new a(x(e))}),J(i!==Function.prototype?R(a).concat(R(i)):R(a),function(t){t in p||S(p,t,a[t])}),p.prototype=u,m||(u.constructor=p));var c=u[pt],g=!!c&&("values"==c.name||null==c.name),v=jt.values;S(p,vt,!0),S(u,At,d),S(u,wt,!0),S(u,mt,p),(o?new p(1)[gt]==d:gt in u)||U(u,gt,{get:function(){return d}}),l[d]=p,w(w.G+w.W+w.F*(p!=a),l),w(w.S,d,{BYTES_PER_ELEMENT:h}),w(w.S+w.F*A(function(){a.of.call(p,1)}),d,{from:Rt,of:Pt}),"BYTES_PER_ELEMENT"in u||S(u,"BYTES_PER_ELEMENT",h),w(w.P,d,Mt),N(d),w(w.P+w.F*St,d,{set:Nt}),w(w.P+w.F*!g,d,jt),m||u.toString==ft||(u.toString=ft),w(w.P+w.F*A(function(){new p(1).slice()}),d,{slice:Dt}),w(w.P+w.F*(A(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!A(function(){u.toLocaleString.call([1,2])})),d,{toLocaleString:Lt}),M[d]=g?c:v,m||g||S(u,pt,v)}}else e.exports=function(){}},{100:100,104:104,11:11,114:114,115:115,116:116,118:118,119:119,12:12,120:120,122:122,123:123,124:124,128:128,129:129,141:141,17:17,25:25,29:29,33:33,35:35,40:40,41:41,42:42,48:48,51:51,56:56,58:58,6:6,60:60,71:71,72:72,75:75,77:77,79:79,8:8,9:9,92:92,93:93}],122:[function(t,e,n){"use strict";function i(t,e,n){var i,r,o,s=Array(n),a=8*n-e-1,l=(1<<a)-1,u=l>>1,c=23===e?V(2,-24)-V(2,-77):0,h=0,f=t<0||0===t&&1/t<0?1:0;for((t=j(t))!=t||t===D?(r=t!=t?1:0,i=l):(i=F(H(t)/U),t*(o=V(2,-i))<1&&(i--,o*=2),2<=(t+=1<=i+u?c/o:c*V(2,1-u))*o&&(i++,o/=2),l<=i+u?(r=0,i=l):1<=i+u?(r=(t*o-1)*V(2,e),i+=u):(r=t*V(2,u-1)*V(2,e),i=0));8<=e;s[h++]=255&r,r/=256,e-=8);for(i=i<<e|r,a+=e;0<a;s[h++]=255&i,i/=256,a-=8);return s[--h]|=128*f,s}function r(t,e,n){var i,r=8*n-e-1,o=(1<<r)-1,s=o>>1,a=r-7,l=n-1,u=t[l--],c=127&u;for(u>>=7;0<a;c=256*c+t[l],l--,a-=8);for(i=c&(1<<-a)-1,c>>=-a,a+=e;0<a;i=256*i+t[l],l--,a-=8);if(0===c)c=1-s;else{if(c===o)return i?NaN:u?-D:D;i+=V(2,e),c-=s}return(u?-1:1)*i*V(2,c-e)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function s(t){return[255&t]}function a(t){return[255&t,t>>8&255]}function l(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function u(t){return i(t,52,8)}function c(t){return i(t,23,4)}function h(t,e,n){E(t[O],e,{get:function(){return this[n]}})}function f(t,e,n,i){var r=T(+n);if(r+e>t[B])throw M(R);var o=t[W]._b,s=r+t[q],a=o.slice(s,s+e);return i?a:a.reverse()}function d(t,e,n,i,r,o){var s=T(+n);if(s+e>t[B])throw M(R);for(var a=t[W]._b,l=s+t[q],u=i(+r),c=0;c<e;c++)a[l+c]=u[o?c:e-c-1]}var p=t(40),g=t(29),v=t(60),m=t(123),y=t(42),A=t(93),w=t(35),b=t(6),_=t(116),S=t(118),T=t(115),x=t(77).f,E=t(72).f,C=t(9),k=t(101),O="prototype",R="Wrong index!",P=p.ArrayBuffer,I=p.DataView,L=p.Math,M=p.RangeError,D=p.Infinity,N=P,j=L.abs,V=L.pow,F=L.floor,H=L.log,U=L.LN2,W=g?"_b":"buffer",B=g?"_l":"byteLength",q=g?"_o":"byteOffset";if(m.ABV){if(!w(function(){P(1)})||!w(function(){new P(-1)})||w(function(){return new P,new P(1.5),new P(NaN),"ArrayBuffer"!=P.name})){for(var z,G=(P=function(t){return b(this,P),new N(T(t))})[O]=N[O],X=x(N),Y=0;X.length>Y;)(z=X[Y++])in P||y(P,z,N[z]);v||(G.constructor=P)}var J=new I(new P(2)),K=I[O].setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||A(I[O],{setInt8:function(t,e){K.call(this,t,e<<24>>24)},setUint8:function(t,e){K.call(this,t,e<<24>>24)}},!0)}else P=function(t){b(this,P,"ArrayBuffer");var e=T(t);this._b=C.call(Array(e),0),this[B]=e},I=function(t,e,n){b(this,I,"DataView"),b(t,P,"DataView");var i=t[B],r=_(e);if(r<0||i<r)throw M("Wrong offset!");if(i<r+(n=void 0===n?i-r:S(n)))throw M("Wrong length!");this[W]=t,this[q]=r,this[B]=n},g&&(h(P,"byteLength","_l"),h(I,"buffer","_b"),h(I,"byteLength","_l"),h(I,"byteOffset","_o")),A(I[O],{getInt8:function(t){return f(this,1,t)[0]<<24>>24},getUint8:function(t){return f(this,1,t)[0]},getInt16:function(t,e){var n=f(this,2,t,e);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t,e){var n=f(this,2,t,e);return n[1]<<8|n[0]},getInt32:function(t,e){return o(f(this,4,t,e))},getUint32:function(t,e){return o(f(this,4,t,e))>>>0},getFloat32:function(t,e){return r(f(this,4,t,e),23,4)},getFloat64:function(t,e){return r(f(this,8,t,e),52,8)},setInt8:function(t,e){d(this,1,t,s,e)},setUint8:function(t,e){d(this,1,t,s,e)},setInt16:function(t,e,n){d(this,2,t,a,e,n)},setUint16:function(t,e,n){d(this,2,t,a,e,n)},setInt32:function(t,e,n){d(this,4,t,l,e,n)},setUint32:function(t,e,n){d(this,4,t,l,e,n)},setFloat32:function(t,e,n){d(this,4,t,c,e,n)},setFloat64:function(t,e,n){d(this,8,t,u,e,n)}});k(P,"ArrayBuffer"),k(I,"DataView"),y(I[O],m.VIEW,!0),n.ArrayBuffer=P,n.DataView=I},{101:101,115:115,116:116,118:118,123:123,29:29,35:35,40:40,42:42,6:6,60:60,72:72,77:77,9:9,93:93}],123:[function(t,e,n){for(var i,r=t(40),o=t(42),s=t(124),a=s("typed_array"),l=s("view"),u=!(!r.ArrayBuffer||!r.DataView),c=u,h=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<9;)(i=r[f[h++]])?(o(i.prototype,a,!0),o(i.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:a,VIEW:l}},{124:124,40:40,42:42}],124:[function(t,e,n){var i=0,r=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+r).toString(36))}},{}],125:[function(t,e,n){var i=t(51);e.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},{51:51}],126:[function(t,e,n){var i=t(40),r=t(23),o=t(60),s=t(127),a=t(72).f;e.exports=function(t){var e=r.Symbol||(r.Symbol=!o&&i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},{127:127,23:23,40:40,60:60,72:72}],127:[function(t,e,n){n.f=t(128)},{128:128}],128:[function(t,e,n){var i=t(103)("wks"),r=t(124),o=t(40).Symbol,s="function"==typeof o;(e.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},{103:103,124:124,40:40}],129:[function(t,e,n){var i=t(17),r=t(128)("iterator"),o=t(58);e.exports=t(23).getIteratorMethod=function(t){if(null!=t)return t[r]||t["@@iterator"]||o[i(t)]}},{128:128,17:17,23:23,58:58}],130:[function(t,e,n){var i=t(33),r=t(95)(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return r(t)}})},{33:33,95:95}],131:[function(t,e,n){var i=t(33);i(i.P,"Array",{copyWithin:t(8)}),t(5)("copyWithin")},{33:33,5:5,8:8}],132:[function(t,e,n){"use strict";var i=t(33),r=t(12)(4);i(i.P+i.F*!t(105)([].every,!0),"Array",{every:function(t,e){return r(this,t,e)}})},{105:105,12:12,33:33}],133:[function(t,e,n){var i=t(33);i(i.P,"Array",{fill:t(9)}),t(5)("fill")},{33:33,5:5,9:9}],134:[function(t,e,n){"use strict";var i=t(33),r=t(12)(2);i(i.P+i.F*!t(105)([].filter,!0),"Array",{filter:function(t,e){return r(this,t,e)}})},{105:105,12:12,33:33}],135:[function(t,e,n){"use strict";var i=t(33),r=t(12)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{findIndex:function(t,e){return r(this,t,1<arguments.length?e:void 0)}}),t(5)(o)},{12:12,33:33,5:5}],136:[function(t,e,n){"use strict";var i=t(33),r=t(12)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(t,e){return r(this,t,1<arguments.length?e:void 0)}}),t(5)("find")},{12:12,33:33,5:5}],137:[function(t,e,n){"use strict";var i=t(33),r=t(12)(0),o=t(105)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(t,e){return r(this,t,e)}})},{105:105,12:12,33:33}],138:[function(t,e,n){"use strict";var p=t(25),i=t(33),g=t(119),v=t(53),m=t(48),y=t(118),A=t(24),w=t(129);i(i.S+i.F*!t(56)(function(t){Array.from(t)}),"Array",{from:function(t,e,n){var i,r,o,s,a=g(t),l="function"==typeof this?this:Array,u=arguments.length,c=1<u?e:void 0,h=void 0!==c,f=0,d=w(a);if(h&&(c=p(c,2<u?n:void 0,2)),null==d||l==Array&&m(d))for(r=new l(i=y(a.length));f<i;f++)A(r,f,h?c(a[f],f):a[f]);else for(s=d.call(a),r=new l;!(o=s.next()).done;f++)A(r,f,h?v(s,c,[o.value,f],!0):o.value);return r.length=f,r}})},{118:118,119:119,129:129,24:24,25:25,33:33,48:48,53:53,56:56}],139:[function(t,e,n){"use strict";var i=t(33),r=t(11)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!t(105)(o)),"Array",{indexOf:function(t,e){return s?o.apply(this,arguments)||0:r(this,t,e)}})},{105:105,11:11,33:33}],140:[function(t,e,n){var i=t(33);i(i.S,"Array",{isArray:t(49)})},{33:33,49:49}],141:[function(t,e,n){"use strict";var i=t(5),r=t(57),o=t(58),s=t(117);e.exports=t(55)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},{117:117,5:5,55:55,57:57,58:58}],142:[function(t,e,n){"use strict";var i=t(33),r=t(117),o=[].join;i(i.P+i.F*(t(47)!=Object||!t(105)(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},{105:105,117:117,33:33,47:47}],143:[function(t,e,n){"use strict";var i=t(33),o=t(117),s=t(116),a=t(118),l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(u||!t(105)(l)),"Array",{lastIndexOf:function(t,e){if(u)return l.apply(this,arguments)||0;var n=o(this),i=a(n.length),r=i-1;for(1<arguments.length&&(r=Math.min(r,s(e))),r<0&&(r=i+r);0<=r;r--)if(r in n&&n[r]===t)return r||0;return-1}})},{105:105,116:116,117:117,118:118,33:33}],144:[function(t,e,n){"use strict";var i=t(33),r=t(12)(1);i(i.P+i.F*!t(105)([].map,!0),"Array",{map:function(t,e){return r(this,t,e)}})},{105:105,12:12,33:33}],145:[function(t,e,n){"use strict";var i=t(33),r=t(24);i(i.S+i.F*t(35)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);t<e;)r(n,t,arguments[t++]);return n.length=e,n}})},{24:24,33:33,35:35}],146:[function(t,e,n){"use strict";var i=t(33),r=t(13);i(i.P+i.F*!t(105)([].reduceRight,!0),"Array",{reduceRight:function(t,e){return r(this,t,arguments.length,e,!0)}})},{105:105,13:13,33:33}],147:[function(t,e,n){"use strict";var i=t(33),r=t(13);i(i.P+i.F*!t(105)([].reduce,!0),"Array",{reduce:function(t,e){return r(this,t,arguments.length,e,!1)}})},{105:105,13:13,33:33}],148:[function(t,e,n){"use strict";var i=t(33),r=t(43),u=t(18),c=t(114),h=t(118),f=[].slice;i(i.P+i.F*t(35)(function(){r&&f.call(r)}),"Array",{slice:function(t,e){var n=h(this.length),i=u(this);if(e=void 0===e?n:e,"Array"==i)return f.call(this,t,e);for(var r=c(t,n),o=c(e,n),s=h(o-r),a=Array(s),l=0;l<s;l++)a[l]="String"==i?this.charAt(r+l):this[r+l];return a}})},{114:114,118:118,18:18,33:33,35:35,43:43}],149:[function(t,e,n){"use strict";var i=t(33),r=t(12)(3);i(i.P+i.F*!t(105)([].some,!0),"Array",{some:function(t,e){return r(this,t,e)}})},{105:105,12:12,33:33}],150:[function(t,e,n){"use strict";var i=t(33),r=t(3),o=t(119),s=t(35),a=[].sort,l=[1,2,3];i(i.P+i.F*(s(function(){l.sort(void 0)})||!s(function(){l.sort(null)})||!t(105)(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),r(t))}})},{105:105,119:119,3:3,33:33,35:35}],151:[function(t,e,n){t(100)("Array")},{100:100}],152:[function(t,e,n){var i=t(33);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},{33:33}],153:[function(t,e,n){var i=t(33),r=t(26);i(i.P+i.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},{26:26,33:33}],154:[function(t,e,n){"use strict";var i=t(33),r=t(119),o=t(120);i(i.P+i.F*t(35)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(){var t=r(this),e=o(t);return"number"!=typeof e||isFinite(e)?t.toISOString():null}})},{119:119,120:120,33:33,35:35}],155:[function(t,e,n){var i=t(128)("toPrimitive"),r=Date.prototype;i in r||t(42)(r,i,t(27))},{128:128,27:27,42:42}],156:[function(t,e,n){var i=Date.prototype,r=i.toString,o=i.getTime;new Date(NaN)+""!="Invalid Date"&&t(94)(i,"toString",function(){var t=o.call(this);return t==t?r.call(this):"Invalid Date"})},{94:94}],157:[function(t,e,n){var i=t(33);i(i.P,"Function",{bind:t(16)})},{16:16,33:33}],158:[function(t,e,n){"use strict";var i=t(51),r=t(79),o=t(128)("hasInstance"),s=Function.prototype;o in s||t(72).f(s,o,{value:function(t){if("function"!=typeof this||!i(t))return!1;if(!i(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},{128:128,51:51,72:72,79:79}],159:[function(t,e,n){var i=t(72).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||t(29)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},{29:29,72:72}],160:[function(t,e,n){"use strict";var i=t(19),r=t(125);e.exports=t(22)("Map",function(e){return function(t){return e(this,0<arguments.length?t:void 0)}},{get:function(t){var e=i.getEntry(r(this,"Map"),t);return e&&e.v},set:function(t,e){return i.def(r(this,"Map"),0===t?0:t,e)}},i,!0)},{125:125,19:19,22:22}],161:[function(t,e,n){var i=t(33),r=t(63),o=Math.sqrt,s=Math.acosh;i(i.S+i.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},{33:33,63:63}],162:[function(t,e,n){var i=t(33),r=Math.asinh;i(i.S+i.F*!(r&&0<1/r(0)),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},{33:33}],163:[function(t,e,n){var i=t(33),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},{33:33}],164:[function(t,e,n){var i=t(33),r=t(65);i(i.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},{33:33,65:65}],165:[function(t,e,n){var i=t(33);i(i.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{33:33}],166:[function(t,e,n){var i=t(33),r=Math.exp;i(i.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},{33:33}],167:[function(t,e,n){var i=t(33),r=t(61);i(i.S+i.F*(r!=Math.expm1),"Math",{expm1:r})},{33:33,61:61}],168:[function(t,e,n){var i=t(33);i(i.S,"Math",{fround:t(62)})},{33:33,62:62}],169:[function(t,e,n){var i=t(33),l=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var n,i,r=0,o=0,s=arguments.length,a=0;o<s;)a<(n=l(arguments[o++]))?(r=r*(i=a/n)*i+1,a=n):0<n?r+=(i=n/a)*i:r+=n;return a===1/0?1/0:a*Math.sqrt(r)}})},{33:33}],170:[function(t,e,n){var i=t(33),r=Math.imul;i(i.S+i.F*t(35)(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(t,e){var n=+t,i=+e,r=65535&n,o=65535&i;return 0|r*o+((65535&n>>>16)*o+r*(65535&i>>>16)<<16>>>0)}})},{33:33,35:35}],171:[function(t,e,n){var i=t(33);i(i.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{33:33}],172:[function(t,e,n){var i=t(33);i(i.S,"Math",{log1p:t(63)})},{33:33,63:63}],173:[function(t,e,n){var i=t(33);i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{33:33}],174:[function(t,e,n){var i=t(33);i(i.S,"Math",{sign:t(65)})},{33:33,65:65}],175:[function(t,e,n){var i=t(33),r=t(61),o=Math.exp;i(i.S+i.F*t(35)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{33:33,35:35,61:61}],176:[function(t,e,n){var i=t(33),r=t(61),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},{33:33,61:61}],177:[function(t,e,n){var i=t(33);i(i.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}})},{33:33}],178:[function(t,e,n){"use strict";function i(t){var e=c(t,!1);if("string"==typeof e&&2<e.length){var n,i,r,o=(e=y?e.trim():d(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var s,a=e.slice(2),l=0,u=a.length;l<u;l++)if((s=a.charCodeAt(l))<48||r<s)return NaN;return parseInt(a,i)}}return+e}var r=t(40),o=t(41),s=t(18),a=t(45),c=t(120),l=t(35),u=t(77).f,h=t(75).f,f=t(72).f,d=t(111).trim,p=r.Number,g=p,v=p.prototype,m="Number"==s(t(71)(v)),y="trim"in String.prototype;if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?l(function(){v.valueOf.call(n)}):"Number"!=s(n))?a(new g(i(e)),n,p):i(e)};for(var A,w=t(29)?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;w.length>b;b++)o(g,A=w[b])&&!o(p,A)&&f(p,A,h(g,A));(p.prototype=v).constructor=p,t(94)(r,"Number",p)}},{111:111,120:120,18:18,29:29,35:35,40:40,41:41,45:45,71:71,72:72,75:75,77:77,94:94}],179:[function(t,e,n){var i=t(33);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},{33:33}],180:[function(t,e,n){var i=t(33),r=t(40).isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},{33:33,40:40}],181:[function(t,e,n){var i=t(33);i(i.S,"Number",{isInteger:t(50)})},{33:33,50:50}],182:[function(t,e,n){var i=t(33);i(i.S,"Number",{isNaN:function(t){return t!=t}})},{33:33}],183:[function(t,e,n){var i=t(33),r=t(50),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},{33:33,50:50}],184:[function(t,e,n){var i=t(33);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{33:33}],185:[function(t,e,n){var i=t(33);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{33:33}],186:[function(t,e,n){var i=t(33),r=t(86);i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},{33:33,86:86}],187:[function(t,e,n){var i=t(33),r=t(87);i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},{33:33,87:87}],188:[function(t,e,n){"use strict";function u(t,e){for(var n=-1,i=e;++n<6;)i+=t*s[n],s[n]=i%1e7,i=o(i/1e7)}function c(t){for(var e=6,n=0;0<=--e;)n+=s[e],s[e]=o(n/t),n=n%t*1e7}function h(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==s[t]){var n=String(s[t]);e=""===e?n:e+p.call("0",7-n.length)+n}return e}var i=t(33),f=t(116),d=t(4),p=t(110),r=1..toFixed,o=Math.floor,s=[0,0,0,0,0,0],g="Number.toFixed: incorrect invocation!",v=function(t,e,n){return 0===e?n:e%2==1?v(t,e-1,n*t):v(t*t,e/2,n)};i(i.P+i.F*(!!r&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t(35)(function(){r.call({})})),"Number",{toFixed:function(t){var e,n,i,r,o=d(this,g),s=f(t),a="",l="0";if(s<0||20<s)throw RangeError(g);if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return String(o);if(o<0&&(a="-",o=-o),1e-21<o)if(n=(e=function(t){for(var e=0,n=t;4096<=n;)e+=12,n/=4096;for(;2<=n;)e+=1,n/=2;return e}(o*v(2,69,1))-69)<0?o*v(2,-e,1):o/v(2,e,1),n*=4503599627370496,0<(e=52-e)){for(u(0,n),i=s;7<=i;)u(1e7,0),i-=7;for(u(v(10,i,1),0),i=e-1;23<=i;)c(1<<23),i-=23;c(1<<i),u(1,1),c(2),l=h()}else u(0,n),u(1<<-e,0),l=h()+p.call("0",s);return l=0<s?a+((r=l.length)<=s?"0."+p.call("0",s-r)+l:l.slice(0,r-s)+"."+l.slice(r-s)):a+l}})},{110:110,116:116,33:33,35:35,4:4}],189:[function(t,e,n){"use strict";var i=t(33),r=t(35),o=t(4),s=1..toPrecision;i(i.P+i.F*(r(function(){return"1"!==s.call(1,void 0)})||!r(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},{33:33,35:35,4:4}],190:[function(t,e,n){var i=t(33);i(i.S+i.F,"Object",{assign:t(70)})},{33:33,70:70}],191:[function(t,e,n){var i=t(33);i(i.S,"Object",{create:t(71)})},{33:33,71:71}],192:[function(t,e,n){var i=t(33);i(i.S+i.F*!t(29),"Object",{defineProperties:t(73)})},{29:29,33:33,73:73}],193:[function(t,e,n){var i=t(33);i(i.S+i.F*!t(29),"Object",{defineProperty:t(72).f})},{29:29,33:33,72:72}],194:[function(t,e,n){var i=t(51),r=t(66).onFreeze;t(83)("freeze",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},{51:51,66:66,83:83}],195:[function(t,e,n){var i=t(117),r=t(75).f;t(83)("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},{117:117,75:75,83:83}],196:[function(t,e,n){t(83)("getOwnPropertyNames",function(){return t(76).f})},{76:76,83:83}],197:[function(t,e,n){var i=t(119),r=t(79);t(83)("getPrototypeOf",function(){return function(t){return r(i(t))}})},{119:119,79:79,83:83}],198:[function(t,e,n){var i=t(51);t(83)("isExtensible",function(e){return function(t){return!!i(t)&&(!e||e(t))}})},{51:51,83:83}],199:[function(t,e,n){var i=t(51);t(83)("isFrozen",function(e){return function(t){return!i(t)||!!e&&e(t)}})},{51:51,83:83}],200:[function(t,e,n){var i=t(51);t(83)("isSealed",function(e){return function(t){return!i(t)||!!e&&e(t)}})},{51:51,83:83}],201:[function(t,e,n){var i=t(33);i(i.S,"Object",{is:t(96)})},{33:33,96:96}],202:[function(t,e,n){var i=t(119),r=t(81);t(83)("keys",function(){return function(t){return r(i(t))}})},{119:119,81:81,83:83}],203:[function(t,e,n){var i=t(51),r=t(66).onFreeze;t(83)("preventExtensions",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},{51:51,66:66,83:83}],204:[function(t,e,n){var i=t(51),r=t(66).onFreeze;t(83)("seal",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},{51:51,66:66,83:83}],205:[function(t,e,n){var i=t(33);i(i.S,"Object",{setPrototypeOf:t(99).set})},{33:33,99:99}],206:[function(t,e,n){"use strict";var i=t(17),r={};r[t(128)("toStringTag")]="z",r+""!="[object z]"&&t(94)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},{128:128,17:17,94:94}],207:[function(t,e,n){var i=t(33),r=t(86);i(i.G+i.F*(parseFloat!=r),{parseFloat:r})},{33:33,86:86}],208:[function(t,e,n){var i=t(33),r=t(87);i(i.G+i.F*(parseInt!=r),{parseInt:r})},{33:33,87:87}],209:[function(n,t,e){"use strict";function i(){}function c(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e}function r(u,e){if(!u._n){u._n=!0;var n=u._c;_(function(){for(var a=u._v,l=1==u._s,t=0;n.length>t;)!function(t){var e,n,i=l?t.ok:t.fail,r=t.resolve,o=t.reject,s=t.domain;try{i?(l||(2==u._h&&D(u),u._h=1),!0===i?e=a:(s&&s.enter(),e=i(a),s&&s.exit()),e===t.promise?o(E("Promise-chain cycle")):(n=c(e))?n.call(e,r,o):r(e)):o(a)}catch(t){o(t)}}(n[t++]);u._c=[],u._n=!1,e&&!u._h&&L(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),r(e,!0))}var s,a,l,u,h=n(60),f=n(40),d=n(25),p=n(17),g=n(33),v=n(51),m=n(3),y=n(6),A=n(39),w=n(104),b=n(113).set,_=n(68)(),S=n(69),T=n(90),x=n(91),E=f.TypeError,C=f.process,k=f.Promise,O="process"==p(C),R=a=S.f,P=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[n(128)("species")]=function(t){t(i,i)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(i)instanceof e}catch(t){}}(),I=h?function(t,e){return t===e||t===k&&e===u}:function(t,e){return t===e},L=function(o){b.call(f,function(){var t,e,n,i=o._v,r=M(o);if(r&&(t=T(function(){O?C.emit("unhandledRejection",i,o):(e=f.onunhandledrejection)?e({promise:o,reason:i}):(n=f.console)&&n.error&&n.error("Unhandled promise rejection",i)}),o._h=O||M(o)?2:1),o._a=void 0,r&&t.e)throw t.v})},M=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,i=0;n.length>i;)if((e=n[i++]).fail||!M(e.promise))return!1;return!0},D=function(e){b.call(f,function(){var t;O?C.emit("rejectionHandled",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(t){var n,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw E("Promise can't be resolved itself");(n=c(t))?_(function(){var e={_w:i,_d:!1};try{n.call(t,d(N,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(i._v=t,i._s=1,r(i,!1))}catch(t){o.call({_w:i,_d:!1},t)}}};P||(k=function(t){y(this,k,"Promise","_h"),m(t),s.call(this);try{t(d(N,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(s=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(93)(k.prototype,{then:function(t,e){var n=R(w(this,k));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&r(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new s;this.promise=t,this.resolve=d(N,t,1),this.reject=d(o,t,1)},S.f=R=function(t){return I(k,t)?new l(t):a(t)}),g(g.G+g.W+g.F*!P,{Promise:k}),n(101)(k,"Promise"),n(100)("Promise"),u=n(23).Promise,g(g.S+g.F*!P,"Promise",{reject:function(t){var e=R(this);return(0,e.reject)(t),e.promise}}),g(g.S+g.F*(h||!P),"Promise",{resolve:function(t){return t instanceof k&&I(t.constructor,this)?t:x(this,t)}}),g(g.S+g.F*!(P&&n(56)(function(t){k.all(t).catch(i)})),"Promise",{all:function(t){var s=this,e=R(s),a=e.resolve,l=e.reject,n=T(function(){var i=[],r=0,o=1;A(t,!1,function(t){var e=r++,n=!1;i.push(void 0),o++,s.resolve(t).then(function(t){n||(n=!0,i[e]=t,--o||a(i))},l)}),--o||a(i)});return n.e&&l(n.v),e.promise},race:function(t){var e=this,n=R(e),i=n.reject,r=T(function(){A(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},{100:100,101:101,104:104,113:113,128:128,17:17,23:23,25:25,3:3,33:33,39:39,40:40,51:51,56:56,6:6,60:60,68:68,69:69,90:90,91:91,93:93}],210:[function(t,e,n){var i=t(33),o=t(3),s=t(7),a=(t(40).Reflect||{}).apply,l=Function.apply;i(i.S+i.F*!t(35)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var i=o(t),r=s(n);return a?a(i,e,r):l.call(i,e,r)}})},{3:3,33:33,35:35,40:40,7:7}],211:[function(t,e,n){var i=t(33),l=t(71),u=t(3),c=t(7),h=t(51),r=t(35),f=t(16),d=(t(40).Reflect||{}).construct,p=r(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),g=!r(function(){d(function(){})});i(i.S+i.F*(p||g),"Reflect",{construct:function(t,e,n){u(t),c(e);var i=arguments.length<3?t:u(n);if(g&&!p)return d(t,e,i);if(t==i){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(f.apply(t,r))}var o=i.prototype,s=l(h(o)?o:Object.prototype),a=Function.apply.call(t,s,e);return h(a)?a:s}})},{16:16,3:3,33:33,35:35,40:40,51:51,7:7,71:71}],212:[function(t,e,n){var i=t(72),r=t(33),o=t(7),s=t(120);r(r.S+r.F*t(35)(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return i.f(t,e,n),!0}catch(t){return!1}}})},{120:120,33:33,35:35,7:7,72:72}],213:[function(t,e,n){var i=t(33),r=t(75).f,o=t(7);i(i.S,"Reflect",{deleteProperty:function(t,e){var n=r(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},{33:33,7:7,75:75}],214:[function(t,e,n){"use strict";function i(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)}var r=t(33),o=t(7);t(54)(i,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},{33:33,54:54,7:7}],215:[function(t,e,n){var i=t(75),r=t(33),o=t(7);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.f(o(t),e)}})},{33:33,7:7,75:75}],216:[function(t,e,n){var i=t(33),r=t(79),o=t(7);i(i.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},{33:33,7:7,79:79}],217:[function(t,e,n){var s=t(75),a=t(79),l=t(41),i=t(33),u=t(51),c=t(7);i(i.S,"Reflect",{get:function t(e,n){var i,r,o=arguments.length<3?e:arguments[2];return c(e)===o?e[n]:(i=s.f(e,n))?l(i,"value")?i.value:void 0!==i.get?i.get.call(o):void 0:u(r=a(e))?t(r,n,o):void 0}})},{33:33,41:41,51:51,7:7,75:75,79:79}],218:[function(t,e,n){var i=t(33);i(i.S,"Reflect",{has:function(t,e){return e in t}})},{33:33}],219:[function(t,e,n){var i=t(33),r=t(7),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},{33:33,7:7}],220:[function(t,e,n){var i=t(33);i(i.S,"Reflect",{ownKeys:t(85)})},{33:33,85:85}],221:[function(t,e,n){var i=t(33),r=t(7),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},{33:33,7:7}],222:[function(t,e,n){var i=t(33),r=t(99);r&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},{33:33,99:99}],223:[function(t,e,n){var l=t(72),u=t(75),c=t(79),h=t(41),i=t(33),f=t(92),d=t(7),p=t(51);i(i.S,"Reflect",{set:function t(e,n,i){var r,o,s=arguments.length<4?e:arguments[3],a=u.f(d(e),n);if(!a){if(p(o=c(e)))return t(o,n,i,s);a=f(0)}return h(a,"value")?!(!1===a.writable||!p(s)||((r=u.f(s,n)||f(0)).value=i,l.f(s,n,r),0)):void 0!==a.set&&(a.set.call(s,i),!0)}})},{33:33,41:41,51:51,7:7,72:72,75:75,79:79,92:92}],224:[function(t,e,n){var i=t(40),o=t(45),r=t(72).f,s=t(77).f,a=t(52),l=t(37),u=i.RegExp,c=u,h=u.prototype,f=/a/g,d=/a/g,p=new u(f)!==f;if(t(29)&&(!p||t(35)(function(){return d[t(128)("match")]=!1,u(f)!=f||u(d)==d||"/a/i"!=u(f,"i")}))){u=function(t,e){var n=this instanceof u,i=a(t),r=void 0===e;return!n&&i&&t.constructor===u&&r?t:o(p?new c(i&&!r?t.source:t,e):c((i=t instanceof u)?t.source:t,i&&r?l.call(t):e),n?this:h,u)};for(var g=s(c),v=0;g.length>v;)!function(e){e in u||r(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(g[v++]);(h.constructor=u).prototype=h,t(94)(i,"RegExp",u)}t(100)("RegExp")},{100:100,128:128,29:29,35:35,37:37,40:40,45:45,52:52,72:72,77:77,94:94}],225:[function(t,e,n){t(29)&&"g"!=/./g.flags&&t(72).f(RegExp.prototype,"flags",{configurable:!0,get:t(37)})},{29:29,37:37,72:72}],226:[function(t,e,n){t(36)("match",1,function(i,r,t){return[function(t){"use strict";var e=i(this),n=null==t?void 0:t[r];return void 0!==n?n.call(t,e):new RegExp(t)[r](String(e))},t]})},{36:36}],227:[function(t,e,n){t(36)("replace",2,function(r,o,s){return[function(t,e){"use strict";var n=r(this),i=null==t?void 0:t[o];return void 0!==i?i.call(t,n,e):s.call(String(n),t,e)},s]})},{36:36}],228:[function(t,e,n){t(36)("search",1,function(i,r,t){return[function(t){"use strict";var e=i(this),n=null==t?void 0:t[r];return void 0!==n?n.call(t,e):new RegExp(t)[r](String(e))},t]})},{36:36}],229:[function(t,e,n){t(36)("split",2,function(r,o,s){"use strict";var d=t(52),p=s,g=[].push,v="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[v]||2!="ab".split(/(?:ab)*/)[v]||4!=".".split(/(.?)(.?)/)[v]||1<".".split(/()()/)[v]||"".split(/.?/)[v]){var m=void 0===/()??/.exec("")[1];s=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!d(t))return p.call(n,t,e);var i,r,o,s,a,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,h=void 0===e?4294967295:e>>>0,f=new RegExp(t.source,u+"g");for(m||(i=new RegExp("^"+f.source+"$(?!\\s)",u));(r=f.exec(n))&&!((o=r.index+r[0][v])>c&&(l.push(n.slice(c,r.index)),!m&&1<r[v]&&r[0].replace(i,function(){for(a=1;a<arguments[v]-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),1<r[v]&&r.index<n[v]&&g.apply(l,r.slice(1)),s=r[0][v],c=o,l[v]>=h));)f.lastIndex===r.index&&f.lastIndex++;return c===n[v]?!s&&f.test("")||l.push(""):l.push(n.slice(c)),l[v]>h?l.slice(0,h):l}}else"0".split(void 0,0)[v]&&(s=function(t,e){return void 0===t&&0===e?[]:p.call(this,t,e)});return[function(t,e){var n=r(this),i=null==t?void 0:t[o];return void 0!==i?i.call(t,n,e):s.call(String(n),t,e)},s]})},{36:36,52:52}],230:[function(e,t,n){"use strict";e(225);function i(t){e(94)(RegExp.prototype,"toString",t,!0)}var r=e(7),o=e(37),s=e(29),a=/./.toString;e(35)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?i(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!s&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=a.name&&i(function(){return a.call(this)})},{225:225,29:29,35:35,37:37,7:7,94:94}],231:[function(t,e,n){"use strict";var i=t(19),r=t(125);e.exports=t(22)("Set",function(e){return function(t){return e(this,0<arguments.length?t:void 0)}},{add:function(t){return i.def(r(this,"Set"),t=0===t?0:t,t)}},i)},{125:125,19:19,22:22}],232:[function(t,e,n){"use strict";t(108)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},{108:108}],233:[function(t,e,n){"use strict";t(108)("big",function(t){return function(){return t(this,"big","","")}})},{108:108}],234:[function(t,e,n){"use strict";t(108)("blink",function(t){return function(){return t(this,"blink","","")}})},{108:108}],235:[function(t,e,n){"use strict";t(108)("bold",function(t){return function(){return t(this,"b","","")}})},{108:108}],236:[function(t,e,n){"use strict";var i=t(33),r=t(106)(!1);i(i.P,"String",{codePointAt:function(t){return r(this,t)}})},{106:106,33:33}],237:[function(t,e,n){"use strict";var i=t(33),a=t(118),l=t(107),u="".endsWith;i(i.P+i.F*t(34)("endsWith"),"String",{endsWith:function(t,e){var n=l(this,t,"endsWith"),i=1<arguments.length?e:void 0,r=a(n.length),o=void 0===i?r:Math.min(a(i),r),s=String(t);return u?u.call(n,s,o):n.slice(o-s.length,o)===s}})},{107:107,118:118,33:33,34:34}],238:[function(t,e,n){"use strict";t(108)("fixed",function(t){return function(){return t(this,"tt","","")}})},{108:108}],239:[function(t,e,n){"use strict";t(108)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},{108:108}],240:[function(t,e,n){"use strict";t(108)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},{108:108}],241:[function(t,e,n){var i=t(33),o=t(114),s=String.fromCharCode,r=String.fromCodePoint;i(i.S+i.F*(!!r&&1!=r.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,r=0;r<i;){if(e=+arguments[r++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?s(e):s(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},{114:114,33:33}],242:[function(t,e,n){"use strict";var i=t(33),r=t(107);i(i.P+i.F*t(34)("includes"),"String",{includes:function(t,e){return!!~r(this,t,"includes").indexOf(t,1<arguments.length?e:void 0)}})},{107:107,33:33,34:34}],243:[function(t,e,n){"use strict";t(108)("italics",function(t){return function(){return t(this,"i","","")}})},{108:108}],244:[function(t,e,n){"use strict";var i=t(106)(!0);t(55)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},{106:106,55:55}],245:[function(t,e,n){"use strict";t(108)("link",function(e){return function(t){return e(this,"a","href",t)}})},{108:108}],246:[function(t,e,n){var i=t(33),s=t(117),a=t(118);i(i.S,"String",{raw:function(t){for(var e=s(t.raw),n=a(e.length),i=arguments.length,r=[],o=0;o<n;)r.push(String(e[o++])),o<i&&r.push(String(arguments[o]));return r.join("")}})},{117:117,118:118,33:33}],247:[function(t,e,n){var i=t(33);i(i.P,"String",{repeat:t(110)})},{110:110,33:33}],248:[function(t,e,n){"use strict";t(108)("small",function(t){return function(){return t(this,"small","","")}})},{108:108}],249:[function(t,e,n){"use strict";var i=t(33),o=t(118),s=t(107),a="".startsWith;i(i.P+i.F*t(34)("startsWith"),"String",{startsWith:function(t,e){var n=s(this,t,"startsWith"),i=o(Math.min(1<arguments.length?e:void 0,n.length)),r=String(t);return a?a.call(n,r,i):n.slice(i,i+r.length)===r}})},{107:107,118:118,33:33,34:34}],250:[function(t,e,n){"use strict";t(108)("strike",function(t){return function(){return t(this,"strike","","")}})},{108:108}],251:[function(t,e,n){"use strict";t(108)("sub",function(t){return function(){return t(this,"sub","","")}})},{108:108}],252:[function(t,e,n){"use strict";t(108)("sup",function(t){return function(){return t(this,"sup","","")}})},{108:108}],253:[function(t,e,n){"use strict";t(111)("trim",function(t){return function(){return t(this,3)}})},{111:111}],254:[function(t,e,n){"use strict";function i(t){var e=q[t]=O(j.prototype);return e._k=t,e}function r(t,e){x(t);for(var n,i=S(e=E(e)),r=0,o=i.length;r<o;)Q(t,n=i[r++],e[n]);return t}function o(t){var e=W.call(this,t=C(t,!0));return!(this===G&&c(q,t)&&!c(z,t))&&(!(e||!c(this,t)||!c(q,t)||c(this,H)&&this[H][t])||e)}function s(t,e){if(t=E(t),e=C(e,!0),t!==G||!c(q,e)||c(z,e)){var n=M(t,e);return!n||!c(q,e)||c(t,H)&&t[H][e]||(n.enumerable=!0),n}}function a(t){for(var e,n=N(E(t)),i=[],r=0;n.length>r;)c(q,e=n[r++])||e==H||e==p||i.push(e);return i}function l(t){for(var e,n=t===G,i=N(n?z:E(t)),r=[],o=0;i.length>o;)!c(q,e=i[o++])||n&&!c(G,e)||r.push(q[e]);return r}var u=t(40),c=t(41),h=t(29),f=t(33),d=t(94),p=t(66).KEY,g=t(35),v=t(103),m=t(101),y=t(124),A=t(128),w=t(127),b=t(126),_=t(59),S=t(32),T=t(49),x=t(7),E=t(117),C=t(120),k=t(92),O=t(71),R=t(76),P=t(75),I=t(72),L=t(81),M=P.f,D=I.f,N=R.f,j=u.Symbol,V=u.JSON,F=V&&V.stringify,H=A("_hidden"),U=A("toPrimitive"),W={}.propertyIsEnumerable,B=v("symbol-registry"),q=v("symbols"),z=v("op-symbols"),G=Object.prototype,X="function"==typeof j,Y=u.QObject,J=!Y||!Y.prototype||!Y.prototype.findChild,K=h&&g(function(){return 7!=O(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=M(G,e);i&&delete G[e],D(t,e,n),i&&t!==G&&D(G,e,i)}:D,$=X&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},Q=function(t,e,n){return t===G&&Q(z,e,n),x(t),e=C(e,!0),x(n),c(q,e)?(n.enumerable?(c(t,H)&&t[H][e]&&(t[H][e]=!1),n=O(n,{enumerable:k(0,!1)})):(c(t,H)||D(t,H,k(1,{})),t[H][e]=!0),K(t,e,n)):D(t,e,n)};X||(d((j=function(t){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=y(0<arguments.length?t:void 0),n=function(t){this===G&&n.call(z,t),c(this,H)&&c(this[H],e)&&(this[H][e]=!1),K(this,e,k(1,t))};return h&&J&&K(G,e,{configurable:!0,set:n}),i(e)}).prototype,"toString",function(){return this._k}),P.f=s,I.f=Q,t(77).f=R.f=a,t(82).f=o,t(78).f=l,h&&!t(60)&&d(G,"propertyIsEnumerable",o,!0),w.f=function(t){return i(A(t))}),f(f.G+f.W+f.F*!X,{Symbol:j});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)A(Z[tt++]);for(var et=L(A.store),nt=0;et.length>nt;)b(et[nt++]);f(f.S+f.F*!X,"Symbol",{for:function(t){return c(B,t+="")?B[t]:B[t]=j(t)},keyFor:function(t){if($(t))return _(B,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,"Object",{create:function(t,e){return void 0===e?O(t):r(O(t),e)},defineProperty:Q,defineProperties:r,getOwnPropertyDescriptor:s,getOwnPropertyNames:a,getOwnPropertySymbols:l}),V&&f(f.S+f.F*(!X||g(function(){var t=j();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!$(t)){for(var e,n,i=[t],r=1;r<arguments.length;)i.push(arguments[r++]);return"function"==typeof(e=i[1])&&(n=e),!n&&T(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!$(e))return e}),i[1]=e,F.apply(V,i)}}}),j.prototype[U]||t(42)(j.prototype,U,j.prototype.valueOf),m(j,"Symbol"),m(Math,"Math",!0),m(u.JSON,"JSON",!0)},{101:101,103:103,117:117,120:120,124:124,126:126,127:127,128:128,29:29,32:32,33:33,35:35,40:40,41:41,42:42,49:49,59:59,60:60,66:66,7:7,71:71,72:72,75:75,76:76,77:77,78:78,81:81,82:82,92:92,94:94}],255:[function(t,e,n){"use strict";var i=t(33),r=t(123),o=t(122),u=t(7),c=t(114),h=t(118),s=t(51),a=t(40).ArrayBuffer,f=t(104),d=o.ArrayBuffer,p=o.DataView,l=r.ABV&&a.isView,g=d.prototype.slice,v=r.VIEW;i(i.G+i.W+i.F*(a!==d),{ArrayBuffer:d}),i(i.S+i.F*!r.CONSTR,"ArrayBuffer",{isView:function(t){return l&&l(t)||s(t)&&v in t}}),i(i.P+i.U+i.F*t(35)(function(){return!new d(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(u(this),t);for(var n=u(this).byteLength,i=c(t,n),r=c(void 0===e?n:e,n),o=new(f(this,d))(h(r-i)),s=new p(this),a=new p(o),l=0;i<r;)a.setUint8(l++,s.getUint8(i++));return o}}),t(100)("ArrayBuffer")},{100:100,104:104,114:114,118:118,122:122,123:123,33:33,35:35,40:40,51:51,7:7}],256:[function(t,e,n){var i=t(33);i(i.G+i.W+i.F*!t(123).ABV,{DataView:t(122).DataView})},{122:122,123:123,33:33}],257:[function(t,e,n){t(121)("Float32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],258:[function(t,e,n){t(121)("Float64",8,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],259:[function(t,e,n){t(121)("Int16",2,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],260:[function(t,e,n){t(121)("Int32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],261:[function(t,e,n){t(121)("Int8",1,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],262:[function(t,e,n){t(121)("Uint16",2,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],263:[function(t,e,n){t(121)("Uint32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],264:[function(t,e,n){t(121)("Uint8",1,function(i){return function(t,e,n){return i(this,t,e,n)}})},{121:121}],265:[function(t,e,n){t(121)("Uint8",1,function(i){return function(t,e,n){return i(this,t,e,n)}},!0)},{121:121}],266:[function(t,e,n){"use strict";function i(e){return function(t){return e(this,0<arguments.length?t:void 0)}}var o,r=t(12)(0),s=t(94),a=t(66),l=t(70),u=t(21),c=t(51),h=t(35),f=t(125),d=a.getWeak,p=Object.isExtensible,g=u.ufstore,v={},m={get:function(t){if(c(t)){var e=d(t);return!0===e?g(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,"WeakMap"),t,e)}},y=e.exports=t(22)("WeakMap",i,m,u,!0,!0);h(function(){return 7!=(new y).set((Object.freeze||Object)(v),7).get(v)})&&(l((o=u.getConstructor(i,"WeakMap")).prototype,m),a.NEED=!0,r(["delete","has","get","set"],function(i){var t=y.prototype,r=t[i];s(t,i,function(t,e){if(!c(t)||p(t))return r.call(this,t,e);this._f||(this._f=new o);var n=this._f[i](t,e);return"set"==i?this:n})}))},{12:12,125:125,21:21,22:22,35:35,51:51,66:66,70:70,94:94}],267:[function(t,e,n){"use strict";var i=t(21),r=t(125);t(22)("WeakSet",function(e){return function(t){return e(this,0<arguments.length?t:void 0)}},{add:function(t){return i.def(r(this,"WeakSet"),t,!0)}},i,!1,!0)},{125:125,21:21,22:22}],268:[function(t,e,n){"use strict";var i=t(33),o=t(38),s=t(119),a=t(118),l=t(3),u=t(15);i(i.P,"Array",{flatMap:function(t,e){var n,i,r=s(this);return l(t),n=a(r.length),i=u(r,0),o(i,r,r,n,0,1,t,e),i}}),t(5)("flatMap")},{118:118,119:119,15:15,3:3,33:33,38:38,5:5}],269:[function(t,e,n){"use strict";var i=t(33),o=t(38),s=t(119),a=t(118),l=t(116),u=t(15);i(i.P,"Array",{flatten:function(t){var e=t,n=s(this),i=a(n.length),r=u(n,0);return o(r,n,n,i,0,void 0===e?1:l(e)),r}}),t(5)("flatten")},{116:116,118:118,119:119,15:15,33:33,38:38,5:5}],270:[function(t,e,n){"use strict";var i=t(33),r=t(11)(!0);i(i.P,"Array",{includes:function(t,e){return r(this,t,1<arguments.length?e:void 0)}}),t(5)("includes")},{11:11,33:33,5:5}],271:[function(t,e,n){var i=t(33),r=t(68)(),o=t(40).process,s="process"==t(18)(o);i(i.G,{asap:function(t){var e=s&&o.domain;r(e?e.bind(t):t)}})},{18:18,33:33,40:40,68:68}],272:[function(t,e,n){var i=t(33),r=t(18);i(i.S,"Error",{isError:function(t){return"Error"===r(t)}})},{18:18,33:33}],273:[function(t,e,n){var i=t(33);i(i.G,{global:t(40)})},{33:33,40:40}],274:[function(t,e,n){t(97)("Map")},{97:97}],275:[function(t,e,n){t(98)("Map")},{98:98}],276:[function(t,e,n){var i=t(33);i(i.P+i.R,"Map",{toJSON:t(20)("Map")})},{20:20,33:33}],277:[function(t,e,n){var i=t(33);i(i.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},{33:33}],278:[function(t,e,n){var i=t(33);i(i.S,"Math",{DEG_PER_RAD:Math.PI/180})},{33:33}],279:[function(t,e,n){var i=t(33),r=180/Math.PI;i(i.S,"Math",{degrees:function(t){return t*r}})},{33:33}],280:[function(t,e,n){var i=t(33),o=t(64),s=t(62);i(i.S,"Math",{fscale:function(t,e,n,i,r){return s(o(t,e,n,i,r))}})},{33:33,62:62,64:64}],281:[function(t,e,n){var i=t(33);i(i.S,"Math",{iaddh:function(t,e,n,i){var r=t>>>0,o=n>>>0;return(e>>>0)+(i>>>0)+((r&o|(r|o)&~(r+o>>>0))>>>31)|0}})},{33:33}],282:[function(t,e,n){var i=t(33);i(i.S,"Math",{imulh:function(t,e){var n=+t,i=+e,r=65535&n,o=65535&i,s=n>>16,a=i>>16,l=(s*o>>>0)+(r*o>>>16);return s*a+(l>>16)+((r*a>>>0)+(65535&l)>>16)}})},{33:33}],283:[function(t,e,n){var i=t(33);i(i.S,"Math",{isubh:function(t,e,n,i){var r=t>>>0,o=n>>>0;return(e>>>0)-(i>>>0)-((~r&o|~(r^o)&r-o>>>0)>>>31)|0}})},{33:33}],284:[function(t,e,n){var i=t(33);i(i.S,"Math",{RAD_PER_DEG:180/Math.PI})},{33:33}],285:[function(t,e,n){var i=t(33),r=Math.PI/180;i(i.S,"Math",{radians:function(t){return t*r}})},{33:33}],286:[function(t,e,n){var i=t(33);i(i.S,"Math",{scale:t(64)})},{33:33,64:64}],287:[function(t,e,n){var i=t(33);i(i.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:0<t}})},{33:33}],288:[function(t,e,n){var i=t(33);i(i.S,"Math",{umulh:function(t,e){var n=+t,i=+e,r=65535&n,o=65535&i,s=n>>>16,a=i>>>16,l=(s*o>>>0)+(r*o>>>16);return s*a+(l>>>16)+((r*a>>>0)+(65535&l)>>>16)}})},{33:33}],289:[function(t,e,n){"use strict";var i=t(33),r=t(119),o=t(3),s=t(72);t(29)&&i(i.P+t(74),"Object",{__defineGetter__:function(t,e){s.f(r(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},{119:119,29:29,3:3,33:33,72:72,74:74}],290:[function(t,e,n){"use strict";var i=t(33),r=t(119),o=t(3),s=t(72);t(29)&&i(i.P+t(74),"Object",{__defineSetter__:function(t,e){s.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},{119:119,29:29,3:3,33:33,72:72,74:74}],291:[function(t,e,n){var i=t(33),r=t(84)(!0);i(i.S,"Object",{entries:function(t){return r(t)}})},{33:33,84:84}],292:[function(t,e,n){var i=t(33),l=t(85),u=t(117),c=t(75),h=t(24);i(i.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,i=u(t),r=c.f,o=l(i),s={},a=0;o.length>a;)void 0!==(n=r(i,e=o[a++]))&&h(s,e,n);return s}})},{117:117,24:24,33:33,75:75,85:85}],293:[function(t,e,n){"use strict";var i=t(33),r=t(119),o=t(120),s=t(79),a=t(75).f;t(29)&&i(i.P+t(74),"Object",{__lookupGetter__:function(t){var e,n=r(this),i=o(t,!0);do{if(e=a(n,i))return e.get}while(n=s(n))}})},{119:119,120:120,29:29,33:33,74:74,75:75,79:79}],294:[function(t,e,n){"use strict";var i=t(33),r=t(119),o=t(120),s=t(79),a=t(75).f;t(29)&&i(i.P+t(74),"Object",{__lookupSetter__:function(t){var e,n=r(this),i=o(t,!0);do{if(e=a(n,i))return e.set}while(n=s(n))}})},{119:119,120:120,29:29,33:33,74:74,75:75,79:79}],295:[function(t,e,n){var i=t(33),r=t(84)(!1);i(i.S,"Object",{values:function(t){return r(t)}})},{33:33,84:84}],296:[function(t,e,n){"use strict";function r(t){return null==t?void 0:d(t)}function o(t){var e=t._c;e&&(t._c=void 0,e())}function s(t){return void 0===t._o}function a(t){s(t)||(t._o=void 0,o(t))}function i(t,e){p(t),this._c=void 0,this._o=t,t=new w(this);try{var n=e(t),i=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){i.unsubscribe()}:d(n),this._c=n)}catch(e){return void t.error(e)}s(this)&&o(this)}var l=t(33),u=t(40),c=t(23),h=t(68)(),f=t(128)("observable"),d=t(3),p=t(7),g=t(6),v=t(93),m=t(42),y=t(39),A=y.RETURN;i.prototype=v({},{unsubscribe:function(){a(this)}});var w=function(t){this._s=t};w.prototype=v({},{next:function(t){var e=this._s;if(!s(e)){var n=e._o;try{var i=r(n.next);if(i)return i.call(n,t)}catch(t){try{a(e)}finally{throw t}}}},error:function(t){var e=this._s;if(s(e))throw t;var n=e._o;e._o=void 0;try{var i=r(n.error);if(!i)throw t;t=i.call(n,t)}catch(t){try{o(e)}finally{throw t}}return o(e),t},complete:function(t){var e=this._s;if(!s(e)){var n=e._o;e._o=void 0;try{var i=r(n.complete);t=i?i.call(n,t):void 0}catch(t){try{o(e)}finally{throw t}}return o(e),t}}});var b=function(t){g(this,b,"Observable","_f")._f=d(t)};v(b.prototype,{subscribe:function(t){return new i(t,this._f)},forEach:function(i){var r=this;return new(c.Promise||u.Promise)(function(t,e){d(i);var n=r.subscribe({next:function(t){try{return i(t)}catch(t){e(t),n.unsubscribe()}},error:e,complete:t})})}}),v(b,{from:function(t){var e="function"==typeof this?this:b,n=r(p(t)[f]);if(n){var i=p(n.call(t));return i.constructor===e?i:new e(function(t){return i.subscribe(t)})}return new e(function(e){var n=!1;return h(function(){if(!n){try{if(y(t,!1,function(t){if(e.next(t),n)return A})===A)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,i=Array(e);t<e;)i[t]=arguments[t++];return new("function"==typeof this?this:b)(function(e){var n=!1;return h(function(){if(!n){for(var t=0;t<i.length;++t)if(e.next(i[t]),n)return;e.complete()}}),function(){n=!0}})}}),m(b.prototype,f,function(){return this}),l(l.G,{Observable:b}),t(100)("Observable")},{100:100,128:128,23:23,3:3,33:33,39:39,40:40,42:42,6:6,68:68,7:7,93:93}],297:[function(t,e,n){"use strict";var i=t(33),r=t(23),o=t(40),s=t(104),a=t(91);i(i.P+i.R,"Promise",{finally:function(e){var n=s(this,r.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return a(n,e()).then(function(){return t})}:e,t?function(t){return a(n,e()).then(function(){throw t})}:e)}})},{104:104,23:23,33:33,40:40,91:91}],298:[function(t,e,n){"use strict";var i=t(33),r=t(69),o=t(90);i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},{33:33,69:69,90:90}],299:[function(t,e,n){var i=t(67),r=t(7),o=i.key,s=i.set;i.exp({defineMetadata:function(t,e,n,i){s(t,e,r(n),o(i))}})},{67:67,7:7}],300:[function(t,e,n){var i=t(67),s=t(7),a=i.key,l=i.map,u=i.store;i.exp({deleteMetadata:function(t,e,n){var i=arguments.length<3?void 0:a(n),r=l(s(e),i,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var o=u.get(e);return o.delete(i),!!o.size||u.delete(e)}})},{67:67,7:7}],301:[function(t,e,n){var o=t(231),s=t(10),i=t(67),r=t(7),a=t(79),l=i.keys,u=i.key,c=function(t,e){var n=l(t,e),i=a(t);if(null===i)return n;var r=c(i,e);return r.length?n.length?s(new o(n.concat(r))):r:n};i.exp({getMetadataKeys:function(t,e){return c(r(t),arguments.length<2?void 0:u(e))}})},{10:10,231:231,67:67,7:7,79:79}],302:[function(t,e,n){var i=t(67),r=t(7),o=t(79),s=i.has,a=i.get,l=i.key,u=function(t,e,n){if(s(t,e,n))return a(t,e,n);var i=o(e);return null!==i?u(t,i,n):void 0};i.exp({getMetadata:function(t,e,n){return u(t,r(e),arguments.length<3?void 0:l(n))}})},{67:67,7:7,79:79}],303:[function(t,e,n){var i=t(67),r=t(7),o=i.keys,s=i.key;i.exp({getOwnMetadataKeys:function(t,e){return o(r(t),arguments.length<2?void 0:s(e))}})},{67:67,7:7}],304:[function(t,e,n){var i=t(67),r=t(7),o=i.get,s=i.key;i.exp({getOwnMetadata:function(t,e,n){return o(t,r(e),arguments.length<3?void 0:s(n))}})},{67:67,7:7}],305:[function(t,e,n){var i=t(67),r=t(7),o=t(79),s=i.has,a=i.key,l=function(t,e,n){if(s(t,e,n))return!0;var i=o(e);return null!==i&&l(t,i,n)};i.exp({hasMetadata:function(t,e,n){return l(t,r(e),arguments.length<3?void 0:a(n))}})},{67:67,7:7,79:79}],306:[function(t,e,n){var i=t(67),r=t(7),o=i.has,s=i.key;i.exp({hasOwnMetadata:function(t,e,n){return o(t,r(e),arguments.length<3?void 0:s(n))}})},{67:67,7:7}],307:[function(t,e,n){var i=t(67),r=t(7),o=t(3),s=i.key,a=i.set;i.exp({metadata:function(n,i){return function(t,e){a(n,i,(void 0!==e?r:o)(t),s(e))}}})},{3:3,67:67,7:7}],308:[function(t,e,n){t(97)("Set")},{97:97}],309:[function(t,e,n){t(98)("Set")},{98:98}],310:[function(t,e,n){var i=t(33);i(i.P+i.R,"Set",{toJSON:t(20)("Set")})},{20:20,33:33}],311:[function(t,e,n){"use strict";var i=t(33),r=t(106)(!0);i(i.P,"String",{at:function(t){return r(this,t)}})},{106:106,33:33}],312:[function(t,e,n){"use strict";function r(t,e){this._r=t,this._s=e}var i=t(33),o=t(28),s=t(118),a=t(52),l=t(37),u=RegExp.prototype;t(54)(r,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),i(i.P,"String",{matchAll:function(t){if(o(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in u?String(t.flags):l.call(t),i=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return i.lastIndex=s(t.lastIndex),new r(i,e)}})},{118:118,28:28,33:33,37:37,52:52,54:54}],313:[function(t,e,n){"use strict";var i=t(33),r=t(109);i(i.P,"String",{padEnd:function(t,e){return r(this,t,1<arguments.length?e:void 0,!1)}})},{109:109,33:33}],314:[function(t,e,n){"use strict";var i=t(33),r=t(109);i(i.P,"String",{padStart:function(t,e){return r(this,t,1<arguments.length?e:void 0,!0)}})},{109:109,33:33}],315:[function(t,e,n){"use strict";t(111)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},{111:111}],316:[function(t,e,n){"use strict";t(111)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},{111:111}],317:[function(t,e,n){t(126)("asyncIterator")},{126:126}],318:[function(t,e,n){t(126)("observable")},{126:126}],319:[function(t,e,n){var i=t(33);i(i.S,"System",{global:t(40)})},{33:33,40:40}],320:[function(t,e,n){t(97)("WeakMap")},{97:97}],321:[function(t,e,n){t(98)("WeakMap")},{98:98}],322:[function(t,e,n){t(97)("WeakSet")},{97:97}],323:[function(t,e,n){t(98)("WeakSet")},{98:98}],324:[function(t,e,n){for(var i=t(141),r=t(81),o=t(94),s=t(40),a=t(42),l=t(58),u=t(128),c=u("iterator"),h=u("toStringTag"),f=l.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(d),g=0;g<p.length;g++){var v,m=p[g],y=d[m],A=s[m],w=A&&A.prototype;if(w&&(w[c]||a(w,c,f),w[h]||a(w,h,m),l[m]=f,y))for(v in i)w[v]||o(w,v,i[v],!0)}},{128:128,141:141,40:40,42:42,58:58,81:81,94:94}],325:[function(t,e,n){var i=t(33),r=t(113);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},{113:113,33:33}],326:[function(t,e,n){function i(n){return u?function(t,e){return n(s(a,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),e)}:n}var r=t(40),o=t(33),s=t(46),a=t(88),l=r.navigator,u=!!l&&/MSIE .\./.test(l.userAgent);o(o.G+o.B+o.F*u,{setTimeout:i(r.setTimeout),setInterval:i(r.setInterval)})},{33:33,40:40,46:46,88:88}],327:[function(t,e,n){t(254),t(191),t(193),t(192),t(195),t(197),t(202),t(196),t(194),t(204),t(203),t(199),t(200),t(198),t(190),t(201),t(205),t(206),t(157),t(159),t(158),t(208),t(207),t(178),t(188),t(189),t(179),t(180),t(181),t(182),t(183),t(184),t(185),t(186),t(187),t(161),t(162),t(163),t(164),t(165),t(166),t(167),t(168),t(169),t(170),t(171),t(172),t(173),t(174),t(175),t(176),t(177),t(241),t(246),t(253),t(244),t(236),t(237),t(242),t(247),t(249),t(232),t(233),t(234),t(235),t(238),t(239),t(240),t(243),t(245),t(248),t(250),t(251),t(252),t(152),t(154),t(153),t(156),t(155),t(140),t(138),t(145),t(142),t(148),t(150),t(137),t(144),t(134),t(149),t(132),t(147),t(146),t(139),t(143),t(131),t(133),t(136),t(135),t(151),t(141),t(224),t(230),t(225),t(226),t(227),t(228),t(229),t(209),t(160),t(231),t(266),t(267),t(255),t(256),t(261),t(264),t(265),t(259),t(262),t(260),t(263),t(257),t(258),t(210),t(211),t(212),t(213),t(214),t(217),t(215),t(216),t(218),t(219),t(220),t(221),t(223),t(222),t(270),t(268),t(269),t(311),t(314),t(313),t(315),t(316),t(312),t(317),t(318),t(292),t(295),t(291),t(289),t(290),t(293),t(294),t(276),t(310),t(275),t(309),t(321),t(323),t(274),t(308),t(320),t(322),t(273),t(319),t(272),t(277),t(278),t(279),t(280),t(281),t(283),t(282),t(284),t(285),t(286),t(288),t(287),t(297),t(298),t(299),t(300),t(302),t(301),t(304),t(303),t(305),t(306),t(307),t(271),t(296),t(326),t(325),t(324),e.exports=t(23)},{131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:140,141:141,142:142,143:143,144:144,145:145,146:146,147:147,148:148,149:149,150:150,151:151,152:152,153:153,154:154,155:155,156:156,157:157,158:158,159:159,160:160,161:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,170:170,171:171,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,182:182,183:183,184:184,185:185,186:186,187:187,188:188,189:189,190:190,191:191,192:192,193:193,194:194,195:195,196:196,197:197,198:198,199:199,200:200,201:201,202:202,203:203,204:204,205:205,206:206,207:207,208:208,209:209,210:210,211:211,212:212,213:213,214:214,215:215,216:216,217:217,218:218,219:219,220:220,221:221,222:222,223:223,224:224,225:225,226:226,227:227,228:228,229:229,23:23,230:230,231:231,232:232,233:233,234:234,235:235,236:236,237:237,238:238,239:239,240:240,241:241,242:242,243:243,244:244,245:245,246:246,247:247,248:248,249:249,250:250,251:251,252:252,253:253,254:254,255:255,256:256,257:257,258:258,259:259,260:260,261:261,262:262,263:263,264:264,265:265,266:266,267:267,268:268,269:269,270:270,271:271,272:272,273:273,274:274,275:275,276:276,277:277,278:278,279:279,280:280,281:281,282:282,283:283,284:284,285:285,286:286,287:287,288:288,289:289,290:290,291:291,292:292,293:293,294:294,295:295,296:296,297:297,298:298,299:299,300:300,301:301,302:302,303:303,304:304,305:305,306:306,307:307,308:308,309:309,310:310,311:311,312:312,313:313,314:314,315:315,316:316,317:317,318:318,319:319,320:320,321:321,322:322,323:323,324:324,325:325,326:326}],328:[function(t,I,e){(function(t){!function(t){"use strict";function o(t,e,n,i){var o,s,a,l,r=e&&e.prototype instanceof f?e:f,u=Object.create(r.prototype),c=new p(i||[]);return u._invoke=(o=t,s=n,a=c,l=S,function(t,e){if(l===x)throw new Error("Generator is already running");if(l===E){if("throw"===t)throw e;return g()}for(a.method=t,a.arg=e;;){var n=a.delegate;if(n){var i=d(n,a);if(i){if(i===C)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===S)throw l=E,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=x;var r=h(o,s,a);if("normal"===r.type){if(l=a.done?E:T,r.arg===C)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=E,a.method="throw",a.arg=r.arg)}}),u}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function f(){}function n(){}function e(){}function i(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function s(a){function l(t,e,n,i){var r=h(a[t],a,e);if("throw"!==r.type){var o=r.arg,s=o.value;return s&&"object"==typeof s&&v.call(s,"__await")?Promise.resolve(s.__await).then(function(t){l("next",t,n,i)},function(t){l("throw",t,n,i)}):Promise.resolve(s).then(function(t){o.value=t,n(o)},i)}i(r.arg)}var e;"object"==typeof t.process&&t.process.domain&&(l=t.process.domain.bind(l)),this._invoke=function(n,i){function t(){return new Promise(function(t,e){l(n,i,t,e)})}return e=e?e.then(t,t):t()}}function d(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,d(t,e),"throw"===e.method))return C;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var i=h(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,C;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,C):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,C)}function r(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function a(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(r,this),this.reset(!0)}function l(e){if(e){var t=e[y];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return i.next=i}}return{next:g}}function g(){return{value:u,done:!0}}var u,c=Object.prototype,v=c.hasOwnProperty,m="function"==typeof Symbol?Symbol:{},y=m.iterator||"@@iterator",A=m.asyncIterator||"@@asyncIterator",w=m.toStringTag||"@@toStringTag",b="object"==typeof I,_=t.regeneratorRuntime;if(_)b&&(I.exports=_);else{(_=t.regeneratorRuntime=b?I.exports:{}).wrap=o;var S="suspendedStart",T="suspendedYield",x="executing",E="completed",C={},k={};k[y]=function(){return this};var O=Object.getPrototypeOf,R=O&&O(O(l([])));R&&R!==c&&v.call(R,y)&&(k=R);var P=e.prototype=f.prototype=Object.create(k);n.prototype=P.constructor=e,e.constructor=n,e[w]=n.displayName="GeneratorFunction",_.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))},_.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,e):(t.__proto__=e,w in t||(t[w]="GeneratorFunction")),t.prototype=Object.create(P),t},_.awrap=function(t){return{__await:t}},i(s.prototype),s.prototype[A]=function(){return this},_.AsyncIterator=s,_.async=function(t,e,n,i){var r=new s(o(t,e,n,i));return _.isGeneratorFunction(e)?r:r.next().then(function(t){return t.done?t.value:r.next()})},i(P),P[w]="Generator",P[y]=function(){return this},P.toString=function(){return"[object Generator]"},_.keys=function(n){var i=[];for(var t in n)i.push(t);return i.reverse(),function t(){for(;i.length;){var e=i.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},_.values=l,p.prototype={constructor:p,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(a),!t)for(var e in this)"t"===e.charAt(0)&&v.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){function t(t,e){return o.type="throw",o.arg=n,i.next=t,e&&(i.method="next",i.arg=u),!!e}if(this.done)throw n;for(var i=this,e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e],o=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var s=v.call(r,"catchLoc"),a=v.call(r,"finallyLoc");if(s&&a){if(this.prev<r.catchLoc)return t(r.catchLoc,!0);if(this.prev<r.finallyLoc)return t(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return t(r.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return t(r.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&v.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,C):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),C},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),a(n),C}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;a(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:l(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),C}}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])}).call(this,n(34))},function(t,e,n){"use strict";var i,r;i=[n(9),n(58)],void 0===(r=function(t,e){t.ajax=e}.apply(e,i))||(t.exports=r)},function(t,e,n){var i,r;void 0===(r="function"==typeof(i=function(){var p=function(){var n=/^(?:application|text)\/xml/;var i=/^application\/json/;var l=function(t,e){if(t==null)t=e.getResponseHeader("content-type");if(n.test(t)){return e.responseXML}else if(i.test(t)&&e.responseText!==""){return JSON.parse(e.responseText)}else{return e.responseText}};var u=function(t){return t.status>=200&&t.status<300||t.status===304||t.status===0&&window.location.protocol==="file:"};var f=function(i,r,o,s,a){return function(){d(i,o);if(i.readyState!==4)return;var t=i.status;var e=l(r.headers&&r.headers.Accept,i);if(u(i)){if(r.success)r.success(e);if(s)s(e)}else{var n=new Error("Server responded with a status of "+t);if(r.error)r.error(i,t,n);if(a)a(i)}}};var d=function(t,e){if(!e)return;var n=["readyState","status","statusText","responseText","responseXML","setRequestHeader","getAllResponseHeaders","getResponseHeader","statusCode","abort"];for(var i=0;i<n.length;i++){var r=n[i];try{e[r]=typeof t[r]==="function"?t[r].bind(t):t[r]}catch(t){console.log(t)}}return e};return function(t){if(t==null)throw new Error("You must provide options");if(t.type==null)t.type="GET";var n,i,e=new XMLHttpRequest;var r=p.Promise||typeof Promise!=="undefined"&&Promise;var o=r&&new r(function(t,e){n=t;i=e});if(t.contentType){if(t.headers==null)t.headers={};t.headers["Content-Type"]=t.contentType}if(t.type==="GET"&&typeof t.data==="object"){var s="";var a=function(t,e){return e==null?"":"&"+encodeURIComponent(t)+"="+encodeURIComponent(e)};for(var l in t.data){s+=a(l,t.data[l])}if(s){var u=t.url.indexOf("?")===-1?"?":"&";t.url+=u+s.substring(1)}}e.onreadystatechange=f(e,t,o,n,i);e.open(t.type,t.url,t.async!==false);if(!(t.headers&&t.headers.Accept)){var c="*/".concat("*");var h={"*":c,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"};e.setRequestHeader("Accept",t.dataType&&h[t.dataType]?h[t.dataType]+(t.dataType!=="*"?", "+c+"; q=0.01":""):h["*"])}if(t.headers)for(var l in t.headers){e.setRequestHeader(l,t.headers[l])}if(t.beforeSend)t.beforeSend(e);e.send(t.data);t.originalXhr=e;d(e,o);return o?o:e}}();return p})?i.call(e,n,e,t):i)||(t.exports=r)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var u="pending";return function(){var i=this,r=u,o=[],s=[],a=[],l=[];this.resolve=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return r===u&&(o=e,r="resolved",a.forEach(function(t){return t.apply(i,e)}),l=a=null),i},this.reject=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return r===u&&(s=e,r="rejected",l.forEach(function(t){return t.apply(i,e)}),l=a=null),i},this.state=function(){return r},this.then=function(t){return"resolved"===r?t.apply(i,o):r===u&&a.push(t),i},this.catch=function(t){return"rejected"===r?t.apply(i,s):r===u&&l.push(t),i},this.always=function(t){return i.then(t).catch(t)};var t={then:this.then,catch:this.catch,always:this.always,state:this.state};this.promise=function(){return t},Object.freeze(this)}}.call(e,n,e,t))||(t.exports=i)},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e,a){"use strict";var n;void 0===(n=function(t){function e(t,e){var n;return t=t||{},i.isArray(t)||(t=[t]),t=t.filter(i.isPlainObject),(n=i.extend.apply(i,t.map(o))).mixins=i(t).pluck("mixins").unshift(this.prototype.mixins).flatten().filter(i.isPlainObject).uniq().value(),r.mix(n),s.call(this,n,e)}var i=a(0),n=a(9),r=a(23),o=i.partialRight(i.omit,"mixins"),s=n.Model.extend;return"Model Collection View Router History".split(" ").forEach(function(t){n[t].extend=e}),e}.call(e,a,e,t))||(t.exports=n)},function(t,e,h){"use strict";var n;void 0===(n=function(t){var n,i,r,e=h(0),l=h(22),o=h(1),u=h(3),s=h(6),a=h(2),c=!1===window.globals.suppressAnalytics&&-1===window.location.protocol.indexOf("file");if(c){n=document.createElement("iframe"),i=function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}(),r=new s.Deferred;n.id="analytics-frame",n.src="analytics-frame.html#"+i,n.style.position="fixed",n.style.left="-1000px",n.style.top=0,window.addEventListener("message",function t(e){e.data.id===i&&("loaded"===e.data.message?r.resolve():"xhr sent"===e.data.message&&(document.body.removeChild(n),window.removeEventListener("message",t),i=n=null))}),document.body.appendChild(n)}return{initialize:function(t){e.bindAll(this,"onMounted"),this.confirmValidProps(),this.dfd=r,t.assetLib(),t.slideMap(),a.once(o.slide.HAS_MOUNTED,this.onMounted)},confirmValidProps:function(){this.hasValidProps=["productChannel","publishSource","aid","cid","playerVersion"].every(function(t){return null!=window.globals[t]})},onMounted:function(t){var e=Math.round(performance.now()),n=u.getPath(t,"props.model.parent.isMessageScene",!1),i=document.getElementById("font-test"),r=document.getElementById("font-test-download"),o=document.getElementById("font-test-default"),s=Math.floor(r.getComputedTextLength())!==Math.floor(o.getComputedTextLength()),a={os:[l.osname,l.osversion].join(" "),browser:[l.name,l.version].join(" "),playerVersion:window.globals.playerVersion,playerType:"HTML5-A",lmsPresent:window.globals.lmsPresent,tinCanPresent:window.globals.tinCanPresent,cmi5Present:window.globals.cmi5Present,aoSupport:window.globals.aoSupport,protocol:window.location.protocol.slice(0,-1),productChannel:window.globals.productChannel,publishSource:window.globals.publishSource,cid:window.globals.cid,timeToLoad:e,resumePrompt:n,canDownloadFonts:s};i.parentNode.removeChild(i),this.sendMessage("player_course_load",a)},sendMessage:function(t,e){c&&this.hasValidProps&&r.then(function(){n.contentWindow.postMessage({id:i,event:t,properties:e,aid:window.globals.aid},"*")})}}}.call(e,h,e,t))||(t.exports=n)},function(t,e){
/*!
 * VERSION: 1.11.8
 * DATE: 2014-05-13
 * UPDATES AND DOCS AT: http://www.greensock.com
 *
 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(c,h,f){function d(t){h.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,n,i=this.vars;for(n in i)e=i[n],v(e)&&-1!==e.join("").indexOf("{self}")&&(i[n]=this._swapSelfInParams(e));v(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)}function p(t){var e,n={};for(e in t)n[e]=t[e];return n}function r(t,e,n,i){t._timeline.pause(t._startTime),e&&e.apply(i||t._timeline,n||m)}var g=f._internals.isSelector,v=f._internals.isArray,m=[],s=window._gsDefine.globals,y=m.slice,t=d.prototype=new h;return d.version="1.11.8",t.constructor=d,t.kill()._gc=!1,t.to=function(t,e,n,i){var r=n.repeat&&s.TweenMax||f;return e?this.add(new r(t,e,n),i):this.set(t,n,i)},t.from=function(t,e,n,i){return this.add((n.repeat&&s.TweenMax||f).from(t,e,n),i)},t.fromTo=function(t,e,n,i,r){var o=i.repeat&&s.TweenMax||f;return e?this.add(o.fromTo(t,e,n,i),r):this.set(t,i,r)},t.staggerTo=function(t,e,n,i,r,o,s,a){var l,u=new d({onComplete:o,onCompleteParams:s,onCompleteScope:a,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=f.selector(t)||t),g(t)&&(t=y.call(t,0)),i=i||0,l=0;t.length>l;l++)n.startAt&&(n.startAt=p(n.startAt)),u.to(t[l],e,p(n),l*i);return this.add(u,r)},t.staggerFrom=function(t,e,n,i,r,o,s,a){return n.immediateRender=0!=n.immediateRender,n.runBackwards=!0,this.staggerTo(t,e,n,i,r,o,s,a)},t.staggerFromTo=function(t,e,n,i,r,o,s,a,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,this.staggerTo(t,e,i,r,o,s,a,l)},t.call=function(t,e,n,i){return this.add(f.delayedCall(0,t,e,n),i)},t.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new f(t,0,e),n)},d.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var n,i,r=new d(t),o=r._timeline;for(null==e&&(e=!0),o._remove(r,!0),r._startTime=0,r._rawPrevTime=r._time=r._totalTime=o._time,n=o._first;n;)i=n._next,e&&n instanceof f&&n.target===n.vars.onComplete||r.add(n,n._startTime-n._delay),n=i;return o.add(r,0),r},t.add=function(t,e,n,i){var r,o,s,a,l,u;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof c)){if(t instanceof Array||t&&t.push&&v(t)){for(n=n||"normal",i=i||0,r=e,o=t.length,s=0;s<o;s++)v(a=t[s])&&(a=new d({tweens:a})),this.add(a,r),"string"!=typeof a&&"function"!=typeof a&&("sequence"===n?r=a._startTime+a.totalDuration()/a._timeScale:"start"===n&&(a._startTime-=a.delay())),r+=i;return this._uncache(!0)}if("string"==typeof t)return this.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=f.delayedCall(0,t)}if(h.prototype.add.call(this,t,e),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(u=(l=this).rawTime()>t._startTime;l._timeline;)u&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},t.remove=function(t){if(t instanceof c)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&v(t)){for(var e=t.length;-1<--e;)this.remove(t[e]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},t._remove=function(t,e){h.prototype._remove.call(this,t,e);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},t.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},t.insert=t.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},t.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},t.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},t.addPause=function(t,e,n,i){return this.call(r,["{self}",e,n,i],this,t)},t.removeLabel=function(t){return delete this._labels[t],this},t.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},t._parseTimeOrLabel=function(t,e,n,i){var r;if(i instanceof c&&i.timeline===this)this.remove(i);else if(i&&(i instanceof Array||i.push&&v(i)))for(r=i.length;-1<--r;)i[r]instanceof c&&i[r].timeline===this&&this.remove(i[r]);if("string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-this.duration():0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(r=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=this.duration()+e:e:this._labels[t]+e;e=parseInt(t.charAt(r-1)+"1",10)*Number(t.substr(r+1)),t=1<r?this._parseTimeOrLabel(t.substr(0,r-1),0,n):this.duration()}return Number(t)+e},t.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},t.stop=function(){return this.paused(!0)},t.gotoAndPlay=function(t,e){return this.play(t,e)},t.gotoAndStop=function(t,e){return this.pause(t,e)},t.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var i,r,o,s,a,l=this._dirty?this.totalDuration():this._totalDuration,u=this._time,c=this._startTime,h=this._timeScale,f=this._paused;if(l<=t?(this._totalTime=this._time=l,this._reversed||this._hasPausedChild()||(r=!0,s="onComplete",0===this._duration&&(0===t||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(a=!0,1e-10<this._rawPrevTime&&(s="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=l+1e-4):t<1e-7?(this._totalTime=this._time=0,(0!==u||0===this._duration&&1e-10!==this._rawPrevTime&&(0<this._rawPrevTime||t<0&&0<=this._rawPrevTime))&&(s="onReverseComplete",r=this._reversed),t<0?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&this._first&&(a=!0),this._rawPrevTime=t):(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=0,this._initted||(a=!0))):this._totalTime=this._time=this._rawPrevTime=t,this._time!==u&&this._first||n||a){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==u&&0<t&&(this._active=!0),0===u&&this.vars.onStart&&0!==this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||m)),this._time>=u)for(i=this._first;i&&(o=i._next,!this._paused||f);)(i._active||i._startTime<=this._time&&!i._paused&&!i._gc)&&(i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=o;else for(i=this._last;i&&(o=i._prev,!this._paused||f);)(i._active||u>=i._startTime&&!i._paused&&!i._gc)&&(i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=o;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||m)),s&&(this._gc||c!==this._startTime&&h===this._timeScale||!(0===this._time||l>=this.totalDuration())||(r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||m)))}},t._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof d&&t._hasPausedChild())return!0;t=t._next}return!1},t.getChildren=function(t,e,n,i){i=i||-9999999999;for(var r=[],o=this._first,s=0;o;)i>o._startTime||(o instanceof f?!1!==e&&(r[s++]=o):(!1!==n&&(r[s++]=o),!1!==t&&(s=(r=r.concat(o.getChildren(!0,e,n))).length))),o=o._next;return r},t.getTweensOf=function(t,e){for(var n=f.getTweensOf(t),i=n.length,r=[],o=0;-1<--i;)(n[i].timeline===this||e&&this._contains(n[i]))&&(r[o++]=n[i]);return r},t._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},t.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},t._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;-1<--i;)n[i]._kill(t,e)&&(r=!0);return r},t.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;-1<--n;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},t.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},t._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return h.prototype._enabled.call(this,t,e)},t.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},t.totalDuration=function(t){if(arguments.length)return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this;if(this._dirty){for(var e,n,i=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):o=r._startTime,r._startTime<0&&!r._paused&&(i-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),i<(n=r._startTime+r._totalDuration/r._timeScale)&&(i=n),r=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration},t.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===c._rootFramesTimeline},t.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0)}),window._gsDefine&&window._gsQueue.pop()()},function(t,e,n){!function(){var t=this.Backbone;t=t||n(9);var i=Array.prototype.slice;function r(t,n){t.prototype[n]=function(){var t=arguments.length?"set":"get",e=i.call(arguments);return e.unshift(n),this[t].apply(this,e)}}t.Model.shorthandify=function(t){if(!(t=t||this.prototype.shorthand))return this;"string"==typeof t&&(t=[t]);for(var e=0,n=t.length;e<n;e++)r(this,t[e]);return this},e.shorthandify=t.Model.shorthandify}()},function(t,e,A){"use strict";var n;void 0===(n=function(t){var o,s,e,a=A(0),l=A(28),u=(A(40),A(27)),c=(A(11),A(1)),h=A(2),f=A(3),d=(A(15),A(5)),p=A(68),g=A(33),n=A(17),v=A(7).addBodyListener,m={},i=window.vInterfaceObject||window,y={mainWindow:null,updateTime:function(){var t=n.getCurrentWindowSlide();return null!=t&&u.tick(),this.getIsPlaying(t)||e},getIsPlaying:function(t){var e=this,n=t.getBaseLayer(),i=t.slideLayers().activeLayers,r=this.isLayerTimelinePlaying(n);return!r&&0<i.length&&(r=i.some(function(t){return e.isLayerTimelinePlaying(t)})),r},isLayerTimelinePlaying:function(t){return!t.getHasTimelineFinished()&&!t.getIsTimelinePaused()},nextSlide:function(){var t=o.shift();t&&h.trigger(c.request.NEXT_SLIDE,f.prefixWithPlayer(t))},pausePlayer:function(){h.trigger(c.detection.VISIBILITY_HIDDEN)},playPlayer:function(){h.trigger(c.detection.VISIBILITY_SHOWN)}},r={silenceActions:{trigger_next_slide:!1,close_player:!1},initialize:function(n,t){var e=f.parseParams();if("1"===e.automation&&(window.autoSpider=!0,this.silenceActions.trigger_next_slide=!0,this.silenceActions.close_player=!0),window.autoSpider){s=e.frametimems?parseFloat(e.frametimems):33.33,v("mousedown",this.onPlayerClicked.bind(this)),v("touchstart",this.onPlayerClicked.bind(this)),window.g_nWidth=t.display().width(),window.g_nHeight=t.display().height(),"1"===e.overrideclock&&(l.prototype.play=a.noop,u.overrideClock(s),this.clockIsOverridden=!0,h.on(c.video.STATE_CHANGED,this.onVideoEvent.bind(this)));o=a(t.slideMap().slideRefs().where({type:"slide"})).pluck("id").filter(function(t){return!/^MsgScene|^PromptScene/.test(t)}).tap(function(t){t.forEach(function(t){var e=n.getSlide(f.prefixWithPlayer(t)).get("showAnimationId");null!=e&&(m[e]=t)})}).rest().value();var i={playerTime:0,type:"dark-spider",AdvanceFrame:function(){return y.updateTime()},AutoUpdateTime:function(){u.tick()},UpdateAutomationTime:function(t){var e=u.frameTimeMs;u.frameTimeMs=t-u.currentTime,u.tick(),u.frameTimeMs=e},TriggerNextSlide:function(){y.nextSlide()},TriggerPause:function(){d.env.is360&&y.pausePlayer()},TriggerPlay:function(){d.env.is360&&y.playPlayer()},CaptureSlideImage:function(){return p.generate()},GetCourseStateData:function(){return g.getState()},GetTargetDuration:function(t){var e=m[t];return e?n.getSlide(f.prefixWithPlayer(e)).getTransitionAnimation().duration():n.getSlide(f.prefixWithPlayer(t)).getBaseLayer().timeline().duration()}};this.getPlayer=function(){return i},a.bindAll(this,"onSlideStarted","onSlideTransition","onNextSlideRequesting","onMainWindowCreated","onEnterFullscreen","onExitFullscreen","onLoaderShown","onLoaderHidden","onTincanStatement","onPlayButtonShown");var r={};r[c.slide.STARTED]=this.onSlideStarted,r[c.slide.TRANSITION_STARTED]=this.onSlideTransition,r[c.layer.TIMELINE_ACTIVATED]=this.onLayerTimelineActivated,r[c.loader.SHOW]=this.onLoaderShown,r[c.loader.HIDE]=this.onLoaderHidden,r[c.window.MAIN_CREATED]=this.onMainWindowCreated,r[c.request.NEXT_SLIDE]=this.onNextSlideRequesting,r[c.presentation.ENTER_FULLSCREEN]=this.onEnterFullscreen,r[c.presentation.EXIT_FULLSCREEN]=this.onExitFullscreen,r[c.startOverlay.READY]=this.onPlayButtonShown,d.env.isRise&&(r[c.tincan.STATEMENT]=this.onTincanStatement),h.on(r)}},onPlayerClicked:function(){this.callIfExists("OnPlayerClicked")},onEnterFullscreen:function(){this.callIfExists("OnEnterFullscreen")},onExitFullscreen:function(){this.callIfExists("OnExitFullscreen")},onMainWindowCreated:function(t){y.mainWindow=t,this.callIfExists("AutomationReady")},onSlideTransition:function(t,e,n){this.callIfExists("OnSlideTransition",t,e,n)},onSlideStarted:function(t){e=!1,this.callIfExists("OnSlideStarted",t)},onMediaStarted:function(t){this.callIfExists("OnMediaStarted",t)},onNextSlideRequesting:function(){e=!0,this.callIfExists("OnNextSlideRequesting")},onPlayButtonShown:function(){this.callIfExists("OnPlayButtonShown")},onLoaderShown:function(){this.callIfExists("OnLoaderShown")},onLoaderHidden:function(){this.callIfExists("OnLoaderHidden")},onVideoEvent:function(t,e,n){this.callIfExists("OnVideoEvent",t,e,n)},onTincanStatement:function(t){this.callIfExists("LmsUpdate",t)},onLayerTimelineActivated:function(t){if(t.isBaseLayer()){var e=t.getClosestAncestorByKind("slide").absoluteId;r.onSlideStarted(f.stripPlayer(e))}},callIfExists:function(t){var e=i[t];"function"==typeof e&&e.apply(i,a.rest(arguments))}};return r}.call(e,A,e,t))||(t.exports=n)},function(t,e){!function(){function t(t,e){return[].slice.call((e||document).querySelectorAll(t))}if(window.addEventListener){var c=window.StyleFix={link:function(n){try{if("stylesheet"!==n.rel||n.hasAttribute("data-noprefix"))return}catch(t){return}var e,i=n.href||n.getAttribute("data-href"),r=i.replace(/[^\/]+$/,""),o=(/^[a-z]{3,10}:/.exec(r)||[""])[0],s=(/^[a-z]{3,10}:\/\/[^\/]+/.exec(r)||[""])[0],a=/^([^?]*)\??/.exec(i)[1],l=n.parentNode,u=new XMLHttpRequest;u.onreadystatechange=function(){4===u.readyState&&e()},e=function(){if((t=u.responseText)&&n.parentNode&&(!u.status||u.status<400||600<u.status)){if(t=c.fix(t,!0,n),r){var t=t.replace(/url\(\s*?((?:"|')?)(.+?)\1\s*?\)/gi,function(t,e,n){return/^([a-z]{3,10}:|#)/i.test(n)?t:/^\/\//.test(n)?'url("'+o+n+'")':/^\//.test(n)?'url("'+s+n+'")':/^\?/.test(n)?'url("'+a+n+'")':'url("'+r+n+'")'}),e=r.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1");t=t.replace(RegExp("\\b(behavior:\\s*?url\\('?\"?)"+e,"gi"),"$1")}(e=document.createElement("style")).textContent=t,e.media=n.media,e.disabled=n.disabled,e.setAttribute("data-href",n.getAttribute("href")),l.insertBefore(e,n),l.removeChild(n),e.media=n.media}};try{u.open("GET",i),u.send(null)}catch(t){"undefined"!=typeof XDomainRequest&&((u=new XDomainRequest).onerror=u.onprogress=function(){},u.onload=e,u.open("GET",i),u.send(null))}n.setAttribute("data-inprogress","")},styleElement:function(t){if(!t.hasAttribute("data-noprefix")){var e=t.disabled;t.textContent=c.fix(t.textContent,!0,t),t.disabled=e}},styleAttribute:function(t){var e=t.getAttribute("style");e=c.fix(e,!1,t);t.setAttribute("style",e)},process:function(){t('link[rel="stylesheet"]:not([data-inprogress])').forEach(StyleFix.link),t("style").forEach(StyleFix.styleElement),t("[style]").forEach(StyleFix.styleAttribute)},register:function(t,e){(c.fixers=c.fixers||[]).splice(void 0===e?c.fixers.length:e,0,t)},fix:function(t,e,n){for(var i=0;i<c.fixers.length;i++)t=c.fixers[i](t,e,n)||t;return t},camelCase:function(t){return t.replace(/-([a-z])/g,function(t,e){return e.toUpperCase()}).replace("-","")},deCamelCase:function(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()})}};setTimeout(function(){t('link[rel="stylesheet"]').forEach(StyleFix.link)},10),document.addEventListener("DOMContentLoaded",StyleFix.process,!1)}}(),function(a){function o(t,e,n,i,r){return(t=u[t]).length&&(t=RegExp(e+"("+t.join("|")+")"+n,"gi"),r=r.replace(t,i)),r}if(window.StyleFix&&window.getComputedStyle){var u=window.PrefixFree={prefixCSS:function(t,e,n){var i=u.prefix;if(-1<u.functions.indexOf("linear-gradient")&&(t=t.replace(/(\s|:|,)(repeating-)?linear-gradient\(\s*(-?\d*\.?\d*)deg/gi,function(t,e,n,i){return e+(n||"")+"linear-gradient("+(90-i)+"deg"})),t=o("functions","(\\s|:|,)","\\s*\\(","$1"+i+"$2(",t),t=o("keywords","(\\s|:)","(\\s|;|\\}|$)","$1"+i+"$2$3",t),t=o("properties","(^|\\{|\\s|;)","\\s*:","$1"+i+"$2:",t),u.properties.length){var r=RegExp("\\b("+u.properties.join("|")+")(?!:)","gi");t=o("valueProperties","\\b",":(.+?);",function(t){return t.replace(r,i+"$1")},t)}return e&&(t=o("selectors","","\\b",u.prefixSelector,t),t=o("atrules","@","\\b","@"+i+"$1",t)),(t=t.replace(RegExp("-"+i,"g"),"-")).replace(/-\*-(?=[a-z]+)/gi,u.prefix)},property:function(t){return(0<=u.properties.indexOf(t)?u.prefix:"")+t},value:function(t,e){return t=o("functions","(^|\\s|,)","\\s*\\(","$1"+u.prefix+"$2(",t),t=o("keywords","(^|\\s)","(\\s|$)","$1"+u.prefix+"$2$3",t),0<=u.valueProperties.indexOf(e)&&(t=o("properties","(^|\\s|,)","($|\\s|,)","$1"+u.prefix+"$2$3",t)),t},prefixSelector:function(t){return t.replace(/^:{1,2}/,function(t){return t+u.prefix})},prefixProperty:function(t,e){var n=u.prefix+t;return e?StyleFix.camelCase(n):n}};!function(){function t(t){if("-"===t.charAt(0)){i.push(t);var e=(t=t.split("-"))[1];for(n[e]=++n[e]||1;3<t.length;)t.pop(),e=t.join("-"),StyleFix.camelCase(e)in r&&-1===i.indexOf(e)&&i.push(e)}}var n={},i=[],e=getComputedStyle(document.documentElement,null),r=document.createElement("div").style;if(0<e.length)for(var o=0;o<e.length;o++)t(e[o]);else for(var s in e)t(StyleFix.deCamelCase(s));var a,l;o=0;for(l in n)o<(e=n[l])&&(a=l,o=e);for(u.prefix="-"+a+"-",u.Prefix=StyleFix.camelCase(u.prefix),u.properties=[],o=0;o<i.length;o++)0===(s=i[o]).indexOf(u.prefix)&&(a=s.slice(u.prefix.length),StyleFix.camelCase(a)in r||u.properties.push(a));!("Ms"!=u.Prefix||"transform"in r||"MsTransform"in r)&&"msTransform"in r&&u.properties.push("transform","transform-origin"),u.properties.sort()}(),function(){function t(t,e){return r[e]="",r[e]=t,r[e]}var e={"linear-gradient":{property:"backgroundImage",params:"red, teal"},calc:{property:"width",params:"1px + 5%"},element:{property:"backgroundImage",params:"#foo"},"cross-fade":{property:"backgroundImage",params:"url(a.png), url(b.png), 50%"}};e["repeating-linear-gradient"]=e["repeating-radial-gradient"]=e["radial-gradient"]=e["linear-gradient"];var n={initial:"color","zoom-in":"cursor","zoom-out":"cursor",box:"display",flexbox:"display","inline-flexbox":"display",flex:"display","inline-flex":"display",grid:"display","inline-grid":"display","max-content":"width","min-content":"width","fit-content":"width","fill-available":"width"};u.functions=[],u.keywords=[];var i,r=document.createElement("div").style;for(i in e){var o,s=(o=e[i]).property;!t(o=i+"("+o.params+")",s)&&t(u.prefix+o,s)&&u.functions.push(i)}for(var a in n)!t(a,s=n[a])&&t(u.prefix+a,s)&&u.keywords.push(a)}(),function(){function t(t){return r.textContent=t+"{}",r.sheet.cssRules.length}var e={":read-only":null,":read-write":null,":any-link":null,"::selection":null},n={keyframes:"name",viewport:null,document:'regexp(".")'};u.selectors=[],u.atrules=[];var i,r=a.appendChild(document.createElement("style"));for(i in e){var o=i+(e[i]?"("+e[i]+")":"");!t(o)&&t(u.prefixSelector(o))&&u.selectors.push(i)}for(var s in n)!t("@"+(o=s+" "+(n[s]||"")))&&t("@"+u.prefix+o)&&u.atrules.push(s);a.removeChild(r)}(),u.valueProperties=["transition","transition-property"],a.className+=" "+u.prefix,StyleFix.register(u.prefixCSS)}}(document.documentElement)},function(t,e){!function(){"use strict";var F=10,H=16,U=4.5,W=1.5,B=[0,0,0,.5],o=!1,q={};(window.captionator=q).CaptionatorCueStructure=function(t,e){var a=this;this.isTimeDependent=!1,this.cueSource=t,this.options=e,this.processedCue=null,this.toString=function(o){if(!1===e.processCueHTML)return t;var s=function(t,e){if(null!==a.processedCue)return a.processedCue;var n,i,r="";for(n in t)n.match(/^\d+$/)&&t.hasOwnProperty(n)&&((i=t[n])instanceof Object&&i.children&&i.children.length?"v"===i.token?r+='<q data-voice="'+i.voice.replace(/[\"]/g,"")+"\" class='voice speaker-"+i.voice.replace(/[^a-z0-9]+/gi,"-").toLowerCase()+" webvtt-span' title=\""+i.voice.replace(/[\"]/g,"")+'">'+s(i.children,e+1)+"</q>":"c"===i.token?r+="<span class='webvtt-span webvtt-class-span "+i.classes.join(" ")+"'>"+s(i.children,e+1)+"</span>":0<i.timeIn?null==o||0<o&&o>=i.timeIn?r+="<span class='webvtt-span webvtt-timestamp-span' data-timestamp='"+i.token+"' data-timestamp-seconds='"+i.timeIn+"'>"+s(i.children,e+1)+"</span>":o<i.timeIn&&(r+="<span class='webvtt-span webvtt-timestamp-span webvtt-cue-future' aria-hidden='true' style='opacity: 0;' data-timestamp='"+i.token+"' data-timestamp-seconds='"+i.timeIn+"'>"+s(i.children,e+1)+"</span>"):r+=i.rawToken+s(i.children,e+1)+"</"+i.token+">":(i instanceof String||"string"==typeof i||"number"==typeof i)&&(r+=i));return a.isTimeDependent||0!==e||(a.processedCue=r),r};return s(this,0)},this.getPlain=function(o){if(!1===e.processCueHTML)return t.replace(/<[^>]*>/gi,"");var s=function(t,e){var n,i,r="";for(n in t)n.match(/^\d+$/)&&t.hasOwnProperty(n)&&((i=t[n])instanceof Object&&i.children&&i.children.length?0<i.timeIn&&null!=o&&!(0<o&&o>=i.timeIn)||(r+=s(i.children,e+1)):(i instanceof String||"string"==typeof i||"number"==typeof i)&&(r+=i));return r};return s(this,0)}},q.CaptionatorCueStructure.prototype=[],q.TextTrack=function(t,e,n,i,r,o){this.onload=function(){},this.onerror=function(){},this.oncuechange=function(){},this.id=t||"",this.internalMode=q.TextTrack.OFF,this.cues=new q.TextTrackCueList(this),this.activeCues=new q.ActiveTextTrackCueList(this.cues,this),this.kind=e||"subtitles",this.label=n||"",this.language=i||"",this.src=r||"",this.readyState=q.TextTrack.NONE,this.internalDefault=o||!1,this.getMode=function(){return this.internalMode},this.setMode=function(t){if(-1===[q.TextTrack.OFF,q.TextTrack.HIDDEN,q.TextTrack.SHOWING].indexOf(t))throw new Error("Illegal mode value for track: "+t);t!==this.internalMode&&(this.internalMode=t,this.readyState===q.TextTrack.NONE&&0<this.src.length&&t>q.TextTrack.OFF&&this.loadTrack(this.src,null),this.videoNode._captionator_dirtyBit=!0,q.rebuildCaptions(this.videoNode),t===q.TextTrack.OFF&&(this.cues.length=0,this.readyState=q.TextTrack.NONE))},this.getDefault=function(){return this.internalDefault},Object.prototype.__defineGetter__?(this.__defineGetter__("mode",this.getMode),this.__defineSetter__("mode",this.setMode),this.__defineGetter__("default",this.getDefault)):Object.defineProperty&&(Object.defineProperty(this,"mode",{get:this.getMode,set:this.setMode}),Object.defineProperty(this,"default",{get:this.getDefault})),this.loadTrack=function(t,n){var i,r=new XMLHttpRequest;if(this.readyState===q.TextTrack.LOADED)n instanceof Function&&n(i);else{this.src=t,this.readyState=q.TextTrack.LOADING;var o=this;r.open("GET",t,!0),r.onreadystatechange=function(t){if(4===r.readyState)if(200===r.status){var e=o.videoNode._captionatorOptions||{};"metadata"===o.kind&&(e.processCueHTML=!1,e.sanitiseCueHTML=!1),i=q.parseCaptions(r.responseText,e),o.readyState=q.TextTrack.LOADED,o.cues.loadCues(i),o.activeCues.refreshCues.apply(o.activeCues),o.videoNode._captionator_dirtyBit=!0,q.rebuildCaptions(o.videoNode),o.onload.call(this),n instanceof Function&&n.call(o,i)}else o.readyState=q.TextTrack.ERROR,o.onerror()};try{r.send(null)}catch(t){o.readyState=q.TextTrack.ERROR,o.onerror(t)}}},this.addCue=function(t){if(!(t&&t instanceof q.TextTrackCue))throw new Error("The argument is null or not an instance of TextTrackCue.");this.cues.addCue(t)},this.removeCue=function(){}},q.TextTrack.NONE=0,q.TextTrack.LOADING=1,q.TextTrack.LOADED=2,q.TextTrack.ERROR=3,q.TextTrack.OFF=0,q.TextTrack.HIDDEN=1,q.TextTrack.SHOWING=2,q.TextTrackCue=function(t,e,n,i,r,o,s){if(this.id=t,this.track=s instanceof q.TextTrack?s:null,this.startTime=parseFloat(e),this.endTime=parseFloat(n)>=this.startTime?parseFloat(n):this.startTime,this.text="string"==typeof i||i instanceof q.CaptionatorCueStructure?i:"",this.settings="string"==typeof r?r:"",this.intSettings={},this.pauseOnExit=!!o,this.wasActive=!1,this.direction="horizontal",this.snapToLines=!0,this.linePosition="auto",this.textPosition=50,this.size=0,this.alignment="middle",this.settings.length){var a=this.intSettings,l=this;(r=r.split(/\s+/).filter(function(t){return 0<t.length}))instanceof Array&&r.forEach(function(t){var e={D:"direction",L:"linePosition",T:"textPosition",A:"alignment",S:"size"};e[(t=t.split(":"))[0]]&&(a[e[t[0]]]=t[1]),e[t[0]]in l&&(l[e[t[0]]]=t[1])})}this.linePosition.match(/\%/)&&(this.snapToLines=!1),this.getCueAsSource=function(){return String(this.text)},this.getCueAsHTML=function(){var e=document.createDocumentFragment(),t=document.createElement("div");return t.innerHTML=String(this.text),Array.prototype.forEach.call(t.childNodes,function(t){e.appendChild(t.cloneNode(!0))}),e},this.isActive=function(){var t=0;if(this.track instanceof q.TextTrack&&(this.track.mode===q.TextTrack.SHOWING||this.track.mode===q.TextTrack.HIDDEN)&&this.track.readyState===q.TextTrack.LOADED)try{if(t=this.track.videoNode.currentTime,this.startTime<=t&&this.endTime>=t)return this.wasActive||(this.wasActive=!0,this.onenter()),!0}catch(t){return!1}return this.wasActive&&(this.wasActive=!1,this.onexit()),!1},Object.prototype.__defineGetter__?this.__defineGetter__("active",this.isActive):Object.defineProperty&&Object.defineProperty(this,"active",{get:this.isActive}),this.toString=function(){return"TextTrackCue:"+this.id+"\n"+String(this.text)},this.onenter=function(){},this.onexit=function(){}},q.TextTrackCueList=function(t){this.track=t instanceof q.TextTrack?t:null,this.getCueById=function(e){return this.filter(function(t){return t.id===e})[0]},this.loadCues=function(t){for(var e=0;e<t.length;e++)t[e].track=this.track,Array.prototype.push.call(this,t[e])},this.addCue=function(t){if(!(t&&t instanceof q.TextTrackCue))throw new Error("The argument is null or not an instance of TextTrackCue.");if(t.track!==this.track&&t.track)throw new Error("This cue is associated with a different track!");Array.prototype.push.call(this,t)},this.toString=function(){return"[TextTrackCueList]"}},q.TextTrackCueList.prototype=[],q.ActiveTextTrackCueList=function(t,r){this.refreshCues=function(){if(t.length){var e=this,n=!1,i=[].slice.call(this,0);if(this.length=0,t.forEach(function(t){t.active&&(e.push(t),e[e.length-1]!==i[e.length-1]&&(n=!0))}),n)try{r.oncuechange()}catch(t){}}},this.toString=function(){return"[ActiveTextTrackCueList]"},this.refreshCues()},q.ActiveTextTrackCueList.prototype=new q.TextTrackCueList(null);q.rebuildCaptions=function(i){var t,e=i.textTracks||[],r=(i._captionatorOptions instanceof Object&&i._captionatorOptions,i.currentTime),n=[],o=[];e.forEach(function(t,e){t.mode===q.TextTrack.SHOWING&&t.readyState===q.TextTrack.LOADED&&(o=(o=[].slice.call(t.activeCues,0)).sort(function(t,e){return t.startTime>e.startTime?-1:1}),n=n.concat(o))}),t=n.map(function(t){return t.track.id+"."+t.id+":"+t.text.toString(r).length}),q.compareArray(t,i._captionator_previousActiveCues)&&!i._captionator_dirtyBit||(i._captionator_dirtyBit=!1,i._captionator_availableCueArea=null,i._captionator_previousActiveCues=t,q.styleCueCanvas(i),[].slice.call(i._descriptionContainerObject.getElementsByTagName("div"),0).concat([].slice.call(i._containerObject.getElementsByTagName("div"),0)).forEach(function(t){t.cueObject&&!t.cueObject.active&&(t.cueObject.rendered=!1,t.cueObject.domNode=null,t.parentElement.removeChild(t))}),n.forEach(function(t){var e,n;"metadata"!==t.track.kind&&t.mode!==q.TextTrack.HIDDEN&&(t.rendered?(n=(e=t.domNode).getElementsByClassName("captionator-cue-inner")[0],t.text.toString(r)!==e.currentText&&(e.currentText=t.text.toString(r),n.innerHTML=e.currentText,n.spanified=!1)):(e=document.createElement("div"),(n=document.createElement("span")).className="captionator-cue-inner",e.id=String(t.id).length?t.id:q.generateID(),e.className="captionator-cue",e.appendChild(n),((e.cueObject=t).domNode=e).setAttribute("lang",t.track.language),e.currentText=t.text.toString(r),n.innerHTML=e.currentText,t.rendered=!0,"descriptions"===t.track.kind?i._descriptionContainerObject.appendChild(e):i._containerObject.appendChild(e)),"descriptions"!==t.track.kind&&q.styleCue(e,t,i))}))},q.captionify=function(t,e,n){var i=[],r=0;if((n=n instanceof Object?n:{}).minimumFontSize&&"number"==typeof n.minimumFontSize&&(F=n.minimumFontSize),n.minimumLineHeight&&"number"==typeof n.minimumLineHeight&&(H=n.minimumLineHeight),n.fontSizeVerticalPercentage&&"number"==typeof n.fontSizeVerticalPercentage&&(U=n.fontSizeVerticalPercentage),n.lineHeightRatio&&"number"!=typeof n.lineHeightRatio&&(W=n.lineHeightRatio),n.cueBackgroundColour&&n.cueBackgroundColour instanceof Array&&(B=n.cueBackgroundColour),HTMLVideoElement||t instanceof function(t){this.targetObject=t,this.currentTime=0;this.addEventListener=function(t,e,n){"timeupdate"===t&&e instanceof Function&&(this.timeupdateEventHandler=e)},this.attachEvent=function(t,e){"timeupdate"===t&&e instanceof Function&&(this.timeupdateEventHandler=e)},this.updateTime=function(t){isNaN(t)||(this.currentTime=t)}}||n.forceCaptionify){if("function"!=typeof document.createElement("video").addTextTrack&&"function"!=typeof document.createElement("video").addTrack||n.forceCaptionify){if(!o&&n.exportObjects&&(window.TextTrack=q.TextTrack,window.TextTrackCueList=q.TextTrackCueList,window.ActiveTextTrackCueList=q.ActiveTextTrackCueList,window.TextTrackCue=q.TextTrackCue,o=!0),t&&!1!==t&&null!=t)if(t instanceof Array)for(r=0;r<t.length;r++)"string"==typeof t[r]?i=i.concat([].slice.call(document.querySelectorAll(t[r]),0)):t[r].constructor===HTMLVideoElement&&i.push(t[r]);else"string"==typeof t?i=[].slice.call(document.querySelectorAll(t),0):t.constructor===HTMLVideoElement&&i.push(t);else i=[].slice.call(document.getElementsByTagName("video"),0);return!!i.length&&(i.forEach(function(u){u.addTextTrack=function(t,e,n,i,r,o,s){var a,l=["subtitles","captions","descriptions","captions","metadata","chapters"];l.slice(0,7);if(t="string"==typeof t?t:"",n="string"==typeof n?n:"",i="string"==typeof i?i:"",!l.filter(function(t){return e===t}).length)throw q.createDOMException(12,"DOMException 12: SYNTAX_ERR: You must use a valid kind when creating a TimedTextTrack.","SYNTAX_ERR");return!!(a=new q.TextTrack(t,e,n,i,r,null))&&(u.textTracks instanceof Array||(u.textTracks=[]),u.textTracks.push(a),a)},q.processVideoElement(i[r],e,n)}),!0)}return!1}return!1},q.parseCaptions=function(t,v){v=v instanceof Object?v:{};var m="",r=[],y="",A=[],w=/^(\d{2})?:?(\d{2}):(\d{2})\.(\d+)\,(\d{2})?:?(\d{2}):(\d{2})\.(\d+)\s*(.*)/,b=/^(\d+)?:?(\d{2}):(\d{2})\.(\d+)\,(\d+)?:?(\d{2}):(\d{2})\.(\d+)\s*(.*)/,_=/^(\d{2})?:?(\d{2}):(\d{2})[\.\,](\d+)\s+\-\-\>\s+(\d{2})?:?(\d{2}):(\d{2})[\.\,](\d+)\s*(.*)/,p=/(\d{2})?:?(\d{2}):(\d{2})[\.\,](\d+)/,S=/^([\d\.]+)\s+\+([\d\.]+)\s*(.*)/,T=/^\[(\d{2})?:?(\d{2})\:(\d{2})\.(\d{2,3})\]\s*(.*?)$/,x=/^(DEFAULTS|DEFAULT)\s+\-\-\>\s+(.*)/g,E=/^(STYLE|STYLES)\s+\-\-\>\s*\n([\s\S]*)/g,C=/^(COMMENT|COMMENTS)\s+\-\-\>\s+(.*)/g,i=/^(\d{2})?:?(\d{2}):(\d{2})\.(\d+)/;if(t){var k=function(t){function e(t){return!!t.replace(/[^a-z0-9]+/gi,"").length}var n,i,r,o,s,a=new q.CaptionatorCueStructure(t,v),l=[],u=[],c=0;for(n in r=a,l=t.split(/(<\/?[^>]+>)/gi))if(l.hasOwnProperty(n))if("<"===(i=l[n]).substr(0,1)){if("/"===i.substr(1,1)){var h=i.substr(2).split(/[\s>]+/g)[0];if(0<u.length){var f=0;for(c=u.length-1;0<=c;c--){if(u[f=c][u[c].length-1].token===h)break}r=u[f],u=u.slice(0,f)}}else if(i.substr(1).match(p)||i.match(/^<v\s+[^>]+>/i)||i.match(/^<c[a-z0-9\-\_\.]+>/)||i.match(/^<(b|i|u|ruby|rt)>/)||!1!==v.sanitiseCueHTML){var d={token:i.replace(/[<\/>]+/gi,"").split(/[\s\.]+/)[0],rawToken:i,children:[]};"v"===d.token?d.voice=i.match(/^<v\s*([^>]+)>/i)[1]:"c"===d.token?d.classes=i.replace(/[<\/>\s]+/gi,"").split(/[\.]+/gi).slice(1).filter(e):(o=d.rawToken.match(p))&&(a.isTimeDependent=!0,s=o.slice(1),d.timeIn=parseInt(60*(s[0]||0)*60,10)+parseInt(60*(s[1]||0),10)+parseInt(s[2]||0,10)+parseFloat("0."+(s[3]||0))),r.push(d),u.push(r),r=d.children}}else!1!==v.sanitiseCueHTML&&(i=i.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\&/g,"&amp;"),v.ignoreWhitespace||(i=i.replace(/\n+/g,"<br />"))),r.push(i);return a},l=function(t){var e,n=0;return"string"!=typeof t?0:((e=i.exec(t))&&(e=e.slice(1),n=parseInt(60*(e[0]||0)*60,10)+parseInt(60*(e[1]||0),10)+parseInt(e[2]||0,10)+parseFloat("0."+(e[3]||0))),n)};if(r=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),/<tt\s+xml/gi.exec(t)){var e=document.createElement("ttml");return e.innerHTML=t,[].slice.call(e.querySelectorAll("[begin],[end]"),0).map(function(t,e){var n,i,r,o=String(t.getAttribute("begin")),s=String(t.getAttribute("end")),a=t.getAttribute("id")||e;return i=l(o),r=l(s),n=!1===v.processCueHTML?t.innerHTML:k(t.innerHTML),new q.TextTrackCue(a,i,r,n,{},!1,null)})}return t.split(/\n+/g).reduce(function(t,e,n,i){return t||!!T.exec(e)},!1)?(r=r.split(/\n+/g),m="LRC"):r=r.split(/\n\n+/g),r=r.filter(function(t){return t.match(/^WEBVTT(\s*FILE)?/gi)?!(m="WebVTT"):!!t.replace(/\s*/gi,"").length}).map(function(t,e){var n,i,r,o,s,a,l,u,c,h,f="";if(u=x.exec(t))return A=(A=u.slice(2).join("")).split(/\s+/g).filter(function(t){return t&&!!t.length}),null;if(u=E.exec(t))return y+=u[u.length-1],null;if(u=C.exec(t))return null;for(n="LRC"===m?[t.substr(0,t.indexOf("]")+1),t.substr(t.indexOf("]")+1)]:t.split(/\n/g);!n[0].replace(/\s+/gi,"").length&&0<n.length;)n.shift();for(l=n[0].match(/^\s*[a-z0-9\-]+\s*$/gi)?String(n.shift().replace(/\s*/gi,"")):e,a=0;a<n.length;a++){var d=n[a];(c=_.exec(d))||(c=w.exec(d))||(c=b.exec(d))?(s=c.slice(1),i=parseInt(60*(s[0]||0)*60,10)+parseInt(60*(s[1]||0),10)+parseInt(s[2]||0,10)+parseFloat("0."+(s[3]||0)),r=parseInt(60*(s[4]||0)*60,10)+parseInt(60*(s[5]||0),10)+parseInt(s[6]||0,10)+parseFloat("0."+(s[7]||0)),s[8]&&(f=s[8])):(c=S.exec(d))?(s=c.slice(1),r=(i=parseFloat(s[0]))+parseFloat(s[1]),s[2]&&(f=s[2])):(c=T.exec(d))&&(s=c.slice(1,c.length-1),r=i=parseInt(60*(s[0]||0)*60,10)+parseInt(60*(s[1]||0),10)+parseInt(s[2]||0,10)+parseFloat("0."+(s[3]||0))),n=n.slice(0,a).concat(n.slice(a+1));break}if(!i&&!r)return null;var p=A.reduce(function(t,e,n,i){return t[e.split(":")[0]]=e.split(":")[1],t},{});for(var g in p=f.split(/\s+/g).filter(function(t){return t&&!!t.length}).reduce(function(t,e,n,i){return t[e.split(":")[0]]=e.split(":")[1],t},p),f="",p)p.hasOwnProperty(g)&&(f+=f.length?" ":"",f+=g+":"+p[g]);return o=!1===v.processCueHTML?n.join("\n"):k(n.join("\n")),(h=new q.TextTrackCue(l,i,r,o,f,!1,null)).styleData=y,h}).filter(function(t){return null!==t}),"LRC"===m&&(r.forEach(function(t,e){var n,i=0;0<e&&(i=t.startTime,(n=r[--e]).endTime<i&&(n.endTime=i))}),r=r.filter(function(t){return 0<t.text.toString().replace(/\s*/,"").length})),r}throw new Error("Required parameter captionData not supplied.")},q.processVideoElement=function(r,o,s){var a=[],t=navigator.language||navigator.userLanguage;o||t.split("-")[0];if(s=s instanceof Object?s:{},!r.captioned){r._captionatorOptions=s,r.className+=(r.className.length?" ":"")+"captioned",r.captioned=!0,0===r.id.length&&(r.id=q.generateID());[].slice.call(r.querySelectorAll("track"),0).forEach(function(e){var t=null;t=0<e.querySelectorAll("source").length?e.querySelectorAll("source"):e.getAttribute("src");var n=r.addTextTrack(e.getAttribute("id")||q.generateID(),e.getAttribute("kind"),e.getAttribute("label"),e.getAttribute("srclang").split("-")[0],t,e.getAttribute("type"),e.hasAttribute("default"));(e.track=n).trackNode=e,n.videoNode=r,a.push(n);var i=!1;"subtitles"!==n.kind&&"captions"!==n.kind||o!==n.language||!s.enableCaptionsByDefault||a.filter(function(t){return("captions"===t.kind||"subtitles"===t.kind)&&o===t.language&&t.mode===q.TextTrack.SHOWING}).length||(i=!0),"chapters"===n.kind&&o===n.language&&(a.filter(function(t){return"chapters"===t.kind&&t.mode===q.TextTrack.SHOWING}).length||(i=!0)),"descriptions"===n.kind&&!0===s.enableDescriptionsByDefault&&o===n.language&&(a.filter(function(t){return"descriptions"===t.kind&&t.mode===q.TextTrack.SHOWING}).length||(i=!0)),!0===i&&a.forEach(function(t){t.trackNode.hasAttribute("default")&&t.mode===q.TextTrack.SHOWING&&(t.mode=q.TextTrack.HIDDEN)}),e.hasAttribute("default")&&(a.filter(function(t){return!(!t.trackNode.hasAttribute("default")||t.trackNode===e)}).length||(i=!0,n.internalDefault=!0)),!0===i&&(n.mode=q.TextTrack.SHOWING)}),r.addEventListener("timeupdate",function(t){var e=t.target;try{e.textTracks.forEach(function(t){t.activeCues.refreshCues.apply(t.activeCues)})}catch(t){}s.renderer instanceof Function?s.renderer.call(q,e):q.rebuildCaptions(e)},!1),window.addEventListener("resize",function(t){r._captionator_dirtyBit=!0,q.rebuildCaptions(r)},!1),!0===s.enableHighResolution&&window.setInterval(function(){try{r.textTracks.forEach(function(t){t.activeCues.refreshCues.apply(t.activeCues)})}catch(t){}s.renderer instanceof Function?s.renderer.call(q,r):q.rebuildCaptions(r)},20)}return r},q.getNodeMetrics=function(t){var e,n,i=window.getComputedStyle(t,null),r=t,o=t.offsetTop,s=t.offsetLeft,a=0;for(e=parseInt(i.getPropertyValue("width"),10),n=parseInt(i.getPropertyValue("height"),10);r=r.offsetParent;)o+=r.offsetTop,s+=r.offsetLeft;if(t.hasAttribute("controls")){var l=navigator.userAgent.toLowerCase();-1!==l.indexOf("chrome")?a=32:-1!==l.indexOf("opera")?a=25:-1!==l.indexOf("firefox")?a=28:-1!==l.indexOf("ie 9")||-1!==l.indexOf("ipad")?a=44:-1!==l.indexOf("safari")&&(a=25)}else if(t._captionatorOptions){var u=t._captionatorOptions;u.controlHeight&&(a=parseInt(u.controlHeight,10))}return{left:s,top:o,width:e,height:n,controlHeight:a}},q.applyStyles=function(t,e){for(var n in e)!{}.hasOwnProperty.call(e,n)||(t.style[n]=e[n])},q.checkDirection=function(t){var e="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿Ⰰ-﬜﷾-﹯﻽-",n=new RegExp("^[^֑-߿יִ-﷽ﹰ-ﻼ]*["+e+"]");return new RegExp("^[^"+e+"]*[֑-߿יִ-﷽ﹰ-ﻼ]").test(t)?"rtl":n.test(t)?"ltr":""},q.styleCue=function(t,n,e){var i,r,o,s,a,u,l,c,h,f,d,p,g,v,m,y,A=0,w=0,b=0,_=0,S=0,T=0,x=0,E=0,C=0,k=0,O=0,R=e._captionatorOptions||{},P=50,I=0,L=0,M=!0,D="",N=(n.track.language,function(t){if(t.spanified)return t.characterCount;function e(t){return!!t.length}function n(t){l++,q.applyStyles(t,{display:"block",lineHeight:"auto",height:u+"px",width:p+"px",textAlign:"center"})}var i,r,o,s,a="<span class='captionator-cue-character'>",l=0;for(i in t.childNodes)t.childNodes.hasOwnProperty(i)&&!t.childNodes[i].nospan&&(3===(r=t.childNodes[i]).nodeType?(s=document.createDocumentFragment(),o=r.nodeValue,s.appendChild(document.createElement("span")),s.childNodes[0].innerHTML=a+o.split(/(.)/).filter(e).join("</span>"+a)+"</span>",[].slice.call(s.querySelectorAll("span.captionator-cue-character"),0).forEach(n),r.parentNode.replaceChild(s,r)):1===t.childNodes[i].nodeType&&(l+=N(t.childNodes[i])));return t.characterCount=l,t.spanified=!0,l});if(m=q.getNodeMetrics(e),e._captionator_availableCueArea||(e._captionator_availableCueArea={bottom:m.height-m.controlHeight,right:m.width,top:0,left:0,height:m.height-m.controlHeight,width:m.width}),"horizontal"===n.direction&&(q.applyStyles(t,{width:"auto",position:"static",display:"inline-block",padding:"1em"}),I=parseInt(t.offsetWidth,10),L=(L=Math.floor(I/e._captionator_availableCueArea.width*100))<=100?L:100),a=m.height*(U/100)/96*72,a=F<=a?a:F,u=Math.floor(a/72*96),l=Math.floor(a*W),l=H<l?l:H,d=Math.ceil(l/72*96),(p=d)*Math.floor(m.height/d)<m.height&&(d=Math.floor(m.height/Math.floor(m.height/d)),l=Math.ceil(d/96*72)),d*Math.floor(m.width/d)<m.width&&(p=Math.ceil(m.width/Math.floor(m.width/d))),h=Math.floor(e._captionator_availableCueArea.height/d),f=Math.floor(e._captionator_availableCueArea.width/p),0===parseFloat(String(n.size).replace(/[^\d\.]/gi,""))?!0===R.sizeCuesByTextBoundingBox?i=L:M=!(i=100):(M=!1,i=(i=parseFloat(String(n.size).replace(/[^\d\.]/gi,"")))<=100?i:100),o="horizontal"===n.direction?Math.floor(.01*m.width):0,s="horizontal"===n.direction?0:Math.floor(.01*m.height),"auto"===n.linePosition?n.linePosition="horizontal"===n.direction?h:f:String(n.linePosition).match(/\%/)&&(n.snapToLines=!1,n.linePosition=parseFloat(String(n.linePosition).replace(/\%/gi,""))),"horizontal"===n.direction)_=d,"auto"!==n.textPosition&&M&&(L<i-(P=parseFloat(String(n.textPosition).replace(/[^\d\.]/gi,"")))?i-=P:i=L),b=!0===n.snapToLines?e._captionator_availableCueArea.width*(i/100):m.width*(i/100),A="auto"===n.textPosition?(e._captionator_availableCueArea.right-b)/2+e._captionator_availableCueArea.left:(P=parseFloat(String(n.textPosition).replace(/[^\d\.]/gi,"")),(e._captionator_availableCueArea.right-b)*(P/100)+e._captionator_availableCueArea.left),w=!0===n.snapToLines?(h-1)*d+e._captionator_availableCueArea.top:(c=m.controlHeight+d+2*s,(m.height-c)*(n.linePosition/100));else{if(w=e._captionator_availableCueArea.top,A=e._captionator_availableCueArea.right-p,b=p,_=e._captionator_availableCueArea.height*(i/100),T=N(t),x=[].slice.call(t.querySelectorAll("span.captionator-cue-character"),0),S=Math.floor((_-2*s)/u),b=Math.ceil(T/S)*p,E=Math.ceil(T/S),C=(T-S*(E-1))*u,!0===n.snapToLines)A="vertical-lr"===n.direction?e._captionator_availableCueArea.left:e._captionator_availableCueArea.right-b;else{var j=b+2*o;A="vertical-lr"===n.direction?(m.width-j)*(n.linePosition/100):m.width-j-(m.width-j)*(n.linePosition/100)}w="auto"===n.textPosition?(e._captionator_availableCueArea.bottom-_)/2+e._captionator_availableCueArea.top:(n.textPosition=parseFloat(String(n.textPosition).replace(/[^\d\.]/gi,"")),(e._captionator_availableCueArea.bottom-_)*(n.textPosition/100)+e._captionator_availableCueArea.top),v=g=O=k=0,x.forEach(function(t,e){g="vertical-lr"===n.direction?p*k:b-p*(k+1),"start"===n.alignment||"start"!==n.alignment&&k<E-1?v=O*u+s:"end"===n.alignment?v=O*u-u+(_+2*s-C):"middle"===n.alignment&&(v=(_-2*s-C)/2+O*u),t.setAttribute("aria-hidden","true"),q.applyStyles(t,{position:"absolute",top:v+"px",left:g+"px"}),S-1<=O?(O=0,k++):O++}),t.accessified||(D=n.text.getPlain(e.currentTime),(y=document.createElement("div")).innerHTML=D,y.nospan=!0,t.appendChild(y),t.accessified=!0,q.applyStyles(y,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",opacity:"0",textIndent:"-999em"}))}if("horizontal"===n.direction&&(r="rtl"===q.checkDirection(String(n.text))?{start:"right",middle:"center",end:"left"}[n.alignment]:{start:"left",middle:"center",end:"right"}[n.alignment]),q.applyStyles(t,{position:"absolute",overflow:"hidden",width:b+"px",height:_+"px",top:w+"px",left:A+"px",padding:s+"px "+o+"px",textAlign:r,backgroundColor:"rgba("+B.join(",")+")",direction:q.checkDirection(String(n.text)),lineHeight:l+"pt",boxSizing:"border-box"}),"vertical"===n.direction||"vertical-lr"===n.direction)A-e._captionator_availableCueArea.left-e._captionator_availableCueArea.left>=e._captionator_availableCueArea.right-(A+b)?e._captionator_availableCueArea.right=A:e._captionator_availableCueArea.left=A+b,e._captionator_availableCueArea.width=e._captionator_availableCueArea.right-e._captionator_availableCueArea.left;else{if(t.scrollHeight>1.2*t.offsetHeight)if(n.snapToLines){for(var V=0;t.scrollHeight>1.2*t.offsetHeight;)_+=d,t.style.height=_+"px",V++;w-=V*d,t.style.top=w+"px"}else{t.scrollHeight;_=t.scrollHeight+s,c=m.controlHeight+_+2*s,w=(m.height-c)*(n.linePosition/100),t.style.height=_+"px",t.style.top=w+"px"}w-e._captionator_availableCueArea.top-e._captionator_availableCueArea.top>=e._captionator_availableCueArea.bottom-(w+_)&&e._captionator_availableCueArea.bottom>w?e._captionator_availableCueArea.bottom=w:e._captionator_availableCueArea.top<w+_&&(e._captionator_availableCueArea.top=w+_),e._captionator_availableCueArea.height=e._captionator_availableCueArea.bottom-e._captionator_availableCueArea.top}},q.styleCueCanvas=function(t){var e,n,i,r,o,s,a=t._captionatorOptions instanceof Object?t._captionatorOptions:{};if(!(t instanceof HTMLVideoElement))throw new Error("Cannot style a cue canvas for a non-video node!");if(t._containerObject&&(o=(i=t._containerObject).id),t._descriptionContainerObject&&(s=(r=t._descriptionContainerObject).id),r?r.parentNode||document.body.appendChild(r):((r=document.createElement("div")).className="captionator-cue-descriptive-container",s=q.generateID(),r.id=s,(t._descriptionContainerObject=r).setAttribute("aria-live","polite"),r.setAttribute("aria-atomic","true"),r.setAttribute("role","region"),document.body.appendChild(r),q.applyStyles(r,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",opacity:"0",textIndent:"-999em"})),i)i.parentNode||document.body.appendChild(i);else{if((i=document.createElement("div")).className="captionator-cue-canvas",o=q.generateID(),i.id=o,a.appendCueCanvasTo){var l=null;if(a.appendCueCanvasTo instanceof HTMLElement)l=a.appendCueCanvasTo;else if("string"==typeof a.appendCueCanvasTo)try{var u=document.querySelectorAll(a.appendCueCanvasTo);if(!(0<u.length))throw null;l=u[0]}catch(t){l=document.body,a.appendCueCanvasTo=!1}else l=document.body,a.appendCueCanvasTo=!1;l.appendChild(i)}else document.body.appendChild(i);t._containerObject=i}var c=q.getNodeMetrics(t);e=c.height*(U/100)/96*72,e=F<=e?e:F,n=Math.floor(e*W),n=H<n?n:H,q.applyStyles(i,{position:"absolute",overflow:"hidden",zIndex:100,height:c.height-c.controlHeight+"px",width:c.width+"px",top:(a.appendCueCanvasTo?0:c.top)+"px",left:(a.appendCueCanvasTo?0:c.left)+"px",color:"white",fontFamily:"Verdana, Helvetica, Arial, sans-serif",fontSize:e+"pt",lineHeight:n+"pt",boxSizing:"border-box"})},q.createDOMException=function(e,n,i){try{document.querySelectorAll("div/[]")}catch(t){var r=function(t,e,n){this.code=t,this.message=e,this.name=n};return r.prototype=t,new r(e,n,i)}},q.compareArray=function(t,e){if(t instanceof Array&&e instanceof Array){if(t.length!==e.length)return!1;for(var n in t)if(t.hasOwnProperty(n)&&t[n]!==e[n])return!1;return!0}return!1},q.generateID=function(t){var e="";for(t=t||10;e.length<t;)e+=String.fromCharCode(65+Math.floor(26*Math.random()));return"captionator"+e}}()},function(t,e,i){"use strict";var n;void 0===(n=function(t){var u=i(17),c=i(4),n=i(0),h=i(13),e=i(5),f=e.device.isMobile,d=e.theme.isUnified,p=/data-reactid="(.*?)"/g,g=/(-webkit-|-moz-|-ms-)?transform(-origin)?:\s*([^;]*);/g;return{createVideoThumb:function(t){var e=document.createElement("canvas"),n=e.getContext("2d"),i=parseFloat(t.parentNode.style.width),r=parseFloat(t.parentNode.style.height);return(isNaN(i)||isNaN(r))&&(i=parseFloat(t.parentNode.parentNode.style.width),r=parseFloat(t.parentNode.parentNode.style.height)),e.width=i,e.height=r,n.drawImage(t,0,0,e.width,e.height),{uri:e.toDataURL("image/jpeg",.8),src:t.src}},addVideoImageThumbs:function(t,e){var i={};return n(t).map(this.createVideoThumb).forEach(function(t){i[t.src]=t.uri}).value(),e.replace(/<video(.*?)<\/video>/g,function(t){var e,n=document.createElement("div");return n.innerHTML=t,e=n.querySelector("video").src,['<img src="',i[e],'"/>'].join("")})},generate:function(){var t,e,n,i,r,o,s=u.getCurrentWindow().getCurSlide(),a="",l=f||d?h.getWindowScale():h.getScale();return null!=s?(t=s.el.innerHTML,e=s.props.model.get("width"),n=s.props.model.get("height"),t=t.replace(p,"").replace(g,"-webkit-transform$2: $3; -moz-transform$2: $3; -ms-transform$2: $3; transform$2: $3;"),0<(o=document.getElementById("slide").querySelectorAll("video")).length&&(t=this.addVideoImageThumbs(o,t)),r=function(t){var e;if(null!=t)return(e=document.createElement("div")).id="lib",e.setAttribute("class","offscreen"),e.innerHTML=t.innerHTML,[e.querySelector("#video-pen"),e.querySelector("#presentation-canvas"),e.querySelector("#zoomimage-container"),e.querySelector("canvas")].forEach(function(t){null!=t&&t.parentNode.removeChild(t)}),e}(i=document.getElementById(c.els.LIB)),null!=i&&(a=r.outerHTML),{width:e,height:n,html:['<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8" /> <link rel="stylesheet" href="html5/lib/stylesheets/'+(f?"mobile":"desktop")+'.min.css" /> <link rel="stylesheet" href="html5/data/css/output.min.css" /> <style>* { margin: 0; padding: 0; pointer-events: none !important; } .slide-thumb { position: absolute; left: 0; top: 0; width: '+e*l+"px; height: "+n*l+'px; } </style> </head> <body> <div class="slide-thumb">',t,a,'</div> <script> (function() { var slide = document.querySelector(".slide-thumb"), topLeft = "0 0", scaleValue; slide.style.WebkitTransformOrigin = topLeft; slide.style.MozTransformOrigin = topLeft; slide.style.MsTransformOrigin = topLeft; slide.style.transformOrigin = topLeft; var scale = function() { var winH = window.innerHeight, winW = window.innerWidth, slideH = '+n*l+", slideW = "+e*l+', xScale = winH / slideH, yScale = winW / slideW, nextScaleValue = Math.min(xScale, yScale); if (scaleValue !== nextScaleValue) { scaleValue = nextScaleValue; slide.style.WebkitTransform = "scale(" + scaleValue + ")"; slide.style.WebkitTransform = "scale(" + scaleValue + ")"; slide.style.transform = "scale(" + scaleValue + ")"; } }; window.addEventListener("resize", scale); scale(); })(); <\/script> </body></html>'].join("")}):{html:null}}}}.call(e,i,e,t))||(t.exports=n)},function(t,e,_){"use strict";var n;void 0===(n=function(t){function u(t){var e={id:t.id,description:{}};return e.description.und=t.lmstext,e}var e,f=_(0),n=_(6),c=_(3),i=_(1),r=_(2),s=window.TinCan||_(70),o=_(4),a=s.Utils.convertMillisecondsToISO8601Duration,l=s.Utils.getUUID,d="choice",p="matching",g="sequencing",h="http://adlnet.gov/expapi/activities/course",v="http://adlnet.gov/expapi/activities/cmi.interaction",m="http://",y=/file/.test(window.location.protocol),A={};A[d]=A[g]=function(t,e){t.choices=e.choices().map(u)},A[p]=function(t,e){t.target=e.choices().map(u),t.source=e.statements().map(u)};var w={likert:"likert"};w.sequence=g,w.multiplechoice=w.truefalse=w.hotspot=w.wordbank=w.multipleresponse=d,w.numeric="numeric",w.fillin="fill-in",w.essay="long-fill-in",w.matching=p;var b={};return b.multiplechoice=b.hotspot=b.wordbank=b.sequence=b.truefalse=b.multipleresponse=function(t){var e=t&&t.choiceResponse,n=null!=e?e:t;return c.stripChoice(n)},b.essay=b.fillin=b.numeric=f.identity,b.matching=function(t){return[c.stripStatement(t.statementResponse),c.stripChoice(t.choiceResponse)].join("[.]")},{queue:[],tinCan:null,resumer:null,scoring:null,scorings:null,version:0,retryCount:0,setTotalSlides:f.noop,reportStatus:f.noop,initialize:function(t,e,n,i,r){if(window.globals.tinCanPresent||r){this.setPreso(i);var o=c.queryStringToObj();return this.urlParams=o,this.version=e,null!=o.activity_id&&(m=o.activity_id.replace(/\/$/,"")),this.scorings=n,this.scoring=this.scorings.first(),this.tinCan=y||r?new s:new s({url:window.location.toString().replace("&tincan=true","")}),this.sendData=r?this.sendStatementLocal:this.sendStatement,this}},setPreso:function(t){e=t},setResumer:function(t){this.resumer=t},createConfig:function(t){return null==this.urlParams.activity_id&&(t.activity={id:"http://"+e.get("courseId")}),t},getItem:function(){this.resumeDfd=new n.Deferred;var t=this.createConfig({callback:this.sendResumeReady.bind(this),overwriteJSON:!0});return this.tinCan.getState("resume",t),y&&this.resumeDfd.resolve(""),this.resumeDfd.promise()},setItem:function(t,e){var n=this.createConfig({callback:f.noop});this.tinCan.setState("resume",e,n)},sendResumeReady:function(t,e){null==t&&this.resumeDfd.resolve(e&&e.contents)},courseStarted:function(t){var e=this.getStmtObj({type:h,name:this.scoring.get("lmstext"),description:this.scoring.get("description"),verb:this.getVerb("attempted")});t||(e.result={completion:!1}),this.queueStatement(e)},quizComplete:function(t){var e=t.get("lmstext"),n=this.getStmtObj(t.id,{type:"http://adlnet.gov/expapi/activities/objective",name:e,description:e,verb:this.getVerb(this.getCompletedVerb(t))});t.get("issurvey")||(n.result={score:{scaled:t.prop("PercentScore")/100,raw:t.prop("Score"),min:0,max:t.maxPoints},success:t.isPassed()}),this.queueStatement(n)},courseComplete:function(t,e){if(!e){var n=this.getStmtObj({type:h,name:t.get("lmstext"),description:t.get("description"),verb:this.getVerb(this.getCompletedVerb(t))});n.result={duration:a(this.resumer.getCourseTime()),completion:!0},t.isSurvey()||t.isAction()||(n.result.score={scaled:t.getPercentScore()},n.result.success=t.isPassed()),this.queueStatement(n)}},manualCourseComplete:function(t,e){this.courseComplete(e,!1)},viewedComplete:function(t){var e=this.getStmtObj({type:h,name:t.get("lmstext"),description:t.get("description"),verb:this.getVerb("completed")}),n={};n[this.formatUri("viewcount")]=t.viewedSlides,e.result={completion:!0,duration:a(this.resumer.getCourseTime()),extensions:n},this.queueStatement(e)},slideViewed:function(t){var e=t.get("title"),n=this.getStmtObj(t.id,{type:"http://adlnet.gov/expapi/activities/module",name:e,description:e,verb:this.getVerb("experienced")});this.queueStatement(n)},interactionAnswered:function(t,e){this[e.isType("likert")?"logLikert":"logQuestion"](t,e)},logLikert:function(a,l){l.hasResponses()&&l.responses.forEach(function(t,e){var n=l.statements()[e].lmstext,i=c.stripStatement(t.statementResponse),r=[l.parent.id,l.id,i],o={scale:l.choices().map(u),interactionType:w.likert},s=this.getStmtObj(r,{type:v,name:n,description:n,verb:this.getVerb("answered"),parent:this.formatUri(a.id)});this.setDefinitions(s,o),s.result={response:c.stripChoice(t.choiceResponse)},this.queueStatement(s)}.bind(this))},logQuestion:function(t,e){if(e.hasResponses()){var n,i=e.get("lmstext"),r=e.type(),o=w[r],s=b[r],a=A[o]||f.noop,l={interactionType:o},u={response:e.responses.map(s).join("[,]")},c=[e.parent.id,e.id],h=this.getStmtObj(c,{type:v,name:i,description:i,verb:this.getVerb("answered"),parent:this.formatUri(t.id)});(n=o)!==p&&n!==g&&n!==d||(l.correctResponsesPattern=[this.getCorrectResponses(e)]),a(l,e),this.setDefinitions(h,l),e.get("issurvey")||(u.success=e.isPassing(),u.score={raw:e.prop("Score")}),h.result=u,this.queueStatement(h)}},formatUri:function(){var t=f.compact(arguments),e=[m],n=this.version<1?".":"/";return e.concat(t).join(n)},getCorrectResponses:function(t){var e=t.prop("CorrectResponse"),n=t.isType("sequence");return e.map(function(t){var e=t.id;return n?e=t.choice.id:t.choice&&t.statement&&(e=[t.statement.id,t.choice.id].join("[.]")),e}).join("[,]")},getVerb:function(t){var e=new s.Verb(t);return e.display["en-US"]=e.display.und,delete e.display.und,e},getCompletedVerb:function(t){return null==t||t.isType("survey")?"completed":t.isPassed()?"passed":"failed"},setDefinitions:function(t,e){f.extend(t.object.definition,e)},getStmtObj:function(t,e){f.isPlainObject(t)&&(e=t,t=void 0);var n={name:{},description:{}};return n.name.und=e.name||"",n.description.und=e.description||"",n.type=e.type,f.isArray(t)||(t=[t]),{id:l(),object:{id:this.formatUri.apply(this,t),definition:n},context:{contextActivities:{grouping:[{id:this.formatUri(),objectType:"Activity"}],parent:[{id:e.parent||m,objectType:"Activity"}]}},verb:e.verb,objectType:"Activity"}},queueStatement:function(t){0===this.queue.length?this.sendData(t):this.queue.unshift(t)},sendStatementCallback:function(t,e){var n=this;null!=t[0].err&&this.retryCount<o.XAPI_RETRY_INTERVALS_MS.length?setTimeout(function(){return n.sendStatement(e)},o.XAPI_RETRY_INTERVALS_MS[this.retryCount++]):(this.retryCount=0,this.popQueue())},popQueue:function(){0<this.queue.length&&this.sendData(this.queue.pop())},sendStatement:function(t){this.tinCan.sendStatement(t,this.sendStatementCallback.bind(this))},sendStatementLocal:function(t){r.trigger(i.tincan.STATEMENT,t),this.popQueue()}}}.call(e,_,e,t))||(t.exports=n)},function(module,exports,__webpack_require__){var CryptoJS=CryptoJS||function(a){var t={},e=t.lib={},n=e.Base={extend:function(t){c.prototype=this;var e=new c;return t&&e.mixIn(t),e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.$super.extend(this)}},l=e.WordArray=n.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||r).stringify(this)},concat:function(t){var e=this.words,n=t.words,i=this.sigBytes;t=t.sigBytes;if(this.clamp(),i%4)for(var r=0;r<t;r++)e[i+r>>>2]|=(n[r>>>2]>>>24-r%4*8&255)<<24-(i+r)%4*8;else if(65535<n.length)for(r=0;r<t;r+=4)e[i+r>>>2]=n[r>>>2];else e.push.apply(e,n);return this.sigBytes+=t,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=a.ceil(e/4)},clone:function(){var t=n.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(4294967296*a.random()|0);return l.create(e,t)}}),i=t.enc={},r=i.Hex={stringify:function(t){for(var e=t.words,n=(t=t.sigBytes,[]),i=0;i<t;i++){var r=e[i>>>2]>>>24-i%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i+=2)n[i>>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return l.create(n,e/2)}},o=i.Latin1={stringify:function(t){for(var e=t.words,n=(t=t.sigBytes,[]),i=0;i<t;i++)n.push(String.fromCharCode(e[i>>>2]>>>24-i%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i++)n[i>>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return l.create(n,e)}},s=i.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},u=e.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=l.create(),this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=s.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,n=e.words,i=e.sigBytes,r=this.blockSize,o=i/(4*r);t=(o=t?a.ceil(o):a.max((0|o)-this._minBufferSize,0))*r,i=a.min(4*t,i);if(t){for(var s=0;s<t;s+=r)this._doProcessBlock(n,s);s=n.splice(0,t),e.sigBytes-=i}return l.create(s,i)},clone:function(){var t=n.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});function c(){}e.Hasher=u.extend({init:function(){this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize(),this._hash},clone:function(){var t=u.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:16,_createHelper:function(n){return function(t,e){return n.create(e).finalize(t)}},_createHmacHelper:function(n){return function(t,e){return h.HMAC.create(n,e).finalize(t)}}});var h=t.algo={};return t}(Math),kxc,mxc,lxc,nxc,oxc,Fxc,TinCan;kxc=CryptoJS,mxc=(lxc=kxc.lib).WordArray,lxc=lxc.Hasher,nxc=[],oxc=kxc.algo.SHA1=lxc.extend({_doReset:function(){this._hash=mxc.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],l=0;l<80;l++){if(l<16)nxc[l]=0|t[e+l];else{var u=nxc[l-3]^nxc[l-8]^nxc[l-14]^nxc[l-16];nxc[l]=u<<1|u>>>31}u=(i<<5|i>>>27)+a+nxc[l],u=l<20?u+(1518500249+(r&o|~r&s)):l<40?u+(1859775393+(r^o^s)):l<60?u+((r&o|r&s|o&s)-1894007588):u+((r^o^s)-899497514),a=s,s=o,o=r<<30|r>>>2,r=i,i=u}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32,e[15+(64+i>>>9<<4)]=n,t.sigBytes=4*e.length,this._process()}}),kxc.SHA1=lxc._createHelper(oxc),kxc.HmacSHA1=lxc._createHmacHelper(oxc),Fxc=CryptoJS.lib.WordArray,CryptoJS.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,i=this._map;t.clamp();for(var r=[],o=0;o<n;o+=3)for(var s=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<n;a++)r.push(i.charAt(s>>>6*(3-a)&63));var l=i.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(t){var e=(t=t.replace(/\s/g,"")).length,n=this._map,i=n.charAt(64);if(i){var r=t.indexOf(i);-1!=r&&(e=r)}for(var o=[],s=0,a=0;a<e;a++)if(a%4){var l=n.indexOf(t.charAt(a-1))<<a%4*2,u=n.indexOf(t.charAt(a))>>>6-a%4*2;o[s>>>2]|=(l|u)<<24-s%4*8,s++}return Fxc.create(o,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(){"use strict";var l={statementId:!0,voidedStatementId:!0,verb:!0,object:!0,registration:!0,context:!0,actor:!0,since:!0,until:!0,limit:!0,authoritative:!0,sparse:!0,instructor:!0,ascending:!0,continueToken:!0,agent:!0,activityId:!0,stateId:!0,profileId:!0,activity_platform:!0,grouping:!0,"Accept-Language":!0};(TinCan=function(t){this.log("constructor"),this.recordStores=[],this.actor=null,this.activity=null,this.registration=null,this.context=null,this.init(t)}).prototype={LOG_SRC:"TinCan",log:function(t,e){TinCan.DEBUG&&"undefined"!=typeof console&&console.log&&(e=e||this.LOG_SRC||"TinCan",console.log("TinCan."+e+": "+t))},init:function(t){var e;if(this.log("init"),(t=t||{}).hasOwnProperty("url")&&""!==t.url&&this._initFromQueryString(t.url),t.hasOwnProperty("recordStores")&&void 0!==t.recordStores)for(e=0;e<t.recordStores.length;e+=1)this.addRecordStore(t.recordStores[e]);t.hasOwnProperty("activity")&&(t.activity instanceof TinCan.Activity?this.activity=t.activity:this.activity=new TinCan.Activity(t.activity)),t.hasOwnProperty("actor")&&(t.actor instanceof TinCan.Agent?this.actor=t.actor:this.actor=new TinCan.Agent(t.actor)),t.hasOwnProperty("context")&&(t.context instanceof TinCan.Context?this.context=t.context:this.context=new TinCan.Context(t.context)),t.hasOwnProperty("registration")&&(this.registration=t.registration)},_initFromQueryString:function(t){this.log("_initFromQueryString");var e,n,i,r=TinCan.Utils.parseURL(t).params,o=["endpoint","auth"],s={},a=null;if(r.hasOwnProperty("actor")){this.log("_initFromQueryString - found actor: "+r.actor);try{this.actor=TinCan.Agent.fromJSON(r.actor),delete r.actor}catch(t){this.log("_initFromQueryString - failed to set actor: "+t)}}if(r.hasOwnProperty("activity_id")&&(this.activity=new TinCan.Activity({id:r.activity_id}),delete r.activity_id),(r.hasOwnProperty("activity_platform")||r.hasOwnProperty("registration")||r.hasOwnProperty("grouping"))&&(i={},r.hasOwnProperty("activity_platform")&&(i.platform=r.activity_platform,delete r.activity_platform),r.hasOwnProperty("registration")&&(i.registration=this.registration=r.registration,delete r.registration),r.hasOwnProperty("grouping")&&(i.contextActivities={},i.contextActivities.grouping=r.grouping,delete r.grouping),this.context=new TinCan.Context(i)),r.hasOwnProperty("endpoint")){for(e=0;e<o.length;e+=1)n=o[e],r.hasOwnProperty(n)&&(s[n]=r[n],delete r[n]);for(e in r)r.hasOwnProperty(e)&&(l.hasOwnProperty(e)?delete r[e]:(a=a||{})[e]=r[e]);null!==a&&(s.extended=a),s.allowFail=!1,this.addRecordStore(s)}},addRecordStore:function(t){var e;this.log("addRecordStore"),e=t instanceof TinCan.LRS?t:new TinCan.LRS(t),this.recordStores.push(e)},prepareStatement:function(t){return this.log("prepareStatement"),t instanceof TinCan.Statement||(t=new TinCan.Statement(t)),null===t.actor&&null!==this.actor&&(t.actor=this.actor),null===t.target&&null!==this.activity&&(t.target=this.activity),null!==this.context&&(null===t.context?t.context=this.context:(null===t.context.registration&&(t.context.registration=this.context.registration),null===t.context.platform&&(t.context.platform=this.context.platform),null!==this.context.contextActivities&&(null===t.context.contextActivities?t.context.contextActivities=this.context.contextActivities:(null!==this.context.contextActivities.grouping&&null===t.context.contextActivities.grouping&&(t.context.contextActivities.grouping=this.context.contextActivities.grouping),null!==this.context.contextActivities.parent&&null===t.context.contextActivities.parent&&(t.context.contextActivities.parent=this.context.contextActivities.parent),null!==this.context.contextActivities.other&&null===t.context.contextActivities.other&&(t.context.contextActivities.other=this.context.contextActivities.other))))),t},sendStatement:function(t,i){this.log("sendStatement");var e,n,r,o=this,s=this.prepareStatement(t),a=this.recordStores.length,l=[],u=[];if(0<a)for("function"==typeof i&&(r=function(t,e){var n;o.log("sendStatement - callbackWrapper: "+a),1<a?(--a,u.push({err:t,xhr:e})):1===a?(u.push({err:t,xhr:e}),n=[u,s],i.apply(this,n)):o.log("sendStatement - unexpected record store count: "+a)}),n=0;n<a;n+=1)e=this.recordStores[n],l.push(e.saveStatement(s,{callback:r}));else this.log("[warning] sendStatement: No LRSs added yet (statement not sent)"),"function"==typeof i&&i.apply(this,[null,s]);return{statement:s,results:l}},getStatement:function(t,e){if(this.log("getStatement"),0<this.recordStores.length)return this.recordStores[0].retrieveStatement(t,{callback:e});this.log("[warning] getStatement: No LRSs added yet (statement not retrieved)")},voidStatement:function(t,i,e){this.log("voidStatement");var n,r,o,s,a,l=this,u=this.recordStores.length,c=[],h=[];if(t instanceof TinCan.Statement&&(t=t.id),void 0!==e.actor?r=e.actor:null!==this.actor&&(r=this.actor),o=new TinCan.Statement({actor:r,verb:{id:"http://adlnet.gov/expapi/verbs/voided"},target:{objectType:"StatementRef",id:t}}),0<u)for("function"==typeof i&&(a=function(t,e){var n;l.log("voidStatement - callbackWrapper: "+u),1<u?(--u,h.push({err:t,xhr:e})):1===u?(h.push({err:t,xhr:e}),n=[h,o],i.apply(this,n)):l.log("voidStatement - unexpected record store count: "+u)}),s=0;s<u;s+=1)n=this.recordStores[s],c.push(n.saveStatement(o,{callback:a}));else this.log("[warning] voidStatement: No LRSs added yet (statement not sent)"),"function"==typeof i&&i.apply(this,[null,o]);return{statement:o,results:c}},getVoidedStatement:function(t,e){if(this.log("getVoidedStatement"),0<this.recordStores.length)return this.recordStores[0].retrieveVoidedStatement(t,{callback:e});this.log("[warning] getVoidedStatement: No LRSs added yet (statement not retrieved)")},sendStatements:function(t,i){this.log("sendStatements");var e,n,r,o=this,s=[],a=this.recordStores.length,l=[],u=[];if(0===t.length)"function"==typeof i&&i.apply(this,[null,s]);else{for(n=0;n<t.length;n+=1)s.push(this.prepareStatement(t[n]));if(0<a)for("function"==typeof i&&(r=function(t,e){var n;o.log("sendStatements - callbackWrapper: "+a),1<a?(--a,u.push({err:t,xhr:e})):1===a?(u.push({err:t,xhr:e}),n=[u,s],i.apply(this,n)):o.log("sendStatements - unexpected record store count: "+a)}),n=0;n<a;n+=1)e=this.recordStores[n],l.push(e.saveStatements(s,{callback:r}));else this.log("[warning] sendStatements: No LRSs added yet (statements not sent)"),"function"==typeof i&&i.apply(this,[null,s])}return{statements:s,results:l}},getStatements:function(t){this.log("getStatements");var e,n,i={};if(0<this.recordStores.length)return e=this.recordStores[0],n=(t=t||{}).params||{},t.sendActor&&null!==this.actor&&("0.9"===e.version||"0.95"===e.version?n.actor=this.actor:n.agent=this.actor),t.sendActivity&&null!==this.activity&&("0.9"===e.version||"0.95"===e.version?n.target=this.activity:n.activity=this.activity),void 0===n.registration&&null!==this.registration&&(n.registration=this.registration),i={params:n},void 0!==t.callback&&(i.callback=t.callback),e.queryStatements(i);this.log("[warning] getStatements: No LRSs added yet (statements not read)")},getState:function(t,e){var n,i;if(this.log("getState"),0<this.recordStores.length)return i=this.recordStores[0],n={agent:void 0!==(e=e||{}).agent?e.agent:this.actor,activity:void 0!==e.activity?e.activity:this.activity},void 0!==e.registration?n.registration=e.registration:null!==this.registration&&(n.registration=this.registration),void 0!==e.callback&&(n.callback=e.callback),i.retrieveState(t,n);this.log("[warning] getState: No LRSs added yet (state not retrieved)")},setState:function(t,e,n){var i,r;if(this.log("setState"),0<this.recordStores.length)return r=this.recordStores[0],i={agent:void 0!==(n=n||{}).agent?n.agent:this.actor,activity:void 0!==n.activity?n.activity:this.activity},void 0!==n.registration?i.registration=n.registration:null!==this.registration&&(i.registration=this.registration),void 0!==n.lastSHA1&&(i.lastSHA1=n.lastSHA1),void 0!==n.contentType&&(i.contentType=n.contentType,void 0!==n.overwriteJSON&&!n.overwriteJSON&&TinCan.Utils.isApplicationJSON(n.contentType)&&(i.method="POST")),void 0!==n.callback&&(i.callback=n.callback),r.saveState(t,e,i);this.log("[warning] setState: No LRSs added yet (state not saved)")},deleteState:function(t,e){var n,i;if(this.log("deleteState"),0<this.recordStores.length)return i=this.recordStores[0],n={agent:void 0!==(e=e||{}).agent?e.agent:this.actor,activity:void 0!==e.activity?e.activity:this.activity},void 0!==e.registration?n.registration=e.registration:null!==this.registration&&(n.registration=this.registration),void 0!==e.callback&&(n.callback=e.callback),i.dropState(t,n);this.log("[warning] deleteState: No LRSs added yet (state not deleted)")},getActivityProfile:function(t,e){var n,i;if(this.log("getActivityProfile"),0<this.recordStores.length)return i=this.recordStores[0],n={activity:void 0!==(e=e||{}).activity?e.activity:this.activity},void 0!==e.callback&&(n.callback=e.callback),i.retrieveActivityProfile(t,n);this.log("[warning] getActivityProfile: No LRSs added yet (activity profile not retrieved)")},setActivityProfile:function(t,e,n){var i,r;if(this.log("setActivityProfile"),0<this.recordStores.length)return r=this.recordStores[0],i={activity:void 0!==(n=n||{}).activity?n.activity:this.activity},void 0!==n.callback&&(i.callback=n.callback),void 0!==n.lastSHA1&&(i.lastSHA1=n.lastSHA1),void 0!==n.contentType&&(i.contentType=n.contentType,void 0!==n.overwriteJSON&&!n.overwriteJSON&&TinCan.Utils.isApplicationJSON(n.contentType)&&(i.method="POST")),r.saveActivityProfile(t,e,i);this.log("[warning] setActivityProfile: No LRSs added yet (activity profile not saved)")},deleteActivityProfile:function(t,e){var n,i;if(this.log("deleteActivityProfile"),0<this.recordStores.length)return i=this.recordStores[0],n={activity:void 0!==(e=e||{}).activity?e.activity:this.activity},void 0!==e.callback&&(n.callback=e.callback),i.dropActivityProfile(t,n);this.log("[warning] deleteActivityProfile: No LRSs added yet (activity profile not deleted)")},getAgentProfile:function(t,e){var n,i;if(this.log("getAgentProfile"),0<this.recordStores.length)return i=this.recordStores[0],n={agent:void 0!==(e=e||{}).agent?e.agent:this.actor},void 0!==e.callback&&(n.callback=e.callback),i.retrieveAgentProfile(t,n);this.log("[warning] getAgentProfile: No LRSs added yet (agent profile not retrieved)")},setAgentProfile:function(t,e,n){var i,r;if(this.log("setAgentProfile"),0<this.recordStores.length)return r=this.recordStores[0],i={agent:void 0!==(n=n||{}).agent?n.agent:this.actor},void 0!==n.callback&&(i.callback=n.callback),void 0!==n.lastSHA1&&(i.lastSHA1=n.lastSHA1),void 0!==n.contentType&&(i.contentType=n.contentType,void 0!==n.overwriteJSON&&!n.overwriteJSON&&TinCan.Utils.isApplicationJSON(n.contentType)&&(i.method="POST")),r.saveAgentProfile(t,e,i);this.log("[warning] setAgentProfile: No LRSs added yet (agent profile not saved)")},deleteAgentProfile:function(t,e){var n,i;if(this.log("deleteAgentProfile"),0<this.recordStores.length)return i=this.recordStores[0],n={agent:void 0!==(e=e||{}).agent?e.agent:this.actor},void 0!==e.callback&&(n.callback=e.callback),i.dropAgentProfile(t,n);this.log("[warning] deleteAgentProfile: No LRSs added yet (agent profile not deleted)")}},TinCan.DEBUG=!1,TinCan.enableDebug=function(){TinCan.DEBUG=!0},TinCan.disableDebug=function(){TinCan.DEBUG=!1},TinCan.versions=function(){return["1.0.1","1.0.0","0.95","0.9"]},module.exports=TinCan}(),function(){"use strict";TinCan.Utils={getUUID:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},getISODateString:function(t){function e(t,e){var n,i;for(null==t&&(t=0),null==e&&(e=2),n=Math.pow(10,e-1),i=t.toString();t<n&&1<n;)i="0"+i,n/=10;return i}return t.getUTCFullYear()+"-"+e(t.getUTCMonth()+1)+"-"+e(t.getUTCDate())+"T"+e(t.getUTCHours())+":"+e(t.getUTCMinutes())+":"+e(t.getUTCSeconds())+"."+e(t.getUTCMilliseconds(),3)+"Z"},convertISO8601DurationToMilliseconds:function(t){var e,n,i,r,o=0<=t.indexOf("-"),s=t.indexOf("T"),a=t.indexOf("H"),l=t.indexOf("M"),u=t.indexOf("S");if(-1===s||-1!==l&&l<s||-1!==t.indexOf("D")||-1!==t.indexOf("Y"))throw new Error("ISO 8601 timestamps including years, months and/or days are not currently supported");return e=-1===a?(a=s,0):parseInt(t.slice(s+1,a),10),n=-1===l?(l=s,0):parseInt(t.slice(a+1,l),10),i=parseFloat(t.slice(l+1,u)),r=parseInt(1e3*(60*(60*e+n)+i),10),isNaN(r)&&(r=0),o&&(r*=-1),r},convertMillisecondsToISO8601Duration:function(t){var e,n,i=parseInt(t,10),r="",o="";return i<0&&(r="-",i*=-1),o=r+"PT",0<(e=parseInt(i/36e5,10))&&(o+=e+"H"),0<(n=parseInt(i%36e5/6e4,10))&&(o+=n+"M"),o+=i%36e5%6e4/1e3+"S"},getSHA1String:function(t){return CryptoJS.SHA1(t).toString(CryptoJS.enc.Hex)},getBase64String:function(t){return CryptoJS.enc.Base64.stringify(CryptoJS.enc.Latin1.parse(t))},getLangDictionaryValue:function(t,e){var n,i=this[t];if(void 0!==e&&void 0!==i[e])return i[e];if(void 0!==i.und)return i.und;if(void 0!==i["en-US"])return i["en-US"];for(n in i)if(i.hasOwnProperty(n))return i[n];return""},parseURL:function(t){function e(t){return decodeURIComponent(t.replace(s," "))}var n,i,r,o,s=/\+/g,a=/([^&=]+)=?([^&]*)/g;if(n=new RegExp(["^(https?:)//","(([^:/?#]*)(?::([0-9]+))?)","(/[^?#]*)","(\\?[^#]*|)","(#.*|)$"].join("")),(r={protocol:(i=t.match(n))[1],host:i[2],hostname:i[3],port:i[4],pathname:i[5],search:i[6],hash:i[7],params:{}}).path=r.protocol+"//"+r.host+r.pathname,""!==r.search)for(;o=a.exec(r.search.substring(1));)r.params[e(o[1])]=e(o[2]);return r},getServerRoot:function(t){var e=t.split("/");return e[0]+"//"+e[2]},getContentTypeFromHeader:function(t){return String(t).split(";")[0]},isApplicationJSON:function(t){return 0===TinCan.Utils.getContentTypeFromHeader(t).toLowerCase().indexOf("application/json")}}}(),function(){"use strict";var t=TinCan.LRS=function(t){this.log("constructor"),this.endpoint=null,this.version=null,this.auth=null,this.allowFail=!0,this.extended=null,this.init(t)};t.prototype={LOG_SRC:"LRS",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=TinCan.versions(),i=!1;if((t=t||{}).hasOwnProperty("alertOnRequestFailure")&&this.log("'alertOnRequestFailure' is deprecated (alerts have been removed) no need to set it now"),!t.hasOwnProperty("endpoint")||null===t.endpoint||""===t.endpoint)throw this.log("[error] LRS invalid: no endpoint"),{code:3,mesg:"LRS invalid: no endpoint"};if(this.endpoint=String(t.endpoint),"/"!==this.endpoint.slice(-1)&&(this.log("adding trailing slash to endpoint"),this.endpoint+="/"),t.hasOwnProperty("allowFail")&&(this.allowFail=t.allowFail),t.hasOwnProperty("auth")?this.auth=t.auth:t.hasOwnProperty("username")&&t.hasOwnProperty("password")&&(this.auth="Basic "+TinCan.Utils.getBase64String(t.username+":"+t.password)),t.hasOwnProperty("extended")&&(this.extended=t.extended),this._initByEnvironment(t),void 0!==t.version){for(this.log("version: "+t.version),e=0;e<n.length;e+=1)if(n[e]===t.version){i=!0;break}if(!i)throw this.log("[error] LRS invalid: version not supported ("+t.version+")"),{code:5,mesg:"LRS invalid: version not supported ("+t.version+")"};this.version=t.version}else this.version=n[0]},_initByEnvironment:function(){this.log("_initByEnvironment not overloaded - no environment loaded?")},_makeRequest:function(){this.log("_makeRequest not overloaded - no environment loaded?")},_IEModeConversion:function(){this.log("_IEModeConversion not overloaded - browser environment not loaded.")},sendRequest:function(t){this.log("sendRequest");var e,n=this.endpoint+t.url,i={};if(0===t.url.indexOf("http")&&(n=t.url),null!==this.extended)for(e in t.params=t.params||{},this.extended)this.extended.hasOwnProperty(e)&&(t.params.hasOwnProperty(e)||null!==this.extended[e]&&(t.params[e]=this.extended[e]));for(e in i.Authorization=this.auth,"0.9"!==this.version&&(i["X-Experience-API-Version"]=this.version),t.headers)t.headers.hasOwnProperty(e)&&(i[e]=t.headers[e]);return this._makeRequest(n,i,t)},about:function(i){var t,e,n;if(this.log("about"),t={url:"about",method:"GET",params:{}},void 0!==(i=i||{}).callback&&(n=function(t,e){var n=e;null===t&&(n=TinCan.About.fromJSON(e.responseText)),i.callback(t,n)},t.callback=n),e=this.sendRequest(t),!n)return null===e.err&&(e.xhr=TinCan.About.fromJSON(e.xhr.responseText)),e},saveStatement:function(t,e){var n,i;this.log("saveStatement"),e=e||{};try{i=t.asVersion(this.version)}catch(t){return this.allowFail?(this.log("[warning] statement could not be serialized in version ("+this.version+"): "+t),void 0!==e.callback?void e.callback(null,null):{err:null,xhr:null}):(this.log("[error] statement could not be serialized in version ("+this.version+"): "+t),void 0!==e.callback?void e.callback(t,null):{err:t,xhr:null})}return n={url:"statements",data:JSON.stringify(i),headers:{"Content-Type":"application/json"}},null!==t.id?(n.method="PUT",n.params={statementId:t.id}):n.method="POST",void 0!==e.callback&&(n.callback=e.callback),this.sendRequest(n)},retrieveStatement:function(t,i){var e,n,r;return this.log("retrieveStatement"),e={url:"statements",method:"GET",params:{statementId:t}},void 0!==(i=i||{}).callback&&(r=function(t,e){var n=e;null===t&&(n=TinCan.Statement.fromJSON(e.responseText)),i.callback(t,n)},e.callback=r),n=this.sendRequest(e),r||(n.statement=null)===n.err&&(n.statement=TinCan.Statement.fromJSON(n.xhr.responseText)),n},retrieveVoidedStatement:function(t,i){var e,n,r;return this.log("retrieveVoidedStatement"),i=i||{},e={url:"statements",method:"GET",params:{}},"0.9"===this.version||"0.95"===this.version?e.params.statementId=t:e.params.voidedStatementId=t,void 0!==i.callback&&(r=function(t,e){var n=e;null===t&&(n=TinCan.Statement.fromJSON(e.responseText)),i.callback(t,n)},e.callback=r),n=this.sendRequest(e),r||(n.statement=null)===n.err&&(n.statement=TinCan.Statement.fromJSON(n.xhr.responseText)),n},saveStatements:function(t,e){this.log("saveStatements");var n,i,r,o=[];if(e=e||{},0===t.length)return void 0!==e.callback?void e.callback(new Error("no statements"),null):{err:new Error("no statements"),xhr:null};for(r=0;r<t.length;r+=1){try{i=t[r].asVersion(this.version)}catch(t){return this.allowFail?(this.log("[warning] statement could not be serialized in version ("+this.version+"): "+t),void 0!==e.callback?void e.callback(null,null):{err:null,xhr:null}):(this.log("[error] statement could not be serialized in version ("+this.version+"): "+t),void 0!==e.callback?void e.callback(t,null):{err:t,xhr:null})}o.push(i)}return n={url:"statements",method:"POST",data:JSON.stringify(o),headers:{"Content-Type":"application/json"}},void 0!==e.callback&&(n.callback=e.callback),this.sendRequest(n)},queryStatements:function(i){var t,e,n;this.log("queryStatements"),(i=i||{}).params=i.params||{};try{t=this._queryStatementsRequestCfg(i)}catch(t){return this.log("[error] Query statements failed - "+t),void 0!==i.callback&&i.callback(t,{}),{err:t,statementsResult:null}}return void 0!==i.callback&&(n=function(t,e){var n=e;null===t&&(n=TinCan.StatementsResult.fromJSON(e.responseText)),i.callback(t,n)},t.callback=n),(e=this.sendRequest(t)).config=t,n||(e.statementsResult=null)===e.err&&(e.statementsResult=TinCan.StatementsResult.fromJSON(e.xhr.responseText)),e},_queryStatementsRequestCfg:function(t){this.log("_queryStatementsRequestCfg");var e,n,i={},r={url:"statements",method:"GET",params:i},o=["agent","actor","object","instructor"],s=["verb","activity"],a=["registration","context","since","until","limit","authoritative","sparse","ascending","related_activities","related_agents","format","attachments"],l={verb:!0,registration:!0,since:!0,until:!0,limit:!0,ascending:!0},u={.9:{supported:{actor:!0,instructor:!0,target:!0,object:!0,context:!0,authoritative:!0,sparse:!0}},"1.0.0":{supported:{agent:!0,activity:!0,related_activities:!0,related_agents:!0,format:!0,attachments:!0}}};for(n in u[.95]=u[.9],u["1.0.1"]=u["1.0.0"],t.params.hasOwnProperty("target")&&(t.params.object=t.params.target),t.params)if(t.params.hasOwnProperty(n)&&void 0===l[n]&&void 0===u[this.version].supported[n])throw"Unrecognized query parameter configured: "+n;for(e=0;e<o.length;e+=1)void 0!==t.params[o[e]]&&(i[o[e]]=JSON.stringify(t.params[o[e]].asVersion(this.version)));for(e=0;e<s.length;e+=1)void 0!==t.params[s[e]]&&(i[s[e]]=t.params[s[e]].id);for(e=0;e<a.length;e+=1)void 0!==t.params[a[e]]&&(i[a[e]]=t.params[a[e]]);return r},moreStatements:function(i){var t,e,n,r,o;return this.log("moreStatements: "+i.url),i=i||{},r=TinCan.Utils.parseURL(i.url),o=TinCan.Utils.getServerRoot(this.endpoint),0===r.path.indexOf("/statements")&&(r.path=this.endpoint.replace(o,"")+r.path,this.log("converting non-standard more URL to "+r.path)),0!==r.path.indexOf("/")&&(r.path="/"+r.path),t={method:"GET",url:o+r.path,params:r.params},void 0!==i.callback&&(n=function(t,e){var n=e;null===t&&(n=TinCan.StatementsResult.fromJSON(e.responseText)),i.callback(t,n)},t.callback=n),(e=this.sendRequest(t)).config=t,n||(e.statementsResult=null)===e.err&&(e.statementsResult=TinCan.StatementsResult.fromJSON(e.xhr.responseText)),e},retrieveState:function(i,r){this.log("retrieveState");var t,e,n={},o={};if(n={stateId:i,activityId:r.activity.id},"0.9"===this.version?n.actor=JSON.stringify(r.agent.asVersion(this.version)):n.agent=JSON.stringify(r.agent.asVersion(this.version)),void 0!==r.registration&&null!==r.registration&&("0.9"===this.version?n.registrationId=r.registration:n.registration=r.registration),o={url:"activities/state",method:"GET",params:n,ignore404:!0},void 0!==r.callback&&(e=function(t,e){var n=e;if(null===t)if(404===e.status)n=null;else if(n=new TinCan.State({id:i,contents:e.responseText}),void 0!==e.getResponseHeader&&null!==e.getResponseHeader("ETag")&&""!==e.getResponseHeader("ETag")?n.etag=e.getResponseHeader("ETag"):n.etag=TinCan.Utils.getSHA1String(e.responseText),void 0!==e.contentType?n.contentType=e.contentType:void 0!==e.getResponseHeader&&null!==e.getResponseHeader("Content-Type")&&""!==e.getResponseHeader("Content-Type")&&(n.contentType=e.getResponseHeader("Content-Type")),TinCan.Utils.isApplicationJSON(n.contentType))try{n.contents=JSON.parse(n.contents)}catch(t){this.log("retrieveState - failed to deserialize JSON: "+t)}r.callback(t,n)},o.callback=e),t=this.sendRequest(o),!e&&(t.state=null)===t.err&&404!==t.xhr.status&&(t.state=new TinCan.State({id:i,contents:t.xhr.responseText}),void 0!==t.xhr.getResponseHeader&&null!==t.xhr.getResponseHeader("ETag")&&""!==t.xhr.getResponseHeader("ETag")?t.state.etag=t.xhr.getResponseHeader("ETag"):t.state.etag=TinCan.Utils.getSHA1String(t.xhr.responseText),void 0!==t.xhr.contentType?t.state.contentType=t.xhr.contentType:void 0!==t.xhr.getResponseHeader&&null!==t.xhr.getResponseHeader("Content-Type")&&""!==t.xhr.getResponseHeader("Content-Type")&&(t.state.contentType=t.xhr.getResponseHeader("Content-Type")),TinCan.Utils.isApplicationJSON(t.state.contentType)))try{t.state.contents=JSON.parse(t.state.contents)}catch(t){this.log("retrieveState - failed to deserialize JSON: "+t)}return t},saveState:function(t,e,n){var i,r;return this.log("saveState"),void 0===n.contentType&&(n.contentType="application/octet-stream"),"object"==typeof e&&TinCan.Utils.isApplicationJSON(n.contentType)&&(e=JSON.stringify(e)),void 0!==n.method&&"POST"===n.method||(n.method="PUT"),i={stateId:t,activityId:n.activity.id},"0.9"===this.version?i.actor=JSON.stringify(n.agent.asVersion(this.version)):i.agent=JSON.stringify(n.agent.asVersion(this.version)),void 0!==n.registration&&null!==n.registration&&("0.9"===this.version?i.registrationId=n.registration:i.registration=n.registration),r={url:"activities/state",method:n.method,params:i,data:e,headers:{"Content-Type":n.contentType}},void 0!==n.callback&&(r.callback=n.callback),void 0!==n.lastSHA1&&null!==n.lastSHA1&&(r.headers["If-Match"]=n.lastSHA1),this.sendRequest(r)},dropState:function(t,e){var n,i;return this.log("dropState"),n={activityId:e.activity.id},"0.9"===this.version?n.actor=JSON.stringify(e.agent.asVersion(this.version)):n.agent=JSON.stringify(e.agent.asVersion(this.version)),null!==t&&(n.stateId=t),void 0!==e.registration&&null!==e.registration&&("0.9"===this.version?n.registrationId=e.registration:n.registration=e.registration),i={url:"activities/state",method:"DELETE",params:n},void 0!==e.callback&&(i.callback=e.callback),this.sendRequest(i)},retrieveActivityProfile:function(i,r){this.log("retrieveActivityProfile");var t,e,n={};if(n={url:"activities/profile",method:"GET",params:{profileId:i,activityId:r.activity.id},ignore404:!0},void 0!==r.callback&&(e=function(t,e){var n=e;if(null===t)if(404===e.status)n=null;else if(n=new TinCan.ActivityProfile({id:i,activity:r.activity,contents:e.responseText}),void 0!==e.getResponseHeader&&null!==e.getResponseHeader("ETag")&&""!==e.getResponseHeader("ETag")?n.etag=e.getResponseHeader("ETag"):n.etag=TinCan.Utils.getSHA1String(e.responseText),void 0!==e.contentType?n.contentType=e.contentType:void 0!==e.getResponseHeader&&null!==e.getResponseHeader("Content-Type")&&""!==e.getResponseHeader("Content-Type")&&(n.contentType=e.getResponseHeader("Content-Type")),TinCan.Utils.isApplicationJSON(n.contentType))try{n.contents=JSON.parse(n.contents)}catch(t){this.log("retrieveActivityProfile - failed to deserialize JSON: "+t)}r.callback(t,n)},n.callback=e),t=this.sendRequest(n),!e&&(t.profile=null)===t.err&&404!==t.xhr.status&&(t.profile=new TinCan.ActivityProfile({id:i,activity:r.activity,contents:t.xhr.responseText}),void 0!==t.xhr.getResponseHeader&&null!==t.xhr.getResponseHeader("ETag")&&""!==t.xhr.getResponseHeader("ETag")?t.profile.etag=t.xhr.getResponseHeader("ETag"):t.profile.etag=TinCan.Utils.getSHA1String(t.xhr.responseText),void 0!==t.xhr.contentType?t.profile.contentType=t.xhr.contentType:void 0!==t.xhr.getResponseHeader&&null!==t.xhr.getResponseHeader("Content-Type")&&""!==t.xhr.getResponseHeader("Content-Type")&&(t.profile.contentType=t.xhr.getResponseHeader("Content-Type")),TinCan.Utils.isApplicationJSON(t.profile.contentType)))try{t.profile.contents=JSON.parse(t.profile.contents)}catch(t){this.log("retrieveActivityProfile - failed to deserialize JSON: "+t)}return t},saveActivityProfile:function(t,e,n){var i;return this.log("saveActivityProfile"),void 0===n.contentType&&(n.contentType="application/octet-stream"),void 0!==n.method&&"POST"===n.method||(n.method="PUT"),"object"==typeof e&&TinCan.Utils.isApplicationJSON(n.contentType)&&(e=JSON.stringify(e)),i={url:"activities/profile",method:n.method,params:{profileId:t,activityId:n.activity.id},data:e,headers:{"Content-Type":n.contentType}},void 0!==n.callback&&(i.callback=n.callback),void 0!==n.lastSHA1&&null!==n.lastSHA1?i.headers["If-Match"]=n.lastSHA1:i.headers["If-None-Match"]="*",this.sendRequest(i)},dropActivityProfile:function(t,e){var n;return this.log("dropActivityProfile"),n={url:"activities/profile",method:"DELETE",params:{profileId:t,activityId:e.activity.id}},void 0!==e.callback&&(n.callback=e.callback),this.sendRequest(n)},retrieveAgentProfile:function(i,r){this.log("retrieveAgentProfile");var t,e,n={};if(n={method:"GET",params:{profileId:i},ignore404:!0},"0.9"===this.version?(n.url="actors/profile",n.params.actor=JSON.stringify(r.agent.asVersion(this.version))):(n.url="agents/profile",n.params.agent=JSON.stringify(r.agent.asVersion(this.version))),void 0!==r.callback&&(e=function(t,e){var n=e;if(null===t)if(404===e.status)n=null;else if(n=new TinCan.AgentProfile({id:i,agent:r.agent,contents:e.responseText}),void 0!==e.getResponseHeader&&null!==e.getResponseHeader("ETag")&&""!==e.getResponseHeader("ETag")?n.etag=e.getResponseHeader("ETag"):n.etag=TinCan.Utils.getSHA1String(e.responseText),void 0!==e.contentType?n.contentType=e.contentType:void 0!==e.getResponseHeader&&null!==e.getResponseHeader("Content-Type")&&""!==e.getResponseHeader("Content-Type")&&(n.contentType=e.getResponseHeader("Content-Type")),TinCan.Utils.isApplicationJSON(n.contentType))try{n.contents=JSON.parse(n.contents)}catch(t){this.log("retrieveAgentProfile - failed to deserialize JSON: "+t)}r.callback(t,n)},n.callback=e),t=this.sendRequest(n),!e&&(t.profile=null)===t.err&&404!==t.xhr.status&&(t.profile=new TinCan.AgentProfile({id:i,agent:r.agent,contents:t.xhr.responseText}),void 0!==t.xhr.getResponseHeader&&null!==t.xhr.getResponseHeader("ETag")&&""!==t.xhr.getResponseHeader("ETag")?t.profile.etag=t.xhr.getResponseHeader("ETag"):t.profile.etag=TinCan.Utils.getSHA1String(t.xhr.responseText),void 0!==t.xhr.contentType?t.profile.contentType=t.xhr.contentType:void 0!==t.xhr.getResponseHeader&&null!==t.xhr.getResponseHeader("Content-Type")&&""!==t.xhr.getResponseHeader("Content-Type")&&(t.profile.contentType=t.xhr.getResponseHeader("Content-Type")),TinCan.Utils.isApplicationJSON(t.profile.contentType)))try{t.profile.contents=JSON.parse(t.profile.contents)}catch(t){this.log("retrieveAgentProfile - failed to deserialize JSON: "+t)}return t},saveAgentProfile:function(t,e,n){var i;return this.log("saveAgentProfile"),void 0===n.contentType&&(n.contentType="application/octet-stream"),void 0!==n.method&&"POST"===n.method||(n.method="PUT"),"object"==typeof e&&TinCan.Utils.isApplicationJSON(n.contentType)&&(e=JSON.stringify(e)),i={method:n.method,params:{profileId:t},data:e,headers:{"Content-Type":n.contentType}},"0.9"===this.version?(i.url="actors/profile",i.params.actor=JSON.stringify(n.agent.asVersion(this.version))):(i.url="agents/profile",i.params.agent=JSON.stringify(n.agent.asVersion(this.version))),void 0!==n.callback&&(i.callback=n.callback),void 0!==n.lastSHA1&&null!==n.lastSHA1?i.headers["If-Match"]=n.lastSHA1:i.headers["If-None-Match"]="*",this.sendRequest(i)},dropAgentProfile:function(t,e){var n,i;return this.log("dropAgentProfile"),i={method:"DELETE",params:n={profileId:t}},"0.9"===this.version?(i.url="actors/profile",n.actor=JSON.stringify(e.agent.asVersion(this.version))):(i.url="agents/profile",n.agent=JSON.stringify(e.agent.asVersion(this.version))),void 0!==e.callback&&(i.callback=e.callback),this.sendRequest(i)}},t.syncEnabled=null}(),function(){"use strict";var n=TinCan.AgentAccount=function(t){this.log("constructor"),this.homePage=null,this.name=null,this.init(t)};n.prototype={LOG_SRC:"AgentAccount",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["name","homePage"];for(void 0!==(t=t||{}).accountServiceHomePage&&(t.homePage=t.accountServiceHomePage),void 0!==t.accountName&&(t.name=t.accountName),e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]])},toString:function(){this.log("toString");var t="";return null!==this.name||null!==this.homePage?(t+=null!==this.name?this.name:"-",t+=":",t+=null!==this.homePage?this.homePage:"-"):t="AgentAccount: unidentified",t},asVersion:function(t){this.log("asVersion: "+t);var e={};return"0.9"===(t=t||TinCan.versions()[0])?(e.accountName=this.name,e.accountServiceHomePage=this.homePage):(e.name=this.name,e.homePage=this.homePage),e}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.Agent=function(t){this.log("constructor"),this.name=null,this.mbox=null,this.mbox_sha1sum=null,this.openid=null,this.account=null,this.degraded=!1,this.init(t)};n.prototype={objectType:"Agent",LOG_SRC:"Agent",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n,i=["name","mbox","mbox_sha1sum","openid"];for(void 0!==(t=t||{}).lastName||void 0!==t.firstName?(t.name="",void 0!==t.firstName&&0<t.firstName.length&&(t.name=t.firstName[0],1<t.firstName.length&&(this.degraded=!0)),""!==t.name&&(t.name+=" "),void 0!==t.lastName&&0<t.lastName.length&&(t.name+=t.lastName[0],1<t.lastName.length&&(this.degraded=!0))):void 0===t.familyName&&void 0===t.givenName||(t.name="",void 0!==t.givenName&&0<t.givenName.length&&(t.name=t.givenName[0],1<t.givenName.length&&(this.degraded=!0)),""!==t.name&&(t.name+=" "),void 0!==t.familyName&&0<t.familyName.length&&(t.name+=t.familyName[0],1<t.familyName.length&&(this.degraded=!0))),"object"==typeof t.name&&null!==t.name&&(1<t.name.length&&(this.degraded=!0),t.name=t.name[0]),"object"==typeof t.mbox&&null!==t.mbox&&(1<t.mbox.length&&(this.degraded=!0),t.mbox=t.mbox[0]),"object"==typeof t.mbox_sha1sum&&null!==t.mbox_sha1sum&&(1<t.mbox_sha1sum.length&&(this.degraded=!0),t.mbox_sha1sum=t.mbox_sha1sum[0]),"object"==typeof t.openid&&null!==t.openid&&(1<t.openid.length&&(this.degraded=!0),t.openid=t.openid[0]),"object"==typeof t.account&&null!==t.account&&void 0===t.account.homePage&&void 0===t.account.name&&(0===t.account.length?delete t.account:(1<t.account.length&&(this.degraded=!0),t.account=t.account[0])),t.hasOwnProperty("account")&&(t.account instanceof TinCan.AgentAccount?this.account=t.account:this.account=new TinCan.AgentAccount(t.account)),e=0;e<i.length;e+=1)t.hasOwnProperty(i[e])&&null!==t[i[e]]&&(n=t[i[e]],"mbox"===i[e]&&-1===n.indexOf("mailto:")&&(n="mailto:"+n),this[i[e]]=n)},toString:function(){return this.log("toString"),null!==this.name?this.name:null!==this.mbox?this.mbox.replace("mailto:",""):null!==this.mbox_sha1sum?this.mbox_sha1sum:null!==this.openid?this.openid:null!==this.account?this.account.toString():this.objectType+": unidentified"},asVersion:function(t){this.log("asVersion: "+t);var e={objectType:this.objectType};return"0.9"===(t=t||TinCan.versions()[0])?(null!==this.mbox?e.mbox=[this.mbox]:null!==this.mbox_sha1sum?e.mbox_sha1sum=[this.mbox_sha1sum]:null!==this.openid?e.openid=[this.openid]:null!==this.account&&(e.account=[this.account.asVersion(t)]),null!==this.name&&(e.name=[this.name])):(null!==this.mbox?e.mbox=this.mbox:null!==this.mbox_sha1sum?e.mbox_sha1sum=this.mbox_sha1sum:null!==this.openid?e.openid=this.openid:null!==this.account&&(e.account=this.account.asVersion(t)),null!==this.name&&(e.name=this.name)),e}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.Group=function(t){this.log("constructor"),this.name=null,this.mbox=null,this.mbox_sha1sum=null,this.openid=null,this.account=null,this.member=[],this.init(t)};n.prototype={objectType:"Group",LOG_SRC:"Group",log:TinCan.prototype.log,init:function(t){var e;if(this.log("init"),t=t||{},TinCan.Agent.prototype.init.call(this,t),void 0!==t.member)for(e=0;e<t.member.length;e+=1)t.member[e]instanceof TinCan.Agent?this.member.push(t.member[e]):this.member.push(new TinCan.Agent(t.member[e]))},toString:function(t){this.log("toString");var e=TinCan.Agent.prototype.toString.call(this,t);return e!==this.objectType+": unidentified"&&(e=this.objectType+": "+e),e},asVersion:function(t){var e,n;if(this.log("asVersion: "+t),t=t||TinCan.versions()[0],e=TinCan.Agent.prototype.asVersion.call(this,t),0<this.member.length)for(e.member=[],n=0;n<this.member.length;n+=1)e.member.push(this.member[n].asVersion(t));return e}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var r={"http://adlnet.gov/expapi/verbs/experienced":"experienced","http://adlnet.gov/expapi/verbs/attended":"attended","http://adlnet.gov/expapi/verbs/attempted":"attempted","http://adlnet.gov/expapi/verbs/completed":"completed","http://adlnet.gov/expapi/verbs/passed":"passed","http://adlnet.gov/expapi/verbs/failed":"failed","http://adlnet.gov/expapi/verbs/answered":"answered","http://adlnet.gov/expapi/verbs/interacted":"interacted","http://adlnet.gov/expapi/verbs/imported":"imported","http://adlnet.gov/expapi/verbs/created":"created","http://adlnet.gov/expapi/verbs/shared":"shared","http://adlnet.gov/expapi/verbs/voided":"voided"},n=TinCan.Verb=function(t){this.log("constructor"),this.id=null,this.display=null,this.init(t)};n.prototype={LOG_SRC:"Verb",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n,i=["id","display"];if("string"==typeof t){for(n in this.id=t,this.display={und:this.id},r)if(r.hasOwnProperty(n)&&r[n]===t){this.id=n;break}}else{for(t=t||{},e=0;e<i.length;e+=1)t.hasOwnProperty(i[e])&&null!==t[i[e]]&&(this[i[e]]=t[i[e]]);null===this.display&&void 0!==r[this.id]&&(this.display={und:r[this.id]})}},toString:function(t){return this.log("toString"),null!==this.display?this.getLangDictionaryValue("display",t):this.id},asVersion:function(t){var e;return this.log("asVersion"),"0.9"===(t=t||TinCan.versions()[0])?e=r[this.id]:(e={id:this.id},null!==this.display&&(e.display=this.display)),e},getLangDictionaryValue:TinCan.Utils.getLangDictionaryValue},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.Result=function(t){this.log("constructor"),this.score=null,this.success=null,this.completion=null,this.duration=null,this.response=null,this.extensions=null,this.init(t)};n.prototype={LOG_SRC:"Result",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["completion","duration","extensions","response","success"];for((t=t||{}).hasOwnProperty("score")&&null!==t.score&&(t.score instanceof TinCan.Score?this.score=t.score:this.score=new TinCan.Score(t.score)),e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]]);"Completed"===this.completion&&(this.completion=!0)},asVersion:function(t){this.log("asVersion");var e,n={},i=["success","duration","response","extensions"],r=["score"];for(t=t||TinCan.versions()[0],e=0;e<i.length;e+=1)null!==this[i[e]]&&(n[i[e]]=this[i[e]]);for(e=0;e<r.length;e+=1)null!==this[r[e]]&&(n[r[e]]=this[r[e]].asVersion(t));return null!==this.completion&&("0.9"===t?this.completion&&(n.completion="Completed"):n.completion=this.completion),n}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.Score=function(t){this.log("constructor"),this.scaled=null,this.raw=null,this.min=null,this.max=null,this.init(t)};n.prototype={LOG_SRC:"Score",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["scaled","raw","min","max"];for(t=t||{},e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]])},asVersion:function(t){this.log("asVersion");var e,n={},i=["scaled","raw","min","max"];for(t=t||TinCan.versions()[0],e=0;e<i.length;e+=1)null!==this[i[e]]&&(n[i[e]]=this[i[e]]);return n}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.InteractionComponent=function(t){this.log("constructor"),this.id=null,this.description=null,this.init(t)};n.prototype={LOG_SRC:"InteractionComponent",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["id","description"];for(t=t||{},e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]])},asVersion:function(t){this.log("asVersion");var e,n,i={id:this.id},r=["description"];for(t=t||TinCan.versions()[0],e=0;e<r.length;e+=1)null!==this[n=r[e]]&&(i[n]=this[n]);return i},getLangDictionaryValue:TinCan.Utils.getLangDictionaryValue},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var a={"http://adlnet.gov/expapi/activities/course":"course","http://adlnet.gov/expapi/activities/module":"module","http://adlnet.gov/expapi/activities/meeting":"meeting","http://adlnet.gov/expapi/activities/media":"media","http://adlnet.gov/expapi/activities/performance":"performance","http://adlnet.gov/expapi/activities/simulation":"simulation","http://adlnet.gov/expapi/activities/assessment":"assessment","http://adlnet.gov/expapi/activities/interaction":"interaction","http://adlnet.gov/expapi/activities/cmi.interaction":"cmi.interaction","http://adlnet.gov/expapi/activities/question":"question","http://adlnet.gov/expapi/activities/objective":"objective","http://adlnet.gov/expapi/activities/link":"link"},n=TinCan.ActivityDefinition=function(t){this.log("constructor"),this.name=null,this.description=null,this.type=null,this.moreInfo=null,this.extensions=null,this.interactionType=null,this.correctResponsesPattern=null,this.choices=null,this.scale=null,this.source=null,this.target=null,this.steps=null,this.init(t)};n.prototype={LOG_SRC:"ActivityDefinition",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n,i,r=["name","description","moreInfo","extensions","correctResponsesPattern"],o=[];if((t=t||{}).hasOwnProperty("type")&&null!==t.type){for(i in a)a.hasOwnProperty(i)&&a[i]===t.type&&(t.type=a[i]);this.type=t.type}if(t.hasOwnProperty("interactionType")&&null!==t.interactionType&&(this.interactionType=t.interactionType,"choice"===t.interactionType||"sequencing"===t.interactionType?o.push("choices"):"likert"===t.interactionType?o.push("scale"):"matching"===t.interactionType?(o.push("source"),o.push("target")):"performance"===t.interactionType&&o.push("steps"),0<o.length))for(e=0;e<o.length;e+=1)if(i=o[e],t.hasOwnProperty(i)&&null!==t[i])for(this[i]=[],n=0;n<t[i].length;n+=1)t[i][n]instanceof TinCan.InteractionComponent?this[i].push(t[i][n]):this[i].push(new TinCan.InteractionComponent(t[i][n]));for(e=0;e<r.length;e+=1)t.hasOwnProperty(r[e])&&null!==t[r[e]]&&(this[r[e]]=t[r[e]])},toString:function(t){return this.log("toString"),null!==this.name?this.getLangDictionaryValue("name",t):null!==this.description?this.getLangDictionaryValue("description",t):""},asVersion:function(t){this.log("asVersion");var e,n,i,r={},o=["name","description","interactionType","correctResponsesPattern","extensions"],s=["choices","scale","source","target","steps"];for(t=t||TinCan.versions()[0],null!==this.type&&(r.type="0.9"===t?a[this.type]:this.type),e=0;e<o.length;e+=1)null!==this[i=o[e]]&&(r[i]=this[i]);for(e=0;e<s.length;e+=1)if(null!==this[i=s[e]])for(r[i]=[],n=0;n<this[i].length;n+=1)r[i].push(this[i][n].asVersion(t));return 0!==t.indexOf("0.9")&&null!==this.moreInfo&&(r.moreInfo=this.moreInfo),r},getLangDictionaryValue:TinCan.Utils.getLangDictionaryValue},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.Activity=function(t){this.log("constructor"),this.objectType="Activity",this.id=null,this.definition=null,this.init(t)};n.prototype={LOG_SRC:"Activity",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["id"];for((t=t||{}).hasOwnProperty("definition")&&(t.definition instanceof TinCan.ActivityDefinition?this.definition=t.definition:this.definition=new TinCan.ActivityDefinition(t.definition)),e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]])},toString:function(t){this.log("toString");var e="";return null!==this.definition&&""!==(e=this.definition.toString(t))?e:null!==this.id?this.id:"Activity: unidentified"},asVersion:function(t){this.log("asVersion");var e={id:this.id,objectType:this.objectType};return t=t||TinCan.versions()[0],null!==this.definition&&(e.definition=this.definition.asVersion(t)),e}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.ContextActivities=function(t){this.log("constructor"),this.category=null,this.parent=null,this.grouping=null,this.other=null,this.init(t)};n.prototype={LOG_SRC:"ContextActivities",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n,i,r,o=["category","parent","grouping","other"];for(t=t||{},e=0;e<o.length;e+=1)if(i=o[e],t.hasOwnProperty(i)&&null!==t[i])if("[object Array]"===Object.prototype.toString.call(t[i]))for(n=0;n<t[i].length;n+=1)this.add(i,t[i][n]);else r=t[i],this.add(i,r)},add:function(t,e){if("category"===t||"parent"===t||"grouping"===t||"other"===t)return null===this[t]&&(this[t]=[]),e instanceof TinCan.Activity||(e="string"==typeof e?{id:e}:e,e=new TinCan.Activity(e)),this[t].push(e),this[t].length-1},asVersion:function(t){this.log("asVersion");var e,n,i={},r=["parent","grouping","other"];for(t=t||TinCan.versions()[0],e=0;e<r.length;e+=1)if(null!==this[r[e]]&&0<this[r[e]].length)if("0.9"===t||"0.95"===t)1<this[r[e]].length&&this.log("[warning] version does not support multiple values in: "+r[e]),i[r[e]]=this[r[e]][0].asVersion(t);else for(i[r[e]]=[],n=0;n<this[r[e]].length;n+=1)i[r[e]].push(this[r[e]][n].asVersion(t));if(null!==this.category&&0<this.category.length){if("0.9"===t||"0.95"===t)throw this.log("[error] version does not support the 'category' property: "+t),new Error(t+" does not support the 'category' property");for(i.category=[],e=0;e<this.category.length;e+=1)i.category.push(this.category[e].asVersion(t))}return i}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.Context=function(t){this.log("constructor"),this.registration=null,this.instructor=null,this.team=null,this.contextActivities=null,this.revision=null,this.platform=null,this.language=null,this.statement=null,this.extensions=null,this.init(t)};n.prototype={LOG_SRC:"Context",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n,i,r=["registration","revision","platform","language","extensions"],o=["instructor","team"];for(t=t||{},e=0;e<r.length;e+=1)n=r[e],t.hasOwnProperty(n)&&null!==t[n]&&(this[n]=t[n]);for(e=0;e<o.length;e+=1)n=o[e],t.hasOwnProperty(n)&&null!==t[n]&&(void 0!==(i=t[n]).objectType&&"Person"!==i.objectType||(i.objectType="Agent"),"Agent"!==i.objectType||i instanceof TinCan.Agent?"Group"!==i.objectType||i instanceof TinCan.Group||(i=new TinCan.Group(i)):i=new TinCan.Agent(i),this[n]=i);t.hasOwnProperty("contextActivities")&&null!==t.contextActivities&&(t.contextActivities instanceof TinCan.ContextActivities?this.contextActivities=t.contextActivities:this.contextActivities=new TinCan.ContextActivities(t.contextActivities)),t.hasOwnProperty("statement")&&null!==t.statement&&(t.statement instanceof TinCan.StatementRef||t.statement instanceof TinCan.SubStatement?this.statement=t.statement:"StatementRef"===t.statement.objectType?this.statement=new TinCan.StatementRef(t.statement):"SubStatement"===t.statement.objectType?this.statement=new TinCan.SubStatement(t.statement):this.log("Unable to parse statement.context.statement property."))},asVersion:function(t){this.log("asVersion");var e,n={},i=["registration","revision","platform","language","extensions"],r=["instructor","team","contextActivities","statement"];if(t=t||TinCan.versions()[0],this.statement instanceof TinCan.SubStatement&&"0.9"!==t&&"0.95"!==t)throw this.log("[error] version does not support SubStatements in the 'statement' property: "+t),new Error(t+" does not support SubStatements in the 'statement' property");for(e=0;e<i.length;e+=1)null!==this[i[e]]&&(n[i[e]]=this[i[e]]);for(e=0;e<r.length;e+=1)null!==this[r[e]]&&(n[r[e]]=this[r[e]].asVersion(t));return n}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.StatementRef=function(t){this.log("constructor"),this.id=null,this.init(t)};n.prototype={objectType:"StatementRef",LOG_SRC:"StatementRef",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["id"];for(t=t||{},e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]])},toString:function(){return this.log("toString"),this.id},asVersion:function(t){this.log("asVersion");var e={objectType:this.objectType,id:this.id};return"0.9"===t&&(e.objectType="Statement"),e}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.SubStatement=function(t){this.log("constructor"),this.actor=null,this.verb=null,this.target=null,this.result=null,this.context=null,this.timestamp=null,this.init(t)};n.prototype={objectType:"SubStatement",LOG_SRC:"SubStatement",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["timestamp"];for((t=t||{}).hasOwnProperty("object")&&(t.target=t.object),t.hasOwnProperty("actor")&&(void 0!==t.actor.objectType&&"Person"!==t.actor.objectType||(t.actor.objectType="Agent"),"Agent"===t.actor.objectType?t.actor instanceof TinCan.Agent?this.actor=t.actor:this.actor=new TinCan.Agent(t.actor):"Group"===t.actor.objectType&&(t.actor instanceof TinCan.Group?this.actor=t.actor:this.actor=new TinCan.Group(t.actor))),t.hasOwnProperty("verb")&&(t.verb instanceof TinCan.Verb?this.verb=t.verb:this.verb=new TinCan.Verb(t.verb)),t.hasOwnProperty("target")&&(t.target instanceof TinCan.Activity||t.target instanceof TinCan.Agent||t.target instanceof TinCan.Group||t.target instanceof TinCan.SubStatement||t.target instanceof TinCan.StatementRef?this.target=t.target:(void 0===t.target.objectType&&(t.target.objectType="Activity"),"Activity"===t.target.objectType?this.target=new TinCan.Activity(t.target):"Agent"===t.target.objectType?this.target=new TinCan.Agent(t.target):"Group"===t.target.objectType?this.target=new TinCan.Group(t.target):"SubStatement"===t.target.objectType?this.target=new TinCan.SubStatement(t.target):"StatementRef"===t.target.objectType?this.target=new TinCan.StatementRef(t.target):this.log("Unrecognized target type: "+t.target.objectType))),t.hasOwnProperty("result")&&(t.result instanceof TinCan.Result?this.result=t.result:this.result=new TinCan.Result(t.result)),t.hasOwnProperty("context")&&(t.context instanceof TinCan.Context?this.context=t.context:this.context=new TinCan.Context(t.context)),e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]])},toString:function(t){return this.log("toString"),(null!==this.actor?this.actor.toString(t):"")+" "+(null!==this.verb?this.verb.toString(t):"")+" "+(null!==this.target?this.target.toString(t):"")},asVersion:function(t){this.log("asVersion");var e,n,i=["timestamp"],r=["actor","verb","result","context"];for(e={objectType:this.objectType},t=t||TinCan.versions()[0],n=0;n<i.length;n+=1)null!==this[i[n]]&&(e[i[n]]=this[i[n]]);for(n=0;n<r.length;n+=1)null!==this[r[n]]&&(e[r[n]]=this[r[n]].asVersion(t));return null!==this.target&&(e.object=this.target.asVersion(t)),"0.9"===t&&(e.objectType="Statement"),e}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.Statement=function(t,e){this.log("constructor"),void 0===(e="number"==typeof e?{storeOriginal:e}:e||{}).storeOriginal&&(e.storeOriginal=null),void 0===e.doStamp&&(e.doStamp=!0),this.id=null,this.actor=null,this.verb=null,this.target=null,this.result=null,this.context=null,this.timestamp=null,this.stored=null,this.authority=null,this.version=null,this.degraded=!1,this.voided=null,this.inProgress=null,this.originalJSON=null,this.init(t,e)};n.prototype={LOG_SRC:"Statement",log:TinCan.prototype.log,init:function(t,e){this.log("init");var n,i=["id","stored","timestamp","version","inProgress","voided"];for(t=t||{},e.storeOriginal&&(this.originalJSON=JSON.stringify(t,null,e.storeOriginal)),t.hasOwnProperty("object")&&(t.target=t.object),t.hasOwnProperty("actor")&&(void 0!==t.actor.objectType&&"Person"!==t.actor.objectType||(t.actor.objectType="Agent"),"Agent"===t.actor.objectType?t.actor instanceof TinCan.Agent?this.actor=t.actor:this.actor=new TinCan.Agent(t.actor):"Group"===t.actor.objectType&&(t.actor instanceof TinCan.Group?this.actor=t.actor:this.actor=new TinCan.Group(t.actor))),t.hasOwnProperty("authority")&&(void 0!==t.authority.objectType&&"Person"!==t.authority.objectType||(t.authority.objectType="Agent"),"Agent"===t.authority.objectType?t.authority instanceof TinCan.Agent?this.authority=t.authority:this.authority=new TinCan.Agent(t.authority):"Group"===t.authority.objectType&&(t.actor instanceof TinCan.Group?this.authority=t.authority:this.authority=new TinCan.Group(t.authority))),t.hasOwnProperty("verb")&&(t.verb instanceof TinCan.Verb?this.verb=t.verb:this.verb=new TinCan.Verb(t.verb)),t.hasOwnProperty("target")&&(t.target instanceof TinCan.Activity||t.target instanceof TinCan.Agent||t.target instanceof TinCan.Group||t.target instanceof TinCan.SubStatement||t.target instanceof TinCan.StatementRef?this.target=t.target:(void 0===t.target.objectType&&(t.target.objectType="Activity"),"Activity"===t.target.objectType?this.target=new TinCan.Activity(t.target):"Agent"===t.target.objectType?this.target=new TinCan.Agent(t.target):"Group"===t.target.objectType?this.target=new TinCan.Group(t.target):"SubStatement"===t.target.objectType?this.target=new TinCan.SubStatement(t.target):"StatementRef"===t.target.objectType?this.target=new TinCan.StatementRef(t.target):this.log("Unrecognized target type: "+t.target.objectType))),t.hasOwnProperty("result")&&(t.result instanceof TinCan.Result?this.result=t.result:this.result=new TinCan.Result(t.result)),t.hasOwnProperty("context")&&(t.context instanceof TinCan.Context?this.context=t.context:this.context=new TinCan.Context(t.context)),n=0;n<i.length;n+=1)t.hasOwnProperty(i[n])&&null!==t[i[n]]&&(this[i[n]]=t[i[n]]);e.doStamp&&this.stamp()},toString:function(t){return this.log("toString"),(null!==this.actor?this.actor.toString(t):"")+" "+(null!==this.verb?this.verb.toString(t):"")+" "+(null!==this.target?this.target.toString(t):"")},asVersion:function(t){this.log("asVersion");var e,n={},i=["id","timestamp"],r=["actor","verb","result","context","authority"];for(t=t||TinCan.versions()[0],e=0;e<i.length;e+=1)null!==this[i[e]]&&(n[i[e]]=this[i[e]]);for(e=0;e<r.length;e+=1)null!==this[r[e]]&&(n[r[e]]=this[r[e]].asVersion(t));return null!==this.target&&(n.object=this.target.asVersion(t)),"0.9"!==t&&"0.95"!==t||null!==this.voided&&(n.voided=this.voided),"0.9"===t&&null!==this.inProgress&&(n.inProgress=this.inProgress),n},stamp:function(){this.log("stamp"),null===this.id&&(this.id=TinCan.Utils.getUUID()),null===this.timestamp&&(this.timestamp=TinCan.Utils.getISODateString(new Date))}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var o=TinCan.StatementsResult=function(t){this.log("constructor"),this.statements=null,this.more=null,this.init(t)};o.prototype={LOG_SRC:"StatementsResult",log:TinCan.prototype.log,init:function(t){this.log("init"),(t=t||{}).hasOwnProperty("statements")&&(this.statements=t.statements),t.hasOwnProperty("more")&&(this.more=t.more)}},o.fromJSON=function(t){o.prototype.log("fromJSON");var e,n,i,r=[];try{e=JSON.parse(t)}catch(t){o.prototype.log("fromJSON - JSON.parse error: "+t)}if(e){for(i=0;i<e.statements.length;i+=1){try{n=new TinCan.Statement(e.statements[i],4)}catch(t){o.prototype.log("fromJSON - statement instantiation failed: "+t+" ("+JSON.stringify(e.statements[i])+")"),n=new TinCan.Statement({id:e.statements[i].id},4)}r.push(n)}e.statements=r}return new o(e)}}(),function(){"use strict";var n=TinCan.State=function(t){this.log("constructor"),this.id=null,this.updated=null,this.contents=null,this.etag=null,this.contentType=null,this.init(t)};n.prototype={LOG_SRC:"State",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["id","contents","etag","contentType"];for(t=t||{},e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]]);this.updated=!1}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.ActivityProfile=function(t){this.log("constructor"),this.id=null,this.activity=null,this.updated=null,this.contents=null,this.etag=null,this.contentType=null,this.init(t)};n.prototype={LOG_SRC:"ActivityProfile",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["id","contents","etag","contentType"];for((t=t||{}).hasOwnProperty("activity")&&(t.activity instanceof TinCan.Activity?this.activity=t.activity:this.activity=new TinCan.Activity(t.activity)),e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]]);this.updated=!1}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.AgentProfile=function(t){this.log("constructor"),this.id=null,this.agent=null,this.updated=null,this.contents=null,this.etag=null,this.contentType=null,this.init(t)};n.prototype={LOG_SRC:"AgentProfile",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["id","contents","etag","contentType"];for((t=t||{}).hasOwnProperty("agent")&&(t.agent instanceof TinCan.Agent?this.agent=t.agent:this.agent=new TinCan.Agent(t.agent)),e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]]);this.updated=!1}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var n=TinCan.About=function(t){this.log("constructor"),this.version=null,this.init(t)};n.prototype={LOG_SRC:"About",log:TinCan.prototype.log,init:function(t){this.log("init");var e,n=["version"];for(t=t||{},e=0;e<n.length;e+=1)t.hasOwnProperty(n[e])&&null!==t[n[e]]&&(this[n[e]]=t[n[e]])}},n.fromJSON=function(t){n.prototype.log("fromJSON");var e=JSON.parse(t);return new n(e)}}(),function(){"use strict";var LOG_SRC="Environment.Browser",nativeRequest,xdrRequest,requestComplete,__delay,__IEModeConversion,env={},log=TinCan.prototype.log;"undefined"!=typeof window?(window.JSON||(window.JSON={parse:function(sJSON){return eval("("+sJSON+")")},stringify:function(t){var e,n,i="";if(t instanceof Object){if(t.constructor===Array){for(e=0;e<t.length;e+=1)i+=this.stringify(t[e])+",";return"["+i.substr(0,i.length-1)+"]"}if(t.toString!==Object.prototype.toString)return'"'+t.toString().replace(/"/g,"\\$&")+'"';for(n in t)t.hasOwnProperty(n)&&(i+='"'+n.replace(/"/g,"\\$&")+'":'+this.stringify(t[n])+",");return"{"+i.substr(0,i.length-1)+"}"}return"string"==typeof t?'"'+t.replace(/"/g,"\\$&")+'"':String(t)}}),Date.now||(Date.now=function(){return+new Date}),env.hasCORS=!1,env.useXDR=!1,"undefined"!=typeof XMLHttpRequest&&void 0!==(new XMLHttpRequest).withCredentials?env.hasCORS=!0:"undefined"!=typeof XDomainRequest&&(env.hasCORS=!0,env.useXDR=!0),requestComplete=function(t,e,n){var i,r,o;return log("requestComplete: "+n.finished+", xhr.status: "+t.status,LOG_SRC),o=void 0===t.status?n.fakeStatus:1223===t.status?204:t.status,n.finished?i:(n.finished=!0,r=e.ignore404&&404===o,200<=o&&o<400||r?e.callback?void e.callback(null,t):i={err:null,xhr:t}:(i={err:o,xhr:t},log(0===o?"[warning] There was a problem communicating with the Learning Record Store. Aborted, offline, or invalid CORS endpoint ("+o+")":"[warning] There was a problem communicating with the Learning Record Store. ("+o+" | "+t.responseText+")",LOG_SRC),e.callback&&e.callback(o,t),i))},__IEModeConversion=function(t,e,n,i){var r;for(r in e)e.hasOwnProperty(r)&&n.push(r+"="+encodeURIComponent(e[r]));return void 0!==i.data&&n.push("content="+encodeURIComponent(i.data)),e["Content-Type"]="application/x-www-form-urlencoded",t+="?method="+i.method,i.method="POST",i.params={},0<n.length&&(i.data=n.join("&")),t},nativeRequest=function(t,e,n){log("sendRequest using XMLHttpRequest",LOG_SRC);var i,r,o,s,a=this,l=[],u={finished:!1,fakeStatus:null},c=void 0!==n.callback,h=t;for(r in log("sendRequest using XMLHttpRequest - async: "+c,LOG_SRC),n.params)n.params.hasOwnProperty(r)&&l.push(r+"="+encodeURIComponent(n.params[r]));if(0<l.length&&(h+="?"+l.join("&")),2048<=h.length){if(void 0!==e["Content-Type"]&&"application/json"!==e["Content-Type"])return s=new Error("Unsupported content type for IE Mode request"),void 0!==n.callback&&n.callback(s,null),{err:s,xhr:null};if(void 0===n.method)return s=new Error("method must not be undefined for an IE Mode Request conversion"),void 0!==n.callback&&n.callback(s,null),{err:s,xhr:null};t=__IEModeConversion(t,e,l,n)}else t=h;for(r in(i="undefined"!=typeof XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")).open(n.method,t,c),e)e.hasOwnProperty(r)&&i.setRequestHeader(r,e[r]);void 0!==n.data&&(n.data+=""),o=n.data,c&&(i.onreadystatechange=function(){log("xhr.onreadystatechange - xhr.readyState: "+i.readyState,LOG_SRC),4===i.readyState&&requestComplete.call(a,i,n,u)});try{i.send(o)}catch(t){log("sendRequest caught send exception: "+t,LOG_SRC)}return c?i:requestComplete.call(this,i,n,u)},xdrRequest=function(t,e,n){log("sendRequest using XDomainRequest",LOG_SRC);var i,r,o,s,a,l=this,u=[],c={finished:!1,fakeStatus:null};if(void 0!==e["Content-Type"]&&"application/json"!==e["Content-Type"])return a=new Error("Unsupported content type for IE Mode request"),n.callback?(n.callback(a,null),null):{err:a,xhr:null};for(o in t+="?method="+n.method,n.params)n.params.hasOwnProperty(o)&&u.push(o+"="+encodeURIComponent(n.params[o]));for(o in e)e.hasOwnProperty(o)&&u.push(o+"="+encodeURIComponent(e[o]));void 0!==n.data&&u.push("content="+encodeURIComponent(n.data)),r=u.join("&"),(i=new XDomainRequest).open("POST",t),n.callback?(i.onload=function(){c.fakeStatus=200,requestComplete.call(l,i,n,c)},i.onerror=function(){c.fakeStatus=400,requestComplete.call(l,i,n,c)},i.ontimeout=function(){c.fakeStatus=0,requestComplete.call(l,i,n,c)}):(i.onload=function(){c.fakeStatus=200},i.onerror=function(){c.fakeStatus=400},i.ontimeout=function(){c.fakeStatus=0}),i.onprogress=function(){},i.timeout=0;try{i.send(r)}catch(t){log("sendRequest caught send exception: "+t,LOG_SRC)}if(n.callback)return i;for(s=1e4+Date.now(),log("sendRequest - until: "+s+", finished: "+c.finished,LOG_SRC);Date.now()<s&&null===c.fakeStatus;)__delay();return requestComplete.call(l,i,n,c)},TinCan.LRS.prototype._initByEnvironment=function(t){var e,n,i;if(log("_initByEnvironment",LOG_SRC),t=t||{},this._makeRequest=nativeRequest,this._IEModeConversion=__IEModeConversion,null===(e=this.endpoint.toLowerCase().match(/([A-Za-z]+:)\/\/([^:\/]+):?(\d+)?(\/.*)?$/)))throw log("[error] LRS invalid: failed to divide URL parts",LOG_SRC),{code:4,mesg:"LRS invalid: failed to divide URL parts"};if(i=location.port,n=location.protocol.toLowerCase()===e[1],""===i&&(i="http:"===location.protocol.toLowerCase()?"80":"https:"===location.protocol.toLowerCase()?"443":""),!n||location.hostname.toLowerCase()!==e[2]||i!==(null!==e[3]&&void 0!==e[3]&&""!==e[3]?e[3]:"http:"===e[1]?"80":"https:"===e[1]?"443":""))if(env.hasCORS){if(env.useXDR&&n)this._makeRequest=xdrRequest;else if(env.useXDR&&!n){if(!t.allowFail)throw log("[error] LRS invalid: cross domain request for differing scheme in IE with XDR",LOG_SRC),{code:2,mesg:"LRS invalid: cross domain request for differing scheme in IE with XDR"};log("[warning] LRS invalid: cross domain request for differing scheme in IE with XDR (allowed to fail)",LOG_SRC)}}else{if(!t.allowFail)throw log("[error] LRS invalid: cross domain requests not supported in this browser",LOG_SRC),{code:1,mesg:"LRS invalid: cross domain requests not supported in this browser"};log("[warning] LRS invalid: cross domain requests not supported in this browser (allowed to fail)",LOG_SRC)}},__delay=function(){var t=new XMLHttpRequest,e=window.location+"?forcenocache="+TinCan.Utils.getUUID();t.open("GET",e,!1),t.send(null)},TinCan.LRS.syncEnabled=!0):log("'window' not defined",LOG_SRC)}()},function(t,e,E){"use strict";var n;void 0===(n=function(t){function e(t){var e=r.rest(arguments);return[t].concat(e).join("/")}var n,i,r=E(0),o=E(47),s=E(5),a=E(3),l=(E(11),E(12)),u=E(6),c=E(10),h=E(7).addWindowListener,f=0,d="SavePlayerData",p="SaveResume",g="GetResumeInfo",v="RefreshSession",m="GetSessionId",y=["<soap:Envelope ",'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ','xmlns:xsd="http://www.w3.org/2001/XMLSchema" ','xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">',"<soap:Body>"].join(""),A="</soap:Body></soap:Envelope>",w=window.location.origin,b=r.first(window.location.toString().split("#")),_="http://articulate.com",S="",T={GetResumeInfo:"sendResumeReady",GetSessionId:"onSessionId",RefreshSession:"dontDoAnything",SaveResume:"dontDoAnything",SavePlayerData:"dontDoAnything"},x={queue:[],priorityQueue:[],resumer:null,scoring:null,htmlUpdate:"",lastData:"",unloaded:!1,awaitingResponse:!1,initialize:function(t,e){if(window.globals.aoSupport)return this.activityId=t,this.scoring=e||{},this.sessionId=Date.now().toString(),h("pagehide",this.onBeforeUnload.bind(this)),this},setTotalSlides:function(t){this.totalSlides=t},setResumer:function(t){this.resumer=t,this.queueRequest(m)},interactionAnswered:function(){this.updateResults(),this.sendResultsData()},quizComplete:function(){this.updateResults(),this.sendResultsData()},courseComplete:function(){this.updateResults(),this.sendResultsData()},manualCourseComplete:function(){this.updateCompleteOnly(),this.sendResultsData()},courseStarted:r.noop,reportStatus:r.noop,viewedComplete:r.noop,slideViewed:function(){var e=[c.writeNode("viewdata",{total:this.totalSlides,viewed:this.resumer.getUniqueViewedSlides().length,viewedcomplete:this.resumer.getUniqueTotalSlides().length})];this.getViewedEls(this.resumer.viewedSlides).forEach(function(t){e.push(t)}),e.push(c.writeCloseNode("viewdata")),this.updateViewData(e.join("")),null!=this.scoring&&this.scoring.isView()&&(this.setViewedResults(),this.sendResultsData())},getViewedEls:function(t){return t.reduce(function(t,e){return t.push(c.writeNode("slide",{id:a.stripPlayer(e.absoluteId),viewgroupid:e.getViewGroupId()},!0)),t},[])},setViewedResults:function(){var t=[c.writeNode("results"),c.writeNode("summary",{slidesviewed:this.resumer.totalViewedSlides.length,slidestotal:this.totalSlides,duration:this.resumer.getCourseTime(),status:this.scoring.getViewedStatus()},!0),c.writeCloseNode("results")].join("");this.updateResultsData(t)},updateResults:function(){if(null!=this.scoring&&!this.scoring.isView()){var t=[c.writeNode("results"),c.writeNode("summary",this.getSummaryAttributes(),!0),c.writeNode("quizzes")];return null!=this.scoring.quiz&&t.push(this.scoring.quiz.getAoSoapXml()),t.push(c.writeCloseNode("quizzes"),c.writeCloseNode("results")),this.updateResultsData(t.join("")),this}},updateCompleteOnly:function(){return this.updateResultsData([c.writeNode("results"),c.writeNode("summary",{status:this.scoring.prop("Status")},!0),c.writeCloseNode("results")].join("")),this},getSummaryAttributes:function(t){return t={},null==this.scoring||this.scoring.isView()||(this.scoring.isType("quiz")&&(t.score=this.scoring.prop("PercentScore"),t.possibleScore=100),t.duration=this.resumer.getCourseTime(),t.status=this.scoring.prop("Status")),t},onSessionId:function(t){this.sessionId=t.querySelector("GetSessionIdResponse").textContent,this.createRefreshInterval()},killRefreshInterval:function(){l.killDelayedCallsTo(this.onIntervalComplete)},createRefreshInterval:function(){l.delayedCall(60,this.onIntervalComplete,void 0,this)},onIntervalComplete:function(){this.queueRequest(v).createRefreshInterval()},dontDoAnything:r.noop,getItem:function(){return this.resumeDfd=new u.Deferred,this.queueRequest(g),this.resumeDfd.promise()},setItem:function(t,e){e!==this.lastData&&(this.lastData=e,this.updateResumeData(e))},sendResumeReady:function(t){var e=t.querySelector("GetResumeInfoResponse");this.resumeDfd.resolve(e.textContent)},getWrapperDiv:function(){return document.createElement("div")},updateResumeData:function(t){var e;n=["<resumeData>",t,"</resumeData>"].join(""),e=['<playerdata sessionid="',this.sessionId,'">',n,"</playerdata>"].join(""),this.killRefreshInterval(),this.queueRequest(p,e),this.createRefreshInterval(),this.prepareHtmlUpdate()},updateViewData:function(t){i=t,this.prepareHtmlUpdate()},updateResultsData:function(t){S=t,this.prepareHtmlUpdate()},getPlayerData:function(){return['<playerdata sessionid="',this.sessionId,'" ','sendcount="',f,'">',n,i,S,"</playerdata>"].join("")},sendResultsData:function(){var t=this.getPlayerData();f++,this.queueRequest(d,t,!0),this.scoring.markAttemptsSent()},prepareHtmlUpdate:function(){this.htmlUpdate=this.getPlayerData()},hasResultsData:function(){return/<(viewdata|results)/.test(this.htmlUpdate)},onBeforeUnload:function(){this.htmlUpdate.length&&null==this.hasEnded&&(this.hasEnded=!0,this[s.browser.isIE?"sendSyncRequest":"sendRequest"]({command:this.hasResultsData()?d:p,xmlData:this.htmlUpdate}))},queueRequest:function(t,e,n){var i=n?this.priorityQueue:this.queue,r={command:t,xmlData:e};return 0===this.queue.length&&0===this.priorityQueue.length&&!1===this.awaitingResponse?this.sendRequest(r):i.unshift(r),this},requestCallback:function(t,e,n){var i;this.awaitingResponse=!1,e||(i=(new window.DOMParser).parseFromString(n.text,"application/xml")),this[t](i),this.popQueue()},popQueue:function(){var t=this.priorityQueue.pop()||this.queue.pop();null!=t&&this.sendRequest(t)},sendRequest:function(t){s.browser.isIE&&this.hasEnded&&this.sendSyncRequest(t);var e=this.createBaseUrl("services/content/api.asmx"),n=this.createActionUrl("KnowledgeFlash/Services/Content/Api",t.command),i=this.createSoapRequest(t),r=T[t.command];this.awaitingResponse=!0,o.post(e).set("Content-Type","text/xml").set("soapaction",n).send(i).end(this.requestCallback.bind(this,r))},createActionUrl:r.partial(e,_),createBaseUrl:r.partial(e,w),createSoapRequest:function(t){return[y,"<command ".replace("command",t.command),'xmlns="serverUrl/KnowledgeFlash/Services/Content/Api">'.replace("serverUrl",_),"<contentUrl>",window.escape(b),"</contentUrl>",null!=t.xmlData?t.xmlData:"","</command>".replace("command",t.command),A].join("")},sendSyncRequest:function(t){var e=this.createBaseUrl("services/content/api.asmx"),n=this.createActionUrl("KnowledgeFlash/Services/Content/Api",t.command),i=this.createSoapRequest(t),r=new window.XMLHttpRequest;r.open("POST",e,!1),r.setRequestHeader("SOAPAction",n),r.send(i)}};return window.handleBeforeUnload=x.onBeforeUnload.bind(x),x}.call(e,E,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){function n(t){if(t)return function(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}(t)}return n.prototype.on=n.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[t]=this._callbacks[t]||[]).push(e),this},n.prototype.once=function(t,e){var n=this;function i(){n.off(t,i),e.apply(this,arguments)}return this._callbacks=this._callbacks||{},i.fn=e,this.on(t,i),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[t],this;for(var r=0;r<i.length;r++)if((n=i[r])===e||n.fn===e){i.splice(r,1);break}return this},n.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[t];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,e);return this},n.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[t]||[]},n.prototype.hasListeners=function(t){return!!this.listeners(t).length},n}.call(e,n,e,t))||(t.exports=i)},function(t,e,u){"use strict";var n;void 0===(n=function(t){var n=u(0),i=u(74),r=u(12),o=u(6),e=u(3),s=u(7).addWindowListener,a={complete:function(t){t.api.SetReachedEnd()},incomplete:function(t){t.api.ResetStatus()},fail:function(t){t.isCmi5&&t.api.SetReachedEnd(),t.api.SetFailed()},pass:function(t){t.isCmi5&&t.api.SetReachedEnd(),t.api.SetPassed()}},l={queue:[],resumer:null,scorings:[],api:null,lessonCompleted:!1,setTotalSlides:n.noop,courseStarted:n.noop,quizComplete:n.noop,slideViewed:n.noop,initialize:function(t,e,n){var i=this.startWindow();return i&&(window.lmsAPI=window.parent,this.scorings=e,this.courseId=t,this.isCmi5=n,s("pagehide",this.lmsUnload.bind(this)),this.initCommitTimeout()),!0===i?this:i},startWindow:function(){this.api=window;var t=n.isFunction(this.api.Start);return t&&this.api.Start(),t},setResumer:function(t){this.resumer=t},getItem:function(t){var e;if(this.resumeDfd=this.resumeDfd||new o.Deferred,null!=this.api.IsLoaded&&this.api.IsLoaded()?(e=this.api.GetDataChunk(),this.resumeDfd.resolve(e),this.listenToResumer(),this.lessonCompleted=this.api.GetStatus()===this.api.LESSON_STATUS_COMPLETED):r.delayedCall(.5,this.getItem,void 0,this),null!=t)return this.resumeDfd.promise()},listenToResumer:function(){var t=this;this.resumer.resumeDfd.catch(function(){t.lastStatus="incomplete",a.incomplete(t)})},setItem:function(t,e){this.resumeData=e,this.sendDataCall||(this.sendDataCall=r.delayedCall(.5,this.sendData,void 0,this))},initCommitTimeout:function(){var t=parseInt(e.getPath(window,"FORCED_COMMIT_TIME",6e4),10);0<t&&r.delayedCall(e.toSeconds(t),this.onCommitDelayComplete,void 0,this)},onCommitDelayComplete:function(){this.commit().initCommitTimeout()},sendData:function(){return this.sendDataCall=null,r.killDelayedCallsTo(this.sendData),null!=this.resumeData&&this.api.SetDataChunk(this.resumeData),this},interactionAnswered:function(t,e){0<this.scorings.length&&(0,i[e.type()])(t,e,this.resumer.getCourseTime())},reportStatus:function(){return this.updateScore(),this.updateStatus(),this},updateStatus:function(){var t=this.scorings.getStatus(),e=a[t]||n.noop;return this.lastStatus&&this.lastStatus===t||(this.lastStatus=t,e(this)),this},updateScore:function(){if(this.scorings.hasScorable()){var t=this.scorings.getPercentScore();this.lastScore!==t&&(this.lastScore=t,this.api.SetScore(t,100,0))}},viewedComplete:function(){return a[this.scorings.getStatus()](this),this.resumer.savePresentationData(),this.commit(),this},forceCommit:function(){return this.resumer.savePresentationData(),this.sendData().commit(),this},lmsUnload:function(t){null==this.unloaded&&(this.unloaded=!0,this.reportStatus(),null!=this.sendDataCall&&this.forceCommit(),this.api.ConcedeControl(!0===t),this.api.Unload())},commit:function(){return this.api.CommitData(),this},courseComplete:function(){return this.reportStatus().forceCommit(),this}};return l.manualCourseComplete=l.courseComplete,l}.call(e,u,e,t))||(t.exports=n)},function(t,e,s){"use strict";var n;void 0===(n=function(t){function l(t){return null==t&&(t=""),window.CreateResponseIdentifier(t.substr(0,1),t)}function u(t,e){return t.push(l(e)),t}function o(t,e,n){var i=e.statement.lmstext||e.statement,r=e.choice.lmstext||e.choice,o=window.CreateResponseIdentifier(n.toString(),i),s=window.CreateResponseIdentifier(i.charAt(0),r);return t.push(new window.MatchingResponse(o,s)),t}function c(t){return null==t.choice&&""===t?t="_":""===t.choice&&(t.choice="_"),t}function h(t){var e=d.first(t).toUpperCase();return n[e]||t}function i(t){return null!=t&&"true"===t.lmstext.toLowerCase()}function f(t,e){for(var n,i=e,r=[e.prop("AttemptCount")-1,t.getAttempts()];(n=i.get("lmsId"))&&r.push(n),i=i.parent;);return r.reverse().join("_")}var d=s(0),n=(s(4),{C:window.INTERACTION_RESULT_CORRECT,I:window.INTERACTION_RESULT_WRONG,W:window.INTERACTION_RESULT_WRONG,U:window.INTERACTION_RESULT_UNANTICIPATED,N:window.INTERACTION_RESULT_NEUTRAL}),r={truefalse:function(t,e,n){window.RecordTrueFalseInteraction(f(t,e),i(d.first(e.getResponseValues())),h(e.prop("Status")),i(d.first(e.getCorrectValues())),e.get("lmstext"),t.prop("Weight"),n,t.get("lmstext"))},multiEtc:function(t,e,n,i){var r,o,s,a;a=n.isType("sequence")?(o=function(t,e){return t.push(l(e.statement.lmstext),l(e.choice.lmstext)),t},s=n.getResponseValues().reduce(o,[]),c(n.getCorrectValues()).reduce(o,[])):(r=function(t){return d.isString(t)?t:null!=t.choice?t.choice.lmstext:t.lmstext},s=n.getResponseValues().map(r).reduce(u,[]),c(n.getCorrectValues().map(r)).reduce(u,[])),window[t](f(e,n),s,h(n.prop("Status")),a,n.get("lmstext"),e.prop("Weight"),i,e.get("lmstext"))},numeric:function(t,e,n,i){window.RecordFillInInteraction(f(t,e),e.getResponseValues(),h(e.prop("Status")),i||e.getCorrectValues(),e.get("lmstext"),t.prop("Weight"),n,t.get("lmstext"))},fillin:function(t,e,n){var i=e.getCorrectValues().map(function(t){return t.lmstext}).join("|#|");r.numeric(t,e,n,i)},matching:function(t,e,n){var i=e.getResponseValues().reduce(o,[]),r=e.getCorrectValues();r=c(r).reduce(o,[]),window.RecordMatchingInteraction(f(t,e),i,h(e.prop("Status")),r,e.get("lmstext"),t.prop("Weight"),n,t.get("lmstext"))},likert:function(t,e,n){var i=d.flatten(e.getResponseValues().map(function(t){return[t.statement.lmstext,t.choice.lmstext]})).join("|#|");window.RecordLikertInteraction(f(t,e),window.CreateResponseIdentifier(i.substr(0,1),i),h(e.prop("Status")),"",e.get("lmstext"),t.prop("Weight"),n,t.get("lmstext"))}};return r.wordbank=r.hotspot=r.multiplechoice=r.multipleresponse=d.partial(r.multiEtc,"RecordMultipleChoiceInteraction"),r.sequence=d.partial(r.multiEtc,"RecordSequencingInteraction"),r.essay=r.numeric,r}.call(e,s,e,t))||(t.exports=n)},function(t,e,u){"use strict";var n;void 0===(n=function(t){function n(t){return t.split("=")}function i(t){return t[0]}var r=u(0),o=u(6),s="path=/",e={setCookie:function(t,e){var n=[t,e].join("=");return document.cookie=[n,["expires",new Date(Date.now()+31536e7).toGMTString()].join("="),s].join("; "),this},getCookies:function(e){return document.cookie.split("; ").map(n).filter(function(t){return 0===t[0].indexOf(e)})},getItem:function(t){var e=new o.Deferred,n=r(this.getCookies(t)).sortBy(i).reduce(function(t,e){return t+e[1]},"");return e.resolve(n),e.promise()},setItem:function(t,e){for(var n,i,r=0;0<e.length;)i=[t,r++].join("_"),n=e.slice(0,4048),this.setCookie(i,n),e=e.slice(4048);return this}},a={getItem:function(t){var e=new o.Deferred,n=window.localStorage.getItem(t);return e.resolve(n),e.promise()},setItem:function(t,e){var n;try{n=window.localStorage.setItem(t,e)}catch(t){console.warn(t)}return n}},l={setResumer:r.noop};return{hasStorage:function(){try{return null!=window.vInterfaceObject||!r.isUndefined(window.localStorage)}catch(t){return!1}},getStorage:function(){return r.extend(l,this.hasStorage()?a:e)}}}.call(e,u,e,t))||(t.exports=n)},function(t,e,c){"use strict";var n;void 0===(n=function(t){var a=c(10),e=(c(5),c(13),c(1)),n=c(2),i=c(7).addWindowListener,l=document.createElement("div");l.className="tab-focus-box",document.body.appendChild(l);var r=document.getElementById("focus-sink"),o={left:"-5px",top:"-5px",width:"0px",height:"0px"},u=void 0,s={initialize:function(){_.bindAll(this,"onSlideStarted","takeFocusOff"),n.on(e.slide.STARTED,this.onSlideStarted),i("resize",this.takeFocusOff)},setFocusRectOn:function(t,e,n){var i=2<arguments.length&&void 0!==n?n:0;if(null!=t){if(null==e){var r=t.getBoundingClientRect();e={left:r.left,top:r.top,width:r.width,height:r.height,bottom:r.bottom,right:r.right}}if(a.hasClass(t,"acc-shadow-el")){var o=DS.views.getTopNameSpace().slide.el.getBoundingClientRect();e.left=Math.max(e.left,o.left),e.top=Math.max(e.top,o.top),e.right=Math.min(e.right,o.right),e.bottom=Math.min(e.bottom,o.bottom),e.width=e.right-e.left,e.height=e.bottom-e.top}else e.bottom=e.right="";for(var s in e.left-=i,e.top-=i,e.width+=2*i,e.height+=2*i,e)e[s]+="px";a.setStyles(l,e),u=t}else console.warn('cannot set focus rect on "null"')},takeFocusOff:function(t){null!=t&&t!==u||a.setStyles(l,o)},reCenter:function(){document.body.focus(),this.takeFocusOff()},onSlideStarted:function(t,e){var n=this;if(null!=e.currView&&document.hasFocus()){var i=a.closest(e.currView.el,function(t){return"label"===t.firstElementChild.getAttribute("data-ref")});i.contains(document.activeElement)||(r.focus(),window.requestAnimationFrame(function(){return i.focus()})),window.setTimeout(function(){return n.setFocusRectOn(i)},16)}}};return s.initialize(),s}.call(e,c,e,t))||(t.exports=n)},function(t,e,o){"use strict";var n;function s(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}void 0===(n=function(t){var n=o(15),e=o(8),i=o(6),r=e.warn("fontHelper");return{loadFonts:function(t){if(null==n.loadFonts)return i.promiseToVow(Promise.all(Array.from(document.fonts).map(function(t){return t.load()})));var e=DS.frame.getFonts().reduce(function(t,i){return t.push.apply(t,s(i.files.map(function(t){var e=t.bold,n=t.italic;return{name:i.name,bold:e,italic:n}}))),t},[]);return n.loadFonts([].concat(s(t.get("fontLib")||[]),s(e)),r)}}}.call(e,o,e,t))||(t.exports=n)},function(t,e,u){"use strict";var n;void 0===(n=function(t){var f=u(0),e=u(7),n=e.addWindowListener,i=e.addDocumentListener,d=e.addBodyListener,o=u(5),p=(u(1),u(2),u(3)),g=u(10),v=u(12),s=(u(4),u(16)),r=u(31),m=u(53),a=r.camelCase("transform"),l={doFullScreen:function(t){t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},styleIfExists:function(t,e,n){t&&(t.style[e]=n)},androidOrientation:function(){document.querySelector(".slide-controls"),document.querySelector(".option-pane");o.orientation.isPortrait?(this.styleIfExists(this.optionPane,"minHeight",null),this.styleIfExists(this.slideControls,"display","block")):(this.styleIfExists(this.optionPane,"minHeight",p.pxify(this.smallestSide)),this.styleIfExists(this.slideControls,"display","none"))},initAndroid:function(){this.doFullScreen(document.documentElement),this.smallestSide=Math.min(document.documentElement.clientHeight,document.documentElement.clientWidth),document.body.style.minHeight=o.smallestSide+"px"},initTouchableThemeAndPhone:function(){var t,i,r;document.body.style.height="120%",document.querySelector("#preso").style.position="fixed",10<=o.os.iOSVersion&&setInterval(function(){var t=document.querySelector(".controls"),e=window.innerHeight,n=document.documentElement.clientHeight;e<n?(i=n-e)!==r&&null!=t&&(t.style[a]=s.transformTranslate(p.pxify(0),p.pxify(-i)),r=i):null!=t&&""!==t.style[a]&&(t.style[a]="")},100),n("resize",function(){clearTimeout(t),t=setTimeout(function(){window.scrollTo(0,1)},30)})},initIOS:function(){var r=document.querySelector(".mobile-chrome-warning");r.innerHTML='<div class="mobile-chrome-warning-btn">\n      <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" x="0px" y="0px" width="107px" height="78px" viewBox="0 0 107 78">\n\n        <g id="mobile-chrome-warning-arrow">\n          <path fill="white" stroke="none" d="\n          M 24.1 31.4\n          L 12.05 15.85 0 31.4 8.3 31.4 8.3 54 15.25 54 15.25 31.4 24.1 31.4 Z"></path>\n        </g>\n\n        <path id="mobile-chrome-warning-hand" stroke="white" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" fill="none" d="\n        M 37.55 16.1\n        Q 36.3 14.8 36.3 13.1 36.3 11.45 37.55 10.15 38.85 8.9 40.55 8.9 42.2 8.9 43.5 10.15\n        L 46.75 13.375 46.75 13.35\n        Q 45.5 12.05 45.5 10.35 45.5 8.7 46.75 7.4 48.05 6.15 49.75 6.15 51.4 6.15 52.7 7.4\n        L 57 11.65\n        Q 56.05 10.4828125 56.05 9 56.05 7.3 57.3 6 58.6 4.8 60.3 4.8 62 4.8 63.3 6\n        L 74.3 17\n        Q 76.3 19.05 77.5 21.55 78.75 24.05 79.1 26.9 79.4 29.7 80.65 32.25 81.85 34.75 83.85 36.75\n        L 85.6 38.5 69.5 54.6\n        Q 68.25 53.35 66.5 52.1 64.75 50.8 62.85 49.85 60.95 48.85 59.25 48.5\n        L 32 42.5\n        Q 31.15 42.3 30.45 41.8 29.1 40.8 28.85 39.3 28.6 37.85 29.35 36.55 30.05 35.25 31.65 34.7\n        L 31.9 34.65\n        Q 32.55 34.45 33.25 34.45\n        L 44.3 34.9 17.65 8.2\n        Q 16.4 6.9 16.4 5.2 16.4 3.55 17.65 2.25 18.95 1 20.65 1 22.3 1 23.6 2.25\n        L 37.55 16.1 39.2 17.75\n        M 58.95 13.65\n        L 58.075 12.775 57.3 12\n        Q 57.140234375 11.833984375 57 11.65\n        L 58.075 12.775\n        M 46.75 13.375\n        L 48.4 15"></path>\n\n      </svg>\n    </div>\n\n    <div class="mobile-chrome-warning-bubble">\n      Drag up for fullscreen\n    </div>';var t,o,s,a,e,l=document.querySelector(".mobile-chrome-warning-bubble"),u=document.querySelector(".mobile-chrome-warning-btn"),c=document.querySelector("#preso"),h=0;document.body.style.height="120%",i("touchstart",function(){o=!0}),i("touchend",function(){o=!1}),r.addEventListener("touchstart",function(){v.killTweensOf(l),v.killTweensOf(u),v.to(u,.05,{opacity:1,scaleX:.6,scaleY:.6}),v.to(l,.1,{opacity:1}),v.to(l,.3,{opacity:0,delay:3})}),setInterval(function(){var t=document.activeElement,e=window.innerHeight,n=document.documentElement.clientHeight,i=e<n;f.extend(c.style,{position:"fixed",left:"0px",top:"0px",zIndex:0}),t&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName)||(i?("block"!==r.style.display&&"none"!==c.style.display&&(r.style.display="block",v.killTweensOf(l),v.killTweensOf(u),v.set(l,{opacity:0}),v.to(l,1,{opacity:1}),v.to(l,.8,{opacity:0,delay:3}),v.to(u,.35,{opacity:.85,delay:3.5,scaleX:.55,scaleY:.55,ease:"Back.easeOut"}),s=!0,h=Math.abs(window.innerHeight-document.body.clientHeight)),0===document.body.scrollTop||o||window.scrollTo(0,0)):"none"!==r.style.display&&"block"!==c.style.display&&(r.style.display="none",c.style.zIndex=null,s=!1))},100),n("resize",function(){clearTimeout(t),t=setTimeout(function(){window.scrollTo(0,1)},30)}),d("touchstart",function(t){1===t.touches.length&&(a=t.touches[0].clientY),s&&(h=Math.abs(window.innerHeight-document.body.clientHeight))});!function t(){if(s&&o){var e=Math.abs(Math.abs(window.innerHeight-document.body.clientHeight)-h)/88;r.style.opacity=1-e,r.style.height=p.pxify(75+150*e)}else o||(r.style.opacity=1,r.style.height="75px");window.requestAnimationFrame(t)}(),d("touchmove",function(t){var i,e=!1,n=t.target,r=g.parentNodesOf(n,function(t){return m.isScrollable(t)});m.isScrollable(n)&&r.unshift(n),s||(e=1!==t.touches.length||null==a||(i=t.touches[0].clientY,!f.isEmpty(r)&&r.every(function(t){var e=0===t.scrollTop&&a<i,n=t.scrollTop+t.offsetHeight===t.scrollHeight&&i<a;return e||n}))),e&&t.preventDefault()}),d("touchend",function(){a=null}),document.documentElement.addEventListener("touchstart",function(t){1===t.touches.length&&(e?t.preventDefault():(e=!0,setTimeout(function(){e=!1},500)))})}};return o.theme.isClassic&&o.device.isMobile&&window.addEventListener("scroll",function(){document.body.scrollTop<0&&(document.body.scrollTop=0)}),o.env.isInIframe||o.deviceView.isTablet?l.init=f.noop:o.os.isAndroid&&!o.env.is360?l.init=l.initAndroid:o.os.isIOS&&o.device.isPhone?l.init=l.initTouchableThemeAndPhone:o.os.isIOS&&8<=o.os.iOSVersion?l.init=l.initIOS:l.init=f.noop,l}.call(e,u,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i,r;i=[n(0),n(8),n(2),n(1),n(11),n(32),n(4),n(3),n(17)],void 0===(r=function(i,t,s,a,n,e,l,r,o){function u(t){var e=n.resolvePath(r.prefixWithPlayer(t),{context:v,optional:!0});if(null==e)throw new Error(["No object exists at path ",r.doubleQuote(t)].join(""));return e}function c(t){d.postMessage(JSON.stringify(t),"*")}function h(){var t,e;t="notifyPreview",e=i.toArray(arguments),c({jsonrpc:"2.0",method:t,params:e})}function f(t){var e,n,i=JSON.parse(t.data);try{e=i.id,n=w[i.method].apply(this,i.params),c({jsonrpc:"2.0",id:e,result:n})}catch(t){!function(t,e){c({jsonrpc:"2.0",id:t,error:{code:-1,message:e}})}(i.id,t.message)}}var d,p,g,v,m=t.throwError("previewHelper"),y={kind:"adjustvar",operator:"set"},A={kind:"reset_player"},w={getValue:function(t){var e=u(t);return e.isVar?e.value():e},getCurrentTime:function(){return o.getCurrentWindowSlide().currentTimeline().elapsedTime()},setCurrentTime:function(t){o.getCurrentWindowSlide().currentTimeline().seek(t)},gotoSlide:function(t){s.trigger(a.request.NEXT_SLIDE,r.prefixWithPlayer(t))},overrideOrientations:function(t){g.set("orientations",t)},resetPlayer:function(t){p.executeAction(i.defaults({startslideid:r.prefixWithPlayer(t)},A),{context:v})},resetSlide:function(t){var e=u(t);if(!e.isSlide)throw new Error(["Object at",r.doubleQuote(t),"is not a slide"].join(" "));e.reset()},setVariable:function(t,e){var n=u(t);if(!n.isVar)throw new Error(["Object at",r.doubleQuote(t),"is not a variable"].join(" "));p.executeAction(i.defaults({variable:n.absoluteId,value:{type:n.type(),value:e}},y),{context:v})},setBackgroundColor:function(t){document.body.style.background=t},setStringTable:function(t){e.reInit(JSON.parse(t)),s.trigger(a.controlOptions.RESET),_(DS.frameModel.frame.controlOptions.controls.closed_captions)},setColorScheme:function(t){var e=DS.frameModel.frame.controlOptions.controls.closed_captions;b("player-preview-css",t),s.trigger(a.scheme.CHANGED,"player-preview-css"),s.trigger(a.controlOptions.RESET),_(e)},setFontScale:function(t){s.trigger(a.frame.FONT_SCALE,t),_(DS.frameModel.frame.controlOptions.controls.closed_captions)},setControlOptions:function(t,e){var n=JSON.parse(t),i=JSON.parse(e),r=DS.frameModel.outlineInSidebar,o=DS.frameModel.sidebarOpts.closed;s.trigger(a.controlLayout.UPDATE,DS.frameModel.frame.default_layout,l.refs.FRAME,i),s.trigger(a.controlOptions.CHANGED,n),!r&&DS.frameModel.outlineInSidebar||!i.outline.search?s.trigger(a.sidebar.HIDE_SEARCH):i.outline.search&&i.outline.enabled&&!DS.frameModel.outlineInSidebar&&s.trigger(a.sidebar.SHOW_SEARCH),o&&!DS.frameModel.sidebarOpts.closed?s.trigger(a.sidebar.OPEN):!o&&DS.frameModel.sidebarOpts.closed&&s.trigger(a.sidebar.CLOSE),_(n.controls.closed_captions)},setGlossaryData:function(t){var e=JSON.parse(t);s.trigger(a.glossary.UPDATE,e)},setNavData:function(t){var e=JSON.parse(t);s.trigger(a.navData.UPDATE,e),_(DS.frameModel.frame.controlOptions.controls.closed_captions)},setSkipNav:function(t){t!=DS.frameModel.frame.skip_nav_enabled&&(DS.frameModel.frame.skip_nav_enabled=t,DS.pubSub.trigger(DS.events.controlOptions.RESET),_(DS.frameModel.frame.controlOptions.controls.closed_captions))},setResources:function(t){var e=JSON.parse(t);s.trigger(a.resources.UPDATE,e)},setResourcesDescription:function(t){s.trigger(a.resources.UPDATE_DESCRIPTION,t)},setActiveTab:function(t){s.trigger(a.sidebar.ACTIVE_TAB_SET,t)},setChromeless:function(t){t!=DS.frameModel.frame.chromeless&&(DS.frameModel.frame.chromeless=t,s.trigger(a.frameModel.CHROMELESS_CHANGED,t),_(DS.frameModel.frame.controlOptions.controls.closed_captions))},setFont:function(t){b("player-preview-font-css",t),s.trigger(a.controlOptions.RESET),_(DS.frameModel.frame.controlOptions.controls.closed_captions)},setTextDirection:function(t){t!=DS.frameModel.frame.textdirection&&(DS.frameModel.frame.textdirection=t,DS.frameModel.rtl="rtl"===t,s.trigger(a.controlOptions.RESET),s.trigger(a.navData.REFRESH_VIEW),_(DS.frameModel.frame.controlOptions.controls.closed_captions))},setFrameSize:function(t,e){DS.presentation.updateTotalSize(t,e),DS.scaler.scale()}},b=function(t,e){var n=document.getElementById(t);null==n&&((n=document.createElement("style")).id=t,document.body.appendChild(n)),n.innerText=e},_=function(t){window.globals.HAS_SLIDE||(s.trigger(a.slide.STARTED,"dummySlide",v.getFirstSlide(),l.refs.FRAME),s.trigger(a.navData.SELECT_FIRST_SLIDE_LINK),t?s.trigger(a.captions.SHOW_BUTTON):s.trigger(a.captions.HIDE_BUTTON))};return{initialize:function(t,e,n){p=n,e.isPreview()&&(null!=window.parent&&window.parent!==window?(g=t,v=e,d=window.parent,window.document.getElementById(l.els.PRESO).addEventListener("click",function(){return h("PREVIEW_CLICKED")}),window.addEventListener("message",f),window.globals.HAS_SLIDE||_(DS.frameModel.frame.controlOptions.controls.closed_captions),s.on(a.preview.NOTIFY,h),h("PREVIEW_FRAME_READY")):m("initialize","Cannot load parent window"))}}}.apply(e,i))||(t.exports=r)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var h=n(4);return{initialize:function(t){if(this.isInitialized=!0,t){var e=document.createElement("div");e.id="slide";var n=document.createElement("div");n.className="slide-container",e.appendChild(n),document.getElementById(h.els.PRESO).appendChild(e),DS.frame={createWindow:function(){return{el:e,captionEl:document.createElement("div"),id:h.refs.FRAME,x:function(){return 0},y:function(){return 0},getWinScale:function(){return DS.scaler.getScale()},onPinchZoom:function(){},getPinchZoomBounds:function(){}}}}}else{var i=this.getPreviewInfo(),r=i.totalWidth,o=i.totalHeight,s=this.getPreviewInfo(),a=s.slideWidth,l=s.slideHeight,u=s.slideDurationMs,c=s.text;DS.presentation={isPreview:function(){return!0},getFirstSlide:function(){return{props:{width:a,height:l},get:function(t){return this.props[t]},currentTimelineCompletedOnce:function(){return!1},currentTimeline:function(){return{on:function(){},off:function(){},progress:function(){return.5},timelineDuration:function(){return u},playbackState:function(){return"paused"},isPlaying:function(){return!1}}},on:function(){},off:function(){}}},updateTotalSize:function(t,e){r=t,o=e},display:function(){return{width:function(){return r},height:function(){return o},getWindowById:function(){}}},assetLib:function(){},slideMap:function(){}},DS.renderEngine={createWindowFor:function(){var t=document.getElementById("slide");t.className="placeholder";var e=document.createElement("div");return e.className="placeholder-text",e.style.fontSize="8vw",e.innerText=c,t.appendChild(e),t}}}},getPreviewInfo:function(){return{slideWidth:this.getPreviewInfoParameter("slideWidth",720,parseInt),slideHeight:this.getPreviewInfoParameter("slideHeight",540,parseInt),totalWidth:this.getPreviewInfoParameter("totalWidth",980,parseInt),totalHeight:this.getPreviewInfoParameter("totalHeight",658,parseInt),slideDurationMs:this.getPreviewInfoParameter("slideDurationMs",5e3,parseInt),text:this.getPreviewInfoParameter("text","SLIDE")}},getPreviewInfoParameter:function(t,e,n){if(null==window.globals.parsedParams)return e;var i=window.globals.parsedParams[t];return null==i?e:null==n?i:n(i)}}}.call(e,n,e,t))||(t.exports=i)},function(t,e,n){"use strict";var i;void 0===(i=function(t){for(var o=0,e=["ms","moz","webkit","o"],n=0;n<e.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[e[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[n]+"CancelAnimationFrame"]||window[e[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var n=(new Date).getTime(),i=Math.max(0,16-(n-o)),r=window.setTimeout(function(){t(n+i)},i);return o=n+i,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}.call(e,n,e,t))||(t.exports=i)},function(t,e,c){"use strict";var n;void 0===(n=function(t){var r=c(7).addDocumentListener,n=c(10).isInput,e=c(13),i=c(51),o=c(52),s=c(5),a=c(14),f=[],l=void 0,u=void 0;return{initialize:function(t){u=t||function(t){return t},s.deviceView.isUnifiedDesktop&&!DS.presentation.isPreview()&&this.registerShortcut(u("togglezoom"),{key:"z"},function(){e.enableZoomMode(!e.zoomMode)}),i.accTextEnabled&&s.deviceView.isDesktop&&this.registerShortcut(u("toggleacctext"),{key:"t",ctrl:!0,alt:!0},function(){a.onToggleAccessibleText()})},closeShortcutWindow:function(){null!=l&&(l.close(),l=null)},registerShortcut:function(t,e,n){var i=this;this.listenerAdded||(this.listenerAdded=!0,r("keydown",function(t){return i.onKeyDown(t)}),this.registerShortcut(u("shortcuthelp"),{key:"?",shift:!0},function(){null==l?l=DS.frame.createWindow("ShortcutWnd"):i.closeShortcutWindow()})),f.push({name:t,keyInfo:e,cb:n})},onKeyDown:function(t){var l=t.ctrlKey,u=t.shiftKey,c=t.altKey,h=t.key;if(!n(document.activeElement)&&!o.keyPressHandlerExists(t)){var e=f.find(function(t){var e=t.keyInfo,n=e.key,i=e.ctrl,r=void 0!==i&&i,o=e.shift,s=void 0!==o&&o,a=e.alt;return r===l&&s===u&&(void 0!==a&&a)===c&&n.toLowerCase()===h.toLowerCase()});e&&e.cb()}},getShortcutList:function(){return[].concat(f)}}}.call(e,c,e,t))||(t.exports=n)},function(t,e,l){"use strict";var n;void 0===(n=function(t){function r(t){var e=t.viewed,n=t.total;return 0===n?"":(100*e/n).toFixed(0)+"%"}function i(){var t=A.getCurrentWindowSlide();if(null!=t){var e=t.getScene();if(!e.isMessageScene()){var n,i,r,o,s,a,l,u,c,h=w.slides[t.absoluteId],f=y.variables(),d=(i=(n=t).getScene(),r=w.slides[n.absoluteId].menuSection,o=new Set,s=new Set,a={total:0,viewed:0},l={total:0,viewed:0},u={total:0,viewed:0},c={total:0,viewed:0},g.forEach(w.slides,function(t){var e=t.slide.viewed;t.slide.includeInSlideCounts()&&(a.total++,e&&(a.viewed++,o.add(t.scene)),t.scene===i&&(l.total++,e&&l.viewed++)),null!=t.menuSection&&t.slide.includeInSlideCounts()&&(u.total++,e&&(u.viewed++,s.add(t.menuSection)),t.menuSection===r&&(c.total++,e&&c.viewed++))}),{viewedSceneCount:o.size,viewedSectionCount:s.size,project:a,scene:l,menu:u,section:c}),p={sceneNumber:e.sceneNumber(),menuInclude:null!=h.menuSection?function(t){return t}:function(t){return""},projectInclude:t.includeInSlideCounts()?function(t){return t}:function(t){return""},menuCountInclude:null!==h.menuSection&&t.includeInSlideCounts()?function(t){return t}:function(t){return""}};b.forEach(function(t){var e=t.name,n=t.update;return f.get(e).value(n(d,h,p))}),m.trigger(v.slide.SLIDE_NUMBERS_UPDATED)}}}function o(t,e){var i=0,r=0;function o(t,e){function n(t){var e=t.getSlideDraw();return null!=e?e.slideNumberInScene()+t.index():t.slideNumberInScene()}return n(t)-n(e)}w.slides={},t.scenes().forEach(function(e){if(!e.isMessageScene()){var n=0;e.getAllSlides().sort(o).forEach(function(t){w.slides[t.absoluteId]={slideNumberInProject:t.includeInSlideCounts()?++i:0,slideNumberInScene:t.includeInSlideCounts()?++n:0,slide:t,scene:e},w.scenes[e.absoluteId]={slideCount:n}}),0!==e.sceneNumber()&&r++}}),w.sceneCount=r;var a=0,n=0;(e||[]).forEach(function(t,e){(function n(t,i,r,o,s){var e=w.slides[t.slideid];return null!=e&&(e.menuSlideNumber=e.slide.includeInSlideCounts()?++a:0,e.menuSlideTitle=t.displaytext,e.menuSlideReference=o,e.menuSectionSlideNumber=e.slide.includeInSlideCounts()?r++:0,e.menuSection=s),g.forEach(t.links,function(t,e){r=n(t,i+1,r,o+"."+(e+1),s)}),r})(t,1,1,n=e+1,n)}),w.menuTotalSections=n}var g=l(0),v=l(1),e=l(4),m=l(2),y=void 0,A=void 0,w={slides:{},scenes:{}},n=e.varTypes,s=n.NUM,a=n.STRING,b=[{name:"menuSlidesViewed",update:function(t){return t.menu.viewed},type:s},{name:"menuTotalSlides",update:function(t){return t.menu.total},type:s},{name:"menuProgress",update:function(t){var e=t.menu;return r(e)},type:s},{name:"menuSectionSlidesViewed",update:function(t,e,n){var i=t.section;return(0,n.menuInclude)(i.viewed)},type:s},{name:"menuSectionTotalSlides",update:function(t,e,n){var i=t.section;return(0,n.menuInclude)(i.total)},type:s},{name:"menuSectionProgress",update:function(t,e,n){var i=t.section;return(0,n.menuInclude)(r(i))},type:s},{name:"projectSlidesViewed",update:function(t){return t.project.viewed},type:s},{name:"projectTotalSlides",update:function(t){return t.project.total},type:s},{name:"projectProgress",update:function(t){var e=t.project;return r(e)},type:s},{name:"sceneSlidesViewed",update:function(t){return t.scene.viewed},type:s},{name:"sceneTotalSlides",update:function(t){return t.scene.total},type:s},{name:"sceneProgress",update:function(t){var e=t.scene;return r(e)},type:s},{name:"menuSectionsViewed",update:function(t){return t.viewedSectionCount},type:s},{name:"projectScenesViewed",update:function(t){return t.viewedSceneCount},type:s},{name:"menuSlideNumber",update:function(t,e,n){var i=e.menuSlideNumber;return(0,n.menuCountInclude)(i)},type:s},{name:"menuSlideTitle",update:function(t,e){return e.menuSlideTitle},type:a},{name:"menuSlideReference",update:function(t,e){return e.menuSlideReference},type:a},{name:"menuSectionNumber",update:function(t,e,n){var i=e.menuSection;return(0,n.menuInclude)(i)},type:s},{name:"menuSectionSlideNumber",update:function(t,e,n){var i=e.menuSectionSlideNumber;return(0,n.menuCountInclude)(i)},type:s},{name:"menuTotalSections",update:function(){return w.menuTotalSections},type:s},{name:"projectSlideNumber",update:function(t,e,n){var i=e.slideNumberInProject;return(0,n.projectInclude)(i)},type:s},{name:"projectSlideTitle",update:function(t,e){return e.slide.title()},type:a},{name:"projectSlideReference",update:function(t,e,n){var i=e.slideNumberInScene;return n.sceneNumber+"."+i},type:a},{name:"projectTotalScenes",update:function(){return w.sceneCount},type:s},{name:"projectSceneNumber",update:function(t,e,n){var i=n.sceneNumber;return 0===i?"":i},type:s},{name:"sceneSlideNumber",update:function(t,e,n){var i=e.slideNumberInScene;return(0,n.projectInclude)(i)},type:s}];return{initialize:function(t,e,n){y=e.playerVars(),A=t,o(e,n),m.on(v.slide.HAS_MOUNTED,i),m.on(v.window.CLOSING,i),m.on(v.draw.RESET_COMPLETE,function(){return o(e,n)})},getPlayerVariables:function(){return b.map(function(t){var e=t.name,n=t.type;return{kind:"variable",name:e,type:n,value:n===s?0:"",resume:!1}})}}}.call(e,l,e,t))||(t.exports=n)},function(t,e,f){"use strict";var n;void 0===(n=function(t){var e,v=f(0),m=f(10),y=f(3),n=f(2),A=f(14),i=(f(13),f(5)),r=f(8),o=f(1),s=f(4),a=f(7),l=a.addWindowListener,u=a.addDocumentListener,c={sidebarOpen:!0,tryToSelect:function(t,e){var n=t.querySelector(e);return null==n&&r.throwError("tabFocusBox","invalid focus rule selector: ",e),n},focusRuleConfig:{VectorSlideObject:function(t){return c.tryToSelect(t,"svg g")},ImageSlideObject:function(t){return c.tryToSelect(t,"img")},VideoSlideObject:function(t){return c.tryToSelect(t,".video-slide-object")},ResourcesList:function(t){return t.parentNode}},defaultOffsets:{x:0,y:0,width:0,height:0},focusOffsetConfig:{PlayPauseButton:{x:-1,y:-3,width:0,height:0},PlaybackResetButton:{x:0,y:-2,width:0,height:0},PlaybackProgress:{x:0,y:0,width:0,height:-5},SequenceCtrlDrop:{x:30,y:0,width:0,height:0}},onAncestorHidden:function(){this.hide()},listenForHide:function(e){"SlideObject"===e.displayName&&(e.props.model.forEachAncestor(function(t){"SlideObject"===y.getPath(this,"lastItemFocused.displayName")&&(this.lastItemFocused.stopListening(t,"hidden",h),this.lastItemFocused.stopListening(this.lastItemFocused.props.model,"hidden",h)),(t.isSlideObject||t.isSlideLayer)&&e.listenTo(t,{hidden:h})}.bind(this)),e.listenTo(e.props.model,{hidden:h}))},show:function(t){null!=t&&(i.theme.isClassic||(this.handleSearch(t),this.sidebarOpen||this.isInSidebar(t),this.handleTopTabsDrop(t)),this.update(t),this.listenForHide(t),this.lastItemFocused=t)},handleTopTabsDrop:function(t){t&&t.el&&m.hasClass(t.el,"topmenu-item")&&null!=t.el.parentNode&&m.hasClass(t.el.parentNode,"top-tabs-drop")&&n.trigger(o.topTabs.OPEN_DROPDOWN,t)},handleSearch:function(t){"INPUT"===y.getPath(t,"tagName")&&m.hasClass(t,"search-input-element")&&n.trigger(o.search.SHOW)},isInSidebar:function(t){var e;null!=t.parentNode?e=t:null!=y.getPath(t,"el.parentNode")&&(e=t.el),null==e||!m.closest(e,function(t){return m.hasClass(t,"area-secondary")})||(n.trigger(o.sidebar.FORCE_OPEN),setTimeout(function(){this.update(t)}.bind(this),s.ANIMATION_DURATION))},updateLastFocusItem:function(){this.lastItemFocused&&this.update(this.lastItemFocused)},hide:function(){null!=this.borderEl&&(this.borderEl.style.display="none"),this.lastItemFocused=null,this.isShown=!1},getOrCreateBorder:function(){return null!=this.borderEl||(this.borderEl=document.createElement("div"),this.borderEl.setAttribute("class","tab-focus-box"),m.setStyles(this.borderEl,{position:"absolute",left:0,top:0,border:"3px solid yellow","pointer-events":"none","z-index":99999})),this.borderEl},slideObjectShouldUseCss:function(t){return"TextInputSlideObject"===y.getPath(t,"refs.innard.displayName")||t.decorators&&null!=t.decorators.slideable||!i.theme.isClassic&&m.hasClass(t.el,"glossary-child")},domElShouldUseCss:function(t){return t.parentNode&&m.hasClass(t.parentNode,"search-clear")||m.hasClass(t,"lightbox-close-btn")||!i.theme.isClassic&&m.hasClass(t,"search-input-element")||m.closest(t,function(t){return m.hasClass(t,"lightbox")})},update:function(t){var e,n,i,r,o,s,a,l,u,c=this.getOrCreateBorder(),h=0,f=0,d={left:0,top:0},p=this.defaultOffsets,g=0;if(null!=t.displayName){if(h+=(p=this.focusOffsetConfig[t.displayName]||this.defaultOffsets).x,f+=p.y,this.slideObjectShouldUseCss(t))return void this.hide();e=t.el,a=null!=y.getPath(t,"refs.innard")?t.refs.innard.displayName:t.displayName,e=(this.focusRuleConfig[a]||v.identity)(e)}else{if(this.domElShouldUseCss(t))return void this.hide();e=t}i=e.getBoundingClientRect(),(r=m.isWithinSlide(e))?(d=(n=(s=A.windowManager.getCurrentWindow().getCurSlide()).el).getBoundingClientRect(),g=4,n.querySelector(".slide-top-container-main").appendChild(c)):((l=document.querySelector("#app-top-container")).appendChild(c),d=l.getBoundingClientRect()),0!==i.width&&0!==i.height?(o=2*g,(u=v.mapValues(this.constrainToSlide(r,s,{left:i.left-d.left+h-g,top:i.top-d.top+f-g,width:i.width+p.width+o,height:i.height+p.height+o}),y.pxify)).display="block",m.setStyles(c,u),this.isShown=!0):this.hide()},constrainToSlide:function(t,e,n){if(!t)return n;var i=e.props,r=e.props.winScale,o=i.model.get("width")*r,s=i.model.get("height")*r,a=n.left+n.width-o,l=n.top+n.height-s,u=n.left,c=n.top;return 0<a&&(n.width-=a-1.2),0<l&&(n.height-=l-1.2),u<0&&(n.width+=n.left,n.left=-1.2),c<0&&(n.height+=n.top,n.top=-1.2),n}},h=c.onAncestorHidden.bind(c);return i.theme.isClassic||(n.on(o.topbar.CLOSED_SIDEBAR,function(){c.sidebarOpen=!1}),n.on(o.topbar.OPENED_SIDEBAR,function(){c.sidebarOpen=!0}),u("mousedown",function(){clearTimeout(e),c.hide()}),l("resize",function(){clearTimeout(e),null!=c.borderEl&&(c.borderEl.style.display="none",e=setTimeout(function(){c.borderEl.style.display="block",c.updateLastFocusItem()},s.ANIMATION_DURATION))})),c}.call(e,f,e,t))||(t.exports=n)},function(t,e,k){"use strict";var n,O=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}void 0===(n=function(t){var a=k(54),f=k(3),s=k(86),e=k(89),n=k(2),i=k(1),r=k(4).math,o=r.TWO_PI,l=r.HALF_PI,u=k(5).device.isMobile,c=k(21),h=(c.clickOrTouchEnd,c.downOrTouchStart),d=c.moveOrTouchMove,p=c.upOrTouchEnd,g=k(90).formatMessage,v="default",m="addMarker",y="updateText",A="updateMarker",w="resetMode",b=m,_="removeMarker",S="panToMarker",T="selectMarker",x="",E="crosshair";function C(t){var h=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,C),this.onResize=function(){for(var t in h.sprites){h.sprites[t].userData.cssMarker.resize()}},this.renderSpriteBoundingBox=function(t,e){var n=e.scale.x*h.sceneRect.width/2,i=e.scale.y*h.sceneRect.height/2;h.spriteWidth=n,Object.assign(h.boundingBox.style,{left:t.x-n/2+h.sceneRect.width/2+"px",top:t.y-i/2+h.sceneRect.height/2+"px",width:n+"px",height:i+"px"})},this.onBoxDown=function(t){if(null!=h.currMarker){var e=h.touchify(t),n=e.pageX,i=e.pageY,r=h.getBoxCenter(),o=r.cx,s=r.cy,a=h.currMarker.scale.x;h.scaleRatio=a/f.dist(n,i,o,s),document.addEventListener("mousemove",h.onBoxMove),document.addEventListener("mouseup",h.onBoxUp)}},this.onBoxMove=function(t){var e=h.touchify(t),n=e.pageX,i=e.pageY,r=h.getBoxCenter(),o=r.cx,s=r.cy,a=f.dist(n,i,o,s)*h.scaleRatio;h.currMarker.userData.cssMarker.scale(f.clamp(50,200,a))},this.onBoxUp=function(t){document.removeEventListener("mousemove",h.onBoxMove),document.removeEventListener("mouseup",h.onBoxUp)},this.animate=function(){if(h.width==h.newWidth&&h.height==h.newHeight||h.changeSize(),h.panToCoord){if(h.phi+=(h.panCoord.phi-h.phi)/12,h.theta+=(h.panCoord.theta-h.theta)/12,h.lat=a.Math.radToDeg(l-h.phi),h.lon=a.Math.radToDeg(h.theta),Math.abs(h.phi-h.panCoord.phi)<.005&&Math.abs(h.theta-h.panCoord.theta)<.005&&(h.selectNextSprite&&setTimeout(function(){h.displayBoundingBox(),h.showMarkerBounds(),h.boundingBox.style.display="block",h.selectNextSprite=!1},300),null!=h.showNextSprite)){var t=h.showNextSprite;t.userData.cssMarker.panel&&t.userData.cssMarker.panel.show(),h.showNextSprite=null}}else h.applyVelocity(),h.lat=Math.max(h.latMin,Math.min(h.latMax,h.lat)),h.phi=a.Math.degToRad(90-h.lat),h.theta=a.Math.degToRad(h.lon);h.targetX=h.radius*Math.sin(h.phi)*Math.cos(h.theta),h.targetY=h.radius*Math.cos(h.phi),h.targetZ=h.radius*Math.sin(h.phi)*Math.sin(h.theta),h.camera.target.set(h.targetX,h.targetY,h.targetZ),h.camera.lookAt(h.camera.target),h.renderer.render(h.scene,h.camera),h.cssRenderer.render(h.cssScene,h.camera),h.editMode&&(h.displayBoundingBox(),null!=h.currMarker&&h.showMarkerBounds()),h.animateId=window.requestAnimationFrame(h.animate)},this.onMouseDown=function(t){h.calcSceneRect();var e=h.touchify(t),n=e.pageX,i=e.pageY;!h.editMode||!t.altKey&&h.mode!==m?(h.panToCoord=!1,h.setCurrMarker(null),h.getMarkerIntersection(n,i,"over")?h.editMode&&(h.boundingBox.style.display="block",h.downOnMarker=!0):(h.boundingBox.style.display="none",h.hideMarkerBounds(),h.isDragging=!0,h.forcingCameraTarget=!1,h.downX=n,h.downY=i,h.locX=n,h.locY=i,h.locXvel=0,h.locYvel=0,h.downLon=h.lon,h.downLat=h.lat)):h.placeMarker(n,i,h.upcomingMarkerData)},this.onMouseMove=function(t){var e,n,i,r,o=h.touchify(t),s=o.pageX,a=o.pageY;if(h.canDragMarker())h.dragMarker(s,a);else if(h.isDragging){h.prevLocX=h.locX,h.prevLocY=h.locY;var l=h.touchify(t),u=l.pageX,c=l.pageY;h.locX=u,h.locY=c,h.locDist=f.dist(h.locX,h.locY,h.prevLocX,h.prevLocY),h.locTheta=(e=h.locX,n=h.locY,i=h.prevLocX,r=h.prevLocY,Math.atan2(n-r,e-i)),h.locXvel=h.locDist*Math.cos(h.locTheta),h.locYvel=h.locDist*Math.sin(h.locTheta),h.setLonLat(h.locX,h.locY)}else h.getMarkerIntersection(s,a,"move")},this.onMouseUp=function(t){var e=h.touchify(t),n=e.pageX,i=e.pageY;h.isDragging&&(h.isDragging=!1),h.downOnMarker&&(h.downOnMarker=!1,h.drag.started=!1),h.getMarkerIntersection(n,i,"click")},this.model=t.model,this.el=t.el,this.cssEl=t.cssEl,this.overlaysEl=t.overlaysEl,this.editorApi=t.editorApi,this.placeholderText=t.placeholderText,this.isDragging=!1,this.forcingCameraTarget=!1,this.newWidth=t.width,this.newHeight=t.height,this.origWidth=t.width,this.origHeight=t.height,this.downX=0,this.downY=0,this.downLon=0,this.downLat=0,this.lon=0,this.lat=0,this.phi=0,this.theta=0,this.radius=21,this.latMin=-89,this.latMax=89,this.oldIntersections={},this.drag={},this.sprites={},this.assetManager=t.assetManager,this.spherical=new a.Spherical,this.orientation=0,this.setMode(v),this.setupScene(t),this.setupDom(t),this.setupVelocityToss(),this.setupRaycasting(),this.setupMarkers(t.markerData),this.setCameraTarget(t.initialLat,t.initialLon),window.addEventListener("resize",this.onResize)}return e.create(),O(C,[{key:"getMarker",value:function(t){var e=this.sprites[t];if(null!=e)return e.userData.cssMarker}},{key:"removeMarker",value:function(t){var e=this.getMarker(t);null!=e&&(e.remove(),this.boundingBox.style.display="none",this.cssScene.remove(e.object),this.scene.remove(e.sprite),delete this.sprites[e.id],null!=this.editorApi&&this.editorApi.onMarkerRemoved(e.id))}},{key:"editorMessage",value:function(t,e){var n=1<arguments.length&&void 0!==e?e:{};if(t===A&&this.sprites[n.id]){var i=this.getMarker(n.id);null!=i&&(i.adjust(n),null!=this.editorApi&&this.editorApi.onMarkerUpdated(i.getData()))}else if(t===y){var r=document.activeElement;null!=r&&(r.classList.contains("panel-body")||r.classList.contains("panel-title"))&&g(r,n.cmd,n.val)}else if(t===_)this.removeMarker(n.id);else if(t===b)this.setMode(t,n),this.upcomingMarkerData=n;else if(t===w)this.setMode(v);else if(t===S)this.panToMarker(n.id);else if(t===T){if(null!=this.currMarker){var o=this.currMarker.userData.cssMarker.panel;null!=o&&o.hide()}if(this.hideMarkerBounds(),null==n.id)this.selectNextSprite=!1,this.setCurrMarker(null);else{var s=this.getMarker(n.id);null!=s&&(this.selectNextSprite=!0,this.setCurrMarker(s.sprite),this.panToMarker(n.id))}}}},{key:"setupDom",value:function(t){var e=this,n=t.width*t.scale,i=t.height*t.scale;this.renderer.setSize(n,i),this.renderer.domElement.style.pointerEvents="all",this.renderer.domElement.addEventListener(h,this.onMouseDown),this.cssRenderer.setSize(n,i),document.addEventListener(p,this.onMouseUp,!1),document.addEventListener(d,this.onMouseMove),this.el.appendChild(this.renderer.domElement),this.cssEl.appendChild(this.cssRenderer.domElement);var r=setInterval(function(){e.calcSceneRect(),0<e.sceneRect.width&&clearInterval(r)},16)}},{key:"toScreenPosition",value:function(t){var e=new a.Vector3;this.calcSceneRect();var n=this.sceneRect.width/2,i=this.sceneRect.height/2;return t.updateMatrixWorld(),e.setFromMatrixPosition(t.matrixWorld).project(this.camera),{x:e.x*n+n,y:-e.y*i+i}}},{key:"projection",value:function(e,t){if(null!=e){this.viewMatrix.copy(this.camera.matrixWorldInverse),this.viewProjectionMatrix.multiplyMatrices(this.camera.projectionMatrix,this.viewMatrix),this.renderData=this.projector.projectScene(this.scene,this.camera),this.elements=this.renderData.elements,this.normalViewMatrix.getNormalMatrix(this.camera.matrixWorldInverse),this.calcSceneRect();var n=this.elements.find(function(t){return t.object===e});if(null!=n){var i=n;i.x*=this.sceneRect.width/2,i.y*=-this.sceneRect.height/2,t(i,n)}}}},{key:"displayBoundingBox",value:function(){this.projection(this.currMarker,this.renderSpriteBoundingBox)}},{key:"setupProjector",value:function(){this.projector=new a.Projector,this.viewMatrix=new a.Matrix4,this.viewProjectionMatrix=new a.Matrix4,this.normalViewMatrix=new a.Matrix3}},{key:"getBoxCenter",value:function(){var t=this.boundingBox,e=this.scaleCoord(parseFloat(t.style.left),parseFloat(t.style.top)),n=this.scaleCoord(parseFloat(t.style.width),parseFloat(t.style.height));return{cx:e.x+n.x/2,cy:e.y+n.y/2}}},{key:"setupScene",value:function(t){this.setupProjector(),this.scene=new a.Scene,this.cssScene=new a.Scene,this.camera=new a.PerspectiveCamera(75,t.width/t.height,1,5e3),this.camera.zoom=.8,this.camera.updateProjectionMatrix(),this.camera.target=new a.Vector3(0,0,0),this.renderer=new a.WebGLRenderer({antialias:!1}),this.renderer.setPixelRatio(window.devicePixelRatio),this.cssRenderer=new a.CSS3DRenderer,this.maxAnisotropy=this.renderer.capabilities.getMaxAnisotropy();var e=u?50:64;this.sphere=new a.SphereBufferGeometry(1e3,e,e),this.sphere.scale(-1,1,1),this.sphere.rotateY(l),null!=t.croppedHeight?this.croppedTextureSphere(t):this.createSphere(t.dataUri),this.createBoundingBox()}},{key:"createBoundingBox",value:function(){var t=document.createElement("div");Object.assign(t.style,{position:"absolute",left:0,top:0,width:"30px",height:"30px",border:"none",display:"none"}),t.innerHTML='\n        <div class="box-handle box-handle-tl"></div>\n        <div class="box-handle box-handle-tr"></div>\n        <div class="box-handle box-handle-br"></div>\n        <div class="box-handle box-handle-bl"></div>\n      ',this.boundingBox=t,this.overlaysEl.appendChild(this.boundingBox),this.boundingBox.addEventListener("mousedown",this.onBoxDown)}},{key:"croppedTextureSphere",value:function(r){var o=this,s=new Image;s.src=r.dataUri,s.addEventListener("load",function t(){var e=s.width/r.croppedWidth,n=document.createElement("canvas"),i=n.getContext("2d");n.width=r.fullWidth*e,n.height=r.fullHeight*e,i.fillStyle="black",i.fillRect(0,0,n.width,n.height),i.drawImage(s,r.croppedX*e,r.croppedY*e),o.createSphere(n.toDataURL()),s.removeEventListener("load",t)})}},{key:"createSphere",value:function(t){var e=new a.MeshBasicMaterial;e.depthTest=!1;var n=(new a.TextureLoader).load(t);n.anisotropy=this.maxAnisotropy,e.map=n,this.sphereMesh=new a.Mesh(this.sphere,e),this.scene.add(this.sphereMesh)}},{key:"calcSceneRect",value:function(){this.sceneRect=this.renderer.domElement.getBoundingClientRect(),this.sceneScale=this.newWidth/this.origWidth}},{key:"scaleCoord",value:function(t,e){return{x:t*=window.innerWidth/this.sceneRect.width,y:e*=window.innerHeight/this.sceneRect.height}}},{key:"touchify",value:function(t){var e=void 0,n=void 0;return n=null!=t.touches&&0<t.touches.length?(e=t.touches[0].clientX,t.touches[0].clientY):(e=t.clientX,t.clientY),null!=this.sceneRect&&(e-=this.sceneRect.left,n-=this.sceneRect.top,e*=window.innerWidth/this.sceneRect.width,n*=window.innerHeight/this.sceneRect.height),{pageX:e,pageY:n}}},{key:"setEditMode",value:function(t){this.editMode=t,n.trigger(i.threeSixtyImage.EDIT_MODE_ON)}},{key:"setMode",value:function(t){(this.mode=t)===v?this.el.style.cursor=x:t===m&&(this.el.style.cursor=E)}},{key:"setupRaycasting",value:function(){this.raycaster=new a.Raycaster,this.mouseRay=new a.Vector2}},{key:"createSprite",value:function(t,e,n){var i=new a.Sprite;i.depthTest=!1,i.renderOrder=1,i.position.normalize(),i.scale.set(50,50,1),i.position.copy(t),this.scene.add(i),i.material.opacity=0;var r=null!=n&&n.id||e||"m"+(+new Date).toString(32),o=new s({pano:this,loc:t,sprite:i,id:r,props:DS._.merge({type:"normal",icon:"plus"},n||{})});return i.userData.cssMarker=o,{sprite:this.sprites[r]=i,marker:o}}},{key:"setupMarkers",value:function(t){var n=this;null!=t&&t.forEach(function(t){var e=new a.Vector3(t.xPos,t.yPos,t.zPos);n.createSprite(e,t.id,t.props).sprite.userData.id=t.id})}},{key:"setupVelocityToss",value:function(){this.locX=0,this.locY=0,this.prevLocX=0,this.prevLocY=0,this.locXvel=0,this.locYvel=0,this.velDamp=.95}},{key:"setLonLat",value:function(t,e){this.lon=.1*(this.downX-t)+this.downLon,this.lat=.1*(e-this.downY)+this.downLat}},{key:"stopVelocity",value:function(){this.locYvel=this.locXvel=0}},{key:"applyVelocity",value:function(){this.isDragging||this.forcingCameraTarget||this.downOnMarker||(this.locX+=this.locXvel,this.locY+=this.locYvel,this.locXvel*=this.velDamp,this.locYvel*=this.velDamp,this.setLonLat(this.locX,this.locY))}},{key:"destroy",value:function(){this.el.removeChild(this.renderer.domElement),this.killAnimation()}},{key:"killAnimation",value:function(){window.cancelAnimationFrame(this.animateId)}},{key:"changeSize",value:function(){this.camera.aspect=this.newWidth/this.newHeight,this.camera.updateProjectionMatrix(),this.renderer.setSize(this.newWidth,this.newHeight),this.cssRenderer.setSize(this.newWidth,this.newHeight),this.width=this.newWidth,this.height=this.newHeight}},{key:"showMarkerBounds",value:function(){var t=this.currMarker.userData.cssMarker.displayBounds();t!=this.currMarkerBounds&&(this.hideMarkerBounds(),this.currMarkerBounds=t)}},{key:"hideMarkerBounds",value:function(){null!=this.currMarkerBounds&&(this.currMarkerBounds.style.display="none",this.currMarkerBounds=null)}},{key:"triggerEvent",value:function(t,e){this.model.executeFilteredPlayerEvent(function(t){return t.triggerid===e},t)}},{key:"executeMarkerEvent",value:function(t,e){"click"===e?this.triggerEvent("onlinkrelease",t.userData.id):"move"!==e||t.userData.isOver?"out"===e&&(this.triggerEvent("onlinkrollout",t.userData.id),t.userData.isOver=!1):(this.triggerEvent("onlinkrollover",t.userData.id),t.userData.isOver=!0)}},{key:"getMarkerIntersection",value:function(t,e,n){var i=this,r=!1;this.mouseRay.x=t/window.innerWidth*2-1,this.mouseRay.y=2*-(e/window.innerHeight)+1,this.raycaster.setFromCamera(this.mouseRay,this.camera);var o=this.raycaster.intersectObjects(this.scene.children),s={};return o.forEach(function(t){"Sprite"===t.object.type&&(r=!0,s[t.object.userData.id]=t.object,"over"===n&&i.setCurrMarker(t.object))}),r}},{key:"setCurrMarker",value:function(t){this.currMarker=t,this.editMode&&null!=this.editorApi&&this.editorApi.onMarkerSelected(null!=this.currMarker?this.currMarker.userData.cssMarker.id:null)}},{key:"panToMarker",value:function(t){var e=this.sprites[t];if(null!=e){var n=e.position;this.spherical.setFromCartesianCoords(n.x,n.y,n.z),this.panCoord=this.spherical;var i=l-this.panCoord.theta,r=function(t,e){for(var n=e-t;n<-Math.PI;)n+=o;for(;n>Math.PI;)n-=o;return n}(this.theta,i);this.panCoord.theta=this.theta+r,this.panToCoord=!0,this.showNextSprite=e}}},{key:"getMarkerData",value:function(t){var e=this.getMarker(t);if(null!=e)return e.getData()}},{key:"getAllMarkerData",value:function(){var t=[];for(var e in this.sprites)t.push(this.sprites[e].userData.cssMarker.getData());return t}},{key:"placeMarker",value:function(t,e,n){var i=2<arguments.length&&void 0!==n?n:{};this.mouseRay.x=t/window.innerWidth*2-1,this.mouseRay.y=2*-(e/window.innerHeight)+1,this.raycaster.setFromCamera(this.mouseRay,this.camera);var r=this.raycaster.intersectObject(this.sphereMesh);if(0<r.length){var o=r[0].point;o.lerp(new a.Vector3(0,0,0),.05);var s=this.createSprite(o,null,i);this.stopVelocity(),this.hideMarkerBounds(),null!=this.editorApi&&this.editorApi.onMarkerPlaced(s.marker.getData()),this.setCurrMarker(s.sprite)}this.setMode(v)}},{key:"dragMarker",value:function(t,e){this.boundingBox.style.display="block",this.mouseRay.x=t/window.innerWidth*2-1,this.mouseRay.y=2*-(e/window.innerHeight)+1,this.raycaster.setFromCamera(this.mouseRay,this.camera);var n=this.raycaster.intersectObject(this.sphereMesh);if(0<n.length){var i=n[0].point;i.lerp(new a.Vector3(0,0,0),.05),this.drag.started||(this.drag.startX=i.x-this.currMarker.position.x,this.drag.startY=i.y-this.currMarker.position.y,this.drag.startZ=i.z-this.currMarker.position.z,this.drag.started=!0),this.drag.started&&i.set(i.x-this.drag.startX,i.y-this.drag.startY,i.z-this.drag.startZ),this.currMarker.position.copy(i),this.currMarker.userData.cssMarker.updateLoc(i)}}},{key:"canDragMarker",value:function(){return this.editMode&&this.downOnMarker&&null!=this.currMarker}},{key:"updateSize",value:function(t,e){if(this.newWidth=t,this.newHeight=e,null!=this.currMarker){var n=this.currMarker.userData.cssMarker;null!=n.panel&&n.panel.shown&&window.requestAnimationFrame(function(){return n.panel.update()})}}},{key:"getCameraTarget",value:function(){return{Lat:this.lat,Lon:this.lon}}},{key:"setCameraTarget",value:function(t,e){this.forcingCameraTarget=!0,this.lat=t||0,this.lon=e||0}}]),C}.call(e,k,e,t))||(t.exports=n)},function(t,e,v){"use strict";var n,m=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}void 0===(n=function(t){var o=v(0),n=v(54),e=v(87),r=v(12),a=v(10),l=v(2),u=v(1),i=v(21),s=i.enterOrTouchStart,c=i.leaveOrTouchEnd,h=(i.clickOrTouchEnd,i.downOrTouchStart),f=(i.moveOrTouchMove,i.upOrTouchEnd),d=document.createElement("div");d.classList.add("offscreen");var p={plus:'\n      <svg viewBox="0 0 20 20">\n        <g class="icon">\n          <path d="M14,10 L6,10" stroke-width="2" stroke-linecap="round"></path>\n          <path d="M10,6 L10,14" stroke-width="2" stroke-linecap="round"></path>\n        </g>\n      </div>\n    ',search:'\n      <svg viewBox="0 0 20 20">\n        <g class="icon" transform="scale(0.8) translate(2, 2)">\n          <path d="M11.9142136,11.9142136 L14.7426407,14.7426407" stroke-width="2" stroke-linecap="round"></path>\n          <circle stroke-width="2" stroke-linecap="round" cx="9" cy="9" r="4"></circle>\n        </g>\n      </svg>\n    ',arrow:'\n      <svg viewBox="0 0 20 20">\n        <g class="icon">\n          <polyline stroke-width="2" stroke-linecap="round" stroke-linejoin="round" points="14 10 10 5.5 6 10"></polyline>\n          <path d="M10,6 L10,14" stroke-width="2" stroke-linecap="round"></path>\n        </g>\n      </div>\n    ',none:'<svg viewBox="0 0 20 20"><g class="icon"></g></svg>'};function g(t){var e=this,n=t.pano,i=t.loc,r=t.sprite,o=t.id,s=t.props;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,g),this.onEditMode=function(t){e.editableLabel(),e.editableTooltip()},this.onEditLabel=function(){var t=50+(0<e.labelText.clientWidth?35+e.labelText.clientWidth:0);e.bg.style.width=t+"px",e.props.label.width=t},this.onMouseEnter=function(){e.pano.editMode||(e.setState("over"),e.enterAnimation(),e.enterToolTip(),e.enterLabel(),e.triggerEvent("onlinkrollover",e.sprite.userData.id))},this.onMouseLeave=function(){e.pano.editMode||(e.setState("normal"),e.leaveAnimation(),e.leaveToolTip(),e.leaveLabel(),e.triggerEvent("onlinkrollout",e.sprite.userData.id))},this.onReleaseOutsideLabel=function(t){a.isWithin(t.target,"marker-el")||(e.hideLabel(),e.disableActive(),document.removeEventListener(h,e.onReleaseOutside))},this.onMouseDown=function(){e.downPano(),e.downActiveState(),e.downShowHidePanel(),e.downEditMode(),e.downLabel(),e.hideToolTip()},this.onMouseUp=function(){e.triggerEvent("onlinkrelease",e.sprite.userData.id)},this.editMode=n.editMode,this.pano=n,this.sprite=r,this.id=o,this.createDefaults(s),this.setProperties(s),this.setupPanel(),this.createGraphics(),this.createSprite(i),l.on(u.threeSixtyImage.EDIT_MODE_ON,this.onEditMode)}return m(g,[{key:"editableLabel",value:function(){null!=this.labelText&&(this.labelText.contentEditable="true",this.labelText.addEventListener("input",this.onEditLabel))}},{key:"editableTooltip",value:function(){null!=this.tooltip&&(this.tooltip.contentEditable=!0,this.tooltip.spellcheck=!1)}},{key:"remove",value:function(){this.teardown(),l.off(u.threeSixtyImage.EDIT_MODE_ON,this.onEditMode),null!=this.panel&&this.panel.remove(),null!=this.labelText&&this.labelText.removeEventListener("input",this.onEditLabel)}},{key:"resize",value:function(){null!=this.panel&&this.panel.resize()}},{key:"updateLoc",value:function(t){this.object.position.copy(t),this.panel&&this.panel.update()}},{key:"setupPanel",value:function(){this.props.hasPanel&&(this.panel=new e({pano:this.pano,marker:this,data:this.props.panel}))}},{key:"generateStates",value:function(t,e){return{normal:{bgStroke:t,bgStrokeWidth:2,bgFill:t,iconStroke:e,iconFill:"none"},over:{bgStroke:e,bgStrokeWidth:2,bgFill:t,iconStroke:e,iconFill:"none"},active:{bgStroke:t,bgStrokeWidth:2,bgFill:e,iconStroke:t,iconFill:"none"}}}},{key:"createDefaults",value:function(t){this.iconTmpl=p[t.icon]||p.none,this.bgScale="tiny"===t.type?7.5:2.5,this.defaults={states:this.generateStates("#fff","#007cb2"),type:"normal",icon:"arrow",hasPanel:!0,hasTooltip:!1,hasLabel:!1,scale:100,iconScale:.8,boxShadow:"0 0 20px rgba(0, 0, 0, 0.2)",panel:{hasArrow:!0,padding:13,borderRadius:5,maxWidth:260,boxShadow:"0 0px 10px rgba(0, 0, 0, 0.25)",fill:"white",stroke:"transparent",strokeWidth:0,titleHtml:"",bodyHtml:""}}}},{key:"getData",value:function(){this.panel?(this.props.hasPanel=!0,this.props.panel=this.panel.getData()):this.props.hasPanel=!1;var t=this.object,e=o.cloneDeep(this.props);return delete e.states,{id:this.id,xPos:t.position.x,yPos:t.position.y,zPos:t.position.z,props:e}}},{key:"simpleColors",value:function(){null!=this.props.bgColor&&null!=this.props.fgColor&&(this.props.states=this.generateStates(this.props.bgColor,this.props.fgColor))}},{key:"adjust",value:function(t){var e=t.xPos,n=t.yPos,i=t.zPos,r=t.props;this.updatePosition(e,n,i),this.props=o.merge(this.props,r),this.simpleColors(),this.updateProps()}},{key:"updateProps",value:function(){this.updateIcon(),this.setState(this.currentState,!0),this.updatePanel(),this.updateLabel(),this.updateScale()}},{key:"updateLabel",value:function(){this.props.hasLabel}},{key:"updateIcon",value:function(){var t=document.createElement("div");t.innerHTML=p[this.props.icon]||p.none,this.icon.parentNode.innerHTML=t.querySelector("svg").innerHTML,this.icon=this.el.querySelector(".icon"),this.icon.parentNode.style.transform="scale("+(this.props.iconScale||1)+")"}},{key:"updatePanel",value:function(){this.props.hasPanel?this.panel.adjust(this.props.panel):null==this.panel&&this.props.hasPanel?this.setupPanel():null==this.panel||this.props.hasPanel||this.panel.disable()}},{key:"setProperties",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};this.props=o.merge(this.defaults,e),null==this.props.states.over&&(this.props.states.over=this.props.states.normal),this.simpleColors()}},{key:"setState",value:function(t,e){if(this.active&&!this.pano.editMode&&(t="active"),this.props.states[t]||e){var n=this.props.states[t],i=n.bgStroke,r=n.bgStrokeWidth,o=n.bgFill,s=n.iconStroke,a=n.iconFill;this.bg.style.border=r*this.bgScale*.5+"px solid "+i,null!=this.props.boxShadow&&(this.bg.style.boxShadow=this.props.boxShadow),this.bg.style.background=o,this.icon.setAttribute("stroke",s),this.icon.setAttribute("fill",a),this.currentState=t}}},{key:"addLabel",value:function(t){if(this.props.hasLabel){var e=document.createElement("div");e.classList.add("marker-label-container"),e.innerHTML="\n          <div class='marker-label'>\n            enter text...\n          </div>\n        ",this.el.appendChild(e),this.bg.classList.add("has-label"),this.labelEl=e,this.labelEl.style.left="50px",this.labelEl.style.width=0,this.labelEl.style.height="50px",this.labelText=this.labelEl.firstElementChild,this.labelText.style.color=this.props.label.textColor,this.labelText.innerHTML=this.props.label.html,this.editMode&&this.editableLabel()}}},{key:"showLabel",value:function(t){var e=this;if(null!=this.labelEl){var n=this.props.label.width||(0<this.labelText.clientWidth?35+function(t){var e=document.createElement("div");e.setAttribute("class",t.getAttribute("class")),e.innerHTML=t.innerHTML,d.innerHTML="",d.appendChild(e),document.body.appendChild(d);var n=e.clientWidth;return document.body.removeChild(d),n}(this.labelText):0);this.labelShown=!0;var i=t?0:.3;r.to(this.bg,i,{ease:"Power4.easeOut",width:n,height:50}),r.to(this.bg,.3,{scaleX:1.05,scaleY:1.05,overwrite:!1}),r.to(this.labelEl,i,{ease:"Power4.easeOut",width:n-50,onComplete:function(){e.labelEl.style.width="auto"}})}}},{key:"hideLabel",value:function(){this.props.label&&null!=this.labelEl&&(this.labelShown=!1,r.to(this.bg,.3,{ease:"Power4.easeOut",width:50,height:50,scaleX:1,scaleY:1}),r.to(this.labelEl,.3,{ease:"Power4.easeOut",width:0}))}},{key:"displayBounds",value:function(){var t=this.pano.spriteWidth/50,e=1/t;this.boundsRect.setAttribute("stroke-width",e),this.ctrlTl.setAttribute("stroke-width",e),this.ctrlTl.setAttribute("transform","scale("+e+")");var n=50*t;return this.ctrlTr.setAttribute("stroke-width",e),this.ctrlTr.setAttribute("transform","scale("+e+") translate("+n+", 0) "),this.ctrlBr.setAttribute("stroke-width",e),this.ctrlBr.setAttribute("transform","scale("+e+") translate("+n+", "+n+") "),this.ctrlBl.setAttribute("stroke-width",e),this.ctrlBl.setAttribute("transform","scale("+e+") translate(0, "+n+") "),this.boundsEl.style.display="block",this.boundsEl}},{key:"createGraphics",value:function(){this.el=document.createElement("div"),this.el.style.opacity=1,this.el.classList.add("marker-el"),this.el.innerHTML='\n        <div class="marker-content">\n          <div class="bg"></div>\n          '+this.iconTmpl+'\n        </div>\n        <svg class="marker-bounds" style="display:none">\n          <rect\n            class="marker-bounds-rect" stroke="white" fill="none" stroke-width="1"\n            x=0 y="0" width="50" height="50" />\n\n          '+["tl","tr","br","bl"].reduce(function(t,e){return'<rect class="marker-ctrl-'+e+'"\n              stroke="blue" fill="white" stroke-width="1"\n              x="'+-3.5+'" y="'+-3.5+'"\n              width="7" height="7"\n              vector-effect="non-scaling-stroke"/>'+t},"")+"\n        </div>\n      ",this.boundsEl=this.el.querySelector(".marker-bounds"),this.boundsRect=this.el.querySelector(".marker-bounds-rect"),this.ctrlTl=this.el.querySelector(".marker-ctrl-tl"),this.ctrlTr=this.el.querySelector(".marker-ctrl-tr"),this.ctrlBr=this.el.querySelector(".marker-ctrl-br"),this.ctrlBl=this.el.querySelector(".marker-ctrl-bl"),this.bg=this.el.querySelector(".bg"),this.bg.classList.add(this.props.type+"-type"),this.addLabel(),this.createToolTip(),this.content=this.el.querySelector(".marker-content"),this.bgRect=this.bg.querySelector(".bg-rect"),this.icon=this.el.querySelector(".icon"),this.currentState="normal",this.updateProps()}},{key:"createToolTip",value:function(){this.props.hasTooltip&&(this.tooltip=document.createElement("div"),this.tooltip.classList.add("tooltip-el"),this.tooltip.classList.add(this.props.type+"-marker"),this.bg.classList.add("has-tooltip"),null!=this.props.scale&&(this.tooltip.style.transform="scale("+3*this.props.scale+")"),this.el.prepend(this.tooltip),this.tooltip.innerHTML=this.props.toolTipHtml||"enter text...",this.editMode?this.editableTooltip():this.hideToolTip())}},{key:"hideToolTip",value:function(){var t=this;this.props.hasTooltip&&(this.tooltip.style.opacity=0,clearTimeout(this.hideTooltipId),this.hideTooltipId=setTimeout(function(){t.tooltip.style.display="none"},250))}},{key:"showToolTip",value:function(){clearTimeout(this.hideTooltipId),this.tooltip.style.display="block",this.tooltip.style.opacity=1}},{key:"enterAnimation",value:function(){"moveUp"===this.props.animation&&(this.bg.style.boxShadow="0 5px 20px rgba(0, 0, 0, 0.3)",r.to(this.content,.5,{y:-5,ease:"Power4.easeOut"})),"scaleUp"===this.props.animation&&(this.bg.style.boxShadow="0 0 20px rgba(0, 0, 0, 0.3)",r.to(this.content,.5,{scaleX:1.05,scaleY:1.05,ease:"Power4.easeOut"}))}},{key:"enterToolTip",value:function(){this.props.hasTooltip&&this.showToolTip()}},{key:"enterLabel",value:function(){this.props.hasLabel&&"hover"===this.props.label.showOn&&this.showLabel()}},{key:"leaveAnimation",value:function(){"moveUp"===this.props.animation&&(r.to(this.content,.2,{y:0,ease:"Power4.easeOut"}),this.bg.style.boxShadow=this.props.boxShadow),"scaleUp"===this.props.animation&&(r.to(this.content,.5,{scaleX:1,scaleY:1,ease:"Power4.easeOut"}),this.bg.style.boxShadow=this.props.boxShadow)}},{key:"leaveToolTip",value:function(){!this.pano.editMode&&this.props.hasTooltip&&this.hideToolTip()}},{key:"leaveLabel",value:function(){this.props.hasLabel&&"hover"===this.props.label.showOn&&this.hideLabel()}},{key:"disableActive",value:function(t){this.active&&(this.active=!1,this.setState(t||"normal"))}},{key:"downPano",value:function(){this.pano.setCurrMarker(this.sprite),this.pano.downOnMarker=!0,this.pano.stopVelocity()}},{key:"downActiveState",value:function(){var t=this;null!=this.props.states.active&&(this.pano.editMode||(this.active=!0,this.setState("active")),this.props.hasLabel||window.requestAnimationFrame(function(){document.addEventListener(h,t.onReleaseOutsideLabel)}))}},{key:"downShowHidePanel",value:function(){null==this.panel||this.labelShown||(this.panel.shown?(this.panel.hide(),this.disableActive("over")):this.panel.show())}},{key:"downEditMode",value:function(){if(this.pano.editMode)return this.pano.displayBoundingBox(),void(this.pano.boundingBox.style.display="block")}},{key:"downLabel",value:function(){this.props.hasLabel&&"down"===this.props.label.showOn&&(this.showLabel(),document.addEventListener(h,this.onReleaseOutsideLabel))}},{key:"teardown",value:function(){var t=this.object.element;t.removeEventListener(s,this.onMouseEnter),t.removeEventListener(c,this.onMouseLeave),t.removeEventListener(h,this.onMouseDown),t.removeEventListener(f,this.onMouseUp)}},{key:"updateScale",value:function(){null!=this.object&&this.scale(this.props.scale)}},{key:"scale",value:function(t){var e=this.sprite;e.scale.x=e.scale.y=t;var n=this.object;n.scale.x=n.scale.y=t/50,this.props.scale=t}},{key:"updatePosition",value:function(t,e,n){null!=t&&(this.object.position.x=t,this.sprite.position.x=t),null!=e&&(this.object.position.y=e,this.sprite.position.y=e),null!=n&&(this.object.position.z=n,this.sprite.position.z=n)}},{key:"createSprite",value:function(t){var e=new n.CSS3DSprite(this.el);(this.object=e).position.x=t.x,e.position.y=t.y,e.position.z=t.z,this.pano.cssScene.add(e),e.element.style.pointerEvents="all",e.element.addEventListener(s,this.onMouseEnter),e.element.addEventListener(c,this.onMouseLeave),e.element.addEventListener(h,this.onMouseDown),e.element.addEventListener(f,this.onMouseUp),"tiny"===this.props.type?this.scale(this.props.scale||100/3):this.scale(this.props.scale||100)}},{key:"triggerEvent",value:function(t,e){this.pano.model.executeFilteredPlayerEvent(function(t){return t.triggerid===e},t)}}]),g}.call(e,v,e,t))||(t.exports=n)},function(t,e,i){"use strict";var n,s=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}void 0===(n=function(t){var f=i(0),r=i(21).downOrTouchStart,o=i(10),a=i(2),l=(i(12),i(1)),u=i(88),n='\n    <svg width="7" height="11">\n      <path d="M1 10l5-4-5-4" stroke-width="1.5" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke="#000" stroke-linejoin="round"/>\n    </svg>\n  ';function c(t){var s=this,e=t.pano,n=t.marker,i=t.data;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),this.onEditMode=function(t){s.titleEl.contentEditable=!0,s.titleEl.spellcheck=!1,s.bodyEl.contentEditable=!0,s.bodyEl.spellcheck=!1,s.titleEl.addEventListener("input",s.onContentChanged),s.bodyEl.addEventListener("input",s.onContentChanged),s.titleEl.addEventListener("keydown",s.onEditorKeyDown),s.bodyEl.addEventListener("keydown",s.onEditorKeyDown)},this.onContentChanged=function(){s.updateTextData(),s.data.hasArrow&&s.bubbleArrowEl.classList.contains("panel-dir-left")&&s.update()},this.onEditorKeyDown=function(t){var e=66===t.which||85===t.which||73===t.which;t.ctrlKey&&e&&t.preventDefault()},this.onReleaseOutside=function(t){var e=o.isWithin(t.target,"panel-el"),n=o.isWithin(t.target,"marker-el");e||n||(s.hide(),document.removeEventListener(r,s.onReleaseOutside))},this.positionPanel=function(t,e){var n=s.pano.sceneRect,i=e.scale.x*n.width/2,r=(e.scale.y,n.height,t.x+n.width/2),o=t.y+n.height/2;r<s.pano.width/2?(r+=i/2+10,s.el.style.transformOrigin="0 0",s.data.hasArrow&&s.bubbleArrowEl.classList.remove("panel-dir-left")):(s.el.style.transformOrigin="100% 0",r-=i/2+10+s.el.offsetWidth,s.data.hasArrow&&s.bubbleArrowEl.classList.add("panel-dir-left")),s.scale=.8*s.pano.sceneScale+.005*i,s.el.style.transform="translate("+r+"px, "+o+"px) scale("+s.scale+") translateY(-50%)"},this.createOrUpdateImage=function(t){var e=t.url||null!=s.pano.assetManager&&s.pano.assetManager.getAssetUrl(t.assetId);null==s.mediaImageEl?(s.mediaImageEl=document.createElement("img"),s.mediaImageEl.src=e,s.panelBodyTopEl.appendChild(s.mediaImageEl)):s.mediaImageEl.src=e},this.createOrUpdateVideo=function(t){},this.createOrUpdateAudio=function(t){s.destroyAudio=u(s,t)},this.onLeftLink=function(){s.hide();var t=s.data.navigation,e=s.pano.getMarker(t.leftLink);s.pano.selectNextSprite=!0,s.pano.setCurrMarker(e.sprite),s.pano.panToMarker(t.leftLink)},this.onRightLink=function(){s.hide();var t=s.data.navigation,e=s.pano.getMarker(t.rightLink);s.pano.selectNextSprite=!0,s.pano.setCurrMarker(e.sprite),s.pano.panToMarker(t.rightLink)},this.pano=e,this.marker=n,this.overlaysEl=this.pano.overlaysEl,this.editMode=e.editMode,this.shown=!1,this.scale=1,this.createDefaults(),this.setData(i),this.createGraphics(),a.on(l.threeSixtyImage.EDIT_MODE_ON,this.onEditMode)}return s(c,[{key:"remove",value:function(){null!=this.el.parentNode&&this.el.parentNode.removeChild(this.el),a.off(l.threeSixtyImage.EDIT_MODE_ON,this.onEditMode),this.titleEl.removeEventListener("input",this.onContentChanged),this.bodyEl.removeEventListener("input",this.onContentChanged),this.titleEl.removeEventListener("keydown",this.onEditorKeyDown),this.bodyEl.removeEventListener("keydown",this.onEditorKeyDown)}},{key:"resize",value:function(){this.shown&&this.hide()}},{key:"setAngle",value:function(){}},{key:"createDefaults",value:function(){this.defaults={direction:"right"}}},{key:"setData",value:function(t){this.data=f.merge(this.defaults,t)}},{key:"update",value:function(){this.pano.projection(this.marker.sprite,this.positionPanel)}},{key:"show",value:function(){this.disabled||(null!=c.last&&c.last.shown&&c.last.hide(),this.scale=this.pano.sceneScale,this.el.style.display="block",this.el.classList.add("panel-shown"),this.shown=!0,clearTimeout(this.hideTimeout),this.update(),this.pano.editMode||this.marker.setState("active"),c.last=this,document.addEventListener(r,this.onReleaseOutside))}},{key:"adjust",value:function(t){this.data=f.merge(this.data,t),this.updateStyles()}},{key:"updateStyles",value:function(){var i=this,t=this.data,e=t.borderRadius,n=(t.titleHtml,t.bodyHtml,t.boxShadow),r=t.fill,o=t.stroke,s=t.strokeWidth,a=t.padding,l=t.maxWidth,u=t.hasArrow,c=t.navigation,h=t.hasNavigation;null!=e&&(this.bubbleEl.style.borderRadius=e+"px"),null!=n&&(this.bubbleEl.style.boxShadow=n),null!=r&&(this.bubbleEl.style.background=r,this.bubbleCornerRectEl.setAttribute("fill",r),this.bubbleCornerPathEl.setAttribute("fill",r)),null!=a&&(this.bubbleEl.style.padding=a+"px "+a+"px "+a+"px "+a+"px"),null!=l&&(this.bubbleEl.style.maxWidth=l+"px"),null!=o&&null!=s&&(this.bubbleEl.style.border=s+"px solid "+o,this.bubbleCornerPathEl.setAttribute("stroke",o),this.bubbleCornerPathEl.setAttribute("stroke-width",s)),null!=u&&(this.panelCornerEl.style.display=u?"block":"none"),h?(this.navEls.style.display="block",this.setupNavigation(c)):this.navEls.style.display="none",null!=this.data.titleHtml&&(this.titleEl.innerHTML=this.data.titleHtml),null!=this.data.bodyHtml&&(this.bodyEl.innerHTML=this.data.bodyHtml),null!=this.data.media?["audio","video","image"].forEach(function(t){var e=i["createOrUpdate"+f.capitalize(t)],n=i.data.media[t];null!=n?e(n):i.checkRemoveMedia(t)}):this.checkRemoveMedia("all"),this.disabled=!1}},{key:"checkRemoveMedia",value:function(t){"image"!==t&&"all"!==t||null==this.mediaImageEl||(this.mediaImageEl.parentNode.removeChild(this.mediaImageEl),this.mediaImageEl=null),"audio"!==t&&"all"!==t||null==this.mediaAudioEl||(this.mediaAudioEl.parentNode.removeChild(this.mediaAudioEl),this.mediaAudioEl=null,this.destroyAudio())}},{key:"setupNavigation",value:function(t){this.navLeftEl.removeEventListener("click",this.onLeftLink),null!=t.leftLink?(this.navLeftEl.style.opacity=1,this.navLeftEl.style.pointerEvents="all",this.navLeftEl.addEventListener("click",this.onLeftLink)):(this.navLeftEl.style.opacity=.5,this.navLeftEl.style.pointerEvents="none"),this.navRightEl.removeEventListener("click",this.onRightLink),null!=t.rightLink?(this.navRightEl.style.opacity=1,this.navRightEl.style.pointerEvents="all",this.navRightEl.addEventListener("click",this.onRightLink)):(this.navRightEl.style.opacity=.5,this.navRightEl.style.pointerEvents="none")}},{key:"hide",value:function(){var t=this;this.disabled||(this.shown=!1,this.el.classList.remove("panel-shown"),clearTimeout(this.hideTimeout),this.hideTimeout=setTimeout(function(){t.el.style.display="none"},100),this.marker.setState("normal"),null!=this.stopMedia&&this.stopMedia())}},{key:"disable",value:function(){this.disabled=!0,this.shown=!1,this.el.classList.remove("panel-shown"),this.el.style.display="none"}},{key:"getData",value:function(){return this.updateTextData(),this.data}},{key:"updateTextData",value:function(){this.data.titleHtml=this.titleEl.innerHTML,this.data.bodyHtml=this.bodyEl.innerHTML}},{key:"createGraphics",value:function(){var t=.62*this.pano.origHeight,e=this.pano.placeholderText||{title:"",body:""};this.panelContent='\n      <div class="panel-head">\n        <h2 class="panel-title" placeholder="'+e.title+'"></h2>\n        <div class="panel-nav-btns">\n          <div class="panel-nav-left panel-nav-btn">'+n+'</div>\n          <div class="panel-nav-right panel-nav-btn">'+n+'</div>\n        </div>\n        <div class="panel-content-grad-top"></div>\n      </div>\n      <div class="panel-body-outer">\n        <div class="panel-body-container" style="max-height:'+t+'px;">\n          <div class="panel-body-top"></div>\n          <div class="panel-body" placeholder="'+e.body+'"></div>\n      </div>\n      <div class="panel-content-grad-bottom"></div>\n      </div>\n      <div class="panel-bubble-arrow">\n      \n    <svg class="panel-corner" width="6" height="14.45">\n      <path class="panel-corner-rect" fill="#fff" d="M5.3 0h4v14.4679077h-4z"/>\n      <path class="panel-corner-path" stroke="#000" fill="#fff" d="M5.9999832 14.4679077L.8399963 9.3539154q-.8399978-.8919754-.8399978-2.081276 0-1.2487655.8399978-2.1407409L5.9999833.0179062"/>\n    </svg>\n  \n      </div>\n      ',this.el=document.createElement("div"),this.el.classList.add("panel-el"),this.el.innerHTML='\n        <div class="panel-bubble">\n          '+this.panelContent+"\n        </div>\n      ",this.titleEl=this.el.querySelector(".panel-title"),this.bodyEl=this.el.querySelector(".panel-body"),this.bubbleEl=this.el.querySelector(".panel-bubble"),this.bubbleArrowEl=this.el.querySelector(".panel-bubble-arrow"),this.panelCornerEl=this.el.querySelector(".panel-corner"),this.bubbleCornerRectEl=this.el.querySelector(".panel-corner-rect"),this.bubbleCornerPathEl=this.el.querySelector(".panel-corner-path"),this.panelBodyTopEl=this.el.querySelector(".panel-body-top"),this.navEls=this.el.querySelector(".panel-nav-btns"),this.navLeftEl=this.el.querySelector(".panel-nav-left"),this.navRightEl=this.el.querySelector(".panel-nav-right"),this.el.style.display="none",this.overlaysEl.appendChild(this.el),this.updateStyles(),this.editMode&&this.onEditMode()}}]),c}.call(e,i,e,t))||(t.exports=n)},function(t,e,A){"use strict";var n,w=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}void 0===(n=function(t){var u=A(10),c=A(3),h=A(5),e=A(2),n=A(1),i=A(11),r=A(21),o=(r.clickOrTouchEnd,r.downOrTouchStart),f=r.moveOrTouchMove,d=r.upOrTouchEnd,p=5;function g(s){var a=void 0,l=!1,e=!1;function t(t){a=s.panelAudioSeekEl.getBoundingClientRect(),l=!0,e=s.audioPlayer.playing,i(t)}function n(t){l=!1,e&&s.audioPlayer.play()}function i(t){if(l){var e=(o=t,(h.device.isMobile?o.touches[0]&&o.touches[0].clientX:o.clientX)+p);if(null!=e){var n=s.audioPlayer,i=(r=e,c.clamp(0,1,(r-a.left)/a.width)*n.model.getDuration());n.pause(),n.seek(i),n.displayTime(c.toSeconds(i))}}var r,o}return s.panelAudioSeekEl.addEventListener(o,t),document.addEventListener(f,i),document.addEventListener(d,n),function(){s.panelAudioSeekEl.removeEventListener(o,t),document.removeEventListener(f,i),document.removeEventListener(d,n)}}var v=(w(s,[{key:"play",value:function(){var t=this;this.playing=!0;var e=this.getAudioPlayer();e.onActionPlay({},{}),clearInterval(this.audioInterval),this.audioInterval=setInterval(function(){e.state.isPlaying||(t.pause(),t.resetPlayBtn()),t.displayTime()},30)}},{key:"pause",value:function(){this.playing=!1,this.getAudioPlayer().onActionPause({},{}),clearInterval(this.audioInterval)}},{key:"seek",value:function(t){var e=this.getAudioPlayer();e.seek(t),e.currentTime=c.toSeconds(t),this.displayTime()}}]),s);function s(){var t=this;b(this,s),this.destroy=function(){clearInterval(t.audioInterval),e.off(n.slide.WILL_CHANGE,t.destroy)},e.on(n.slide.WILL_CHANGE,this.destroy),window.requestAnimationFrame(function(){t.displayTime()})}var a=(w(l,[{key:"onActionPlay",value:function(){this.audio.play(),this.state.isPlaying=!0}},{key:"onActionPause",value:function(){this.audio.pause(),this.state.isPlaying=!1}},{key:"seek",value:function(t){this.audio.currentTime=c.toSeconds(t)}},{key:"getDuration",value:function(){return c.toMilliseconds(this.audio.duration)}},{key:"destroy",value:function(){this.audio.removeEventListener("timeupdate",this.onPlaying)}}]),l);function l(t){var e=this;b(this,l),this.onPlaying=function(){e.currentTime=e.audio.currentTime},this.audio=new Audio(t),this.state={isPlaying:!1},this.currentTime=0,this.audio.addEventListener("timeupdate",this.onPlaying)}var m=(w(y,[{key:"getDuration",value:function(){return this.currView.getDuration()}},{key:"destroy",value:function(){this.currView.audio.removeEventListener("canplaythrough",this.onUpdate)}}]),y);function y(t,e){var n=this;b(this,y),this.onUpdate=function(){n.player.displayTime()},this.currView=new a(t),this.currView.audio.addEventListener("canplaythrough",this.onUpdate),this.isEditModeAudio=!0,this.player=e}return function(s,t){var a=s.audioPlayer;null==a&&(a=s.audioPlayer=new v);var l=null==t.url?i.resolvePath(t.path,s.pano.model):new m(t.url,a);if(a.model=l,a.displayTime=function(t){var e=c.toSeconds(l.getDuration()),n=c.formatSecondsAsTime(e),i=null!=t?t:a.getAudioPlayer().currentTime,r=i/e*100,o=c.formatSecondsAsTime(i);s.panelAudioSeekFillEl.style.width=r+"%",u.setAttributes(s.panelAudioSeekFillEl,{"aria-valuenow":i,"aria-valuemax":e}),s.panelAudioTimeEl.innerHTML=o+" / "+n},a.getAudioPlayer=function(){return null!=l&&l.currView},null==s.mediaAudioEl){s.mediaAudioEl=document.createElement("div"),s.mediaAudioEl.classList.add("panel-audio");var e='\n        <div class="panel-audio-pill">\n          <button class="panel-audio-play" data-ref>\n    <svg class="panel-audio-play-icon" width="10" height="12" >\n      <path d="M9 5.705882L1 11V1z" fill="#7d7d7d" stroke="#7d7d7d" stroke-width="2" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>\n      <rect x="0" y="0" width="4" height="11" fill="#7d7d7d">\n      </rect>\n      <rect x="6" y="0" width="4" height="11" fill="#7d7d7d">\n      </rect>\n    </svg>\n  </button>\n          <div class="panel-audio-seek" data-ref>\n            <div class="panel-audio-seek-fill"\n              role="slider"\n              aria-valuemin="0"\n              aria-valuenow="0"\n              aria-valuemax="0"\n              style="background:'+s.marker.props.states.normal.iconStroke+'" data-ref></div>\n          </div>\n          <div class="panel-audio-time" data-ref>00:00 / 00:00</div>\n        </div>\n        <style class="panel-audio-dot-style">\n          .panel-audio-seek-fill:after {\n            background: '+s.marker.props.states.normal.iconStroke+" !important;\n          }\n        </style>\n      ";s.mediaAudioEl.innerHTML=e,u.selectAllByRef(s,s.mediaAudioEl);var n=function(){s.panelAudioPlayEl.firstElementChild.classList.remove("audio-is-playing")};a.resetPlayBtn=n,s.stopMedia=function(){n(),a.pause()},s.destroySeek=g(s),s.panelAudioPlayEl.addEventListener("click",function(t){var e=t.target.firstElementChild;a.playing?(a.pause(),e.classList.remove("audio-is-playing")):(a.play(),e.classList.add("audio-is-playing"))}),s.bubbleEl.appendChild(s.mediaAudioEl)}return function(){s.audioPlayer.destroy(),s.audioPlayer=null,l.isEditModeAudio&&l.destroy(),s.destroySeek(),s.bubbleEl.removeChild(s.mediaAudioEl)}}}.call(e,A,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=!1;return{create:function(){if(!e){e=!0;var t=document.createElement("style");t.innerHTML="\n\n      /* @TODO remove */\n      .three-sixty-image {\n        font-family: \"Open Sans Full\", sans-serif;\n      }\n\n      .box-handle {\n        position: absolute;\n        left: 0; top: 0;\n        width: 10px;\n        height: 10px;\n        background: transparent;\n        pointer-events: all;\n        cursor: pointer;\n      }\n\n      .box-handle-tl {\n        left: -5px;\n        top: -5px;\n      }\n\n      .box-handle-tr {\n        left: calc(100% - 5px);\n        top: -5px;\n      }\n\n      .box-handle-br {\n        left: calc(100% - 5px);\n        top: calc(100% - 5px);\n      }\n\n      .box-handle-bl {\n        left: -5px;\n        top:  calc(100% - 5px);\n      }\n\n      .three-css {\n        pointer-events: none !important;\n      }\n\n      .three-css * {\n        pointer-events: none !important;\n      }\n\n      .marker-el {\n        position: 'absolute';\n        left: 0;\n        top: 0;\n        width: 50px;\n        height: 50px;\n        cursor: pointer;\n        pointer-events: all !important;\n      }\n\n      .marker-el * {\n        pointer-events: all !important;\n      }\n\n      .marker-el .bg {\n        position: absolute;\n        left:0;\n        top:0;\n        width: 50px;\n        height: 50px;\n        border-radius:500px;\n        transform-origin: 5% 50%;\n        transition: all 250ms ease-out;\n      }\n\n      .marker-bounds {\n        position: absolute !important;\n        left: 0;\n        top: 0;\n        width: 50px;\n        height: 50px;\n      }\n\n      .marker-el .bg.has-label {\n        transition: none;\n      }\n\n      .marker-label-container {\n        position: absolute;\n        left: 0;\n        top: 0;\n        width: 0;\n        overflow: hidden;\n      }\n\n      .marker-label {\n        position: relative;\n        left: 0px;\n        top: 50%;\n        width: auto;\n        transform: translateY(-52%);\n        white-space: nowrap;\n        color: black;\n        font-size: 50px;\n      }\n\n      .marker-label div {\n        display: inline;\n      }\n\n      .marker-label br {\n        display: none\n      }\n\n      .tooltip-el {\n        position: absolute;\n        left: 0;\n        top: 0;\n        background: rgba(0, 0, 0, 0.5);\n        color: white;\n\n        padding: 0.2em 0.5em;\n        font-size: 40px;\n        white-space: nowrap;\n        /* @TODO argument for moving this to scss */\n        transition: opacity 150ms ease-out;\n        /* keep pill shaped */\n        border-radius: 500px;\n        transform-origin: 0px 100%;\n      }\n\n      .tooltip-el.tiny-marker {\n        left: 32px;\n        top: -16px;\n      }\n\n      .tooltip-el.normal-marker {\n        left: 80px;\n        top: -30px;\n        padding: 15px 30px;\n      }\n\n      .panel-el {\n        position: absolute;\n        left: 0;\n        top: 0;\n        width: auto;\n        height: auto;\n        color: black;\n        transition: opacity 100ms ease-out;\n        opacity: 0;\n        pointer-events: all !important;\n      }\n\n      .panel-body-container::-webkit-scrollbar {\n        -webkit-appearance: none;\n        display: none;\n      }\n\n      .panel-body-outer {\n        position: relative;\n      }\n\n      .panel-el.panel-shown {\n        opacity: 1;\n      }\n\n      .panel-corner {\n        overflow: visible;\n      }\n\n      .panel-bubble-arrow {\n        position: absolute;\n        left: -5px;\n        top: 50%;\n        transform: translateY(-50%);\n      }\n\n      .panel-bubble-arrow.panel-dir-left {\n        position: absolute;\n        left: auto;\n        right: -6px;\n        top: 50%;\n        transform: translateY(-50%) scaleX(-1);\n      }\n\n      .panel-head {\n        position: relative;\n        display: flex;\n      }\n\n      .panel-title {\n        margin: 0 0 0.8em 0;\n        padding: 0;\n        font-weight: normal;\n        color:#494949;\n      }\n\n      .panel-body-top img {\n        margin-top: 10px;\n        width: 100%;\n        margin-bottom: 1em;\n      }\n\n      .panel-body {\n        line-height: 1.4;\n        color:#494949;\n        /* @TODO maybe use panel padding value */\n        padding-bottom: 17px;\n      }\n\n      .panel-body-container {\n        position: relative;\n        overflow-y: scroll;\n      }\n\n      .panel-bubble {\n        position: relative;\n        background: white;\n        padding: 1em;\n        border-radius: 10px;\n        border: 1px solid black;\n      }\n\n      .panel-body-grads {\n        position: absolute;\n        pointer-events: none;\n      }\n\n      .panel-content-grad-top,\n      .panel-content-grad-bottom {\n        height: 10px;\n        width: calc(100% + 6px);\n        position: absolute;\n        left: -3px; bottom:-9px;\n        z-index: 1;\n        /* @TODO this gradient color will change if panel backgrounds can change */\n        background: linear-gradient(180deg, white, transparent);\n        pointer-events: none;\n      }\n\n      .panel-content-grad-bottom {\n        bottom: 13px;\n        left: 0;\n        width: 100%;\n        background: linear-gradient(180deg, transparent, white);\n      }\n\n      .panel-nav-btns {\n        margin-left: 1em;\n        flex: 1;\n        text-align: right;\n      }\n\n      .panel-nav-btn {\n        display: inline-block;\n        cursor: pointer;\n        padding-top: 0.4em;\n      }\n\n      .panel-nav-left {\n        margin-right: 0.2em;\n        transform: scaleX(-1);\n      }\n\n      .panel-audio-pill {\n        display: flex;\n        height: 36px;\n        border: 1px solid #dcdcdc;\n        border-radius: 36px;\n        margin-bottom: 5px;\n      }\n\n      .panel-audio-pill > * {\n        flex-grow: 1;\n      }\n\n      .panel-audio-play {\n        min-width: 40px;\n        border-color: transparent;\n        background: transparent;\n        text-align: center;\n        position: relative;\n        cursor: pointer;\n      }\n\n      svg.panel-audio-play-icon {\n        position: absolute;\n        left: 50%;\n        top: 50%;\n        transform: translate(-50%, -50%);\n      }\n\n      svg.panel-audio-play-icon rect {\n        display: none;\n      }\n\n      svg.panel-audio-play-icon.audio-is-playing rect {\n        display: block;\n      }\n\n      svg.panel-audio-play-icon.audio-is-playing path {\n        display: none;\n      }\n\n      .panel-audio-seek {\n        height: 4px;\n        background: #dcdcdc;\n        flex-grow: 100;\n        position: relative;\n        top: calc(50% - 2px);\n        border-radius: 4px;\n        cursor: pointer;\n      }\n\n      .panel-audio-seek-fill {\n        height: 100%;\n        width: 0%;\n        background: black;\n        position: relative;\n        border-radius: 8px;\n      }\n\n      .panel-audio-seek-fill:after {\n        content: '';\n        position: absolute;\n        width: 8px;\n        height: 8px;\n        background: black;\n        right: 0;\n        border-radius: 8px;\n        top: -50%;\n      }\n\n      .panel-audio-time {\n        margin: 0.8em;\n      }\n\n    ",document.body.appendChild(t)}}}}.call(e,n,e,t))||(t.exports=i)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatMessage=function(t,e,n){if(t.focus(),document.execCommand("styleWithCSS",!1,!0),document.execCommand(e,!1,n),t.focus(),"fontsize"===e){var i=document.getSelection();null!=i.anchorNode&&null!=i.anchorNode.parentNode&&(i.anchorNode.parentNode.style.fontSize=n+"px")}}},function(t,e,r){"use strict";var n;void 0===(n=function(t){function e(){this.reset()}var n=r(0),s=r(16),a=r(3),i=r(4),h=i.math.TO_RADIANS;return n.extend(e.prototype,{adjustByViewProps:function(t){return this.translate(t.RawXPos,t.RawYPos).scale(t.ScaleX,t.ScaleY,t.rotateXPos,t.rotateYPos).rotate(t.Rotation,t.rotateXPos,t.rotateYPos),this},reset:function(){return this.a=this.d=1,this.c=this.b=this.tx=this.ty=0,this},translate:function(t,e){return this.tx+=t*this.a+e*this.b,this.ty+=t*this.c+e*this.d,this},scale:function(t,e,n,i){var r=n||i;return r&&this.translate(n,i),this.a*=t,this.c*=t,this.b*=e,this.d*=e,r&&this.translate(-n,-i),this},rotate:function(t,e,n){t*=h;var i=Math.cos(t),r=Math.sin(t),o=e-e*i+n*r,s=n-e*r-n*i,a=this.a,l=this.b,u=this.c,c=this.d;return this.a=i*a+r*l,this.b=-r*a+i*l,this.c=i*u+r*c,this.d=-r*u+i*c,this.tx+=o*a+s*l,this.ty+=o*u+s*c,this},skew:function(t,e,n,i){var r=n||i,o=this.a,s=this.c;return t=Math.tan(t*h),e=Math.tan(e*h),r&&this.translate(n,i),this.a+=e*this.b,this.c+=e*this.d,this.b+=t*o,this.d+=t*s,r&&this.translate(-n,-i),this},transform:function(t,e){return{x:t*this.a+e*this.b+this.tx,y:t*this.c+e*this.d+this.ty}},copy:function(){var t=new e;return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},invert:function(){var t=1/(this.a*this.d-this.b*this.c),e=this.d*t,n=-this.b*t,i=-this.c*t,r=this.a*t,o=t*(this.b*this.ty-this.d*this.tx),s=t*(this.c*this.tx-this.a*this.ty);return this.a=e,this.b=n,this.c=i,this.d=r,this.tx=o,this.ty=s,this},toCssTransform:function(){var t=a.fix(this.a,6),e=a.fix(this.b,6),n=a.fix(this.c,6),i=a.fix(this.d,6),r=a.fix(this.tx,6),o=a.fix(this.ty,6);return s.buildTransformFn("matrix",t,n,e,i,r,o)},getScale:function(){return{x:a.hypot(this.a,this.c),y:a.hypot(this.b,this.d)}},transformPoint:function(t,e){return{x:t*this.a+e*this.b+this.tx,y:t*this.c+e*this.d+this.ty}},unTransformPoint:function(t,e){return this.copy().invert().transformPoint(t,e)},decompose:function(){var t,e,n,i=this.a,r=this.b,o=this.c,s=this.d;return n=i*s-r*o,Math.abs(n)<=1e-12?null:(r/=t=Math.sqrt(i*i+r*r),(i/=t)*(s/=e=Math.sqrt(o*o+s*s))<r*(o/=e)&&(i=-i,r=-r,t=-t),{scaling:{x:t,y:e},rotation:180*-Math.atan2(r,i)/Math.PI})},append:function(t){var e=this.a,n=this.b,i=this.c,r=this.d,o=t.a,s=t.b,a=t.c,l=t.d,u=t.tx,c=t.ty;return this.a=o*e+a*n,this.b=s*e+l*n,this.c=o*i+a*r,this.d=s*i+l*r,this.tx+=u*e+c*n,this.ty+=u*i+c*r,this},isEqual:function(t){return this.tx===t.tx&&this.ty===t.ty&&this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d},isOnlyTranslated:function(t){return this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d}}),e}.call(e,r,e,t))||(t.exports=n)},function(t,e,n){"use strict";var i;void 0===(i=function(t){var i,r=n(0),o=(n(9),n(1)),s=n(2),a=n(15),l=n(4);return r.extend({initialize:function(t){i=t,s.on(o.window.OPEN_EXTERNAL,this.onOpenWindow.bind(this))},onOpenWindow:function(t,e){var n=this.openWindowByAction.bind(this,t),i=n;null!=a.onOpenWindow&&(i=a.onOpenWindow.bind(a,t,e,n)),i()},openWindowByAction:function(t){var e={},n=t.windowsize,i="open_video"===t.kind;switch(n){case"fullscreen":e.width=window.screen.availWidth,e.height=window.screen.availHeight;break;case"custom":e.width=t.width,e.height=t.height}t.usedefaultcontrols||"default"===n||(e.status=+t.status,e.toolbar=+t.toolbar,e.location=+t.location,e.menubar=+t.menubar,e.scrollbars=+t.scrollbars,e.resizable=+t.resizable),this.open({url:i?l.STORY_CONTENT_URL+t.url:t.url,window:t.window,specs:e,previewNotification:i?"PREVIEW_OPEN_VIDEO":"PREVIEW_OPEN_URL"})},open:function(t){var e,n={previewNotification:"PREVIEW_OPEN_URL",specs:{},window:"_blank"};r.extend(n,t),i.isPreview()?s.trigger(o.preview.NOTIFY,n.previewNotification):window.open(n.url,n.window,(e=n.specs,r.pairs(e).map(function(t){return t.join("=")}).join(", ")))}})}.call(e,n,e,t))||(t.exports=i)},function(t,e,r){"use strict";var n;void 0===(n=function(t){var e=r(15),n=r(2),i=r(1);(e.detectVisibilityChange||function(){document.addEventListener("visibilitychange",function(t){n.trigger(i.detection["VISIBILITY_"+(document.hidden?"HIDDEN":"SHOWN")])},!1)})()}.call(e,r,e,t))||(t.exports=n)}]);