(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["common_utils~app"],{"0b2b":function(t,n,e){"use strict";e("8785"),e("4d63"),e("c607"),e("ac1f"),e("2c3e"),e("25f0"),e("466d"),e("a15b"),e("d81d"),e("5319"),e("d80f");String.prototype.toKebabCase=function(){var t="";if(void 0!==this&&null!==this){var n=new RegExp("[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+","g"),e=this.match(n);e&&(t=e.map((function(t){return t.toLowerCase()})).join("-"))}return t}},1107:function(t,n,e){"use strict";e.d(n,"a",(function(){return s})),e.d(n,"b",(function(){return c}));var i=e("bee2"),a=e("d4ec"),r=(e("4ec9"),e("d3b7"),e("3ca3"),e("ddb0"),e("7a23")),o=Object(i["a"])((function t(){Object(a["a"])(this,t),this.visibility="visible",this.animationDuration="",this.animationDelay="",this.animationName="",this.animationTimingFunction="",this.animationIterationCount="",this.offsetPath="",this.transformOrigin="",this.animationDirection="",this.animationFillMode="",this.opacity=""})),s=function(){function t(n){Object(a["a"])(this,t),this.style=n}return Object(i["a"])(t,[{key:"endAction",value:function(){}},{key:"animationEnd",value:function(){this.style.state="stop",this.endAction()}},{key:"animationStart",value:function(){this.style.state="running"}},{key:"animationIteration",value:function(){}}]),t}(),c=new Map,u=Object(i["a"])((function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(a["a"])(this,t),this.style=Object(r["reactive"])(new o),this.class="",this.adornerStyle=Object(r["reactive"])(new o),this.adornerClass="",this.state="stop",this.category="Appearance",this.id=n}));n["c"]=u},"19ae":function(t,n,e){"use strict";e.r(n);e("ac1f"),e("5319"),e("a15b"),e("a434"),e("e9c4"),e("99af");var i=e("452f"),a=e.n(i);(function(){var t=function(t){return t.join(",").replace(/,?([achlmqrstvxz]),?/gi,"$1")},n=function(n){return t(i(n))},e=function(t){for(var n=[],e=0;e0&&n.push(i)}return n},i=function(t){for(var n=[],e=0;e0){var u=[o[c][0]+s[c][0][0]*a*.446,o[c][1]+s[c][0][1]*r*.446],f=[o[c][0]+s[c][1][0]*a*.446,o[c][1]+s[c][1][1]*r*.446],l=[o[c][0]+s[c][1][0]*a,o[c][1]+s[c][1][1]*r];e.push(["C",u[0],u[1],f[0],f[1],l[0],l[1]])}if("rect"==n.type)if(c<3){var h=[o[c+1][0]+s[c+1][0][0]*a,o[c+1][1]+s[c+1][0][1]*r];e.push(["L",h[0],h[1]])}else e.push(["Z"])}return t(e)},o=function(){var t,n,e=0,i=[];function a(t,n){var a=i[[t,n]];return a||(i[[t,n]]="S"+e++)}for(var r=0;ro&&(o=e[u]["t"+n])),e[u]["t"+n]>r&&e[u]["t"+n]1&&delete t[0].endPoint,t[t.length-1].endPoint=e,t.length>1&&delete t[t.length-1].startPoint},h=function(t){for(var e,i,r=-1,o=t[0][1],s=n(t),c=a.a.pathBBox(s),u=c.y+c.height/2,f="M"+c.x+","+(u-c.height*Math.random()/100)+"L"+c.x2+","+(u+c.height*Math.random()/100),l=a.a.pathIntersection(f,s),h=0;h=l[i].t1)&&(i=h);return o=l[i].segment2&&(l[e].segment2!=l[i].segment2||o=l[i].t2)&&(r=1),r},d=function(t,n){for(var e=a.a.pathBBox(t),i=a.a.pathBBox(n),r=Math.max(e.width,e.height,i.width,i.height)/1e3,o=a.a.pathIntersection(t,n),s=[],c=!0,u=0;u0&&!e[o].inverted&&e[o][0].startPoint==e[o][e[o].length-1].endPoint&&l(e[o]);if(e.length>0){var s,c=0,f=e[0],d=e[0][0].startPoint,m=[],v=[];while(c0&&(c(e,1,a),c(i,2,a));var r=m(t,e,i),s=v(r);return p(t,r,s.inversions,s.startIndex)},b=function(t){var n="path"==t.type?t.attr("path"):r(t);return n=a.a.transformPath(n,t.matrix.toTransformString()),n=a.a.path2curve(n),e(n)},x=function(t,e){for(var i=JSON.parse(JSON.stringify(b(t))),a=JSON.parse(JSON.stringify(b(e))),r=[],o=d(n(i),n(a)),s=0;s0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;Object(i["a"])(this,t),this.eq=function(t){return n._x===t.x&&n._y===t.y},this.distanceFrom=function(t){var e=n._x-t.x,i=n._y-t.y;return Math.sqrt(e*e+i*i)},this.lerp=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5;return"undefined"===typeof i&&(i=.5),i=Math.max(Math.min(1,i),0),new t(n._x+(e.x-n._x)*i,n._y+(e.y-n._y)*i,n._pressure+(e.pressure-n._pressure)*i)},this.midPointFrom=function(t){return n.lerp(t)},this.min=function(e){return new t(Math.min(n._x,e.x),Math.min(n._y,e.y),Math.min(n._pressure,e.pressure))},this.max=function(e){return new t(Math.max(n._x,e.x),Math.max(n._y,e.y),Math.max(n._pressure,e.pressure))},this.toString=function(){return n._x+","+n._y+","+n._pressure},this.setXY=function(t,e){return n._x=t,n._y=e,n},this.setFromPoint=function(t){return n._x=t.x,n._y=t.y,n._pressure=t.pressure,n._timestamp=t.timestamp,n},this.swap=function(t){var e=n._x,i=n._y,a=n._pressure,r=n._timestamp;n._x=t.x,n._y=t.y,n._pressure=t.pressure,n._timestamp=t.timestamp,t.x=e,t.y=i,t.pressure=a,t.timestamp=r},this.clone=function(){return new t(n._x,n._y,n._pressure,n._timestamp)},this._x=e,this._y=a,this._pressure=r,this._timestamp=o}return Object(a["a"])(t,[{key:"x",get:function(){return this._x},set:function(t){var n=Number(t);Number.isFinite(n)||(this._x=0),this._x=n}},{key:"y",get:function(){return this._y},set:function(t){var n=Number(t);Number.isFinite(n)||(this._y=0),this._y=n}},{key:"pressure",get:function(){return this._pressure},set:function(t){var n=Number(t);Number.isFinite(n)||(this._pressure=0),this._pressure=n}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){void 0===t&&(this._timestamp=void 0);var n=Number(t);Number.isFinite(n)||(this._timestamp=0),this._timestamp=n}}]),t}())},"37f8":function(t,n,e){"use strict";var i,a=e("d4ec"),r=e("bee2"),o=(e("d3b7"),e("2ca0"),e("4de4"),e("159b"),e("ac1f"),e("5319"),e("0b2b"),function(t){var n="animation-";switch(t.type){case"BlindIn":case"RandomizedLinesEffectIn":case"RandomizedLinesEffectOut":n=n+t.type+"-"+t.direction;break;case"DiagonalWipeIn":case"TranslateFadeIn":case"TranslateIn":case"JumpIn":case"DiagonalWipeOut":case"TranslateFadeOut":case"TranslateOut":case"JumpOut":n=n+t.type+"-"+t.orientation;break;case"SpiralScaleIn":case"SpiralScaleOut":case"WhirlFadeIn":case"WipeDropIn":case"Curve":case"Line":n="style-"+t.type;break;case"Heartbeat":case"Reversal":case"Shake":case"Bounce":case"Flicker":n="style-"+t.type+"-"+t.magnitude;break;default:n+=t.type;break}if("Disappearance"===t.category&&(n=n.replace("Out","In"),t.orientation))switch(t.orientation){case"LeftToRight":n=n.replace("LeftToRight","RightToLeft");break;case"RightToLeft":n=n.replace("RightToLeft","LeftToRight");break;case"TopToBottom":n=n.replace("TopToBottom","BottomToTop");break;case"BottomToTop":n=n.replace("BottomToTop","TopToBottom");break;default:break}return n.toKebabCase()}),s=o,c=e("1107"),u=(e("b0c0"),e("caad"),e("2532"),e("99af"),function(t,n){for(var e=document.styleSheets,i=void 0,a=0,r=void 0,o=0;o=0})),h=new Array;h.push(t[0]);for(var m=f.length-1;m>=0;m--)h.push(f[m].point);for(var v=l.length-1;v>=0;v--)h.push(l[v].point);return h},r=function(t,n){var e=[[1,0],[0,1]];return e=s(n),o(e,t)},o=function(t,n){var e=new i["a"];return e.x=n.x*t[0][0]+n.y*t[0][1],e.y=n.x*t[1][0]+n.y*t[1][1],e},s=function(t){return[[Math.cos(t*Math.PI/180),-Math.sin(t*Math.PI/180)],[Math.sin(t*Math.PI/180),Math.cos(t*Math.PI/180)]]},c=function(t,n){return Math.sqrt(Math.abs(t.x-n.x)*Math.abs(t.x-n.x)+Math.abs(t.y-n.y)*Math.abs(t.y-n.y))},u=function(t,n){var e=t.x*n.y-n.x*t.y,i=t.x*n.x+t.y*n.y;return Math.atan2(e,i)*(180/Math.PI)},f=function(t){var n=Math.sqrt(t.x*t.x+t.y*t.y),e=new i["a"];return e.x=t.x/n,e.y=t.y/n,e},l=function(t,n,e){return h(t.x,n.x,e)&&h(t.y,n.y,e)},h=function(t,n,e){return Math.abs(t-n)e?(i=e,a=n):(i=n,a=e),(t>i||Math.abs(t-i)<.1)&&(tn.x?n.x:t.x,o=t.x>n.x?t.x:n.x,s=e.x>a.x?a.x:e.x,c=e.x>a.x?e.x:a.x,u=0,f=0,l=!1,h=!1;if(Math.abs(t.x-n.x)<1e-4){var d=(e.y-a.y)/(e.x-a.x),m=e.y-d*e.x;u=t.x,f=d*u+m,l=p(f,n.y,t.y),h=p(u,s,c)}else if(Math.abs(e.x-a.x)<1e-4){var v=(t.y-n.y)/(t.x-n.x),y=t.y-v*t.x;u=e.x,f=v*u+y,l=p(u,n.x,t.x),h=p(f,e.y,a.y)}else{var b=(t.y-n.y)/(t.x-n.x),x=t.y-b*t.x,g=(e.y-a.y)/(e.x-a.x),w=e.y-g*e.x;if(Math.abs(b-g)<.01)return null;u=(w-x)/(b-g),f=b*u+x,l=p(u,r,o),h=p(u,s,c)}if(l&&h){var M=new i["a"];return M.x=u,M.y=f,M}return null};function b(t,n){return Math.sqrt(Math.pow(t,2)+Math.pow(n,2))}function x(t){return new i["a"](t.x,t.y)}function g(t){return b(t.x,t.y)}function w(t){return t*Math.PI/180}function M(){var t=(new Date).getTime(),n="xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(n){var e=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===n?e:3&e|8).toString(16)}));return n}function I(t,n,e,i,a){var r=w(a),o=Math.sin(r),s=Math.cos(r),c=s*(t-e)-o*(n-i)+e,u=o*(t-e)+s*(n-i)+i;return[c,u]}function O(t,n,e){var a=I(t.x,t.y,n.x,n.y,e);return new i["a"](a[0],a[1])}function k(t,n){return new i["a"]((t.x+n.x)/2,(t.y+n.y)/2)}function S(t,n,e,i,a){var r=w(a),o=t-e,s=n-i,c=o*Math.cos(r)+s*Math.sin(r),u=-o*Math.sin(r)+s*Math.cos(r);return{x:c,y:u}}},"3cd5":function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var i=e("b85c"),a=(e("4ec9"),e("d3b7"),e("3ca3"),e("ddb0"),e("ac1f"),e("5319"),e("4d63"),e("c607"),e("2c3e"),e("25f0"),new Map);function r(t){if("html"===(new DOMParser).parseFromString(t,"text/xml").childNodes[0].nodeName)return t;var n,e=t.replace(new RegExp("([-])","g"),"$1").replace(new RegExp("([Bb]ww;)","g"),"$1"),r=Object(i["a"])(a.keys());try{for(r.s();!(n=r.n()).done;){var o=n.value,s=new RegExp(o,"g"),c=a.get(o);void 0!==c&&(e=e.replace(s,c))}}catch(O){r.e(O)}finally{r.f()}e=e.replace(new RegExp("matom","g"),"mtext").replace(new RegExp("=","g"),'=').replace(new RegExp("","g"),"").replace(new RegExp("","g"),'');var u,f=(new DOMParser).parseFromString(e,"text/xml"),l=f.getElementsByTagName("munderover"),h=Object(i["a"])(l);try{for(h.s();!(u=h.n()).done;){var d=u.value,m=d.children[1],v=d.children[2];d.removeChild(v),d.removeChild(m),d.appendChild(v),d.appendChild(m)}}catch(O){h.e(O)}finally{h.f()}var p,y=f.getElementsByTagName("mLog"),b=Object(i["a"])(y);try{for(b.s();!(p=b.n()).done;){var x=p.value,g=x.previousElementSibling,w=x.parentNode,M=x.children[0],I=x.children[1];null!==g&&null!==w&&null!==I&&(w.removeChild(g),x.removeChild(M),x.removeChild(I),w.appendChild(I),w.insertBefore(I,x.nextSibling),x.appendChild(g),x.appendChild(M))}}catch(O){b.e(O)}finally{b.f()}return e=(new XMLSerializer).serializeToString(f).replace(new RegExp("\\n","g"),"").replace(/mLog/g,"msub"),e}a.set("","α"),a.set("","β"),a.set("","χ"),a.set("","δ"),a.set("","ε"),a.set("","φ"),a.set("","γ"),a.set("","η"),a.set("","ι"),a.set("","φ"),a.set("","κ"),a.set("","λ"),a.set("","μ"),a.set("","ν"),a.set("","ο"),a.set("","π"),a.set("","θ"),a.set("","ρ"),a.set("","σ"),a.set("","τ"),a.set("","υ"),a.set("","ω"),a.set("","ω"),a.set("","ξ"),a.set("","ψ"),a.set("","ζ"),a.set("","∞"),a.set("","→"),a.set("","×"),a.set("","÷"),a.set("","="),a.set("","≠"),a.set("","≈"),a.set("","±"),a.set("","°"),a.set("","⇒"),a.set("","⇔"),a.set("","∧"),a.set("","∨"),a.set("","∆"),a.set("","∃"),a.set("","∀"),a.set("","¬"),a.set("","⊥"),a.set("","∈"),a.set("","∉"),a.set("","⊆"),a.set("","⊄"),a.set("","∙"),a.set("","Ω"),a.set("≤","⩽"),a.set("≥","⩾"),a.set("̅","-"),a.set("₌","="),a.set("","∫"),a.set("","∑")},"3e0a":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"a",(function(){return o}));var i,a=e("8785");e("4d63"),e("c607"),e("ac1f"),e("2c3e"),e("25f0"),e("d80f"),e("5319");function r(t){if(!t)return"";var n=new RegExp(String.raw(i||(i=Object(a["a"])(["^w"],["^\\w"]))));return t.replace(n,(function(t){return t.toLocaleLowerCase()}))}function o(t){var n=t.lastIndexOf(".");return-1===n?"":t.substring(n+1).toLowerCase()}},"424c":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return o}));e("d3b7"),e("caad"),e("2532"),e("0b2b");var i,a=["Circle","LineReveal","RandomizedLines","WaterWave"],r=function(t,n,e,r,c,u,f,l,h,d){if(n.id!==t.id){s.isRunning=!0,i=t;var m=function(){c.value="",u.value="",l.value=!0,h.value=!1,d.value=!1};if(m(),e0&&"None"!==t.transitionKey){s.isRunning=!0;var a=t.duration.ticks/1e4;e.value=a+"ms",n.value=t.transitionKey.toKebabCase()+"-in",i=t}else i=t,o(t)}}},4397:function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var i=e("9127"),a=e("59be");function r(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e="true"===a["a"]?"https://":"http://",r=e+Object(a["k"])(n)+"."+a["e"],o=(Date.now()+a["c"])/1e3,s=a["b"],c="/"+t+"-"+o+"-0-0-"+s,u=i["Md5"].hashStr(c),f="auth_key="+o+"-0-0-"+u;return r+"/"+t+"?"+f}},"59be":function(t,n,e){"use strict";e.d(n,"j",(function(){return i})),e.d(n,"g",(function(){return r})),e.d(n,"h",(function(){return o})),e.d(n,"i",(function(){return s})),e.d(n,"f",(function(){return c})),e.d(n,"e",(function(){return u})),e.d(n,"a",(function(){return f})),e.d(n,"b",(function(){return l})),e.d(n,"c",(function(){return h})),e.d(n,"d",(function(){return d})),e.d(n,"k",(function(){return m}));var i="https://api.qpoint.changhongedu.com/",a="qpoint-resource-bucket",r="qpoint-bucket",o="qpoint-view",s="https://qpoint-view.changhongedu.com/",c="oss-cn-hangzhou-internal.aliyuncs.com",u="qpoint.changhongedu.com",f="true",l="chedu2019",h=3600,d="https://qpoint-bucket.qpoint.changhongedu.com";function m(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?a:r}},"5bc9":function(t,n,e){"use strict";e.d(n,"a",(function(){return c})),e.d(n,"b",(function(){return u}));var i=e("d4ec"),a=e("bee2"),r=e("262e"),o=e("2caf"),s=e("d087"),c=function(t){Object(r["a"])(e,t);var n=Object(o["a"])(e);function e(){return Object(i["a"])(this,e),n.apply(this,arguments)}return Object(a["a"])(e,[{key:s["d"],value:function(t){var n=this.onEntry.bind(this),e=this.onExit.bind(this);return function(){var i=n.apply(void 0,arguments),a=t.apply(this,i),r=e(a);return r}}}]),e}(s["a"]),u=(s["a"],function(t){Object(r["a"])(e,t);var n=Object(o["a"])(e);function e(){return Object(i["a"])(this,e),n.apply(this,arguments)}return Object(a["a"])(e,[{key:s["d"],value:function(t){var n=this.onInvoke.bind(this);return function(){for(var e=arguments.length,i=new Array(e),a=0;a=2*Math.PI?u(t-2*Math.PI):u(t)},c=function(t,n,e,i,a){return[(t-e)*Math.cos(a)-(n-i)*Math.sin(a)+e,(t-e)*Math.sin(a)+(n-i)*Math.cos(a)+i]},u=function(t){return 180*t/Math.PI},f=function(t){return t*Math.PI/180}},8200:function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var i=e("d4ec"),a=e("bee2"),r=(e("4ec9"),e("d3b7"),e("3ca3"),e("ddb0"),function(){function t(n){Object(i["a"])(this,t),this._converter=n,this._cacheMap=new Map}return Object(a["a"])(t,[{key:"get",value:function(t,n){var e=this._cacheMap.get(t);return void 0===e&&(e=this._converter(n),this._cacheMap.set(t,e)),e}}]),t}())},"894f":function(t,n,e){"use strict";e.d(n,"a",(function(){return u})),e.d(n,"b",(function(){return f}));var i=e("bee2"),a=e("d4ec"),r=e("262e"),o=e("2caf"),s=e("4dec"),c=function(t){Object(r["a"])(e,t);var n=Object(o["a"])(e);function e(){var t;return Object(a["a"])(this,e),t=n.call(this,"courseware_file_db"),t.version(1).stores({files:"&hash"}),t.files=t.table("files"),t}return Object(i["a"])(e)}(s["a"]),u=1e3,f=new c},9389:function(t,n,e){"use strict";e.d(n,"c",(function(){return o})),e.d(n,"d",(function(){return s})),e.d(n,"a",(function(){return f})),e.d(n,"i",(function(){return d})),e.d(n,"f",(function(){return p})),e.d(n,"h",(function(){return y})),e.d(n,"b",(function(){return b})),e.d(n,"g",(function(){return x})),e.d(n,"e",(function(){return g}));var i=window.navigator.userAgent.toLowerCase(),a=function(t,n){return-1!==t.indexOf(n)},r=function(t){return a(i,t)},o=function(){return s()||c()||u()},s=function(){return!d()&&r("iphone")},c=function(){return r("ipod")},u=function(){var t="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;return r("ipad")||t},f=function(){return!d()&&r("android")},l=function(){return f()&&r("mobile")},h=function(){return f()&&!r("mobile")},d=function(){return r("windows")},m=function(){return d()&&r("phone")},v=function(){return d()&&r("touch")&&!m()},p=function(){return l()||s()||c()||m()},y=function(){return u()||h()||v()},b=function(){return!y()&&!p()},x=function(){return screen.orientation&&Object.prototype.hasOwnProperty.call(window,"onorientationchange")?a(screen.orientation.type,"portrait"):o()&&Object.prototype.hasOwnProperty.call(window,"orientation")?90!==Math.abs(window.orientation):window.innerHeight/window.innerWidth>1},g=function(){return screen.orientation&&Object.prototype.hasOwnProperty.call(window,"onorientationchange")?a(screen.orientation.type,"landscape"):o()&&Object.prototype.hasOwnProperty.call(window,"orientation")?90===Math.abs(window.orientation):window.innerHeight/window.innerWidth<1}},a758:function(t,n,e){"use strict";e("a434"),e("d3b7"),e("159b"),e("7db0"),e("4e82"),e("c740");var i=e("bee2"),a=e("d4ec"),r=Object(i["a"])((function t(n,e){Object(a["a"])(this,t),this.isPlayed=!1,n.animations&&(this.animateSaveInfo=n.animations[e],this.element=n,n.animationClass&&(n.animationClass.category=this.animateSaveInfo.category,n.animationClass.class="",n.animationClass.style.animationName="",this.animationClass=n.animationClass))})),o=r,s=e("37f8"),c=e("424c");e.d(n,"b",(function(){return d})),e.d(n,"a",(function(){return p})),e.d(n,"c",(function(){return v})),e.d(n,"d",(function(){return f}));var u=[],f=[],l=function(){while(u.length>0)u.splice(0,1);while(f.length>0)f.splice(0,1)},h=function(t){t.elements.forEach((function(t){if(t.animations){t.id;var n=0;t.animations.forEach((function(e){e.triggerSource?f.push(new o(t,n)):u.push(new o(t,n)),n++}))}}))},d=function(t){l(),h(t);var n=[];t.animationOrders.forEach((function(t,n){var e=u.find((function(n){return n.animateSaveInfo.id===t}));e&&(e.animateSaveInfo.number=n)})),u.sort((function(t,n){return t.animateSaveInfo.number-n.animateSaveInfo.number})),u.forEach((function(t){t.animationClass.style.offsetPath="",t.animationClass.style.animationName="",t.element.animationClass.class="",n.some((function(n){return n.elementId===t.element.id}))||("Appearance"===t.animateSaveInfo.category?(t.animationClass.style.visibility="collapse",m(t.element)):t.animationClass.style.visibility="visible",n.push({index:t.animateSaveInfo.number,elementId:t.element.id}))})),f.forEach((function(t){t.animationClass.style.offsetPath="",t.animationClass.style.animationName="",t.element.animationClass.class="","Appearance"===t.animateSaveInfo.category?(t.animationClass.style.visibility="collapse",m(t.element)):t.animationClass.style.visibility="visible"})),u.length>0&&"Click"!==u[0].animateSaveInfo.trigger?c["c"].transEnd=function(){c["c"].isRunning=!1;var t=u[0];t.isPlayed=!0,setTimeout((function(){s["a"].play(u,t)}),200)}:c["c"].transEnd=function(){c["c"].isRunning=!1}},m=function t(n){var e=n;if(e.type&&"group"===e.type){var i=e;i.innerElements.forEach((function(n){n.animationClass.style.visibility="collapse",t(n)}))}},v=function(){if(u)for(var t=u.length-1;t>=0;t--)if("Appearance"===u[t].animateSaveInfo.category&&!0===u[t].isPlayed)return u[t].isPlayed=!1,u[t].animationClass.style.visibility="collapse",m(u[t].element),!0;return!1},p=function(){var t=0,n=!0;while(t>=0)t=u.findIndex((function(t){return"running"===t.animationClass.state})),t>=0&&(u[t].animationClass.style.animationDuration="0s",u[t].animationClass.state="stop","Disappearance"===u[t].animateSaveInfo.category&&(u[t].animationClass.style.visibility="collapse"),n=!1);if(!n)return!0;var e=u.findIndex((function(t){return!1===t.isPlayed&&"Click"===t.animateSaveInfo.trigger}));if(e>=0){var i=u[e];return i.isPlayed=!0,s["a"].play(u,i),!0}return!1}},a90e:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));e("d3b7"),e("159b"),e("caad"),e("2532"),e("a434");var i={addUtilities:function(t){t.utilities||(t.utilities=[]);for(var n=arguments.length,e=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i=0&&(null===(i=t.utilities)||void 0===i||i.splice(a,1))}}))}}},bb3d:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var i=e("bee2"),a=e("d4ec"),r=e("262e"),o=e("2caf"),s=e("4dec"),c=function(t){Object(r["a"])(e,t);var n=Object(o["a"])(e);function e(){var t;return Object(a["a"])(this,e),t=n.call(this,"chineseTerritory_db"),t.version(1).stores({pathDatas:"&name"}),t.pathDatas=t.table("pathDatas"),t}return Object(i["a"])(e)}(s["a"]),u=new c},ca28:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));e("99af");var i=e("289b"),a=e("59be"),r=i["c"].get(i["a"].APP_OPTIONS);function o(t,n){return r.isHeadlessMode()?"https://".concat(a["h"],".").concat(a["f"],"/res/").concat(t,"/").concat(n):"".concat(a["i"],"res/").concat(t,"/").concat(n)}},cbf3:function(t,n,e){"use strict";e.r(n),e.d(n,"pathCombine",(function(){return r}));var i=e("452f"),a=e.n(i);function r(t,n,e){var i="raphael-canvas",r=a()(i,0,0),o=r.path(t),s=r.path(n),c="";switch(e){case"union":c=r.union(o,s);break;case"exclusion":c=r.exclusion(o,s);break;case"intersection":c=r.intersection(o,s);break;case"difference":c=r.difference(o,s);break;default:c=o;break}return o.remove(),s.remove(),c}e("19ae")},cd6d:function(t,n,e){"use strict";var i=e("d4ec"),a=e("bee2"),r=e("9ab4"),o=e("7285"),s=(e("ac1f"),e("841c"),e("1276"),e("4d63"),e("c607"),e("2c3e"),e("25f0"),e("466d"),function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(n=n||window.location.search.substring(1)||window.location.hash.split("?")[1],n){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),i=n.match(e);if(i)return decodeURI(i[2])}}),c={xml2jsonUrl:"xml-server/api/v1/notoken/courseware/xml2json",getJsonFileUrl:"xml-server/api/v1/notoken/courseware/getJsonFile"},u={xml2jsonUrl:"xml-server/api/v1/courseware/xml2json",getJsonFileUrl:"xml-server/api/v1/courseware/getJsonFile"};function f(){var t=c.xml2jsonUrl,n=c.getJsonFileUrl;return{context:"default",xml2jsonUrl:t,getJsonFileUrl:n}}function l(t,n){var e=c.xml2jsonUrl,i=c.getJsonFileUrl;return{context:"headless",pageIndex:parseInt(t),animationSwitch:n,xml2jsonUrl:e,getJsonFileUrl:i}}function h(t,n){var e=u.xml2jsonUrl,i=u.getJsonFileUrl;return{context:"mini-pro",headerParams:{userId:t,token:n},xml2jsonUrl:e,getJsonFileUrl:i}}var d=function(){function t(){Object(i["a"])(this,t),this._context=null,this.getHeadlessParams()||this.getMiniProParams()||(this._context=f())}return Object(a["a"])(t,[{key:"isHeadlessMode",value:function(){return"headless"===this._context.context}},{key:"mode",get:function(){return this._context.context}},{key:"fileRequestUrl",get:function(){return{xml2jsonUrl:this._context.xml2jsonUrl,getJsonFileUrl:this._context.getJsonFileUrl}}},{key:"pageIndex",get:function(){if("headless"===this._context.context)return this._context.pageIndex}},{key:"animationSwitch",get:function(){if("headless"===this._context.context){var t=this._context.animationSwitch;if("off"===t||"false"===t)return!1;if("on"===t||"true"===t)return!0}}},{key:"miniProApiHeaderParams",get:function(){if("mini-pro"===this._context.context)return this._context.headerParams}},{key:"getHeadlessParams",value:function(){var t=s("index"),n=s("animation");if(t&&n){var e=n.toLowerCase();return this._context=l(t,e),!0}return!1}},{key:"getMiniProParams",value:function(){var t=s("user"),n=s("token");return!(!t||!n)&&(this._context=h(t,n),!0)}}]),t}();d=Object(r["b"])([Object(o["a"])(),Object(r["c"])("design:paramtypes",[])],d);var m=d;e.d(n,"a",(function(){return m}))},d087:function(t,n,e){"use strict";e.d(n,"d",(function(){return s})),e.d(n,"b",(function(){return i})),e.d(n,"a",(function(){return c})),e.d(n,"c",(function(){return u}));var i,a=e("4478"),r=e("d4ec"),o=e("bee2"),s=(e("d9e2"),e("d3b7"),e("159b"),e("d81d"),e("4de4"),e("7039"),e("e439"),"__uniqueKey");(function(t){t[t["InstanceMethods"]=1]="InstanceMethods",t[t["InstanceAccessors"]=2]="InstanceAccessors",t[t["StaticMethods"]=4]="StaticMethods",t[t["StaticAccessors"]=8]="StaticAccessors",t[t["Constructor"]=16]="Constructor",t[t["InstanceMembers"]=3]="InstanceMembers",t[t["StaticMembers"]=12]="StaticMembers",t[t["All"]=31]="All"})(i||(i={}));var c=function(){function t(){Object(r["a"])(this,t)}return Object(o["a"])(t,[{key:s,value:function(t){return t}}]),t}();function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.All;return function(){switch(arguments.length){case 1:if(f.call(this,arguments.length<=0?void 0:arguments[0],t,n),n&i.Constructor)return l.call(this,arguments.length<=0?void 0:arguments[0],t);break;case 2:throw Error("Cannot use aspect on properties.");case 3:if("number"===(arguments.length<=2?void 0:arguments[2]))throw Error("Cannot use aspect on parameters.");v.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],t);break;default:throw Error("Cannot use aspect here.")}}}function f(t,n,e){var a=m(t.prototype,n),r=m(t,n);a.forEach((function(a){var r=a.key,o=a.descriptor;e&i.InstanceAccessors&&(o.get||o.set)&&h(t.prototype,r,o,n),e&i.InstanceMethods&&"function"===typeof o.value&&d(t.prototype,r,o,n)})),r.forEach((function(a){var r=a.key,o=a.descriptor;e&i.StaticAccessors&&(o.get||o.set)&&o.configurable&&h(t,r,o,n),e&i.StaticMethods&&"function"===typeof o.value&&d(t,r,o,n)}))}function l(t,n){var e=function(){for(var n=arguments.length,e=new Array(n),i=0;i