(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 a=e("bee2"),i=e("d4ec"),r=(e("4ec9"),e("d3b7"),e("3ca3"),e("ddb0"),e("7a23")),o=Object(a["a"])((function t(){Object(i["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(i["a"])(this,t),this.style=n}return Object(a["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(a["a"])((function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(i["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 a=e("452f"),i=e.n(a);(function(){var t=function(t){return t.join(",").replace(/,?([achlmqrstvxz]),?/gi,"$1")},n=function(n){return t(a(n))},e=function(t){for(var n=[],e=0;e0&&n.push(a)}return n},a=function(t){for(var n=[],e=0;e0){var u=[o[c][0]+s[c][0][0]*i*.446,o[c][1]+s[c][0][1]*r*.446],f=[o[c][0]+s[c][1][0]*i*.446,o[c][1]+s[c][1][1]*r*.446],l=[o[c][0]+s[c][1][0]*i,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]*i,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,a=[];function i(t,n){var i=a[[t,n]];return i||(a[[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,a,r=-1,o=t[0][1],s=n(t),c=i.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=i.a.pathIntersection(f,s),h=0;h=l[a].t1)&&(a=h);return o=l[a].segment2&&(l[e].segment2!=l[a].segment2||o=l[a].t2)&&(r=1),r},d=function(t,n){for(var e=i.a.pathBBox(t),a=i.a.pathBBox(n),r=Math.max(e.width,e.height,a.width,a.height)/1e3,o=i.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,i),c(a,2,i));var r=m(t,e,a),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=i.a.transformPath(n,t.matrix.toTransformString()),n=i.a.path2curve(n),e(n)},x=function(t,e){for(var a=JSON.parse(JSON.stringify(b(t))),i=JSON.parse(JSON.stringify(b(e))),r=[],o=d(n(a),n(i)),s=0;s0&&void 0!==arguments[0]?arguments[0]:0,i=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(a["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,a=n._y-t.y;return Math.sqrt(e*e+a*a)},this.lerp=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5;return"undefined"===typeof a&&(a=.5),a=Math.max(Math.min(1,a),0),new t(n._x+(e.x-n._x)*a,n._y+(e.y-n._y)*a,n._pressure+(e.pressure-n._pressure)*a)},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,a=n._y,i=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=a,t.pressure=i,t.timestamp=r},this.clone=function(){return new t(n._x,n._y,n._pressure,n._timestamp)},this._x=e,this._y=i,this._pressure=r,this._timestamp=o}return Object(i["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 a,i=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,a=void 0,i=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 a["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,a=t.x*n.x+t.y*n.y;return Math.atan2(e,a)*(180/Math.PI)},f=function(t){var n=Math.sqrt(t.x*t.x+t.y*t.y),e=new a["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?(a=e,i=n):(a=n,i=e),(t>a||Math.abs(t-a)<.1)&&(tn.x?n.x:t.x,o=t.x>n.x?t.x:n.x,s=e.x>i.x?i.x:e.x,c=e.x>i.x?e.x:i.x,u=0,f=0,l=!1,h=!1;if(Math.abs(t.x-n.x)<1e-4){var d=(e.y-i.y)/(e.x-i.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-i.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,i.y)}else{var b=(t.y-n.y)/(t.x-n.x),x=t.y-b*t.x,g=(e.y-i.y)/(e.x-i.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 a["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 a["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,a,i){var r=w(i),o=Math.sin(r),s=Math.cos(r),c=s*(t-e)-o*(n-a)+e,u=o*(t-e)+s*(n-a)+a;return[c,u]}function O(t,n,e){var i=I(t.x,t.y,n.x,n.y,e);return new a["a"](i[0],i[1])}function k(t,n){return new a["a"]((t.x+n.x)/2,(t.y+n.y)/2)}function S(t,n,e,a,i){var r=w(i),o=t-e,s=n-a,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 a=e("b85c"),i=(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(a["a"])(i.keys());try{for(r.s();!(n=r.n()).done;){var o=n.value,s=new RegExp(o,"g"),c=i.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(a["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(a["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}i.set("","α"),i.set("","β"),i.set("","χ"),i.set("","δ"),i.set("","ε"),i.set("","φ"),i.set("","γ"),i.set("","η"),i.set("","ι"),i.set("","φ"),i.set("","κ"),i.set("","λ"),i.set("","μ"),i.set("","ν"),i.set("","ο"),i.set("","π"),i.set("","θ"),i.set("","ρ"),i.set("","σ"),i.set("","τ"),i.set("","υ"),i.set("","ω"),i.set("","ω"),i.set("","ξ"),i.set("","ψ"),i.set("","ζ"),i.set("","∞"),i.set("","→"),i.set("","×"),i.set("","÷"),i.set("","="),i.set("","≠"),i.set("","≈"),i.set("","±"),i.set("","°"),i.set("","⇒"),i.set("","⇔"),i.set("","∧"),i.set("","∨"),i.set("","∆"),i.set("","∃"),i.set("","∀"),i.set("","¬"),i.set("","⊥"),i.set("","∈"),i.set("","∉"),i.set("","⊆"),i.set("","⊄"),i.set("","∙"),i.set("","Ω"),i.set("≤","⩽"),i.set("≥","⩾"),i.set("̅","-"),i.set("₌","="),i.set("","∫"),i.set("","∑")},"3e0a":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"a",(function(){return o}));var a,i=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(a||(a=Object(i["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 a,i=["Circle","LineReveal","RandomizedLines","WaterWave"],r=function(t,n,e,r,c,u,f,l,h,d){if(n.id!==t.id){s.isRunning=!0,a=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 i=t.duration.ticks/1e4;e.value=i+"ms",n.value=t.transitionKey.toKebabCase()+"-in",a=t}else a=t,o(t)}}},4397:function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var a=e("9127"),i=e("59be");function r(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e="true"===i["a"]?"https://":"http://",r=e+Object(i["k"])(n)+"."+i["e"],o=(Date.now()+i["c"])/1e3,s=i["b"],c="/"+t+"-"+o+"-0-0-"+s,u=a["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 a})),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 a="https://apitest.qpoint.changhongedu.com/",i="qpoint-resource-bucket",r="qpoint-test-bucket",o="qpoint-view-test",s="https://qpoint-view-test.changhongedu.com/",c="oss-cn-hangzhou-internal.aliyuncs.com",u="qpoint.changhongedu.com",f="true",l="chedu2019",h=3600,d="https://qpoint-test-bucket.qpoint.changhongedu.com";function m(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?i:r}},"5bc9":function(t,n,e){"use strict";e.d(n,"a",(function(){return c})),e.d(n,"b",(function(){return u}));var a=e("d4ec"),i=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(a["a"])(this,e),n.apply(this,arguments)}return Object(i["a"])(e,[{key:s["d"],value:function(t){var n=this.onEntry.bind(this),e=this.onExit.bind(this);return function(){var a=n.apply(void 0,arguments),i=t.apply(this,a),r=e(i);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(a["a"])(this,e),n.apply(this,arguments)}return Object(i["a"])(e,[{key:s["d"],value:function(t){var n=this.onInvoke.bind(this);return function(){for(var e=arguments.length,a=new Array(e),i=0;i=2*Math.PI?u(t-2*Math.PI):u(t)},c=function(t,n,e,a,i){return[(t-e)*Math.cos(i)-(n-a)*Math.sin(i)+e,(t-e)*Math.sin(i)+(n-a)*Math.cos(i)+a]},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 a=e("d4ec"),i=e("bee2"),r=(e("4ec9"),e("d3b7"),e("3ca3"),e("ddb0"),function(){function t(n){Object(a["a"])(this,t),this._converter=n,this._cacheMap=new Map}return Object(i["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 a=e("bee2"),i=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(i["a"])(this,e),t=n.call(this,"courseware_file_db"),t.version(1).stores({files:"&hash"}),t.files=t.table("files"),t}return Object(a["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 a=window.navigator.userAgent.toLowerCase(),i=function(t,n){return-1!==t.indexOf(n)},r=function(t){return i(a,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")?i(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")?i(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 a=e("bee2"),i=e("d4ec"),r=Object(a["a"])((function t(n,e){Object(i["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 a=e;a.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 a=u[e];return a.isPlayed=!0,s["a"].play(u,a),!0}return!1}},a90e:function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));e("d3b7"),e("159b"),e("caad"),e("2532"),e("a434");var a={addUtilities:function(t){t.utilities||(t.utilities=[]);for(var n=arguments.length,e=new Array(n>1?n-1:0),a=1;a1?n-1:0),a=1;a=0&&(null===(a=t.utilities)||void 0===a||a.splice(i,1))}}))}}},bb3d:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var a=e("bee2"),i=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(i["a"])(this,e),t=n.call(this,"chineseTerritory_db"),t.version(1).stores({pathDatas:"&name"}),t.pathDatas=t.table("pathDatas"),t}return Object(a["a"])(e)}(s["a"]),u=new c},ca28:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));e("99af");var a=e("289b"),i=e("59be"),r=a["c"].get(a["a"].APP_OPTIONS);function o(t,n){return r.isHeadlessMode()?"https://".concat(i["h"],".").concat(i["f"],"/res/").concat(t,"/").concat(n):"".concat(i["i"],"res/").concat(t,"/").concat(n)}},cbf3:function(t,n,e){"use strict";e.r(n),e.d(n,"pathCombine",(function(){return r}));var a=e("452f"),i=e.n(a);function r(t,n,e){var a="raphael-canvas",r=i()(a,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 a=e("d4ec"),i=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+"=([^&]*)(&|$)"),a=n.match(e);if(a)return decodeURI(a[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,a=c.getJsonFileUrl;return{context:"headless",pageIndex:parseInt(t),animationSwitch:n,xml2jsonUrl:e,getJsonFileUrl:a}}function h(t,n){var e=u.xml2jsonUrl,a=u.getJsonFileUrl;return{context:"mini-pro",headerParams:{userId:t,token:n},xml2jsonUrl:e,getJsonFileUrl:a}}var d=function(){function t(){Object(a["a"])(this,t),this._context=null,this.getHeadlessParams()||this.getMiniProParams()||(this._context=f())}return Object(i["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 a})),e.d(n,"a",(function(){return c})),e.d(n,"c",(function(){return u}));var a,i=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"})(a||(a={}));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]:a.All;return function(){switch(arguments.length){case 1:if(f.call(this,arguments.length<=0?void 0:arguments[0],t,n),n&a.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 i=m(t.prototype,n),r=m(t,n);i.forEach((function(i){var r=i.key,o=i.descriptor;e&a.InstanceAccessors&&(o.get||o.set)&&h(t.prototype,r,o,n),e&a.InstanceMethods&&"function"===typeof o.value&&d(t.prototype,r,o,n)})),r.forEach((function(i){var r=i.key,o=i.descriptor;e&a.StaticAccessors&&(o.get||o.set)&&o.configurable&&h(t,r,o,n),e&a.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),a=0;a