Files

18 lines
1.2 MiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! ds-bootstrap - v1.0.0.33225 - 2024-09-17 1:22am UTC
* Copyright (c) 2024 ; Not Licensed */!function(){var t={4691:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{AccessibleScrollBar:function(){var e=!DS.detection.env.isPerpetual;this.isDropIn&&(t=DS.DropIn);var n=[].concat(r(e?["high-contrast-scroll"]:[]),["accessible-text-scrollbar","scrollarea-scrollbar"],r(this.props.hScroll?["horizontal-scroll"]:[]),r(this.state.highlight?["highlight-scrollbar"]:[]),r(this.state.isHidden?["hidden"]:[])),i=["scrollarea-btn"].concat(r(e?[]:["micro-scrollbar-btn"]));return t.createElement("div",{ref:"scrollBar",className:n.join(" "),style:this.getScrollBarStyle()},t.createElement("div",{ref:"scrollBtn",className:i.join(" "),style:this.getScrollBtnStyle(),onMouseDown:this.onScrollBtnDown,onTouchStart:this.onScrollBtnDown}))}}}.call(t,n,t,e))||(e.exports=i)},4653:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccessibleText:function(){var e=this,i=n(7435),r=n(7523).renderSemanticText,o=this.props.model.height(),s=this.props.model.width(),a=this.props.winScale,l=this.props.model.wordwrap()?"normal":"nowrap",c="horizontal"===this.props.model.vartext().direction,u="top"===this.props.model.valign()?"flex-start":"center"===this.props.model.valign()?"center":"flex-end",d={height:c?o:s,width:c?s:o,pointerEvents:this.props.unclickable?"none":null},h=this.state.linkStyles,p={underline:"text-decoration: underline !important;",none:"text-decoration: none !important;"},f=function(e){return"background-color: ".concat(e.highlight," !important; color: ").concat(e.textColor," !important; ").concat((t=e.decoration,p[t]||""));var t};return this.isDropIn&&(t=DS.DropIn,DS.DropIn.semanticTextRenderer(DS.DropIn)),t.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"textlib",style:d},t.createElement("div",{className:"textlib-inner align-flex-start",style:this.getInnerProps()},t.createElement("div",{ref:"textLibContentWrap",className:"textlib-content-wrap","data-accepts":"events",style:{height:"100%",overflow:"auto",display:"flex",justifyContent:u,flexDirection:"column",whiteSpace:l,flexGrow:1,flexShrink:0}},h.length>0&&t.createElement("style",{type:"text/css"},h.map((function(t){return".".concat(t.id," :hover { ").concat(f(t.hoverState)," }\n .").concat(t.id," :active { ").concat(f(t.activeState)," }\n ").concat(e.linkIsVisited(t.id)?function(e){return".".concat(e.id," { ").concat(f(e.visitedState)," }")}(t):"")})).join(" ")),r(this.state.textConfig,this)),t.createElement(i,{ref:"scrollBar",refName:"textLibContentWrap",winScale:a,parent:this})),this.isDropIn&&DS.DropIn.semanticTextRenderer(DS.DropIn.restoreReact()[1]))}}}.call(t,n,t,e))||(e.exports=i)},1670:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ButtonSlideObject:function(){var e,i,r=n(6894),o=n(6559),s=DS,a=s.appState,l=s.flagManager,c=this.getPath("props.model.data.textdata.vectortext.pr")||{},u=l.multiLangSupport&&a.accessibleTextOn()&&null!=this.getAccTextModel().vartext();return l.multiLangSupport&&(e=this.getAccTextModel(),i=(this.props.model.width()-e.width())/2),DS.flagManager.dropInVectors&&!DS.flagManager.dropInMisc&&(r=r.wrapped,o=o.wrapped),this.isDropIn&&(t=DS.DropIn),t.createElement("button",{type:"button","data-accepts":"events",className:this.getClassNames(),tabIndex:"-1",style:{padding:0}},t.createElement("svg",{className:"slide-object-button-text",style:{transform:"scale(".concat(this.props.winScale,")"),transformOrigin:"top left"}},!u&&t.createElement(r,{ref:"vectortext",commandsetId:c.i,pathLib:c.l}),u&&t.createElement(o,{ref:"acctext",model:e,winScale:this.props.winScale,originX:i,originY:0,unclickable:"true"})))}}}.call(t,n,t,e))||(e.exports=i)},7099:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{Captions:function(){var e=n(5470),i=DS,r=(i.flagManager,i.utils.pxify),o=i.detection.theme.isClassic,s=this.state.winScale,a=o?s:1,l={fontFamily:this.state.font,bottom:0,marginBottom:o?r(10*a):0},c={marginBottom:r(10*a),padding:r(10*a),borderRadius:r(4*a)};if(!o){var u=DS.playerGlobals.player.getCaptionData();null!=u&&(u.placement>50?(l.top="unset",l.bottom="".concat(100-u.placement,"%")):(l.bottom="unset",l.top="".concat(u.placement,"%")),c.backgroundColor=u.backgroundColor,c.color=u.color)}return e.safari&&e.mac&&(l.transform="translate3d(-50%, 0, 0)"),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"caption"+(this.props.hasbb?" with-bb":""),style:l},this.state.showCaptions&&this.state.captions.length>0&&this.state.captions.map(function(e,n){return t.createElement("div",{key:n},t.createElement("p",{style:c,dangerouslySetInnerHTML:{__html:this.toHtml(e)}}))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},7958:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{Container:function(){return t.createElement("div",{className:"ds-container "+this.props.className},this.props.children)}}}.call(t,n,t,e))||(e.exports=i)},1737:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{DragdropSlideObject:function(){var e=n(6894),i=n(6559),r=n(2977);DS.flagManager.dropInInteractions&&(t=DS.DropIn),DS.flagManager.dropInBase&&!DS.flagManager.dropInInteractions&&(r=r.wrapped),DS.flagManager.dropInVectors&&!DS.flagManager.dropInInteractions&&(e=e.wrapped,i=i.wrapped);var o=DS.svgUtils,s=this.getPath("props.model.style"),a=this.props.winScale,l=this.getPath("props.model.height"),c=this.getPath("props.model.width"),u=this.getPath("props.model.kind"),d="dragitem"===u,h="wordbank"===s,p="droparea"===u&&h,f=this.state.useAccText,g=this.state.hovered&&!this.state.dropped&&("droparea"!==u||p),m=_.find(this.getPath("props.model.colors"),{name:"hover"}),v=null!=m?m:_.find(this.props.colors,{name:"hover"}),S=(null!=v?this.props.model.id:"dragdrop")+"-hover-gradient",y=o.buildUrl(g&&!p?S:"dragdrop-gradient"),b=g?"slide-object-dragitem-hover":"",w=this.state.collision&&"droparea"===u,C=p&&this.state.hoverStroke&&null!=v,x=this.props.notchWidth,D=this.props.notchHeight,E=x+1,T=D+1,P=[["M "+E,0].join(","),["L"+c,0].join(","),["L"+c,l].join(","),["L"+E,l].join(","),["L"+E,l-T].join(","),["L 1",l-T].join(","),["L 1",T].join(","),["L"+E,T].join(","),"Z"].join(" "),I=["M 0,0",["L"+c,0].join(","),["L"+c,D].join(","),["L"+(c-x),D].join(","),["L"+(c-x),l-D].join(","),["L"+c,l-D].join(","),["L"+c,l].join(","),["L 0",l].join(","),"Z"].join(" "),A={visibility:this.state.backgroundVisible?"visible":"hidden",strokeWidth:this.state.reviewStroke&&2,stroke:this.state.reviewStroke?this.state.reviewStroke:C?["url(#",S,")"].join(""):""},M={position:"absolute",left:0,top:0},k={fill:this.state.isDropChild?this.state.reviewStroke:"black",stroke:this.state.isDropChild?"white":this.state.reviewStroke,strokeWidth:1.5};return t.createElement("div",null,t.createElement("svg",{width:c*a,height:l*a,viewBox:[0,0,c,l].join(" "),"data-xmlns-xlink":"http://www.w3.org/1999/xlink",className:["slide-object-dragdrop","slide-object-dragdrop-"+s,"draggable",b].join(" ").trim(),onMouseEnter:this.didMouseOver,onMouseLeave:this.didMouseOut,onTouchStart:this.didMouseOver,onTouchEnd:this.didMouseOut},((DS.flagManager.dropInInteractions||g)&&null!=v||C)&&t.createElement("defs",null,t.createElement(r,{fill:v.fill,patternFillId:S})),h?t.createElement("rect",{width:c-1,height:l-1,rx:this.state.wordbankRadius,ry:this.state.wordbankRadius,fill:y,className:"slide-object-dragdrop-shape",filter:!this.state.reviewStroke&&"url(#dragdrop-inner-stroke)",style:A,transform:"translate(0.5, 0.5)"}):t.createElement("path",{d:d?P:I,className:"slide-object-dragdrop-shape",fill:y,style:w?{strokeWidth:3}:{},filter:!w&&"url(#dragdrop-inner-stroke)",strokeDasharray:d&&!this.state.dropped?"1,1":"",transform:"translate(0.5, 0.5)"}),this.state.hoverStroke&&null==v&&t.createElement("rect",{width:c-1,height:l-1,rx:this.state.wordbankRadius,ry:this.state.wordbankRadius,fill:"none",stroke:"#bafbfb",transform:"translate(2,1.5) scale(0.995, 0.92)"}),t.createElement("g",{transform:o.transformTranslate(this.props.model.xOff||0,this.props.model.yOff||0)},t.createElement("g",null,!DS.flagManager.dropInInteractions&&!f&&null!=this.state.textCommandsetId&&t.createElement(e,{ref:"vtext",pathLib:this.state.textPathLibId,commandsetId:this.state.textCommandsetId})),t.createElement("g",null,DS.flagManager.dropInInteractions&&!f&&null!=this.state.textCommandsetId&&t.createElement("g",null,t.createElement(e,{ref:"vtext",pathLib:this.state.textPathLibId,commandsetId:this.state.textCommandsetId})))),!DS.flagManager.updatedThemeColorsEnabled&&"matching"===s&&this.state.reviewDot&&t.createElement("g",{className:"dragdrop-review-dot",transform:"translate(8,8)"},t.createElement("circle",{cx:"0",cy:"0",r:"8",className:"dragdrop-review-dot-"+this.state.reviewDot}),t.createElement("circle",{cx:"0",cy:"0",r:"7",className:"dragdrop-review-dot-"+this.state.reviewDot}),t.createElement("text",{textAnchor:"middle",y:"4"},t.createElement("tspan",null,this.getPath("props.model.reviewdata")))),DS.flagManager.updatedThemeColorsEnabled&&"matching"===s&&this.state.reviewStroke&&t.createElement("g",{transform:"translate(8,8)"},t.createElement("circle",{cx:"0",cy:"0",r:"8",style:k}),t.createElement("text",{textAnchor:"middle",y:"4.5",fill:"white"},t.createElement("tspan",null,this.getPath("props.model.reviewdata"))))),DS.flagManager.dropInInteractions&&t.createElement("span",null,f&&t.createElement("div",{style:M,className:b,onMouseEnter:this.didMouseOver,onMouseLeave:this.didMouseOut,onTouchStart:this.didMouseOver,onTouchEnd:this.didMouseOut},t.createElement(i,{ref:"acctext",model:this.getAccTextModel(),winScale:a,originX:this.originX,originY:this.originY}))),!DS.flagManager.dropInInteractions&&f&&t.createElement("div",{style:M,className:b,onMouseEnter:this.didMouseOver,onMouseLeave:this.didMouseOut,onTouchStart:this.didMouseOver,onTouchEnd:this.didMouseOut},t.createElement(i,{ref:"acctext",model:this.getAccTextModel(),winScale:a,originX:this.originX,originY:this.originY})))}}}.call(t,n,t,e))||(e.exports=i)},2267:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{DropListItem:function(){var e=n(6894),i=n(6559),r=n(2977);this.isDropIn&&(t=DS.DropIn),DS.flagManager.dropInBase&&!DS.flagManager.dropInInteractions&&(r=r.wrapped),DS.flagManager.dropInVectors&&!DS.flagManager.dropInInteractions&&(e=e.wrapped,i=i.wrapped);var o=DS,s=o.svgUtils.buildUrl,a=o.utils,l=a.getPath,c=a.pxify,u=this.state,d=u.hovered,h=u.useAccText,p=this.props,f=p.width,g=p.height,m=p.yOff,v=p.altText,S=p.hoverColor,y=p.modelId,b=p.winScale,w=p.textdata,C=l(w,"vectortext.pr"),x=l(S,"fill"),D="".concat(y,"-fill"),E=s(D),T=null!=S&&d,P={position:"absolute",left:0,top:c(m*b),pointerEvents:"none"};return t.createElement("div",{style:{width:c(f*b),height:c(g*b)}},t.createElement("svg",{className:"eventable",viewBox:[0,0,f,g].join(" "),width:f*b,height:g*b,"data-xmlns-xlink":"http://www.w3.org/1999/xlink",style:{position:"absolute",left:0,top:c(m*b)}},t.createElement("g",{className:"drop-list-item",role:"option","aria-label":v,onMouseOver:this.didMouseOver,onMouseOut:this.didMouseOut,onMouseUp:this.onClick,onTouchStart:this.onTouchStart,onTouchEnd:_.flow(this.onClick,this.didMouseOut),onTouchMove:this.onTouchMove},(DS.flagManager.dropInInteractions||T)&&t.createElement("defs",null,t.createElement(r,{fill:x,patternFillId:D})),t.createElement("rect",{width:f,height:g,className:this.fillColorClass(),style:T?{fill:E}:null}))),!h&&t.createElement("svg",{viewBox:[0,0,f,g].join(" "),width:f*b,height:g*b,"data-xmlns-xlink":"http://www.w3.org/1999/xlink",style:P},t.createElement(e,{ref:"vectortext",commandsetId:C.i,pathLib:C.l,textdata:w})),h&&t.createElement("div",{style:P},t.createElement(i,{ref:"acctext",model:this.getAccTextModel(),winScale:b,originX:10,originY:2,unclickable:"true"})))}}}.call(t,n,t,e))||(e.exports=i)},3470:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{DropListParentable:function(){var e=this,i=n(6894),o=n(3645),s=n(621),a=n(6559),l=DS,c=l._,u=l.svgUtils,d=l.utils,h=l.utils,p=h.pxify,f=h.hexify,g=l.detection.os.isIOS;DS.flagManager.dropInVectors&&!DS.flagManager.dropInInteractions&&(i=i.wrapped,a=a.wrapped),this.isDropIn&&(t=DS.DropIn,DS.flagManager.dropInCore||(s=s.notWrapped));var m=this.state.winScale,v=this.state.reviewWidth||this.getPath("props.model.width"),S=this.getPath("props.model.height"),y=this.getPath("props.model.colors"),b=this.state.textdata,w=d.getPath(b,"vectortext.pr"),C=v-25+1,x=c.find(y,{name:"button_hover"}),D=this.state.hovered?null!=x?f(c.first(x.fill.colors).rgb):"#d5ffff":"white",E="#cecece",T=this.getItemHeight(),P=this.getListHeight(),I=g?"none":"block",A={"aria-hidden":"true",onFocus:this.onFocus};return t.createElement("div",r({className:"drop-list",tabIndex:"-1"},A),t.createElement("div",{className:"drop-list-drop-down",ref:"dropdown",style:{width:v*m,height:p((S+P)*m),borderColor:E,display:this.state.display,borderRadius:16*m}},t.createElement("div",{className:["drop-list-drop-down-inner",this.state.dropDownScrollable].join(" "),ref:"dropdownInner",style:{display:I,width:p(v*m),height:this.state.scrollBarHeight-S*m,position:"absolute",top:p(S*m),left:0}},this.itemslist.map((function(n,i){var r=e.props.model.itemsIdx[n.itemdata];return t.createElement(o,{ref:"item"+r,order:i,key:n.textdata.uniqueId,idx:r,width:v,height:T,winScale:m,hoverColor:c.find(y,{name:"item_hover"}),modelId:e.props.model.id,yOff:T*i,textdata:n.textdata,selected:e.focusItem,altText:n.textdata.altText})}))),this.state.dropDownScrollable&&t.createElement(s,{ref:"scrollBar",offY:S,offX:-4,width:v,height:this.state.scrollBarHeight/m-S,parent:this,closedHeight:S,refName:"dropdownInner",initSelf:!0,winScale:m})),t.createElement("div",{className:"drop-list-top-container"},t.createElement("svg",{width:v*m,height:S*m,viewBox:[0,0,v,S].join(" "),"data-xmlns-xlink":"http://www.w3.org/1999/xlink",style:{zIndex:100,overflow:"hidden"},focusable:"false"},t.createElement("g",{className:"drop-list-top eventable",onMouseDown:this.onShowList,onMouseOver:this.didMouseOver,onMouseOut:this.didMouseOut,onTouchStart:this.onTouchStart,onTouchEnd:this.onTouchEnd},t.createElement("rect",{width:v-1,height:S-1,rx:8,ry:8,stroke:E,fill:"white"}),t.createElement("path",{d:u.rightRoundedRectPath(C,1,22,S-3,8),fill:"url(#drop-list-gradient)",stroke:D}),t.createElement("path",{d:["M",v-25,0,"v",S-1].join(" "),stroke:"#cecece"}),t.createElement("g",{transform:u.transformTranslate(C+5.5,9)},t.createElement("path",{d:["M",0,0,"L",10,0,5,5,0,0].join(" "),fill:"#494949",stroke:"rgba(255, 255, 255, 0.8)"})))),t.createElement("div",{style:{position:"absolute",top:0,left:0,zIndex:100,overflow:this.state.ReviewMode&&!this.state.useAccText?"hidden":"visible",pointerEvents:"none"}},!this.state.useAccText&&t.createElement("svg",{width:(v-25-5)*m,height:S*m,viewBox:[0,0,v-25,S].join(" "),"data-xmlns-xlink":"http://www.w3.org/1999/xlink",focusable:"false"},t.createElement(i,{ref:"vectortext",commandsetId:w.i,pathLib:w.l})),this.state.useAccText&&t.createElement(a,{ref:"acctext",model:this.getAccTextModel(),textdata:this.state.textdata,winScale:m,originX:DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?8:10,originY:DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?0:2,unclickable:"true"}))))}}}.call(t,n,t,e))||(e.exports=i)},4586:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{DropListSlideObject:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("div",null)}}}.call(t,n,t,e))||(e.exports=i)},3874:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ExpandingLabelSlideObject:function(){var e,i=n(2977),r=n(5648),o=this.shouldShowContent(),s=this.props.winScale;return!DS.flagManager.dropInMisc&&DS.flagManager.dropInBase&&(i=i.wrapped),this.isDropIn&&(t=DS.DropIn,r=DS.flagManager.dropInMisc&&!DS.flagManager.dropInCore?DS.DropIn.wrapReactChild({SlideObject:r}):r),t.createElement("div",{className:"expanding-label-container",style:{width:this.props.playerProps.width,height:this.props.playerProps.height}},t.createElement("svg",{className:["expanding-label-path",o?"content-shown":""].join(" "),viewBox:[0,0,this.labelSize.width,this.labelSize.height].join(" "),focusable:"false",style:{left:this.labelTranslate.offX*s,top:this.labelTranslate.offY*s,width:this.labelSize.width*s,height:this.labelSize.height*s}},this.props.model.background()&&t.createElement("defs",null,t.createElement(i,{patternFillId:this.patternFillId(),layerModel:this.props.model,isInnard:!0})),t.createElement("g",{transform:["translate(",this.labelTranslate.x,", ",this.labelTranslate.y,")"].join("")},t.createElement("path",{d:this.state.labelPath,stroke:this.props.model.get("borderColor")?this.props.model.get("borderColor"):"none",fill:this.props.model.get("background")?["url(#",this.patternFillId(),")"].join(""):"white"}))),t.createElement("div",{className:"expanding-label",style:{width:this.props.playerProps.width*s}},t.createElement("div",{className:"expanding-label-content",style:this.getContentStyles()},this.svg(),t.createElement("div",{ref:"contents",className:o?"shown":"hidden"},this.props.model.objects().map(function(n,i){var o=this;return e={ref:"obj"+i,key:n.cid,model:n,playerProps:this.props.playerProps,parent:this,winScale:this.props.winScale,checkElso:this.props.checkElso,slideVisible:this.props.slideVisible,onElsoAction:this.props.onElsoAction,addAccEl:function(e){o.props.addAccEl(e,{elsoId:o.props.model.absoluteId})}},n.isKind("scrollarea")&&(e.topOffset=6),t.createElement(r,e)}.bind(this))))))}}}.call(t,n,t,e))||(e.exports=i)},2269:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{GroupingSlideObject:function(){var e=n(5648),i={parent:this,onScrollFocus:this.props.onScrollFocus,onBeforeScrollFocus:this.props.onBeforeScrollFocus,tabIndexDisabled:this.props.tabIndexDisabled,slideVisible:this.props.slideVisible,slideFrame:this.props.slideFrame,winScale:this.props.winScale,checkElso:this.props.checkElso,onElsoAction:this.props.onElsoAction,addAccEl:this.props.addAccEl},o={width:i.parent.props.model.width()*i.winScale,height:i.parent.props.model.height()*i.winScale},s=this.props.model.objects();return"table"===this.props.model.get("kind")&&(i.tabIndexDisabled=!0,s.models.sort((function(e,t){var n=e.data().row-t.data().row;return 0===n&&(n=e.data().col-t.data().col),n}))),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"group",style:o},s.map(function(n,o){return t.createElement(e,r({ref:"obj"+o,layerIdx:this.props.parent.props.layerIdx,key:n.cid,model:n},i))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},255:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){var t=n(3305);return{ImageSlideObject:function(){var e,i,r=n(2658),s=DS.svgUtils,a=DS.utils,l=this.props.winScale,c=o({transformOrigin:"top left"},this.cssTransform,s.transformScale(l)),u={width:this.props.playerProps.width*l,height:this.props.playerProps.height*l},d={left:this.props.model.get("btnxpos")*l,top:this.props.model.get("btnypos")*l},h=this.props.model.getCurrentStateData(),p=r.getAssetUrl(h.imagedata.assetId);return null!=h.html5data?(e=h.html5data.xPos,i=h.html5data.yPos,c.width=h.html5data.width,c.height=h.html5data.height):(e=this.props.model.get("xOffset"),i=this.props.model.get("yOffset")),d[this.cssTransform]=["translate(-50%, -50%)",s.transformTranslate(a.pxify(-e*l),a.pxify(-i*l)),s.transformRotate(-this.props.playerProps.Rotation+"deg")].join(" "),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"image-container slideobject-maskable","data-accepts":"events",style:{transform:s.transformTranslate(a.pxify(e*l),a.pxify(i*l)),width:u.width,height:u.height}},this.props.model.isZoomable()?t.createElement("div",null,t.createElement("img",{src:p,onClick:this.onClick,style:c}),t.createElement("div",{ref:"zoom",className:"zoom eventable",style:u,onClick:this.onClick},t.createElement("img",{className:"zoom-image",style:d,src:this.props.model.get("zoomiconurl")}))):t.createElement("img",{src:p,style:c}))}}}.call(t,n,t,e))||(e.exports=i)},5550:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{LinearBackgroundGradient:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("linearGradient",{id:this.props.patternFillId,gradientTransform:["rotate(",this.fill().rotation," 0.5 0.5)"].join("")},this.fill().colors.map(function(e,n){return t.createElement("stop",r({key:n,offset:this.stopPct(e)+"%"},this.stopProps(e)))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},5545:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MessageWindow:function(){var e=n(4116),i=DS.detection,r=DS.utils;return this.isDropIn&&(t=DS.DropIn),t.createElement("span",null,t.createElement("div",{className:["message-window ",this.windowType(),"cs-window"].join(" "),"data-window-id":this.props.model.id},t.createElement("h3",{className:"message-window-heading message-window-header",style:{fontSize:"".concat(this.state.scale,"em")}},r.stripTags(this.getPath("state.currentSlide.title")||""),t.createElement("hr",{className:"cs-diva",role:"presentation"}),t.createElement("hr",{className:"cs-divb",role:"presentation"})),t.createElement(e,{ref:"slideContainer",shouldScale:this.isScaleable,windowType:this.windowType,currentSlide:this.state.currentSlide,isMessageWindow:!0,getWinScale:this.props.getWinScale,windowId:"MessageWnd"}),i.deviceView.isClassicMobile&&t.createElement("div",{className:"message-window-mobile-text"},this.state.mobileText)))}}}.call(t,n,t,e))||(e.exports=i)},5467:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MessageWindowUnified:function(){var e=n(4116),i=DS.utils,r=this.getPath("props.model.width"),o=.8*r,s=(o-r)/2;return this.isDropIn&&(t=DS.DropIn),t.createElement("span",null,t.createElement("div",{className:["message-window ",this.windowType()].join(" "),style:{width:o,height:this.getPath("props.model.height")},"data-window-id":this.props.model.id},t.createElement("header",{className:"message-window-header"},t.createElement("h1",{className:"message-window-heading",dangerouslySetInnerHTML:{__html:this.getPath("state.currentSlide.title")||""}}),t.createElement("hr",{className:"cs-diva"}),t.createElement("hr",{className:"cs-divb"})),t.createElement("div",{className:"message-slide-container-wrapper",style:{position:"absolute",left:i.pxify(s)}},t.createElement(e,{ref:"slideContainer",shouldScale:this.isScaleable,windowType:this.windowType,currentSlide:this.state.currentSlide,isMessageWindow:!0,getWinScale:this.props.getWinScale,windowId:"MessageWnd"})),t.createElement("div",{className:"message-window-text-wrapper"},t.createElement("div",{className:"message-window-text"},this.state.messageWindowText))))}}}.call(t,n,t,e))||(e.exports=i)},7800:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{MobileStartOverlay:function(){var e=this,n=DS.stringTabler,i=(DS.vendorOverrides.feDropShadow,DS),o=i.focusManager,s=i.detection,a=s.theme,l=a.isClassic,c=a.isUnified,u=s.env.is360,d=i.flagManager,h=this.state,p=h.i18ntitleText,f=h.i18nresumeText,g=h.i18nrestartText;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"mobile-start-overlay "+(this.state.visible?"shown":"hidden"),role:"dialog","aria-modal":"true","aria-labelledby":"mobile-start-title"},t.createElement("div",{className:"mobile-load-title-overlay",style:{opacity:0}},t.createElement("div",{className:"mobile-load-title",id:"mobile-start-title"},d.multiLangSupport?p:this.state.titleText)),l&&t.createElement("button",{id:"mobile-start-button",role:"button","aria-label":n.getString("mobile_start"),onMouseDown:this.previewMouseEvent(this.onStart),onFocus:function(t){return e.onFocus("playIcon")},onBlur:function(e){return o.takeFocusOff()},tabIndex:"0"},t.createElement("svg",{ref:"playIcon",viewBox:"-10 -10 80 80",tabIndex:"-1",focusable:"false"},u&&t.createElement("circle",{fill:"white",cx:"32",cy:"22",r:"11"}),t.createElement("path",{transform:"scale(0.5) translate(30, 15) ",d:"M30,0C13.431,0,0,13.431,0,30s13.431,30,30,30s30-13.431,30-30S46.569,0,30,0z M22,43V17l20,13L22,43z"}))),c&&!this.state.isResumePrompt&&this.state.thumbnailEnabled&&this.state.thumbnailUrl&&t.createElement("div",{className:["mobile-start-overlay-thumbnail"].concat(r(this.state.thumbnailFillFrame?["fill-window"]:[])).join(" ")},t.createElement("img",{src:this.state.thumbnailUrl})),c&&!this.state.isResumePrompt&&t.createElement("button",{id:"mobile-start-button",role:"button","aria-label":n.getString("mobile_start"),onFocus:function(t){return e.onFocus("playIcon")},onBlur:function(e){return o.takeFocusOff()},onClick:this.onStart,style:{zIndex:DS.flagManager.dropInCore?1:null},tabIndex:"0"},t.createElement("svg",{className:"play-icon",ref:"playIcon",focusable:"false",viewBox:"0 0 125 125",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{opacity:"0.8",cx:"62.5",cy:"62.5",r:"61.5",fill:"black",stroke:"white",strokeWidth:"2"}),t.createElement("path",{d:"M51.8745 83.6249C52.6245 83.9999 53.3745 84.1249 54.1245 84.1249C54.9995 84.1249 55.9995 83.8749 56.7495 83.2499L81.9995 65.9999C83.2495 65.1249 83.9995 63.6249 83.9995 62.1249C83.9995 60.6249 83.2495 59.1249 81.8745 58.2499L56.6245 41.4999C55.1245 40.4999 53.3745 40.4999 51.7495 41.2499C50.2495 42.1249 49.2495 43.6249 49.2495 45.3749V79.3749C49.3745 81.2499 50.2495 82.8749 51.8745 83.6249Z",fill:"white"}))),c&&this.state.isResumePrompt&&t.createElement("div",null,t.createElement("div",{className:"mobile-start-resume-text"},t.createElement("button",{ref:"resume",onClick:this.onStart,"aria-label":d.multiLangSupport?f:this.state.resumeText,onFocus:function(t){return e.onFocus("resume")},onBlur:function(e){return o.takeFocusOff()},tabIndex:"0",style:{fontSize:"".concat(100*this.state.fontScale,"%"),borderRadius:"".concat(30*this.state.fontScale,"px")}},d.multiLangSupport?f:this.state.resumeText)),t.createElement("button",{className:"restart",ref:"restart","aria-label":d.multiLangSupport?g:this.state.restartText,onFocus:function(t){return e.onFocus("restart")},onBlur:function(e){return o.takeFocusOff()},onClick:this.onReset,style:{minHeight:"24px",minWidth:"24px"},tabIndex:"0"},t.createElement("svg",{className:"cs-icon",preserveAspectRatio:"none",x:"0px",y:"0px",width:"13px",height:"15.75px",focusable:"false",tabIndex:"-1"},t.createElement("path",{fill:"#FFFFFF",transform:"scale(".concat(this.state.fontScale,", ").concat(this.state.fontScale,") translate(0, ").concat(-7*(this.state.fontScale-1),")"),stroke:"none",d:" M 10.95 8.75 Q 11 9 11 9.25 10.95 11.15 9.7 12.4 8.4 13.7 6.5 13.75 4.6 13.7 3.3 12.4 2.05 11.15 2 9.25 2.05 7.3 3.3 6.05 4.398828125 4.998828125 6 4.75 L 6 6.9 Q 6.05 7.75 6.85 7.35 L 11.35 4.3 Q 11.7 4.05 11.7 3.75 11.7 3.45 11.35 3.2 L 6.85 0.15 Q 6.05 -0.3 6 0.6 L 6 2.75 Q 3.4517578125 3.001171875 1.8 4.75 0.05 6.6 0 9.25 0.05 12 1.9 13.85 3.75 15.65 6.5 15.75 9.25 15.65 11.1 13.85 12.95 12 13 9.25 13 9 13 8.75 L 10.95 8.75 Z"})),t.createElement("div",{className:"restart-text",style:{color:"white",display:"inline-block",paddingLeft:"1em",transform:"translateY(-3px)",fontSize:"".concat(13*this.state.fontScale,"px")}},d.multiLangSupport?g:this.state.restartText))),c&&!this.state.thumbnailEnabled&&t.createElement("div",{className:"mobile-start-course-title"},t.createElement("h1",{style:{fontSize:"".concat(20.28*this.state.fontScale,"px")},dangerouslySetInnerHTML:{__html:d.multiLangSupport?p:this.state.titleText}})))}}}.call(t,n,t,e))||(e.exports=i)},9486:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ObjectSlideBackground:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("pattern",{patternUnits:"userSpaceOnUse",height:this.getSlideHeight(),width:this.getSlideWidth(),id:this.props.id,patternTransform:[this.props.patternTransform," translate(",this.getX(),", ",this.getY(),") rotate(",this.getRot(),", ",this.getXRot(),", ",this.getYRot(),")"].join("")},t.createElement("use",{xlinkHref:"#slide-bg-"+this.getSlideId()}))}}}.call(t,n,t,e))||(e.exports=i)},1149:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PlaceHolderSlideObject:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"placeholder-object",style:{width:this.props.model.width,height:this.props.model.height}},this.props.model.kind())}}}.call(t,n,t,e))||(e.exports=i)},8836:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PresentationOverlay:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:["overlay",this.displayClass(),this.props.className||""].join(" "),onClick:this.props.onClick||null,onTouchStart:this.props.onClick||null})}}}.call(t,n,t,e))||(e.exports=i)},7185:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{RichVariableText:function(){var e=n(2637),i=DS._,o=DS.svgUtils,s=DS.vendorOverrides,a=(DS.flagManager,this.state.textLines),l=!1,c=s.getDxAdjustment||i.constant(0),u=function(e){return i.assign(e,{direction:"ltr"})};return this.isDropIn&&(t=DS.DropIn),t.createElement("g",r({},this.getInnerProps(),{className:"eventable",onMouseDown:this.onMouseDown,onClick:this.onClick,onMouseUp:DS.flagManager.dropInAcc&&this.onMouseUp,onMouseOver:this.onMouseOver,onMouseOut:this.onMouseOut}),a.map(function(n,a){var d=this,h=n.x,p=n.y,f=u(n.domStyle),g=n.runs,m=n.isRtl,v=n.isBiDi,S=n.backgrounds,y=n.linkBackgrounds,b=n.underlines,w=n.strikethroughs,C=n.lineXOff,x=n.lineWidth,D=c(n);return t.createElement("g",{key:a},new e(S).map((function(e,n){var o=e.x1,s=e.x2||x,a=i.omit(e,["x1","x2"]);return t.createElement("rect",r({className:"text-background",key:["bg",n].join(""),x:o+C,width:s-o},a))})).toArray(),new e(y).filter((function(e){return null!=e.linkId&&d.shouldShowLinkHighlight(e.linkId)})).map((function(e,n){var o=e.x1,s=e.x2||x,a=d.getLinkStateHighlightColor(e.linkId),l=i.extend(i.omit(e,["x1","x2","linkId"]),{fill:a});return t.createElement("rect",r({className:"text-background",key:["linkbg",n].join(""),x:o+C,width:s-o},l))})).toArray(),t.createElement("text",{x:h-D,y:p,style:f},new e(g).filter((function(e){return e.spans.some((function(e){return e.content.length>0}))})).map(function(n,a){var c=n.spans,d=u(n.domStyle),h=n.isRtl;return t.createElement("tspan",{key:a,className:"text-run",style:d},new e(c).filter((function(e){return e.content.length>0})).map(function(e,n){this.saveInitialLinkColors(e);var a=e.content,u=e.dx,d=e.xs,f=e.widths,g=e.hasShadow,S=this.getTSpanStyle(e),y=e.y,b=e.linkId,w=-i.get(c,[n-1,"y"],p)+y,x=i.findLastIndex(u,(function(e){return 0!==e}))+1,D={dx:u.slice(0,x).join(" "),dy:w,style:S,className:null==b?"text-segment":"text-segment link"},E=a.join("");if(g&&s.tspanFilters&&(D.style.filter=o.buildUrl(this.shadowFilterId),l=!0),m||v){var T,P={direction:h?"rtl":"ltr"},I=i.reduce(u,(function(e,t,n){return(null==T||0!==t&&T.chars.length>0)&&(null!=T&&T.chars.length&&T.chars.push(""),T={chars:[],x:d[n]+(h?f[n]:0),width:0},e.push(T)),T.chars.push(a[n]),T.width+=f[n],e}),[]);E=I.map((function(e,n){return t.createElement("tspan",{key:n,className:"rtl-pos-span",style:P,y:p,x:e.x+C+(h?-1:1)*e.width/2,"data-linkid":b},e.chars.join(""))})),delete D.dx,delete D.dy}return t.createElement("tspan",r({key:n},D,{"data-linkid":b}),E)}.bind(this)).toArray())}.bind(this)).toArray()),new e(b).concat(w).map(function(e,n){var o=e.x1,s=e.x2||x,a=e.y,l=this.getLinkStateUnderlineColor(e.linkId,e.linkRef,e.hiddenLinkUnderline)||e.stroke,c=i.omit(e,["x1","x2","y","stroke"]);return t.createElement("line",r({key:["dec",n].join(""),x1:o+C,x2:s+C,y1:a,y2:a,stroke:l},c))}.bind(this)).toArray())}.bind(this)),l&&t.createElement("defs",null,t.createElement("filter",{id:this.shadowFilterId,x:"0%",y:"0%",width:"113%",height:"113%"},t.createElement("feFlood",{floodColor:"#969696"}),t.createElement("feComposite",{in2:"SourceAlpha",operator:"in"}),t.createElement("feGaussianBlur",{stdDeviation:"1"}),t.createElement("feOffset",{dx:"1.5",dy:"1.5"}),t.createElement("feMerge",null,t.createElement("feMergeNode",null),t.createElement("feMergeNode",{in:"SourceGraphic"})))))}}}.call(t,n,t,e))||(e.exports=i)},8477:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{ScrollAreaSlideObject:function(){var e=n(5648),i=n(4148),o=n(621),s=DS.detection,a=this.props.topOffset||0,l=this.props.winScale,c=this.width(),u=this.height(),d={parent:this,onScrollFocus:this.childScrollFocus,onBeforeScrollFocus:this.beforeChildScrollFocus,slideVisible:this.props.slideVisible,slideFrame:this.props.slideFrame,winScale:l,checkElso:this.props.checkElso,onElsoAction:this.props.onElsoAction,addAccEl:this.props.addAccEl,tabIndexDisabled:this.props.tabIndexDisabled};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"scrollarea",style:{width:(c-(s.deviceView.isMobile?10:0))*l,height:u*l,top:"".concat(a*l,"px")}},this.hasVectorBackground()&&t.createElement("div",{className:"scrollarea-background"+(this.state.tabFocused?"focused":"")},t.createElement(i,{ref:"bg",model:this.props.model,playerProps:this.props.playerProps,winScale:l,className:"scrollarea-background-svg",isInnard:!0})),this.hasImageBackground()&&t.createElement("div",{className:"scrollarea-background"},t.createElement("img",{ref:"bg",src:this.getImageBgUrl(),style:this.getImageBgStyle()})),t.createElement("div",{className:"scrollarea-area "+(this.state.shouldNotScroll?"prevent-scroll":"is-scrollable"),"data-accepts":"events",ref:"scrollArea",style:{width:c*l,height:(u-a)*l}},t.createElement("div",{ref:"contentArea",style:{height:this.state.contentHeight*l,width:c*l,position:"absolute"}},this.props.model.objects().map(function(n,i){return t.createElement(e,r({ref:"obj"+i,layerIdx:this.props.parent.props.layerIdx,key:n.cid,model:n},d))}.bind(this)))),!this.state.shouldNotScroll&&!s.browser.isIE&&t.createElement(o,{ref:"scrollBar",width:c,height:u-a,winScale:l,offY:a,parent:this}))}}}.call(t,n,t,e))||(e.exports=i)},9965:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{ScrollBar:function(){var e=!DS.detection.env.isPerpetual,n=this.props,i=n.winScale,o=n.offY,s=n.offX,a=n.width,l=n.height,c={},u={},d={},h={},p=["scrollarea-scrollbar"].concat(r(e?["high-contrast-scroll"]:[]));return e||(c={top:(o||0)*i,left:((s||0)+a)*i-10,height:l*i},u={width:"".concat(10*i,"px"),left:"".concat(20*i,"px"),borderRadius:"".concat(5*i,"px")},d={width:"".concat(10*i,"px"),borderRadius:"".concat(5*i,"px")},h={width:"".concat(8*i,"px"),left:"".concat(21*i,"px"),borderRadius:"".concat(5*i,"px")}),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:p.join(" "),ref:"scrollBar",style:c,onMouseDown:this.onAutoScroll,onTouchStart:this.onAutoScroll},t.createElement("div",{ref:"before",className:"scrollarea-scrollbar-before",style:u}),t.createElement("div",{ref:"scrollBtn",className:"scrollarea-btn",onMouseDown:this.onScrollBtnDown,onTouchStart:this.onScrollBtnDown,style:d}),t.createElement("div",{ref:"after",className:"scrollarea-btn-after",style:h}))}}}.call(t,n,t,e))||(e.exports=i)},7921:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){var t=n(3305);return{SequenceCtrlDrop:function(){var e,n=this.props.winScale,i=this.props.numWidth*n,r=16*n/2,s=this.props.height*n,a=this.props.width*n,l=5*n,c=i/2+(s-i)/2;return DS.flagManager.dropInInteractions&&(t=DS.DropIn),t.createElement("div",{className:"sequence-ctrl-drop",style:{top:this.props.yOff*n,width:a+i,height:s}},!DS.flagManager.updatedThemeColorsEnabled&&t.createElement("div",{className:"sequence-ctrl-num",style:{width:i,height:s,lineHeight:s+"px",color:this.state.reviewColor,fontSize:"".concat(16*this.props.winScale,"px")}},this.state.reviewIdx+1+"."),DS.flagManager.updatedThemeColorsEnabled&&t.createElement("div",{className:"sequence-ctrl-num",style:{width:i,height:s,fontSize:"".concat(14*n,"px")}},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{transform:"translate(".concat(i/2,", ").concat(c,")")},t.createElement("circle",{cx:"0",cy:"0",r:i/2-2,style:{fill:this.state.reviewColor,stroke:"white",strokeWidth:2*n}}),t.createElement("text",{textAnchor:"middle",x:n/2,y:l,fill:"white"},t.createElement("tspan",null,this.state.reviewIdx+1+"."))))),t.createElement("div",{className:"sequence-ctrl-hit",style:{width:a,height:s}}),t.createElement("div",{className:"sequence-ctrl-bar sequence-ctrl-bar-top",style:{width:this.props.width,transform:"scale(".concat(n,", ").concat(n,")"),transformOrigin:"top left",left:i,top:-r,display:this.state.topBar?"block":"none"}}),t.createElement("div",{className:"sequence-ctrl-bar sequence-ctrl-bar-bottom",style:(e={top:s,width:this.props.width,transform:"scale(".concat(n,", ").concat(n,")"),transformOrigin:"top left",left:i},o(e,"top",s+r),o(e,"display",this.state.bottomBar?"block":"none"),e)}))}}}.call(t,n,t,e))||(e.exports=i)},7996:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SequenceCtrlSlideObject:function(){var e=n(5886),i=n(258),r=n(621),o=DS.detection,s=this.props.winScale,a=this.getPath("props.model.width"),l=this.getPath("props.model.height"),c=8*s,u={height:l*s,marginLeft:4*s,overflow:"hidden"},d=(a+4)*s,h=(6+_.sum(this.state.itemslist,(function(e){return e.textdata.height+16})))*s,p=0,f=11,g=this.props.model.get("colors");return DS.flagManager.dropInInteractions&&(t=DS.DropIn,DS.flagManager.dropInCore||(r=r.notWrapped)),t.createElement("div",{className:"sequence-ctrl",style:_.extend({width:d},u)},t.createElement("div",{className:"sequence-ctrl-scroll-area is-scrollable",ref:"scrollArea",style:_.extend({width:d-c},u)},t.createElement("div",{className:"sequence-ctrl-scroll-area-contents"},this.state.itemslist.map(function(n,i){var r=n.textdata.height;return f=(p=f)+r+16,t.createElement(e,{ref:"item"+i,parent:this,slideOwner:this.props.model.getSlide(),key:n.textdata.uniqueId,idx:i,width:n.textdata.width,height:n.textdata.height,numWidth:this.numWidth,yOff:p,winScale:s,pr:n.textdata.vectortext.pr})}.bind(this)),this.state.itemslist.map(function(e,n){var r=this,o=(e.textdata.height,{style:"wordbank",width:a-(this.numWidth+18+c+4),height:e.textdata.height,kind:"dragitem",xOff:e.textdata.xPos,yOff:e.textdata.yPos,itemdata:e.itemdata,idx:n,data:{textdata:e.textdata},parentModel:this.props.model,setTransformDirty:function(){return r.transformDirty=!0},getSlide:function(){return r.props.model.getSlide()},absoluteId:this.props.model.absoluteId});return t.createElement("div",{className:"sequence-ctrl-drag-container",key:n,ref:"sequenceItemContainer"+n,style:{position:"absolute"}},t.createElement(i,{ref:"sequenceItem"+n,key:e.textdata.uniqueId,idx:n,parent:this,colors:g,winScale:s,model:o}))}.bind(this)),t.createElement("div",{style:{width:1,height:1,top:h,position:"absolute",visibility:"hidden"}}))),this.state.shouldScroll&&!o.browser.isIE&&t.createElement(r,{ref:"scrollBar",width:a-4-c,height:l,offY:0,winScale:s,parent:this,initSelf:!0}))}}}.call(t,n,t,e))||(e.exports=i)},1342:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{Slide:function(){var e,i=n(4771),r=n(3805),o=n(3997),s=n(92),a=DS.detection,l=this.props.winScale,c=this.props.model,u=this.props.model.get("width"),d=this.props.model.get("height"),h=this.getPath("props.model.background.type"),p=["slide",["cs-",this.props.model.id.replace(/_/g,"-")].join("")].join(" "),f={zIndex:this.state.transitionDepth,width:u*l,height:d*l},g=this.props.slideFrame;return null!=g&&(e=g.props.model,f.top=Math.max(0,(e.get("height")-c.get("height"))/2)*l,f.left=Math.max(0,(e.get("width")-c.get("width"))/2)*l),this.isDropIn&&(t=DS.DropIn),DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc&&(s=DS.DropIn.wrapReactChild({AccShadowDom:s})),t.createElement("div",{className:p,role:"presentation","data-rollout-highest-node":"true","data-id":this.props.model.id,style:f,onMouseDownCapture:this.onStoreMouseLoc,onTouchStartCapture:this.onStoreTouchLoc,onContextMenu:this.onCtxMenu},t.createElement("div",{ref:"zoomPanTarget"},!!h&&"vector"===h&&t.createElement(o,{ref:"bg",model:this.props.model,winScale:l}),!!h&&"vector"!==h&&t.createElement(r,{ref:"bg",layerModel:this.props.model,winScale:l}),t.createElement("div",{className:"zoom-bg-container"}),this.props.slideContainer.props.currentSlide===this.props.model&&t.createElement(s,{ref:"accShadowDom",winScale:l,accSlide:this,width:this.props.model.get("width"),height:this.props.model.get("height")}),t.createElement("div",{className:"acc-blocker","aria-hidden":"true",onClick:function(){}}),this.getPath("props.model.slideLayers").map(function(e,n,r){return t.createElement(i,{ref:"layer"+n,key:e.cid,idx:r.length-n,model:e,slideFrame:this.props.slideFrame,winScale:l,width:u,height:d,addAccEl:this.addAccEl,retainShadowFocus:this.retainShadowFocus,getCurrentShadowFocus:this.getCurrentShadowFocus})}.bind(this)),t.createElement("div",{ref:"contentArea",className:["slide-top-container",!this.props.slideFrame&&"slide-top-container-main"].join(" ")}),!a.deviceView.isMobile&&t.createElement("div",{className:"slide-text-fix"}),t.createElement("div",{ref:"mouse-blocker",className:"mouse-blocker ".concat(this.state.trulyVisible?"truly-visible":"")})))}}}.call(t,n,t,e))||(e.exports=i)},2350:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideBackground:function(){var e=n(2977),i=this.props,r=i.winScale,o=i.layerModel,s=o.get("width"),a=o.get("height");return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:s*r,height:a*r,viewBox:[0,0,s,a].join(" "),focusable:"false"},t.createElement("defs",null,"fill"===this.props.layerModel.background().type?t.createElement(e,{patternFillId:this.patternFillId(),layerModel:this.props.layerModel}):t.createElement("pattern",{id:this.patternFillId(),width:s,height:a,patternUnits:"userSpaceOnUse"},t.createElement("image",{width:s,height:a,xlinkHref:this.props.layerModel.backgroundImageUrl()}))),t.createElement("rect",{id:"slide-bg-"+this.props.layerModel.get("id"),width:s,height:a,fill:["url(#",this.patternFillId(),")"].join("")}))}}}.call(t,n,t,e))||(e.exports=i)},9542:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideContainer:function(){var e=n(4641),i=DS.svgUtils,r=DS.utils,o=DS.detection,s={overflow:this.state.overflowHide&&!o.deviceView.isUnifiedMobile?"hidden":"visible"},a=Object.assign({},this.state.loadContainerStyleAttr),l=null!=this.props.getWinScale?this.props.getWinScale():1,c=this.state.xOff||0,u=this.state.yOff||0;this.state.scale&&(l=this.state.scale);var d=l;return DS.flagManager.slideLevelScale&&!(o.theme.isClassic||o.browser.isSafariMac)?(s[this.cssTransform]=[i.transformScale(l),i.transformTranslate(r.pxify(Math.round(c)),r.pxify(Math.round(u)))].join(" "),s[this.cssTransformOrigin]=this.state.origin||"0 0",s.margin="0",l=1):s[this.cssTransform]=i.transformTranslate(r.pxify(Math.round(c)),r.pxify(Math.round(u))),null!=this.state.origin&&(s[this.cssTransformOrigin]=this.state.origin),this.props.currentSlide&&(s.width=this.props.currentSlide.get("width")*l,s.height=this.props.currentSlide.get("height")*l,a.width=s.width),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{style:s,className:"slide-container"},DS.flagManager.dropInAcc&&t.createElement("span",{"data-dv_keys":"true"},this.state.slides.map(function(n){return t.createElement(e,{ref:n.absoluteId,key:n.absoluteId,model:n,isMessageWindow:this.props.isMessageWindow,transitionComplete:this.transitionComplete,killSlide:this.killSlide.bind(this,n),slideContainer:this,windowId:this.props.windowId,winScale:l,slideWinScale:d})}.bind(this))),!DS.flagManager.dropInAcc&&this.state.slides.map(function(n){return t.createElement("div",{key:n.absoluteId,className:"slide-transition-container",style:{width:"".concat(n.get("width")*l,"px"),height:"".concat(n.get("height")*l,"px"),overflow:"hidden"}},t.createElement(e,{ref:n.absoluteId,model:n,isMessageWindow:this.props.isMessageWindow,transitionComplete:this.transitionComplete,killSlide:this.killSlide.bind(this,n),slideContainer:this,windowId:this.props.windowId,winScale:l,slideWinScale:d}))}.bind(this)),o.deviceView.isMobile&&t.createElement("div",{className:"swipe-transition-container"}),!o.deviceView.isClassicDesktop&&this.props.currentSlide&&!this.props.isMessageWindow&&!this.firstLoad&&t.createElement("div",{className:"load-container",style:a},t.createElement("div",{className:"slide-loader"},t.createElement("div",{className:"mobile-loader-dot dot1"}),t.createElement("div",{className:"mobile-loader-dot dot2"}),t.createElement("div",{className:"mobile-loader-dot dot3"}))))}}}.call(t,n,t,e))||(e.exports=i)},6234:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{SlideControlButton:function(){var e=DS._,n=["btn","cs-button","inflexible",this.disabled()?"cs-disabled":"","slide-control-button-"+this.props.kind,"slide-lockable"],i=e.omit(this.props,["kind","onButtonDown","slide","windowId"]);return this.visible()||n.push("hidden"),this.state.focused&&n.push("focused"),t.createElement("button",r({ref:"btn",className:n.join(" "),"aria-disabled":this.disabled(),tabIndex:"-1"},i,this.getButtonEvents()),this.props.children)}}}.call(t,n,t,e))||(e.exports=i)},7134:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideDropInAcc:function(){var e,i=n(4771),r=n(3805),o=n(3997),s=n(92),a=DS.detection,l=this.props.winScale,c=this.props.model,u=this.props.model.get("width"),d=this.props.model.get("height"),h=this.getPath("props.model.background.type"),p=["slide",["cs-",this.props.model.id.replace(/_/g,"-")].join("")].join(" "),f={zIndex:this.state.transitionDepth,width:u*l,height:d*l},g=this.props.slideFrame;return null!=g&&(e=g.props.model,f.top=Math.max(0,(e.get("height")-c.get("height"))/2)*l,f.left=Math.max(0,(e.get("width")-c.get("width"))/2)*l),this.isDropIn&&(t=DS.DropIn),DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc&&(s=DS.DropIn.wrapReactChild({AccShadowDom:s})),t.createElement("div",{className:"slide-transition-container",style:{width:"".concat(c.get("width")*this.props.winScale,"px"),height:"".concat(c.get("height")*this.props.winScale,"px"),overflow:"hidden",zIndex:this.state.transitionDepth}},t.createElement("div",{className:p,role:"presentation","data-rollout-highest-node":"true","data-id":this.props.model.id,style:f,onMouseDownCapture:this.onStoreMouseLoc,onTouchStartCapture:this.onStoreTouchLoc,onContextMenu:this.onCtxMenu},t.createElement("div",{ref:"zoomPanTarget"},!!h&&"vector"===h&&t.createElement(o,{ref:"bg",model:this.props.model,winScale:l}),!!h&&"vector"!==h&&t.createElement(r,{ref:"bg",layerModel:this.props.model,winScale:l}),t.createElement("div",{className:"zoom-bg-container"}),this.props.slideContainer.props.currentSlide===this.props.model&&t.createElement(s,{ref:"accShadowDom",winScale:l,accSlide:this,width:this.props.model.get("width"),height:this.props.model.get("height")}),t.createElement("div",{className:"acc-blocker","aria-hidden":"true",onClick:function(){}}),this.getPath("props.model.slideLayers").map(function(e,n,r){return t.createElement(i,{ref:"layer"+n,key:e.cid,idx:r.length-n,model:e,slideFrame:this.props.slideFrame,winScale:l,width:u,height:d,addAccEl:this.addAccEl,retainShadowFocus:this.retainShadowFocus,getCurrentShadowFocus:this.getCurrentShadowFocus})}.bind(this)),t.createElement("div",{ref:"contentArea",className:["slide-top-container",!this.props.slideFrame&&"slide-top-container-main"].join(" ")}),!a.deviceView.isMobile&&t.createElement("div",{className:"slide-text-fix"}),t.createElement("div",{ref:"mouse-blocker",className:"mouse-blocker ".concat(this.state.trulyVisible?"truly-visible":"")}))))}}}.call(t,n,t,e))||(e.exports=i)},7166:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideFrameSlideObject:function(){var e=n(4641),i=n(4148),r=DS._;return t.createElement("div",{className:"slideframe",style:{width:this.props.playerProps.width,height:this.props.playerProps.height}},this.hasVectorBackground()&&t.createElement(i,{ref:"bg",model:this.props.model,playerProps:this.props.playerProps}),this.hasImageBackground()&&t.createElement("img",{ref:"bg",src:this.getImageBgUrl(),style:this.getImageBgStyle()}),this.state.slideModel&&t.createElement(e,{model:this.state.slideModel,slideFrame:this,transitionComplete:r.noop,onSlideStarted:this.onSlideStarted}))}}}.call(t,n,t,e))||(e.exports=i)},8414:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideLayer:function(){var e=n(5648),i=n(4172),r=n(3805),o=this.props.model,s=this.state.renderChildren||this.isVisible()||o.willLayerResume(),a=this.props.winScale,l=this.props.model.objects();return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{ref:"contentArea",className:["slide-layer",this.props.model.isBaseLayer()?"base-layer":"",this.displayClass()].join(" "),style:{pointerEvents:this.props.model.isPenetrable()?"none":"auto",zIndex:this.state.depth,width:this.props.width*a,height:this.props.height*a}},s&&this.props.model.get("modal")&&t.createElement("div",{className:"layer-modal-bg"}),DS.flagManager.dropInCore&&t.createElement("span",null,s&&l.map(function(n,i){return t.createElement(e,{ref:"obj"+i,layerIdx:this.props.idx,key:n.cid,model:n,winScale:a,tabIndexDisabled:this.state.tabIndexDisabled,slideVisible:"shown"===this.displayClass(),addAccEl:this.props.addAccEl,slideFrame:this.props.slideFrame})}.bind(this))),!DS.flagManager.dropInCore&&s&&l.map(function(n,i){return t.createElement(e,{ref:"obj"+i,layerIdx:this.props.idx,key:n.cid,model:n,winScale:a,tabIndexDisabled:this.state.tabIndexDisabled,slideVisible:"shown"===this.displayClass(),addAccEl:this.props.addAccEl,slideFrame:this.props.slideFrame})}.bind(this)),s&&this.props.model.hasBackground()&&t.createElement(r,{ref:"bg",layerModel:this.props.model,winScale:this.props.winScale}),this.state.audio&&t.createElement("div",{ref:"allAudio",className:"hidden"},this.props.model.audiolib().map(function(e,n){return t.createElement(i,{ref:"audio"+n,key:n,model:e,slideVisible:"shown"===this.displayClass(),objectVisible:!0,timeline:this.props.model.timeline()})}.bind(this))))}}}.call(t,n,t,e))||(e.exports=i)},6548:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{SlideObject:function(){var e=this.getStyles(),n=this.props,i=n.winScale,o=n.model;this.isDropIn&&(t=DS.DropIn);var s=["slide-object","slide-object-"+o.kind(),this.displayClass(),this.cursorClass(),this.state.tabFocused?"focused":"",o.isToolTip()?"tooltip":"",o.isDraggable()?"draggable":"",o.isRotatable()?"rotatable":"",o.getTweenableClass(),o.getIsSlideableParent&&o.getIsSlideableParent()?"slideable-parent":""].join(" "),a=this.props.model.isEventable&&["onrelease","onpress","onkeypress"].some((function(e){return o.hasEvent(e)}))?this.onMouseUp:null,l={tabIndex:"-1","aria-hidden":!o.isWebObject()&&!this.state.fullScreen,onMouseUp:a};return t.createElement("div",r({className:s,style:e,"data-model-id":o.id,"data-acc-text":this.getAccessibleText()},l),function(){var e=o.get("markerType");if(null!=e){var n=o.get("height"),r="swirl"===e?{left:-3*i,top:n/2*i,width:(n/2+3)*i,height:(n/2+3)*i,borderBottomLeftRadius:(n+6)*i,"--marker-size":"".concat(n,"px"),"--animation-margin":"".concat(n/5,"px")}:{transform:"translate(-".concat(n/5*i,"px, -").concat(n/5*i,"px) scale(").concat(i,")"),transformOrigin:"0 0","--marker-size":"".concat(n,"px"),"--animation-margin":"".concat(n/5,"px")};return t.createElement("div",{ref:"markerAnimation",className:"marker-animation marker-animation-".concat(e),style:r})}}(),o.isHotSpotMarker()&&t.createElement("div",{style:{transform:"scale(".concat(i,", ").concat(i,")")}},t.createElement("div",{className:"hotspot-marker"},t.createElement("span",null))),t.createElement(this.slideObjectInnard,this.getInnardConfigs()))}}}.call(t,n,t,e))||(e.exports=i)},2851:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SlideWindow:function(){var e=n(4116),i=n(8172),r=this.getBackground();return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{id:"slide-window"},t.createElement("div",{className:"slide-window-slide-container cs-slide-container"},null!=r&&t.createElement(i,{bg:r}),t.createElement(e,{ref:"slideContainer",currentSlide:this.state.currentSlide,windowId:this.props.id,lightboxed:this.props.lightboxed,hasControls:this.props.hasControls,getWinScale:this.props.getWinScale,onPinchZoom:this.props.onPinchZoom||function(){},getPinchZoomBounds:this.props.getPinchZoomBounds||function(){}})))}}}.call(t,n,t,e))||(e.exports=i)},2724:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{StateGroupSlideObject:function(){var e=n(5648),i={winScale:this.props.winScale,onScrollFocus:this.props.onScrollFocus,checkElso:this.checkElso,onElsoAction:this.onElsoAction,slideVisible:this.props.slideVisible,playerProps:this.props.playerProps,parent:this,slideFrame:this.props.slideFrame,tabIndexDisabled:this.props.tabIndexDisabled,addAccEl:this.props.addAccEl},o={width:i.parent.props.model.width()*i.winScale,height:i.parent.props.model.height()*i.winScale};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"group "+(this.props.model.prop("OnStage")?"":"hidden"),style:o},this.props.model.objects().map(function(n,o){return t.createElement(e,r({ref:"obj"+o,layerIdx:this.props.parent.props.layerIdx,key:o,model:n},i))}.bind(this)),t.createElement("div",{className:"state-group-top-level"}))}}}.call(t,n,t,e))||(e.exports=i)},598:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{SvgImageSlideObject:function(){var e=n(2658),i=this.props.model.getCurrentStateData(),r=i.imagedata,o=r.width,s=r.height,a=e.getAsset(i.imagedata.assetId),l=this.props.winScale;return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:"svgImage",preserveAspectRatio:"none","data-accepts":"events",width:o*l,height:s*l,viewBox:"0 0 ".concat(a.width()," ").concat(a.height())},t.createElement("use",{href:"#".concat(a.get("dataId")),"data-pointer-events":"true"}))}}}.call(t,n,t,e))||(e.exports=i)},2314:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{TextInputSlideObject:function(){var e=n(4148),i=(DS.utils,this.props.winScale),o=this.getPath("props.model.maxchars"),s=this.getInputStyle(),a={width:this.getPath("props.model.width")*i,height:this.getPath("props.model.height")*i},l={role:"presentation","aria-hidden":"true",readOnly:"true",tabIndex:"-1"};return DS.detection.deviceView.isDesktop&&DS.detection.theme.isUnified&&(a.position="absolute",a.top=0),this.hasVectorBackground()||this.hasImageBackground()||(a.border="1px solid rgb(160,160,160)",a.backgroundColor="#fff"),this.isDropIn&&(DS.flagManager.dropInCore||(e=DS.flagManager.dropInVectors?e.notWrapped:DS.DropIn.wrapReactChild({VectorSlideObject:e})),t=DS.DropIn),t.createElement("div",{className:this.state.placeholderClass,style:{height:DS.flagManager.dropInCore&&"100%"}},this.hasVectorBackground()&&t.createElement(e,{ref:"bg",model:this.props.model,winScale:i,playerProps:this.props.playerProps,isInnard:!0}),this.hasImageBackground()&&t.createElement("img",{ref:"bg",src:this.getImageBgUrl(),style:this.getImageBgStyle()}),this.isTextArea()?t.createElement("div",{style:a},t.createElement("textarea",r({ref:"input"},l,{className:DS.detection.deviceView.isMobile?"mobile-textarea":"",onFocus:this.onInputFocus,style:s,maxLength:o>0?o:"","data-accepts":"events",disabled:!this.getPath("props.playerProps.Enabled"),placeholder:this.getPath("props.model.placeholder"),value:this.state.inputValue,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onTouchStart:this.onTouchStart}))):t.createElement("input",r({ref:"input"},l,{onFocus:this.onInputFocus,type:"text",style:_.extend({},a,s),maxLength:o>0?o:"","data-accepts":"events",disabled:!this.getPath("props.playerProps.Enabled"),value:this.state.inputValue,placeholder:this.getPath("props.model.placeholder"),onChange:this.onInputChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onTouchStart:this.onTouchStart})))}}}.call(t,n,t,e))||(e.exports=i)},6422:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ThreeSixtyImageSlideObject:function(){n(3118);var e={position:"absolute",left:0,top:0,width:Math.ceil(this.props.model.width()*this.props.winScale),height:Math.ceil(this.props.model.height()*this.props.winScale)};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"three-sixty-image",style:e},t.createElement("div",{className:"three-gl",ref:"glEl",style:e}),t.createElement("div",{className:"three-css",ref:"cssEl",style:e}),t.createElement("div",{className:"three-overlays",ref:"overlaysEl",style:e},t.createElement("svg",{className:"three-overlay-svg",ref:"overlaySvgEl",style:e,width:e.width,height:e.height}),t.createElement("div",{className:"three-misc-overlays",ref:"miscOverlaysEl",style:e})))}}}.call(t,n,t,e))||(e.exports=i)},1958:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VariableText:function(){var e={height:this.props.model.height(),width:this.props.model.width()};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"textlib"+(this.state.isVisible?"":" invisible")+(this.props.hasShadow?" object-text-shadow":""),style:e},t.createElement("div",{className:"textlib-inner "+this.state.valignClass,onClick:this.possibleHit,style:this.getInnerProps()},t.createElement("div",{ref:"textLibContentWrap",className:"textlib-content-wrap",dangerouslySetInnerHTML:{__html:this.state.embeddedTemplate}})))}}}.call(t,n,t,e))||(e.exports=i)},222:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VectorSlideBackground:function(){var e=n(9036);return this.isDropIn&&(t=DS.DropIn),t.createElement(e,{vectorData:this.props.model.background().vectorData,model:this.props.model,playerProps:this.props.playerProps,winScale:this.props.winScale})}}}.call(t,n,t,e))||(e.exports=i)},8330:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VectorText:function(){var e=n(6894),i=n(6272),r=DS._;return this.isDropIn&&(t=DS.DropIn),t.createElement("g",{className:"vector-text-item"},t.createElement("g",{transform:this.getTransform()},this.props.hasShadow&&t.createElement(e,{ref:"itemShadow",isShadow:!0,pathLib:this.state.curPathLib,commandsetId:this.state.curCommandsetId}),t.createElement(e,{ref:"item",pathLib:this.state.curPathLib,commandsetId:this.state.curCommandsetId})),this.props.textLibItem&&this.props.textLibItem.linkdata().map(function(e,n){return t.createElement(i,{key:"hitArea"+n,ref:"hitItem"+n,color:r.get(e.get("fill"),"colors[0]"),hotAreas:e.get("hotareas"),linkId:e.get("id"),link:e,renderLinkCallback:this.renderLinkCallback,onOverCallback:this.onOverCallback,onOutCallback:this.onOutCallback,onClickCallback:this.onClickCallback})}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},5417:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VectorTextHitArea:function(){var e=DS.utils,n=function(e){return"hotarea_"+e};return this.isDropIn&&(t=DS.DropIn),t.createElement("g",null,this.props.hotAreas.map(function(i,r){return t.createElement("g",{ref:n(r),key:n(r)},t.createElement("rect",{className:"link-hit-area","data-hotarea":n(r),x:i.xPos,y:i.yPos,width:i.width,height:i.height,onMouseOver:this.renderAs,onMouseOut:this.renderAs,onMouseDown:this.renderAs,onMouseUp:this.renderAs}),t.createElement("rect",{className:"link-highlight-area","data-linkarea":n(r),x:i.xPos,y:i.yPos,width:i.width,height:i.height,fill:null==this.props.color?"none":e.hexify(this.props.color.rgb),style:{opacity:0},"data-link-id":this.props.linkId}))}.bind(this)))}}}.call(t,n,t,e))||(e.exports=i)},4881:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VideoControls:function(){var e=n(6806),i=DS,r=i.detection,o=i.utils,s=this.props.isPlaying?"pauseLegacy":"playLegacy",a=this.props.winScale,l=1/a,c=o.decToPct(l,!0),u=r.theme.isClassic&&r.deviceView.isDesktop,d={transform:"scale(".concat(a,")"),transformOrigin:"top left",fontSize:u?"".concat(1/a,"em"):null,width:c,maxWidth:c},h={};return r.env.videoControlsFont&&(h.fontFamily=r.env.videoControlsFont),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"video-controls inflexible",style:d},t.createElement("div",{className:"video-controls-play-pause inflexible",ref:"playPause",onClick:!r.device.isMobile&&this.props.toggleVideoControls,onTouchStart:r.device.isMobile&&this.props.toggleVideoControls},t.createElement("button",{ariaHidden:"true",tabIndex:"-1"},t.createElement(e,{key:s,type:s}))),t.createElement("div",{className:"progress-bar",ref:"progressBar"},t.createElement("div",{className:"progress-bar-inner",ref:"progressBarInner"},t.createElement("div",{className:"progress-bar-seek"},t.createElement("div",{className:"progress-bar-fill",style:{width:this.props.currentTime/this.props.duration*100+"%"}}))),t.createElement("div",{className:"progress-bar-elapsed-time",style:h},t.createElement("span",null,this.currentTimeFormatted()),t.createElement("span",{className:"progress-bar-total-duration"}," / ",this.durationFormatted()))))}}}.call(t,n,t,e))||(e.exports=i)},7055:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VideoPlayer:function(){var e=DS.utils,n=(DS.automation,this.state.hasEverPlayed),i=this.props.posterFrameUrl,r=this.props.playerProps.width*this.props.winScale,o=this.props.playerProps.height*this.props.winScale,s={height:e.pxify(o),width:e.pxify(r)},a=!DS.detection.theme.isClassic&&!DS.detection.env.isPerpetual;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"video-player-limited-container",style:s,"data-accepts":"events"},t.createElement("div",{ref:"container",className:a?"modern-video":null}),!n&&null!=i&&t.createElement("img",{className:"video-player-poster",width:r,height:o,src:i,alt:""}))}}}.call(t,n,t,e))||(e.exports=i)},6208:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VideoSlideObject:function(){var e=n(4928),i=n(780),r=n(7837),o=n(6086),s=this.isHlsVideo(),a=this.props.winScale,l=this.isValidVideo(),c=this.state.posterImage||this.posterFrameUrl(),u=l&&this.props.model.get("showcontrols"),d=u&&!DS.detection.theme.isClassic&&!DS.detection.env.isPerpetual,h=["video-slide-object"];return this.state.fullScreen&&h.push("full-screen-mode"),this.state.isPlaying||h.push("paused"),s&&DS.detection.env.isFileProtocol&&(l=!1,u=!1,d=!1),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:h.join(" ")},l&&t.createElement(i,{currentVolume:this.state.currentVolume,duration:this.state.duration,isPlaying:this.state.isPlaying,isTimelineControlled:this.state.isTimelineControlled,onDurationChange:this.durationLoaded,onLoadedData:this.loadedData,onPlaybackEnded:this.playbackEnded,onTimeUpdate:this.playing,onVideoPaused:this.videoPaused,playerProps:this.props.playerProps,slideVisible:this.props.slideVisible,objectVisible:this.isVisible(),slideObjectModel:this.props.model,assetId:this.getAssetId(),winScale:a,posterFrameUrl:c,ref:"videoPlayer",timeline:this.layerTimeline,src:this.getVideoUrl(),pausedByPlayButton:this.pausedByPlayButton,timelinePaused:this.timelinePaused,pause:this.pauseVideo}),u&&!d&&t.createElement(e,{ref:"controls",winScale:a,currentTime:this.state.currentTime,duration:this.state.duration,isPlaying:this.state.isPlaying,toggleVideoControls:this.toggleVideoControls,slideObjectView:this.props.parent,controlSeek:this.controlSeek}),d&&t.createElement(r,{ref:"controls",width:this.props.model.width()*a,currentTime:this.state.currentTime,duration:this.state.duration,isPlaying:this.state.isPlaying,controlConfig:this.getEnabledControls(),colors:this.getControlColors(),videoInterface:this.videoInterface,slideObjectView:this.props.parent,model:this.props.model,fullScreen:this.state.fullScreen}),d&&this.state.fullScreen&&t.createElement("div",{className:"focus-container"}),d&&this.state.fullScreen&&t.createElement("div",{className:"caption-container-host"}),!l&&!s&&t.createElement("div",{className:"placeholder-object",style:{width:this.props.model.width()*a,height:this.props.model.height()*a}},"swf"),!l&&s&&t.createElement(o,{ref:"localWarning",model:this.props.model,width:this.props.model.width()*a,height:this.props.model.height()*a}))}}}.call(t,n,t,e))||(e.exports=i)},5530:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VolumeControls:function(){n(6806);var e=DS.vendorOverrides.crispScale;return t.createElement("div",{className:"controls-group control-bar inflexible"},t.createElement("div",{ref:"btn",className:"btn cs-button volume "+(!this.state.isOpen&&this.state.tabFocused?"focused":""),onClick:this.onClick},t.createElement("button",{className:"btn-unstyled text-align-middle",style:e()},t.createElement("span",{className:"accessibility"},this.state.i18nvolume)),t.createElement("div",{className:["btn cs-volume cs-button slider-bar",this.state.isOpen?"":"hidden",this.state.isOpen&&this.state.tabFocused?"focused":""].join(" "),style:e(),id:"control-volume-slider"},t.createElement("input",{ref:"volumeRange",className:"cs-volume",type:"range",min:"0",max:"1.0",value:this.state.volumeStrength,onChange:this.onInputChange,step:"0.1","aria-orientation":"vertical"}))))}}}.call(t,n,t,e))||(e.exports=i)},5153:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{WebObjectSlideObject:function(){var e=this.props.playerProps,n=e.width,i=e.height,o=this.props.winScale,s=this.shouldScale();this.isDropIn&&(t=DS.DropIn);var a=this.isDropIn?{allowFullscreen:!0}:{allowFullScreen:!0};return t.createElement("div",{className:"webobject is-scrollable",style:{width:n*(s?1:o),height:i*(s?1:o),transformOrigin:s?"0 0":void 0,transform:s?"scale(".concat(o,")"):void 0,background:"transparent"}},!this.state.isError&&t.createElement("iframe",r({ref:"iframe",src:this.state.url},a,{className:[this.showThumb()?"hidden":"shown",this.checkIsEngage()?"webobject-engage":""].join(" "),onLoad:this.onIframeLoad,tabIndex:"0","aria-hidden":"false"})),this.showThumb()&&t.createElement("img",{onClick:this.showContent,onTouchStart:this.showContent,style:{width:"100%",height:"100%"},className:"thumbnail",tabIndex:"0","aria-hidden":"false",src:this.imageUrl}))}}}.call(t,n,t,e))||(e.exports=i)},8764:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ZoomImage:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"zoom-image "+this.displayClass()},t.createElement("img",{ref:"img",src:this.props.imageUrl,style:{width:this.props.width,height:this.props.height}}))}}}.call(t,n,t,e))||(e.exports=i)},4021:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccButton:function(){var e=n(7523).renderSemanticText;this.isDropIn&&(t=DS.DropIn);var i=this.state.altTextOverridesText||!this.hasVarText();return t.createElement("button",r({className:"acc-shadow-el acc-button"},this.getBaseAccAttribs(),{style:this.getBaseAccStyle(),type:"button",onClick:this.onClick,"aria-label":i?this.state.label:null}),i?this.state.label:e(this.parseText().children,this))}}}.call(t,n,t,e))||(e.exports=i)},7875:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccCheckbox:function(){var e=n(7523).renderSemanticText,i=this.getBaseAccStyle(),o=null,s=this.state.label,a=this.id+"_label";return this.hasVarText()&&(o=Object.assign({display:"none"},this.getLabelStyle()),s=this.state.altTextOverridesText?this.state.label:e(this.parseText().children,this)),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-shadow-el",style:i},t.createElement("input",r({className:"acc-shadow-el acc-checkbox",style:_.pick(i,["width","height"]),"aria-labelledby":a,ref:"input"},this.getBaseAccAttribs(),{type:"checkbox",onClick:this.onClick,checked:this.state.checked})),t.createElement("label",{style:o,id:a},s))}}}.call(t,n,t,e))||(e.exports=i)},6568:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccDialog:function(){var e=this;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{id:this.id(),className:"acc-shadow-el",role:"dialog","aria-modal":"true","aria-hidden":!this.state.isVisible||null,"aria-labelledby":this.labeledBy(),"aria-describedby":this.describedBy(),tabIndex:"-1"},!!this.props.dialog.children.length&&this.props.dialog.children.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,i){var r=e.props.childMap[e.props.shadowDom.getAccType(n)];if(null!=r)return t.createElement(r,{ref:"acc-obj-".concat(n.accIdx),key:n.accKey,idx:i,slideObject:n,relatedObject:n.relatedObject,shadowDom:e.props.shadowDom,winScale:e.props.winScale})})))}}}.call(t,n,t,e))||(e.exports=i)},3449:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccDropList:function(){var e=this,i=n(7523).renderSemanticText,o=DS,s=o.utils.getPath,a=o.detection.os.isIOS,l=this.props.slideObject.id,c="acc-".concat(l,"-choices"),u=this.state,d=u.expanded,h=u.selectedData,p=(u.label,DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?this.objView.refs.innard.dropInView.getSelectedTextData():this.objView.refs.innard.getSelectedTextData()),f=function(e){return!e.altTextOverridesText&&null!=s(e,"vartext.blocks")};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-shadow-el"},!a&&t.createElement("button",r({className:"acc-shadow-el acc-droplist"},this.getBaseAccAttribs(),{style:this.getBaseAccStyle(),ref:"input",role:"combobox","aria-autocomplete":"list","aria-owns":c,onClick:this.onClickInput,"aria-expanded":d,"aria-controls":d?c:null,"aria-activedescendant":d&&-1!==h?"acc-".concat(l,"-").concat(h):null}),f(p)?i(this.parseText(p).children,this):p.altText),!a&&t.createElement("ul",{className:"acc-shadow-el acc-droplist",id:c,tabIndex:"-1",role:"listbox",style:Object.assign(this.getBaseAccStyle(),{visibility:d?"visible":"hidden"})},this.getChoices().map((function(n,r){var o=n.value,s=n.textdata;return t.createElement("li",{onClick:e.onClickOption,key:r,"data-index":r,role:"option",id:"acc-".concat(l,"-").concat(o),"aria-selected":o===h||null},f(s)?i(e.parseText(s).children,e):s.altText)}))),a&&t.createElement("select",r({className:"acc-shadow-el acc-droplist",size:"1",ref:"input"},this.getBaseAccAttribs(),{style:this.getBaseAccStyle(),onChange:this.onChangeMobile}),t.createElement("option",null,"-- Select --"),this.getChoices().map((function(e,n){var i=e.value,r=e.textdata;return t.createElement("option",{key:n,value:"acc-".concat(l,"-").concat(i),"aria-selected":i===h||null},r.altText)}))))}}}.call(t,n,t,e))||(e.exports=i)},7379:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccElso:function(){var e=this,i=(DS.detection.deviceView.isMobile,this.getBaseAccAttribs()),o=n(7523).renderSemanticText,s=this.state.altTextOverridesText||!this.hasVarText();return this.isDropIn&&(t=DS.DropIn),t.createElement("div",r({className:"acc-shadow-el acc-elso"},Object.assign(i,{"aria-hidden":i["aria-hidden"]||!this.state.expanded||null}),{style:this.getBaseAccStyle(),onClick:this.onClick}),function(){if(e.state.label)return t.createElement("div",null,s?t.createElement("p",null,e.state.label):o(e.parseText().children,e))}())}}}.call(t,n,t,e))||(e.exports=i)},8624:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccImage:function(){DS.detection.deviceView.isMobile;var e=this.hasZoom()||this.hasRelease();return this.isDropIn&&(t=DS.DropIn),t.createElement("div",null,e&&t.createElement("button",r({className:"acc-shadow-el acc-image",ref:"focusTarget",role:"img","aria-label":this.state.label,onClick:this.onClick},Object.assign(this.getBaseAccAttribs(),{tabIndex:this.getTabIndex()}),{style:this.getBaseAccStyle()})),!e&&t.createElement("img",r({className:"acc-shadow-el acc-image",ref:"focusTarget","aria-label":this.state.label},Object.assign(this.getBaseAccAttribs(),{tabIndex:this.getTabIndex()}),{style:this.getBaseAccStyle()})))}}}.call(t,n,t,e))||(e.exports=i)},5853:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccMarker:function(){DS.detection.deviceView.isMobile;return this.isDropIn&&(t=DS.DropIn),t.createElement("button",r({className:"acc-shadow-el acc-button"},Object.assign(this.getBaseAccAttribs(),{ariaControls:"acc-".concat(this.props.relatedObject.id)}),{style:this.getBaseAccStyle(),"aria-label":this.state.label,"aria-expanded":this.state.expanded,type:"button",onClick:this.onClick}))}}}.call(t,n,t,e))||(e.exports=i)},4207:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{AccModernVideo:function(){var e=this,i=n(4646),o=n(1348),s=DS,a=s.utils.pxify,l=s.detection.deviceView.isPhone,c=this.props.slideObject,u=c.id,d=this.state.tabbable,h=c.isEventable&&["onrelease","onpress"].some((function(e){return c.hasEvent(e)})),p=function(e){var t=r(e,4),n=t[0],i=t[1],o=t[2],s=t[3];return{left:a(n),top:a(i),width:a(o-n),height:a(s-i)}};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-shadow-el",style:this.getBaseAccStyle(),id:"acc-".concat(u),tabIndex:"-1",onFocus:this.onShadowFocus,onBlur:this.onShadowBlur,"data-represents":this.objModel.absoluteId,role:"group","aria-label":this.state.label,"aria-hidden":!d||null},h&&t.createElement("button",{ref:"videoButton",className:"acc-shadow-el acc-button",style:_.assign(this.getBaseAccStyle(),{left:0,top:0}),id:"acc-".concat(u,"-button"),tabIndex:"0",type:"button",onClick:this.onButtonClicked,"aria-labelledby":"acc-".concat(u)}),function(){if(null==e.state.seekRect)return null;var n=e.state,i=n.seekRect,r=n.duration,o=n.elapsed,s=Math.round(o/r*100);return t.createElement("input",{className:"acc-shadow-el acc-slider",tabIndex:"0",id:"acc-".concat(u,"-seekbar"),ref:"seek",type:"range",step:"1",min:"0",max:Math.ceil(r),"aria-valuetext":"".concat(s,"%"),style:p(i)})}(),function(){if(null==e.state.playPauseRect)return null;var n=e.state,i=n.playPauseRect,r=n.playPauseLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-playpause"),ref:"playPause",type:"button",onClick:isMobile?e.onPlayPauseClicked:null,onTouchEnd:isMobile?e.onPlayPauseClicked:null,"aria-label":r,style:p(i)})}(),function(){if(null==e.state.muteRect)return null;var n=e.state,i=n.muteRect,r=n.muteLabel,o=n.volumeStrength;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-mute"),ref:"mute",type:"button",onClick:isMobile?e.onMuteClicked:null,onTouchEnd:isMobile?e.onMuteClicked:null,"aria-pressed":0===o,"aria-label":r,"data-volume-related":"true",style:p(i)})}(),function(){if(null==e.state.volumeRect)return null;var n=e.state,i=n.volumeRect,r=n.volumeLabel,o=n.volumeStrength;return t.createElement("input",{className:"acc-shadow-el acc-slider",tabIndex:"0",id:"acc-".concat(u,"-volume"),ref:"volumeSlider",type:"range",min:"0",max:"10",value:10*o,step:"1","aria-label":r,onChange:e.onVolumeChange,"aria-orientation":"vertical",style:p(i)})}(),function(){if(null==e.state.captionsRect)return null;var n=e.state,i=n.captionsRect,r=n.captionsLabel,o=n.captionsEnabled;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-captions"),ref:"captions",type:"button",onClick:isMobile?e.onCaptionsClicked:null,onTouchEnd:isMobile?e.onCaptionsClicked:null,"aria-pressed":o,"aria-label":r,style:p(i)})}(),function(){if(null==e.state.transcriptRect)return null;var n=e.state,i=n.transcriptRect,r=n.transcriptLabel,o=n.transcriptOpen;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-transcript"),ref:"transcript",type:"button",onClick:isMobile?e.onTranscriptClicked:null,onTouchEnd:isMobile?e.onTranscriptClicked:null,"aria-pressed":o,"aria-label":r,style:p(i)})}(),null==e.state.transcriptRect||l?null:t.createElement(o,{ref:"transcriptWindow",controlView:e.state.transcriptWindow}),function(){if(null==e.state.playbackSpeedRect)return null;var n=e.state,r=n.playbackSpeedControl,o=n.playbackSpeedRect;return t.createElement(i,{controlId:u,ref:"playbackSpeed",controlView:r,rect:o})}(),function(){if(null==e.state.pipRect)return null;var n=e.state,i=n.pipRect,r=n.pipLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-pip"),ref:"pip",type:"button",onClick:isMobile?e.onPipClicked:null,onTouchEnd:isMobile?e.onPipClicked:null,"aria-label":r,"aria-pressed":e.state.isPipMode,style:p(i)})}(),function(){if(null==e.state.fullscreenRect)return null;var n=e.state,i=n.fullscreenRect,r=n.fullscreenLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-fullscreen"),ref:"fullScreen",type:"button",onClick:isMobile?e.onFullscreenClicked:null,onTouchEnd:isMobile?e.onFullscreenClicked:null,"aria-label":r,"aria-pressed":"false",style:p(i)})}(),function(){if(null==e.state.settingsRect)return null;var n=e.state,i=n.settingsRect,r=n.settingsLabel;return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(u,"-settings"),ref:"settings",type:"button",onClick:isMobile?e.onSettingsClicked:null,onTouchEnd:isMobile?e.onSettingsClicked:null,"aria-label":r,style:p(i)})}(),function(){if(null==e.state.titleRect)return null;var n=e.state,i=n.titleRect,r=n.titleLabel;return t.createElement("h2",{className:"acc-shadow-el acc-text",tabIndex:"-1",style:p(i)},r)}(),function(){if(null==e.state.republishRect)return null;var n=e.state,i=n.republishRect,r=n.republishLabel;return t.createElement("p",{className:"acc-shadow-el acc-text",tabIndex:"-1",style:p(i)},r)}(),function(){if(null==e.state.learnMoreRect)return null;var n=e.state,i=n.learnMoreRect,r=n.learnMoreLabel;return t.createElement("button",{className:"acc-shadow-el acc-text",tabIndex:"0",style:p(i),onClick:isMobile?e.onLearnMoreClicked:null,onTouchEnd:isMobile?e.onLearnMoreClicked:null,"aria-label":r,role:"link"})}())}}}.call(t,n,t,e))||(e.exports=i)},8996:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccRadio:function(){var e=n(7523).renderSemanticText,i=this.getBaseAccStyle(),o=null,s=this.state.label,a=this.id+"_label";return this.hasVarText()&&(o=Object.assign({display:"none"},this.getLabelStyle()),s=this.state.altTextOverridesText?this.state.label:e(this.parseText().children,this)),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-shadow-el",style:i},t.createElement("input",r({className:"acc-shadow-el acc-radio",style:_.pick(i,["width","height"]),"aria-labelledby":a,ref:"input"},this.getBaseAccAttribs(),{type:"radio",name:this.objModel.get("radioGroup"),onClick:this.onClick,checked:this.state.checked})),t.createElement("label",{style:o,id:a},s))}}}.call(t,n,t,e))||(e.exports=i)},7403:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccRadioGroup:function(){var e=this,i=n(5056);return this.isDropIn&&(t=DS.DropIn),t.createElement("form",null,this.props.slideObject.radios.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,r){return t.createElement(i,{ref:"radio-".concat(r),key:n.accKey,idx:r,slideObject:n,shadowDom:e.props.shadowDom})})))}}}.call(t,n,t,e))||(e.exports=i)},4477:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccScrollarea:function(){var e=Object.assign({display:this.state.canScroll?"block":"none"},this.getBaseAccStyle());return this.isDropIn&&(t=DS.DropIn),t.createElement("div",r({className:"acc-shadow-el accessible-scrollbar"},this.getBaseAccAttribs(),{style:e,role:"slider",onKeyDown:this.onKeyDown,"aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":this.getScrollPercentage(),"aria-controls":"scroll-".concat(this.objModel.id),"aria-label":this.getAriaLabel()}))}}}.call(t,n,t,e))||(e.exports=i)},4283:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccSection:function(){var e=this,i=n(7754),r=n(2064),o=n(7370),s=n(3629),a=n(3238),l=n(5098),c=n(1939),u=n(588),d=n(7056),h=n(5670),p=n(7572),f=n(9721),g=n(4867),m={droplist:o,text:a,slider:u,dial:u,button:i,checkbox:r,textinput:l,video:d,modernvideo:h,radiogroup:c,image:s,marker:p,expandinglabel:f,section:g,scrollarea:n(6379)};this.isDropIn&&(t=DS.DropIn);var v="";return v=DS.flagManager.dropInCore?DS.utils.getPath(this.props,"slideObject.elso.relatedObject.currView.getAccessibleText"):this.props.slideObject.elso.relatedObject.currView.getAccessibleText(),t.createElement("section",{"aria-label":v,"aria-hidden":!this.state.expanded||null},this.props.slideObject.slideObjects.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,i){var r=m[e.props.shadowDom.getAccType(n)];if(null!=r)return t.createElement(r,{ref:"acc-obj-".concat(i),key:n.accKey,idx:i,slideObject:n,relatedObject:n.relatedObject,shadowDom:e.props.shadowDom,winScale:e.props.winScale})})))}}}.call(t,n,t,e))||(e.exports=i)},5157:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccShadowDom:function(){var e=this,i=n(7754),r=n(2064),o=n(7370),s=n(3629),a=n(3238),l=n(5098),c=n(1939),u=n(588),d=n(7056),h=n(5670),p=n(7572),f=n(9721),g=n(4867),m=n(6379),v=n(9697),S=n(101),y=n(6160),b=this.props,w=b.width,C=b.height,x=b.winScale;this.isDropIn&&(t=DS.DropIn);var D={droplist:o,text:a,slider:u,dial:u,button:i,checkbox:r,textinput:l,video:d,modernvideo:h,radiogroup:c,image:s,marker:p,expandinglabel:f,section:g,scrollarea:m,threesixtyimage:v,dialog:S,table:y};return t.createElement("div",{className:"acc-shadow-dom",onScroll:this.onScroll,style:{width:w,height:C,transform:"scale(".concat(x,")"),transformOrigin:"0 0"}},!!this.state.children.length&&this.state.children.sort((function(e,t){return e.prop("tabIndex")-t.prop("tabIndex")})).map((function(n,i){var r=D[e.getAccType(n)];if(null!=r)return"dialog"===n.kind?t.createElement(S,{ref:"acc-obj-".concat(n.accIdx),key:n.accKey,idx:i,dialog:n,shadowDom:e,childMap:D,winScale:e.props.winScale}):t.createElement(r,{ref:"acc-obj-".concat(n.accIdx),key:n.accKey,idx:i,slideObject:n,relatedObject:n.relatedObject,shadowDom:e,winScale:e.props.winScale})})),t.createElement("button",{className:"acc-shadow-el acc-button",style:{display:this.state.showHelperButton?"block":"none"}}))}}}.call(t,n,t,e))||(e.exports=i)},9058:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccSlider:function(){var e=this.getBaseAccStyle();return this.state.inverted&&Object.assign(e,{direction:"rtl"}),this.isDropIn&&(t=DS.DropIn),t.createElement("input",r({className:"acc-shadow-el acc-slider"},this.getBaseAccAttribs(),{style:e,"aria-label":this.state.label,type:"range",min:this.state.min,max:this.state.max,step:this.state.step,defaultValue:this.state.currValue,onInput:this.onChange}))}}}.call(t,n,t,e))||(e.exports=i)},8890:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccTable:function(){n(6160);var e=n(7786),i=n(523),o=this.getRows(),s=o.rows,a=o.img,l=this.props.slideObject.get("headerRows");return this.isDropIn&&(t=DS.DropIn),t.createElement("table",r({className:"acc-shadow-el acc-table"},Object.assign(this.getBaseAccAttribs(),{"aria-hidden":null}),{style:Object.assign(this.getBaseAccStyle(),{visibility:"visible"}),type:"table","aria-label":a.vectorData.altText}),l&&t.createElement("thead",null,[s.shift()].map((function(n,i){return t.createElement("tr",{key:"header-row-".concat(i)},n.map((function(n,i){return t.createElement(e,{key:"header-cell-".concat(i),slideObject:n,isTableChild:!0})})))}))),t.createElement("tbody",null,s.map((function(e,n){return t.createElement("tr",{key:"body-row-".concat(n)},e.map((function(e,n){return t.createElement(i,{key:"table-cell-".concat(n),slideObject:e,isTableChild:!0})})))}))))}}}.call(t,n,t,e))||(e.exports=i)},4594:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccTableCell:function(){var e=n(7523).renderSemanticText;this.isDropIn&&(t=DS.DropIn);var i,r=this.state.altTextOverridesText||!this.hasVarText(),o=this.props.slideObject.data().rowSpan,s=this.props.slideObject.data().colSpan;return t.createElement("td",{style:(i=this.props.slideObject,null!=i?{width:i.width(),height:i.height(),top:i.yPos(),left:i.xPos()}:{}),rowSpan:o,colSpan:s},r?this.state.label:e(this.parseText().children,this))}}}.call(t,n,t,e))||(e.exports=i)},3859:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccTableHeaderCell:function(){var e=n(7523).renderSemanticText;this.isDropIn&&(t=DS.DropIn);var i,r=this.state.altTextOverridesText||!this.hasVarText(),o=this.props.slideObject.data().rowSpan,s=this.props.slideObject.data().colSpan;return t.createElement("th",{scope:"col",style:(i=this.props.slideObject,null!=i?{width:i.width(),height:i.height()}:{}),rowSpan:o,colSpan:s},r?this.state.label:e(this.parseText().children,this))}}}.call(t,n,t,e))||(e.exports=i)},612:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccText:function(){var e,i,o=this,s=n(7523).renderSemanticText,a=this.hasVarText(),l=this.state.altTextOverridesText;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",null,!a&&t.createElement("p",r({ref:"focusTarget",className:"acc-shadow-el acc-text"},this.getBaseAccAttribs()),this.state.label),a&&t.createElement("div",r({ref:"focusTarget",className:"acc-shadow-el acc-text"},this.getBaseAccAttribs(),{style:Object.assign(this.getBaseAccStyle(),{display:"flex"})}),t.createElement("div",{style:this.getInnerProps()},l?(e=o.state.label,null!=(i=o.getDefaultLink())?t.createElement("a",{href:"#",onClick:function(){return o.onLinkClicked(i.get("id"))}},e):e):s(this.parseText().children,this)),t.createElement("div",r({ref:"scrollbar"},this.getScrollbarAttribs(),{style:this.getScrollbarStyle()}))))}}}.call(t,n,t,e))||(e.exports=i)},1703:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccTextInput:function(){var e=this,n=Object.assign(this.getBaseAccStyle(),this.getInputStyle()),i=this.getMaxChars(),o=function(){if(e.state.altTextOverridesText)return e.state.label};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{"data-model-id":this.objModel.id},this.isTextArea()?t.createElement("textarea",r({className:"acc-shadow-el acc-textinput"},this.getBaseAccAttribs(),{style:n,ref:"input","aria-label":o(),onChange:this.onInputChange,onKeyUp:this.onKeyUp,onScroll:this.onScroll,onMouseDown:this.onBeginTextSelect,onMouseUp:this.onTextMouseUp,onDoubleClick:this.onDoubleClick,type:"text",placeholder:this.state.placeholder,value:this.state.inputValue,spellCheck:this.state.spellcheck,maxLength:i>0?i:""})):t.createElement("input",r({className:"acc-shadow-el acc-textinput"},this.getBaseAccAttribs(),{style:n,ref:"input","aria-label":o(),onChange:this.onInputChange,onKeyUp:this.onKeyUp,onScroll:this.onScroll,onMouseDown:this.onBeginTextSelect,onMouseUp:this.onTextMouseUp,onDoubleClick:this.onDoubleClick,type:"text",placeholder:this.state.placeholder,value:this.state.inputValue,spellCheck:this.state.spellcheck,maxLength:i>0?i:""})))}}}.call(t,n,t,e))||(e.exports=i)},3389:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccThreeSixtyImage:function(){var e=DS,n=e.stringTabler,i=e.detection,o=this.objModel.data().threesixtyimagedata.navigation.type,s=n.getString("three_image_interaction_".concat(o))||"",a="".concat(this.getLabel()," : ").concat(n.getString("three_image_interaction")),l=this.getBaseAccStyle();return this.isDropIn&&(t=DS.DropIn),t.createElement("div",r({className:"acc-shadow-el acc-three-sixty-image"},this.getBaseAccAttribs(),{style:{left:l.left,top:l.top,width:this.objModel.width(),height:this.objModel.height(),visibility:this.state.tabbable?"visible":"hidden",zIndex:0},role:"application","aria-label":a}),t.createElement("div",{className:"acc-shadow-el acc-three-sixty-image-status",ref:"status","aria-live":"polite","aria-atomic":"true"}),i.os.isIOS&&t.createElement("button",{className:"acc-shadow-el",style:{display:"block",width:"100%",height:"30%",position:"absolute"},tabIndex:"0",onClick:this.onMobileClick},"".concat(n.getString("three_image_interaction")," ").concat(s)),t.createElement("div",{className:"acc-three-sixty-image-content",ref:"accChildren",dangerouslySetInnerHTML:{__html:this.state.innerHtml}}))}}}.call(t,n,t,e))||(e.exports=i)},2942:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{AccVideo:function(){var e=this,n=DS,i=n.detection.deviceView.isMobile,o=n.utils.pxify,s=this.props.slideObject,a=s.id,l=this.state.tabbable;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-shadow-el",style:this.getBaseAccStyle(),id:"acc-".concat(a),tabIndex:"-1",onFocus:this.onShadowFocus,onBlur:this.onShadowBlur,"data-represents":this.objModel.absoluteId,role:"group","aria-label":this.state.label,"aria-hidden":!l||null},s.isEventable&&["onrelease","onpress"].some((function(e){return s.hasEvent(e)}))?t.createElement("button",{className:"acc-shadow-el acc-button",style:_.assign(e.getBaseAccStyle(),{left:0,top:0}),id:"acc-".concat(a,"-button"),tabIndex:"0",type:"button",onClick:e.onButtonClick,"aria-labelledby":"acc-".concat(a),"aria-hidden":!l||null}):null,function(){if(!s.get("showcontrols"))return null;var n=r(e.state.playRect,4),c=n[0],u=n[1],d=n[2],h=n[3];return t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",id:"acc-".concat(a,"-play"),ref:"playPause",type:"button",onClick:i?null:e.onPlayPauseClick,onTouchEnd:i?e.onPlayPauseClick:null,"aria-label":e.state.playLabel,"aria-hidden":!l||null,style:{left:o(c),top:o(u),width:o(d-c),height:o(h-u),display:"block"}})}(),function(){if(!s.get("showcontrols"))return null;var n=r(e.state.seekRect,4),i=n[0],c=n[1],u=n[2],d=n[3];return t.createElement("input",{className:"acc-shadow-el acc-slider",tabIndex:"0",id:"acc-".concat(a,"-seekbar"),ref:"progressBar",type:"range",min:"0",max:e.state.duration,value:e.state.elapsed,step:"1",onInput:e.onSeekbarChange,"aria-hidden":!l||null,style:{left:o(i),top:o(c),width:o(u-i),height:o(d-c),display:"block",padding:0}})}())}}}.call(t,n,t,e))||(e.exports=i)},1842:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{AccVideoButtonMenuPopup:function(){var e=this,i=n(9243).buildStyleFromRect,o=this.state,s=o.buttonRect,a=o.buttonLabel,l=o.isOpen,c=o.menuLabel,u=o.options,d="acc-speedcontrol-menu-".concat(this.props.controlId),h={},p=this.getSelectedItemIndex();return l||(h["aria-hidden"]=!0,h.style={display:"none"}),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-button-menu",style:i(this.props.rect)},t.createElement("button",{ref:"button",className:"acc-shadow-el acc-button",style:i(s),onClick:this.onButtonClicked,"aria-haspopup":"true","aria-controls":d},a),t.createElement("div",r({ref:"menu"},h),t.createElement("ul",{className:"acc-shadow-el acc-menu-list",id:d,role:"menu","aria-label":c},u.map((function(n,r){return t.createElement("li",{key:r,tabIndex:"-1"},t.createElement("button",{ref:"option-".concat(r),className:"acc-shadow-el acc-button","data-top-level":!0,tabIndex:r===e.state.currentIndex&&e.state.isOpen?0:-1,onClick:function(){return e.handleOptionSelected(n.value)},style:i(n.rect),role:"menuitemcheckbox","aria-checked":p===r},n.label))})))))}}}.call(t,n,t,e))||(e.exports=i)},654:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccListbox:function(){var e=this,i=(DS.utils.pxify,n(9243).buildStyleFromRect);return this.isDropIn&&(t=DS.DropIn),t.createElement("div",null,t.createElement("ul",{className:"acc-shadow-el acc-listbox",style:i(this.state.rect),ref:"listbox",tabIndex:"0",role:"listbox","aria-label":this.state.label,"aria-activedescendant":this.getOptionRef(this.state.focusedIndex),"data-top-level":!0},(this.state.options||[]).map((function(n,r){return t.createElement("li",{className:"acc-shadow-el",key:r,id:e.getOptionRef(r),ref:e.getOptionRef(r),role:"option",style:i(n.rect),"aria-selected":n.selected||null,"data-top-level":!0},t.createElement("div",null,e.state.timeCodeEnabled?"".concat(n.time," : ").concat(n.label):n.label))}))))}}}.call(t,n,t,e))||(e.exports=i)},9496:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccSelectControl:function(){var e=this,i=this.state,r=i.options,o=void 0===r?[]:r,s=i.open,a=i.selectedIndex,l=n(9243).buildStyleFromRect,c=(o[a]||{}).label,u=function(t){return"option-".concat(t,"-").concat(e.id)};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-shadow-el",style:l(this.state.rect)},t.createElement("button",{ref:"button",className:"acc-shadow-el","aria-controls":this.selectId,"aria-expanded":s,"aria-activedescendant":s?u(a):null,"aria-haspopup":"listbox",role:"combobox",tabIndex:"0","aria-labelledby":this.props.labelId,style:l(this.state.inputRect),"data-top-level":!0,onClick:this.handleClicked},c),t.createElement("div",{ref:"menu",role:"listbox",id:this.selectId,tabIndex:"-1",style:{visibility:s?"visible":"hidden"}},o.map((function(n,i){return t.createElement("button",{id:u(i),tabIndex:"-1",ref:e.getOptionRef(i),key:i,className:"acc-shadow-el",style:l(n.rect),role:"option","aria-selected":!!n.selected||null,"data-top-level":!0},n.label)}))))}}}.call(t,n,t,e))||(e.exports=i)},9138:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccTranscriptPanel:function(){var e=n(8315),i=n(812),r=n(9243).buildStyleFromRect;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{style:r(this.state.rect),className:"acc-shadow-el acc-transcript-panel"},this.state.showTrackSelect?t.createElement("label",{className:"acc-shadow-el",style:r(this.state.labelRect),id:this.labelId},this.state.labelText):null,this.state.showTrackSelect?t.createElement(e,{ref:"trackSelect",panelId:this.panelId,labelId:this.labelId,controlView:this.props.controlView.getSelectView()}):null,t.createElement(i,{ref:"transcriptList",panelId:this.panelId,controlView:this.props.controlView.getListView()}),this.state.showResumeScroll&&t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",ref:"resumeScroll",type:"button",onClick:this.onResumeScrollClicked,"aria-label":this.state.resumeScrollLabel,style:r(this.state.resumeScrollRect),"data-top-level":!0}))}}}.call(t,n,t,e))||(e.exports=i)},7983:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{AccUtilityWindow:function(){var e=this,i=n(4258),r=n(9243).buildStyleFromRect,o={transcript:i}[this.props.controlView.getPanelType()],s=this.viewProps,a=s.windowId,l=s.titleLabel,c=s.resizeLabel,u=s.moveLabel,d=s.closeLabel,h=s.kebabMenuLabel,p=this.state,f=p.windowRect,g=p.titleRect,m=p.resizeRect,v=p.moveRect,S=p.kebabRect,y=p.closeRect,b=p.isOpen,w=p.kebabOptions,C=void 0===w?[]:w,x="acc-title-".concat(a);return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"acc-shadow-el acc-utility-window",style:Object.assign(r(f),{display:b?"block":"none"})},t.createElement("h2",{id:x,className:"acc-shadow-el acc-text",ref:"title",style:r(g),"data-top-level":!0},l),t.createElement(o,{controlView:this.props.controlView.getPanelView(),windowId:a}),null!=v&&t.createElement("button",{role:"application","aria-roledescription":"button","aria-pressed":"false",className:"acc-shadow-el acc-button",tabIndex:"0",ref:"move",type:"button",onClick:this.onMoveClicked,onBlur:this.stopKeyListening,"aria-label":u,style:r(v),"data-top-level":!0}),null!=m&&t.createElement("button",{role:"application","aria-roledescription":"button","aria-pressed":"false",className:"acc-shadow-el acc-button",tabIndex:"0",ref:"resize",type:"button",onClick:this.onResizeClicked,onBlur:this.stopKeyListening,"aria-label":c,style:r(m),"data-top-level":!0}),t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",ref:"kebabButton",type:"button",onClick:this.onKebabClicked,onBlur:this.onKebabBlur,"aria-label":h,"aria-expanded":!!this.state.kebabOpen,style:r(S),"data-top-level":!0,"data-kebab-part":"true"}),t.createElement("div",null,C.map((function(n,i){var o=n.id,s=n.checked,a=n.label,l=n.rect;return t.createElement("button",{key:i,className:"acc-shadow-el",role:"checkbox","aria-checked":s,tabIndex:"0",style:Object.assign(r(l),{display:e.state.kebabOpen?"block":"none",pointerEvents:"all"}),onClick:function(){return e.handleOptionClicked(o,!s)},onBlur:e.onKebabBlur,"data-top-level":!0,"data-kebab-part":"true"},a)}))),t.createElement("button",{className:"acc-shadow-el acc-button",tabIndex:"0",ref:"close",type:"button",onClick:this.onCloseClicked,"aria-label":d,style:r(y),"data-top-level":!0}))}}}.call(t,n,t,e))||(e.exports=i)},5422:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PauseLegacyIcon:function(){var e=['<use xlink:href="#icon-pause" class="cs-icon-shadow" transform="translate(0, 1)" />','<g id="icon-pause">','<rect x="0" width="4" height="14"/>','<rect x="8" width="4" height="14"/>',"</g>"].join("");return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:"cs-icon pause-icon",width:"12",height:"14",viewBox:"0 0 12 14",key:e,dangerouslySetInnerHTML:{__html:e}})}}}.call(t,n,t,e))||(e.exports=i)},5876:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PlayLegacyIcon:function(){var e='<use xlink:href="#icon-vid-play" class="cs-icon-shadow" transform="translate(0, 1)" /><path id="icon-vid-play" d="M1.3,0.1l8.3,5.2c0.5,0.3,0.5,1,0,1.3l-8.3,5.2c-0.5,0.3-1.3,0-1.3-0.7L0,0.8C0,0.3,0.7-0.2,1.3,0.1z"/>';return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:"cs-icon play-icon",width:"11",height:"14",viewBox:"0 0 11 14",key:e,dangerouslySetInnerHTML:{__html:e}})}}}.call(t,n,t,e))||(e.exports=i)},2919:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{ButtonPopupMenu:function(){var e=this,i=n(6806),s=DS.detection.device.isMobile,a=this.props.colors,l=a.accentColor,c=a.panelBg,u=a.panelBorder,d=a.panelText,h=this.props,p=h.position,f=h.parentWidth,g=h.isFullScreen,m=Math.min(Math.max(f-p,30),140),v=["button-menu"].concat(o(this.props.classNames));this.state.panelOpen&&v.push("open");var S=this.getMenuId(),y=this.getMenuLabel(),b=this.getOptions(),w=g?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur,"aria-haspopup":!0,"aria-controls":S}:{tabIndex:-1,"aria-hidden":!0};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:v.join(" "),style:JSON.parse(this.props.styleJson),onMouseUp:!s&&this.onMouseUp,onTouchEnd:s&&this.onMouseUp},t.createElement("button",r({ref:"button"},w,{onClick:!s&&this.toggleOpen,onTouchEnd:s&&this.toggleOpen}),t.createElement(i,{type:this.getIconType()})),t.createElement("div",{ref:"popup",className:"button-menu-popup"},t.createElement("div",{className:"arrow-border",style:{background:u}}),t.createElement("div",{className:"content",style:{borderColor:u,background:c,left:"".concat(m,"px")}},t.createElement("div",{className:"title",style:{color:d}},y),t.createElement("ul",{"aria-hidden":!g||null,"aria-label":this.getMenuLabel(),role:"menu",id:S},b.map((function(n,r){var o=n.label,a=n.value;return t.createElement("li",{key:r,tabIndex:"-1"},t.createElement("button",{ref:"option".concat(r),className:"menu-choice ".concat(a===e.state.currentChoice?"selected":""),onClick:!s&&function(t){return e.onItemClicked(t,a)},onTouchEnd:s&&function(t){return e.onItemClicked(t,a)},onFocus:g?e.handleFullScreenItemFocus:null,onBlur:g?e.handleFullScreenItemBlur:null,tabIndex:g&&r===e.state.currentIndex?0:-1,role:"menuitemcheckbox","aria-checked":a===e.state.currentChoice,"aria-label":o},t.createElement("div",{className:"selected-icon",style:{fill:l}},t.createElement(i,{type:"modernMenuCheck"})),t.createElement("div",{className:"label",style:{color:d}},o)))})))),t.createElement("div",{className:"arrow-background",style:{background:c}})))}}}.call(t,n,t,e))||(e.exports=i)},8663:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{LocalHlsWarning:function(){var e=n(6806),i=this.props,o=i.width,s=i.height,a=Math.min(o/620,s/275,1),l=a<.4;return l&&(a=Math.min(o/192,s/125,1)),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"local-hls-msg",style:{width:"".concat(this.props.width,"px"),height:"".concat(this.props.height,"px")}},t.createElement("div",{className:["local-hls-content"].concat(r(l?["small-content"]:[])).join(" "),style:{transform:"scale(".concat(100*a,"%) translate(-50%, -50%)")}},t.createElement(e,{type:"localHLSVideo",scale:l?.5:1}),t.createElement("h2",{ref:"title"},this.getTitleText()),!l&&t.createElement("p",{ref:"republish"},this.getRepublishText()),t.createElement("a",{ref:"learnMoreLink",tabIndex:"-1",href:"https://ipc.articulate.com/slw/360/en/streamingvideolocalplayback",className:"learn-more"},t.createElement("span",{ref:"learnMore",className:"learn-more-link"},t.createElement(e,{type:"learnMore",scale:l?.5:1}),t.createElement("span",null,this.getLearnMoreText())))))}}}.call(t,n,t,e))||(e.exports=i)},4636:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MobileVideoSettings:function(){var e=DS.stringTabler,n=this.props.colors,i=n.backgroundColor,r=n.iconColor,o=n.selectBg,s={backgroundColor:i,color:r},a={fill:r},l={borderColor:n.selectBorder,backgroundColor:o,color:r},c=e.getString("modern_video_settings_close"),u=e.getString("modern_video_playback_settings"),d=e.getString("modern_video_captions_label"),h=e.getString("video_transcript_mobile_label"),p=e.getString("modern_video_captions_on"),f=e.getString("modern_video_captions_off"),g=e.getString("modern_video_playback_speed_title"),m=e.getString("modern_video_normal_speed"),v=[],S=(this.props.videoInterface.getTranscriptData()||{transcripts:[]}).transcripts;return S.length>=2?(v.push({value:-1,label:f}),S.forEach((function(e,t){v.push({value:t,label:e.name})}))):v.push.apply(v,[{value:-1,label:f},{value:0,label:p}]),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{"aria-live":"off",className:"mobile-video-settings",role:"dialog","aria-labelledby":"video-settings-title",style:s},t.createElement("h2",{id:"video-settings-title"},u),this.props.showCaptions&&t.createElement("div",{className:"mobile-video-option"},t.createElement("label",null,d,t.createElement("br",null),t.createElement("select",{ref:"captions",className:"settings-captions",style:l,value:this.state.captionsEnabled?"on":"off",onChange:this.handleCaptionsChange},t.createElement("option",{value:"on"},p),t.createElement("option",{value:"off"},f)))),this.props.showTranscript&&t.createElement("div",{className:"mobile-video-option"},t.createElement("label",null,h,t.createElement("br",null),t.createElement("select",{ref:"transcript",className:"settings-transcript",style:l,value:this.state.transcriptTrack,onChange:this.handleTranscriptChange},v.map((function(e,n){return t.createElement("option",{key:n,value:e.value},e.label)}))))),this.props.showPlaybackSpeed&&t.createElement("div",{className:"mobile-video-option"},t.createElement("label",null,g,t.createElement("br",null),t.createElement("select",{ref:"playbackSpeed",className:"settings-playback-speed",style:l,value:this.state.playbackSpeed,onChange:this.handleSpeedChange},t.createElement("option",{value:"2"},"2"),t.createElement("option",{value:"1.75"},"1.75"),t.createElement("option",{value:"1.5"},"1.5"),t.createElement("option",{value:"1.25"},"1.25"),t.createElement("option",{value:"1"},m),t.createElement("option",{value:"0.75"},"0.75"),t.createElement("option",{value:"0.5"},"0.5"),t.createElement("option",{value:"0.25"},"0.25")))),t.createElement("button",{"aria-label":c,className:"close-button",style:a,onClick:this.handleClose,tabIndex:"0"},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",stroke:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M15.5,1.5 L14.5,0.6 L8,7 L1.5,0.6 L0.5,1.5 L7,8 L0.5,14.5 L1.5,15.4 L8,9 L14.5,15.4 L15.5,14.5 L9,8 L15.5,1.5 Z"}))))}}}.call(t,n,t,e))||(e.exports=i)},5894:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{ModernVideoControls:function(){var e=this,i=n(5231),o=n(1112),s=n(2812),a=n(7842),l=n(4716),c=n(7877),u=n(6806),d=DS,h=d.detection,p=h.env.videoControlsFont,f=h.device.isMobile,g=h.deviceView.isPhone,m=d.stringTabler,v=d.utils,S=_.isEmpty(p)?{}:{fontFamilty:p},y=this.props.colors,b=y.backgroundColor,w=y.accentColor,C=y.iconColor,x=!0,D="",E=0,T=this.props.videoInterface.hasTranscript(),P=function(){var t=DS.utils.fix(e.props.currentTime||0,1),n=v.formatSecondsAsTime(t),i=v.formatSecondsAsTime(e.props.duration||0),r=c.getMainWindowEl(),o=document.createElement("div");o.style.visibility="hidden",o.style.position="absolute",r.appendChild(o),o.innerText=i;var s=o.getBoundingClientRect().width;o.innerText="".concat(i," / ").concat(i);var a=o.getBoundingClientRect().width;return r.removeChild(o),{shortTime:n,fullTime:"".concat(n," / ").concat(i),shortWidth:s,fullWidth:a}}(),I=function(){var t=0,n=0;_.forEach(e.props.controlConfig,(function(e,i){e&&"elapsedTime"!==i&&"seek"!==i&&(t++,n+=28)}));var i=e.props.width-n-10;e.props.controlConfig.elapsedTime&&(i>=P.fullWidth?(t++,i-=P.fullWidth,D=P.fullTime):i>=P.shortWidth?(t++,i-=P.shortWidth,D=P.shortTime):x=!1);var r=Math.min(i/t,20),o=5+r/2,s=o,a={};return["playPause","elapsedTime"].forEach((function(t){e.props.controlConfig[t]&&(a[t]={left:"".concat(o,"px")},o+=28+r)})),["settings","fullScreen","pip","playbackSpeed","transcript","captions","volume"].forEach((function(t){e.props.controlConfig[t]&&("playbackSpeed"===t&&(E=e.props.width-s),a[t]={right:"".concat(s,"px")},s+=28+r)})),a}(),A=this.props.fullScreen,M=A?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0};return this.isDropIn&&(t=DS.DropIn,DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore&&(l=DS.DropIn.wrapReactChild({UtilityWindowController:l}))),t.createElement("div",{onMouseUp:!f&&this.onMouseUp,onTouchEnd:f&&this.onMouseUp,className:"modern-video-controls"},t.createElement("div",{className:"video-animation-container ".concat(this.state.controlsHidden?"controls-hidden":"")},t.createElement("div",{className:"control-background",style:{background:b}}),t.createElement(i,{ref:"seek",videoInterface:this.props.videoInterface,isPlaying:this.props.isPlaying,colors:this.props.colors,elapsedTime:this.props.currentTime,totalTime:this.props.duration,loadedTime:this.props.loadedTime,isFullScreen:A,showVideoControls:this.showControls}),t.createElement("div",{className:"video-controlbar ".concat(_.reduce(e.props.controlConfig,(function(e,t,n){return t&&("elapsedTime"!==n||x)&&e.push("".concat(_.kebabCase(n),"-enabled")),e}),[]).join(" ")),style:{fill:C,stroke:C,color:C}},t.createElement("button",r({ref:"playPause",style:I.playPause,className:"modern-video-control video-play-pause",onClick:(!f||A)&&this.togglePlayback,onTouchEnd:f&&this.togglePlayback},M,{"aria-label":this.getPlayPauseLabel()}),t.createElement(u,{type:"modernPause",classNames:["video-pause-icon"]}),t.createElement(u,{type:"modernPlay",classNames:["video-play-icon"]})),t.createElement("div",{style:Object.assign(I.elapsedTime,S),className:"modern-video-control video-elapsed-time","aria-hidden":"true",ref:"elapsedTime"},D),t.createElement(a,{ref:"volume",className:"modern-video-control",styleJson:JSON.stringify(I.volume||{}),colors:this.props.colors,isFullScreen:A,showVideoControls:this.showControls,sliderLabel:this.labels.volume,buttonLabel:this.labels.mute}),t.createElement("button",r({ref:"captions",style:I.captions,className:"modern-video-control video-captions ".concat(this.state.captionsEnabled?"enabled":""),onClick:(!f||A)&&this.toggleCaptions,onTouchEnd:f&&this.toggleCaptions},M,{"aria-label":this.labels.captions,"aria-pressed":this.state.captionsEnabled}),t.createElement(u,{type:"modernCaptions"}),t.createElement("div",{className:"captions-underline",style:{background:w}})),T&&!g&&t.createElement("button",r({ref:"transcript",style:I.transcript,className:"modern-video-control video-transcript ".concat(this.state.transcriptOpened?"enabled":""),onClick:(!f||A)&&this.toggleTranscript,onTouchEnd:f&&this.toggleTranscript},M,{"aria-label":this.labels.transcript,"aria-pressed":this.state.transcriptOpened}),t.createElement(u,{type:"modernTranscript"}),t.createElement("div",{className:"transcript-underline",style:{background:w}})),T&&t.createElement(l,{ref:"transcriptWindowController",id:this.transcriptWindowId,isFullScreen:A,title:m.getString("video_transcript_title"),panelType:"transcript",videoInterface:this.props.videoInterface,dockLocations:this.dockLocations,model:this.props.model}),t.createElement(o,{ref:"playbackSpeed",menuConfig:s,styleJson:JSON.stringify(I.playbackSpeed||{}),classNames:["modern-video-control","video-playback-speed"],colors:this.props.colors,parentWidth:this.props.width,position:E,videoInterface:this.props.videoInterface,model:this.props.model,isFullScreen:A,showVideoControls:this.showControls}),t.createElement("button",r({ref:"pip",style:I.pip,className:"modern-video-control video-pip ".concat(this.state.isPipMode?"pip-mode":""),onClick:!f&&this.togglePip,onTouchEnd:f&&this.togglePip},M,{"aria-label":this.labels.pip,"aria-pressed":this.state.isPipMode}),t.createElement(u,{type:"modernEnterPip",classNames:["enter-pip-icon"]}),t.createElement(u,{type:"modernExitPip",classNames:["exit-pip-icon"]})),t.createElement("button",r({ref:"fullScreen",style:I.fullScreen,className:"modern-video-control video-full-screen",onClick:(!f||A)&&this.toggleFullScreen,onTouchEnd:f&&this.toggleFullScreen},M,{"aria-label":this.labels.fullscreen,"aria-pressed":"true"}),t.createElement(u,{type:"modernEnterFullScreen",classNames:["enter-fullscreen-icon"]}),t.createElement(u,{type:"modernExitFullScreen",classNames:["exit-fullscreen-icon"]})),t.createElement("button",r({ref:"settings",style:I.settings,className:"modern-video-control video-settings",onClick:(!f||A)&&this.openSettings,onTouchEnd:f&&this.openSettings},M,{"aria-label":this.labels.settings}),t.createElement(u,{type:"modernSettings"})))))}}}.call(t,n,t,e))||(e.exports=i)},2994:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{PopupMenu:function(){var e=this,i=n(6806),r=DS.detection.device.isMobile,o=this.props.colors,s=o.accentColor,a=o.panelBg,l=o.panelBorder,c=o.panelText,u=this.props,d=u.position,h=u.parentWidth,p=Math.min(Math.max(h-d,30),140),f=[];this.state.panelOpen&&f.push("open");var g=this.props.getMenuId(),m=this.props.getMenuLabel(),v=this.props.getOptions();return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:f.join(" ")},t.createElement("div",{ref:"popup",className:"button-menu-popup"},t.createElement("div",{className:"arrow-border",style:{background:l}}),t.createElement("div",{className:"content",style:{borderColor:l,background:a,left:"".concat(p,"px")}},t.createElement("div",{className:"title",style:{color:c}},m),t.createElement("ul",{"aria-hidden":"true","aria-label":m,role:"menu",id:g},v.map((function(n,o){var a=n.label,l=n.value;return t.createElement("li",{key:o,tabIndex:"-1"},t.createElement("button",{ref:"option".concat(o),className:"menu-choice ".concat(l===e.state.currentChoice?"selected":""),onClick:!r&&function(t){e.props.onItemClicked(t,l)},onTouchEnd:r&&function(t){e.props.onItemClicked(t,l)},tabIndex:"-1",role:"menuitemcheckbox","aria-checked":l===e.state.currentChoice,"aria-label":a,"data-top-level":!0},t.createElement("div",{className:"selected-icon",style:{fill:s}},t.createElement(i,{type:"modernMenuCheck"})),t.createElement("div",{className:"label",style:{color:c}},a)))})))),t.createElement("div",{className:"arrow-background",style:{background:a}})))}}}.call(t,n,t,e))||(e.exports=i)},5121:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{SeekbarControl:function(){var e=this.props.colors,n=e.accentColor,i=e.volumeThumb,o=e.seekBgColor,s=e.panelBg,a=e.panelBorder,l=(e.panelText,e.iconColor),c=DS,u=c.detection,d=c.utils,h={fill:n,color:"unset",strokeOpacity:0},p={fill:i,color:"unset",strokeOpacity:0},f=this.props,g=f.isFullScreen,m=f.elapsedTime,v=f.totalTime,S=Math.round(m/v*100),y=[].concat(r(this.state.hovering?["hovering"]:[]),r(this.state.dragging?["dragging"]:[])),b=d.formatSecondsAsTime(this.state.hoverTime||0);return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"video-seekbar draggable ".concat(y.join(" ")),style:{background:o},onMouseDown:!u.device.isMobile&&this.onSeekStart,onTouchStart:u.device.isMobile&&this.onSeekStart,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseOut,role:"slider",tabIndex:g?0:-1,"aria-hidden":!g||null,"aria-valuetext":"".concat(S,"%"),onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur},t.createElement("svg",{version:"1.1",viewBox:"0 0 1 1",preserveAspectRatio:"none"},t.createElement("rect",{width:"1",height:"1",style:{fill:o}})),t.createElement("div",{className:"video-seekbar-hitarea"}),t.createElement("div",{className:"video-seekbar-popup",ref:"popup"},t.createElement("div",{className:"arrow-border",style:{background:a}}),t.createElement("div",{className:"content",style:{borderColor:a,background:s,color:l}},t.createElement("span",{className:"seek-time-code"},b)),t.createElement("div",{className:"arrow-background",style:{background:s}})),t.createElement("div",{className:"video-seekbar-elapsed",ref:"elapsedBar",style:h},t.createElement("svg",{version:"1.1",viewBox:"0 0 1 1",preserveAspectRatio:"none"},t.createElement("rect",{width:"1",height:"1",style:h}))),t.createElement("div",{className:"video-seekbar-seek-position",ref:"seekPreview"}),t.createElement("div",{className:"video-seekbar-seek-thumb",ref:"seekThumb",style:{overflow:"hidden "}},t.createElement("svg",{version:"1.1",viewBox:"0 0 1 1",preserveAspectRatio:"none"},t.createElement("rect",{width:"1",height:"1",style:p}))))}}}.call(t,n,t,e))||(e.exports=i)},4864:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{VolumeControl:function(){var e=n(6806),i=this.props.colors,o=i.accentColor,s=i.panelBg,a=i.panelBorder,l=i.volumeThumb,c=i.iconColor,u=this.state.volume,d={height:"".concat(100*u,"%"),overflow:"hidden"},h={overflow:"hidden",top:"".concat(100*(1-u),"%")},p={color:"unset",strokeOpacity:0},f=this.props.isFullScreen,g=f?{tabIndex:0,onFocus:this.handleFullScreenSliderFocus,onBlur:this.handleFullScreenSliderBlur}:{tabIndex:-1,"aria-hidden":!0},m=f?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0},v=["video-volume",this.props.className];return this.state.sliderOpen&&v.push("open"),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:v.join(" "),style:JSON.parse(this.props.styleJson),onMouseLeave:this.onMouseOut},t.createElement("button",r({ref:"mute",onClick:this.toggleMute,onMouseOver:this.onMouseOver,"data-volume-related":"true"},m,{"aria-label":this.props.buttonLabel,"aria-pressed":0===u}),t.createElement(e,{type:"modernVolume",volume:u})),t.createElement("div",{className:"video-volume-slider",style:{fill:s,stroke:a}},t.createElement("svg",{version:"1.1",width:"46px",height:"108px",viewBox:"0 0 46 108"},t.createElement("defs",null,t.createElement("path",{id:"video-volume-path",d:"M11,8 L35,8 C36,8 38,9 38,11 L38,84 C38,85 37,86 37,86 L25,98 C23,100 22,100 20,98 L8,86 C8,86 8,85 8,84 L8,11 C8,9 9,8 11,8 Z"}),t.createElement("filter",{id:"video-volume-filter",x:"-41.7%",y:"-13.4%",width:"183.3%",height:"125.5%",filterUnits:"objectBoundingBox"},t.createElement("feMorphology",{radius:"0.5",operator:"dilate",in:"SourceAlpha",result:"vol-bg-a"}),t.createElement("feGaussianBlur",{stdDeviation:"4",in:"vol-bg-a",result:"vol-bg-b"}),t.createElement("feComposite",{in:"vol-bg-b",in2:"SourceAlpha",operator:"out",result:"vol-bg-c"}),t.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0",type:"matrix",in:"vol-bg-c"}))),t.createElement("g",null,t.createElement("use",{stroke:"none",filter:"url(#video-volume-filter)",href:"#video-volume-path"}),t.createElement("use",{strokeWidth:"1",href:"#video-volume-path"}))),t.createElement("div",r({ref:"volumeSlider",className:"video-volume-track-container","data-volume-related":"true",role:"slider","aria-label":this.props.sliderLabel,"aria-valuetext":10*u,"aria-orientation":"vertical"},g),t.createElement("div",{className:"video-volume-hitarea",onMouseDown:this.onDragStart}),t.createElement("div",{className:"video-volume-track",ref:"track",style:{overflow:"hidden"}},t.createElement("svg",{version:"1.1",viewBox:"0 0 1 1",preserveAspectRatio:"none"},t.createElement("rect",{width:"1",height:"1",fill:c,style:p}))),t.createElement("div",{className:"video-volume-progress",ref:"progress",style:d},t.createElement("svg",{version:"1.1",viewBox:"0 0 1 1",preserveAspectRatio:"none"},t.createElement("rect",{width:"1",height:"1",fill:o,style:p}))),t.createElement("div",{className:"video-volume-dot",ref:"thumb",style:h},t.createElement("svg",{version:"1.1",viewBox:"0 0 1 1",preserveAspectRatio:"none"},t.createElement("rect",{width:"1",height:"1",fill:l,style:p}))))))}}}.call(t,n,t,e))||(e.exports=i)},5556:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{LearnMoreIcon:function(){var e=this.props.scale,n=void 0===e?1:e;return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:20*n,height:20*n,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("rect",{stroke:"none",x:"9",y:"5",width:"2",height:"2"}),t.createElement("mask",{id:"path-2-inside-1_955_382"},t.createElement("path",{stroke:"none",d:"M8 8H9H11V9V14H12V15H11H9H8V14H9V9H8V8Z"})),t.createElement("path",{stroke:"none",d:"M8 8H9H11V9V14H12V15H11H9H8V14H9V9H8V8Z"}),t.createElement("path",{stroke:"none",d:"M8 8V7H7V8H8ZM11 8H12V7H11V8ZM11 14H10V15H11V14ZM12 14H13V13H12V14ZM12 15V16H13V15H12ZM8 15H7V16H8V15ZM8 14V13H7V14H8ZM9 14V15H10V14H9ZM9 9H10V8H9V9ZM8 9H7V10H8V9ZM9 7H8V9H9V7ZM9 9H11V7H9V9ZM10 8V9H12V8H10ZM10 9V14H12V9H10ZM12 13H11V15H12V13ZM13 15V14H11V15H13ZM11 16H12V14H11V16ZM11 14H9V16H11V14ZM8 16H9V14H8V16ZM7 14V15H9V14H7ZM9 13H8V15H9V13ZM10 14V9H8V14H10ZM8 10H9V8H8V10ZM7 8V9H9V8H7Z",mask:"url(#path-2-inside-1_955_382)"}),t.createElement("circle",{fill:"none",cx:"10",cy:"10",r:"9",strokeWidth:"2"}))}}}.call(t,n,t,e))||(e.exports=i)},6115:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{LocalHLSVideoIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:73*this.props.scale,height:51*this.props.scale,viewBox:"0 0 73 51",stroke:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M72.1,2.5 C71.6,1.7,70.8,1,70,0.6 C69.1,0.2,68.2,0,67.2,0 H61.1 H6 C3.9,0,2.1,0.7,0.9,2.5 H0.9 C0.6,3.2,0.2,4,0,4.7 V46.3 C0.2,47.1,0.6,47.8,0.9,48.5 C1.4,49.3,2.1,50,3,50.4 C3.8,50.8,4.8,51,5.7,51 H6.5 H67 C69.1,51,70.9,50.3,72.1,48.5 C72.4,47.8,72.8,47,73,46.3 V4.7 C72.8,3.9,72.5,3.2,72.1,2.5 L72.1,2.5 Z M33,3.9 H40.6 C40.7,4,40.9,4.1,41,4.2 V9.1 H32.5 V6.9 V4.4 C32.5,4.3,32.5,4.2,32.6,4.1 C32.7,4,32.8,3.9,33,3.9 V3.9 Z M12.2,47.1 C12,47.1,11.8,47.2,11.7,47.2 H4.4 C3.9,47.2,3.7,47.1,3.7,46.6 V42 H12.2 L12.2,47.1 Z M12.5,8.7 H12.5 C12.5,8.9,12.3,9.1,12.1,9.2 H4.3 H4.3 C4.2,9.1,4.1,9.1,4,9.1 V4.3 C4.1,4.1,4.2,4,4.4,4 H12.1 C12.2,3.9,12.3,4,12.4,4.1 C12.5,4.2,12.5,4.3,12.5,4.4 C12.5,5.8,12.5,7.3,12.5,8.7 L12.5,8.7 Z M26.5,47.1 C26.3,47.1,26.1,47.2,26,47.2 H18.6 H18.6 C18.5,47.2,18.3,47.2,18.1,47 C18,46.9,18,46.7,18,46.6 V42 L26.5,42 V47.1 L26.5,47.1 Z M26.8,8.6 C26.8,8.8,26.8,8.9,26.7,9 C26.5,9.2,26.4,9.2,26.2,9.2 H18.7 C18.5,9.1,18.3,9,18.2,8.8 V4 C18.5,4,18.7,4,18.8,4 H26.1 V4 C26.3,3.9,26.5,4,26.6,4.1 C26.8,4.2,26.8,4.4,26.8,4.6 C26.8,5.9,26.8,7.3,26.8,8.6 L26.8,8.6 Z M40.7,47.1 C40.5,47.1,40.3,47.2,40.2,47.2 H32.9 C32.4,47.2,32.2,47.1,32.3,46.6 V42.5 C32.3,42.3,32.3,42.2,32.3,42 L40.7,42 L40.7,47.1 Z M41.6,27.4 L33.2,32.6 C31.5,33.7,30.1,32.9,30.1,30.9 V20.1 C30.1,18.1,31.5,17.4,33.2,18.4 L41.6,23.6 C43.3,24.6,43.3,26.4,41.6,27.4 Z M55,46.8 C54.9,47,54.8,47.1,54.6,47.1 H46.9 C46.7,47.1,46.6,47,46.5,46.8 V42 H55 C55,43.7,55,45.3,55,46.8 H55 Z M55.3,8.7 C55.3,8.9,55.3,9.2,54.9,9.2 H46.8 V4 H50.7 H54.8 H54.8 C54.9,3.9,55.1,4,55.2,4.1 C55.3,4.2,55.3,4.3,55.3,4.5 C55.3,5.8,55.3,7.2,55.3,8.7 L55.3,8.7 Z M69.2,47.1 H60.8 V42 H69.2 V47.1 Z M69.5,8.7 C69.5,9,69.5,9.2,69.1,9.2 H61.3 H61.3 C61.2,9.2,61.1,9.1,61,9.1 V4 H61.6 H68.9 C69.1,3.9,69.3,4,69.4,4.1 C69.6,4.2,69.6,4.4,69.5,4.6 C69.5,6,69.5,7.3,69.5,8.7 L69.5,8.7 Z"}))}}}.call(t,n,t,e))||(e.exports=i)},8266:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernCaptionsIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"18",height:"15",viewBox:"0 0 18 15",focusable:"false",transform:"translate(0, 1)"},t.createElement("path",{d:"M15.2 0.4C15.6 0.4 15.9 0.6 16.2 0.8C16.4 1.1 16.6 1.4 16.6 1.8V10.6C16.6 10.9 16.4 11.3 16.2 11.5C15.9 11.7 15.6 11.9 15.2 11.9H10.2L8.6 13.4L7.1 11.9H2.1C1.7 11.9 1.4 11.7 1.1 11.5C0.9 11.3 0.7 10.9 0.7 10.6V1.8C0.7 1.4 0.9 1.1 1.1 0.8C1.4 0.6 1.7 0.4 2.1 0.4H15.2Z",strokeWidth:"0.8",fill:"none"}),t.createElement("path",{d:"M8.0 4.4C7.9 4.5 7.9 4.5 7.8 4.6C7.8 4.6 7.7 4.6 7.7 4.6C7.6 4.6 7.5 4.6 7.4 4.6C7.4 4.5 7.3 4.5 7.2 4.4C7.1 4.3 7.0 4.3 6.8 4.3C6.7 4.2 6.5 4.2 6.3 4.2C6.1 4.2 5.9 4.2 5.7 4.3C5.5 4.4 5.3 4.5 5.2 4.7C5.1 4.9 5.0 5.1 4.9 5.3C4.9 5.6 4.8 5.8 4.8 6.2C4.8 6.5 4.9 6.8 4.9 7.0C5.0 7.3 5.1 7.5 5.2 7.6C5.4 7.8 5.5 7.9 5.7 8.0C5.9 8.1 6.1 8.1 6.3 8.1C6.5 8.1 6.7 8.1 6.9 8.1C7.0 8.0 7.1 7.9 7.2 7.9C7.3 7.8 7.4 7.7 7.5 7.7C7.5 7.6 7.6 7.6 7.7 7.6C7.8 7.6 7.9 7.7 8.0 7.7L8.4 8.3C8.2 8.5 8.1 8.6 7.9 8.7C7.7 8.9 7.5 9.0 7.3 9.0C7.1 9.1 6.9 9.2 6.7 9.2C6.5 9.2 6.3 9.2 6.0 9.2C5.7 9.2 5.3 9.2 5.0 9.0C4.7 8.9 4.4 8.7 4.2 8.4C3.9 8.2 3.7 7.8 3.6 7.5C3.4 7.1 3.4 6.6 3.4 6.2C3.4 5.7 3.4 5.3 3.6 4.9C3.7 4.6 3.9 4.2 4.1 4.0C4.4 3.7 4.7 3.5 5.0 3.3C5.4 3.2 5.8 3.1 6.3 3.1C6.7 3.1 7.1 3.2 7.4 3.3C7.8 3.4 8.1 3.7 8.3 3.9L8.0 4.4Z",stroke:"none"}),t.createElement("path",{d:"M13.5 4.4C13.4 4.5 13.4 4.5 13.4 4.6C13.3 4.6 13.3 4.6 13.2 4.6C13.1 4.6 13.0 4.6 13.0 4.6C12.9 4.5 12.8 4.5 12.7 4.4C12.6 4.3 12.5 4.3 12.4 4.3C12.2 4.2 12.1 4.2 11.9 4.2C11.6 4.2 11.4 4.2 11.2 4.3C11.0 4.4 10.9 4.5 10.7 4.7C10.6 4.9 10.5 5.1 10.5 5.3C10.4 5.6 10.4 5.8 10.4 6.2C10.4 6.5 10.4 6.8 10.5 7.0C10.5 7.3 10.6 7.5 10.8 7.6C10.9 7.8 11.0 7.9 11.2 8.0C11.4 8.1 11.6 8.1 11.8 8.1C12.1 8.1 12.3 8.1 12.4 8.1C12.5 8.0 12.7 7.9 12.8 7.9C12.9 7.8 12.9 7.7 13.0 7.7C13.1 7.6 13.2 7.6 13.3 7.6C13.4 7.6 13.5 7.7 13.5 7.7L13.9 8.3C13.8 8.5 13.6 8.6 13.4 8.7C13.2 8.9 13.0 9.0 12.8 9.0C12.6 9.1 12.4 9.2 12.2 9.2C12.0 9.2 11.8 9.2 11.6 9.2C11.2 9.2 10.9 9.2 10.5 9.0C10.2 8.9 9.9 8.7 9.7 8.4C9.4 8.2 9.3 7.8 9.1 7.5C9.0 7.1 8.9 6.6 8.9 6.2C8.9 5.7 9.0 5.3 9.1 4.9C9.2 4.6 9.4 4.2 9.6 4.0C9.9 3.7 10.2 3.5 10.6 3.3C10.9 3.2 11.3 3.1 11.8 3.1C12.2 3.1 12.6 3.2 13.0 3.3C13.3 3.4 13.6 3.7 13.9 3.9L13.5 4.4Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},7038:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernEnterFullScreenIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"14",viewBox:"0 0 14 14",focusable:"false"},t.createElement("path",{d:"M1.99055 2.3H5.1V0.4H0.1V5.2H1.9L1.9 2.3Z",stroke:"none"}),t.createElement("path",{d:"M5.1 11.8H1.9V8.9H0.1V13.6H5.1L5.1 11.8Z",stroke:"none"}),t.createElement("path",{d:"M11.5 11.8H8.4V13.6H13.3V8.9H11.5L11.5 11.8Z",stroke:"none"}),t.createElement("path",{d:"M8.4 2.3H11.5V5.2H13.3V0.4H8.4L8.4 2.3Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},4728:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernEnterPipIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"18",height:"15",viewBox:"0 0 18 15",focusable:"false"},t.createElement("path",{d:"M14.4,6.4 L8,6.4 L8,11.2 L14.4,11.2 L14.4,6.4 L14.4,6.4 Z M17.6,12.8 L17.6,1.6 C17.6,0.7,16.9,0,16,0 L1.6,0 C0.7,0,0,0.7,0,1.6 L0,12.8 C0,13.7,0.7,14.4,1.6,14.4 L16,14.4 C16.9,14.4,17.6,13.7,17.6,12.8 L17.6,12.8 Z M16,12.8 L1.6,12.8 L1.6,1.6 L16,1.6 L16,12.8 L16,12.8 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1409:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernExitFullScreenIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"15",height:"14",viewBox:"0 0 15 14",focusable:"false"},t.createElement("path",{d:"M4.2 4.1H0.1V6.0H6.2V0H4.2V4.1Z",stroke:"none"}),t.createElement("path",{d:"M0.1 9.8H4.2V13.9H6.2V7.9H0.1V9.8Z",stroke:"none"}),t.createElement("path",{d:"M10.0 9.8H14.1V7.9H8.1V13.9H10.0V9.8Z",stroke:"none"}),t.createElement("path",{d:"M8.1 0V6.0H14.1V4.1H10.0V0H8.1Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1487:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernExitPipIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"18",height:"15",viewBox:"0 0 18 15",focusable:"false"},t.createElement("path",{d:"M14.4,3.4 L3,3.4 L3,11.2 L14.4,11.2 L14.4,6.4 L14.4,6.4 Z ",stroke:"none"}),t.createElement("path",{d:"M17.6,12.8 L17.6,1.6 C17.6,0.7,16.9,0,16,0 L1.6,0 C0.7,0,0,0.7,0,1.6 L0,12.8 C0,13.7,0.7,14.4,1.6,14.4 L16,14.4 C16.9,14.4,17.6,13.7,17.6,12.8 L17.6,12.8 Z M16,12.8 L1.6,12.8 L1.6,1.6 L16,1.6 L16,12.8 L16,12.8 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},5423:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernMenuCheckIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"12",height:"9",viewBox:"0 0 12 9"},t.createElement("path",{d:"M10 0.3 L11.5 1.7 L4.3 8.9 L0 4.7 L1.4 3.2 L4.3 6.1 L10 0.3 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1453:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernPauseIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"9",height:"14",viewBox:"0 0 9 14",focusable:"false"},t.createElement("rect",{x:"0",width:"3",height:"14",stroke:"none"}),t.createElement("rect",{x:"6",width:"3",height:"14",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},183:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernPlayIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"16",viewBox:"0 0 14 16",focusable:"false"},t.createElement("path",{d:"M1.4 15.4C0.8 15.8 0 15.3 0 14.5L0 1.4C0 0.6 0.8 0.1 1.4 0.5L12.9 7.1C13.5 7.5 13.5 8.4 12.9 8.8L8.0 11.6L1.4 15.4Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},6619:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernSettingsIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},t.createElement("path",{d:"M14,3.2 L14.9,4.7 C15.3,5.5,15.1,6.4,14.4,6.8 L13.7,7.4 C13.7,7.6,13.7,7.7,13.7,7.9 C13.7,8.1,13.7,8.3,13.7,8.5 L14.4,9 C15.1,9.5,15.3,10.4,14.9,11.1 L14,12.7 C13.6,13.4,12.7,13.7,11.9,13.3 L11.1,13 C10.8,13.2,10.5,13.4,10.1,13.5 L10,14.4 C9.9,15.3,9.2,15.9,8.4,15.9 H6.6 C5.8,15.9,5.1,15.3,5.1,14.4 L5,13.5 C4.6,13.4,4.3,13.2,4,13 L3.1,13.3 C2.4,13.7,1.5,13.4,1.1,12.7 L0.2,11.1 C-0.2,10.4,0,9.5,0.7,9 L1.4,8.5 C1.4,8.3,1.4,8.1,1.4,7.9 C1.4,7.7,1.4,7.6,1.4,7.4 L0.7,6.8 C0,6.4,-0.2,5.5,0.2,4.7 L1.1,3.2 C1.5,2.5,2.4,2.2,3.1,2.5 L4,2.9 C4.3,2.7,4.6,2.5,5,2.3 L5.1,1.4 C5.1,0.6,5.8,0,6.6,0 H8.4 C9.2,0,9.9,0.6,10,1.4 L10.1,2.3 C10.5,2.5,10.8,2.7,11.1,2.9 L11.9,2.5 C12.7,2.2,13.6,2.5,14,3.2 Z M7.5,11.5 C9.4,11.5,11,9.9,11,8 C11,6.1,9.4,4.5,7.5,4.5 C5.6,4.5,4,6.1,4,8 C4,9.9,5.6,11.5,7.5,11.5 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},6874:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernSpeedIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",focusable:"false"},t.createElement("path",{d:"M5.9 4.0L10.4 7.4L5.9 10.8V4.0ZM1.5 8.2H0.0C0.1 9.6 0.6 10.9 1.5 12.0L2.6 11.0C2.0 10.1 1.6 9.2 1.5 8.2H1.5ZM15 7.4H14.9C14.9 5.6 14.3 3.8 13.0 2.4C11.8 1.0 10.0 0.1 8.2 0.0V1.5C10.1 1.7 11.8 2.9 12.8 4.7C13.7 6.4 13.7 8.5 12.8 10.2C11.8 12.0 10.1 13.1 8.2 13.4V14.9C10.0 14.7 11.8 13.8 13.0 12.5C14.3 11.1 14.9 9.3 14.9 7.4L15 7.4ZM3.6 12.1L2.5 13.1C3.7 14.1 5.1 14.8 6.7 14.9V13.4V13.4C5.5 13.3 4.5 12.8 3.6 12.1V12.1ZM2.6 3.9L1.5 2.8C0.6 3.9 0.1 5.3 0 6.7H1.5H1.5C1.6 5.7 2.0 4.7 2.6 3.9H2.6ZM6.7 1.5V0.0C5.1 0.1 3.7 0.7 2.5 1.7L3.6 2.8C4.5 2.1 5.5 1.6 6.7 1.5V1.5Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},674:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernTranscriptIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"16",height:"15",viewBox:"0 0 16 15",focusable:"false"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14,7.5 C14,11,11.2,13.9,7.6,13.9 C4.1,13.9,1.2,11,1.2,7.5 C1.2,4,4.1,1.1,7.6,1.1 C11.2,1.1,14,4,14,7.5 Z M15.1,7.5 C15.1,11.6,11.8,15,7.6,15 C3.5,15,0.1,11.6,0.1,7.5 C0.1,3.4,3.5,0,7.6,0 C11.8,0,15.1,3.4,15.1,7.5 Z M4,4.3 C4,4,4.3,3.7,4.6,3.7 H10.6 C11,3.7,11.2,4,11.2,4.3 C11.2,4.6,11,4.9,10.6,4.9 H4.6 C4.3,4.9,4,4.6,4,4.3 Z M4,6.5 C4,6.2,4.3,5.9,4.6,5.9 H7.6 C8,5.9,8.2,6.2,8.2,6.5 C8.2,6.8,8,7.1,7.6,7.1 H4.6 C4.3,7.1,4,6.8,4,6.5 Z M4.6,8.2 C4.3,8.2,4,8.5,4,8.8 C4,9.1,4.3,9.4,4.6,9.4 H10.6 C11,9.4,11.2,9.1,11.2,8.8 C11.2,8.5,11,8.2,10.6,8.2 H4.6 Z M4,11 C4,10.7,4.3,10.4,4.6,10.4 H9.6 C10,10.4,10.2,10.7,10.2,11 C10.2,11.3,10,11.6,9.6,11.6 H4.6 C4.3,11.6,4,11.3,4,11 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},4528:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ModernVolumeIcon:function(){var e=this.props.volume,n=void 0===e?1:e,i=Math.min(1,n/.5),r=Math.min(1,Math.max(0,n/.5-.5));return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"17",height:"13",viewBox:"0 0 17 13",focusable:"false"},t.createElement("rect",{x:"0.7",y:"4.0",width:"2.6",height:"5.2",stroke:"none"}),t.createElement("path",{d:"M4.2 4.0L8.6 0.4V12.8L4.2 9.2V4.0Z",stroke:"none"}),t.createElement("mask",{id:"mask0_180_1082",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"9",y:"0",width:"8",height:"13"},t.createElement("rect",{x:"10",y:"0.4",width:"7.0",height:"12.3",fill:"white"})),t.createElement("g",{mask:"url(#mask0_180_1082)"},t.createElement("circle",{cx:"8.6",cy:"6.6",r:"5.7",strokeWidth:"1",fill:"none",opacity:r}),t.createElement("circle",{cx:"8.6",cy:"6.6",r:"3.0",strokeWidth:"1",fill:"none",opacity:i})))}}}.call(t,n,t,e))||(e.exports=i)},7352:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{KebabMenu:function(){var e=this,i=DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore?n(6806).wrapped:n(6806),o=["kebab-popup"],s=this.props.isFullScreen,a=s||DS.detection.deviceView.isPhone?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0};return this.state.open&&o.push("open"),this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"kebab-menu"},t.createElement("button",r({ref:"kebabButton",className:"title-button kebab-button",onClick:this.handleKebabClicked},a,{"aria-label":DS.stringTabler.getString("acc_window_options"),"aria-expanded":this.state.open}),t.createElement(i,{type:"verticalEllipse"})),t.createElement("div",{className:o.join(" ")},t.createElement("div",{className:"kebab-arrow-border"}),t.createElement("div",{className:"content"},this.props.options.map((function(n){var o=n.id,l=n.value,c=n.label,u=["checkbox"];l&&u.push("checked");var d=Object.assign(a,s?{role:"checkbox","aria-checked":l,"aria-label":c}:{});return t.createElement("button",r({key:o,ref:e.getOptionRef(o),className:u.join(" "),onClick:function(){return e.handleOptionClicked(o,l)}},d,{"data-kebab-part":"true"}),t.createElement("div",{className:"icon-wrap"},t.createElement(i,{type:"checked",classNames:["checked-icon"]}),t.createElement(i,{type:"unchecked",classNames:["unchecked-icon"]})),t.createElement("div",{className:"checkbox-label"},c))}))),t.createElement("div",{className:"kebab-arrow-background"})))}}}.call(t,n,t,e))||(e.exports=i)},596:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{SelectControl:function(){var e=this,i=n(6806),s=this.props.isFullScreen?{role:"combobox","aria-labelledby":this.props.selectLabelId,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{};return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"select-control"},t.createElement("button",r({ref:"input",className:["select-button"].concat(o(this.state.open?["open"]:[])).join(" "),onClick:this.handleClicked},s),t.createElement("span",{className:"selected-text",ref:"selectedValue"},this.getSelectedText()),t.createElement("div",{className:"down-arrow"})),t.createElement("div",{ref:"list",className:["select-droplist"].concat(o(this.state.open?["open"]:[])).join(" ")},this.props.options.map((function(n,r){var s=e.state.selectedIndex===r;return t.createElement("div",{key:r,ref:e.getRefName(r),role:"option",className:["select-option"].concat(o(s?["selected"]:[])).join(" "),onClick:function(t){return e.handleOptionClicked(t,r)},"data-index":r},t.createElement("div",{className:"selected-icon"},t.createElement(i,{type:"modernMenuCheck"})),t.createElement("div",{className:"label"},n.display))}))))}}}.call(t,n,t,e))||(e.exports=i)},7767:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{TranscriptList:function(){var e=this,n=this.props,i=n.transcript,o=(i=void 0===i?{}:i).cues,s=void 0===o?[]:o,a=n.isFullScreen,l=DS,c=l.stringTabler,u=l.detection.deviceView.isPhone,d=-1===this.state.focusedIndex?null:this.state.focusedIndex;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"transcript-list",onClick:this.handleListClicked},t.createElement("div",{className:"content",ref:"content"},t.createElement("ul",{ref:"listbox",tabIndex:a||u?0:-1,role:"listbox","aria-label":c.getString("acc_video_transcript_list"),"aria-activedescendant":this.formatItemRef(d)},s.map((function(n,i){var r=e.state.selectedIndex===i;return t.createElement("li",{key:i,id:e.formatItemRef(i),ref:e.formatItemRef(i),className:r?"selected":null,role:"option","aria-selected":r,"data-index":i},e.getTimeCodesEnabled()&&t.createElement("div",{className:"time-code"},e.formatTime(n.start)),t.createElement("div",{className:"cue-text"},n.text))})))),t.createElement("div",{className:["scrollbar"].concat(r(this.state.scrollable?["scrollable"]:[])).join(" "),ref:"scrollbar"},t.createElement("div",{className:"scroll-thumb",ref:"scrollThumb"})))}}}.call(t,n,t,e))||(e.exports=i)},2768:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}void 0===(i=function(e){var t=n(3305);return{TranscriptPanel:function(){var e=n(4889),i=n(6545),o=DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore?n(6806).wrapped:n(6806),s=DS.detection.deviceView.isPhone,a=this.props.isFullScreen||s?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0},l=this.props.options.find((function(e){return"autoScroll"===e.id})),c=l&&this.state.autoScrollPaused,u="panel-".concat(this.props.id),d="select-".concat(u),h=!s&&this.state.trackOptions.length>1&&!DS.flagManager.multiLangSupport;return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"transcript-panel ".concat(h?"":"single-track")},h?t.createElement("label",{id:d},t.createElement("span",{ref:"label"},this.selectLabel),t.createElement(e,{ref:"trackSelect",options:this.state.trackOptions,changeCallback:this.handleTrackChanged,toPanelCoords:this.toPanelCoords,isFullScreen:this.props.isFullScreen,labelId:d})):null,t.createElement(i,{ref:"transcriptList",toPanelCoords:this.toPanelCoords,transcript:this.state.transcript,autoScroll:l,autoScrollPaused:this.state.autoScrollPaused,videoInterface:this.props.videoInterface,isVisible:this.props.isVisible,options:this.props.options,isFullScreen:this.props.isFullScreen,notifyScrolled:this.handleTranscriptScrolled}),t.createElement("button",r({ref:"resumeAutoScroll",className:"resume-auto-scroll",onClick:this.handleResumeScrollClicked},a,{style:{display:c?"flex":"none"},"aria-label":this.resumeAutoScrollText}),t.createElement(o,{type:"upArrow"}),this.resumeAutoScrollText))}}}.call(t,n,t,e))||(e.exports=i)},6546:function(e,t,n){var i;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){var t=n(3305);return{UtilityWindow:function(){var e=DS,i=e.detection,s=i.deviceView,a=s.isPhone,l=s.isMobile,c=i.orientation,u=e.presentation,d=DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore?n(6806).wrapped:n(6806),h=n(872),p=a&&c.isPortrait,f=this.getPanelClass(),g=this.state.isFullScreen,m="".concat(this.props.id,"-title"),v="rtl"===u.get("textDirection"),S=g||a?{tabIndex:0,onFocus:this.handleFullScreenFocus,onBlur:this.handleFullScreenBlur}:{tabIndex:-1,"aria-hidden":!0},y=["utility-window"].concat(o(this.state.isOpen?["open"]:[]),o(this.state.moving?["moving"]:[]),o(g?["fullscreen"]:[]),o(this.state.keyMoving?["key-moving"]:[]),o(this.state.keyFocusActive?["keyfocus"]:[]),o(v?["rtl"]:[])).join(" ");return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:y,style:this.getDockedPosition(),onMouseUp:this.onMouseUp,"aria-hidden":!g},t.createElement("div",{className:"titlebar"},p?t.createElement("div",{className:"utility-window-thumb"}):null,t.createElement("div",{className:"move-handle",ref:"moveHandle"}),t.createElement("h2",{id:m,ref:"title",className:"title"},DS.flagManager.multiLangSupport?this.state.title:this.props.title)),t.createElement("div",{className:"panel-container"},t.createElement(f,r({ref:"panelView"},this.props,{isVisible:this.state.isOpen,options:this.state.kebabOptions,optionCallback:this.optionUpdated,toWindowCoords:this.toWindowCoords,isFullScreen:g}))),!l&&t.createElement("div",{className:"bottom-controls"},t.createElement("button",r({ref:"move",role:"application",className:["utility-move"].concat(o(this.state.keyMoving?["active"]:[])).join(" "),onClick:this.handleMoveButton},S,{"aria-label":DS.stringTabler.getString("acc_window_move")}),t.createElement(d,{type:"move"})),t.createElement("button",r({ref:"resize",role:"application",className:["utility-resize"].concat(o(this.state.keyResizing?["active"]:[])).join(" "),onClick:this.handleResizeButton},S,{"aria-label":DS.stringTabler.getString("acc_window_resize")}),t.createElement(d,{type:"resize"}))),t.createElement("div",{className:"title-buttons"},t.createElement(h,{ref:"kebabMenu",options:this.state.kebabOptions,optionCallback:this.optionUpdated,toWindowCoords:this.toWindowCoords,isFullScreen:g}),t.createElement("button",r({ref:"close",className:"title-button utility-close",onClick:this.handleCloseClicked},S,{"aria-label":DS.stringTabler.getString("acc_window_close")}),t.createElement(d,{type:"close"}))),!a&&t.createElement("div",{className:"resize-handles"},t.createElement("div",{className:"handle resize-tl",ref:"topLeftSizer","data-resize-pos":"topleft"}),t.createElement("div",{className:"handle resize-t",ref:"topSizer","data-resize-pos":"top"}),t.createElement("div",{className:"handle resize-tr",ref:"topRightSizer","data-resize-pos":"topright"}),t.createElement("div",{className:"handle resize-r",ref:"rightSizer","data-resize-pos":"right"}),t.createElement("div",{className:"handle resize-l",ref:"leftSizer","data-resize-pos":"left"}),t.createElement("div",{className:"handle resize-bl",ref:"bottomLeftSizer","data-resize-pos":"bottomleft"}),t.createElement("div",{className:"handle resize-b",ref:"bottomSizer","data-resize-pos":"bottom"}),t.createElement("div",{className:"handle resize-br",ref:"bottomRightSizer","data-resize-pos":"bottomright"})),t.createElement("div",{ref:"buttonMoveHandle",className:"button-move-handle"}))}}}.call(t,n,t,e))||(e.exports=i)},4486:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{UtilityWindowController:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("div",{className:"utility-window-control"})}}}.call(t,n,t,e))||(e.exports=i)},4201:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{CheckedIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"14",viewBox:"0 0 14 14"},t.createElement("mask",{id:"check-mask"},t.createElement("rect",{y:"0",width:"14",height:"14",rx:"3",fill:"white",stroke:"none"}),t.createElement("path",{d:"M10.8,3 L12,4.4 L5.7,11 L2,7.1 L3.2,5.8 L5.7,8.4 L10.8,3 Z",fill:"black",stroke:"none"})),t.createElement("rect",{y:"0",width:"14",height:"14",rx:"3",stroke:"none",mask:"url(#check-mask)"}))}}}.call(t,n,t,e))||(e.exports=i)},2421:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{CloseIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",focusable:"false"},t.createElement("path",{d:"M15.5,1.5 L14.5,0.6 L8,7 L1.5,0.6 L0.5,1.5 L7,8 L0.5,14.5 L1.5,15.4 L8,9 L14.5,15.4 L15.5,14.5 L9,8 L15.5,1.5 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},9574:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{MoveIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",focusable:"false"},t.createElement("path",{d:"M10.7,7 V4.9 V1.4 V0.7 C10.7,0.3,10.4,0,10,0 C9.6,0,9.3,0.3,9.3,0.7 V2.8 V6.2 V7 C9.3,7.4,9.6,7.7,10,7.7 C10.4,7.7,10.7,7.4,10.7,7 Z",stroke:"none"}),t.createElement("path",{d:"M10.7,19.3 V17.2 V13.8 V13 C10.7,12.6,10.4,12.3,10,12.3 C9.6,12.4,9.3,12.6,9.3,13 V15.1 V18.6 V19.3 C9.3,19.7,9.6,20,10,20 C10.4,20,10.7,19.7,10.7,19.3 Z",stroke:"none"}),t.createElement("path",{d:"M7,9.3 H4.9 H1.4 H0.7 C0.3,9.3,0,9.6,0,10 C0,10.4,0.3,10.7,0.7,10.7 H2.8 H6.2 H7 C7.4,10.7,7.7,10.4,7.7,10 C7.7,9.6,7.4,9.3,7,9.3 Z",stroke:"none"}),t.createElement("path",{d:"M19.3,9.3 H17.2 H13.8 H13 C12.6,9.3,12.3,9.6,12.3,10 C12.4,10.4,12.6,10.7,13,10.7 H15.1 H18.6 H19.3 C19.7,10.7,20,10.4,20,10 C20,9.6,19.7,9.3,19.3,9.3 Z",stroke:"none"}),t.createElement("path",{d:"M7.7,3.9 C8,3.6,8.3,3.3,8.6,3 C9.1,2.5,9.6,2,10.1,1.5 C10.2,1.3,10.3,1.2,10.5,1.1 H9.5 C9.9,1.4,10.2,1.7,10.5,2.1 C11,2.6,11.5,3.1,12,3.6 C12.1,3.7,12.2,3.8,12.3,3.9 C12.6,4.1,13,4.2,13.2,3.9 C13.5,3.6,13.5,3.2,13.2,3 C12.9,2.7,12.6,2.4,12.3,2 C11.8,1.5,11.3,1,10.8,0.5 C10.7,0.4,10.6,0.3,10.5,0.2 C10.2,-0.1,9.8,-0.1,9.5,0.2 C9.2,0.5,8.9,0.8,8.6,1.1 C8.1,1.6,7.6,2.1,7.1,2.6 C7,2.8,6.9,2.9,6.8,3 C6.5,3.2,6.5,3.7,6.8,3.9 C7,4.1,7.4,4.2,7.7,3.9 Z",stroke:"none"}),t.createElement("path",{d:"M6.8,17 C7.1,17.3,7.4,17.7,7.7,18 C8.2,18.5,8.7,19,9.2,19.5 C9.3,19.6,9.4,19.7,9.5,19.8 C9.8,20.1,10.2,20.1,10.5,19.8 C10.8,19.5,11.1,19.2,11.4,18.9 C11.9,18.4,12.4,17.9,12.9,17.4 C13,17.3,13.1,17.1,13.2,17 C13.5,16.8,13.5,16.3,13.2,16.1 C13,15.9,12.6,15.8,12.3,16.1 C12,16.4,11.7,16.7,11.4,17 C10.9,17.5,10.4,18,9.9,18.5 C9.8,18.7,9.7,18.8,9.5,18.9 H10.5 C10.1,18.6,9.8,18.3,9.5,17.9 C9,17.4,8.5,16.9,8,16.4 C7.9,16.3,7.8,16.2,7.7,16.1 C7.4,15.9,7,15.8,6.8,16.1 C6.5,16.4,6.5,16.8,6.8,17 Z",stroke:"none"}),t.createElement("path",{d:"M3.9,12.3 L1.1,9.5 V10.5 C1.4,10.1,1.7,9.8,2.1,9.5 C2.6,9,3.1,8.5,3.6,8 C3.7,7.9,3.8,7.8,3.9,7.7 C4.1,7.4,4.2,7,3.9,6.8 C3.6,6.5,3.2,6.5,3,6.8 C2.7,7.1,2.4,7.4,2,7.7 C1.5,8.2,1,8.7,0.5,9.2 C0.4,9.3,0.3,9.4,0.2,9.5 C-0.1,9.8,-0.1,10.2,0.2,10.5 C0.5,10.8,0.8,11.1,1.1,11.4 C1.6,11.9,2.1,12.4,2.6,12.9 C2.8,13,2.9,13.1,3,13.3 C3.2,13.5,3.7,13.5,3.9,13.3 C4.1,13,4.2,12.6,3.9,12.3 L3.9,12.3 Z",stroke:"none"}),t.createElement("path",{d:"M17,13.3 C17.3,12.9,17.6,12.6,18,12.3 C18.5,11.8,19,11.3,19.5,10.8 C19.6,10.7,19.7,10.6,19.8,10.5 C20.1,10.2,20.1,9.8,19.8,9.5 C19.5,9.2,19.2,8.9,18.9,8.6 C18.4,8.1,17.9,7.6,17.4,7.1 C17.3,7,17.1,6.9,17,6.8 C16.8,6.5,16.3,6.5,16.1,6.8 C15.9,7,15.8,7.4,16.1,7.7 C16.4,8,16.7,8.3,17,8.6 C17.5,9.1,18,9.6,18.5,10.1 C18.7,10.2,18.8,10.3,18.9,10.5 V9.5 C18.6,9.9,18.3,10.2,17.9,10.5 C17.4,11,16.9,11.5,16.4,12 C16.3,12.1,16.2,12.2,16.1,12.3 C15.9,12.6,15.8,13,16.1,13.3 C16.4,13.5,16.8,13.5,17,13.3 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},7229:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{ResizeIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",focusable:"false"},t.createElement("path",{d:"M0.5,0 H17.5 C17.6,0,17.8,0.1,17.9,0.1 C17.9,0.2,18,0.4,18,0.5 V17.5 C18,17.6,17.9,17.8,17.9,17.9 C17.8,17.9,17.6,18,17.5,18 H0.5 C0.4,18,0.2,17.9,0.1,17.9 C0.1,17.8,0,17.6,0,17.5 V0.5 C0,0.2,0.2,0,0.5,0 Z M1,17 H17 V1 H1 V17 Z M14,10.5 V13.5 C14,13.6,13.9,13.8,13.9,13.9 C13.8,13.9,13.6,14,13.5,14 H10.5 C10.2,14,10,13.8,10,13.5 C10,13.2,10.2,13,10.5,13 H12.3 L5,5.7 V7.5 C5,7.8,4.8,8,4.5,8 C4.2,8,4,7.8,4,7.5 V4.5 C4,4.4,4.1,4.2,4.1,4.1 C4.2,4.1,4.4,4,4.5,4 H7.5 C7.8,4,8,4.2,8,4.5 C8,4.8,7.8,5,7.5,5 H5.7 L13,12.3 V10.5 C13,10.2,13.2,10,13.5,10 C13.8,10,14,10.2,14,10.5 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},6451:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{UncheckedIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{className:this.props.classNames.join(" "),width:"14",height:"14",viewBox:"0 0 14 14"},t.createElement("rect",{x:"0.5",y:"0.5",width:"13",height:"13",rx:"2.5",fill:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},2869:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{UpArrowIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"10",height:"11",viewBox:"0 0 10 11"},t.createElement("path",{d:"M5.8,7 V10.1 C5.8,10.6,5.4,11,4.9,11 C4.4,11,4,10.6,4,10.1 V8.9 V4 V3.2 L2.9,4.2 L1.6,5.6 C1.2,6,0.6,5.9,0.3,5.6 C-0.1,5.2,-0.1,4.6,0.3,4.3 L0.8,3.8 L2.9,1.6 L4.3,0.3 C4.4,0.2,4.5,0.1,4.7,0 C4.7,0,4.8,0,4.9,0 C5.2,0,5.4,0.1,5.5,0.2 C5.6,0.3,5.6,0.3,5.6,0.3 L6.1,0.8 L8.2,2.9 L9.6,4.3 C9.9,4.6,9.9,5.2,9.6,5.6 C9.2,6,8.6,5.9,8.3,5.6 L7.8,5.1 L5.8,3.2 V7 Z",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},9197:function(e,t,n){var i;void 0===(i=function(e){var t=n(3305);return{VerticalEllipseIcon:function(){return this.isDropIn&&(t=DS.DropIn),t.createElement("svg",{width:"4",height:"13",viewBox:"0 0 4 13",focusable:"false"},t.createElement("circle",{cx:"2",cy:"1.5",r:"1.5",stroke:"none"}),t.createElement("circle",{cx:"2",cy:"6.5",r:"1.5",stroke:"none"}),t.createElement("circle",{cx:"2",cy:"11.5",r:"1.5",stroke:"none"}))}}}.call(t,n,t,e))||(e.exports=i)},1034:function(e,t,n){var i;i=function(e){"use strict";var t=DS.Backbone,n=DS._,i=DS.BaseModel,r=DS.subscribable,o=DS.resolveable,s=DS.ancestral,a=DS.shortEventable,l=DS.mixer,c=t.Collection.extend({mixins:[r,o,s,a],model:i,isCollection:!0,constructor:function(e,i){var r=this.initialize;this.initialize=n.noop,t.Collection.apply(this,arguments),this.createParentReference(i),l.initMixinsOf(this),this.initialize=r,this.initialize.apply(this,arguments),l.postInitMixinsOf(this)}});return c}.call(t,n,t,e),void 0===i||(e.exports=i)},5393:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(2296);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},4115:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(7170),r=DS._;return t.extend({model:i,hasType:function(e){return this.some((function(t){return t.type()===e}))},getVideoCount:function(){return r.countBy(this.models,(function(e){return e.type()})).video||0},getAudioCount:function(){return r.countBy(this.models,(function(e){return e.type()})).audio||0}})}.call(t,n,t,e))||(e.exports=i)},4664:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(2388),r=(DS._,DS.Chunk);return t.extend({model:i,getResumeData:function(e){return this.invoke("getResumeData",e).map(r.create).join("")},setResumeData:function(e,t){var n=new r({fullString:e});this.forEach((function(e){e.setResumeData(n.encodedString(),t),n=n.reChunk()}))},resetBeforeView:function(){this.invoke("resetBeforeView")}})}.call(t,n,t,e))||(e.exports=i)},7258:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3936),r=n(1034),o=DS._,s=DS.events,a=DS.resolver,l=DS.utils,c=DS.vow.Deferred().resolve().promise(),u=o.memoize((function(e){return a.resolvePath(l.prefixWithPlayer(e),null,{optional:!0})}));return r.extend({model:i,subscriptions:(t={},t[s.slide.STARTED]="onSlideStarted",t),initialize:function(){this.onTimelinePlayingDelegate=this.onTimelinePlaying.bind(this),this.onTimelinePausedDelegate=this.onTimelinePaused.bind(this),this.onTimelineSeekStartDelegate=this.onTimelineSeekStart.bind(this),this.onTimelineSeekEndDelegate=this.onTimelineSeekEnd.bind(this)},findPlaylist:function(e){return this.find((function(t){return t.get("slideids").indexOf(e)>=0}))},load:function(e){var t=this.findPlaylist(e);return null==t||t.isPlaying()?(null!=this.timeline&&(this.timeline.off(s.timeline.PLAYING,this.onTimelinePlayingDelegate),this.timeline.off(s.timeline.PAUSED,this.onTimelinePausedDelegate),this.timeline.off(s.timeline.SEEK_START,this.onTimelineSeekStartDelegate),this.timeline.off(s.timeline.SEEK_END,this.onTimelineSeekEndDelegate),this.timeline=null),c):t.load()},onSlideStarted:function(e){var t=this.currentlyPlaying,n=this.findPlaylist(e);t!==n&&(null!=t&&t.stop(),null!=n&&n.play()),null!=n&&(this.timeline=u(e).getBaseLayer().timeline(),this.timeline.on(s.timeline.PLAYING,this.onTimelinePlayingDelegate),this.timeline.on(s.timeline.PAUSED,this.onTimelinePausedDelegate),this.timeline.on(s.timeline.SEEK_START,this.onTimelineSeekStartDelegate),this.timeline.on(s.timeline.SEEK_END,this.onTimelineSeekEndDelegate)),this.currentlyPlaying=n},onTimelinePlaying:function(){this.seeking||this.currentlyPlaying.resume()},onTimelinePaused:function(){this.seeking||this.currentlyPlaying.pause()},onTimelineSeekStart:function(){this.seeking=!0},onTimelineSeekEnd:function(){this.seeking=!1}})}.call(t,n,t,e))||(e.exports=i)},9360:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5363);return t.extend({model:i,getNonMessageScenes:function(){return this.reject((function(e){return e.isMessageScene()}))}})}.call(t,n,t,e))||(e.exports=i)},6392:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){"use strict";var t,i,r=n(1034),s=DS._,a=DS.events,l=DS.pubSub,c=DS.constants,u=n(6414);return r.extend({subscriptions:o({},a.quiz.INTERACTION_ANSWERED,"onQuizInteractionAnswered"),model:u,getStatus:function(){if(null!=t)return t;var e=s.first(this.filter((function(e){return e.isCourseComplete()})));return null!=e?e.getStatus():c.statuses.INCOMPLETE},guessCurrentScoring:function(){return s.find(this.models,(function(e){return!(t=e).isView()&&!t.isAction()&&t.quiz.attempted()&&(e.quiz===i||s.some(e.quiz.quizzes,(function(e){return e===i})));var t}))},manuallySetActionStatus:function(e){var n=s.find(this.models,(function(e){return e.isType("action")}));null!=n&&(t=n.get(e?"passStatus":"failStatus"),n.prop("Status",t),l.trigger(a.course.MANUALLY_COMPLETED,e,n))},incrementViewed:function(e){this.filter((function(e){return e.isView()})).forEach((function(t){return t.incrementViewed(e)}))},onQuizInteractionAnswered:function(e){i=e},hasQuiz:function(e){return s.some(this.models,(function(t){return t.quiz&&s.some(t.quiz.quizzes,{id:e.id})}))}})}.call(t,n,t,e))||(e.exports=i)},1806:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(4992);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},8510:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(1034),r=n(4893),o=DS,s=o._,a=o.detection,l=o.events,c=o.pubSub,u=o.Chunk,d=function(e){return!e.isBaseLayer()&&!e.isShowable},h=function(e){return e.timeline().progress()>=1},p=i.extend({model:r,shortEvents:{self:(t={},t[l.layer.HIDDEN]="onLayerHidden",t[l.layer.HIDE_OTHER_LAYERS]="onHideOtherLayers",t[l.layer.ACTIVATED]="onLayerActivated",t)},initialize:function(){this.activeLayers=[]},getBaseLayer:function(){return this.findWhere({isBaseLayer:!0})},getNonBaseLayers:function(){return this.without(this.getBaseLayer())},onHideOtherLayers:function(e){var t=s.indexOf(this.activeLayers,e);return-1===t&&(t=this.activeLayers.length),s.invokeMap(s.take(this.activeLayers,t),"hide"),this},pauseBaseLayer:function(e){return this.getBaseLayer().pauseTimelineFromLayer(e),this},pauseAll:function(e){this.invoke("pauseTimeline",e),this.invoke("cancelTransition")},playBaseLayer:function(e){return this.getBaseLayer().resumeTimelineFromLayer(e),this},getSlide:function(){return this.getClosestAncestorWithAssoc(p)},hideAllHideableLayers:function(){s.invokeMap(this.filter(d),"hide")},onTimelineComplete:function(){this.activeLayers.slice().concat([this.getBaseLayer()]).every(h)&&this.trigger(l.slide.ALL_TIMELINES_COMPLETE)},onLayerActivated:function(e){var t=this.getTopMostLayer(),n=t===e;t&&"dialog"===t.get("presentAs")&&c.trigger(l.layer.DIALOG_HIDDEN),this.setPrevLayers(this.activeLayers.slice()),n||null==t||t.setAsTopMostLayer(!1),e.pauseParent()&&!s(this.activeLayers).includes(e)&&this.pauseBaseLayer(e),this.bringToFront(e),e.setAsTopMostLayer(!0),"dialog"===e.get("presentAs")&&(DS.flagManager.dropInAcc?(document.activeElement.blur(),requestAnimationFrame((function(){c.trigger(l.layer.DIALOG_SHOWN,e)}))):c.trigger(l.layer.DIALOG_SHOWN,e))},getTopMostLayer:function(){return s(this.activeLayers).last()},onLayerHidden:function(e){var t=this.getTopMostLayer(),n=e===t;this.setPrevLayers(this.activeLayers.slice()),s(this.activeLayers).includes(e)&&(n&&(e.setAsTopMostLayer(!1),"dialog"===e.get("presentAs")&&c.trigger(l.layer.DIALOG_HIDDEN)),this.removeLayerFromActive(e),t=this.getTopMostLayer(),n&&(null!=t&&t.setAsTopMostLayer(!0),window.requestAnimationFrame((function(){null!=e.lastModalFocus&&e.lastModalFocus.accShadowView.takeFocus()}))),this.getSlide().currentTimeline()===e.timeline()&&this.trigger(l.timeline.CHANGED,this.getBaseLayer().timeline()),e.pauseParent()&&this.playBaseLayer(e))},bringToFront:function(e){return this.activeLayers=s(this.activeLayers).without(e).push(e).value(),this.remapLayerDepths(),this},removeLayerFromActive:function(e){return this.activeLayers=s.without(this.activeLayers,e),this.remapLayerDepths(),this},tabIndexModalCalc:function(e){this.hasModalLayerAbove(e)?e.trigger("adjustTabIndexForModal",{disable:!0}):e.trigger("adjustTabIndexForModal",{disable:!1})},remapLayerDepths:function(){var e=this,t=this.getBaseLayer(),n=t.depthOffset;this.activeLayers.forEach((function(t,i){t.depth(i+1),t.startDepth=n,n+=t.depthOffset,e.tabIndexModalCalc(t)})),this.tabIndexModalCalc(t),c.trigger(l.layer.STACKING_CHANGED)},resetActiveLayers:function(){return s.forEach(this.activeLayers,(function(e){e.isOpen=!1})),this.activeLayers=[],this},restoreActiveLayers:function(e){for(var t=new u({fullString:e});t.encodedString().length>0;)this.at(t.getUnsignedValue()+1).show().setAsShowable(),t=t.reChunk();this.getBaseLayer().shouldPlayOnCloseLayer=!0},getActiveLayersResumeData:function(){return this.activeLayers.reduce((function(e,t){return e+u.create(u.toSignedString64(t.index()-1))}),"")},setPrevLayers:function(e){a.device.isMobile&&(this.prevLayers=e)},hasModalLayerAbove:function(e){var t=s.findLastIndex(this.activeLayers,(function(e){return!!e.modal()}));return t>s.findIndex(this.activeLayers,e)},hasLayerAbove:function(e){return e.isBaseLayer()&&this.activeLayers.length>0||s.findIndex(this.activeLayers,e)<this.activeLayers.length-1},killEverything:function(){this.activeLayers=[],this.stopListening(),this.invoke("killEverything"),this.reset([],{silent:!0})}});return p}.call(t,n,t,e))||(e.exports=i)},8975:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5552),r=n(3484),o=n(2503),s=n(6340),a=n(6427),l=n(2641),c=n(4469),u=n(2801),d=n(4273),h=n(9687),p=n(8293),f=n(1382),g=n(4514),m=DS._,v=DS.utils,S=function(e){return e.abilities.groupObjects},y={objgroup:r,table:r,stategroup:o,shufflegroup:s,textinput:a,scrollarea:l,expandinglabel:c,droplist:u,droparea:d,dragitem:h,sequencectrl:p,slideframe:f,threesixtyimage:g},b=t.extend({model:function(e,t){var n=y[e.kind]||i;return v.buildDataStructure(n,t,e)},findNestedObject:function(e){var t;return m.find(this.filter(S),(function(n){return!!(t=n.objects().get(e))})),t}});return[r,s,o,l,c].forEach((function(e){e.addAssociation("objects",b)})),b}.call(t,n,t,e))||(e.exports=i)},2604:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(6704);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},704:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(7692);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},4761:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(8702);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},2392:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(4481);DS._;return t.extend({model:i,getAttrConfig:function(e){return 0===this.length?null:this.at(0).getAttrConfig(e)}})}.call(t,n,t,e))||(e.exports=i)},3495:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(8259);return t.extend({model:i,buildTweens:function(){return this.invoke("build")}})}.call(t,n,t,e))||(e.exports=i)},7895:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(1034),r=n(2304),o=n(6974),s=DS._,a=DS.Chunk,l=DS.events;return i.extend({model:r,subscriptions:(t={},t[l.player.RESET]="resetValues",t),initialize:function(){this.getResumeDataOrReturn=s.partial(o.meetConditionOrReturn,this,this.shouldGetResumeData)},addVariable:function(e,t){return this.push(s.extend({},{resume:!0},e),{parent:t})},resetValues:function(){this.invoke("resetValue")},shouldGetResumeData:function(){return this.filter(o.isResumable).some((function(e){return!e.hasInitValue()}))},getResumeData:function(){this.booleans=[];var e=this.filter(o.isResumable).reduce(this.encodeVariable.bind(this),"");return a.create(this.encodeBooleans())+e},encodeVariable:function(e,t){return t.isBoolean()?this.booleans.push(t.value()):e+=t.getEncodedValue(),e},encodeBooleans:function(e){for(var t,n,i="";this.booleans.length;)t=1,n=this.booleans.splice(0,6).reduce((function(e,n){return e+=n*t,t*=2,e}),0),i+=a.toUnsignedString64(n);return i},setResumeData:function(e){var t="";if(e.length>0){var n=new a({fullString:e}),i=this.convertBoolStringToArray(n.encodedString()),r=this.filter(o.isResumable);t=n.remainder(),r.forEach((function(e){e.isBoolean()?e.value(i.shift(),{silent:!0}):(n=n.reChunk(),e.setEncodedValue(n.encodedString()),t=n.remainder())}))}return t},convertBoolStringToArray:function(e){return e.split("").reduce((function(e,t){for(var n=a.fromUnsignedString64(t),i=1;i<=32;)e.push(!!(n&i)),i*=2;return e}),[])}})}.call(t,n,t,e))||(e.exports=i)},2261:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5374);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},2989:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(6951);return t.extend({model:i})}.call(t,n,t,e))||(e.exports=i)},7620:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=DS.Chunk;return t.extend({getResumeData:function(){return this.invoke("getResumeData").map(i.create).join("")||""},setResumeData:function(e){return this.forEach((function(t){t.setResumeData(e.encodedString()),e=e.reChunk()})),e}})}.call(t,n,t,e))||(e.exports=i)},5178:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=n(5011),r=DS.Chunk;return t.extend({model:i,getResumeData:function(){return this.invoke("getResumeData").map(r.create).join("")||r.create("")},setResumeData:function(e){return this.forEach((function(t){t.setResumeData(e.encodedString()),e=e.reChunk()})),e}})}.call(t,n,t,e))||(e.exports=i)},3807:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3723),i=n(4164),r=function(e){this.init(e)};return DS._.assign(r.prototype,i.prototype,{isMediaElement:!0,createElement:function(){return this},load:function(){return this.hasStartedLoading||(this.hasStartedLoading=!0,this.audioClip=t.loadUrl(this.url,this.id),this.audioClip.dfd.promise().then(this.dfd.resolve).catch(this.dfd.reject)),this.promise},teardown:function(){null!=this.audioClip&&this.audioClip.destroy(!0),this.audioClip=null}}),r}.call(t,n,t,e))||(e.exports=i)},2637:function(e,t,n){var i;i=function(e){"use strict";var t=DS._,n=function e(n){return this instanceof e?n instanceof e?n:void(t.isArray(n)?(this.iterator=(i=n,function(){var e=i.length,t=0;return{next:function(){return t===e?{done:!0}:{value:i[t++],done:!1}}}}),this.arr=n):null!=n[Symbol.iterator]?this.iterator=n[Symbol.iterator].bind(n):this.iterator=n):new e(n);var i};return n.empty=new n([]),n.isIterable=function(e){return t.isArray(e)||t.isFunction(e)||null!=e[Symbol.iterator]&&"string"!=typeof e},t.extend(n.prototype,{toArray:function(){if(null!=this.arr)return this.arr;var e=[];return this.forEach((function(t){e.push(t)})),this.arr=e,e},forEach:function(e){for(var t,i,r=this.iterator(),o=0,s=[];!(t=r.next()).done&&!1!==i;)i=e(t.value,o++,this),s.push(t.value);return new n(s)},map:function(e){return new n(function(){var t=this.iterator(),n=0;return{next:function(){var i=t.next();return i.done?{done:!0}:{value:e(i.value,n++,this),done:!1}}.bind(this)}}.bind(this))},filter:function(e){return new n(function(){var t=this.iterator(),n=0;return{next:function i(){var r=t.next();return r.done?{done:!0}:e(r.value,n++,this)?{value:r.value,done:!1}:i.call(this)}.bind(this)}}.bind(this))},some:function(e){var t=!1;return this.forEach(function(n,i){return!(t=!!e(n,i,this))}.bind(this)),t},flatten:function(){return new n(function(){var e=this.iterator(),t=[];return{next:function i(){var r=e.next(),o=r.value;return r.done?null==(e=t.pop())?{done:!0}:i.call(this):(n.isIterable(o)&&(o=new n(o)),o instanceof n?(t.push(e),e=o.iterator(),i.call(this)):r)}.bind(this)}}.bind(this))},concat:function(){var e=[this].concat(t.map(arguments,n));return new n((function(){var t;return{next:function n(){if(null==t){if(0===e.length)return{done:!0};t=e.shift().iterator()}var i=t.next();return i.done?(t=null,n()):i}}}))},first:function(){return this.iterator().next().value},flatMap:function(e){return new n(function(){var t=this.iterator(),i=[],r=0;return{next:function o(){if(i.length>0){var s=i[i.length-1].next();return s.done?(i.pop(),o()):s}var a,l=t.next();return l.done?{done:!0}:(a=e(l.value,r++,this),n.isIterable(a)?(i.push(new n(a).iterator()),o()):{value:a,done:!1})}.bind(this)}}.bind(this))},reduce:function(e,t){var n,i=0,r=this.iterator();if(void 0===t&&(i++,(n=r.next()).done))throw new TypeError("Reduce of empty iterable with no initial value");for(;(n=r.next())&&!n.done;)t=e(t,n.value,i++,this);return t}}),n.prototype.compact=t.partial(n.prototype.filter,Boolean),n}.call(t,n,t,e),void 0===i||(e.exports=i)},9824:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4164),i=DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation?null:n(6849);DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation||(window.globalLoadJsAsset=function(e,t){var n=JSON.parse(t);if(DS.detection.env.isFileProtocol&&null!=DS.courseAudio.localAudioLookup[e])DS.courseAudio.localAudioLookup[e]=n.dataUri;else{var r=DS.utils.resolveAssetUrl(e);i.addJsAsset(r,n)}});var r=function(e){this.init(e)};return Object.assign(r.prototype,t.prototype,DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation?{load:function(){var e=this;DS.jsonLoader.load(this.url,{load:function(){DS.connection.assetLoaded(e.url),e.dfd.resolve()},error:this.onError.bind(this)})}}:{load:function(){var e=this;DS.loadScript(this.url,(function(){DS.connection.assetLoaded(e.url),e.dfd.resolve()})).onerror=this.onError.bind(this)},teardown:_.noop}),r}.call(t,n,t,e))||(e.exports=i)},6664:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4164),i=n(2902),r=DS,o=r._.noop,s=r.errorManager,a=[];window.globalProvideSvgData=function(e,t){a.includes(e)?(_.remove(a,(function(t){return t===e})),i.addAsset(e,t)):s.throwErrorSoft("dataId mismatch",e,a)};var l=function(e){this.init(e)};return Object.assign(l.prototype,t.prototype,{load:function(){var e=this;a.push(this.dataId),(DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation?DS.loadScript(this.url,{load:function(){DS.connection.assetLoaded(e.url),e.dfd.resolve()}}):DS.loadScript(this.url,(function(){DS.connection.assetLoaded(e.url),e.dfd.resolve()}))).onerror=this.onError.bind(this)},teardown:o}),l}.call(t,n,t,e))||(e.exports=i)},4164:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7877),i=DS._,r=DS.vow,o=DS.detection,s=!o.browser.isIE&&!o.os.isIOS&&!o.browser.isSafariMac,a=r.Deferred().resolve().promise(),l=function(e){this.init(e)};i.extend(l.prototype,{retries:1,retryTimeout:250,hasStartedLoading:!1,isMediaElement:!1,init:function(e){i.bindAll(this,"onLoad","onCanPlay","onError","setElement"),this.retries=null!=e.retries?e.retries:this.retries,this.retryTimeout=null!=e.retryTimeout?e.retryTimeout:this.retryTimeout,this.failuresCount=0,this.url=e.url,this.id=e.id,this.type=e.type,this.loadForView=!!e.loadForView,this.dataId=e.dataId,this.createDeferred().createElement(),("video"!=this.type&&"audio"!=this.type&&this.loadForView||"jssvg"===this.type)&&DS.connection.requiredAsset(this.url,null,null,this.type),this[this.loadForView?"batchLoad":"queueLoad"]()},createDeferred:function(){var e=r.Deferred();return Object.defineProperties(this,{dfd:{value:e},promise:{value:e.promise()}}),this},createElement:function(){if(s&&"img"===this.type){var e=document.createElementNS("http://www.w3.org/2000/svg","image");t.getMediaLoaderSvg().appendChild(e),this.setElement(e)}else"js"!=this.type&&"jssvg"!=this.type&&this.setElement(document.createElement(this.type));return this},setElement:function(e){this.teardown(),this.el=e,this.addEventListeners()},queueLoad:function(){return a.always(this.load.bind(this)),a=this.promise,this.promise},batchLoad:function(){this[o.os.isIOS&&this.isMediaElement?"queueLoad":"load"]()},load:function(){if(null!=this.el)return this.hasStartedLoading||(this.hasStartedLoading=!0,s&&"img"===this.type?this.el.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",this.url):this.el.src=this.url,this.isMediaElement&&this.loadMediaElement()),this.promise},loadMediaElement:function(){null!=this.el&&this.el.load()},retry:function(){return this.failuresCount++,DS.connection.assetFailed(this.url),setTimeout(function(){return this.hasStartedLoading=!1,this.createElement().load()}.bind(this),DS.connection.useConnectionMessages?DS.connection.retryDelay:this.retryTimeout),this},shouldRetry:function(){return this.failuresCount<this.retries||DS.connection.useConnectionMessages},onLoad:function(e){this.isMediaElement||(this.dfd.resolve(),this.removeEventListeners(),DS.connection.assetLoaded(this.url))},onCanPlay:function(){this.removeEventListeners(),this.dfd.resolve()},onError:function(e){if(DS.connection.useConnectionMessages&&!this.loadForView)return this.dfd.resolve(),void this.removeEventListeners();this.shouldRetry()?this.retry():(this.dfd.reject("Could not load media "+this.url),this.removeEventListeners())},teardown:function(){null!=this.el&&(s&&"video"!==this.type||(this.el.src=""),this.detachElement())},detachElement:function(){this.removeEventListeners(),this.el=null},bindListeners:function(e){var t=e?"addEventListener":"removeEventListener";null!=this.el&&(this.el[t]("load",this.onLoad),this.el[t]("canplay",this.onCanPlay),this.el[t]("error",this.onError))}});var c=l.prototype;return i.extend(c,{addEventListeners:i.partial(c.bindListeners,!0),removeEventListeners:i.partial(c.bindListeners,!1)}),l}.call(t,n,t,e))||(e.exports=i)},3305:function(e,t,n){var i,r;i=[n(1325)],void 0===(r=function(e){"use strict";var t=DS._,n=function(t){var n=e.createClass(t);return n.__spec=t,n};return t.extend({},e,{createClass:n,extend:function(e,i){return n(t.extend({},e.__spec,i))}})}.apply(t,i))||(e.exports=r)},9405:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,s=void 0,s=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(s)?s:String(s)),i)}var o,s}void 0===(i=function(e){"use strict";return function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.objectMap=new WeakMap,this.timelineAnimations=[],this.triggerAnimations=[],this.slideObjectLookup=new WeakMap,this.slide=t,this.timelineScripts={}}var t,n,i;return t=e,(n=[{key:"resetTriggerAnimations",value:function(){for(var e=this.triggerAnimations,t=0;t<e.length;t++)e[t].animation.cancel()}},{key:"addForTriggers",value:function(e,t){var n=this.slideObjectLookup.get(t.object);return t.finish=function(t){null!=e&&null!=n&&n.props.model.executeFilteredPlayerEvent((function(t){return t.id===e}),"onanimationcomplete")},t.animation.onfinish=t.finish,t.animation}}])&&o(t.prototype,n),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}()}.call(t,n,t,e))||(e.exports=i)},1102:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,s=void 0,s=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(s)?s:String(s)),i)}var o,s}i=function(){var e=DS.utils,t=function(){function t(e,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),null==e||isNaN(e)||e<=0)throw"Timers duration needs to be greater than 0!";this.duration=e,this.paused=!0,this.elapsed=0,this.running=!1,this.events=n,_.bindAll(this,"step")}var n,i,r;return n=t,i=[{key:"play",value:function(){var e=this;if(this.running||this.elapsed>=this.duration)return-1;this.paused=!1,this.running=!0,window.requestAnimationFrame((function(){return e.step(performance.now())}))}},{key:"pause",value:function(){this.paused=!0}},{key:"progress",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t)return e.clamp(0,this.duration,this.elapsed);this.seek(t,n)}},{key:"seek",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=t&&!isNaN(t)){var i=!this.paused;this.pause(),this.elapsed=e.clamp(0,this.duration,t),n||this.update(),this.elapsed<=this.duration&&i&&(this.paused=!1,this.play())}}},{key:"elapsedPercentage",value:function(){return e.clamp(0,1,this.elapsed/this.duration)}},{key:"reset",value:function(){this.pause(),this.seek(0)}},{key:"step",value:function(e){var t=this;if(this.paused)this.running=!1;else{var n=performance.now();this.elapsed+=n-e,this.update(),this.running&&window.requestAnimationFrame((function(){return t.step(n)}))}}},{key:"update",value:function(){e.getPath(this.events,"onUpdate"),this.elapsed>=this.duration&&(this.running=!1,e.getPath(this.events,"onComplete"))}}],i&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),t}();return t}.call(t,n,t,e),void 0===i||(e.exports=i)},2753:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4164),i=n(1853),r=DS._,o=function(e){this.init(e)};return r.assign(o.prototype,t.prototype,{displayName:"VideoLoader",isMediaElement:!0,createElement:function(){var e=this;return this.elementOwner=this,this.isElementOwner=!0,i.requestVideoEl(this).then((function(t){e.setElement(t),e.load()})),this},getVideoUrl:function(){return this.url},load:function(){if(null!=this.el)return this.hasStartedLoading||(this.hasStartedLoading=!0,this.el.loadVideo(this.url)&&this.dfd.resolve()),this.promise},assignNewOwner:function(e){return this.elementOwner=e,this.isElementOwner=!1,this.el},loadMediaElement:r.noop,teardown:function(){null!=this.el&&(this.elementOwner!==this?i.updateElementOwner(this,this.elementOwner,this.el):i.putVideoInPen(this.el,this))}}),o}.call(t,n,t,e))||(e.exports=i)},4196:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3949),r=n(2486),o=n(9943),s=n(4998),a=n(2637),l=n(1689),c=n(5749),u=DS._,d=DS.Backbone,h=DS.automation,p=DS.utils,f=DS.debug,g=DS.errorManager,m=DS.pubSub,v=DS.events,S=DS.resolver,y=DS.mixer,b=DS.shortEventable,w=DS.constants,C=g.throwError("actionManager"),x=g.warn("actionManager"),D=g.backtick,E=function(e){var t="action:",n=e.shortEvents,i=n&&n.self;return u.keys(i).filter((function(e){return 0===e.indexOf(t)})).map((function(e){return e.replace(t,"")}))},T={global:null,meta:null},P=function(e,t){var n=T[e];return u.includes(n,t.kind)},I=u.partial(P,"global"),A=u.partial(P,"meta"),M=function(e){return u.includes(["gotoplay","history_prev","playnextdrawslide","nextunansweredslide","nextunsubmittedslide","nextviewedslide","history_prev_scene","history_prev_group"],e.kind)},k=(t=["param","objRef","varRef","quizRef","variable","id","drawid","interactionId","value","startslideid","scrollref"],function(e,n){var i;return u.find(t,(function(t){return i=function(e,t,n){var i=e[t];return u.isPlainObject(i)?S.getRef(i,n.context,n):i}(e,t,n),i})),i}),L=function(e,t){var n=S.splitPath(e.id),i=u.last(n),r=S.joinPath(u.initial(n)),o=r?S.resolvePath(r,t.context):t.context,s=function(e,t,n){var i,r=e;return null!=t.scopeRef&&(r=u.isArray(e)?e.map((function(e){var i=S.getRef(t.scopeRef,e,n);return 0===t.id.indexOf(w.CHILDREN)&&i===w.CHILDREN?e:S.resolvePath(i,e)})):"_owner"===(i=S.getRef(t.scopeRef,n.context,n))?e:S.resolvePath(i,n.context)),r}(o,e,t),l=u.isArray(o)?o:[o],c=l.map((function(e){return S.resolvePath(i,e,{optional:"_children"===u.first(n)})})),d=u.isArray(s)?s:[s];return 1===c.length&&d.length>1&&d.forEach((function(e,t){l[t]=l[t]||l[0],c[t]=c[t]||c[0]})),new a(c).map(function(n,i){if(null!=n){var r=u.defaults({context:d[i]},t),o=u.defaults({context:l[i]},t);return r.params=function(e,t){return u.mapValues(e.params||{},(function(e){return S.getRef(e,t.context,t)}))}(e,o),{actions:n.actions,data:r}}}.bind(this)).filter(u.identity)},R=function(e,t){return e[o.evaluateAction(e,t)?"thenActions":"elseActions"]},_={exe_actiongroup:function(e,t){return L(e,t).map((function(e){return V.traceActions(e.actions,e.data)})).flatten()},if_action:function(e,t){return V.traceActions(R(e,t),t)}},O={};O[i.EXE_ACTIONGROUP]="executeActionGroup",O[i.IF_ACTION]="evaluateConditional",O[i.FOREACH]="executeLoop",O[i.DEBUG_TRACE]="logDebugMessage",O[i.DEBUG_ERROR]="logErrorMessage";var V={mixins:[s,b,d.Events],shortEvents:{self:O},addNavigationListeners:function(){var e=this;this.jumpCount=0;var t=DS.events.slide.WILL_CHANGE;m.addListener(t,(function(){return e.onNavigationEvent(t)}))},onNavigationEvent:function(e){this.jumpCount++},didJump:function(e,t){return"playnextdrawslide"===e.kind?t<this.jumpCount:M(e)},executeActions:function(e,t){var n,i,r=0,o=e.length,s=!1,a=this.jumpCount;if(o>0)do{n=e[r],s&&"close_window"!==n.kind?x("executeActions","skip action:",n.id):(this.slideJumpPerformed=!1,i=u.clone(t),this.executeAction(n,i),t.cancel=i.cancel,s=s||this.slideJumpPerformed||this.didJump(n,a))}while(++r<o);return this.slideJumpPerformed=s,s&&m.trigger(v.slide.JUMPING,t.context),this},executeAction:function(e,t){if(!0!==h.silenceActions[e.kind]){var n,i;t&&t.context||C("executeAction","Cannot execute action without a context:",D(e.kind));var o=null!=t.context.getClosestAncestorByKind&&t.context.getClosestAncestorByKind("slide",!0);return"close_window"!==e.kind&&"hidetimer"!==e.kind&&t.context.isAncestral&&p.getPath(o,"destroyed")?(x("executeActions","skip action:",e.id),this):(c.shouldSkipAction(o,e)||(n=function(e,t){var n=t.context,i=k(e,t);return!!i&&S.resolvePath(i.replace(/^\./,""),n,{optional:!0})}(e,t),(i=I(e)?r:A(e)?V:n)||C("executeAction","the object",p.doubleQuote(k(e,t)),"does not exist in this scope:",p.doubleQuote(p.stripPlayer(t.context.absoluteId||"")),"to execute the action",D(e.kind)),t.actionTarget=n,p.applyMethod("triggerAction",i,e,t)),this)}},executeActionGroup:function(e,t){return L(e,t).forEach(function(e){var n=e.actions,i=e.data;this.executeActions(n,i),i.cancel&&(t.cancel=i.cancel)}.bind(this)),this},evaluateConditional:function(e,t){var n=R(e,t);return n&&this.executeActions(n,t),this},executeLoop:function(e,t){e.iterables.forEach((function(n){var i=u.defaults({iterables:n.valueref},t);V.executeActions(e.actions,i)}))},logMessage:function(e,t,n){if(f.debugMode){var i="debug"===e;console[i?"log":"error"](e.toUpperCase()+":",t.message),i||f.throwError()}},traceActions:function(e,t){return null==e?a.empty:new a(e).map((function(e){var n=_[e.kind];return null!=n?n(e,t):[e]})).flatten()},isJumpAction:M};return V.logDebugMessage=u.partial(V.logMessage,"debug"),V.logErrorMessage=u.partial(V.logMessage,"error"),y.mix(V),y.initMixinsOf(V),T.global=E(r),T.meta=E(V),l.initialize(V),V.addNavigationListeners(),V}.call(t,n,t,e))||(e.exports=i)},2486:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(7877),o=n(3949),s=n(4998),a=n(5749),l=n(4484).parseTemplate,c=DS._,u=DS.Backbone,d=DS.playerGlobals,h=DS.windowManager,p=DS.constants,f=DS.events,g=DS.detection,m=DS.pubSub,v=DS.mixer,S=DS.utils,y=DS.resumer,b=DS.errorManager,w=DS.shortEventable,C=DS.resolver,x=DS.webObjectHelper,D=DS.slidesController,E=DS.flagManager,T=DS.ThreeSixtyImage,P=b.throwError("actionator"),I=c.debounce((function(){return m.trigger(f.request.NEXT_SLIDE)}),300,{leading:!0,trailing:!1}),A=function(){var e=h.getCurrentWindow(),t=e.getCurSlide();return e.isWaitingForSlideLoad()||t&&!t.timelineReady},M={mixins:[s,w,u.Events],shortEvents:{self:(i={},i[o.SAVE_RESUME_DATA]="saveResume",i[o.NOTIFY_PREVIEW]="notifyPreview",i[o.ENABLE_FRAME_CONTROL]="enableFrameControl",i[o.SET_FRAME_LAYOUT_TYPE]="setFrameLayout",i[o.SET_WINDOW_CONTROL_LAYOUT]="setWindowControlLayout",i[o.SET_FRAME_LAYOUT]="setFrameLayoutFromLayout",i[o.SET_WINDOW_CONTROL_VISIBLE]="changeWindowControl",i[o.ENABLE_WINDOW_CONTROL]="changeWindowControl",i[o.TOGGLE_WINDOW_CONTROL]="changeWindowControl",i[o.TOGGLE_WINDOW_CONTROL_VISIBLE]="changeWindowControl",i[o.GOTOPLAY]="changeSlide",i[o.TRIGGER_NEXT_SLIDE]="advanceSlide",i[o.TRIGGER_PREV_SLIDE]="triggerPrevSlideClicked",i[o.TRIGGER_SUBMITALL_SLIDE]="onSubmitAll",i[o.TRIGGER_SUBMIT_SLIDE]="onSubmitSlide",i[o.TRIGGER_SLIDE_FINISH]="onSlideFinish",i[o.HISTORY_PREV]="goBack",i[o.HISTORY_PREV_GROUP]="goBackHistoryGroup",i[o.CLOSE_WINDOW]="closeWindow",i[o.CLOSE_PLAYER]="closePlayer",i[o.PRINT_SLIDE]="printSlide",i[o.OPEN_VIDEO]="openVideo",i[o.OPEN_URL]="openUrl",i[o.RESUME_PLAYER]="applyPlayerResumeData",i[o.PLAYNEXTDRAWSLIDE]="advanceSlideDrawSlide",i[o.GET_MOUSE_POSITION]="getMousePosition",i[o.ZOOMPAN]="zoomPan",i[o.CLOSEWNDGOTOSLIDE]="closeWndGotoSlide",i[o.NEXTVIEWEDSLIDE]="nextViewedSlide",i[o.EXE_JAVASCRIPT]="exeJavaScript",i[o.BACKGROUND_AUDIO_CONTROL]="backgroundAudioControl",i[o.EMAILTO]="mailTo",i[o.RESET_PLAYER]="resetPlayer",i[o.RESET_SLIDE]="resetSlide",i[o.PRINTRESULTS]="printQuizResults",i[o.NOTIFYLINKSELECTED]="notifyLinkSelected",i[o.CANCEL_EVENT]="cancelEvent",i[o.TRIGGER_HOST_EVENT]="triggerHostEvent",i[o.SET_COURSE_STATUS]="setCourseStatus",i[o.XAPI_SEND_STATEMENT]="sendXApiStatement",i)},onSubmitAll:function(){h.getCurrentWindowSlide().executePlayerEvent("onsubmitallslide")},onSubmitSlide:function(){h.getCurrentWindowSlide().executePlayerEvent("onsubmitslide")},onSlideFinish:function(){h.getCurrentWindowSlide().executePlayerEvent("onfinishslide")},resetSlide:function(){h.getCurrentWindowSlide().reset()},saveResume:function(e,t){var n=C.getRef(e.slideref||e.slideRefs);C.resolvePath(n,t.context).prepareResumeData({retainState:!0})},notifyPreview:function(e,t){m.trigger(f.preview.NOTIFY,e.message,e.data)},mailTo:function(e){var n,i="mailto:"+e.address;t.isPreview()?m.trigger(f.preview.NOTIFY,"PREVIEW_EMAILTO"):g.device.isMobile?window.top.location.assign("mailto:"+e.address):((n=document.createElement("iframe")).src=i,c.extend(n.style,{height:"1px",width:"1px",border:"0"}),r.addToLib(n),setTimeout((function(){r.removeElFromParent(n),n=null}),200))},execUserJs:window.ExecuteScript,exeJavaScript:function(e){try{this.execUserJs(e.id)}catch(e){P("exeJavaScript",e.message||"Unknown custom script error")}},openVideo:function(e,t){e.windowsize="custom",m.trigger(f.window.OPEN_EXTERNAL,e,t)},getMousePosition:function(e,t){S.applyMethod("triggerAction",t.context,e,t)},zoomPan:function(e,t){S.applyMethod("triggerAction",t.context,e,t)},closeWndGotoSlide:function(e,t){var n=e.objRef.value;m.trigger(f.window.CLOSING,e.closewindowid),m.trigger(f.request.NEXT_SLIDE,n)},nextViewedSlide:function(e,t){var n=C.resolvePath(C.getRef(e.quizRef),t.context);S.applyMethod("triggerAction",n,e,t)},openUrl:function(e,t){m.trigger(f.window.OPEN_EXTERNAL,e,t)},initialize:function(e){t=e},setWindowControlLayout:function(e,t){var n=t.context.prop("WindowId")||h.getCurrentWindowId();m.trigger(f.controlLayout.CHANGED,e.name,n)},setFrameLayout:function(e,t){m.trigger(f.controlLayout.CHANGED,e.name,p.refs.FRAME)},setFrameLayoutFromLayout:function(e){m.trigger(f.controlLayout.CHANGED,e.name,p.refs.FRAME)},changeControls:function(e,t,n){var i=[(-1===t.name.indexOf("swipe")?"navcontrols":"swipe")+":changed",t];e&&i.push(n),m.trigger.apply(m,i)},isLightBox:function(e){if(null!=e)return-1!=e.indexOf("Lightbox")},changeSlide:function(e,n){var i=this;if(!A()){var r=S.getPath(n,"actionTarget.absoluteId");if(null==r&&t.isPreview())m.trigger(f.preview.NOTIFY,"PREVIEW_SLIDE_MISSING");else{if(this.isLightBox(e.window))if(T.isWaitingLoad(!1,(function(){i.changeSlide(e,n)})))return;m.trigger(f.request.NEXT_SLIDE,r,e.window)}}},triggerPrevSlideClicked:function(e){h.getCurrentWindowSlide().executePlayerEvent("onprevslide")},goBack:function(e){A()||m.trigger(f.request.PREV_SLIDE)},goBackHistoryGroup:function(e,t){A()||m.trigger(f.request.PREV_HISTORY_GROUP)},advanceSlide:function(e){A()||I()},advanceSlideDrawSlide:function(e){A()||m.trigger(f.request.NEXT_DRAW_SLIDE)},closeWindow:function(e){m.trigger(f.window.CLOSING,e.id)},closePlayer:function(){m.trigger(f.player.CLOSING)},printSlide:function(e,n){if(!g.theme.isClassic)if(t.isPreview())m.trigger(f.preview.NOTIFY,"PREVIEW_PRINT_SLIDE");else{var i=C.getRef(e.objRef,n),r=C.resolvePath(i,n);a.printSlide(r)}},applyPlayerResumeData:function(e){m.trigger(f.loader.UNMUTE),y.applyResumeData(e.resume)},resetPlayer:function(e,t){m.trigger(f.player.RESET);var n=h.getCurrentWindowSlide(),i=D.getSlide(e.startslideid,n);null!=n&&n.absoluteId===i.absoluteId?(y.clearResumeData(),n.reset()):(null!=S.getPath(n,"currView.killSlide")&&n.currView.killSlide(),y.clearResumeData(),this.changeSlide(e,t))},printQuizResults:function(e,t){a.printQuizResults(e,t)},notifyLinkSelected:function(e,t){m.trigger(f.actionlink.VIEWED,e.id)},cancelEvent:function(e,t){t.cancel=!0},triggerHostEvent:function(e){x.triggerHostEvent(e.eventName)},setCourseStatus:function(e){if(E.multipleQuizTracking)d.presentation.scorings().manuallySetActionStatus(e.status);else{var t=d.presentation.scoring();"action"===t.type()&&(t.prop("Status",t.get(e.status?"passStatus":"failStatus")),m.trigger(f.course.MANUALLY_COMPLETED,e.status,t))}},sendXApiStatement:function(e){var t=l(e.statement).updateString;m.trigger(f.course.SEND_XAPI_STATEMENT,JSON.parse(t()))},backgroundAudioControl:function(e){null!=e.id&&m.trigger(f.backgroundAudio.SWITCH_PLAYLIST,{id:e.id}),m.trigger(f.backgroundAudio.CONTROL,{command:e.command})}};return c.extend(M,{changeWindowControl:c.partial(M.changeControls,!0),enableFrameControl:c.partial(M.changeControls,!1)}),v.mix(M),v.initMixinsOf(M),M}.call(t,n,t,e))||(e.exports=i)},3949:function(e,t,n){var i;void 0===(i=function(e){"use strict";return{ADD_CHOICE_RESPONSE:"action:addchoiceresponse",ADD_PAIR_RESPONSE:"action:addpairresponse",ADJUST_VAR:"action:adjustvar",BRING_TO_FRONT:"action:bringtofront",BACKGROUND_AUDIO_CONTROL:"action:background_audio_control",CANCEL_EVENT:"action:cancel_event",CLOSE_PLAYER:"action:close_player",PRINT_SLIDE:"action:print_slide",CLOSEWNDGOTOSLIDE:"action:closewndgotoslide",CLOSE_WINDOW:"action:close_window",DEBUG_TRACE:"action:debug_trace",DEBUG_ERROR:"action:debug_error",EMAILTO:"action:emailto",ENABLE_FRAME_CONTROL:"action:enable_frame_control",ENABLE_WINDOW_CONTROL:"action:enable_window_control",EVAL_ALL_UNANSWERED:"action:eval_all_unanswered",EVAL_INTERACTION:"action:eval_interaction",EXE_ACTIONGROUP:"action:exe_actiongroup",EXE_ANIMATION:"action:exe_animation",EXE_JAVASCRIPT:"action:exe_javascript",FOREACH:"action:foreach",GET_MOUSE_POSITION:"action:get_mouse_position",GOTOPLAY:"action:gotoplay",HIDE:"action:hide",HIDE_SLIDELAYER:"action:hide_slidelayer",HIDE_TIMER:"action:hidetimer",HISTORY_PREV:"action:history_prev",HISTORY_PREV_GROUP:"action:history_prev_group",NEXTVIEWEDSLIDE:"action:nextviewedslide",IF_ACTION:"action:if_action",MEDIA_SEEK:"action:media_seek",MEDIA_PLAY:"action:media_play",MEDIA_PAUSE:"action:media_pause",MEDIA_TOGGLE:"action:media_toggle",MOVE_TO:"action:moveto",NEXT_VIEWED_SLIDE:"action:nextviewedslide",NOTIFYLINKSELECTED:"action:notifylinkselected",NOTIFY_PREVIEW:"action:notify_preview",OBJECT_ACTION:"action:object_action",OPEN_VIDEO:"action:open_video",OPEN_URL:"action:open_url",PAUSE_ANIMATIONS:"action:pause_animations",PAUSE_TIMELINE:"action:pause_timeline",PAUSE_TIMER:"action:pausetimer",PLAYNEXTDRAWSLIDE:"action:playnextdrawslide",PRINTRESULTS:"action:printresults",RESET_QUIZ:"action:resetquiz",RESET_TIMER:"action:resettimer",RESET_PLAYER:"action:reset_player",RESET_SLIDE:"action:resetslide",RESTORE_RESUME_STATE:"action:restore_resume_state",RESUME_PLAYER:"action:resume_player",RESUME_TIMELINE:"action:resume_timeline",SAVE_RESUME_DATA:"action:save_resume_data",SEEK_TIMELINE:"action:seek_timeline",SET_ACTIVE_TIMELINE:"action:setactivetimeline",SET_COURSE_STATUS:"action:set_course_status",SET_DRAW_REVIEW:"action:setdrawreview",SET_ENABLED:"action:set_enabled",SET_FOCUS:"action:setfocus",SET_FRAME_LAYOUT:"action:set_frame_layout",SET_FRAME_LAYOUT_TYPE:"action:set_frame_layout_type",SET_OBJ_STATE:"action:setobjstate",SET_QUIZ_COMPLETE:"action:setquizcomplete",SET_REVIEW:"action:set_review",SET_VOLUME:"action:set_volume",SHOW_SLIDELAYER:"action:show_slidelayer",SET_WINDOW_CONTROL_LAYOUT:"action:set_window_control_layout",SET_WINDOW_CONTROL_VISIBLE:"action:set_window_control_visible",SHOW:"action:show",SHOW_TIMER:"action:showtimer",START_TIMER:"action:starttimer",STORE_RESUME_DATA:"action:store_resume_data",TOGGLE_WINDOW_CONTROL:"action:toggle_window_control",TOGGLE_WINDOW_CONTROL_VISIBLE:"action:toggle_window_control_visible",TRIGGER_HOST_EVENT:"action:trigger_host_event",TRIGGER_NEXT_SLIDE:"action:trigger_next_slide",TRIGGER_PREV_SLIDE:"action:trigger_prev_slide",TRIGGER_SLIDE_FINISH:"action:trigger_slide_finish",TRIGGER_SUBMITALL_SLIDE:"action:trigger_submitall_slide",TRIGGER_SUBMIT_SLIDE:"action:trigger_submit_slide",TRIGGER_WEBOBJECT_CLIENT_EVENT:"action:trigger_webobject_client_event",UPDATE_SCROLL_POS:"action:updatescrollpos",UPDATE_SCROLL_HEIGHT:"action:updatescrollheight",ZOOMPAN:"action:zoompan",XAPI_SEND_STATEMENT:"action:xapi_send_statement"}}.call(t,n,t,e))||(e.exports=i)},9656:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,n=t.slidesController,i=t.detection.env.isRise;return{prepare:function(e){return new Promise((function(t){if(i){var r=n.getSlide(n.getEntrypoint()),o=e.assetLib(),s=!1;if(null!=r){var a=e.slideMap(),l=r.fullId();s=a.getRefById(l).assetIds().some((function(e){return"panorama"===o.findWhere({id:e}).get("imageType")}))}t(s)}else t(!1)}))}}}.call(t,n,t,e))||(e.exports=i)},2658:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(9763),r=n(7877),o=DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation?DS.jsAssetStore:n(6849),s=DS,a=s._,l=s.errorManager,c=s.vow,u=l.throwError("assetManager"),d=l.backtick,h={audio:1,video:2};return{initialize:function(e){return t=e,this},getAsset:function(e){var n=t.get(e);return n||u("getAsset","No asset with id of",d(e)),n},getAssetUrl:function(e){return this.getAsset(e).url()},offloadAssets:function(e){e.forEach(function(e){var t=this.getAsset(e);"audio"===t.type()?i.wipeFromBuffer(t.url()):"js"===t.type()&&o.clearAsset(t.url())}.bind(this))},prioritizeAssets:function(e){var t=e.map(this.getAsset.bind(this));return a.sortBy(t,(function(e){return h[e.type()]||0}))},loadAssets:function(e,t){a.isArray(e)||u("loadAssets","Must pass in an array of asset ids");var n=a.invokeMap(this.prioritizeAssets(e),"load",t),i=c.after.apply(null,n);return i.dfds=a.map(n,"dfd"),i},clearAllAssets:function(){for(var e,t=r.getMediaLoaderSvg();e=t.lastElementChild;)t.removeChild(e)}}}.call(t,n,t,e))||(e.exports=i)},2828:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,n=DS.utils;return{initialize:function(e){t=e},load:function(e){return t.load(n.stripPlayer(e.absoluteId))}}}.call(t,n,t,e))||(e.exports=i)},9763:function(e,t,n){var i;i=function(e){"use strict";var t,i,r,o=n(3047),s=DS,a=s._,l=s.audioContext,c=s.utils,u=s.detection,d=s.vendorOverrides,h=s.superagent,p=s.animationClock,f=DS.globalEventHelper,g=f.addBodyListener,m=f.removeBodyListener,v=1e-6,S=c.createSuper(o),y={},b={},w=!1,C={},x=function(){return"suspended"===E.context().state},D=d.destroyAudioContext||function(e){null!=t&&clearTimeout(t),t=setTimeout((function(){null!=i&&(i.close(),i=null),null!=e&&null!=C[e]&&(C[e]=null)}),3e4)},E=function(){o.apply(this,arguments)};a.extend(E,o,{context:function(){return null==i&&(i=l&&new l,x()&&g("mousedown",(function e(){i.onstatechange(),m("mousedown",e)})),i.onstatechange=function(){x()&&null!=i&&i.resume()}),null!=t&&(clearTimeout(t),t=null),i},prepare:function(e){var t,n=!0,i=u.browser.isFF?window.setTimeout:function(e){return e()};this.playInaudibleBeep(),x()&&null!=(t=E.context().resume())?window.requestAnimationFrame((function(){t.then((function(){n=!1,x()&&(w=!0),e()})).catch((function(){n=!1,w=!0,e()})),i((function(){n&&(w=x(),e())}),250)})):e()},checkNeedsApproval:function(){return w},playInaudibleBeep:function(){var e=new T,t=function(){e.destroy(),this.prepareScratchBuffer()}.bind(this);return e.play(),u.os.isAndroid?setTimeout(t,30):t(),this},prepareScratchBuffer:function(){var e=this.context();r=e.createBuffer(1,1,22050)}}),E.prototype=new o,a.extend(E.prototype,{constructor:E,initialize:function(){S("initialize").apply(this,arguments),this.options.isBackgroundAudio?this.contextStartTime=0:this.contextStartTime=p.time(),this.dfd.catch(function(){E.wipeFromBuffer(this.url)}.bind(this)),u.os.isIOS&&document.addEventListener("visibilitychange",this.onIosVisibilityChange.bind(this))},load:function(){return null!=y[this.url]?(this.buffer=y[this.url],this.dfd.resolve()):h.get(this.url).on("request",(function(){this.xhr.responseType="arraybuffer"})).end(function(e,t){e?this.dfd.reject(e):this.decode(t.xhr.response)}.bind(this)),this},decode:function(e){E.context().decodeAudioData(e,this.onDecodeSuccess.bind(this),this.dfd.reject)},onDecodeSuccess:function(e){e?(y[this.url]=this.buffer=e,this.dfd.resolve()):this.dfd.reject("Could not load audio buffer from "+this.url)},onEnded:function(){this.destroySource(),this.destroyGain(),this.unmarkAsPlaying(),S("onEnded").apply(this,arguments)},createGain:function(e){var t=e||E.context();this.ctx=t,this.gainNode=t.createGain();var n=this.options.parentId;null!=n?((null==C[n]||e)&&(null!=C[n]&&(this.oldVolume={parent:C[n].parent.gain.value,variable:C[n].variable.gain.value,fader:C[n].fader.gain.value}),C[n]={parent:t.createGain(),fader:t.createGain(),variable:t.createGain()},C[n].parent.connect(t.destination),C[n].fader.connect(C[n].parent),C[n].variable.connect(C[n].fader),this.shouldResetGains||null==this.oldVolume||(C[n].parent.gain.value=this.oldVolume.parent,C[n].variable.gain.value=this.oldVolume.variable,C[n].fader.gain.value=this.oldVolume.fader),this.shouldResetGains=!1),this.gainNode.connect(C[n].variable)):this.gainNode.connect(t.destination),this.gainNode.gain.value=this.volume},resetGains:function(){this.shouldResetGains=!0},matchParentGains:function(e){var t=this.parentVolumes(),n=e.parentVolumes();null!=t&&null!=n&&(t.parent.gain.value=n.parent.gain.value,t.variable.gain.value=n.variable.gain.value)},parentVolumes:function(){var e=this.options.parentId;if(null!=C[e])return C[e]},fadeSoundByVariable:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.options.parentId;if(null!=C[n]){var i=C[n].variable.gain;i.setValueAtTime(i.value,this.ctx.currentTime),i.exponentialRampToValueAtTime(Math.max(v,e),this.ctx.currentTime+t)}},fadeSoundGroup:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=this.options.parentId;if(null!=C[i]){var r=C[i].parent.gain;n&&(r.value=n),r.setValueAtTime(r.value,this.ctx.currentTime),r.exponentialRampToValueAtTime(Math.max(v,e),this.ctx.currentTime+t)}},fadeInSoundGroupLinear:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.options.parentId;if(null!=C[n]){var i=C[n].parent.gain;i.value=0,i.setValueAtTime(i.value,this.ctx.currentTime),i.linearRampToValueAtTime(Math.max(v,e),this.ctx.currentTime+t)}},fadeIn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.options.parentId;if(null!=C[n]){var i=C[n].fader.gain;t||(i.value=v),i.setValueAtTime(i.value,this.ctx.currentTime),i.exponentialRampToValueAtTime(1,this.ctx.currentTime+e)}},fadeOut:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.options.parentId;if(null!=C[n]){var i=C[n].fader.gain;t||(i.value=1),i.setValueAtTime(i.value,this.ctx.currentTime),i.exponentialRampToValueAtTime(v,this.ctx.currentTime+e)}},destroyGain:function(){null!=this.gainNode&&(this.gainNode.disconnect(),this.gainNode=null)},createSource:function(){var e=E.context();this.source=e.createBufferSource(),this.source.buffer=this.buffer,this.bindSourceOnEnded(),this.source.connect(this.gainNode)},destroySource:function(){if(null!=this.source){this.unbindSourceOnEnded();try{this.source.stop(0)}catch(e){}this.source.disconnect();try{this.source.buffer=r}catch(e){}this.source=null}},clearTimeUpdateInterval:function(){clearInterval(this.timeUpdateTimeoutHandle)},startTimeUpdateInterval:function(){this.clearTimeUpdateInterval(),this.timeUpdateTimeoutHandle=setInterval(function(){this.onTimeUpdateDelegate(this.getCurrentTime())}.bind(this),250)},setPlaybackSpeed:function(e){null!=this.source&&null!=this.source.playbackRate&&(this.source.playbackRate.value=e)},deferredPlay:function(){var e=E.context();this.destroySource(),this.destroyGain(),this.startAt<this.getDuration()?("interrupted"===e.state&&e.resume(),this.createGain(e),this.createSource(),this.options.isBackgroundAudio?(this.contextStartTime=e.currentTime,this.source.start(this.contextStartTime+Math.max(0,-this.startAt),Math.max(0,this.startAt))):(this.contextStartTime=p.time(),this.source.start(0,Math.max(0,this.startAt)),null!=this.source.playbackRate&&(this.source.playbackRate.value=DS.appState.getPlaybackSpeed())),this.startTimeUpdateInterval(),this.isPlaying=!0,this.markAsPlaying()):this.onEnded()},deferredPause:function(){this.isPlaying&&(this.startAt=this.getCurrentTime(),this.destroySource(),this.destroyGain(),this.isPlaying=!1,this.unmarkAsPlaying(),this.clearTimeUpdateInterval())},getCurrentTime:function(){return this.isPlaying?this.options.isBackgroundAudio?E.context().currentTime-this.contextStartTime+this.startAt||0:(p.time()-this.contextStartTime+1e3*this.startAt||0)/1e3:this.startAt},getDuration:function(){return c.getPath(this.buffer,"duration")},setVolume:function(e){return this.volume=e,null!=this.gainNode&&(this.gainNode.gain.value=e),this},destroy:function(e){return null==e&&(e=!u.device.isMobile),this.destroySource(),this.destroyGain(),this.unmarkAsPlaying(),this.clearTimeUpdateInterval(),e||E.wipeFromBuffer(this.url),S("destroy").apply(this,arguments),this},bindSourceOnEnded:function(){this.onEndedOnceDelegate=a.once(this.onEndedDelegate),this.source.onended=this.onEndedOnceDelegate,this.source.addEventListener("ended",this.onEndedOnceDelegate)},unbindSourceOnEnded:function(){this.source.onended=null,this.source.removeEventListener("ended",this.onEndedOnceDelegate),this.onEndedOnceDelegate=null},markAsPlaying:function(){b[this.url]=!0},unmarkAsPlaying:function(){b[this.url]=null,a.every(b,a.isNull)&&(b={},D(this.options.parentId))},onIosVisibilityChange:function(){var e=this;if("visible"===document.visibilityState){var t=E.context(),n=new T,r=function(){n.destroy()}.bind(this),o=t.currentTime;n.play(),setTimeout((function(){t.currentTime===o&&(y[e.url]=null,i=null),r()}),125)}}}),E.wipeFromBuffer=function(e){y[e]=null};var T=function(){E.apply(this,arguments),this.url="#inaudible",this.volume=0,this.dfd.resolve()};return T.prototype=new E,a.extend(T.prototype,{constructor:T,createSource:function(){var e=E.context();this.source=e.createOscillator(),this.source.type="sine",this.source.frequency.value=22e3,this.source.connect(this.gainNode)},getDuration:function(){return 1/0}}),E}.call(t,n,t,e),void 0===i||(e.exports=i)},3047:function(e,t,n){var i;i=function(e){"use strict";var t=n(9485),i=DS._,r=DS.Backbone,o=DS.errorManager,s=DS.events,a=DS.pubSub,l=DS.vow,c=(DS.flagManager,s.detection),u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.deferredOp=i.noop,this.options=n,this.dfd=l.Deferred(),this.dfd.then(function(){this.deferredOp(),this.deferredOp=i.noop}.bind(this)),this.dfd.catch(function(e){o.throwError("AudioClipBase","constructor",'could not load "',this.url,'" ',e)}.bind(this)),this.url=e,this.id=t,this.startAt=0,this.options.isBackgroundAudio||(this.playbackSpeed=DS.appState.getPlaybackSpeed()),this.isPlaying=!1,this.isEnded=!1,this.onEndedDelegate=this.onEnded.bind(this),this.onTimeUpdateDelegate=this.onTimeUpdate.bind(this),i.bindAll(this,"onVisibilityHidden","onVisibilityShown"),this.initialize()};u.prepare=i.noop,u.checkNeedsApproval=i.noop;var d=u.prototype;i.extend(d,r.Events,{initialize:function(){var e=this;this.detectionSubscriptions={},this.detectionSubscriptions[c.VISIBILITY_HIDDEN]=this.onVisibilityHidden,this.detectionSubscriptions[c.VISIBILITY_SHOWN]=this.onVisibilityShown,a.on(this.detectionSubscriptions),this.options.isBackgroundAudio||a.on(s.player.PLAYBACK_SPEED_CHANGED,(function(t){e.handlePlaybackSpeedChanged(t)}))},handlePlaybackSpeedChanged:function(e){this.setPlaybackSpeed(e)},onEnded:function(){this.isPlaying=!1,this.isEnded=!0,this.trigger(s.audioClip.ENDED,this.url)},onTimeUpdate:function(e){this.isPlaying&&this.trigger(s.audioClip.TIME_UPDATE,e)},onVisibilityHidden:function(){this.isPlaying&&(this.wasPlayingWhenVisible=!0,this.pause())},onVisibilityShown:function(){this.wasPlayingWhenVisible&&(this.wasPlayingWhenVisible=!1,this.play())},doDeferredOp:function(e){l.isResolved(this.dfd)?e():this.deferredOp=e},play:function(e){return null!=e&&(this.startAt=e),this.doDeferredOp(this.deferredPlay.bind(this)),this},pause:function(){return this.doDeferredOp(this.deferredPause.bind(this)),this},seek:function(e){return this.startAt=e,this.isPlaying&&this.play(),this},destroy:function(){return a.off(this.detectionSubscriptions),this}});var h=t.anySoundStarted,p=t.anySoundStopped;return Object.defineProperties(u.prototype,{isPlaying:{get:function(){return this.soundIsPlaying},set:function(e){this.options.isBackgroundAudio||"#inaudible"===this.url||(e&&!this.soundIsPlaying?h():!e&&this.soundIsPlaying&&p()),this.soundIsPlaying=e}}}),u}.call(t,n,t,e),void 0===i||(e.exports=i)},3116:function(e,t,n){var i;i=function(e){"use strict";var t=n(3047),i=DS,r=i._,o=i.constants,s=i.utils,a=i.globalEventHelper.addBodyListener,l=(i.flagManager,i.detection),c=s.createSuper(t),u={},d=l.browser.isSafariMac&&l.device.isDesktop?2:20,h=[],p=!1,f=function(e){var t=document.createElement("audio");return t.setAttribute("preload","auto"),document.body.appendChild(t),t},g=function(){t.apply(this,arguments)},m=!1;return r.extend(g,t,{resetPrepared:function(){p=!1},initIosSilentMode:function(){if(l.os.isIOS){var e=f();e.src=o.TINY_AUDIO;e.addEventListener("canplay",(function t(){e.removeEventListener("canplay",t);var n=a("touchend",(function(){n(),e.play()}))})),e.load()}},prepare:function(e){if(!p){var t;p=!0;var n=document.createElement("audio"),i=function(){var t,n;t=DS.presentation.assetLib(),n=Math.min(d,t.getAudioCount()),r.times(n,(function(){var e=f();e.src=o.TINY_AUDIO,e.load();var t=function t(){if(e.removeEventListener("canplaythrough",t),e.removeEventListener("canplay",t),m)var n=function(){i(),e.play().then((function(){h.push(e)})).catch((function(){DS.errorManager.throwErrorSoft("AudioClipElement","initWhenReady","Could not initialize audio")}))},i=r.flow(a("click",n),a("touchend",n));else h.push(e)};e.addEventListener("canplay",t),e.addEventListener("canplaythrough",t)})),e()};n.setAttribute("src",o.TINY_AUDIO),null!=(t=n.play())?t.then((function(){i()})).catch((function(){m=!0,i()})):i()}},checkNeedsApproval:function(){return m}}),g.prototype=new t,r.extend(g.prototype,{constructor:g,initialize:function(){this.refCount=0,this.elementId="".concat(this.url,"-").concat(this.id),r.bindAll(this,"setPlaybackSpeed"),c("initialize").apply(this,arguments),this.dfd.catch(function(){u[this.elementId]=null}.bind(this)),this.playTimeout=null,this.updateTimeDelegate=this.updateTime.bind(this)},onEnded:function(){this.startTime=this.getDuration(),c("onEnded").call(this,arguments)},updateTime:function(e){this.onTimeUpdateDelegate(e.target.currentTime)},load:function(){return null==u[this.elementId]?(this.refCount=1,this.el=(this.elementId,h.length>0?h.shift():f()),this.el.src=this.url,this.el.load(),u[this.elementId]=this.el):(this.refCount++,this.el=u[this.elementId],this.el.readyState>=this.el.HAVE_ENOUGH_DATA&&this.dfd.resolve()),this.el.playbackRate=this.playbackSpeed,this.el.addEventListener("canplaythrough",this.dfd.resolve),this.el.addEventListener("error",this.dfd.reject),this.el.addEventListener("ended",this.onEndedDelegate),this.el.addEventListener("timeupdate",this.updateTimeDelegate),this},setPlaybackSpeed:function(e){null!=this.el&&(this.el.playbackRate=e)},deferredPlay:function(){var e=this.el.play.bind(this.el);this.clearPlayTimeout(),this.startAt<this.getDuration()?(this.startAt<0?(this.negative=!0,this.el.pause(),this.setCurrentTime(0),this.playTimeout=setTimeout(e,s.toMilliseconds(-this.startAt))):(this.negative=!1,this.setCurrentTime(this.startAt),e()),this.performanceStartTime=(new Date).getTime(),this.isPlaying=!0):(this.pause(),this.onEnded())},deferredPause:function(){this.isPlaying&&(this.clearPlayTimeout(),0===this.el.currentTime&&this.negative?this.startAt=s.toSeconds((new Date).getTime()-this.performanceStartTime)+this.startAt:this.startAt=this.el.currentTime,this.el.pause(),this.isPlaying=!1)},getDuration:function(){return this.el.duration},setVolume:function(e){return this.el.volume=e,this},setCurrentTime:function(e){this.el.currentTime!==e&&(this.el.currentTime=e)},destroy:function(e){var t,n;if(this.refCount--,!(this.refCount>0))return this.clearPlayTimeout(),null!=this.el&&(this.el.removeEventListener("canplaythrough",this.dfd.resolve),this.el.removeEventListener("error",this.dfd.reject),this.el.removeEventListener("ended",this.onEndedDelegate),this.el.removeEventListener("timeupdate",this.updateTimeDelegate),e||(t=this.el,n=this.elementId,u[n]=null,h.push(t),t.src=o.TINY_AUDIO,t.load())),c("destroy").apply(this,arguments),this},clearPlayTimeout:function(){clearTimeout(this.playTimeout),this.playTimeout=null}}),g}.call(t,n,t,e),void 0===i||(e.exports=i)},3723:function(e,t,n){var i;i=function(e){"use strict";var t=n(9763),i=n(3116),r=n(9485),o=DS.detection,s=DS.pubSub,a=DS.events,l=DS.slidesController,c=(DS.flagManager,function(){var e=o.capabilities.hasAudioApi;return!!o.os.isIOS&&e}),u=function(){return c()?t:i},d={};s.on("nextSlide:requesting",(function(){d={}})),s.on(a.main.PREPARE_AUDIO,(function(e){o.device.isMobile&&h.prepare(e)}));var h={prepare:function(e){return new Promise((function(t){var n,o,s,a,c,d=!1,p=e.assetLib();r.init(e,h),r.hasAudio()?r.ready(t):p.hasType("audio")?(i.initIosSilentMode(),(n=u()).prepare((function(){n.checkNeedsApproval()&&(null==(c=l.getSlide(l.getEntrypoint()))?d=!0:(o=e.slideMap(),s=c.fullId(),a=o.getRefById(s),d=a.assetIds().some((function(e){return"audio"===p.find({id:e}).type()})))),t(d)}))):t(!1)}))},loadUrl:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=d[n])return d[n].load(),d[n];var r=new(i.webAudio?t:u())(e,n,i);return d[n]=r,r.load(),r},getAudioClipApi:function(){return t},useAudioApi:c};return h}.call(t,n,t,e),void 0===i||(e.exports=i)},9485:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,a(i.key),i)}}function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}i=function(e){"use strict";var t,n,i,r,a,l=DS,c=l.utils,u=l.pubSub,d=l.events,h=l.constants,p=l.detection,f=.5,g=!1,m=function(){function e(t,n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"onAnyVideoStarted",(function(e){i.pauseForVideo&&(i.videosStarted=!0,i.videoVolumeLow=!1,clearTimeout(i.forceLowFadeTimeout),i.fadeSoundGroup(0,f),clearTimeout(i.videoPauseTimeout),i.videoPauseTimeout=setTimeout((function(){i.currentClip.pause()}),f))})),s(this,"onAllVideosStopped",(function(e){i.pauseForVideo&&(i.videosStarted=!1,i.isEnabled&&i.playAndOrFadeIn(),v.activeMedia>1&&(i.videoVolumeLow=!0,i.forceLowFadeTimeout=setTimeout((function(){i.autoAdjustVolume&&i.fadeSoundGroup(i.fadedVolume,f)}),250)))})),s(this,"onAnySoundStarted",(function(e){})),s(this,"onAllSoundsStopped",(function(e){})),s(this,"onAnyMediaStarted",(function(e){i.videosStarted||i.autoAdjustVolume&&i.fadeSoundGroup(i.fadedVolume,f)})),s(this,"onAllMediaStopped",(function(e){i.videoVolumeLow?i.videoVolumeLow=!1:a.slideTransition?i.fadeSoundGroup(i.autoAdjustVolume?i.fadedVolume:1,f):i.fadeSoundGroup(1,f)})),s(this,"onAudioStart",(function(){g||(i.autoPlay&&(i.defaultVolume(),i.playAndOrFadeIn()),g=!0)})),s(this,"onGlobalVolumeChanged",(function(e){i.currentGlobalVol=e,i.currentVol=e*i.volume,i.setVolume(i.currentVol)})),s(this,"onTimelinePaused",(function(e){e.timeline})),s(this,"onTimelinePlayed",(function(e){e.timeline})),s(this,"onControlTrigger",(function(e){i.isEnabled&&("play"===e.command?i.play():"pause"===e.command?i.pause():"stop"===e.command?i.stop():"restart"===e.command&&i.restart())})),s(this,"onTimeUpdate",(function(e){if(i.fadeInOut){var t=i.currentClip.calcedDuration-e<=.7;!i.currentClip.fading&&t&&(i.currentClip.fadeOut(.7),i.currentClip.fading=!0)}})),this.idx=t,this.trackNum=0,this.trackLoadIdx=0,this.firstStarted=!1,this.isEnabled=!0,this.audioClips=[],Object.assign(this,n),this.autoAdjustVolume?this.fadedVolume*=this.volume:this.fadedVolume=this.volume}var t,i,r;return t=e,i=[{key:"activate",value:function(){u.once(d.course.AUDIO_START,this.onAudioStart),u.on(d.volume.CHANGED,this.onGlobalVolumeChanged),u.on(d.slide.STARTED,this.onSlideStarted),u.on(d.course.PAUSED,this.onTimelinePaused),u.on(d.course.PLAYING,this.onTimelinePlayed),u.on(d.backgroundAudio.CONTROL,this.onControlTrigger),u.on(d.course.ANY_VIDEO_STARTED,this.onAnyVideoStarted),u.on(d.course.ALL_VIDEOS_STOPPED,this.onAllVideosStopped),u.on(d.course.ANY_SOUND_STARTED,this.onAnySoundStarted),u.on(d.course.ALL_SOUNDS_STOPPED,this.onAllSoundsStopped),u.on(d.course.ANY_MEDIA_STARTED,this.onAnyMediaStarted),u.on(d.course.ALL_MEDIA_STOPPED,this.onAllMediaStopped)}},{key:"deactivate",value:function(){u.off(d.course.AUDIO_START,this.onAudioStart),u.off(d.volume.CHANGED,this.onGlobalVolumeChanged),u.off(d.slide.STARTED,this.onSlideStarted),u.off(d.course.PAUSED,this.onTimelinePaused),u.off(d.course.PLAYING,this.onTimelinePlayed),u.off(d.backgroundAudio.CONTROL,this.onControlTrigger),u.off(d.course.ANY_VIDEO_STARTED,this.onAnyVideoStarted),u.off(d.course.ALL_VIDEOS_STOPPED,this.onAllVideosStopped),u.off(d.course.ANY_SOUND_STARTED,this.onAnySoundStarted),u.off(d.course.ALL_SOUNDS_STOPPED,this.onAllSoundsStopped),u.off(d.course.ANY_MEDIA_STARTED,this.onAnyMediaStarted),u.off(d.course.ALL_MEDIA_STOPPED,this.onAllMediaStopped)}},{key:"fadeSoundGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;null!=this.currentClip&&this.currentClip.fadeSoundGroup(e,t)}},{key:"fadeInSoundGroupLinear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;null!=this.currentClip&&this.currentClip.fadeInSoundGroupLinear(e,t)}},{key:"isCurrentPlaylist",value:function(){return a===this}},{key:"defaultVolume",value:function(){this.currentVol=h.DEFAULT_VOLUME*this.volume,this.setVolume(this.currentVol)}},{key:"isPlaying",value:function(){return"play"===this.lastCommand}},{key:"isPaused",value:function(){return"pause"===this.lastCommand}},{key:"isStopped",value:function(){return"stop"===this.lastCommand}},{key:"play",value:function(){var e=this;if(!this.currentClip.isPlaying){if(this.triggerFade)return clearInterval(this.playId),void(this.playId=setTimeout((function(){return e.play()}),200));this.lastCommand="play",this.stoppedByTrigger&&(this.playNextClip(0),this.stoppedByTrigger=!1),this.currentClip.resetGains(),this.currentClip.play(),0!==v.activeMedia&&this.autoAdjustVolume?this.fadeInSoundGroupLinear(this.fadedVolume,f):this.fadeInSoundGroupLinear(1,f),this.currentClip.fadeSoundByVariable(DS.presentation.playerVars().variables().get("backgroundAudioVolume").value()/100,0)}}},{key:"pause",value:function(){var e=this;this.lastCommand="pause",this.currentClip.isPlaying&&(this.fadeSoundGroup(0,.5),this.triggerFade=!0,clearTimeout(this.fadeId),this.fadeId=setTimeout((function(){e.currentClip.pause(),e.triggerFade=!1}),500))}},{key:"restart",value:function(){this.finished&&(this.finished=!1,this.playNextClip(0)),this.playAndOrFadeIn()}},{key:"stop",value:function(){this.lastCommand="stop",this.stoppedByTrigger=!0,this.pause()}},{key:"setVolume",value:function(e){this.currentClip.setVolume(e<0?0:e)}},{key:"enabled",get:function(){return this.isEnabled},set:function(e){this.isEnabled=e,this.isPaused()||this.isStopped()||(e?this.currentClip.play():this.currentClip.pause())}},{key:"playAndOrFadeIn",value:function(){this.isPaused()||this.isStopped()||(this.currentClip.isPlaying||(this.currentClip.play(),null!=this.prevClip&&(this.currentClip.matchParentGains(this.prevClip),this.prevClip=null)),this.fadeInOut&&this.currentClip.fadeIn(.7),this.currentClip.fadeSoundByVariable(DS.presentation.playerVars().variables().get("backgroundAudioVolume").value()/100,0))}},{key:"playNextClip",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.prevClip=this.currentClip,this.trackNum=e,null!=this.currentClip&&(this.currentClip.fading=!1),this.currentClip=this.audioClips[e],this.setVolume(this.currentVol),this.currentClip.seek(0),t&&this.playAndOrFadeIn()}},{key:"prepNextClip",value:function(e){var t=e+1;t<this.audioClips.length?this.playNextClip(t):this.autoRestart?this.playNextClip(0):(this.finished=!0,this.currentClip=null)}},{key:"loadAudioWithQueue",value:function(){var e,t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},r=this.trackLoadIdx;if(r<this.tracks.length){var o=this.tracks[this.trackLoadIdx];if(p.env.isFileProtocol&&(o=DS.courseAudio.localAudioLookup[o]),null==(e=n.loadUrl(o,"courseAudioId_".concat(this.idx,"_").concat(this.trackLoadIdx),{parentId:this.trackLoadIdx,isBackgroundAudio:!0,webAudio:!0})))return;e.dfd.then((function(){t.audioClips.push(e),e.calcedDuration=e.getDuration(),e.on(d.audioClip.TIME_UPDATE,t.onTimeUpdate),e.on(d.audioClip.ENDED,(function(e){t.prepNextClip(r,t.autoPlay)})),t.trackLoadIdx++,setTimeout((function(){t.loadAudioWithQueue()}),e.calcedDuration/3)})).always((function(){var e=n.getAudioClipApi();e.prepare((function(){i(e.checkNeedsApproval())}))}))}return e}},{key:"load",value:function(e){var t=this;this.loaded||(this.loaded=!0,p.env.isFileProtocol?this.loadFromFileSystem=function(){t.currentClip=t.loadAudioWithQueue(e)}:this.currentClip=this.loadAudioWithQueue(e))}}],i&&o(t.prototype,i),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();u.on(d.backgroundAudio.SWITCH_PLAYLIST,(function(e){e.idx}));var v={activeMediaCount:0,set activeMedia(e){this.activeMediaCount=Math.max(0,e)},get activeMedia(){return this.activeMediaCount},localAudioLookup:{},init:function(e,i){t=e,n=i},hasAudio:function(){if(null!=r)return r;var e,n,o=t.get("backgroundAudio"),s=0;return c.getPath(o,"length")>0&&null!=o[0].tracks&&o[0].tracks.length>0&&((n=!!(null!=(e=o[0].tracks[0])&&e.length>0))&&(p.env.isFileProtocol?function(){o[0].tracks=o[0].tracks.map((function(e){return e+".js"}));for(var e=o[0].tracks.length,t=function(t){var n=o[0].tracks[t];v.localAudioLookup[n]="temp-audio-uri",DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation?DS.jsonLoader.load(n,{load:function(){var t=DS.utils.resolveAssetUrl(n),i=DS.jsAssetStore.getJsAssetValue(t);v.localAudioLookup[n]=i.dataUri,DS.jsAssetStore.clearAsset(t),++s===e&&a.loadFromFileSystem()}}):DS.loadScript(n,(function(){++s===e&&a.loadFromFileSystem()}))},n=0;n<e;n++)t(n)}():o[0].tracks=o[0].tracks.map((function(e){return e+".mp3"})),v.currentSource=e,i=o.map((function(e,t){return new m(t,e)}))),v.isEnabled=!0),r=n,n},ready:function(e){this.hasAudio()&&((a=i[0]).activate(),a.load(e))},toggleEnabled:function(){a.enabled=!a.enabled},enabled:function(){return a.enabled}};u.on(d.backgroundAudio.TOGGLE,(function(){DS.courseAudio.toggleEnabled(),u.trigger(d.backgroundAudio.HAS_TOGGLED)}));var S=0,y=!1;v.anyVideoStarted=function(){u.trigger(d.course.ANY_VIDEO_STARTED),S++,y=!1,0===v.activeMedia&&u.trigger(d.course.ANY_MEDIA_STARTED),v.activeMedia++},v.anyVideoStopped=function(){0!==S&&(0===--S&&(y||(y=!0,u.trigger(d.course.ALL_VIDEOS_STOPPED))),v.activeMedia--,0===v.activeMedia&&u.trigger(d.course.ALL_MEDIA_STOPPED))};var b=0;return v.anySoundStarted=function(){0===b&&u.trigger(d.course.ANY_SOUND_STARTED),b++,0===v.activeMedia&&u.trigger(d.course.ANY_MEDIA_STARTED),v.activeMedia++},v.anySoundStopped=function(){0===--b&&u.trigger(d.course.ALL_SOUNDS_STOPPED),v.activeMedia--,0===v.activeMedia&&u.trigger(d.course.ALL_MEDIA_STOPPED)},u.once(d.slide.HAS_MOUNTED,(function(e){if(window.globals.HAS_FRAME||!DS.presentation.isPreview()){var t=DS.presentation.playerVars().variables().get("backgroundAudioVolume");t.on("change:value",(function(){null!=a&&null!=a.currentClip&&a.currentClip.fadeSoundByVariable(t.value()/100,f)}))}})),u.on(d.slide.WILL_CHANGE,(function(){if(null!=a){var e=!1;(a.videosStarted||a.videoVolumeLow)&&(a.videosStarted=!1,a.videoVolumeLow=!1,e=!0);var t=0===v.activeMedia;a.isStopped()||a.isPaused()||(a.enabled&&t&&null!=a.currentClip&&(a.currentClip.isPlaying&&!e||a.playAndOrFadeIn(),a.currentClip.fadeSoundGroup(1,f)),a.slideTransition=!0,u.once(d.slide.STARTED,(function(e){a.slideTransition=!1})),null!=a.currentClip&&a.enabled&&v.activeMedia>0&&(a.currentClip.isPlaying||a.playAndOrFadeIn(),a.fadeSoundGroup(a.autoAdjustVolume?a.fadedVolume:1,f),u.once(d.slide.STARTED,(function(e){0!==v.activeMedia&&a.autoAdjustVolume?a.fadeSoundGroup(a.fadedVolume,f):a.fadeSoundGroup(1,f)}))),v.activeMedia=0,b=0,S=0)}})),DS.courseAudio=v,v}.call(t,n,t,e),void 0===i||(e.exports=i)},981:function(e,t,n){var i;i=function(e){"use strict";var t,i,r,o=n(4196),s=n(5648),a=n(9405),l=DS._,c=DS.resolver,u=DS.automation,d=DS.utils,h=function(e){return c.resolvePath(d.prefixWithPlayer(e),t)},p=function(e){var t=h(e);return null!=t?t.value():null},f=function(e,n){var i,r=h(e);null!=r&&(i={kind:"adjustvar",variable:r.absoluteId,operator:"set",value:{type:r.type(),value:n}},o.executeAction(i,{context:t}))},g=function(){var e=u.getPlayer&&u.getPlayer()||{};return l.extend(m,e)},m={GetVar:p,SetVar:f},v={};function S(e){var t=e.props.model.absoluteId;null==v[t]?(r=new a(e.props.model),v[t]=r,e.props.model.once(DS.events.slide.TEARDOWN,(function(){v[t]=null}))):r=v[t],i=e.props.model}DS.pubSub.on(DS.events.window.CLOSED,(function(e){DS.pubSub.once(DS.events.slide.STARTED,(function(e,t,n){S(t.currView)}))})),DS.pubSub.on(DS.events.request.NEXT_SLIDE,(function(e){var t,n,o;(null===(t=i)||void 0===t?void 0:t.absoluteId)===e&&(null===(n=r)||void 0===n||null===(o=n.resetTriggerAnimations)||void 0===o||o.call(n))})),DS.pubSub.on(DS.events.timeline.BEFORE_RESET,(function(e){r.resetTriggerAnimations(),r.timelineScripts={}})),DS.pubSub.on(DS.events.slide.HAS_MOUNTED,S),function e(){if(null!=i&&r.timelineAnimations.length>0){for(var t=i.slideLayers().models,n={},o=0;o<t.length;o++){var s=t[o],a=s.currView;if(null!=a){var l=a.isVisible(),c=s.timeline(),u=c.progress(),d=u*c.duration();n[a.props.idx]={model:s,view:a,timeline:c,progress:u,visible:l,time:d}}}for(var h=0;h<r.timelineAnimations.length;h++){var p=r.timelineAnimations[h];if(null!=p.object){var f=n[p.object.layer];if(null!=f&&f.visible&&p.animation.currentTime!==f.time){p.animation.currentTime=f.time;var g=p.animation.effect.getTiming();p.animation.currentTime>g.duration+g.delay?(p.hasFinished||null==p.finish||p.finish(),p.hasFinished=!0):p.hasFinished=!1}}}}requestAnimationFrame(e)}();return Object.assign(m,{object:function(e){var t=s.objectsByName[e];if(t){var n=r.objectMap.get(t);if(n)return n;var i={name:e,perspective:function(e){t.el.style.perspective=e},style:new Proxy({},{set:function(e,t,n){return o().style[t]=n,!0},get:function(e,t,n,i){return Reflect.get(o().style,t,i)}}),get layer(){var e=t.props.layerIdx;return null!=e?e:d.getPath(t.props,"parent.props.layerIdx")}};return Object.defineProperties(i,{animate:{get:function(){var e=o();return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return{animation:e.animate.apply(e,n),object:i}}}}}),r.objectMap.set(t,i),r.slideObjectLookup.set(i,t),i}function o(){var e;if("vectorshape"===t.props.model.kind())if(DS.flagManager.dropInCore)e=t.el.querySelector(".textlib-wrapper, .slideobject-maskable");else if(DS.flagManager.dropInVectors)e=t.el.querySelector(".dropin-wrap");else{var n=t.el.querySelector(".alternating-svg");e=null!=n?n:t.el.querySelector(".slideobject-maskable").firstElementChild}else e="image"===t.props.model.kind()?t.el.querySelector(".slideobject-maskable"):"video"===t.props.model.kind()?t.el.querySelector(".video-slide-object"):"stategroup"===t.props.model.kind()?t.el:t.el.firstElementChild;return e}console.warn('Sorry no object named "'.concat(e,'"'))},setVar:f,getVar:p,once:function(e){var t=e.toString();null==r.timelineScripts[t]&&(r.timelineScripts[t]=!0,e())},addForTriggers:function(e,t){r.addForTriggers(e,t),r.triggerAnimations.push(t)},addToTimeline:function(e,t){!function(e,t){for(var n=e.animation.effect.target.getAnimations(),i=0;i<n.length;i++){var o=n[i];if(o!=e.animations&&o.id===t){o.cancel();for(var s=r.timelineAnimations.length-1;s>=0;s--)r.timelineAnimations[s].animation===o&&r.timelineAnimations.splice(s,1)}}}(e,t),null!=t&&m.addForTriggers(t,e),e.animation.id=t,e.animation.pause(),r.timelineAnimations.push(e)}}),{initialize:function(e){t=e,window.GetPlayer=g,null!=window.InitExecuteScripts&&(window.InitExecuteScripts(),null!=window.InitUserScripts&&window.InitUserScripts())}}}.call(t,n,t,e),void 0===i||(e.exports=i)},9951:function(e,t,n){var i;i=function(e){"use strict";var t=DS._,n={window:{background:"#212121",border:"#454545",activeBorder:"#BABBBA",shadow:"rgba(0, 0, 0, 0.85)",divider:"#7A7A7A"},button:{icon:"#BABBBA",iconHover:"#F8F8F8",border:"#7A7A7A",background:"#212121"},text:{default:"#BABBBA",active:"#FFFFFF"},select:{border:"#7A7A7A",background:"rgba(255, 255, 255, 0.06)",openBorder:"#FFFFFF"},selectlist:{border:"#505050",background:"#212121"},selectitem:{selectedBorder:"#6C6C6C",selectedBackground:"rgba(255, 255, 255, 0.06)"},listitem:{selectedBorder:"#FFFFFF"},scrollbar:{thumbBackground:"#BABBBA"},base:{accent:"#4FBDF4"}},i={};return{setColorData:function(e){null!=e&&(this.colorGroups=e.reduce((function(e,t){return e[t.id]=t.colors.reduce((function(e,t){return e[t.id]=t.value,e}),{}),e}),{}))},getColor:function(e,t){var r="".concat(e,".").concat(t),o=DS.utils.getPath(this.colorGroups||{},r);return null!=o?o:(null==i[r]&&(console.warn("Could not find color ".concat(r," in the color table")),i[r]=!0),null!=(o=DS.utils.getPath(n,r))?o:"#ff0000")},setCssColorVariables:function(e){var n=this;(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(i){var r=i.group,o=i.name;e.style.setProperty("--".concat(t.kebabCase(r),"-").concat(t.kebabCase(o),"-color"),n.getColor(r,o))}))}}}.call(t,n,t,e),void 0===i||(e.exports=i)},9943:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1689),i=n(8907),r=DS._,o=DS.errorManager,s=DS.resolver,a=o.throwError("conditioner"),l=o.backtick,c={and:" and ",or:" or ",nand:" nand ",nor:" nor ",lt:" is less than ",gt:" is greater than ",lte:" is less than or equal to ",gte:" is greater than or equal to ",eq:" is equal to ",iceq:" is equal to ",noteq:" is not equal to ",icneq:" is not equal to "},u={andOr:function(e,t,n){return t.statements.map((function(e){return C.statementToString(e,n)})).join(e)},compare:function(e,t){return[d(e.valuea,e.typea,t),d(e.valueb,e.typeb,t)].join(c[e.operator])}};u.and=r.partial(u.andOr,c.and),u.or=r.partial(u.andOr,c.or),u.nand=r.partial(u.andOr,c.nand),u.nor=r.partial(u.andOr,c.nor);var d=function(e,t,n){return"property"===t?"Correct Response":p({type:t,value:e},{context:n})},h=function(e,t){var n=r.isArray(e)?e:t;return{arr:n,item:n===e?t:e}},p=function(e,t){return s.getRef(e,t.context||t,t.context&&t)},f=function(e){return String(e).toLowerCase()},g=function(e,t){var n=t?f:r.identity;return t||r.isString(e)?n(e).replace(/||/g,"'").replace(/“|”/g,'"'):e},m=function(e,t){var n=e+"id";return t[e+"Response"]===t[n]},v=r.partial(m,"statement"),S=r.partial(m,"choice"),y={and:r.every,or:r.some};y.nand=r.negate(y.and),y.nor=r.negate(y.or);var b={eq:function(e,t){return g(e)==g(t)},noteq:function(e,t){return g(e)!=g(t)},iceq:function(e,t){return g(e,!0)===g(t,!0)},icneq:function(e,t){return g(e,!0)!==g(t,!0)},gt:function(e,t){return g(e)>g(t)},lt:function(e,t){return g(e)<g(t)},gte:function(e,t){return g(e)>=g(t)},lte:function(e,t){return g(e)<=g(t)},has:function(e,t){var n=h(e,t);return r.includes(n.arr,n.item)},ichas:function(e,t){var n=h(e,t);return b.has(n.arr.map(f),f(n.item))}},w={compare:"evaluateComparison",varexists:"checkExistence",actiongroupexists:"checkExistence",stateexists:"checkState",hittestpoint:"evaluateHitTest",pair:"evaluatePair",isdescendant:"evaluateIsDescendant",containstext:"evaluateContainsText"},C={evaluateAction:function(e,t){return this.evaluateStatement(e.condition.statement,t)},evaluateStatements:function(e,t,n){return e(t,function(e){return this.evaluateStatement(e,n)}.bind(this))},evaluateStatement:function(e,t){return!!e&&this[w[e.kind]||"evaluateGroup"](e,t)},evaluateHitTest:function(e,n){var r,o=s.resolvePath(e.objRef.value,n.context),a=p({type:e.xPos.type,value:e.xPos.value},n),l=p({type:e.yPos.type,value:e.yPos.value},n),c=o.currView;return null!=c&&(r=i.slidePtToSlideObject(c,a,l),t.containsPoint(c,r.x,r.y))},evaluatePair:function(e,t){return v(e)&&S(e)},evaluateComparison:function(e,t){t.context;var n,i,r=e.operator;return r in b||a("evaluate","Cannot evaluate unsupported operator",l(r)),n=p({type:e.typea,value:e.valuea},t),i=p({type:e.typeb,value:e.valueb},t),b[r](n,i)},evaluateIsDescendant:function(e,t){var n=p({type:e.typea,value:e.targeta},t),i=p({type:e.typeb,value:e.targetb},t),r=s.resolvePath(n,t),o=s.resolvePath(i,t);return-1!==r.absoluteId.indexOf(o.absoluteId)},evaluateContainsText:function(e,t){var n=e.casesensitive?r.identity:f,i=r.flow(p,n),o=i(e.targetref,t),s=i(e.searchref,t);return-1!==o.indexOf(s)},evaluateGroup:function(e,t){var n=y[e.kind],i=e.statements;return this.evaluateStatements(n,i,t)},checkExistence:function(e,t){var n=s.getRef(e,t.context,t);return!!s.resolvePath(n,t.context,{optional:!0})},checkState:function(e,t){var n=s.getRef(e.objRef,t.context,t),i=s.resolvePath(n,t.context,{optional:!0}),o=s.getRef(e.stateRef,t.context,t);return null!=i&&r.isFunction(i.getStateFromName)&&null!=i.getStateFromName(o)},statementToString:function(e,t){return u[e.kind](e,t)}};return C}.call(t,n,t,e))||(e.exports=i)},3753:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.constants,r=i.math.TO_DEGREES,o=function(e,t){return n.dist(e.x,e.y,t.x,t.y)},s=function(e,t){return Math.atan2(t.y-e.y,t.x-e.x)*r},a=[void 0,void 0,function(e,t){return{x:t[0].x+(t[1].x-t[0].x)*e,y:t[0].y+(t[1].y-t[0].y)*e}},function(e,t){var n=1-e,i=n*n,r=2*n*e,o=e*e;return{x:i*t[0].x+r*t[1].x+o*t[2].x,y:i*t[0].y+r*t[1].y+o*t[2].y}},function(e,t){var n=1-e,i=e*e,r=n*n,o=r*n,s=3*e*r,a=3*i*n,l=i*e;return{x:o*t[0].x+s*t[1].x+a*t[2].x+l*t[3].x,y:o*t[0].y+s*t[1].y+a*t[2].y+l*t[3].y}}];return{getDistance:function(e,n){return 2===e.length?o(e[0],e[1]):(t.isArray(n)||(n=this.getSamplePoints(e,n||10)),t.last(n).distance)},getSamplePoints:function(e,t){if(2===e.length)return null;t=t||10;for(var n,i,r=0,s=[],a=e[0],l=1/t,c=0;c<=t;c++)n=l*c,i=this.getPointAtTime(n,e),r+=o(a,i),s.push({time:n,distance:r}),a=i;return s},curveToLines:function(e,n){if(2===e.length)return t.cloneDeep(e);var i,r,s,l,c,u,d,h,p=[],f=0,g=a[e.length];for(null==n&&(r=g(0,e),s=g(.25,e),l=g(.5,e),c=g(.75,e),u=g(1,e),h=o(r,s)+o(s,l)+o(l,c)+o(c,u),n=Math.min(parseInt(h/2),20)),d=1/n,i=0;i<n;i++)p.push(g(f,e)),f+=d;return p.push(g(1,e)),p},getPointAtTime:function(e,t){return a[t.length](e,t)},getNormalizedPointAtTime:function(e,n,i,r){var o,a,l,c,u,d,h,p;return 2===n.length?(a=this.getPointAtTime(e,n),r&&(a.angle=s(n[0],n[1])),a):(t.isArray(i)||(i=this.getSamplePoints(n,i||10)),u=0,d=1,c=this.getDistance(n,i)*e,((o=t.sortedIndexBy(i,{distance:c},"distance"))>i.length-1||c!==i[o].distance)&&o--,h=i[o],p=i[o+1],o<i.length-1&&(d=h.time+((c-h.distance)/(p.distance-h.distance)||0)*(p.time-h.time)),a=this.getPointAtTime(d,n),r&&((d+=.01)>1&&(d-=.02,u=-180),l=this.getPointAtTime(d,n),a.angle=s(a,l)+u),a)}}}.call(t,n,t,e))||(e.exports=i)},3488:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=DS._,n=/ version: ([0-9]+.*)+ /,i=function(e){var t=r(e.split(".").map((function(e){return parseInt(e)})),4);return{major:t[0],minor:t[1],build:t[2],revision:t[3]}};return{major:0,minor:0,build:0,revision:0,init:function(){var e,r;this.version=(e=t.first(t.filter(document.head.childNodes,(function(e){return e.nodeType===e.COMMENT_NODE&&n.test(e.nodeValue)})))||{nodeValue:" version: 0.0.0.0 "},r=n.exec(e.nodeValue),i(r[1])),this.fixThemeName().addFontAnalyticsNodes()},setDataVersion:function(e){this.version=i(e)},parseParams:function(){if(null!=window.globals.parsedParams)return window.globals.parsedParams;for(var e,t=window.location.search.substr(1).split("+").join(" "),n={},i=/[?&]?([^=]+)=([^&]*)/g;e=i.exec(t);)n[decodeURIComponent(e[1]).trim()]=decodeURIComponent(e[2]).trim();return window.globals.parsedParams=n,n},fixThemeName:function(){return null!=window.globals.themeName&&"null"!==window.globals.themeName||(window.globals.themeName="classic"),this.isClassic="classic"===window.globals.themeName,this},addFontAnalyticsNodes:function(){if(null==document.getElementById("font-test")){var e=document.createElement("div");e.id="font-test",e.setAttribute("style","position: fixed; left: -1000px; top: 0;"),e.setAttribute("aria-hidden",!0),e.innerHTML='\n <svg height="100" width="100" viewBox="0 0 100 100" focusable="false">\n <text style="font-family: DS_TEST_CHARSET, sans-serif" y="20">\n <tspan color="black" id="font-test-download">M</tspan>\n </text>\n <text style="font-family: sans-serif" y="40">\n <tspan color="black" id="font-test-default">M</tspan>\n </text>\n </svg>',document.body.appendChild(e)}return this},hasPatternImageFlag:function(){return this.version.major>=3&&this.version.minor>=11}}}.call(t,n,t,e))||(e.exports=i)},7877:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,n,i,r,o,s,a,l,c,u,d,h,p,f,g,m,v,S=DS,y=S.constants,b=S.globalEventHelper.addWindowListener,w=function(){return null==t&&(t=document.getElementById(y.els.PRESO)),t},C=function(){var e=w();(n=document.createElement("div")).id=y.els.LIB,n.classList.add("offscreen"),e.appendChild(n),(i=document.createElement("div")).innerHTML='<svg width="0" height="0" style="position:absolute;" focusable="false">\n <defs>\n <filter id="text-shadow" x="0%" y="0%" width="113%" height="113%">\n <feGaussianBlur stdDeviation="1 1" result="text-shadow"/>\n <feOffset dx="1.5" dy="1.5"/>\n </filter>\n <linearGradient id="timer-blue-grad" class="cs-duration">\n <stop offset="0%""/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="timer-yellow-grad" class="cs-elapsed">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="drop-list-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="dragdrop-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="dragdrop-hover-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <linearGradient id="wordbank-droparea-stroke-gradient" gradientTransform="rotate(90)">\n <stop offset="0%"/>\n <stop offset="100%"/>\n </linearGradient>\n <filter id="dragdrop-inner-stroke">\n <feFlood flood-color="#fff" result="strokeColor"/>\n <feMorphology operator="erode" radius="2" in="SourceAlpha" result="innerMorph"/>\n <feMorphology operator="erode" radius="1" in="SourceAlpha" result="outerMorph"/>\n <feComposite in="innerMorph" in2="outerMorph" operator="xor" result="morph"/>\n <feComposite in="strokeColor" in2="morph" operator="in" result="innerStroke"/>\n <feComposite in="innerStroke" in2="SourceGraphic" operator="over"/>\n </filter>\n </defs>\n </svg>',D().appendChild(i),(m=document.createElement("div")).innerHTML='\n <svg width="0" height="0" style="position:absolute;" focusable="false">\n <defs></defs>\n </svg>',n.appendChild(m),v=m.getElementsByTagName("defs")[0],(o=document.createElement("div")).id="video-pen",o.className="offscreen",o.setAttribute("aria-hidden",!0),n.appendChild(o);var t=document.createElement("div");t.id="media-loader-container",t.classList.add("media-loader-container"),e.appendChild(t),s=DS.svgUtils.createSvgNode(1,1),t.appendChild(s),r=document.createElement("div");var a=document.createElement("canvas");return a.setAttribute("role","presentation"),r.appendChild(a),n.appendChild(r),(d=document.createElement("div")).id="presentation-canvas",n.appendChild(d),(h=document.createElement("div")).id="zoomimage-container",n.appendChild(h),(g=document.createElement("div")).id=y.els.MASK_LIB,n.appendChild(g),x(),n},x=function(){(a=document.createElement("div")).id="app-top",a.style.position="absolute",preso.appendChild(a),(c=document.createElement("div")).id="app-top-overlay",a.appendChild(c),(l=document.createElement("div")).id="app-top-container",a.appendChild(l),(u=document.createElement("div")).id="app-focus-container",u.classList.add("focus-container"),a.appendChild(u),new MutationObserver((function(e){_.last(preso.children)!==a&&preso.appendChild(a)})).observe(preso,{childList:!0});var e=function e(){var t=E();null!=t?(a.style.left="".concat(t.x(),"px"),a.style.top="".concat(t.y(),"px")):DS.animationClock.requestAnimationFrame(e)};b("resize",e,!1,"after"),e()},D=function(){return null==n&&C(),n},E=function(){var e=DS.windowManager.getMainWindow();return null!=e&&(f=e.frame),f};return{getMainWindowEl:function(){if(null==p){var e=E();null!=e&&(p=e.wndEl)}return p},getPreso:w,getPresoCanvas:function(){return d},getZoomContainer:function(){return h},getSvgLib:function(){return i},getSvgImageLibDefs:function(){return v},getVideoPen:function(){return o},getCollisionLib:function(){return r},getTopContainer:function(){return l},getTopOverlay:function(){return c},createLib:C,addToLib:function(e){return D().appendChild(e),e},removeElFromParent:function(e){null!=e.parentNode&&e.parentNode.removeChild(e)},getMediaLoaderSvg:function(){return s}}}.call(t,n,t,e))||(e.exports=i)},9838:function(e,t,n){var i;void 0===(i=function(e){var t=DS,n=t._,i=t.utils,r=t.resolver,o=t.events,s=t.pubSub;return{initialize:function(){var e=DS.playerGlobals.presentation;if(null!=e.playerVars()){n.bindAll(this,"tick","onSlideChanged","onWindowClosed"),s.on(o.slide.HAS_CHANGED,this.onSlideChanged),s.on(o.window.CLOSED,this.onWindowClosed);var t=e.playerVars().variables();this.vars={slideElapsed:t.get("slideElapsedTime"),sceneElapsed:t.get("sceneElapsedTime"),projectElapsed:t.get("projectElapsedTime")},this.projectStartTime=this.getCurrentTime()-e.getFlatSlides().reduce((function(e,t){return e+t.elapsedTime}),0),window.requestAnimationFrame(this.tick),this.updateCurrentSlide()}},getCurrentTime:function(){return parseInt(performance.now())},onWindowClosed:function(){this.updateCurrentSlide()},onSlideChanged:function(e){var t=r.resolvePath(i.prefixWithPlayer(e));t&&this.updateCurrentSlide(t)},updateCurrentSlide:function(e){var t=this;if(null!=e||null!=(e=DS.windowManager.getCurrentWindowSlide())){if(!e.isMessageSlide()||e===this.currentSlideModel){var n=this.getCurrentTime(),i=e.getScene().getAllSlides().reduce((function(e,t){return t.elapsedTime+e}),0);this.sceneStartTime=n-i,this.slideStartTime=n-e.elapsedTime,this.currSlideModel=e}}else window.requestAnimationFrame((function(){t.updateCurrentSlide()}))},tick:function(){if(null!=this.currSlideModel){var e=parseInt(performance.now());this.currSlideModel.elapsedTime=e-this.slideStartTime,this.vars.slideElapsed.value(this.currSlideModel.elapsedTime),this.vars.sceneElapsed.value(e-this.sceneStartTime),this.vars.projectElapsed.value(e-this.projectStartTime)}window.requestAnimationFrame(this.tick)}}}.call(t,n,t,e))||(e.exports=i)},2995:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(2658),r=n(3723),o=n(3807),s=DS._,a=DS.appState,l=DS.events,c=DS.pubSub,u=DS.vow,d={},h=function(e){var t=e.props.model;t.isMessageSlide()||(s.isEmpty(t.get("globalAudioId"))?f.stop():f.play(t.get("globalAudioId")))},p=function(e,t){d.setVolume(t)},f={initialize:function(e){t=e,c.on(l.slide.HAS_MOUNTED,h)},play:function(e){var n=t.find((function(t){return t.get("id")===e})),o=i.getAssetUrl(n.get("assetId"));o!==d.url&&(f.stop(),d=r.loadUrl(o,n.get("assetId")),a.on(l.volume.CHANGE_CURRENT,p),d.setVolume(a.currentVolume()),d.play())},stop:function(){null!=d.url&&(a.off(l.volume.CHANGE_CURRENT,p),d.destroy(),d={})},load:function(e){var n,r,a;return s.isEmpty(e)?u.Deferred().resolve().promise():(r=t.find((function(t){return t.get("id")===e})),(a=i.getAssetUrl(r.get("assetId")))!==d.url?(n=new o({type:"audio",url:a})).promise.always(n.teardown.bind(n)):void 0)}};return f}.call(t,n,t,e))||(e.exports=i)},5762:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(9943),i=(n(4196),DS._),r=(DS.Backbone,DS.utils,DS.errorManager.warn("interactionHelper")),o=function(e,n){var i=e.getClosestAncestorByKind("slide");return t.evaluateStatement(n,i)},s={};return s.multiplechoice=s.truefalse=s.hotspot=s.wordbank=s.multipleresponse=[function(e,t){return t.length===e.length},function(e,t,n){return o(n,{kind:"and",statements:e.map((function(e){return{kind:"compare",operator:e.ignorecase?"ichas":"has",valuea:t,valueb:e.choiceid,typea:"object",typeb:"string"}}))})}],s.sequence=s.matching=[function(e,t,n){if(e.length!==t.length)return!1;var r=i.zipWith(e,t,(function(e,t){return i.extend({},e,t)}));return o(n,{kind:"and",statements:r})}],s.numeric=[function(e,t,n){return o(n,{kind:"and",statements:e.map((function(e){return e.statement}))})}],s.fillin=[function(e,t,n){var i=n.prop("Value")[0];return o(n,{kind:"or",statements:e.map((function(e,t){return{kind:"compare",operator:e.ignorecase?"iceq":"eq",valuea:i,valueb:n.getChoiceById(e.choiceid).lmstext,typea:"string",typeb:"string"}}))})}],{setCurrInteraction:function(e){return this.interaction=e,this},getChosenAnswer:function(e){return i.find(this.interaction.answers(),function(t){return this.evaluateResponses(e,t)}.bind(this))},evaluateAnswers:function(e){if(this.interaction){var t=this.getChosenAnswer(e);return t||r("evaluateAnswers","no answer found."),t}r("evaluateAnswers","needs to have interaction defined via `setCurrInteraction`.")},evaluateResponses:function(e,t){return this.performEvaluation(e,t)},isOther:function(e){var t=i.first(e.evaluate.statements);return!!t&&"other"===t.kind},getEvalFns:function(){return s[this.interaction.type()]},performEvaluation:function(e,t){var n=this.interaction,r=this.getEvalFns();return this.isOther(t)||!i.isEmpty(r)&&r.every(function(i){return i(t.evaluate.statements,e,n)}.bind(this))}}}.call(t,n,t,e))||(e.exports=i)},6849:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=new Map;return{addJsAsset:function(e,n){t.set(e,n)},getJsAssetValue:function(e){return t.get(e)},clearAsset:function(e){t.delete(e)}}}.call(t,n,t,e))||(e.exports=i)},5749:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t,i=n(7169),o=DS,s=o.utils,a=o.events,l=o.pubSub,c=o.constants,u=o.resolver,d=o.windowManager,h=o.globalEventHelper.addWindowListener,p=!1,f={qm:c.QUIZ_MAKER_URL,ap:c.PRESENTER_URL},g=["addchoiceresponse","addpairresponse","cancel_event","close_player","closewndgotoslide","close_window","emailto","enable_frame_control","enable_window_control","eval_all_unanswered","eval_interaction","exe_javascript","gotoplay","hidetimer","history_prev","history_prev_group","history_prev_scene","nextviewedslide","nextunansweredslide","nextunsubmittedslide","open_video","open_url","playnextdrawslide","printresults","resetquiz","resettimer","reset_player","resetslide","restore_resume_state","resume_player","resume_timeline","save_resume_data","setactivetimeline","set_course_status","setdrawreview","setfocus","set_frame_layout","set_frame_layout_type","setquizcomplete","set_review","set_volume","set_window_control_layout","set_window_control_visible","showtimer","starttimer","store_resume_data","toggle_window_control","toggle_window_control_visible","trigger_host_event","trigger_next_slide","trigger_prev_slide","trigger_slide_finish","trigger_submitall_slide","trigger_submit_slide","updatescrollpos","updatescrollheight","xapi_send_statement"],m=["_stateName"],v=function(e){return Promise.all(e.flatInteractions.map((function(e,t){return function(e,t){return new Promise((function(t){var n=e.parent;e.prop("Answered")&&0===e.attempts.length&&"hotspot"!==e.type()&&n.resume()&&n.hasResumeData?n.load().then((function(){n.resumeSlideModel();var r=n.destroyed;n.destroyed=!1,e.buildResponses();var o=i.actualResponseToString(e,!0);n.destroyed=r,n.resetModel(),t(o)})):t(i.actualResponseToString(e))})).then((function(n){return{nQuestionNumber:t+1,strDescription:e.get("lmstext"),strCorrectResponse:i.correctResponseToString(e),strUserResponse:n,strStatus:e.prop("Status"),nPoints:e.prop("Score"),strLMSId:e.get("lmsId"),strType:e.get("type")}}))}(e,t)}))).then((function(t){return{strQuizId:e.id,strQuizName:e.get("lmstext"),nScore:e.prop("Score"),nPassingScore:e.prop("PassPercent"),nPtScore:e.prop("PercentScore"),dtmFinished:e.timeComplete,strStatus:e.prop("Status"),arrQuestions:t}}))},S=document.createElement("style"),y=function(){S&&(S.innerHTML="",null!=S.parentElement&&S.parentElement.removeChild(S))},b=function(e){l.trigger(a.request.NEXT_SLIDE,e,d.PRINT_WINDOW)},w=function(e){!function(e){var t=DS.detection.os,n=t.isAndroid,i=t.isIOS,r=n?"android":i?"ios":"desktop",o=c.printSettings[r],s=o.pageW,a=o.pageStyle,l=document.querySelector(".".concat(e,"-slide")),u=s/Number.parseInt(l.style.width);S.innerHTML="\n @media print {\n ".concat(a,"\n \n body,\n body > div {\n max-width: ").concat(s,"px;\n } \n \n #light-box-wrapper, #preso, #wrapper, #frame, .").concat(e,"-slide, \n .slide-transition-container, .slide-container {\n transform: unset !important;\n width: 0 !important;\n height: 0 !important;\n overflow: visible !important;\n top: 0 !important;\n left: 0 !important;\n }\n \n .slide {\n transform-origin: 0 0;\n transform: scale(").concat(u,") !important;\n }\n \n #light-box-close, .lightbox.cs-base, .window-slide,\n .frame-blocker-container, .visible-overlay, #top-bar, #sidebar, #bottom-bar, \n .top-ui-bg, .bottom-ui-bg, .left-ui-bg, .right-ui-bg, #light-box-bottom,\n .load-container, .caption-container, .acc-shadow-dom, #focusBoxes {\n display: none !important;\n }\n \n .").concat(e,"-slide {\n display: block !important;\n }\n }\n "),document.body.appendChild(S)}(e);var t=h("afterprint",(function(){if(t(),DS.detection.device.isMobile)var e=h("touchstart",(function(){e(),y()}));else y()}));window.print()},C={getPrintOptions:function(e,t){var n=null==e.usernamevar||""===e.usernamevar?null:u.resolvePath(e.usernamevar);return{strName:(null==n?null:n.value())||"",arrQuizzes:t.quizzes>0?t.quizzes.map((function(e){return e.id})):[t.id],strMainQuizId:t.id,bShowUserScore:e.showuserscore,bShowPassingScore:e.showpassingscore,bShowShowPassFail:e.showpassfail,bShowQuizReview:e.showquizreview,bSurvey:t.get("issurvey")}},openPrintResultsWindow:function(e){var n=JSON.stringify(e);t.ReportQuizVars=n;var i=window.open(s.getPath(f,c.player.OUTPUT_TYPE,c.STORY_CONTENT_URL)+"report.html","_blank");null!=i.postMessage&&h("message",(function(e){"getQuizData"===e.data&&i.postMessage(n,"*")}),!1)},printQuizResults:function(e,n){if(!p){if(p=!0,!t.isPreview()){var i={type:e.quizidtype,value:e.quizid},o=u.resolvePath(u.getRef(i,n.context,n)),s=JSON.stringify(o.timeComplete||new Date);return Promise.all([o].concat(r(o.quizzes)).map((function(e){return v(e)}))).then((function(t){C.openPrintResultsWindow({g_oContentResults:{dtmFinished:s},g_oPrintOptions:C.getPrintOptions(e,o),g_listQuizzes:t.reduce((function(e,t){return e[t.strQuizId]=t,e}),{})}),p=!1}))}l.trigger(a.preview.NOTIFY,"PREVIEW_PRINT_RESULTS")}},initialize:function(e){t=e},printSlide:function(e){var t=e.windowId;if(null!=t){var n=d.findWindowById(t);if(null!=n&&n.getCurrentSlide()===e)return void w(n.getId())}b(e.absoluteId)},shouldSkipAction:function(e,t){var n=s.getPath(e||{},"windowId");if(_.isEmpty(n)){var i=s.getPath(d,"getCurrentWindow",{});n=s.getPath(i,"getId")}return n===d.PRINT_WINDOW&&!(!g.includes(t.kind)&&("adjustvar"!==t.kind||m.includes(t.variable)))}};return C}.call(t,n,t,e))||(e.exports=i)},7169:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=", ",i={},r={};i.numeric=i.essay=t.identity,i.likert=i.sequence=i.matching=function(e){return[e.statement.lmstext,e.choice.lmstext].join(n)},i.multiplechoice=i.truefalse=i.hotspot=i.wordbank=i.fillin=i.multipleresponse=function(e){return e.lmstext},r.numeric=r.fillin=r.essay=function(e,t){return t},r.likert=r.sequence=r.matching=function(e,t){var i=e.getStatementById(t.statementResponse),r=e.getChoiceById(t.choiceResponse);return[null!=i?i.lmstext:"",null!=r?r.lmstext:""].join(n)},r.multiplechoice=r.truefalse=r.hotspot=r.wordbank=r.multipleresponse=function(e,t){var n=e.getChoiceById(t);return null!=n?n.lmstext:""};return{correctResponseToString:function(e){return e.prop("CorrectResponse").map(i[e.type()]).join(n)},actualResponseToString:function(e,i){var o=t.last(e.attempts)||{},s=i?e.responses:o.responses||e.lastResponses;return t.isEmpty(s)?"":s.map(t.partial(r[e.type()],e)).join(n)}}}.call(t,n,t,e))||(e.exports=i)},2902:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7877),i=DS.detection.browser,r=(i.isEdge,i.isIE,new Map);return{addAsset:function(e,n){r.set(e,n);var i,o,s,a,l=t.getSvgImageLibDefs();i=l,o=n,s=(new DOMParser).parseFromString(o,"image/svg+xml"),a=s.children||s.childNodes,_.forEach(a,(function(e){i.appendChild(e)}))},clearAsset:function(e){r.delete(url)}}}.call(t,n,t,e))||(e.exports=i)},6288:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.svgUtils,i="data-adornment-type",r="data-is-reflection-gradient",o=t.flowRight((function(e){return i in e&&(e.ref=t.uniqueId("adornable"),e["data-transform"]=JSON.stringify(e.transform),e.transform=null),e}),(function(e){return!0===e[r]&&(e["data-rotation-offset"]=!0,e[r]=null),e}));return{decorateAdornables:t.partial(n.transformNodeConfig,o)}}.call(t,n,t,e))||(e.exports=i)},1791:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(2658);var t=n(4367),i=DS._,r=DS.svgUtils,o="data-slidefill";return{applySlideBackground:i.partial(r.transformNodeConfig,(function(e,n,i){if(!e[o])return e;var s=["slide","bg",n.commandsetId].join("-"),a={nodeType:"g",children:[]};return a.children.skipTraversal=!0,e.fill=r.buildUrl(s),a.children.push({nodeType:t,id:s,model:i.props.model,playerProps:i.props.playerProps,patternTransform:e["data-stroke-sharpened"]?[r.buildTranslateConfig(-.5,-.5)]:""}),a.children.push(e),a}))}}.call(t,n,t,e))||(e.exports=i)},1797:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=function(e){var t=e.radius,n=e.arrowY-e.halfArrowSize;return n<t&&(t=n),t},i={"left-bottom":function(e,t){e.addM([t.width,t.arrowLength])},left:function(e,t){e.addM([t.width,n(t)])},default:function(e,t){e.addM([t.width,t.radius])}},r={"bottom-left":function(e,t){e.addL([t.width,0,t.width,t.arrowY,t.width-t.arrowLength,0])},"left-bottom":function(e,t){e.addL([t.arrowX,0])},left:function(e,t){e.addQ([t.width,0,t.width-n(t),0])},default:function(e,t){e.addQ([t.width,0,t.width-t.radius,0])}},o={bottom:function(e,t){e.addL([t.arrowX+t.halfArrowSize,0,t.arrowX,t.arrowY,t.arrowX-t.halfArrowSize,0,t.radius,0])},"bottom-right":function(e,t){e.addL([t.arrowLength,0])},right:function(e,t){e.addL([n(t),0])},default:function(e,t){e.addL([t.radius,0])}},s={"bottom-right":function(e,t){e.addL([t.arrowLength,0,0,t.arrowY])},"right-bottom":function(e,t){e.addL([t.arrowX,0,0,t.arrowLength])},right:function(e,t){e.addQ([0,0,0,n(t)])},default:function(e,t){e.addQ([0,0,0,t.radius])}},a={right:function(e,t){e.addL([0,t.arrowY-t.halfArrowSize,t.arrowX,t.arrowY,0,t.arrowY+t.halfArrowSize,0,t.height-n(t)])},"right-top":function(e,t){e.addL([0,t.height-t.arrowLength])},default:function(e,t){e.addL([0,t.height-t.radius])}},l={"right-top":function(e,t){e.addL([t.arrowX,t.height])},"top-right":function(e,t){e.addL([0,t.arrowY,t.arrowLength,t.height])},right:function(e,t){e.addQ([0,t.height,n(t),t.height])},default:function(e,t){e.addQ([0,t.height,t.radius,t.height])}},c={top:function(e,t){e.addL([t.arrowX-t.halfArrowSize,t.height,t.arrowX,t.arrowY,t.arrowX+t.halfArrowSize,t.height,t.width-t.radius,t.height])},"top-left":function(e,t){e.addL([t.width-t.arrowLength,t.height])},left:function(e,t){e.addL([t.width-n(t),t.height])},default:function(e,t){e.addL([t.width-t.radius,t.height])}},u={"top-left":function(e,t){e.addL([t.width-t.arrowLength,t.height,t.arrowX,t.arrowY])},"left-top":function(e,t){e.addL([t.arrowX,t.height,t.width,t.height-t.arrowLength])},left:function(e,t){e.addQ([t.width,t.height,t.width,t.height-n(t)])},default:function(e,t){e.addQ([t.width,t.height,t.width,t.height-t.radius])}},d={left:function(e,t){e.addL([t.width,t.arrowY+t.halfArrowSize,t.arrowX,t.arrowY,t.width,t.arrowY-t.halfArrowSize]),e.add(["Z"])},default:function(e,t){e.add(["Z"])}};return{calcTranslate:function(e,t){var n=0,i=0,r=0,o=0;return e<0&&(n=-1*e,r=e),t<0&&(i=-1*t,o=t),{x:n,y:i,offX:r,offY:o}},calcArrowLength:function(e,t,n,i){var r;return n<0&&(r=-1*n),n>e&&(r=n-e),i<0&&(r=-1*i),i>t&&(r=i-t),r},labelPath:function(e){var n,h,p,f=function(){var e=[],n={add:function(t){e=e.concat(t)},addCmd:function(t,n){n.unshift(t),e=e.concat(n)},value:function(){return e}};return n.addM=t.partial(n.addCmd,"M"),n.addL=t.partial(n.addCmd,"L"),n.addQ=t.partial(n.addCmd,"Q"),n}(),g=e.dir,m=e.top;return e.arrowY-=m,e.halfArrowSize=e.arrowLength/2,e.height=Math.max(1.5*e.arrowLength,e.height),"left"!==g&&"right"!==g||(e.height-=1),[i,r,o,s,a,l,c,u,d].forEach((function(t){(t[g]||t.default)(f,e)})),n=m,h=f.value(),p=0,function(e){return e.join(" ").replace(/\s?([A-Za-z])?\s/g," $1").trim()}(t.map(h,(function(e){return isNaN(e)||(p%2==1&&(e+=n),p++),e})))}}}.call(t,n,t,e))||(e.exports=i)},5802:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,n=DS._,i=DS.svgUtils,r=function(e){var i,r;return e.id&&(i=e.id,r=n.uniqueId("uniqueDomId-"),t[i]=r),e};return r.beforeStart=function(){t={}},r.afterFinish=function(e){return JSON.parse(n.reduce(t,(function(e,t,n){return e.replace(new RegExp(n,"g"),t)}),JSON.stringify(e)))},{ensureIdsAreUnique:n.partial(i.transformNodeConfig,r)}}.call(t,n,t,e))||(e.exports=i)},8652:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2658),i=n(3488),r=DS._,o=DS.svgUtils,s="animatedgif",a="data-original-image",l={findImage:function(e,n){var i=r.find(e,{id:n[a]});return t.getAsset(i.assetId)},containsGif:function(e){return!DS.flagManager.dropInVectors&&(null!=e&&null!=r.find(e,(function(e){var n=t.getAsset(e.assetId);return null!=n&&n.get("imageType")===s})))},addImageAttrs:function(e,t,n){if(!o.isImageNode(e))return e;var a,c=l.findImage(t,e);return c.isValid()?(a=c.url(),DS.flagManager.dropInCore?c.get("imageType")===s&&(a=a+"?rs="+n.mountIdx):DS.flagManager.dropInVectors||c.get("imageType")===s&&(a=a+"?rs="+r.uniqueId("")),e["xlink:href"]=a,e.height=c.height(),e.width=c.width(),e.x+=c.get("mobiledx")||0,e.y+=c.get("mobiledy")||0,null==e.patternImage&&i.hasPatternImageFlag()&&(e.preserveAspectRatio="none"),e):{nodeType:!1}}};return l.applyImagelib=r.partial(o.transformNodeConfig,l.addImageAttrs),l}.call(t,n,t,e))||(e.exports=i)},8084:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=(DS.dom,DS.svgUtils),o=function(e,n){t.call(this,e,n)};return i.extend(o.prototype,t.prototype,{setupAnimation:function(){var e;this.numBlinds=6,e="horizontal"===this.direction?"height":"width",this.blindThickness=this[e]/this.numBlinds},animate:function(e){for(var t,n=[];n.length<this.numBlinds;)t=n.length*this.blindThickness,n.push("horizontal"===this.direction?r.rectPath(0,t,this.width,this.blindThickness*e):r.rectPath(t,0,this.blindThickness*e,this.height));this.clipShape.setAttribute("d",n.join(" "))}}),o}.call(t,n,t,e))||(e.exports=i)},7349:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){this.scaleY=this.height/this.width},drawBox:function(e){var t=this.halfWidth-this.halfWidth*e,n=this.halfHeight-this.halfHeight*e,i=this.width*e,o=this.height*e;this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.rectPath(t,n,i,o)].join(" "))},getAnimateFn:function(){return"out"===this.direction?this.drawBox:function(e){this.drawBox(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},6361:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(o.prototype,t.prototype,{setupAnimation:function(){var e,t,n,i,r,o,s="across"===this.direction,a=s?5:10,l=s?14:7,c=function(e){return this.isHorizontal?{x:-1*this.finalWidth/2,y:2*e*this.finalHeight+this.finalHeight}:{x:2*e*this.finalWidth+this.finalWidth,y:-1*this.finalHeight/2}}.bind(this);for(this.isHorizontal=s,this.finalWidth=this.width/a,this.finalHeight=this.height/l,this.points=[],e=70;e--;)n=(t=e%10)%a,i=Math.floor(e/a),this.isHorizontal?(r=t<a?0:this.finalWidth/2,o=0):(r=0,o=n%2?this.finalHeight/2:0),this.points[e]={x:n*this.finalWidth+r,y:i*this.finalHeight+o};for(e=this.isHorizontal?l:a;e--;)this.points.push(c(e))},animate:function(e){var t=this.isHorizontal?e:1,n=this.isHorizontal?1:e,i=this.points.map(function(e){return r.rectPath(e.x,e.y,this.finalWidth*t,this.finalHeight*n)}.bind(this));this.clipShape.setAttribute("d",i.join(" "))}}),o}.call(t,n,t,e))||(e.exports=i)},8140:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){this.scaleY=this.height/this.width,this.finalScale=Math.sqrt(2*Math.pow(this.height,2))/this.height},drawCircle:function(e){e*=this.finalScale,this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.ellipsePath(this.halfWidth,this.halfHeight,this.halfWidth*e,this.halfHeight*e)].join(" "))},getAnimateFn:function(){return"out"===this.direction?this.drawCircle:function(e){this.drawCircle(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},4461:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{drawDiamond:function(e){var t=o.invertPercent(e),n=this.width*t-this.halfWidth,i=this.height*t-this.halfHeight;e*=2,this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.diamondPath(n,i,this.width*e,this.height*e)].join(" "))},getAnimateFn:function(){return"out"===this.direction?this.drawDiamond:function(e){this.drawDiamond(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},5543:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){var e,t,n,o,s,a=(t=this.width,n=this.height,o=Math.ceil(t/255),s=Math.ceil(n/255),{width:Math.max(9,o),height:Math.max(9,s)}),l=Math.ceil(this.height/a.height),c=Math.ceil(this.width/a.width);for(this.grains=[],this.numGrains=l*c,e=this.numGrains;e--;){var u=e%c*a.width,d=Math.floor(e/c)*a.height;this.grains[e]=r.rectPath(u,d,a.width,a.height)}this.grains=i.shuffle(this.grains),this.pathData=""},animate:function(e){for(var t=o.invertPercent(e)*this.numGrains;this.grains.length>t;)this.pathData+=this.grains.pop();this.clipShape.setAttribute("d",this.pathData)}}),s}.call(t,n,t,e))||(e.exports=i)},3711:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=(DS.utils,DS.dom,function(e,n){t.call(this,e,n)});return i.extend(o.prototype,t.prototype,{drawBox:function(e,t,n,i){this.width,this.shapeProps.size.x,this.height,this.shapeProps.size.y;this.clipShape.setAttribute("d",[this.invertRect,this.inRect,r.rectPath(-(n.x-t.x),-(n.y-t.y),this.width,this.height)].join(" "))},getAnimateFn:function(){return this.drawBox}}),o}.call(t,n,t,e))||(e.exports=i)},6455:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.svgUtils,i=(DS.utils,DS.events),r=DS.pubSub,o=DS.dom,s=(DS.TransMatrix,function(e,n){this.maskProps=n,this.shapeProps=e,t.bindAll(this,"adjustForScale"),r.on(i.window.AFTER_SCALE,this.adjustForScale),this.createSvg(e),this.setupAnimation(),this.getAnimateFn&&(this.animate=this.getAnimateFn())});return t.extend(s.prototype,{setupAnimation:t.noop,animate:t.noop,adjustForScale:function(){this.clipPath.setAttribute("transform","scale(".concat(this.view.props.winScale,")"))},getDirection:function(){return this.maskProps.direction},isExit:function(){return this.maskProps.isExit},createSvg:function(e){return this.view=e.view,this.width=e.rotatedBounds.right-e.rotatedBounds.left+2,this.height=e.rotatedBounds.bottom-e.rotatedBounds.top+2,this.halfWidth=this.width/2,this.halfHeight=this.height/2,this.maskId=t.uniqueId("mask-"),this.maskNode=n.createSvgNode(this.width,this.height),this.clipPath=n.createElement("clipPath"),this.clipPath.setAttribute("id",this.maskId),this.adjustForScale(),this.maskNode.appendChild(this.clipPath),this.clipShape=o.setAttributes(n.createElement("path"),{"clip-rule":"evenodd"}),this.transformSvg(e),this.clipPath.appendChild(this.clipShape),document.querySelector("#mask-library").appendChild(this.maskNode),this.direction=this.getDirection(),this.fullRect=n.rectPath(0,0,this.width,this.height),this.invertRect=this.isExit()?this.fullRect:"",this.inRect="in"===this.direction?this.fullRect:"",this},transformSvg:function(e){var t=n.transformRotate(-e.globalRotation.x,e.regPoint.x-e.rotatedBounds.left,e.regPoint.y-e.rotatedBounds.top),i=n.transformTranslate(e.rotatedBounds.left-e.maskableOffset.x,e.rotatedBounds.top-e.maskableOffset.y);this.clipShape.setAttribute("transform",[i,t].join(" "))},destroy:function(){this.maskNode.parentNode&&this.maskNode.parentNode.removeChild(this.maskNode)}}),s}.call(t,n,t,e))||(e.exports=i)},7971:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{drawPlus:function(e){var t=o.invertPercent(e),n={x:0,y:0,width:this.halfWidth,height:this.halfHeight},i={x:this.halfWidth,y:0,width:this.halfWidth,height:this.halfHeight},s={x:0,y:this.halfHeight,width:this.halfWidth,height:this.halfHeight},a={x:this.halfWidth,y:this.halfHeight,width:this.halfWidth,height:this.halfHeight};n.width=t*this.halfWidth,n.height=t*this.halfHeight,i.x=this.halfWidth+this.halfWidth*e,i.height=n.height,s.width=t*this.halfWidth,s.y=this.halfHeight+this.halfHeight*e,a.x=this.halfWidth+this.halfWidth*e,a.y=s.y,this.clipShape.setAttribute("d",[this.invertRect,r.rectPath(0,0,this.width,this.height),this.inRect,r.rectPath(n.x,n.y,n.width,n.height),r.rectPath(i.x,i.y,i.width,i.height),r.rectPath(s.x,s.y,s.width,s.height),r.rectPath(a.x,a.y,a.width,a.height)].join(" "))},getAnimateFn:function(e){return"out"===this.direction?this.drawPlus:function(e){this.drawPlus(o.invertPercent(e))}}}),s}.call(t,n,t,e))||(e.exports=i)},1743:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=(DS.svgUtils,DS.utils),o=(DS.dom,function(e,t,n,i,r){return e?["M",0,r*t,"h",n,"v",t,"h",-n,"Z"].join(" "):["M",r*t,0,"v",i,"h",t,"v",-i,"Z"].join(" ")}),s=function(e,n){t.call(this,e,n)};return i.extend(s.prototype,t.prototype,{getBarPaths:function(){if(this.barPaths)return this.barPaths;var e,t="horizontal"===this.direction,n=t?this.height:this.width,r=function(e,t){return Math.ceil(e/t)}(n,(e=n,Math.max(1,Math.ceil(e)/1e3))),s=n/r,a=i.partial(o,t,s,this.width,this.height),l=i.range(r).map(a);return this.barPaths=i.shuffle(l),this.barPaths},animate:function(e){var t=Math.round(r.invertPercent(e)*this.getBarPaths().length),n=this.getBarPaths().slice(t).join(" ")||"M 0 0";this.clipShape.setAttribute("d",this.invertRect+n)}}),s}.call(t,n,t,e))||(e.exports=i)},292:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){var e="verticalout"===this.direction||"horizontalout"===this.direction||"horizontal"===this.direction;this.isVertical="verticalout"===this.direction||"verticalin"===this.direction,this.isOut=this.isExit()?!e:e,this.adjustScale=this.isExit()?o.invertPercent:i.identity},getAnimateFn:function(){return this.isOut?function(e){var t;e=this.adjustScale(e),t=o.invertPercent(e),this.clipShape.setAttribute("d",this.isVertical?r.rectPath(t*this.halfWidth,0,this.width*e,this.height):r.rectPath(0,t*this.halfHeight,this.width,this.height*e))}:function(e){var t,n,i=[];e=this.adjustScale(e),this.isVertical?(t=e*this.halfWidth,n=this.height):(t=this.width,n=e*this.halfHeight),i.push(r.rectPath(0,0,t,n)),t*=-1,n*=-1,i.push(r.rectPath(this.width,this.height,t,n)),this.clipShape.setAttribute("d",i.join(" "))}}}),s}.call(t,n,t,e))||(e.exports=i)},3065:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=function(e,n){t.call(this,e,n)};return i.extend(s.prototype,t.prototype,{setupAnimation:function(){var e,t=this.width,n=this.height,i=(e=n,Math.max(10,Math.min(30,e,Math.ceil(e/20)))),r=this.getDirection();this.fromTop="leftdown"===r||"rightdown"===r,this.fromLeft="rightdown"===r||"rightup"===r,this.boxSize=i,this.maxWidth=(Math.ceil(n/i)+Math.ceil(t/i))*i},animate:function(e){for(var t,n,i="",s=this.boxSize,a=this.fromTop?0:this.height,l=this.fromTop?s:-s,c=(this.isExit()?o.invertPercent(e):e)*this.maxWidth;c>0&&a>-s&&a<=this.height;)n=Math.min(c,this.width),t=this.fromLeft?0:this.width-n,i+=r.rectPath(t,a,n,s),a+=l,c-=s;this.clipShape.setAttribute("d",i)}}),s}.call(t,n,t,e))||(e.exports=i)},3846:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=function(e,n){t.call(this,e,n)};return i.extend(s.prototype,t.prototype,{setupAnimation:function(){this.radius=Math.ceil(o.dist(0,0,this.halfWidth,this.halfHeight)),this.startingAngle=this.isExit()?90:270},animate:function(e){var t=180*(this.isExit()?o.invertPercent(e):e),n=180!==t?r.wheelPath(this.halfWidth,this.halfHeight,this.radius,this.startingAngle-t,this.startingAngle+t):r.rectPath(0,0,this.width,this.height);this.clipShape.setAttribute("d",n)}}),s}.call(t,n,t,e))||(e.exports=i)},5018:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,t,n,i){var r=360*i-90;return t+e(o.degToRad(r))*n}),a=i.partial(s,Math.cos),l=i.partial(s,Math.sin),c=i.partial(a,.5),u=i.partial(l,.5),d=function(e,n){t.call(this,e,n)};return i.extend(d.prototype,t.prototype,{setupAnimation:function(){var e=this.clipShape.getAttribute("transform");this.clipShape.setAttribute("transform",[e,"scale(",this.width,",",this.height,")"].join(" ")),this.calcArcPath=this.createArcAnimationFunc(),this.invertRect=this.isExit()?r.rectPath(0,0,1.1,1.1):""},animate:function(e){var t,n,i,r,o,s;this.clipShape.setAttribute("d",1===e?(t=0,n=0,i=this.width,r=this.height,["M",t,n,"L",o=t+i,n,o,s=n+r,t,s].join(" ")):this.invertRect+this.calcArcPath(e))},createArcAnimationFunc:function(){var e=this.width,t=this.height,n=this.direction,r=parseInt(this.maskProps.spokes,10),s=o.hypot(e,t),a=s/e/2,l=s/t/2,d=i.range(r).map((function(e){var t=e/r,i=Object.freeze({x:.5,y:.5}),o=Object.freeze({x:c(a,t),y:u(l,t)});return{initRotDec:t,m:i,l:o,a:Object.defineProperties({},{rx:{value:a},ry:{value:l},xRot:{value:0},lgArc:{value:1},sweep:{value:"clockwise"===n?1:-1},x:{value:o.x,writable:!0},y:{value:o.y,writable:!0}}),update:function(e){var t=e+this.initRotDec;return this.a.x=c(a,t),this.a.y=u(l,t),this},toPathCommands:function(){return function(e){var t=e.m,n=e.l,i=e.a;return["M",t.x,t.y,"L",n.x,n.y,"A",i.rx,i.ry,i.xRot,i.lgArc,i.sweep,i.x,i.y].join(" ")}(this)}}}));return function(e){return d.map((function(t){return t.update(e/r).toPathCommands()})).join(" ")}}}),d}.call(t,n,t,e))||(e.exports=i)},3104:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6455),i=DS._,r=DS.svgUtils,o=DS.utils,s=(DS.dom,function(e,n){t.call(this,e,n)});return i.extend(s.prototype,t.prototype,{setupAnimation:function(){i.bindAll(this,"fromBottom","fromTop","fromLeft","fromRight","animate"),this.adjustRect={frombottom:this.fromBottom,fromleft:this.fromLeft,fromright:this.fromRight,fromtop:this.fromTop,horizontal:this.fromLeft}},fromBottom:function(e,t){t.y=this.height*o.invertPercent(e)},fromTop:function(e,t){t.height=this.height*e},fromLeft:function(e,t){t.width=this.width*e},fromRight:function(e,t){t.x=this.width*o.invertPercent(e)},animate:function(e){var t={x:0,y:0,width:this.width,height:this.height};this.adjustRect[this.direction](e,t),this.clipShape.setAttribute("d",this.invertRect+r.rectPath(t.x,t.y,t.width,t.height))}}),s}.call(t,n,t,e))||(e.exports=i)},6312:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8652),i=DS._,r=DS.svgUtils,o=DS.utils,s=[{x:{posMult:0,negMult:0},y:{posMult:0,negMult:0}},{x:{posMult:.5,negMult:1},y:{posMult:0,negMult:0}},{x:{posMult:0,negMult:0},y:{posMult:.5,negMult:1}},{x:{posMult:.5,negMult:1},y:{posMult:.5,negMult:1}}],a={addPatternAttrs:function(e,n,s){if(!function(e){return r.isPatternNode(e)&&"image"===e["data-type"]}(e))return e;var l,c=i.first(e.children.filter(r.isDefsNode)),u=i.first(c.children.filter(r.isImageNode)),d=e.children.filter(r.isUseNode),h=t.findImage(n,u),p=h.width(),f=h.height(),g=!u.preserveAspectRatio,m=i.partial(a.transformUseNode,p,f);return g?(e.width=p,e.height=f,d.forEach(m)):(l=Math.round(o.hypot(s.fullHeight,s.fullWidth)),e.height=l,e.width=l),e},transformUseNode:function(e,t,n,o){var a=i.find(n.transform,{type:"scale"}),l=a.args[0],c=a.args[1],u=s[o],d=u.x[l>0?"posMult":"negMult"]*e,h=u.y[c>0?"posMult":"negMult"]*t;n.transform=[r.transformTranslate(d,h),r.transformScale(l,c)].join(" ")}};return a.applyImagePatterns=i.partial(r.transformNodeConfig,a.addPatternAttrs),a}.call(t,n,t,e))||(e.exports=i)},42:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=t.Injection.DOMProperty.MUST_USE_ATTRIBUTE;return t.Injection.DOMProperty.injectDOMPropertyConfig({Properties:{accentHeight:i,accumulate:i,alignmentBaseline:i,alphabetic:i,amplitude:i,animate:i,arabicForm:i,ariaControls:i,ascent:i,attributeType:i,azimuth:i,baseFrequency:i,baselineShift:i,bbox:i,bias:i,by:i,calcMode:i,capHeight:i,clip:i,clipPathUnits:i,clipRule:i,colorInterpolation:i,colorInterpolationFilters:i,colorProfile:i,colorRendering:i,contentScriptType:i,contentStyleType:i,cursor:i,descent:i,diffuseConstant:i,direction:i,display:i,divisor:i,dominantBaseline:i,dur:i,edgeMode:i,elevation:i,enableBackground:i,end:i,exponent:i,externalResourcesRequired:i,feColorMatrix:i,feComposite:i,feGaussianBlur:i,feMorphology:i,feTile:i,fillRule:i,filter:i,filterRes:i,filterUnits:i,floodColor:i,floodOpacity:i,focusable:i,fontSizeAdjust:i,fontStretch:i,fontStyle:i,fontVariant:i,fontWeight:i,format:i,from:i,g1:i,g2:i,glyphName:i,glyphOrientationHorizontal:i,glyphOrientationVertical:i,glyphRef:i,hanging:i,horizAdvX:i,horizOriginX:i,horizOriginY:i,ideographic:i,imageRendering:i,in2:i,in:i,intercept:i,k1:i,k2:i,k3:i,k4:i,k:i,kernelMatrix:i,kernelUnitLength:i,kerning:i,keyPoints:i,keySplines:i,keyTimes:i,lengthAdjust:i,letterSpacing:i,lightingColor:i,limitingConeAngle:i,local:i,markerHeight:i,markerUnits:i,markerWidth:i,mask:i,maskContentUnits:i,maskUnits:i,mathematical:i,mode:i,numOctaves:i,operator:i,order:i,orient:i,orientation:i,origin:i,overflow:i,overlinePosition:i,overlineThickness:i,panose1:i,path:i,pathLength:i,patternTransform:i,pointerEvents:i,pointsAtX:i,pointsAtY:i,pointsAtZ:i,preserveAlpha:i,primitiveUnits:i,radius:i,refX:i,refY:i,renderingIntent:i,repeatCount:i,repeatDur:i,requiredExtensions:i,restart:i,result:i,rotate:i,scale:i,seed:i,shapeRendering:i,slope:i,spacing:i,specularConstant:i,specularExponent:i,startOffset:i,stdDeviation:i,stemh:i,stemv:i,stitchTiles:i,strikethroughPosition:i,strikethroughThickness:i,strokeDashoffset:i,strokeLinejoin:i,strokeMiterlimit:i,surfaceScale:i,systemLanguage:i,tableValues:i,targetX:i,targetY:i,textDecoration:i,textLength:i,textRendering:i,to:i,u1:i,u2:i,underlinePosition:i,underlineThickness:i,unicode:i,unicodeBidi:i,unicodeRange:i,unitsPerEm:i,vAlphabetic:i,vHanging:i,vIdeographic:i,vMathematical:i,values:i,vertAdvY:i,vertOriginX:i,vertOriginY:i,viewTarget:i,visibility:i,widths:i,wordSpacing:i,writingMode:i,xChannelSelector:i,xHeight:i,xmlns:i,yChannelSelector:i,z:i,zoomAndPan:i},DOMAttributeNames:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",ariaControls:"aria-controls",attributeType:"attributeType",baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",calcMode:"calcMode",capHeight:"cap-height",clipPath:"clip-path",clipPathUnits:"clipPathUnits",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",diffuseConstant:"diffuseConstant",dominantBaseline:"dominant-baseline",edgeMode:"edgeMode",enableBackground:"enable-background",externalResourcesRequired:"externalResourcesRequired",feColorMatrix:"feColorMatrix",feComposite:"feComposite",feGaussianBlur:"feGaussianBlur",feMorphology:"feMorphology",feTile:"feTile",fillRule:"fill-rule",filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",numOctaves:"numOctaves",overlinePosition:"overline-position",overlineThickness:"overline-thickness",panose1:"panose-1",pathLength:"pathLength",patternTransform:"patternTransform",pointerEvents:"pointer-events",pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",primitiveUnits:"primitiveUnits",refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",shapeRendering:"shape-rendering",specularConstant:"specularConstant",specularExponent:"specularExponent",startOffset:"startOffset",stdDeviation:"stdDeviation",stitchTiles:"stitchTiles",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashoffset:"stroke-dashoffset",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textDecoration:"text-decoration",textLength:"textLength",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",wordSpacing:"word-spacing",writingMode:"writing-mode",xChannelSelector:"xChannelSelector",xHeight:"x-height",yChannelSelector:"yChannelSelector",zoomAndPan:"zoomAndPan"}}),{}}.call(t,n,t,e))||(e.exports=i)},8411:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.svgUtils;return{translateOddWidths:t.partial(n.transformNodeConfig,(function(e){return 0===e["stroke-width"]&&(e["stroke-width"]=1),function(e){var t=e["stroke-width"];return t&&t%2!=0}(e)&&(e["data-stroke-sharpened"]=!0,n.getTransformOf(e).unshift(n.buildTranslateConfig(.5,.5))),e}))}}.call(t,n,t,e))||(e.exports=i)},8267:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(14),r=n(9531),o=n(4286),s=n(6559),a=DS._,l=DS.svgUtils,c=DS.utils,u=DS.vendorOverrides;DS.flagManager.dropInVectors&&(t=DS.DropIn);var d={vectorText:i,variableText:r,richVariableText:o,accessibleText:s},h=function(e){return e.join("")},p={"xlink:href":"xlinkHref"},f=("image rect ellipse path".split(" "),function(e){return e?a.isString(e)?e:e.map(l.buildTransformFromConfigFn).join(" "):""}),g={transform:f,gradientTransform:f,patternTransform:f},m=1,v=function(e){return a.isArray(e)?e.join(","):e},S=function(e){return!1!==e.nodeType},y=function(e,n,i){var o,l,d=[],p=n.children,f="tspan"===e,g=0,v=f?h:a.identity;return null!=u.forceLayoutLtr&&function(e,t){return"text"===e&&"tspan"===c.getPath(t,"children[0].nodeType")}(e,n)&&u.forceLayoutLtr(i),p&&(o=a.pick(i,"data-accepts"),d=p.filter(S).map((function(e,t){return"defs"===e.nodeType&&(g=1),b(a.defaults(e,o),t-g)}))),l=v(d),null!=u.fixTspan&&f&&l.length>1&&(i=u.fixTspan(i,l)),e!==r&&e!==s||(i.winScale=m),t.createElement(e,i,l)},b=function(e,t){if(!S(e))return"";if(null==e.nodeType)return e;var n,i=d[e.nodeType]||e.nodeType,r=a.omit(e,"children","nodeType");return n=a.transform(r,(function(e,t,n){-1===n.indexOf("data-")&&/-/g.test(n)&&(n=c.camelCaseAttr(n));var i=g[n]||v;e[p[n]||n]=i(t)}),{}),"tspan"===i&&(n["aria-hidden"]=!0),null!=t&&(n.key="defs"===e.nodeType||null!=d[e.nodeType]?a.uniqueId("r-"):t),a.isString(i)||(n.ref=n.ref||n.key),y(i,e,n)};return{createSvg:function(e,t){return m=t,b(e)}}}.call(t,n,t,e))||(e.exports=i)},4242:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8267),i=n(8652),r=n(1791),o=n(6312),s=n(8411),a=n(5802),l=n(7045),c=n(6288),u=DS._,d=DS.svgUtils,h=DS.utils,p=DS.errorManager,f=DS.BaseModel,g=p.throwError("SvgManager"),m=p.backtick,v=h.createSuper(f),S=h.parseParams().svgfilename||"paths",y=new(f.extend({id:"paths",url:h.resolveDataUrl(S),getSvgNode:function(e,n){var h,p,f=n.props.winScale,g=this.get(e.libId,d.svgPrefix(e.commandsetId));return g=d.getFullSvgConfig(g,e.bounds,e.commandsetId,f),g=a.ensureIdsAreUnique(g),h=d.getDefsNode(g),g=c.decorateAdornables(g),e.imagelib&&(p=u.pick(e.bounds,"fullHeight","fullWidth"),g=i.applyImagelib(g,e.imagelib,n),g=o.applyImagePatterns(g,e.imagelib,p)),g=s.translateOddWidths(g,e),g=r.applySlideBackground(g,e,n),e.textLib&&!e.textLib.isEmpty()&&(g=l.applyTextLib(g,e.textLib,e.bounds,h)),t.createSvg(g,f)},getSvgFromData:function(e,t){var n=e.pick("imagelib","textLib");return y.getSvgNode(u.extend(n,{commandsetId:e.commandsetId(),libId:e.getPathLib(),bounds:e.getBounds()}),t)},createMask:function(e,n,i){var r,o,s=new window.DOMParser,a=d.getFullSvgConfig(e,{top:0,left:0,width:0,height:0});return r=s.parseFromString(t.createSvg(a),"text/xml"),o=document.adoptNode(r.documentElement).firstChild,i.appendChild(o),o},get:function(e,t){var n,i=v("get").call(this,e);return i||g("get","tried calling for an undefined library",m(e)),(n=i[t])||g("get","tried calling for an undefined path id",m(t)),h.cloneDeeply(n)},getStringFromVectorText:function(e){var t=e.i,n=e.l,i=d.svgPrefix(t),r=y.get(n,i);return h.getPath(r,"children[0].children[0].children[0]")}}));return l.setSvgManager(y),y}.call(t,n,t,e))||(e.exports=i)},7045:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,i=DS.svgUtils,r=DS.errorManager,o=DS.vendorOverrides,s=DS.appState,a=n(7523).parseVariables,l=r.throwError("textHelper"),c=r.backtick,u=o.moveHtmlTextOutOfSvg||t.identity,d=o.unwrapForeignObjectVarText||t.identity,h={vartext:function(e,t,n){return d({nodeType:"foreignObject",width:t.width()+e.x,height:t.height()+e.y,children:[{ref:"vtext",nodeType:"variableText",model:t,id:e.id,originX:e.x,originY:e.y,hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}]})},richvartext:function(e,t,n){return s.accessibleTextOn()||t.get("scrollOverflow")?d({nodeType:"foreignObject",width:t.width()+e.x,height:t.height()+e.y,children:[{ref:"vtext",nodeType:"accessibleText",model:t,id:e.id,originX:e.x,originY:e.y,hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}]}):{nodeType:"richVariableText",model:t,id:e.id,originX:e.x,originY:e.y,hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}},acctext:function(e,t,n){return s.accessibleTextOn()||t.get("scrollOverflow")?d({nodeType:"foreignObject",width:t.width()+e.x,height:t.height()+e.y,children:[{ref:"vtext",nodeType:"accessibleText",model:t,id:e.id,originX:t.get("xAccOffset"),originY:t.get("yAccOffset"),hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"]}]}):{nodeType:"vectorText",hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"],originX:e.x,originY:e.y,textLibItem:t}},vectortext:function(e,t,n,i){return{nodeType:"vectorText",hasShadow:!!e["data-shadow"],rotDeg:e["data-rotation"],originX:e.x,originY:e.y,textLibItem:t}}},p=function(e,n,i,r){if(!function(e){return"text"===e["data-reference-type"]}(e))return e;var o,s=function(e){return e["data-reference-id"]}(e),u=n.get(s);u||l("renderText","No text lib item with id of",c(s));var d=u.type();if(o=h[d]||t.identity,"acctext"===d||"richvartext"===d||"hiddentext"===d){var p=u.vartext();"hiddentext"!==d||null!=p&&null!=p.blocks?u.parent.semanticTextConfig={origConfig:u,rotation:e["data-rotation"],varMethods:a(p)}:o=t.identity}return o(e,u,i,r)};return p.afterFinish=u,{setSvgManager:function(e){e},applyTextLib:t.partial(i.transformNodeConfig,p)}}.call(t,n,t,e))||(e.exports=i)},5734:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},a=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,s=Object.create(o.prototype),a=new P(r||[]);return i(s,"_invoke",{value:x(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p={};function f(){}function g(){}function m(){}var v={};u(v,a,(function(){return this}));var S=Object.getPrototypeOf,y=S&&S(S(I([])));y&&y!==t&&n.call(y,a)&&(v=y);var b=m.prototype=f.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function o(i,s,a,l){var c=h(e[i],e,s);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var s;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){o(e,n,t,i)}))}return s=s?s.then(i,i):i()}})}function x(e,t,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return A()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=D(s,n);if(a){if(a===p)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=h(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function D(e,t){var n=t.method,i=e.iterator[n];if(void 0===i)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,D(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var r=h(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function I(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function t(){for(;++i<e.length;)if(n.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:A}}function A(){return{value:void 0,done:!0}}return g.prototype=m,i(b,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:g,configurable:!0}),g.displayName=u(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,c,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(C.prototype),u(C.prototype,l,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var s=new C(d(t,n,i,r),o);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},w(b),u(b,c,"Generator"),u(b,a,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},e.values=I,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}i=function(e){"use strict";var t=n(2637),i=n(7877),r=DS._,s=DS.svgUtils,a=DS.utils,l=(DS.constants,DS.TransMatrix),c=DS.detection,u=(DS.flagManager,""),d=function(e){return 1-e/100},h=function(e,t){e.fontSize;return r.mapValues(r.pick(e,["ascent","descent","leading","underlinePosition","underlineThickness"]),a.multiply(d(t)))},p={single:r.identity,singlePt5:a.multiply(1.5),double:a.multiply(2),atLeast:function(e,t,n){return Math.max(e,t)*d(n)},exactly:function(e,t){return A(t)},multiple:function(e,t){return e*(t/20)},multipleTopAligned:function(e,t){return e*(t/20)},percent:a.multiply};p.mulipleTopAligned=p.multiple;var f,g,m=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return p[e.lineSpacingRule](t,e.lineSpacing,n)},v=function(e){return[e,"sans-serif"].join(",")},S={leftToRight:"ltr",rightToLeft:"rtl"},y={leftToRight:"lr-tb",rightToLeft:"rl-tb"},b=function(e){return{direction:S[e.flowDirection],textAnchor:"middle",writingMode:y[e.flowDirection]}},w=function(e){return{direction:S[e.flowDirection]}},C=function(e){var t="normal"===e.elevation?1:.6;return e.fontSize*t},x=function(e){return{direction:S[e.flowDirection],fill:null==e.linkId?e.foregroundColor:e.linkColor,fontFamily:v(e.fontFamily),fontSize:a.ptify(C(e)),fontStyle:e.fontIsItalic?"italic":"normal",fontWeight:e.fontIsBold?"bold":"normal",textTransform:"upper"===e.displayCase?"uppercase":"none"}},D="["+["0020","00a0","1680","180e","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","200a","200b","202f","205f","3000","feff"].map((function(e){return["\\u",e].join("")})).join("|")+"]",E=new RegExp(D),T=E.test.bind(E),P={},I={},A=function(e){return 1.3333333333333333*e},M=r.flow(A,a.multiply(.5)),k=function(e,t,n,i,r,o){var s=t.fontFamily,a=t.fontStyle,l=t.fontWeight,c=t.textTransform,u=parseFloat(t.fontSize),d=[n?[i,e,r].join(""):e,s,a,l,c];return o||d.push(u),d},L=function(e,t){g.setAttribute("style",""),r.extend(g.style,t,{fontFeatureSettings:'"liga" 1',textAnchor:"start"}),g.textContent=e},R=function(e,t,n,i,o){var s=k(e,t,n,i,o,!1),a=r.get(I,s);return null==a&&(L(n?[i,e,o].map((function(e){return null==(t=e)||0===t.length||(null!=P[t]?P[t]:(g.textContent=t,P[t]=0===g.getNumberOfChars()))?u:e;var t})).join(""):e,t),0===(a=n?g.getSubStringLength(1,1):g.getComputedTextLength())&&(g.textContent="."+e+".",a=g.getSubStringLength(1,1)),r.set(I,s,a)),a},_=function(e,t,n,i,r){var o=parseFloat(t.fontSize),s=k(e,t,n,i,r,!0),l=a.getPath(I,s,{}),c=Object.keys(l)[0];return null==c?R(e,t):null!=l[o]?l[o]:l[c]*(o/c)},O=function(e,t){var n,i=e.char,r=e.lineWidth,o=e.isCursive,s=o?0:e.letterSpacing||0,a=e.domStyle,l=(t?_:R)(i,a,o,e.lastChar,e.nextChar);return r+=l,{dx:n=A(s),lineWidth:r+=n,width:l}},V=function(e,t,n){var i,r=M(e.leadingMargin),o=M(e.firstLineMargin),s=M(e.trailingMargin);return t&&(n?o<0?(o=r-o,r=0):(i=Math.min(r,o),o=Math.max(r,o),r=i):r=o),{leadingMargin:r,trailingMargin:s,firstLineMargin:o,widthOffset:(n&&t?o:r)-s}},N=function(e){return e.replace(/\t/g," ")},j=function(e){var n,i=e.blockIdx,s=e.baseSpanStyle,a=e.width,l=e.idx,c=e.estimate,u=e.wrapText,p=e.domStyle,f=e.spans,g=f.length,v=e.runs,S=e.blockStyle,y=e.fontSizeShrink,b=e.isList,C="rightToLeft"===S.flowDirection,D=v.some((function(e){return e.flowDirection!==S.flowDirection})),E=e.y,P=0,I=l,M=e.isFirst?0:A(S.spacingBefore),k=e.isLast?0:A(S.spacingAfter),L=function(){var e=v[P++];return null!=e?{end:e.idx+e.len-1,flowDirection:e.flowDirection,isCursive:e.cursive}:{}},R=L();return E+=M,n=new t(o().mark((function e(){var n,h,m,v,E,P,A,M,k,_,j,B,F,U,H,G,W,z,q,Y,K,Q,$,J,ee,te,ne,ie,re,oe,se,ae,le,ce,ue,de,he,pe;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:E=Z(),P=function(e,t,r){t=t||l;var o=n,s=V(S,e,b),c=s.leadingMargin,u=s.trailingMargin,d=s.widthOffset;return null!=r&&o.spans.push(r),n={charIdx:t,chars:[],spans:[],isBiDi:D,isFirst:e,isRtl:C,isLast:!1,blockStyle:S,blockIdx:i,domStyle:p,marginLeft:C?u:c,marginRight:C?c:u,width:a-d},m=0,v=0,h=-1,o},P(!0),A=0;case 3:if(!(A<g)){e.next=58;break}M=f[A],k=N(M.text),_=k.length,(j=r.extend({},s,M.style)).fontSize=Math.max(1,j.fontSize*d(y)),B=x(j),G=0;case 8:if(!(G<_)){e.next=54;break}if(W=k[G],z=T(W),q=!1,Y=!1,K=W,Q=G>0?k[G-1]:null,$=G<_-1?k[G+1]:null,U=T(Q)?U:Q,l-I>R.end&&(R=L()),ee=w({flowDirection:R.flowDirection}),r.includes(["\r","\n"],W)?(Y="\r"===W||"\r"!==U&&"\n"===W&&G<_-1,K=W=" ",z=!0,q=!0):z&&(h=n.chars.length),H=r.extend({},S.domStyle,B),te=O({char:K,lineWidth:m,letterSpacing:v,isCursive:R.isCursive,domStyle:H,lastChar:Q,nextChar:$},c),J=te.dx,m=te.lineWidth,F=te.width,z||0!==F||!(n.chars.length>0)){e.next=23;break}r.last(n.chars).content+=W,e.next=44;break;case 23:if(!u||z){e.next=43;break}case 24:if(!(n.chars.length>0&&m>n.width&&(m=X({line:n,lineWidth:m,letterSpacing:v,style:H,nextChar:{content:K,width:te.width}},E))>n.width)){e.next=43;break}if(Z(E),-1===h){e.next=39;break}return ne=h+1,ie=n.chars.splice(ne),re=ie.length,null==(oe=new t(ie).map((function(e){return e.idx})).compact().first())&&(oe=l),e.next=31,P(!1,oe,j);case 31:for(n.chars.push.apply(n.chars,ie),se=0;se<re;se++)ae=ie[se],le=ae.spanStyle,ce=ae.domStyle,ue=ae.content,de=se>0?ie[se-1].content:null,he=se<re-1?ie[se+1].content:null,pe=O({char:ue,lineWidth:m,letterSpacing:v,isCursive:R.isCursive,domStyle:r.extend({},p,ce),lastChar:de,nextChar:he},c),m=pe.lineWidth,v=le.spacing,ae.dx=pe.dx;te=O({char:K,lineWidth:m,letterSpacing:v,isCursive:R.isCursive,domStyle:r.extend({},p,B),lastChar:Q,nextChar:$},c),J=te.dx,m=te.lineWidth,F=te.width,e.next=41;break;case 39:return e.next=41,P(!1,l,j);case 41:e.next=24;break;case 43:n.chars.push({content:W,dx:J,idx:l,isNewLine:q,isRtl:"rightToLeft"===R.flowDirection,isCursive:R.cursive,spanStyle:j,domStyle:B,runDomStyle:ee,width:F});case 44:if(G===_-1&&X({line:n,lineWidth:m,letterSpacing:v,style:H},E),l++,v=j.spacing,!Y){e.next=51;break}return Z(E),e.next=51,P(!0,l,j);case 51:G++,e.next=8;break;case 54:n.spans.push(j);case 55:A++,e.next=3;break;case 58:return n.isLast=!0,e.next=61,n;case 61:case"end":return e.stop()}}),e)}))).filter((function(e){return e.spans.length>0})).map((function(e){var t,n,i,o=h(e.spans[0],y),s=o.ascent,a=o.descent,l=o.leading,c=o.underlinePosition,u=o.underlineThickness;return e.spans.forEach((function(e){var t=h(e,y);s=Math.max(s,t.ascent),a=Math.max(a,t.descent),l=Math.max(l,t.leading),c=Math.min(c,t.underlinePosition),u=Math.max(u,t.underlineThickness)})),n=m(S,t=s+a,y),i=0===t?1:n/t,r.extend(e,{ascent:s,descent:a,leading:l,underlinePosition:c,underlineThickness:u,y:E+Math.floor(s*i)}),E+=(s+a+l)*i,e})).toArray(),{y:E+=k,lines:n,isBlockRtl:C}},B=r.constant([[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]]),F=r.memoize((function(){return B().map((function(e){return[e[0],e[1].toLowerCase()]}))})),U=r.curry((function(e,t){var n=[],i=t;return e().forEach((function(e){for(var t=e[0],r=e[1];i%t<i;)n.push(r),i-=t})),n.join("")})),H=r.curry((function(e,t){var n=t-1;return r.repeat(String.fromCharCode(n%26+e.charCodeAt(0)),Math.floor(n/26)+1)})),G={none:r.constant(""),bullet:function(e,t){return String.fromCharCode(t.bulletChar)},listNumberedAsArabic:r.identity,listNumberAsUCRoman:U(B),listNumberAsLCRoman:U(F),listNumberAsUCLetter:H("A"),listNumberAsLCLetter:H("a")},W=function(e,t){return G[t.listType](e,t)},z={plain:"",parentheses:")",minus:" -",period:"."},q=function(e){return["none","bullet"].includes(e.listType)?"":z[e.listTypeFormat]},Y=function(e,t,n,i,o,s,l){if(ce(e))return null;if(!le(t))return s.length=t.listLevel,null;var c,u,h,p,f=e.spans,g=n.listStyle,m=n.baseSpanStyle,S=t.listLevel,y=s[S],b=y?y.listNum:0,C=y?y.listStyle.listType:"",x=r.extend({},g,t.listStyle),D="rightToLeft"===t.flowDirection;return b=0===b||x.listType!==C?Math.max(1,x.start):b+1,(u=r.extend({},m,f[0].style)).fontSize=Math.max(1,u.fontSize*d(o)),h=function(e,t){return{fill:e.color||t.foregroundColor,fontFamily:v("bullet"===e.listType?e.bulletFont:t.fontFamily),fontSize:a.ptify(t.fontSize*a.pctToDec(e.size)),fontStyle:"normal",fontWeight:"normal",textTransform:"none"}}(x,u),p=w({flowDirection:t.flowDirection}),c=K(b,x,i?r.extend({},i,h):null,u,p,D,l),s[S]={listNum:b,listStyle:x},s.length=S+1,{listLevel:S,listNum:b,bulletChars:c.chars,bulletWidth:c.width}},K=function(e,t,n,i,o,s,a){var l,c,u,d,h=function(e,t){return[W(e,t),q(t)].join("")}(e,t),p=[],f=0,g=0;s&&(h=h.split("").reverse().join(""));for(var m=0;m<h.length;m++)l=h[m],n&&(u=(c=O({char:l,lineWidth:g,domStyle:n},a)).dx,g=c.lineWidth,d=c.width),p.push({content:l,dx:u,isBulletChar:!0,isRtl:s,spanStyle:r.extend({},i,{fontIsStrikeout:!1,fontIsUnderline:!1}),domStyle:n,runDomStyle:o,width:d}),f+=d+u;return{chars:p,width:f}},X=function(e,t){var n,i,o=e.line,s=e.lineWidth,a=e.letterSpacing,l=e.style,c=e.nextChar,d=t.charIdx,h=t.width,p=o.chars.slice(d),f=p.length,m=null!=c;return 0!==a?(Object.assign(t,{charIdx:o.chars.length,width:s}),s):(m&&(p.push(c),f++),L(u+p.map((function(e){return e.content})).join("").replace(" "," ")+u,l),h+=g.getSubStringLength(1,p.length),f+1>g.getNumberOfChars()||(n=g.getEndPositionOfChar(0).x,r.range(1,f+1).forEach((function(e,t){i=g.getEndPositionOfChar(e).x,p[t].width=i-n,n=i})),Object.assign(t,{charIdx:d+f-(m?1:0),width:h-(m?r.last(p).width:0)})),h)},Z=function(e){return Object.assign(e||{},{charIdx:0,width:0})},Q=function(e,t){var n=e.runs.reduce((function(e,t){return e+t.spans.reduce((function(e,t,n){return e+$(t,0===n)}),0)}),0);return e.charX=n+t,e},$=function(e,t){return 0===r.last(e.dx)?(g.setAttribute("style","white-space:pre;"),g.setAttribute("text-rendering","geometricPrecision"),r.extend(g.style,e.domStyle,{fontFeatureSettings:'"liga" 1'}),g.textContent=u+e.content.join("")+u,r.first(e.dx)+g.getComputedTextLength()):r.first(e.dx)+(r.last(e.xs)+r.last(e.widths)+r.last(e.dx))-r.first(e.xs)};c.browser.isIE?Q=function(e){return e}:(X=function(e){return e.lineWidth},Z=function(){});var J=function(e){var t,n,i,o,s,l,c,u,d=e.bulletChars,h=e.bulletWidth,p=e.lines||[],f=p[0],g=a.getPath(f,"chars.length",0),m=g>0&&f.isRtl!==f.chars[0].isRtl,v=m?r.last:r.first,S=m?r.initial:r.tail;return g>0&&(t=f.blockStyle,s=(o=V(t,!0,!0)).firstLineMargin-o.leadingMargin-h,n=v(f.chars),n=Object.assign({},n,{dx:Math.max(n.dx,n.dx+s)}),i=S(f.chars),p=[r.extend({},f,{width:f.width+s+(e.rtl?h:0),chars:(l=d,c=n,u=i,m?l.concat(u).concat(c):l.concat(c).concat(u))})].concat(p.slice(1))),p},ee={left:0,right:1,center:.5,justify:0,leading:0,trailing:1},te={normal:r.identity,subscript:function(e,t){return e+t/2},superscript:function(e,t,n){return e-n+t}},ne=r.rest((function(e,t){return te[e].apply(null,t)})),ie=r.ary(r.partialRight(r.pick,["fill","stroke","y"]),1),re=function(e){var t=e.lines,n=e.curr,i=e.next,o=e.x,s=r.omit(e,["lines","curr","next","x"]),a=r.last(t),l=n!==i,c=null!=a&&!r.isEqual(ie(a),ie(s));null!=a&&(l&&!i||c)&&null==a.x2&&(a.x2=o),(l||c)&&i&&t.push(r.extend({x1:o},s))},oe=function(e){var n=e.ascent,i=e.blockIdx,s=e.descent,a=e.isBiDi,l=e.isLast,c=e.isRtl,u=e.marginLeft,d=e.domStyle,h=e.underlinePosition,p=e.underlineThickness,f=e.width,g=e.y,m=e.blockStyle.flowDirection,v=e.blockStyle.justification,S=e.charIdx,y=Math.abs(ee[v]-("leftToRight"===m?0:1)),b=e.chars,w=b.reduce((function(e,t,n){var i=t.content,r=e.currTrailingSpaceIdx;return T(i)?0!==n&&T(b[n-1].content)||(r=n):r=n+1,{charX:e.charX+t.dx+t.width,trailingSpaceIdx:r}}),{charX:0,trailingSpaceIdx:-1}),x=w.charX,D=w.trailingSpaceIdx,E=null!=D?r(b).slice(D).reduce((function(e,t){return e+t.dx+t.width}),0):0,P=f-x+E,I=P*y-(c?E:0),A=r(b).slice(0,D).reduce((function(e,t){return e+(T(t.content)?1:0)}),0),M="justify"!==v||a||l?0:P/A,k=[],L=[],R=Q(new t(b).flatMap(o().mark((function e(t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!c){e.next=4;break}k.unshift(t),e.next=6;break;case 4:return e.next=6,t;case 6:if(n!==b.length-1){e.next=8;break}return e.delegateYield(k,"t0",8);case 8:case"end":return e.stop()}}),e)}))).flatMap(o().mark((function e(t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isRtl===c){e.next=4;break}L.unshift(t),e.next=9;break;case 4:if(!(L.length>0)){e.next=7;break}return e.delegateYield(L,"t0",6);case 6:L=[];case 7:return e.next=9,t;case 9:if(!(n===b.length-1&&L.length>0)){e.next=11;break}return e.delegateYield(L,"t1",11);case 11:case"end":return e.stop()}}),e)}))).reduce((function(e,t,i){var o,a=t.content,l=t.dx,u=t.idx,d=t.isBulletChar,f=t.isRtl,m=t.isNewLine,v=t.runDomStyle,S=t.spanStyle,y=S.backgroundColor,b=S.elevation,w=S.fontIsUnderline,x=!w&&null!=S.linkId,E=S.fontIsStrikeout,P=S.shadow,I=S.underlineThickness,A=S.xHeight,k=S.linkId,L="".concat(S.linkId,"-").concat(i),R=t.domStyle,_=R.fill,O=R.fill,V=t.width,N=C(S),j=!d&&!m,B=null!=y&&""!==y&&j,F=(!!w||x)&&j,U=!!E&&j,H=null!=P,G=i>=D,W=e.charX,z=e.hasBackground,q=e.hasShadow,Y=e.linkId,K=e.letterSpacing,X=e.isStrikeThrough,Z=e.isUnderlined,Q=e.elevation,$=(c?r.first:r.last)(e.runs),J=(f?r.first:r.last)(r.get($,"spans")),ee=c?"unshift":"push",te=f?"unshift":"push";return H&&(e.anyShadows=!0),null!=$&&r.isEqual(v,$.domStyle)||($={isRtl:f,domStyle:v,spans:[]},e.runs[ee]($),J=void 0),null!=J&&Q===b&&K===S.spacing&&q===H&&t.idx!==D&&Y===k&&r.isEqual(R,J.domStyle)||(J={charIdx:u,content:[],dx:[],hasShadow:H,idxs:[],isNewLine:[],isTrailingSpace:G,domStyle:R,widths:[],xs:[],y:ne(b,g,N,n),linkId:k,linkRef:L},$.spans[te](J)),T(a)&&0!==M&&(l+=M,t=r.extend({},t,{dx:l})),J.content[te](a),J.dx[te](l),J.idxs[te](u),J.isNewLine[te](m),J.widths[te](V),J.xs[te](W),J.charIdx=Math.min(J.charIdx,u),o=J.y,re({lines:e.strikethroughs,curr:X,next:U,x:W+l,y:o-A/2,stroke:_,strokeWidth:I}),re({lines:e.underlines,curr:Z,next:F,x:W+l,y:o-h,stroke:O,linkId:k,linkRef:L,hiddenLinkUnderline:x,strokeWidth:p}),re({lines:e.backgrounds,curr:z,next:B,x:W+l,y:g-n,height:n+s,fill:y}),re({lines:e.linkBackgrounds,curr:null!=Y,next:null!=k,x:W+l,y:g-n,height:n+s,linkId:k}),r.extend({},e,{charX:W+t.dx+t.width,hasBackground:B,hasShadow:H,letterSpacing:S.spacing,isStrikeThrough:U,isUnderlined:F,elevation:b,linkId:k})}),{linkBackgrounds:[],backgrounds:[],charX:u,hasBackground:!1,hasShadow:!1,isStrikeThrough:!1,isUnderlined:!1,anyShadows:!1,trailingSpaceIdx:-1,runs:[],strikethroughs:[],underlines:[]}),u),_=R.linkBackgrounds,O=R.backgrounds,V=R.runs,N=R.strikethroughs,j=R.underlines,B=R.anyShadows,F=R.charX;return{anyShadows:B,ascent:n,linkBackgrounds:_,backgrounds:O,blockIdx:i,charIdx:S,descent:s,isBiDi:a,isRtl:c,lineWidth:F,lineXOff:I,runs:V,strikethroughs:N,domStyle:d,trailingSpaceIdx:D,underlines:j,x:I+u+(F-u)/2,y:g}},se=function(e,t){return{maxLineWidth:Math.max(e.maxLineWidth,t.lineWidth),minLineXOff:Math.min(e.minLineXOff,t.lineXOff),lines:e.lines.concat([t])}},ae={top:0,center:.5,bottom:1},le=function(e){var t=e.listStyle;return"none"!==(void 0===t?{listType:"none"}:t).listType},ce=function(e){var t=e.spans;return 0===t.length||1===t.length&&"\n"===t[0].text},ue=function e(n){var i,s,a,c,u,d,h,p,f=n.estimate,g=n.final,m=0,v=0,S=n.blocks,y=n.lastShrinkStep,w=n.defaultBlockStyle,C=w.baseSpanStyle,x=n.direction,D=n.textFontSizeShrink||0,E=n.scaleAttempt||0,T=Math.abs(n.width),P=Math.abs(n.height),I=[];if("horizontal"!==x){var A=T;T=P,P=A}if(0===S.length)return{textLines:[],maxLineWidth:0,textMtx:new l};if(u=new t(S).flatMap(o().mark((function e(t,n){var i,s,a,l,c,u,d,h;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.spans,s=t.runs,a=r.extend({},w,t.style),l=b(a),c=Y(t,a,w,l,D,I,f),u=null!=c?c.bulletWidth:0,h=j({blockStyle:a,blockIdx:n,baseSpanStyle:C,estimate:f,fontSizeShrink:D,idx:v,isList:null!=c,runs:s,domStyle:l,spans:i,width:T,wrapText:true,y:m,bulletWidth:u,isFirst:0===n,isLast:n===S.length-1}),m=h.y,v=h.idx,d=h.lines,null==c){e.next=9;break}return e.delegateYield(J({bulletChars:c.bulletChars,bulletWidth:u,lines:d,rtl:h.isBlockRtl}),"t0",7);case 7:e.next=10;break;case 9:return e.delegateYield(d,"t1",10);case 10:case"end":return e.stop()}}),e)}))).map(oe).reduce(se,{maxLineWidth:0,minLineXOff:1/0,lines:[]}),E<=30){if((p=Math.floor(m)>P)||E>0&&y>1)return d=0===E?16:p?y:y/2,h=p?D+d:D-y+d,e(r.extend({},n,{textFontSizeShrink:h,estimate:!g,final:g,shrinking:!0,scaleAttempt:E+1,lastShrinkStep:d}));if(f)return e(r.extend({},n,{estimate:!1,final:!0,scaleAttempt:0}))}return i=u.maxLineWidth,s=u.minLineXOff,a=u.lines,c=function(e,t,n){var i=ae[n.valign];return(new l).translate(0,e*i).translate(0,-t*i)}(P,m,n),{textLines:a,textHeight:m,minTextLineXOff:s,maxTextLineWidth:i,textMtx:c}};return{parseVectorText:function(e,t){var n=e.width(),o=e.height(),a=e.valign();return null==f&&(f=s.createElement("svg"),g=s.createElement("text"),r.extend(f.style,{left:0,position:"fixed",top:0,visibility:"hidden"}),g.setAttribute("space","preserve"),g.setAttribute("text-rendering","geometricPrecision"),f.appendChild(g),i.addToLib(f)),ue({estimate:!1,final:!1,shrinking:!1,blocks:t.blocks,direction:t.direction,defaultBlockStyle:t.defaultBlockStyle,width:n,height:o,valign:a})},getLineHeight:m,adjustMargin:M,getListInfo:Y}}.call(t,n,t,e),void 0===i||(e.exports=i)},5214:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(4192),r=DS._,o=DS.errorManager,s=DS.detection,a=o.throwError("templateManager"),l=o.backtick,c=a("getTemplate"),u=l("templateName")+" argument empty",d={getTemplate:function(e){e||c(u),DS.flagManager.dropInAcc&&"Slide"===e&&(e="SlideDropInAcc");var t=function(e){var t=i[e+"Mobile"];return s.deviceView.isClassicMobile&&null!=t?t:i[e]}(e);return r.isUndefined(t)&&c("tried calling for an undefined template",l(e)),t}};return t.setTemplateManager(d),d}.call(t,n,t,e))||(e.exports=i)},1853:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r,o=n(7877),s=DS._,a=DS.vow,l=DS.constants,c=DS.utils,u=DS.detection,d=DS.dom,h=DS.slidesController,p=DS.globalEventHelper,f=p.addBodyListener,g=p.removeBodyListener,m=l.TINY_VIDEO,v=u.os.isIOS||u.browser.isSafariMac&&u.device.isDesktop?window.globals.maxIosVideoElements:200,S=u.device.mobile?["touchend","click"]:["click"],y=[],b=[],w=function(e){e.pause(),null!=e.hlsPlayer&&(e.hlsPlayer.destroy(),e.hlsPlayer=null),e.lastSrc=null,e.src=m,e.load()},C=function(e){var t=null!=e.parentNode,n=t&&d.hasClass(e.parentNode,"offscreen"),i=y.some((function(n){return n.el.contains(e)&&t&&!c.getPath(n.props,"isPlaying",!0)}));(i||!t||n)&&(e.pause(),i||w(e))},x=function(e,t,n){n=n||s.noop,null!=t?t.then((function(){C(e),n()})).catch((function(){C(e),n(!0)})):(C(e),n())},D=new Event(DS.events.videoManager.PLAY),E=new Event(DS.events.videoManager.PAUSE),T=function(){var e=document.createElement("video"),t=function t(){x(e,e.play()),S.forEach((function(e){return g(e,t)}))};e.dataset.videoId=s.uniqueId("video"),e.origPlay=e.play,e.origPause=e.pause,e.playing=!1,e.play=function(){return e.playing||(e.playing=!0,e.dispatchEvent(D)),e.origPlay()},e.pause=function(){e.playing&&(e.playing=!1,e.dispatchEvent(E)),e.origPause()},e.loadVideo=function(t){var n="m3u8"===s.last(t.split("."));if(n&&u.env.isFileProtocol)return!0;if(n&&window.Hls.isSupported()){if(null!=e.hlsPlayer&&e.lastSrc===t&&4===e.readyState)return!0;e.hlsPlayer&&e.hlsPlayer.destroy(),e.hlsPlayer=new window.Hls,e.hlsPlayer.loadSource(t),e.hlsPlayer.attachMedia(e),e.lastSrc=t}else e.hlsPlayer&&e.hlsPlayer.destroy(),e.lastSrc!==e.src&&(e.lastSrc=t,e.src=t,e.load(),e.origPlay().finally((function(){e.playing||e.origPause()})).catch((function(e){})));return!1},e.src=m,e.tabIndex=-1,e.setAttribute("preload","auto"),u.device.isMobile&&(e.setAttribute("playsinline",1),e.setAttribute("webkit-playsinline","true")),r.appendChild(e),e.load(),x(e,e.play()),DS.presentation.isPreview()||S.forEach((function(e){f(e,t)}))};return{initialize:function(e){return r=o.getVideoPen(),new Promise((function(n){t=e.assetLib(),i=t.getVideoCount(),s.times(Math.min(v,i),T),function(e,t){if(u.device.isPhone||0===t)e();else{var n=r.firstElementChild,i=n.play();x(n,i,e)}}((function(r){var o=!1,s=e.slideMap();if(i>0&&r&&null!=DS.presentation){var a=h.getSlide(h.getEntrypoint());o=null==a||s.getRefById(a.fullId()).assetIds().some((function(e){return"video"===t.find({id:e}).type()}))}n(o)}),i)}))},getVideoElement:function(e,t){if("VideoPlayer"===e.displayName){var n=e.getVideoUrl(),i=y.find((function(e){return"VideoLoader"===e.displayName&&e.isElementOwner&&e.getVideoUrl()===n}));if(i)return i.assignNewOwner(e)}var o=r.firstElementChild;if(null!=o)return r.removeChild(o),y.unshift(e),o;if(t||e.loadForView&&"VideoLoader"===e.displayName){var a=DS.windowManager.getCurrentWindowSlide(),l=c.getPath(a,"id","empty"),u=y.filter((function(e){return"VideoPlayer"===e.displayName})).sort((function(e){var t=0;return l!==e.slideId&&(t+=4),e.isTrulyVisible()||(t+=2),(e.isPaused||e.ended())&&(t+=1),t})),d=s.last(u);if(null!=d)return s.pull(y,d),o=d.retrieveVideo(),y.unshift(e),o}},requestVideoEl:function(e,t){s.remove(b,(function(t){return t.obj===e}));var n=a.Deferred(),i=this.getVideoElement(e,t);return null!=i?n.resolve(i):b.unshift({dfd:n,obj:e}),n.promise()},updateElementOwner:function(e,t){s.pull(y,e),y.unshift(t)},putVideoInPen:function(e,t){s.pull(y,t),w(e),r.insertBefore(e,r.firstElementChild),this.getNextInLine()},getNextInLine:function(){var e;b.length>0&&(e=b.pop()).dfd.resolve(this.getVideoElement(e.obj))},prepare:function(){s.toArray(r.childNodes).forEach((function(e){e.readyState===e.HAVE_NOTHING&&e.networkState===e.NETWORK_EMPTY&&r.removeChild(e)}))}}}.call(t,n,t,e))||(e.exports=i)},4998:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._;var t=DS.errorManager,n=t.throwError("actionable");t.warn("actionable");return{triggerAction:function(e,t){var i=e&&e.kind;return i||n("triggerAction","Cannot execute action without `kind`"),this.trigger("action:"+i,e,t),this}}}.call(t,n,t,e))||(e.exports=i)},843:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,n=t.events,i=t.captionsManager,r=t.utils,o=t.pubSub;return{componentWillMount:function(){var e=this;DS.flagManager.multiLangSupport?(this.updateCaptions(),this.removeUpdateListener=o.addListener(n.captions.LANGUAGE_UPDATED,(function(){e.clearCaptions(),e.updateCaptions(),e.adjustCaptions()}))):(this.captions=i.getCaptions(this.getAssetId()),this.hasCaptions=null!=this.captions,this.hasCaptions&&(this.currentCaptions=[]))},componentDidMount:function(){var e=this.props.model||this.props.slideObjectModel;this.slideOwner=e.getSlide(),this.slideId=this.slideOwner.id,i.mount(this,this.slideId)},componentWillUnmount:function(){this.clearCaptions(),i.unmount(this,this.slideId),null!=this.removeUpdateListener&&this.removeUpdateListener()},updateCaptions:function(){this.captions=i.getCaptions(this.getAssetId()),this.hasCaptions=null!=this.captions,this.hasCaptions&&(this.currentCaptions=[])},adjustCaptions:function(){var e=this,t=this.slideOwner.currView.props.slideContainer;if(null!=t&&this.hasCaptions&&this.props.objectVisible&&this.props.slideVisible){var i=this.getCurrentTime();this.currentCaptions.length>0&&(this.currentCaptions=this.currentCaptions.reduce((function(e,o){return r.isWithinRange(o.startTime,o.endTime,i)?e.push(o):t.trigger(n.captions.REMOVE,o.getCueAsHTML()),e}),[])),DS._.difference(this.captions,this.currentCaptions).forEach((function(o){r.isWithinRange(o.startTime,o.endTime,i)&&(e.currentCaptions.push(o),t.trigger(n.captions.ADD,o.getCueAsHTML()))}))}return this},clearCaptions:function(){var e=r.getPath(this.slideOwner,"currView.props.slideContainer");return null!=e&&this.hasCaptions&&this.currentCaptions.length>0&&this.currentCaptions.forEach((function(t){e.trigger(n.captions.REMOVE,t.getCueAsHTML())})),this.currentCaptions=[],this}}}.call(t,n,t,e))||(e.exports=i)},4329:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.resolver,i=DS.errorManager,r=(i.throwError("varPropListenable"),i.backtick,function(e,t){return t.kind===e}),o=t.partial(r,"onvarchanged"),s=t.partial(r,"onpropchanged"),a=function(e){return["change",e].join(":")};return{setVarAndPropListeners:function(){var e,i,r=this.events();return[].concat((e=this,i=t.sortBy(r.filter(o),"priority").reverse(),t.invokeMap(i,(function(){var t=this,i=a("value"),r=n.resolvePath(t.varname,e),o=function(){e.executeFilteredPlayerEvent((function(e){return e===t}),"onvarchanged")};return null!=r&&e.listenTo(r,i,o),{listener:e,obj:r,event:i,callback:o}}))),function(e,i){return t.invokeMap(i,(function(){var t=this,i=n.resolvePath(t.objRef,e),r=t.propname,o=i.prop(r),s=a(r),l=i.getPlayerProps(),c=function(){window.requestAnimationFrame((function(){o!==i.prop(r)&&(o=i.prop(r),e.executeFilteredPlayerEvent((function(e){return e===t}),"onpropchanged"))}))};return e.listenTo(l,s,c),{listener:e,obj:l,event:s,callback:c}}))}(this,t.sortBy(r.filter(s),"priority").reverse()))}}}.call(t,n,t,e))||(e.exports=i)},2296:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3495),i=DS._;return DS.BaseModel.extend({shorthand:["duration"],associations:{tweens:t},buildConfig:function(){var e={isWipe:!!this.get("wipetrans"),pushDir:this.get("pushdirection"),duration:this.get("duration"),tweens:this.tweens().buildTweens(),updateConfig:function(){e.tweens.forEach((function(e){i.forOwn(e.tweenAttrs,(function(e){e.update()}))}))}};return e},getConfig:function(e){return this.config=this.config||this.buildConfig(),this.config.updateConfig(),Object.assign(this.config,e)}})}.call(t,n,t,e))||(e.exports=i)},7170:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3807),i=n(4164),r=n(2753),o=n(9824),s=n(6664),a=n(3723),l=DS._,c=DS.utils,u=DS.vow,d=DS.BaseModel,h=DS.detection,p={img:"swf png jpg jpeg gif bmp".split(" "),video:"flv mov mp4 avi m3u8 webm".split(" "),audio:"mp3".split(" "),js:"js".split(" ")},f={audio:t,video:r,js:o,jssvg:s},g={};return d.extend({shorthand:["url","type","width","height","mobiledx","mobiledy","captions"],initialize:function(){var e=this.url();h.env.isFileProtocol&&null!=this.get("localUrl")?e=this.get("localUrl"):h.device.isPhone&&!l.isEmpty(this.get("lowResUrl"))&&(e=this.get("lowResUrl")),null!=e&&e.startsWith("data:")||this.url(c.resolveAssetUrl(e)),this.inferType()},ext:function(){return l.last(this.url().split("."))},isValid:function(){return"swf"!==this.ext()},inferType:function(){var e=this,t=l.reduce(p,(function(t,n,i){return l.includes(n,e.ext())?i:t}),null);return"js"===t&&"jssvg"===this.get("jsType")&&(t="jssvg"),this.type(t),this},load:function(e){if(null!=this.currentLoader)return this.currentLoader.promise;var t,n,r,o=this.type(),s="audio"===o,l=this.isLoaded||g[this.url()],c=s&&a.useAudioApi();if(!this.isValid()||l&&!e&&!c)return this.isLoaded=!0,(n=(t=u.Deferred()).resolve().promise()).dfd=t,n;!c&&s&&(g[this.url()]=!0);var d=f[o]||i;return this.currentLoader=r=new d({type:this.type(),url:this.url(),id:this.id,loadForView:e,dataId:this.get("dataId")}),r.promise.then(function(){this.isLoaded=!0}.bind(this)).always(function(){r.teardown(),this.currentLoader=null}.bind(this)),r.promise.dfd=r.dfd,r.promise}})}.call(t,n,t,e))||(e.exports=i)},2388:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4998),i=n(4554),r=n(4585),o=n(2658);return DS.BaseModel.extend({shorthand:["assetId","events"],mixins:[t,r,i],abilities:{resolveAsThis:!0,resolveAsParent:!1,beEventTarget:!0},playerPropNames:{isTimelineControlled:!1,isPlaying:!1,resumeOnTimelinePlay:!1},getSlide:function(){return this.getClosestAncestorByKind("slide")},getAsset:function(){return o.getAsset(this.assetId())},getUrl:function(){return this.getAsset().url()},getDuration:function(){return this.getAsset().get("duration")},getResumeData:function(e){var t="",n=0;return(e||this.getSlide().resume())&&(n+=this.prop("isTimelineControlled")?1:0,n+=this.prop("isPlaying")?2:0,t=(n+=this.prop("resumeOnTimelinePlay")?4:0).toString()),t},setResumeData:function(e,t){(t||this.getSlide().resume())&&(e=parseInt(e,10),this.prop({isTimelineControlled:!!(1&e),isPlaying:!!(2&e),resumeOnTimelinePlay:!!(4&e)}))},resetBeforeView:function(){this.resetProps()}})}.call(t,n,t,e))||(e.exports=i)},3936:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3807),i=n(3723),r=DS._,o=DS.appState,s=DS.events,a=DS.BaseModel,l=DS.vow,c=function(e){return["presentation_content",e].join("/")},u=l.Deferred().resolve().promise(),d=l.Deferred().reject();return d.catch((function(e){return e})),d=d.promise(),a.extend({initialize:function(){this.clips={},this.onClipEndedDelegate=this.onClipEnded.bind(this),this.listenTo(o,s.volume.CHANGE_CURRENT,this.onVolumeChanged)},isPlaying:function(){return null!=this.currentlyPlayingIdx},getRelativeVolume:function(e){return this.get("volume")*e/100},play:function(){return this.get("filenames").length>0&&this.playIdx(0),this},playIdx:function(e){var t=this.get("filenames")[e],n=i.loadUrl(c(t),"playlist"+e);return n.on(s.audioClip.ENDED,this.onClipEndedDelegate),n.setVolume(this.getRelativeVolume(o.currentVolume())),n.play(),this.clips[e]=n,this.currentlyPlayingIdx=e,this.preloadNext(),this},stop:function(){return Object.keys(this.clips).forEach(this.stopIdx.bind(this)),this.currentlyPlayingIdx=null,this},stopIdx:function(e){var t=this.clips[e];return t.off(s.audioClip.ENDED,this.onClipEndedDelegate),t.destroy(),this.clips[e]=null,this},pause:function(){return this.isPlaying()&&!this.isPaused&&(this.clips[this.currentlyPlayingIdx].pause(),this.isPaused=!0),this},resume:function(){return this.isPlaying()&&this.isPaused&&(this.clips[this.currentlyPlayingIdx].play(),this.isPaused=!1),this},load:function(){return this.get("filenames").length>0?this.loadIdx(0):u},loadIdx:function(e){var n=c(this.get("filenames")[e]),i=new t({type:"audio",url:n});return i.promise.always(i.teardown.bind(i))},preloadNext:function(){var e=this.currentlyPlayingIdx+1;if(e>=this.get("filenames").length){if(!this.get("loop"))return d;e=0}return e===this.currentlyPlayingIdx?d:this.loadIdx(e)},onClipEnded:function(){var e=this.currentlyPlayingIdx+1;if(e>=this.get("filenames").length){if(!this.get("loop"))return void this.stopIdx(this.currentlyPlayingIdx);e=0}this.currentlyPlayingIdx!==e?(this.stopIdx(this.currentlyPlayingIdx),this.playIdx(e)):this.clips[this.currentlyPlayingIdx].seek(0).play()},onVolumeChanged:function(e,t){r.invokeMap(this.clips,"setVolume",this.getRelativeVolume(t))}})}.call(t,n,t,e))||(e.exports=i)},2687:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2261),i=DS,r=i.BaseModel,o=i.windowManager;return r.extend({associations:{windows:t},shorthand:["width","height"],getWindowById:function(e){return e===o.PRINT_WINDOW?{kind:"window",id:o.PRINT_WINDOW}:this.windows().get(e)}})}.call(t,n,t,e))||(e.exports=i)},9687:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.Chunk,o=DS.utils,s=DS.constants,a=o.createSuper(t),l=function(e,t){return 0==(e&t)?e:e-t},c=t.extend({variableProps:{SelectedItem:{type:s.varTypes.NUM,value:-1}},buildResumeData:function(){var e,t;return t=a("buildResumeData").apply(this,arguments),"wordbank"===this.get("style")&&this.prop("SelectedItem")>=0&&(e=r.fromUnsignedString64(this.encodedResumeData.slice(0,3)),e=l(e,4),e=l(e,512),this.encodedResumeData=r.toUnsignedString64(e,3)+this.encodedResumeData.slice(3)),t},unDrop:function(){i.result(this,"currView.refs.innard.unDrop")},resetForSeek:function(){var e=a("resetForSeek").apply(this,arguments);return this.unDrop(),e},onPlayerReset:function(){var e=a("onPlayerReset").apply(this,arguments);return this.unDrop(),e},resetObjectBeforeResume:function(){var e=a("resetObjectBeforeResume").apply(this,arguments);return this.unDrop(),e}});return c}.call(t,n,t,e),void 0===i||(e.exports=i)},2801:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils,o=DS.constants,s=(DS.BaseModel,r.createSuper(t)),a=t.extend({variableProps:{SelectedItemIndex:{type:o.varTypes.NUM,value:-1}},initialize:function(){this.origItemsList=r.getPath(this,"data.itemlist").slice(),this.itemslist=this.origItemsList.slice(),this.hiderParents=[],this.createIdxHash(),this.shuffleItems()},createIdxHash:function(){this.itemsIdx=this.itemslist.reduce((function(e,t,n){return e[t.itemdata]=n,e}),{})},shuffleItems:function(){this.get("shuffle")&&(this.itemslist=i.shuffle(this.itemslist))},setResumeData:function(){s("setResumeData").apply(this,arguments);var e=this.prop("SelectedItemIndex");e>=0&&this.prop("SelectedItemData",this.origItemsList[e].itemdata)}});return a}.call(t,n,t,e),void 0===i||(e.exports=i)},4273:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils,o=DS.constants,s=r.createSuper(t),a=t.extend({variableProps:{SelectedItem:{type:o.varTypes.NUM,value:-1}},setResumeData:function(){s("setResumeData").apply(this,arguments);var e=r.getPath(this,"currView.refs.innard");i.result(this,"currView.isMounted",!1)&&this.currView.htmlReady(e.resumeReview)}});return a}.call(t,n,t,e),void 0===i||(e.exports=i)},4469:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3484),i=DS._,r=DS.utils,o=DS.constants;return t.extend({shorthand:["colors","background","borderColor"],isGroupingContainer:!0,initialize:function(){this.addExtraVariables().setupLabelColors()},addExtraVariables:function(){return this.variables().addVariable({name:"_expanded",type:o.varTypes.BOOL,value:!1}),this},setupLabelColors:function(){var e=i(this.colors()),t=e.find({name:"border"}),n=e.find({name:"bg"});if(t){var o=i.first(t.fill.colors),s=r.toRgba(o.rgb,o.alpha);this.set("borderColor",s)}n&&this.set("background",n)}})}.call(t,n,t,e))||(e.exports=i)},3484:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils.createSuper(t),o=r("resolveables").concat(["objects"]),s=i.defaults({groupObjects:!0},r("abilities"));return t.extend({resolveables:o,abilities:s,isGroupingSlideObject:!0,resolvers:{objects:function(e,t){return t.findNestedObject(e)}},getCorrectBounds:function(e,t){var n=e.getBounds(),r=e.prop("RawXPos"),o=e.prop("RawYPos");return i.extend({left:r,right:r+n.width,top:o,bottom:o+n.height,idx:t},i.pick(n,"height","width"))},killEverything:function(){r("killEverything"),this.objects().invoke("killEverything")}})}.call(t,n,t,e))||(e.exports=i)},9890:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t,i=n(4615),o=n(2687),s=n(6414),a=n(5363),l=n(7692),c=n(6392),u=n(7895),d=n(9360),h=n(4115),p=(n(8771),n(7620)),f=n(5178),g=n(4585),m=n(4554),v=n(7258),S=n(4664),y=n(4196),b=n(3488),w=n(9951),C=n(4998),x=n(4329),D=DS,E=D._,T=D.playerGlobals,P=D.vow,I=D.BaseModel,A=D.utils,M=D.captionsManager,k=D.errorManager,L=D.flagManager,R=D.events,_=D.pubSub,O=D.slideNumberManager,V=D.constants,N=D.detection,j=(N.theme,N.env.is360),B="_reviewScene",F=k.throwError("Presentation"),U=function(e){return!e.isMessageScene()},H=I.extend({mixins:[C,g,x],resolveables:["variables"],abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{variables:u}});return I.extend({abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},mixins:[g,m],subscriptions:(t={},t[R.customlink.EVENT]="onCustomlink",t[R.actionlink.EVENT]="onActionlink",t[R.presentation.ON_OBJECT_EVENT]="onObjectAction",t[R.presentation.ON_BEFORE_SLIDE_JUMP]="onBeforeSlideJump",t[R.error.INTERFACE]="onInterfaceError",t[R.slide.HAS_CHANGED]="onSlideChanged",t[R.window.CLOSED]="onWindowClosed",t[R.data.INITIALIZED]="onDataInitialized",t),url:function(){return A.resolveDataUrl("data")},associations:{slideMap:i,display:o,scoring:s,scorings:c,variables:u,scenes:d,assetLib:h,globalaudiolib:S,quizzes:p,timers:f,audioplaylists:v},resolveables:["scenes","variables","actionGroups","quizzes","scorings","slideBank","timers"],shorthand:["entryPoint","resume","events","actionGroups","playerVars"],playerPropNames:{CurrentSlideId:null,LastErrorFeature:null},resolvers:{slideBank:function(e,t){return E.find(t.slides,{id:e})}},initialize:function(){T.presentation=this,j&&DS.flagManager.aiCourseTranslation&&_.on(R.localization.CREATE_REVIEW_SLIDE,this.createReviewSlide.bind(this))},createReviewScene:function(){this.scenes().add(new a({id:B},{parent:this}))},createReviewSlide:function(e){var t,n=this.get("slideBank"),i=null==n||null===(t=n.slides)||void 0===t?void 0:t.find((function(t){return t.id===e})),r=this.scenes().find((function(e){return e.id===B}));if(null!=i&&null!=r){var o=new l(i,{parent:r});o.createAbsoluteId(),r.slides().add(o),this.slideMap().addReviewRef(o),O.updateNumbering()}},getFirstSlide:function(){var e=this.scenes().getNonMessageScenes()[0],t=e.slides();return t.length>0?t.first():e.slidedraws().first().getFirstSlide()},getPlayerVarDefaultValues:function(){var e=this.get("playervars"),t={};return e.forEach((function(e){t[e.name]=e.value})),t},getDefaultFont:function(){return this.get("defaultFont")},getFontScale:function(){return this.get("fontScale")||100},createPlayerVars:function(){var e=this.getPlayerVarDefaultValues(),t="boolean",n="boolean",i="boolean",o=(V.varTypes.NUM,new H({variables:[{kind:"variable",name:"displayCaptions",type:t||"boolean",value:e.displayCaptions||!1,resume:!0},{kind:"variable",name:"accessibleText",type:n||"boolean",value:e.accessibleText||!1,resume:!1},{kind:"variable",name:"zoomToFit",type:i||"boolean",value:e.zoomToFit||!1,resume:!1},{kind:"variable",name:"hasPrevHistory",type:V.varTypes.BOOL,value:!1,resume:!1},{kind:"variable",name:"activityId",type:V.varTypes.STRING,value:A.getPath(DS,"lmsManager.getActivityId"),resume:!1},{kind:"variable",name:"slideElapsedTime",type:V.varTypes.NUM,value:0,resume:!1},{kind:"variable",name:"sceneElapsedTime",type:V.varTypes.NUM,value:0,resume:!1},{kind:"variable",name:"projectElapsedTime",type:V.varTypes.NUM,value:0,resume:!1},{kind:"variable",name:"questionCorrect",type:V.varTypes.BOOL,value:!1,resume:!1},{kind:"variable",name:"fullScreenMode",type:V.varTypes.BOOL,value:!1,resume:!1},{kind:"variable",name:"backgroundAudioVolume",type:V.varTypes.NUM,value:e.backgroundAudioVolume,resume:!1}].concat(r(L.multiLangSupport||L.aiCourseTranslation?[{kind:"variable",name:"langCode",type:V.varTypes.STRING,value:e.langCode||DS.localizationManager.getCurrentLangCode(),resume:!1}]:[])).concat(O.getPlayerVariables())}));this.playerVars(o)},onDataInitialized:function(){var e=this;b.setDataVersion(this.get("version")),w.setColorData(this.get("colorGroups")),j&&DS.flagManager.aiCourseTranslation&&this.createReviewScene();var t=E(this.scenes().models).invokeMap("slidedraws").map((function(e){return e.models})).flatten();t.some()?t.forEach((function(t){e.listenTo(t,R.draw.RESET_COMPLETE,e.onDrawSlidesCreated.bind(e))})):this.onDrawSlidesCreated(),null!=this.get("playervars")&&this.createPlayerVars()},onAfterSetResume:function(){null!=this.get("playervars")&&M.syncAfterResume()},getDrawPromise:function(){return null==this.drawPromise&&(this.drawPromise=P.after.apply(P,E.invokeMap(this.scenes().filter(U),"getDrawPromise"))),this.drawPromise},onDrawSlidesCreated:function(){var e=this;this.getDrawPromise().then((function(){e.createSlideIndices()}))},getFlatSlides:function(e){var t=null!=e?U:Boolean;return E(this.scenes().filter(t)).invokeMap("getAllSlides").flatten().value()},getUniqueSlides:function(){var e=this.getFlatSlides(!0),t={};return e.reduce((function(e,n){var i=n.getViewGroupId();return n.get("trackViews")&&null==t[i]&&(t[i]=!0,e.push(n)),e}),[])},createSlideIndices:function(){var e=0;this.scenes().forEach((function(t){t.slides().forEach((function(t){t.prop("Index",e++)})),t.slidedraws().forEach((function(t){var n=t.sliderefs();t.slides().forEach((function(t){t.prop("Index",e+E.findIndex(n,{id:t.id}))})),e+=n.length}))}))},onCustomlink:function(e){this.executePlayerEvent(e)},onActionlink:function(e){var t=A.getPath(E.find(this.get("actionlinks"),{id:e}),"actions");null==t?F("onActionLink","No action link with id",k.backtick(e)):y.executeActions(t,{context:this})},eventByName:function(e){return E.find(this.events(),(function(t){return t.eventname===e||t.eventName===e}))},onObjectAction:function(e){var t=this.eventByName(e);null!=t&&y.executeActions(t.actions,{context:this})},onBeforeSlideJump:function(e){var t=this.events().find((function(e){return"onbeforeslidejump"===e.kind}));null!=t&&y.executeActions(t.actions,e)},onInterfaceError:function(e){var t=this.get("errorMsgs").external_interface;this.prop("LastErrorFeature",e),_.trigger(R.request.NEXT_SLIDE,t.slideId,t.window)},onWindowClosed:function(){var e=DS.windowManager.getCurrentWindowSlide();if(null!=e){var t=A.stripPlayer(e.absoluteId);this.prop("CurrentSlideId",t)}},onSlideChanged:function(e,t){t||this.prop("CurrentSlideId",e)},isPreview:E.memoize((function(){return!!A.getPath(this,"preview.enabled")}))})}.call(t,n,t,e))||(e.exports=i)},5363:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(704),i=n(1806),r=n(7895),o=n(5565),s=n(4554),a=DS._,l=DS.vow;return DS.BaseModel.extend({isScene:!0,mixins:[o,s],abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{slides:t,slidedraws:i,variables:r},resolveables:["slides","slidedraws","variables","actionGroups"],shorthand:["startingSlide","isMessageScene","sceneNumber"],initialize:function(){this.usedRefs=[]},addRef:function(e){this.usedRefs.push(e)},getRefs:function(){return this.usedRefs},hasDraws:function(){return this.slidedraws().length>0},resolveDfd:function(){this.drawDfd.resolve()},getDrawPromise:function(){var e=this.slidedraws().invoke("getSlidePromise");return this.drawDfd=l.Deferred(),l.after.apply(l,e).then(this.resolveDfd.bind(this)),this.drawDfd.promise()},getAllSlides:function(){var e=this.hasDraws()?a(this.slidedraws().pluck("slides")).invokeMap("slice").flatten().value():[];return this.slides().slice().concat(e)}})}.call(t,n,t,e))||(e.exports=i)},6414:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(4554),r=DS._,o=DS.utils,s=DS.resolver,a=DS.constants,l=DS.BaseModel,c=DS.events,u=DS.pubSub,d=DS.flagManager,h=l.extend({mixins:[i],playerPropNames:{Score:0,PercentScore:0,Status:a.statuses.INCOMPLETE,Completed:!1},shorthand:["type","scoreRefs"],subscriptions:(t={},t[c.slide.VIEWED]="incrementViewed",t[c.slide.SLIDE_NUMBERS_UPDATED]="reportViewedIfPastThreshold",t[c.player.RESET]="reset",t),initialize:function(){this.viewedSlideGroups={},this.viewedSlides=0,u.once(c.data.INITIALIZED,this.setupRefs.bind(this))},setupRefs:function(){this.isExpandedTrackingAvailable=d.multipleQuizTracking,this.scoreRef=null!=this.scoreRefs()&&this.scoreRefs().length>0&&this.scoreRefs()[0],this.linkRef()},hasScoreRef:function(){return!!this.scoreRef},linkRef:function(){this.hasScoreRef()&&(this.quiz=this.getQuiz(this.scoreRef.ref),this.quiz.setScoring(this))},incrementViewed:function(e){this.viewedSlideGroups[e.getViewGroupId()]||(this.viewedSlideGroups[e.getViewGroupId()]=!0,this.viewedSlides++,this.reportViewedIfPastThreshold())},reportViewedIfPastThreshold:function(){this.isPastViewThreshold()&&this.isView()&&(u.trigger(c.course.VIEWED,this),this.updateStatus(!1))},getQuiz:function(e){return s.resolvePath(o.prefixWithPlayer(e),this)},isCourseComplete:function(){return this.isView()&&this.isPastViewThreshold()||this.isAction()&&this.isPassed()||!(!this.quiz||!this.quiz.getIsComplete())},isPastViewThreshold:function(){var e=this.get("viewThreshold"),t=this.viewedSlides;if(this.isExpandedTrackingAvailable){var n={menu:"menuSlidesViewed","project-numbered":"projectSlidesViewed"}[this.get("slidesViewedMode")];if(null!=n){var i=DS.presentation.playerVars().variables().get(n);null!=i&&(t=i.value())}}return t>=e},weightScore:function(e){return o.fix(e/this.get("weight"),2)},getStatus:function(){var e,t,n=a.statuses.INCOMPLETE;return this.isCourseComplete()&&(this.isView()||this.isAction()||this.isType("survey")?n=this.get("passStatus"):this.isType("quiz")&&(e=this.quiz.prop("PercentScore")>=this.quiz.passPercent(),n=this.get(e?"passStatus":"failStatus"),!this.scoreRef.mustpass&&e||(t=this.quiz.isPassed()?"passStatus":"failStatus",n=this.get(t)))),n},updateStatus:function(e){var t=!e,n=this.getStatus();this.prop("Status",n),t&&u.trigger(c.status.UPDATED)},updateScore:function(e){var t=0,n=0;this.quiz===e?(this.quiz.maxPoints>0&&(t=this.quiz.prop("Score"),n=this.quiz.prop("PercentScore")),this.prop({Score:t,PercentScore:n}),this.updateStatus()):this.quiz.updateScore()},setComplete:function(e){this.hasScoreRef()&&this.prop({Completed:this.quiz.getIsComplete()})},reset:function(){null!=this.quiz&&this.prop({Status:this.getStatus(),Score:this.quiz.prop("Score"),Completed:this.quiz.prop("Completed")})},checkCourseComplete:function(){var e=this.prop("Completed");this.updateStatus(),this.isCourseComplete()&&(this.setComplete(),e||this.isView()||u.trigger(c.course.COMPLETED,this,e))},isPassed:function(){return this.prop("Status")===this.get("passStatus")},getPercentScore:function(){return o.pctToDec(this.quiz.prop("PercentScore"))},markAttemptsSent:function(){this.quiz&&this.quiz.markAttemptsSent()},getViewedStatus:function(){return this.get(this.isPastViewThreshold()?"passStatus":"failStatus")}});return r.extend(h.prototype,{isView:r.partial(h.prototype.isType,"view"),isAction:r.partial(h.prototype.isType,"action"),isSurvey:r.partial(h.prototype.isType,"survey")}),h}.call(t,n,t,e))||(e.exports=i)},2641:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(1060),r=n(3484),o=n(3949),s=DS._,a=DS.utils,l=DS.resolver,c=a.createSuper(r),u=s.merge(c("shortEvents"),{self:(t={},t[o.UPDATE_SCROLL_POS]="updateScrollPos",t[o.UPDATE_SCROLL_HEIGHT]="updateScrollHeight",t)});return r.extend({mixins:[i],shorthand:["background","contentheight","contentwidth"],isGroupingContainer:!0,shortEvents:u,updateScrollPos:function(e,t){this.trigger("updateScrollPos",l.getRef(e.pos,t.context))},updateScrollHeight:function(e,t){this.contentheight(l.getRef(e.height,t.context)),this.trigger("updateScrollHeight")},getPathRef:function(){var e=this.background().vectorData;return e?e.pr:{}},getBounds:function(){var e=s(this.background().vectorData).pick("top","right","bottom","left").value(),t={xPos:e.left,yPos:e.top,right:e.right,bottom:e.bottom,fullX:e.left,fullY:e.top};return t.height=t.fullHeight=Math.abs(t.bottom-t.yPos),t.width=t.fullWidth=Math.abs(t.right-t.xPos),t}})}.call(t,n,t,e))||(e.exports=i)},8293:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5552),i=DS._,r=DS.utils,o=DS.constants,s=(DS.BaseModel,i.extend(i.range(10).reduce((function(e,t){return e["_pos"+t]={type:o.varTypes.STRING,value:"",resume:!1},e}),{}),{ItemOrder:{type:o.varTypes.STRING,value:""}}));return t.extend({variableProps:s,initialize:function(){this.hiderParents=[],this.setupItemsList()},setupItemsList:function(){var e;this.itemsListOrder=r.getPath(this,"data.itemlist").slice(),this.itemsIdx=this.itemsListOrder.reduce((function(e,t,n){return e[t.itemdata]=n,e}),{}),this.itemslist=i.shuffle(this.itemsListOrder),e=this.itemslist.reduce(function(e,t,n){return e+this.itemsIdx[this.itemslist[n].itemdata]}.bind(this),""),this.prop("ItemOrder")||this.prop("ItemOrder",e)},getIndexByData:function(e){return this.itemsIdx[e]}})}.call(t,n,t,e))||(e.exports=i)},6340:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=n(3484),r=DS._,o=DS.utils,s=DS.events,a=o.createSuper(t),l=function(e,t){e.prop("ShuffleXPos",t),e.prop("RawXPos",t)},c=function(e,t){e.prop("ShuffleYPos",t),e.prop("RawYPos",t)},u=function(e,t,n){return r.sortBy(n,e).every((function(n,i,r){var o=r[i-1];return!o||n[e]>=o[e]+.75*o[t]}))},d=r.partial(u,"top","height"),h=r.partial(u,"left","width"),p=function(e,t,n,i,o){var s=e[i],a=this.getCorrectBounds(s),l=e[i-1],c=l&&this.getCorrectBounds(l),u=r.partial(t.updateDefaultCoord,s),d=r.partial(t.updateAltCoord,s);if(0===i)u(n[t.origin]),o.length>1&&"endpoint"===o[1].altAlign?d(n[t.altEndpoint]-a[t.dimension]):d(n[t.altOrigin]);else switch(u(c[t.endpoint]+n.defaultSpacing),n.altAlign){case"origin":d(c[t.altOrigin]);break;case"endpoint":d(c[t.altEndpoint]-a[t.dimension]);break;case"oOffset":d(c[t.altOrigin]+n.altSpacing);break;case"eOffset":d(c[t.altEndpoint]+n.altSpacing)}},f=function(e,t,n){var i=e[n];l(i,t.left),c(i,t.top)},g=r.defaults({resolveAsParent:!1,groupObjects:!0},a("abilities")),m=i.extend({abilities:g,initialize:function(){a("initialize").apply(this,arguments),this.shouldShuffle=!0,this.listenTo(this.getSlide(),s.resume.APPLIED,this.markAsResumed),this.listenTo(this.getSlide(),s.resume.COMPLETE,this.resumeComplete),this.get("shuffle")&&this.setShuffleBounds().determineSpacing().sortBoundsFromSpacing().shuffleAndLayout()},markAsReset:function(){this.shouldShuffle=!0},markAsResumed:function(){this.shouldShuffle=!1},resumeComplete:function(){this.shouldShuffle&&this.shuffleAndLayout()},shuffleAndLayout:function(){return this.get("shuffle")&&this.shuffleObjects().setSpacing().setShuffledPositions().setTabIndices(),this},setShuffleBounds:function(){return this.originalBounds=this.objects().map(this.getCorrectBounds),this},getShuffledArray:function(){return this.shuffledObjectIndices.map(function(e){return this.objects().at(e)}.bind(this))},shuffleObjects:function(){var e=r.shuffle(this.objects().slice());return this.repositionLockedItems(e),this.shuffledObjectIndices=e.map(function(e){return this.objects().indexOf(e)}.bind(this)),this},repositionLockedItems:function(e){this.objects().forEach(function(t,n){if(function(e){return o.isTrue(e.get("shuffleLock"))}(t)){var i=r.findIndex(this.originalBounds,{idx:n}),s=e[i],a=e.indexOf(t);e[i]=e[a],e[a]=s}}.bind(this))},determineSpacing:function(){return d(this.originalBounds)?this.spacing="vertical":h(this.originalBounds)?this.spacing="horizontal":this.spacing="none",this},sortBoundsFromSpacing:function(){var e="vertical"===this.spacing?"top":"left";return this.originalBounds=r.sortBy(this.originalBounds,e),this},setSpacing:function(){if("none"===this.spacing)return this.positionCallback=r.partial(f,this.getShuffledArray()),this;var e=this.originalBounds,t="vertical"===this.spacing,n=t?c:l,i=t?l:c,o=t?"top":"left",s=t?"left":"top",a=t?"bottom":"right",u=t?"right":"bottom",d=t?"height":"width";e.forEach((function(t,n){var i=e[n-1];i&&(t.defaultSpacing=t[o]-i[a],t[s]===i[s]?t.altAlign="origin":t[u]===i[u]?t.altAlign="endpoint":t[s]>i[u]?(t.altAlign="oOffset",t.altSpacing=t[s]-i[s]):(t.altAlign="eOffset",t.altSpacing=t[s]-i[u]))}));var h={updateDefaultCoord:n,updateAltCoord:i,origin:o,altOrigin:s,endpoint:a,altEndpoint:u,dimension:d};return this.positionCallback=r.partial(p.bind(this),this.getShuffledArray(),h),this},setShuffledPositions:function(){return this.originalBounds.forEach(this.positionCallback),this},setTabIndices:function(){var e=this,t=function e(t,n){t.forEach((function(t){n(t),null!=t.objects&&e(t.objects(),n)}))},n=function(e){return!1!==e.get("tabEnabled")||"textinput"===e.kind()},i=this.originalBounds.map((function(t){return e.objects().at(t.idx)})),r=this.shuffledObjectIndices.map((function(t){return e.objects().at(t)})),o=[],s=0;return t(i,(function(e){var t=e.get("tabIndex");-1!==t&&n(e)&&o.push(t)})),t(r,(function(e){-1!==e.get("tabIndex")&&n(e)&&e.prop("tabIndex",o[s++])})),this}});return m}.call(t,n,t,e),void 0===i||(e.exports=i)},7692:function(e,t,n){var i;i=function(e){"use strict";var t=n(3949),i=n(4585),r=n(4998),o=n(4329),s=n(1060),a=n(4554),l=n(3635),c=n(8510),u=n(7895),d=n(2989),h=n(2658),p=n(2828),f=n(2995),g=n(1039),m=n(5238),v=DS._,S=DS.BaseModel,y=DS.playerGlobals,b=DS.Chunk,w=DS.pubSub,C=DS.events,x=DS.constants,D=DS.utils,E=DS.vow,T={};T[x.statuses.INCOMPLETE]=1,T[x.statuses.INCORRECT]=2,T[x.statuses.CORRECT]=3,T[x.statuses.NEUTRAL]=4;var P,I,A=function(e,t){return T[e]-T[t]},M=S.extend({isSlide:!0,containsVideoAssets:null,containsZoomRegion:null,mixins:[i,r,l,a,o,s],shorthand:["fullId","currentTimeline","resume","events","actionGroups","background","includeInSlideCounts","slideNumberInScene"],playerPropNames:{Viewed:!1,WindowId:null,LastKeyCodeString:null,LastKeyCode:-1,LastKeyValue:null,LastKeyCtrl:!1,LastKeyShift:!1,LastKeyAlt:!1},resolveables:["slideLayers","variables","actionGroups","interactions"],resolvers:{slideLayers:function(e,t){var n=t.getBaseLayer();return n.objects().get(e)||n.audiolib().get(e)||n.objects().findNestedObject(e)}},abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{slideLayers:c,variables:u,interactions:d},shortEvents:{self:(I={},I[t.ZOOMPAN]="zoomPan",I),slideLayers:function(){var e={};return e[C.timeline.CHANGED]="onTimelineChanged",e[C.slide.ALL_TIMELINES_COMPLETE]="onAllTimelinesEnded",e}(),interactions:function(){var e={};return e[C.interaction.EVALUATED]="onInteractionEvaluated",e}()},subscriptions:(P={},P[C.slide.PAUSE_TIMELINE]="onPauseTimeline",P[C.slide.PLAY_TIMELINE]="onPlayTimeline",P),initialize:function(e){var t=[this.parent.id,this.id].join(x.PATH_DELIMITER);this.coreState=v.clone(e),v.assign(this.coreState,{fullId:t,interactions:this.interactions()}),this.elapsedTime=0,this.viewed=!1,this.quizzes=[],this.loadedDfd=E.Deferred(),this.fullId(t),this.onResetCurrentTimelineDelegate=this.onResetCurrentTimeline.bind(this),this.onTimelineCompleteDelegate=this.onTimelineComplete.bind(this),this.layerTimelinesCompleted=[]},title:function(){var e=this.get("title");if(DS.flagManager.multiLangSupport){var t=this.get("titleL10nRef");e=DS.localizationManager.getStringFromRef(t)||e}return DS.flagManager.aiCourseTranslation?DS.translationStore.getUpdatedTextData("slideName","".concat(this.id,"-Name"),e):e},buildFlatDepths:function(){var e=this;this.slideLayers().forEach((function(t){e.currLayerDepth=0,e.flattenObjDepths(t.objects()),t.depthOffset=e.currLayerDepth}))},flattenObjDepths:function(e){var t=this;e.sortBy((function(e){return e.prop("depth")})).forEach((function(e){e.layerDepth=t.currLayerDepth++,null!=e.objects&&t.flattenObjDepths(e.objects())}))},beforeSlideOut:function(){this.storeInteractionResults(),this.destroyed=!0,this.removeVariableChangeSubscriptions()},resetModel:function(){null!=this.url()&&D.stripPlayer(this.absoluteId)!==y.presentation.prop("CurrentSlideId")&&(this.killEverything(),this.loadedDfd=E.Deferred(),this.clear({silent:!0}).set(this.coreState,{silent:!0}).buildAssociations().resetCurrentTimeline().rebindShortEvents())},resetCurrentTimeline:function(e){return this.setCurrentTimeline(this.getBaseLayer().timeline(),e),this},url:function(){return this.get("html5url")},backgroundImageUrl:function(){return h.getAssetUrl(this.background().imagedata.assetId)},isLoaded:function(){return E.isResolved(this.loadedDfd)},isMessageSlide:function(){return this.getScene().isMessageScene()},load:function(){var e,t=this.loadedDfd,n=p.load(this),i=f.load(this.get("globalAudioId"));return this.isLoaded()?(t=E.Deferred(),E.when(n,i).then(t.resolve.bind(t,this))):(e=t.resolve.bind(t,this),this.isMessageSlide()?e():E.when(this.fetch(),n,i).then(e)),t.promise()},loadSlideAssets:function(){h.clearAllAssets();var e=y.presentation.slideMap().getRefById(this.absoluteId);return null!=e?e.loadAssets(!0):E.Deferred().resolve()},getBaseLayer:function(){return this.slideLayers().getBaseLayer()},getScene:function(){return this.getClosestAncestor((function(e){return e.isScene}))},getSlideDraw:function(){return this.getClosestAncestor((function(e){return e.isSlideDraw}))},getSceneOrDraw:function(){return this.getSlideDraw()||this.getScene()},getViewGroupId:function(){var e=this.get("viewGroupId");return e.length>0?e:this.id},getRelativeId:v.constant(x.refs.CURRENT_SLIDE),getHitType:v.constant(x.SLIDE_HIT),getTransitionAnimation:function(){if(this.get("showAnimationId"))return this.getBaseLayer().animations().find({id:this.get("showAnimationId")})},zoomPan:function(e,t){this.trigger("zoompan",{action:e,event:t})},triggerAction:function(e){return r.triggerAction.apply(this,arguments),r.triggerAction.apply(this.getBaseLayer(),arguments),this},onTimelineChanged:function(e){this.setCurrentTimeline(e)},onAllTimelinesEnded:function(){this.getClosestThisRef().executePlayerEvent("onallopentimelinescomplete")},setAsViewed:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.viewed=!0,this.prop("Viewed",!0),this.interactions().forEach((function(e){e.setAsViewed(!0)})),!e&&this.get("trackViews")&&w.trigger(C.slide.VIEWED,this),this},restoreViewed:function(){return this.viewed=!0,this.interactions().forEach((function(e){e.viewed=!0})),this},hasInteractions:function(){return this.interactions().length>0},setQuiz:function(e){this.quizzes.push(e)},onInteractionEvaluated:function(e,t){this.updateInteractionData(),t||this.prepareResumeData({retainState:!0})},storeInteractionResults:function(){return this.interactions().forEach((function(e){e.initialAttemptCount===e.prop("AttemptCount")&&(e.responsesBuiltOnExit=!0,e.updateUserResponse())})),this},getInteractionAttempted:function(){var e=!1,t=this.interactions&&this.interactions();return t&&t.length>0&&(e=t.reduce((function(e,t){return e&&t.prop("AttemptCount")>0}),!0)),e},getInteractionStatus:function(){var e,t,n=this.interactions&&this.interactions();return n&&n.length>0&&(t=n.reduce((function(e,t){return e[t.prop("Status")]=!0,e}),{}),e=Object.keys(t).sort(A)[0]),e},getVariableChangeSubscriptions:function(){return null==this.varAndPropSubscriptions&&(this.varAndPropSubscriptions=null==this.events()?[]:this.setVarAndPropListeners(),this.slideLayers().forEach(function(e){null!=e.events()&&Array.prototype.push.apply(this.varAndPropSubscriptions,e.setVarAndPropListeners()),e.objectIndex.forEach(function(e){null!=e.events()&&Array.prototype.push.apply(this.varAndPropSubscriptions,e.setVarAndPropListeners())}.bind(this))}.bind(this))),this},removeVariableChangeSubscriptions:function(){return null!=this.varAndPropSubscriptions&&(this.varAndPropSubscriptions.forEach((function(e){e.listener.stopListening(e.obj,e.event,e.callback)})),this.varAndPropSubscriptions=null),this},calculateTotalScale:function(){var e=DS.flagManager.slideLevelScale?D.getPath(this.currView,"props.slideWinScale",1):D.getPath(this.currView,"props.winScale",1);return 1/(e*=null!=this.pinchZoomScale?this.pinchZoomScale:1)},setCurrentTimeline:function(e){var t=this.currentTimeline();return null!=t&&(t.off(C.timeline.RESET,this.onResetCurrentTimelineDelegate),t.off(C.timeline.COMPLETE,this.onTimelineCompleteDelegate)),this.currentTimeline(e),e.on(C.timeline.RESET,this.onResetCurrentTimelineDelegate),e.on(C.timeline.COMPLETE,this.onTimelineCompleteDelegate),e.completed&&this.onTimelineComplete(),this.trigger(C.slide.CURRENT_TIMELINE,e,this),this},onPauseTimeline:function(){this.wasPlaying=[],this.slideLayers().forEach(function(e){e.getIsTimelinePlaying()&&this.wasPlaying.push(e)}.bind(this)),this.slideLayers().pauseAll(!0)},onPlayTimeline:function(){this.wasPlaying&&this.wasPlaying.forEach((function(e){e.timeline().play()}))},onResetCurrentTimeline:function(){var e=this.getBaseLayer().timeline(),t=this.currentTimeline();e===t?this.restart():(this.slideLayers().find((function(e){return e.timeline()===t})).prepareResumeData().resetBeforeView().applyResumeData(),t.play())},getLayerWithTimeline:function(e){return this.slideLayers().find((function(t){return t.timeline()===e}))},onTimelineComplete:function(e){var t=this.getLayerWithTimeline(e);null==t||this.layerTimelinesCompleted.includes(t.index())||this.layerTimelinesCompleted.push(t.index())},currentTimelineCompletedOnce:function(){var e=this.currentTimeline(),t=this.getLayerWithTimeline(e);return null!=t&&(e.completed&&this.onTimelineComplete(e),this.layerTimelinesCompleted.includes(t.index()))},setLayerTimelinesData:function(e){var t=new b({fullString:e});this.layerTimelinesCompleted=[];var n=Number(t.encodedString());for(t=t.reChunk();n>0;n--)this.layerTimelinesCompleted.push(Number(t.encodedString())),t=t.reChunk()},getLayerTimelinesData:function(){return b.create(this.layerTimelinesCompleted.length)+this.layerTimelinesCompleted.map(b.create).join("")},restart:function(){return this.prepareResumeData().resetBeforeView().applyResumeData(),this.slideLayers().invoke("resetObjectTransforms"),this.slideLayers().invoke("resetJumping"),this.beginPlayback()},reset:function(){return this.resetBeforeView(),this.beginPlayback()},beginPlayback:function(){return this.executePlayerEvent("onbeforeslidein"),this.executePlayerEvent("ontransitionin"),this.executePlayerEvent("ontransitionincomplete"),this.currentTimeline().play(),this.executePlayerEvent("onslidestart"),this},killEverything:function(){return this.trigger(C.slide.TEARDOWN),g.clearSlideCache(this.id),m.clearSlideCache(this.id),this.slideLayers().killEverything(),this},hasZoomRegion:function(){return null==this.containsZoomRegion&&(this.containsZoomRegion=this.slideLayers().some((function(e){return e.hasZoomRegion()}))),this.containsZoomRegion},hasVideoAssets:function(){if(null==this.containsVideoAssets){var e=y.presentation.slideMap().getRefById(this.absoluteId);this.containsVideoAssets=e.hasVideoAssets()}return this.containsVideoAssets}});return M}.call(t,n,t,e),void 0===i||(e.exports=i)},4992:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(3949),o=n(704),s=n(7895),a=n(4998),l=n(4554),c=n(5565),u=n(4196),d=DS._,h=DS.utils,p=DS.pubSub,f=DS.events,g=DS.vow,m=DS.resolver,v=DS.constants,S=DS.BaseModel,y=function(e,t,n){var i=d.partial(d.find,t);return n.filter((function(t){return null!=i({id:t.id})===e}))};return S.extend({isSlideDraw:!0,mixins:[c,a,l],resolveables:["slides","actionGroups","variables"],shorthand:["sliderefs","exitaction","slides","shufflecount","shuffle","actionGroups","slideNumber","slideNumberInScene"],shortEvents:{self:(i={},i[r.SET_DRAW_REVIEW]="onSetDrawReview",i)},abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},associations:{variables:s},subscriptions:(t={},t[f.player.RESET]="generateDraw",t),initialize:function(){this.slideDfd=g.Deferred(),p.once(f.data.INITIALIZED,this.createDraw.bind(this))},createDraw:function(){this.generateDraw().fixRefIds(),this.slideDfd.resolve(this.slides())},fixRefIds:function(){var e=[this.parent.id,this.id].join(v.PATH_DELIMITER);this.slides().forEach((function(t){t.fullId(e)}))},getScene:function(){return this.getClosestAncestorByKind("scene")},getTopSlide:function(){return d.first(this.sliderefs())},getBottomSlide:function(){return d.last(this.sliderefs())},hasLockedTopSlide:function(){return this.getTopSlide().linkprev},hasLockedBottomSlide:function(){return this.getBottomSlide().linknext},startingSlide:function(){return h.stripPlayer(this.slides().first().absoluteId)},getNextSlideId:function(e){var t=e.nextSibling();return t&&t.absoluteId},getFirstSlide:function(){return this.slides().first()},performExitAction:function(){this.trigger(f.draw.EXIT),u.executeAction(this.exitaction(),{context:this})},getTop:function(){var e=this.sliderefs(),t=0,n=[];if(this.hasLockedTopSlide())for(n.push(this.getTopSlide());n.length&&d.last(n).linknext&&e[t+1];)n.push(e[++t]);return n},getBottom:function(){var e=this.sliderefs(),t=e.length-1,n=[];if(this.hasLockedBottomSlide())for(n.push(this.getBottomSlide());d.first(n).linkprev&&e[t-1];)n.unshift(e[--t]);return n},getTrimmedSlides:function(){return this.trimSpecial(this.sliderefs().slice())},trimSpecial:function(e){for(;e.length&&e[0].linkprev;)e.shift();for(;e.length&&d.last(e).linknext;)e.pop();return e},getMiddle:function(e,t){if(t<=0)return[];var n,i,r,o=this.shuffle(),s=[],a=this.getScene().getRefs(),l=d.partial(y,!1,a),c=d.partial(y,!0,a),u=l(e),h=function(e){return o?Math.floor(Math.random()*e):0};if(u.length<t)for(r=c(e);u.length<t;)u.push.apply(u,r.splice(h(r.length),1));for(;s.length<t&&u.length;){for(n=u[i=h(u.length)];0!=i&&n.linkprev;)n=u[--i];for(;n;)s.push.apply(s,u.splice(i,1)),n=n.linknext&&u[i]}return s},getIncludedSlides:function(e){return e.filter((function(e){return e.shuffleinclude}))},generateDraw:function(){var e,t,n,i=this.getTop(),r=this.getBottom(),o=this.getTrimmedSlides(),s=this.getIncludedSlides(o);return o=d.xor(o,s),t=(this.get("shuffle")?this.shufflecount():this.sliderefs().length)-(i.length+r.length+s.length),e=this.getMiddle(o,t),n=i.concat(s,e,r),this.generateSlides(n),this},generateSlides:function(e){this.trigger(f.draw.RESET,this);var t=this.get("navindex"),n=this.resolveSlides(e);return n.forEach((function(e){e.navIndex=t})),this.set("slides",new o(n,{parent:this})),e.forEach(function(e){this.getScene().addRef(e)}.bind(this)),this.createOrderArray(e),this.trigger(f.draw.RESET_COMPLETE,this),p.trigger(f.draw.RESET_COMPLETE),this},resolveSlides:function(e){return e.map(function(e){var t=h.prefixWithPlayer(e.id);return d.cloneDeep(m.resolvePath(t,this))}.bind(this))},getSlidePromise:function(){return this.slideDfd.promise()},onSetDrawReview:function(e){this.isInReview=e.review}})}.call(t,n,t,e))||(e.exports=i)},1382:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=(DS._,DS.utils),r=DS.events,o=i.createSuper(t),s=t.extend({shorthand:["background"],initialize:function(){o("initialize").apply(this,arguments),this.getLayer().once(r.data.UPDATED,this.onLayerDataUpdated.bind(this))},getPathRef:function(){return this.background().vectorData.pr},onLayerDataUpdated:function(){var e=this.getClosestParentRef();e.isGroupingSlideObject&&this.listenTo(e,"hide",this.onParentGroupHide.bind(this))},onParentGroupHide:function(){this.prop("OnStage",!1),this.trigger("hide")}});return s}.call(t,n,t,e),void 0===i||(e.exports=i)},4893:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3949),r=(n(4196),n(4585)),o=n(1060),s=n(4329),a=n(5620),l=n(4554),c=n(2658),u=n(4998),d=n(4664),h=n(8975),p=n(7895),f=n(694),g=n(5393),m=DS,v=m._,S=m.BaseModel,y=m.events,b=m.resolver,w=m.pubSub,C=m.utils,x="custom",D=S.extend({mixins:[r,u,a,l,s,o],shorthand:["isBaseLayer","pauseParent","modal","resume","depth","background","events","actionGroups"],resolveables:["objects","actionGroups","audiolib","variables"],resolvers:{objects:function(e,t){return t.findNestedObject(e)}},shortEvents:{timeline:(t={},t[y.timeline.COMPLETE]="onTimelineComplete",t[y.timeline.BEFORE_SEEK_UPDATE]="onBeforeSeekUpdate",t[y.timeline.AFTER_SEEK_UPDATE]="onAfterSeekUpdate",t),self:function(){var e={};return e[i.SHOW_SLIDELAYER]="show",e[i.HIDE_SLIDELAYER]="hide",e[i.SET_ACTIVE_TIMELINE]="setActiveTimeline",e[i.PAUSE_TIMELINE]="onPauseTimeline",e[i.PAUSE_ANIMATIONS]="pauseTimeline",e[i.RESUME_TIMELINE]="resumeTimeline",e[i.SEEK_TIMELINE]="onSeekTimeline",e}()},abilities:function(){return{resolveAsThis:!this.isBaseLayer(),beEventTarget:!this.isBaseLayer(),resolveAsParent:!this.isBaseLayer()}},associations:{objects:h,audiolib:d,timeline:f,variables:p,animations:g},isSlideLayer:!0,containsZoomRegions:null,initialize:function(){this.startDepth=0,this.abilities=this.abilities(),this.isSeeking=!1,this.isBaseLayer()&&(this.depth(0),this.baseLayerPauses=[]),this.createObjectIndex()},onSeekTimeline:function(e){var t=e.position;v.isEmpty(e.variableGuid)||(t=1e3*b.resolvePath(e.variableGuid).value()),e.useRelativeTime&&(t+=this.timeline().elapsedTime()),this.isSeeking||this.timeline().seek(t)},onBeforeSeekUpdate:function(){this.isSeeking=!0},onAfterSeekUpdate:function(){this.isSeeking=!1},hasBackground:function(){return!!this.background()},backgroundImageUrl:function(){return c.getAssetUrl(this.background().imagedata.assetId)},getWndBlockerBackground:function(){var e=this.get("background");return 1===C.getPath(e,"fill.colors.length")?C.rgbify(e.fill.colors[0].rgb,e.fill.colors[0].alpha/100):""},isPenetrable:function(){return!this.modal()},hideAllObjectsOnDisplay:function(){var e=this.get("hideobjectsondisplay")||[];return e.length>0&&e.length==this.parent.currView.getSlideObjectViews().length},setAsTopMostLayer:function(e){return e&&this.get("modal")&&(this.lastModalFocus=this.parent.currView.getCurrentShadowFocus()),this.determineObjectVisibility(e),this.executePlayerEvent(e?"ontopmostlayer":"endtopmostlayer"),this},determineObjectVisibility:function(e){return(this.get("hideobjectsondisplay")||[]).forEach(function(t){b.resolvePath(t.value,this).setHiddenByLayer(!e,this.id)}.bind(this)),this},toggleVisibility:function(e,t,n){var i="show"===e,r=i?"shown":"hidden",o=null!=n&&n.transition===x,s=function(){n&&"oncomplete"===n.hideOthers&&this.trigger("hideOtherLayers",this),this.trigger(r,this),this.visibleState=i,this.executePlayerEvent("ontransitionincomplete")}.bind(this);if(i){if(this.setAsViewed(),this.shownInCurrentView=!0,n&&"onstart"===n.hideOthers&&this.trigger("hideOtherLayers",this),this.trigger("activated",this),this.isOpen)return this;this.resume()||this.wasForcedResumed||this.resetResume(),this.timeline().pause(),this.isOpen=!0}else{if(this.wasForcedResumed=!1,!this.isOpen)return this;this.isOpen=!1}if(this.cancelTransition(),o){var a=this.animations().get(n.animationId);this.trigger(e+x,n,this,a,s)}else s();return this},setActiveTimeline:function(e){var t=b.getRef(e.objRef,this),n=b.resolvePath(t,this),i=n.isSlide?n.slideLayers().getBaseLayer():n,r=i.timeline();return this.trigger(y.timeline.CHANGED,r),w.trigger(y.layer.TIMELINE_ACTIVATED,i),this},cancelTransition:function(){this.trigger("cancelTransition")},pauseTimeline:function(e){this.timeline().pause(e)},resumeTimeline:function(){(this.isOpen||this.isBaseLayer())&&(w.trigger(y.timeline.CURRENT_TIMELINE,this.timeline()),this.timeline().play())},getIsTimelinePaused:function(){return this.getHasTimelineStarted()&&!this.getIsTimelinePlaying()},getIsTimelinePlaying:function(){return this.timeline().isPlaying()},getHasTimelineStarted:function(){return this.timeline().hasStarted()},getHasTimelineFinished:function(){return this.timeline().hasFinished()},pauseTimelineFromLayer:function(e){this.isBaseLayer()&&(this.baseLayerPauses.push(e),this.baseLayerPauses=v.uniq(this.baseLayerPauses),1===this.baseLayerPauses.length&&(this.shouldPlayOnCloseLayer=!this.getIsTimelinePaused(),this.pauseTimeline()))},resumeTimelineFromLayer:function(e){this.isBaseLayer()&&(this.baseLayerPauses=v.without(this.baseLayerPauses,e),0===this.baseLayerPauses.length&&this.shouldPlayOnCloseLayer&&this.resumeTimeline())},isTimelineLayerPlayable:function(){return 0===this.baseLayerPauses.length},onTimelineComplete:function(){w.trigger(y.preview.NOTIFY,this.isBaseLayer()?"PREVIEW_SLIDE_COMPLETE":"PREVIEW_SLIDELAYER_COMPLETE"),this.getClosestThisRef().executePlayerEvent("ontimelinecomplete"),this.collection.onTimelineComplete()},pauseVideos:function(e){e.each(function(e){e.isKind("video")?e.trigger(y.layer.PAUSE_TIMELINE):e.isGroupingSlideObject&&this.pauseVideos(e.objects())}.bind(this))},onPauseTimeline:function(){this.pauseVideos(this.objects())},createObjectIndex:function(){var e=0;this.objectIndex=[],this.objDecendants=[];var t=function(n){n.forEach(function(n){var i=n.isKind("shufflegroup");i||(this.objectIndex.push(n),n.setSlideIndex(e++),this.objDecendants.push(n)),n.objects&&t(n.objects()),i&&this.objDecendants.push(n)}.bind(this))}.bind(this);return t(this.objects()),this},getObjectByIndex:function(e){return this.objectIndex[e]},setAsViewed:function(){return this.viewed=!0,this},isViewed:function(){return this.viewed},onAfterResumeBuilt:function(e){this.isBaseLayer()||e||!this.currView.state.renderChildren||this.timeline().silentReset()},setAsShowable:function(){this.isShowable=!0},hasZoomRegion:function(){return null==this.containsZoomRegions&&(this.containsZoomRegions=this.timeline().events().some((function(e){return e.actions.some((function(e){return"zoompan"==e.kind}))}))),this.containsZoomRegions},killEverything:function(){this.currView&&this.currView.state.renderChildren&&this.objects().invoke("killMounted"),this.resetSubscriptions().stopListening().off(),this.timeline().killEverything(),this.objects().invoke("killEverything"),this.clear()},resetObjectTransforms:function(){this.objectIndex.forEach((function(e){null!=e.currView&&e.setTransformDirty()}))},resetJumping:function(){this.objectIndex.forEach((function(e){null!=e.currView&&(e.currView.jumping=!1)}))}}),E=D.prototype;return E.show=v.partial(E.toggleVisibility,"show","ontopmostlayer"),E.hide=v.partial(E.toggleVisibility,"hide","endtopmostlayer"),D}.call(t,n,t,e))||(e.exports=i)},4615:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(2604),o=n(6704),s=DS._,a=DS.playerGlobals,l=DS.utils,c=DS.BaseModel,u=DS.detection,d=DS.events,h=DS.resolver,p=DS.pubSub,f=DS.constants;return c.extend({shorthand:["queueSize"],associations:{slideRefs:r},subscriptions:(i={},i[d.loader.SILENCE]="onSilenceLoader",i[d.slide.READY]="onSlideLoaded",i),initialize:function(){this.loaders=[],this.silenceLoader=!1,this.slideLoaded=!1,this.once("change:queueSize",this.onQueueSizeUpdate.bind(this))},onQueueSizeUpdate:function(){t=u.capabilities.isMemoryDeficientDevice?0:this.queueSize()},onSilenceLoader:function(){this.silenceLoader=!0},showLoader:function(e){var t;this.slideLoaded||this.silenceLoader||(t=f.DESKTOP_LOADER_DELAY*(u.browser.isIE?2:1),this.lastSlideId!=e&&p.trigger(d.loader.SHOW,t),this.lastSlideId=e),this.silenceLoader=!1},getStrippedId:function(e){var t,n=(t=e,h.resolvePath(t,a.presentation));return l.stripPlayer(n.isScene?n.slides().first().absoluteId:e)},setCurrentSlide:function(e){this.currentSlideId=this.getStrippedId(e),this.slideLoaded=!1,this.loadQueue=[];var t=this.getReachables(this.currentSlideId);this.stopCurrentLoaders(t),this.offloadUnreachableAssets(t),this.currentReachables=t,this.showLoader(e)},stopCurrentLoaders:function(e){this.loaders.length>0&&this.loaders.forEach(function(t){null!=t&&null==s.find(e,{id:t.refId})&&t.dfds.forEach((function(e){e.reject()}))}.bind(this)),this.loaders=[]},offloadUnreachableAssets:function(e){null!=this.currentReachables&&s.difference(this.currentReachables,e).forEach((function(e){e.offloadAssets()}))},onSlideLoaded:function(){s.first(this.currentReachables).setSlideDataLoaded(),this.loadQueue=s.tail(this.currentReachables),this.slideLoaded=!0,this.loadIdx=0,this.preloadNextSlideData()},preloadNextSlideData:function(){this.slideLoaded&&(this.loadIdx<this.loadQueue.length?this.loadQueue[this.loadIdx].loadSlideData().always(function(){this.loadIdx++,this.preloadNextSlideData()}.bind(this)):this.preloadNextSlide())},preloadNextSlide:function(){if(this.slideLoaded&&0!==this.loadQueue.length){var e=this.loadQueue.shift(),t=e.loadAssets();t.refId=e.id,this.loaders.push(t),t.then(this.preloadNextSlide.bind(this))}},getReachables:function(e){var n,i=0,r=[];if(null!=(n=this.getRefById(e)))for(r.push(n);i<r.length&&r.length<=t;)r.push.apply(r,r[i].getReachableSlides().map(function(e){return this.getRefById(e.absoluteId)}.bind(this))),r=s.uniq(r),i++;return s.take(r,t+1)},getRefById:function(e){return this.slideRefs().find({id:l.stripPlayer(e)})},addReviewRef:function(e){if(null==this.getRefById(e.absoluteId)){var t=this.getRefById(e.id);if(null!=t){var n=new o(s.assign({},t.attributes,{id:l.stripPlayer(e.absoluteId)}));this.slideRefs().add(n)}}}})}.call(t,n,t,e))||(e.exports=i)},5552:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t,i,o=n(3949),s=(n(4242),n(1034),n(7895)),a=n(4761),l=n(5393),c=n(4998),u=n(4554),d=n(4585),h=n(4329),p=n(82),f=n(4196),g=n(8652),m=DS._,v=DS.utils,S=DS.constants,y=DS.events,b=(DS.vow,DS.resolver),w=DS.BaseModel,C=(DS.Chunk,DS.pubSub),x=DS.detection,D="_default",E="custom",T=/hotspot.*marker/,P=/tooltip/,I=/value":"[^,]*_tooltip/,A=/(Incorrect|Correct)Review/,M=1e3,k={webobject:[{name:"_remotedata",type:S.varTypes.STRING,value:""}]},L=w.extend({mixins:[c,d,p,u,h],resolveables:["variables","actionGroups"],abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0,groupObjects:!1},associations:{variables:s,textLib:a,animations:l},shorthand:["kind","data","states","alpha","xPos","yPos","rotateXPos","rotateYPos","rotation","width","height","imagelib","dragdrop","dragrotation","dragpath","resume","depth","scaleX","scaleY","xOffset","yOffset","events","actionGroups"],playerPropNames:{DragOverId:null,DropTargetId:null,LastKeyAlt:!1,LastKeyCode:-1,LastKeyShift:!1,LastKeyCtrl:!1,LastKeyValue:null,Moved:null,ReviewMode:null,Text:null,Expanded:!1,DragConnectData:"",SelectedItemData:"",TimelineControlled:!0,DragConnected:!1,Enabled:!0,MouseOver:!1,ObjectState:D,OnStage:!1,HiddenByLayer:!1,model:{Alpha:"alpha",depth:"depth",height:"height",InitXPos:"xPos",InitYPos:"yPos",InitDepth:"depth",nXPos:"xPos",nYPos:"yPos",RawXPos:"xPos",RawYPos:"yPos",rotateXPos:"rotateXPos",rotateYPos:"rotateYPos",Rotation:"rotation",ScaleX:"scaleX",ScaleY:"scaleY",ShuffleXPos:"xPos",ShuffleYPos:"yPos",tabIndex:"tabIndex",width:"width"}},subscriptions:(i={},i[y.player.RESET]="onPlayerReset",i),shortEvents:{self:(t={"change:xPos change:yPos":"onPositionUpdate"},t[o.SHOW]="show",t[o.HIDE]="hide",t[o.SET_OBJ_STATE]="setState",t[o.BRING_TO_FRONT]="bringToFront",t[o.SET_ENABLED]="setEnabled",t[o.STORE_RESUME_DATA]="storeResumeData",t[o.RESTORE_RESUME_STATE]="restoreResumeState",t[o.GET_MOUSE_POSITION]="getMousePosition",t[o.MOVE_TO]="moveTo",t[o.SET_REVIEW]="setReview",t)},isSlideObject:!0,initialize:function(){this.addExtraVariables().setupToggleVisibilityState(),this.getLayer().once(y.data.UPDATED,this.bindTimelineEvents.bind(this)),this.hiderParents=[],this.showFns=[],this.containsGif=g.containsGif(this.imagelib()),this.isVectorShape()&&this.isCorrectIncorrectReview()&&this.set("accType","button")},shouldUpdateGif:function(){return!(!this.containsGif||!this.prop("OnStage"))},addExtraVariables:function(){return(k[this.kind()]||[]).forEach(function(e){this.variables().addVariable(e)}.bind(this)),this},bindTimelineEvents:function(){var e=this.getLayer().timeline();this.listenTo(e,y.timeline.BEFORE_SEEK_UPDATE,this.onBeforeSeekUpdate.bind(this)),this.listenTo(e,y.timeline.AFTER_SEEK_UPDATE,this.onAfterSeekUpdate.bind(this))},isInDefaultState:function(){return this.prop("ObjectState")===D},isDraggable:function(){return!(!this.dragdrop()||!this.dragdrop().dragenabled)},isDroppable:function(){return!(!this.dragdrop()||!this.dragdrop().dropenabled&&!this.dragdrop().dragoverenabled)},isSlideable:function(){return!!this.dragpath()},isZoomable:function(){return!!this.get("zoomdata")},isWebObject:function(){return this.isKind("webobject")},isTweenable:function(){return!(!this.animations()||this.animations().isEmpty())},getTweenableClass:function(){return x.browser.isChrome||!this.isTweenable()?"":"tweenable"},isAtNewDepth:function(){return this.depth()!==this.prop("depth")},isShuffled:function(){return this.xPos()!==this.prop("ShuffleXPos")||this.yPos()!==this.prop("ShuffleYPos")},isScaled:function(){return this.scaleX()!==this.prop("ScaleX")||this.scaleY()!==this.prop("ScaleY")},isRotated:function(){return this.rotation()!==this.prop("Rotation")},isAlphaed:function(){return this.alpha()!==this.prop("Alpha")},isInNewPosition:function(){return this.prop("ShuffleXPos")!==this.prop("RawXPos")||this.prop("ShuffleYPos")!==this.prop("RawYPos")},isHotSpotMarker:function(){return T.test(this.id)},isToolTip:function(){return P.test(this.id)},isCorrectIncorrectReview:function(){return A.test(this.id)},isObscurableBySelf:function(){if(this.isStateGroupSlideObject)return!1;var e,t,n,i=m.find(this.events(),{kind:"onrollover"});return i&&(e=JSON.stringify(i.actions),t=function(e){var t=!1,n=["thenActions","elseActions"];if(e.actions)return e.actions.some((function e(i){return"if_action"===i.kind?n.forEach((function(n){t=t||i[n]&&i[n].some((function(t){return!(!t.kind.startsWith("show")||"_this"===t.objRef.value)||"if_action"===t.kind&&e(t)}))})):i.kind.startsWith("show")&&"_this"!=i.objRef.value&&(t=!0),t}));return!1}(i),n=I.test(e)),t&&!n},isRotatable:function(){return null!=this.dragrotation()},hasAnimated:function(){return this.isRotated()||this.isAlphaed()||this.isScaled()||this.isInNewPosition()},getAnimationResumeState:function(){return m.reduce(["RawXPos","RawYPos","ScaleX","ScaleY","Rotation","Alpha"],function(e,t){return e[t]=this.prop(t),e}.bind(this),{})},getPathRef:function(){return this.getCurrentStateData().vectorData.pr},getPathLib:function(){return this.getPathRef().l},commandsetId:function(){return this.getPathRef().i},getRelativeId:function(){if(null!=this.relativeId)return this.relativeId;var e=this.getLayer(),t=e.parent;return e=e.isBaseLayer()?t:e,this.relativeId=this.absoluteId.substr(e.absoluteId.length+1)},getHitType:function(){var e;return null!=this.hitType?this.hitType:(e=this.isVectorShape()||this.isSvgImage()?S.SVG_HIT:!this.isGroupingSlideObject||this.isKind("scrollarea")||this.isKind("expandinglabel")?S.RECT_HIT:S.GROUP_HIT,this.hitType=e)},getStateFromVar:function(){return m.find(this.states(),{name:this.prop("ObjectState")})},getStateFromName:function(e){return m.find(this.states(),{name:e})},getStateFromIndex:function(e){return this.states()[e].name},getCurrentStateIndex:function(){return this.states().indexOf(this.getStateFromVar())},getCurrentStateData:function(){return this.isInDefaultState()?this.data():this.getStateFromVar().data},getPosition:function(){return{top:this.prop("RawYPos"),left:this.prop("RawXPos")}},getShapeMask:function(){var e=this.get("shapemaskId");return m.isEmpty(e)?null:b.resolvePath(e,this)},hasVarText:function(){return this.textLib().some((function(e){return"richvartext"===e.get("type")}))},hasLocalizedText:function(){return null==this.hasL10nText&&(this.hasL10nText=this.textLib().some((function(e){return null!=e.get("vartextL10nRef")}))||[].concat(r((this.states()||[]).map((function(e){return e.data}))),[this.data()]).some((function(e){return null!=v.getPath(e,"vectorData.altTextL10nRef")}))),this.hasL10nText},fixZeroBoundsMetrics:function(e){return 0!==e.strokewidth||0!==e.width&&0!==e.height||(e.strokewidth=.5),e},getCurrentStateMetrics:function(){var e=(this.getCurrentStateData()||{}).html5data,t={xPos:0,yPos:0,width:this.get("width"),height:this.get("height"),strokewidth:0};return this.hasVarText()&&0===e.width&&0===e.height&&(e.width=t.width,e.height=t.height),this.fixZeroBoundsMetrics(m.extend(t,e))},getBounds:function(){var e=this.getCurrentStateMetrics(),t=e.strokewidth,n=2*t;return e.strokewidth*=2,m.extend(e,{fullX:Math.ceil(e.xPos-t),fullY:Math.ceil(e.yPos-t),fullWidth:e.width+n,fullHeight:e.height+n})},getSlide:function(){return this.getClosestAncestor((function(e){return!!e.isSlide}))},getLayer:function(){return this.getClosestAncestor((function(e){return null!=e.isBaseLayer}))},moveTo:function(e,t){var n,i,r=b.getRef(e.xOffset,t.context),o=b.getRef(e.yOffset,t.context),s=b.getRef(e.xPos,t.context),a=b.getRef(e.yPos,t.context);n=s+(r=e.addoffsetx?r:-r),i=a+(o=e.addoffsety?o:-o),this.trigger("moveTo",n,i)},getMousePosition:function(e){this.trigger("getMousePosition",e)},setState:function(e,t){var n=b.getRef(e.stateRef,t.context,t);return this.prop("ObjectState",n),this},setReview:function(e){this.prop("ReviewMode",e.enabled.value),this.trigger("setReview",e.enabled.value)},setStateFromIndex:function(e){this.prop("ObjectState",this.getStateFromIndex(e))},setTransformDirty:function(){this.transformDirty||(this.transformDirty=!0,this.trigger(y.slideObject.TRANSFORM_DIRTY))},setEnabled:function(e){this.prop("Enabled",e.enabled.value)},setSlideIndex:function(e){this.prop("slideIndex",e)},getFlattenedDepth:function(){return this.getLayer().startDepth+this.layerDepth},bringToFront:function(e){this.prop("depth",M++)},setHiddenByLayer:function(e,t){var n=this.currView;this.hiderParents=e?m.without(this.hiderParents,t):m(this.hiderParents).push(t).uniq().value(),this.prop("HiddenByLayer",this.hiderParents.length>0),null!=n&&(m.isFunction(n.updateTrueVisibility)?n.updateTrueVisibility():n.props.parent&&m.isFunction(n.props.parent.updateTrueVisibility)&&n.props.parent.updateTrueVisibility())},adjustVariables:function(){m.toArray(arguments).forEach(function(e){this.adjustVariable(e.name,e.value)}.bind(this))},adjustVariable:function(e,t){var n=this.getClosestParentRef(),i={kind:"adjustvar",variable:e,operator:"set",value:{type:"number",value:t}};f.executeAction(i,{context:this}),n.executePlayerEvent("onvarchanged")},getInitParentContainer:function(){return this.parent.isKind("shufflegroup")?this.parent.parent:this.parent},getParentContainer:function(){var e=this.getInitParentContainer();return null!=e.getChildParent?e.getChildParent(this):e},reparentChild:function(e){var t=this.getInitParentContainer();null!=t.reparentChild&&t.reparentChild(this,e)},reattachChild:function(){var e=this.getInitParentContainer();null!=e.reattachChild&&e.reattachChild(this)},storeResumeData:function(e,t){b.resolvePath(e.varref,t.context).value(this.getFullResumeData(!0))},restoreResumeState:function(e,t){var n=b.resolvePath(e.varref,t.context),i=e.limited,r=i?"setResumeDataLimited":"setResumeData";this.resetObjectBeforeResume(i),this[r](n.value()).forceUpdateResume()},resetForSeek:function(){var e=this.currView;this.trigger("clearAnimations"),this.trigger("unparentForSeek"),this.resetPropsExcept(["Enabled","ReviewMode","HiddenByLayer","depth","ShuffleXPos","ShuffleYPos"]),this.prop({RawXPos:this.prop("ShuffleXPos"),RawYPos:this.prop("ShuffleYPos")}),null!=e&&(m.isFunction(e.applyStylesDirectly)?e.applyStylesDirectly():e.props.parent&&m.isFunction(e.props.parent.applyStylesDirectly)&&e.props.parent.applyStylesDirectly())},onBeforeSeekUpdate:function(){this.prop("TimelineControlled")&&this.prop("OnStage")&&(this.shouldHideOnSeek=!0,this.resetForSeek())},onAfterSeekUpdate:function(){this.shouldHideOnSeek&&(this.hiding=!1,this.prop("updateGifOnShow",!0),this.trigger("hide"))},setupToggleVisibilityState:function(){this.hideShowState=null},toggleVisibility:function(e,t,n,i){var r=function(){n=n||{},i=i||{};var r,o=this.prop("OnStage"),s=this.prop("TimelineControlled"),a="show"===e,l=!!i.isSeekAction,c=null!=n&&n.transition===E,u=a?"shown":"hidden",d=function(){a||(this.hiding=!1,this.prop("OnStage",!1)),this.trigger(u),this.executePlayerEvent(t+"complete"),C.trigger(y.slideObject.TOGGLE_VISIBILITY)}.bind(this),h=(n.animationId,i.time,function(){r=this.animations().get(n.animationId),this.trigger(e+E,a,i,r,d)}.bind(this)),p=null!=i.timelineLabel;if(this.shouldHideOnSeek=this.shouldHideOnSeek&&!a,(!a&&!p||l&&0===i.currentTime)&&this.prop("updateGifOnShow",!0),!s&&p&&a&&l&&(i.beforeSeekTime<i.time||i.time===i.currentTime))this.resetForSeek();else if(!a&&!o||a&&o&&!this.hiding||l&&!s&&i.beforeSeekTime>i.time)return;this.hideShowState=n.kind,this.prop("TimelineControlled",p),this.trigger(e),a?this.prop("OnStage",!0):this.hiding=!0,this.executePlayerEvent(t),c?h():d()}.bind(this);return null!=this.currView?r():(this.showFns||(this.showFns=[]),this.showFns.push(r)),this},onTweenUpdate:function(e){this.trigger(y.tween.UPDATE,e)},onPlayerReset:function(){},killMounted:function(){return this.resetSubscriptions(),this},killEverything:function(){return this.off(),this}}),R=L.prototype;return R.show=m.partial(R.toggleVisibility,"show","ontransitionin"),R.hide=m.partial(R.toggleVisibility,"hide","ontransitionout"),R.isVectorShape=m.partial(R.isKind,"vectorshape"),R.isSvgImage=m.partial(R.isKind,"svgimage"),L}.call(t,n,t,e),void 0===i||(e.exports=i)},6704:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(2658),r=DS._,o=DS.BaseModel,s=DS.resolver,a=DS.events,l=DS.utils,c=DS.vow,u=DS.detection,d=DS.superagent,h=function(e){return s.resolvePath(e,s.getPresentationContext())},p={slide:"getSlideLinkSlide",slidedraw:"getDrawLinkSlide",action:"getActionLinkSlide"},f=o.extend({shorthand:["assetIds"],subscriptions:(t={},t[a.data.INITIALIZED]="onDataInitialized",t),initialize:function(){this.slideDataLoaded=!1},loadSlideData:function(){var e=c.Deferred();return this.slideDataLoaded||u.env.isFileProtocol||this.deletedDrawRef?e.resolve():d.get(this.getSlide().url()).accept("application/javascript").end(function(t){t?e.reject(t):(this.setSlideDataLoaded(),e.resolve())}.bind(this)),e.promise()},setSlideDataLoaded:function(){this.slideDataLoaded=!0},onDataInitialized:function(){"slidedraw"===this.get("type")&&(this.draw=h(this.get("id")),this.listenTo(this.draw,a.draw.RESET_COMPLETE,this.buildDrawRefs.bind(this)))},hasVideoAssets:function(){return this.assetIds().slice().some((function(e){return"video"===i.getAsset(e).type()}))},loadAssets:function(e){return i.loadAssets(this.assetIds().slice(),e)},offloadAssets:function(){i.offloadAssets(this.assetIds().slice())},getSlide:function(){return h(null!=this.draw?this.draw.getFirstSlide():this.get("id"))},buildDrawRefs:function(){var e,t=this.draw.startingSlide();for(this.clearLastDrawRefs();null!=t;)e=h(t),this.addDrawSlideToCollection(e),t=this.draw.getNextSlideId(e)},clearLastDrawRefs:function(){null!=this.drawRefs&&this.drawRefs.forEach(function(e){this.collection.remove(e),e.deletedDrawRef=!0}.bind(this)),this.drawRefs=[]},addDrawSlideToCollection:function(e){var t,n=this.collection.get(e.id);null!=n&&(t=new f(r.assign({},n.attributes,{id:l.stripPlayer(e.absoluteId),drawOwner:this.draw})),this.collection.add(t),this.drawRefs.push(t),t.deletedDrawRef=!1)},getReachableSlides:function(){return r.filter((this.get("linksTo")||[]).map(function(e){return this[p[e.type]](e)}.bind(this)),(function(e){return null!=e&&!e.isMessageSlide()}))},getSlideLinkSlide:function(e){for(var t=h(e.id);null!=t&&!t.isSlide;)if(t.isScene)t=h(t.startingSlide());else{if(!t.isSlideDraw)return null;t=t.getFirstSlide()}return t},getDrawLinkSlide:function(e){return l.getPath(h(e.id),"getFirstSlide")},getActionLinkSlide:function(e){var t,n=this.get("drawOwner");return"playnextdrawslide"===e.id&&null!=n?(t=n.getNextSlideId(this.getSlide()),r.isEmpty(t)?null:h(t)):null}});return f}.call(t,n,t,e))||(e.exports=i)},2503:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5552),i=n(3484),r=n(4196),o=DS._,s=DS.utils,a=DS.resolver;s.createSuper(t);return i.extend({shorthand:["actionstates"],isStateGroupSlideObject:!0,setState:function(e,t){var n=o.find(this.actionstates(),{name:a.getRef(e.stateRef,t.context,t)});return n&&(this.prop("ObjectState",n.name),o.isEmpty(n.actions)||r.executeActions(n.actions,o.extend(t,{context:this}))),this},isEnabled:function(){return this.prop("Enabled")},getIsSlideableParent:function(){return this.objects().some((function(e){return!!e.dragpath()}))},getStateFromIndex:function(e){return this.actionstates()[e].name},getCurrentStateIndex:function(){return this.actionstates().indexOf(this.getStateFromVar())},getIsExpandingLabel:function(){return this.isExpandingLabel=this.isExpandingLabel||!!this.objects().findWhere({kind:"expandinglabel"}),this.isExpandingLabel},getStateFromVar:function(){var e=this.get("actionstates");return e&&o.find(e,{name:this.prop("ObjectState")})},getStateFromName:function(e){var t=this.get("actionstates");return t&&o.find(t,{name:e})},getClickDef:function(){var e=this.getStateFromVar();return e&&e.clickdef}})}.call(t,n,t,e))||(e.exports=i)},6427:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(5552),r=n(3949),o=(DS._,DS.constants),s=DS.events;return i.extend({shorthand:["background"],shortEvents:{self:(t=i.prototype.shortEvents.self,t[r.SET_FOCUS]="setFocus",t)},variableProps:{Text:{type:o.varTypes.STRING,value:""}},getPathRef:function(){return this.background().vectorData.pr},setFocus:function(){null==this.currView?this.needsFocus=!0:(this.trigger(s.slideObject.FOCUS),this.needsFocus=!1)}})}.call(t,n,t,e))||(e.exports=i)},8702:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1034),i=DS.BaseModel,r=t.extend({model:i.extend({idAttribute:null})}),o=function(e,t){return null==e?t:DS.translationStore.getUpdatedTextData("textLibItem",e,t)};return i.extend({shorthand:["type","xPos","yPos","width","height","valign","wordwrap","textshadow"],associations:{linkdata:r},vartext:function(){if(DS.flagManager.multiLangSupport){var e=this.get("vartextL10nRef"),t=DS.localizationManager.getStringFromRef(e);if(null!=t)return DS.flagManager.aiCourseTranslation?o(this.get("textLibItemId"),t):t}return DS.flagManager.aiCourseTranslation?o(this.get("textLibItemId"),this.get("vartext")):this.get("vartext")}})}.call(t,n,t,e))||(e.exports=i)},4514:function(e,t,n){var i;i=function(e){"use strict";var t=n(5552),i=DS,r=(i._,i.events),o=i.utils,s=i.constants,a=o.createSuper(t),l=t.extend({initialize:function(){this.indexValues=[],this.labelValues={},this.hiderParents=[]},variableProps:{VisitedMarkers:{type:s.varTypes.STRING,value:""},MarkerInView:{type:s.varTypes.NUM,value:0},CameraLat:{type:s.varTypes.NUM,value:0},CameraLon:{type:s.varTypes.NUM,value:0}},resetObjectBeforeResume:function(){var e=a("resetObjectBeforeResume").apply(this,arguments);return this.trigger(r.threeSixtyImage.RESET_VIEW),this.shouldApplyResumeData=!1,e},buildResumeData:function(){return this.trigger(r.threeSixtyImage.UPDATE_RESUME_PROPS),a("buildResumeData").apply(this,arguments)},setResumeData:function(){a("setResumeData").apply(this,arguments);var e=this.getVisitedMarkers(),t=e.indexValues,n=e.labelValues;this.indexValues=t,this.labelValues=n,this.trigger(r.threeSixtyImage.APPLY_RESUME_DATA),null==this.currView&&(this.shouldApplyResumeData=!0)},getVisitedMarkers:function(){for(var e=this.prop("VisitedMarkers"),t=[],n={},i=0;i<e.length;i+=3){var r=parseInt("0x"+e[i]+e[i+1],16);t.push(r),n[r]=parseInt(e[i+2],10)}return{indexValues:t,labelValues:n}},updateLabelState:function(e,t){this.labelValues[e]=t?1:0},addVisitedMarker:function(e){this.indexValues.push(e),this.setVisitedMarkers(),DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?this.currView.refs.innard.dropInView.image3d.visitedMarkersChanged():this.currView.refs.innard.image3d.visitedMarkersChanged()},setVisitedMarkers:function(){for(var e="",t=0;t<this.indexValues.length;t++){var n=this.indexValues[t].toString(16),i=this.labelValues[this.indexValues[t]]||0;n.length<2&&(n="0"+n),e+=n+i}this.prop("VisitedMarkers",e)}});return l}.call(t,n,t,e),void 0===i||(e.exports=i)},694:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(4196),r=DS._,o=DS.utils,s=DS.events,a=DS.BaseModel,l=DS.Chunk,c=DS.AnimationTimeline,u=DS.pubSub,d={},h=a.extend({shorthand:["duration","events"],shortEvents:{self:{"change:duration":"onChangeDuration"}},subscriptions:(t={},t[s.detection.VISIBILITY_SHOWN]="onVisibilityShown",t[s.detection.VISIBILITY_HIDDEN]="onVisibilityHidden",t),initialize:function(){r.bindAll(this,"update","triggerPlaybackStateChange","onComplete"),this.timeline=new c({onUpdate:this.update}),this.labels=[],this.silent=!1,this.setUpTimelineDuration().setUpClamp().setupEvents().setRenderDirty()},setUpTimelineDuration:function(){return this.timeline.totalTime(this.duration()),this},timelineDuration:function(){return this.timeline.duration},setUpClamp:function(){return this.clampTime=r.partial(o.clamp,0,this.duration()||0),this},elapsedTime:function(){return this.timeline.time()},hasFinished:function(){return 1===this.progress()},hasStarted:function(){return this.progress()>0},update:function(){return 1!==this.progress()||this.completed||(this.completed=!0,this.onComplete()),this.trigger(s.timeline.TICK,this.progress()),this},play:function(){return this.timeline.play(),this.render(),this.trigger(s.timeline.PLAYING),u.trigger(s.course.PLAYING,{timeline:this}),this},pause:function(e,t){return e||this.render(),this.timeline.pause(),this.trigger(s.timeline.PAUSED,t),u.trigger(s.course.PAUSED,{timeline:this,fromTimelineUI:t}),this},render:function(){this.renderDirty&&(this.renderDirty=!1,this.seek(this.resetValue||0))},progress:function(e){if(null==e)return o.clamp(0,1,this.timeline.currentTime/this.duration());this.seek(Math.floor(e*this.duration()))},togglePlayback:function(){return this[this.isPlaying()&&!this.hasFinished()?"pause":"play"](!1,!0),this},onSeekStart:function(){this.isSeeking||(this.trigger(s.timeline.SEEK_START,this.seekPlaybackState),this.seekPlaybackState=this.playbackState(),this.isSeeking=!0),this.pause(!0)},onSeekEnd:function(){this.trigger(s.timeline.SEEK_END,this.seekPlaybackState),"playing"===this.seekPlaybackState?this.play():this.pause(),this.isSeeking=!1},seek:function(e){return e=this.clampTime(e),this.beforeSeekTime=this.elapsedTime(),this.trigger(s.timeline.BEFORE_SEEK_UPDATE),this.timeline.reset(),this.timeline.seek(e),this.update(),this.trigger(s.timeline.AFTER_SEEK_UPDATE,e),this.lastSeekTime=e,this.completed=!1,this},reset:function(){return DS.pubSub.trigger(s.timeline.BEFORE_RESET),this.trigger(s.timeline.BEFORE_RESET),this.trigger(s.timeline.RESET),this},silentReset:function(){return this.timeline.silent=!0,this.timeline.seek(0,!0),this.timeline.pause(),this.timeline.silent=!1,this},isPlaying:function(){return this.timeline.isActive()},setupEvents:function(){var e=this.events();return null!=e&&e.forEach(function(e){var t=r.uniqueId("timeline-"),n=e.time;this.timeline.add(t,n),this.timeline.add(function(){this.triggerTimelineEvent(e,t)}.bind(this),t),this.labels.push(t),d[t]=this}.bind(this)),this},triggerTimelineEvent:function(e,t){var n={context:this.getClosestThisRef(),timelineLabel:t,isSeekAction:this.isSeeking,beforeSeekTime:this.beforeSeekTime||0,time:e.time,currentTime:this.elapsedTime()};i.executeActions(e.actions,n)},playbackState:function(){return this.hasFinished()?"ended":this.isPlaying()?"playing":"paused"},onComplete:function(){this.trigger(s.timeline.ENDED),this.trigger(s.timeline.COMPLETE,this)},triggerPlaybackStateChange:function(){this.trigger(s.timeline[this.playbackState().toUpperCase()])},addChildTimeline:function(e,t){return this.timeline.add(e,t),this},removeChildTimeline:function(e){return null!=this.timeline&&this.timeline.remove(e),this},removeLabel:function(e){this.timeline.remove(e)},getResumeData:function(){return l.toSignedString64(this.elapsedTime())},resetResume:function(){this.resetValue=0,this.setRenderDirty()},setResumeData:function(e){this.resetValue=l.fromSignedString64(e),this.setRenderDirty().pause()},getResetValue:function(){return this.resetValue||0},clearResetValue:function(){return this.resetValue=0,this.setRenderDirty(),this},setRenderDirty:function(){return this.renderDirty=!0,this},onChangeDuration:function(){this.setUpTimelineDuration().setUpClamp()},destroy:function(){this.labels.forEach((function(e){d[e]=null}))},onVisibilityShown:function(){this.wasPlaying&&(this.wasPlaying=!1,this.play())},onVisibilityHidden:function(){this.isPlaying()&&(this.wasPlaying=!0,this.pause())},killEverything:function(){this.resetSubscriptions().stopListening().off(),this.timeline.kill(),this.timeline=null}},{getTimelineFromLabel:function(e){return d[e]}});return h}.call(t,n,t,e))||(e.exports=i)},8259:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6872),i=n(2427),r=n(4617),o=n(6222),s=n(4449),a=n(1249),l=n(2392),c=DS._;DS.utils;return DS.BaseModel.extend({associations:{scale:o,position:i,rotation:r,alpha:t,mask:a,colors:l,skew:s},initialize:function(){c.bindAll(this,"build"),this.delay=this.get("time")},build:function(){var e=this,t=c.reduce(this.associations,(function(t,n,i){var r=e[i]().getAttrConfig(e.delay);return null!=r&&(t[i]=r),t}),{});return{delay:this.delay,duration:this.get("duration"),tweenAttrs:t}}})}.call(t,n,t,e))||(e.exports=i)},2304:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3949),r=n(4998),o=DS._,s=DS.constants,a=DS.events,l=DS.BaseModel,c=DS.pubSub,u=DS.errorManager,d=DS.resolver,h=DS.Chunk,p=u.throwError("Variable"),f=u.backtick,g={"^":"^0","&":"^1","'":"^2","+":"^3","\n":"^4","\r":"^5","?":"^6",",":"^7","%":"^8","\\":"^9",'"':"^A","":"^B","":"^C","“":"^D","”":"^E"},m=o.invert(g),v=function(e,t){return o.reduce(e,(function(e,t,n){return e.split(n).join(t)}),t.toString())},S=o.partial(v,g),y=o.partial(v,m),b=function(e){return parseFloat(e.toPrecision(7))},w=function(e,t){return b(parseFloat(e)+parseFloat(t))},C=function(e,t){return b(parseFloat(e)-parseFloat(t))},x=function(e,t){return Number.isInteger(e)&&Number.isInteger(t)?e*t:b(parseFloat(e)*parseFloat(t))},D=function(e,t){return b(parseFloat(e)/parseFloat(t))},E=function(e,t){return t},T=function(e){return!e},P={number:{set:function(e,t){return""===e&&isNaN(t)?e:t},add:function(e,t){return""===e&&(e=0),w(e,t)},sub:function(e,t){return""===e&&(e=0),C(e,t)},mult:function(e,t){return""===e&&(e=0),x(e,t)},div:function(e,t){return""===e&&(e=0),D(e,t)},toggle:T},string:{add:function(e,t){return"".concat(e).concat(t)},sub:C,mult:x,div:D,set:E,toggle:T},boolean:{add:w,sub:C,mult:x,div:D,set:E,toggle:T}},I=l.extend({isVar:!0,idAttribute:"name",mixins:[r],shorthand:["value","name","type","resume"],shortEvents:{self:(t={},t[i.ADJUST_VAR]="adjust",t)},playerPropNames:{InitValue:null},initialize:function(){this.isRandomValue()&&this.value(this.getRandom(this.value())),this.initValue=this.value()},hasInitValue:function(){return this.initValue===this.value()},adjust:function(e,t){var n,i=function(e,t){return null!=e.value?d.getRef(e.value,t.context,t):d.resolvePath(e.variable,t.context)}(e,t),r=this.type()||"boolean",o=e.operator;return P[r][o]||p("adjust","Invalid adjustment operator",f(o)),this.isRandomValue(i)&&(i=this.getRandom(i)),n=P[r][o](this.value(),i),this.changeValue(n,e),this},changeValue:function(e,t){var n=this.value();n!==e&&(this.value(e,{relatedAction:t}),c.trigger(a.variable.CHANGED,this.absoluteId,e,n))},getEncodedString:function(e){return e=e||this.value(),this.hasInitValue()?"^":S(e)},decodeAndSetValue:function(e){return"^"!==e&&this.value(y(e),{silent:!0}),this},getEncodedValue:function(){var e=this.isString()?this.getEncodedString.bind(this):h.toSignedFloatString64;return h.create(e(this.value()))},setEncodedValue:function(e){return this.isString()?this.decodeAndSetValue(e):this.value(h.fromSignedFloatString64(e),{silent:!0}),this},resetValue:function(){this.wipe()},wipe:function(){this.value(this.initValue,{silent:!0}),this.trigger(a.variable.REFRESH_VIEW)},isRandomValue:function(e){return null==e&&(e=this.value()),this.isNumber()&&d.isRandomToken(e)},getRandom:function(e){var t,n,i,r=e;return o.isString(e)&&"RAND"===(t=e.split("|"))[0]&&(n=parseInt(t[1],10),i=parseInt(t[2],10)+1,r=Math.floor(Math.random()*(i-n))+n),r}}),A=I.prototype;return A.isString=o.partial(A.isType,s.varTypes.STRING),A.isBoolean=o.partial(A.isType,s.varTypes.BOOL),A.isNumber=o.partial(A.isType,s.varTypes.NUM),I}.call(t,n,t,e))||(e.exports=i)},5374:function(e,t,n){var i;void 0===(i=function(e){"use strict";return DS.BaseModel.extend({})}.call(t,n,t,e))||(e.exports=i)},1039:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.resolver,i=DS.windowManager,r=DS.animationClock,o=/\./,s={},a=!1,l={},c=function(e){var t=e.getLayer(),n=t.parent;return{slideId:n.id,layerId:(t.isBaseLayer()?n:t).id}},u=function(e,t){var n=c(e),i=n.slideId,r=n.layerId,o=e.getRelativeId(),a=s[i]&&s[i][r];return t?(null==a&&(a={eventables:{},targets:{},relatives:{},lookup:{}},s[i]=s[i]||{},s[i][r]=a),null==a.eventables[o]&&(a.eventables[o]={sets:[],dirty:!1,eventStates:[]}),a):a},d=function(e,t,n){var i,r=function(t){t.isCollideable=!0;var i=t.getRelativeId(),r=e.relatives[i];null==r&&(r=e.relatives[i]={}),(r=r||{})[n]=n};if(t.isGroupingSlideObject&&function e(t){var n,i,o=t.getChildren(),s=o.length;for(n=0;n<s;n++)i=o[n],r(i),i.isGroupingSlideObject&&e(i)}(t),o.test(n))for(i=t.parent;null!=i&&!i.isKind("slidelayer");)r(i),i=i.parent};return{registerCollisions:function(e){e.collisionsCached||(e.collisionsCached=!0,null!=e.events()&&function(e){var t,i,r,o,s,a,l,c,h,p,f,g,m,v,S,y=e.events(),b=y.length,w={};for(s=0;s<b;s++)if("ononscreen"!==(m=(l=y[s]).kind)&&"onoffscreen"!==m||(l={kind:m="ononscreen"===m?"oncollisionstart":"oncollisionend",targets:["_currentSlide"],actions:l.actions}),"oncollisionstart"===m||"oncollisionend"===m)for(null==i&&(t=e.getRelativeId(),r=(i=u(e,!0)).eventables[t].sets,o=i.eventables[t].eventStates,e.isCollideable=!0,d(i,e,t)),c={lastHit:!1,event:l,targets:[]},o.push(c),p=(h=l.targets).length,a=0;a<p;a++)v=(f=n.resolvePath(h[a],e)).getRelativeId(),c.targets.push(f),null==w[v]&&(w[v]=!0,f.isCollideable=!0,d(i,f,v),null==(g=i.targets[v])&&(g=i.targets[v]={dirty:!1,sets:[]}),S={targetModel:f,eventableModel:e,lastCollision:!1,currCollision:!1},r.push(S),g.sets.push(S),null==i.lookup[t]&&(i.lookup[t]={}),i.lookup[t][v]=S)}(e))},getCollisionSets:function(e){if(e.isCollideable&&null!=e.currView){var n,i,r,o,s,a,l=[],c=e.getRelativeId(),d=u(e),h=d.relatives[c],p=d.eventables[c],f=d.targets[c];if(null!=p&&(l=p.sets,p.dirty=!1),null!=d.targets[c]&&(l=l.concat(f.sets),f.dirty=!1),null!=h)for(r=(n=Object.keys(h)).length,o=0;o<r;o++)i=n[o],s=d.eventables[i],a=d.targets[i],null!=s&&(l=l.concat(s.sets),s.dirty=!1),null!=a&&(l=l.concat(a.sets),a.dirty=!1);return t.uniq(l)}},getDirtyCollisionSets:function(){var e=i.getCurrentWindowSlide().id,n=l[e],r=[];return l={},t.forEach(n,(function(e){var t,n,i,o;for(i=(t=Object.keys(e.eventables)).length,n=0;n<i;n++)o=t[n],e.eventables[o].dirty&&(e.eventables[o].dirty=!1,r.push.apply(r,e.eventables[o].sets));for(i=(t=Object.keys(e.targets)).length,n=0;n<i;n++)o=t[n],e.targets[o].dirty&&(e.targets[o].dirty=!1,r.push.apply(r,e.targets[o].sets))})),t.uniq(r)},markCollisionsDirty:function(e,t){if(e.isCollideable&&null!=e.currView){var n,i,o,s,d,h,p=c(e),f=p.slideId,g=p.layerId,m=e.getRelativeId(),v=u(e),S=v.relatives[m];if(null!=v.eventables[m]&&(v.eventables[m].dirty=!0),null!=v.targets[m]&&(v.targets[m].dirty=!0),null!=S)for(o=(n=Object.keys(S)).length,s=0;s<o;s++)i=n[s],d=v.eventables[i],h=v.targets[i],null!=d&&(d.dirty=!0),null!=h&&(h.dirty=!0);l[f]=l[f]||{},l[f][g]=v,a||(a=!0,r.requestAnimationFrame((function(){a=!1,t()}),!0))}},getEventableLookupAndStates:function(e){var t=e.getRelativeId(),n=u(e),i=n.eventables[t];return{lookup:n.lookup[t],eventStates:i.eventStates}},clearHitStates:function(e){var n=s[e];t.forEach(n,(function(e){var t,n,i,r,o,s,a,l,c;for(n=(t=Object.keys(e.eventables)).length,o=0;o<n;o++){for(i=t[o],a=(r=e.eventables[i].eventStates).length,s=0;s<a;s++)r[s].lastHit=!1;for(c=(l=e.eventables[i].sets).length,s=0;s<c;s++)l[s].lastCollision=!1}}))},clearMapCache:function(){s={},a=!1},clearSlideCache:function(e){s[e]=null,l[e]=null}}}.call(t,n,t,e))||(e.exports=i)},6974:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS.utils;return{isResumable:function(e){return e.shouldResume?e.shouldResume():!(!e.resume||!e.resume())},getResumeableFilter:function(e){return e?t.alwaysTrue:this.isResumable},meetConditionOrReturn:function(e,t,n){return t.call(e)?e.getResumeData():n}}}.call(t,n,t,e))||(e.exports=i)},6951:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3949),i=n(9943),r=n(2452),o=n(5762),s=n(4554),a=n(4998),l=n(4196),c=DS._,u=DS.BaseModel,d=DS.constants,h=DS.events,p=DS.resumer,f=DS.dom,g=DS.utils,m={};m.essay=m.numeric=m.fillin=function(e){return[f.writeNode("answer"),f.xmlEncodeValue(e),f.writeCloseNode("answer")].join("")},m.likert=m.sequence=m.matching=function(e){var t=this.getChoiceById(e.choiceResponse),n=this.getStatementById(e.statementResponse);return f.writeNode("answer",{statementid:n.lmstext,choiceid:t.lmstext},!0)},m.multiplechoice=m.truefalse=m.hotspot=m.wordbank=m.multipleresponse=function(e){var t=this.getChoiceById(e);if(null!=t)return f.writeNode("answer",{choiceid:t.lmstext},!0)};var v={numeric:function(e,t,n){return e.push(i.statementToString(t.statement,this)),e},matching:function(e,t,n){return e.push({choice:this.getChoiceById(t.choiceid),statement:this.getStatementById(t.statementid)}),e},default:function(e,t,n){return e.push(this.getChoiceById(t.choiceid)),e}};v.sequence=v.matching;var S,y,b=function(e,t,n){return c.find(e.get(t),{id:n.replace(t+".","")})},w=u.extend({mixins:[a,s,r],shorthand:["type","maxpoints","istracked","issurvey","skipenabled","choices","responseDefinition","answers","statements"],subscriptions:(y={},y[h.player.RESET]="reset",y),shortEvents:{self:(S={},S[t.EVAL_INTERACTION]="onEvalInteraction",S[t.ADD_CHOICE_RESPONSE]="onAddChoiceResponse",S[t.ADD_PAIR_RESPONSE]="onAddPairResponse",S)},playerPropNames:{AttemptCount:0,Status:d.statuses.INCOMPLETE,Value:"",Description:"",Score:0,LastScore:0,AnswerIndex:-1,Answered:!1,Unanswered:!1,Viewed:!1,Sent:!1,QuestionIndex:-1},responses:null,curAnswer:null,initialize:function(){this.attempts=[],this.getChoiceById=c.partial(b,this,"choices"),this.getStatementById=c.partial(b,this,"statements"),this.prop("CorrectResponse",this.getCorrectResponse())},attempt:function(){var e=this.prop("AttemptCount")+1;return this.prop("AttemptCount",e),this},appendAttempts:function(){return this.attempts.push(c.extend(this.getPlayerPropsRaw(),{responses:this.responses.slice(),Latency:p.getCourseTime()})),this},setAsViewed:function(e){this.prop("Viewed",e),this.trigger(h.interaction.VIEWED,this.absoluteId,this.maxpoints())},setStatusFromCurAnswer:function(){var e;return e=null!=this.curAnswer?this.curAnswer.status:this.get("issurvey")?d.statuses.NEUTRAL:d.statuses.INCORRECT,this.prop("Status",e),this},setAsAnswered:function(){return this.prop({Answered:!0,Unanswered:!1}),this},setAnswerIndex:function(){return this.prop("AnswerIndex",this.answers().indexOf(this.curAnswer)),this},setScore:function(){return this.prop({LastScore:this.curAnswer.points,Score:this.curAnswer.points}),this},evaluate:function(e){return this.attempt().updateCurAnswer().setScore().setStatusFromCurAnswer().updateQuestionCorrectVariable().appendAttempts().trigger(h.interaction.EVALUATED,this,null==e).executeAnswerActions(e),this},updateUserResponse:function(){return this.buildResponses(),this.hasValidResponses()&&this.updateCurAnswer(),this},updateCurAnswer:function(){var e=this.isType("numeric")?parseFloat:c.identity;return this.curAnswer=o.setCurrInteraction(this).evaluateAnswers(this.responses.map(e)),this.setAsAnswered().setAnswerIndex(),this},executeAnswerActions:function(e){var t=this.curAnswer;null!=e&&t&&l.executeActions(t.actions,{context:this.getClosestAncestorByKind("slide")})},buildResponses:function(){var e=this.responseDefinition().actions;return this.responses=[],null!=e&&(l.executeActions(e,{context:this.getClosestAncestorByKind("slide")}),this.updateValue()),this},updateValue:function(){var e=this.isType("numeric"),t=e?"first":"identity",n=e?parseFloat:c.identity;return this.prop("Value",c[t](this.responses.map(n))),this},addResponse:function(e){return this.responses.push(e),this},onEvalInteraction:function(e){this.buildResponses().evaluate(e)},onAddChoiceResponse:function(e){var t={string:c.identity,var:function(e){return this.resolvePath(e).value()}}[e.type]||this.resolvePath;this.addResponse(t.call(this,e.value))},onAddPairResponse:function(e){var t,n=e.valuea,i=e.valueb;this.addResponse({statementResponse:n,choiceResponse:(t=i,/^choices/.test(t)?i:this.resolvePath(i))})},getCorrectAnswer:function(){return c.find(this.answers(),{status:d.statuses.CORRECT})},getCorrectResponse:function(){var e=this.getCorrectAnswer(),t=v[this.type()]||v.default;return c.reduce(e?e.evaluate.statements:[],t.bind(this),[])},evaluateUnanswered:function(){if(!this.hasValidResponses())return this.attempt(),this.setStatusFromCurAnswer(),this.prop("Answered",!0),void this.trigger(h.interaction.EVALUATED,this);var e=this.prop("AnswerIndex");this.prop("Score");e>-1&&(this.curAnswer=this.answers()[e],this.prop({Status:this.curAnswer.status,Score:this.curAnswer.points,LastScore:this.curAnswer.points,Unanswered:!1,Answered:!0})),this.evaluate()},isPairResponse:function(e){return null!=e&&(null!=e.statementResponse||null!=e.choiceResponse)},isValidResponse:function(e){return null!=e&&(this.isPairResponse(e)?""!==e.statementResponse&&null!=e.statementResponse&&""!==e.choiceResponse&&null!=e.choiceResponse:""!==e)},hasResponses:function(){return null!=this.responses&&this.responses.length>0},hasValidResponses:function(){return this.hasResponses()&&this.responses.every(this.isValidResponse.bind(this))},isPassing:function(){return this.prop("Status")===d.statuses.CORRECT},markAttempts:function(){this.attempts.forEach((function(e){e.Sent=!0}))},getAoSoapXml:function(){return 0===this.prop("AttemptCount")||0===this.attempts.length?"":[f.writeNode("interaction",{idRef:g.stripPlayer(this.absoluteId),type:this.type()}),this.getAttemptXml(),f.writeCloseNode("interaction")].join("")},getAttemptXml:function(){return this.attempts.reduce(function(e,t,n,i){var r=n===i.length-1,o=m[this.type()].bind(this),s=[f.writeNode("attempt",{time:t.Latency,final:r.toString(),pointsAwarded:t.Score,result:t.Status,sent:t.Sent})];return t.responses.map(o).forEach((function(e){s.push(e)})),s.push(f.writeCloseNode("attempt")),e.push(s.join("")),e}.bind(this),[]).join("")},getCorrectValues:function(){return this.prop("CorrectResponse")},getResponseValues:function(e){return(this.responses||[]).map(function(e){return c.isPlainObject(e)?{statement:this.getStatementById(e.statementResponse||e.statement),choice:this.getChoiceById(e.choiceResponse||e.choice)}:this.isType("numeric")||this.isType("fillin")||this.isType("essay")||this.isType("likert")?e.toString():this.getChoiceById(e.toString())}.bind(this))},updateQuestionCorrectVariable:function(){var e=DS.playerGlobals.presentation.playerVars&&DS.playerGlobals.presentation.playerVars()?DS.playerGlobals.presentation.playerVars().variables().get("questionCorrect"):null;return null!=e&&e.value()!==this.isPassing()&&e.value(this.isPassing()),this}}),C=w.prototype;return C.getLastScore=c.partial(C.prop,"LastScore"),w}.call(t,n,t,e))||(e.exports=i)},8771:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(3949),o=n(7620),s=n(2604),a=n(4998),l=n(4554),c=DS._,u=DS.windowManager,d=DS.utils,h=DS.constants,p=DS.events,f=DS.dom,g=DS.resolver,m=DS.BaseModel,v=DS.resumer,S=DS.pubSub,y=DS.vow,b=function(e){return!e.prop("Answered")},w=function(e){return 0===e.prop("AttemptCount")},C=function(e){return!0===e.prop("Viewed")},x=function(e){return C(e)&&b(e)},D=function(e){return C(e)&&w(e)},E=function(e){return!0===e.get("istracked")},T=function(e){return e.skipenabled()},P=function(e){return e.isSlide||I(e)},I=function(e){return e.isSlideDraw},A=function(e){return Math.floor(100*e)/100},M=m.extend({mixins:[l,a],shorthand:["issurvey","passPercent","submitunanswered","scoretype","resettype","reviewtype","actionGroups"],resolveables:["actionGroups","variables","quizzes"],associations:{sliderefs:s},playerPropNames:{mustPass:!0,QuizComplete:!1,AllQuestionsSubmitted:!1,AllQuestionsAnswered:!1,Score:0,PercentScore:0,PassScore:0,Evaluated:!1,Completed:!1,Passed:!1,CombinedTotal:0,CombinedPassed:0,CombinedFailed:0,Weight:1,model:{PassPercent:"passPercent"}},abilities:{resolveAsThis:!0,resolveAsParent:!0,beEventTarget:!0},shortEvents:{self:(i={},i[r.EVAL_ALL_UNANSWERED]="evalAllUnanswered",i[r.SET_QUIZ_COMPLETE]="setQuizComplete",i[r.NEXT_VIEWED_SLIDE]="onNextReviewedSlide",i[r.RESET_QUIZ]="onResetQuiz",i)},subscriptions:(t={},t[p.data.INITIALIZED]="onDataInitialized",t[p.slide.HAS_CHANGED]="onSlideHasChanged",t[p.player.RESET]="onResetPlayer",t),maxPoints:0,currentMaxPoints:0,attempts:0,initialize:function(){this.referencesBuilt=y.Deferred(),this.viewedInteractions={},this.listenTo(this.getPlayerProps(),{"change:Score":this.onChangeScoreProp})},onDataInitialized:function(){this.buildReferences(),this.referencesBuilt.then(this.updateInteractionRefs.bind(this))},updateInteractionRefs:function(){this.updateMaxPoints(),this.updatePassScore(),this.listenForViewsAndEvaluations(),this.listenForAnswered()},disconnectReferences:function(){null!=this.flatInteractions&&this.flatInteractions.forEach(function(e){this.stopListening(e)}.bind(this)),null!=this.interactions&&this.interactions.forEach(function(e){this.stopListening(e),this.stopListening(e)}.bind(this))},buildReferences:function(){return this.buildQuizzes(),this.slides=c(this.sliderefs().invoke("getSlide")).filter(P).value(),this.draws=this.slides.filter(I),this.waitForDraws(),y.after.apply(y,this.quizzes.map(c.property("referencesBuilt"))).then(this.referencesBuilt.resolve),this},waitForDraws:function(){var e=this.slides.filter(I);e.forEach(function(e){var t=this.onDrawReceived.bind(this,e);this.listenTo(e,p.slide.CHANGE,t),this.listenTo(e,p.draw.RESET,this.onDrawReset.bind(this)),this.listenTo(e,p.draw.RESET_COMPLETE,this.onAfterDrawReset.bind(this)),null==e.slides()?!1:t()}.bind(this)),0===e.length&&this.afterDrawReceived()},onDrawReset:function(e){this.disconnectReferences(),e.slides().forEach(function(e){c.remove(this.slides,e)}.bind(this)),c.set(e,["spliceIdx",this.absoluteId],-1),c.set(e,["spliceNum",this.absoluteId],0)},onAfterDrawReset:function(e){this.updateInteractionRefs()},onDrawReceived:function(e){var t=["spliceIdx",this.absoluteId],n=["spliceNum",this.absoluteId],i=d.getPath(e,t,this.slides.indexOf(e)),r=d.getPath(e,n,1);c.set(e,t,i),c.set(e,n,e.slides().length),i>=0&&r>0&&this.slides.splice(i,r),this.slides=this.slides.concat(e.slides().slice()),this.afterDrawReceived()},afterDrawReceived:function(){var e;return this.interactions=c(this.slides).invokeMap("interactions").compact().value(),this.flatInteractions=c(this.interactions).invokeMap("slice").flattenDeep().filter(E).value(),this.slides.forEach(function(e){null!=e.setQuiz&&e.setQuiz(this)}.bind(this)),this.flatInteractions.forEach((function(e,t){e.prop("QuestionIndex",t)})),e=0===this.flatInteractions.length,this.prop({AllQuestionsSubmitted:this.prop("AllQuestionsSubmitted")||e,AllQuestionsAnswered:this.prop("AllQuestionsAnswered")||e}),this},onSlideHasChanged:function(e){this.currentPlayerSlideId=e},getCurrentSlideIndex:function(e){return c.findIndex(e,function(e){return d.stripPlayer(e.absoluteId)===this.currentPlayerSlideId}.bind(this))},getFilteredItemsForReviewReset:function(e,t){return!0===this.issurvey()||void 0===t?c.sortBy(e,this.sortByViewedOrder):c(e).filter(t).sortBy(this.sortByViewedOrder).value()},sortByViewedOrder:function(e){return v.totalViewedSlides.indexOf(e)},onNextReviewedSlide:function(e){var t=c.isEmpty(e.status_filter)?void 0:e.status_filter;this.navigateToNextViewedQuizSlide(e,t)},onResetPlayer:function(){this.resetQuiz(!0)},onResetQuiz:function(){this.resetQuiz(!1)},navigateToNextViewedQuizSlide:function(e,t){var n,i=void 0!==t?function(e){return e.getInteractionStatus()===t}:void 0,r=this.getFilteredItemsForReviewReset(this.slides,i),o=this.getCurrentSlideIndex(r)+1;o===r.length?S.trigger(p.request.NEXT_SLIDE,e.completed_slide_ref.value):null!=(n=c.find(r.slice(o),(function(e){return c.includes(v.totalViewedSlides,e)})))?S.trigger(p.request.NEXT_SLIDE,n.absoluteId):S.trigger(p.request.NEXT_SLIDE,e.completed_slide_ref.value)},resetQuiz:function(e){var t,n;(this.resetProps(),this.completed=!1,this.viewedInteractions={},this.currentMaxPoints=0,!1===e&&this.resettype()===h.reviewResetTypes.INCORRECTONLY)&&(t=function(e){return!e.isPassing()},n=function(e){return e.getInteractionStatus()===h.statuses.INCORRECT},this.getFilteredItemsForReviewReset(this.flatInteractions,(function(e){return e.isPassing()})).forEach((function(e){return e.viewed=!0})),this.updateViewedInteractions());var i=this.getFilteredItemsForReviewReset(this.flatInteractions,t),r=this.getFilteredItemsForReviewReset(this.slides,n);if(c.invokeMap(i,"resetResume",!0),r.forEach((function(e){e.resetResume(),e.updateInteractionData().onAfterResumeBuilt()})),this.resettype()!==h.reviewResetTypes.INCORRECTONLY&&c.invokeMap(this.draws,"generateDraw"),this.updatePassScore().updateScore(),this.hasScoring()){var o=this.getScoring();o.prop("Completed",!1),S.trigger(p.quiz.RETRIED,o)}v.savePresentationData(),this.attempts++},listenForViewsAndEvaluations:function(){this.interactions.forEach(function(e){this.listenTo(e,p.interaction.VIEWED,this.onInteractionViewed),this.listenTo(e,p.interaction.EVALUATED,this.onInteractionEvaluated)}.bind(this))},listenForAnswered:function(){this.flatInteractions.forEach(function(e){this.listenTo(e.getPlayerProps(),"change:Answered",this.onInteractionAnswered)}.bind(this))},buildQuizzes:function(){this.getClosestParentRef();var e=this.get("quizrefs")||[];this.quizzes=e.map(function(e){var t=g.resolvePath(d.prefixWithPlayer(e.id),this);return t.prop({mustPass:e.mustpass,weight:e.weight}),t}.bind(this)),this.hasScoring()&&this.quizzes.forEach(function(e){e.setScoring(this.scoring)}.bind(this))},isPassed:function(){return this.updatePassScore().updatePercentScore(),this.prop("Score")>=this.prop("PassScore")&&this.quizzes.every((function(e){return e.prop("mustPass")&&e.isPassed()}))},calcScore:function(){return this.calcThisScore()+this.calcChildScores()},calcThisScore:function(){return c.reduce(this.flatInteractions,(function(e,t){return e+c.result(t,"getLastScore",0)}),0)},calcChildScores:function(){return this.reduceQuizzes((function(e,t){return e+t.calcScore()}),0)},updateScore:function(){return this.prop("Score",this.calcScore()),this.hasScoring()&&this.getScoring().updateScore(this),this.prop("Passed",this.isPassed()),this.prop("CombinedTotal",this.quizzes.length),this.prop("CombinedPassed",this.reduceQuizzes((function(e,t){return e+(t.isPassed()?1:0)}),0)),this.prop("CombinedFailed",this.quizzes.length-this.prop("CombinedPassed")),this},getCurrentMaxPoints:function(){return this.quizzes.length>0&&(this.currentMaxPoints=this.quizzes.reduce((function(e,t){return e+t.getMaxPoints()}),0)),this.currentMaxPoints},getMaxPoints:function(){return"partial"===this.scoretype()?this.getCurrentMaxPoints():this.maxPoints},calcPassScore:function(){return A(d.pctToDec(this.prop("PassPercent"))*this.getMaxPoints())},updatePassScore:function(){return this.prop("PassScore",this.calcPassScore()),this},calcPercentScore:function(){return A(d.decToPct(this.prop("Score")/(this.getMaxPoints()||1)))},updatePercentScore:function(){return this.prop("PercentScore",this.calcPercentScore()),this},calcMaxPoints:function(){return this.calcThisMaxPoints()+this.calcChildMaxPoints()},calcThisMaxPoints:function(){return c(this.flatInteractions).invokeMap("maxpoints").reduce(d.add,0)},calcChildMaxPoints:function(){return this.reduceQuizzes((function(e,t){return e+t.calcMaxPoints()}),0)},reduceQuizzes:function(e,t){return 0===this.quizzes.length?t:this.quizzes.reduce(e.bind(this),t)},updateMaxPoints:function(){return this.maxPoints=this.calcMaxPoints()||1,this},updateCurrentMaxPoints:function(){return this.currentMaxPoints=this.calcCurrentMaxPoints(),this},calcCurrentMaxPoints:function(){return c.reduce(this.viewedInteractions,(function(e,t){return e+t}),0)},updateViewedInteractions:function(){var e=this;return this.flatInteractions.forEach((function(t){t.viewed&&null==e.viewedInteractions[t.absoluteId]&&(e.viewedInteractions[t.absoluteId]=t.maxpoints())})),this},onInteractionEvaluated:function(e){this.updateScore().updateAllQuestionsSubmitted(),S.trigger(p.interaction.EVALUATED,this,e)},onInteractionViewed:function(e,t){null==this.viewedInteractions[e]&&(this.viewedInteractions[e]=t),this.updateCurrentMaxPoints()},onInteractionAnswered:function(e){this.prop("AllQuestionsAnswered",this.getUnansweredInteractions().every(T)),S.trigger(p.quiz.INTERACTION_ANSWERED,this)},onChangeScoreProp:function(){this.updatePercentScore()},updateAllQuestionsSubmitted:function(){return this.prop("AllQuestionsSubmitted",this.getUnsubmittedInteractions().every(T)),this},getUnsubmittedInteractions:function(){var e="viewed"===this.submitunanswered()?D:w;return this.flatInteractions.filter(e)},getUnansweredInteractions:function(){var e="viewed"===this.submitunanswered()?x:b;return this.flatInteractions.filter(e)},attempted:function(){return this.flatInteractions.length!==this.getUnansweredInteractions().length||this.quizzes.some((function(e){return e.attempted()}))},evalAllUnanswered:function(){var e=u.getCurrentWindowSlide();return null!=e&&e.storeInteractionResults(),this.prop("Evaluated")||(this.getUnsubmittedInteractions().forEach((function(e){e.evaluateUnanswered()})),this.quizzes.forEach((function(e){e.evalAllUnanswered()})),this.prop("Evaluated",!0)),this.quizzes.forEach((function(e){e.evalAllUnanswered()})),this.updateScore(),this.setResumeInMotion(),this.timeComplete=this.timeComplete||new Date,this},setQuizComplete:function(){var e=this.completed;this.completed=!0,this.prop("QuizComplete",this.quizzes.every((function(e){return e.getIsComplete()}))),this.updateScore(),e||S.trigger(p.quiz.COMPLETED,this),this.hasScoring()&&this.getScoring().checkCourseComplete(),this.timeComplete=new Date},getIsComplete:function(){return!0===this.prop("QuizComplete")},setResumeInMotion:function(){this.slides.forEach((function(e){e.updateInteractionData().onAfterResumeBuilt(!0)}))},getResumeData:function(){return[Number(this.prop("Evaluated")),Number(this.prop("QuizComplete"))].join("")},setResumeData:function(e){this.prop({Evaluated:"1"===e.charAt(0),QuizComplete:"1"===e.charAt(1)}),this.updateViewedInteractions(),this.updateCurrentMaxPoints(),this.updateScore(),this.hasScoring()&&this.getScoring().updateStatus(),this.updateAllQuestionsSubmitted()},setScoring:function(e){this.scoring=e},getScoring:function(){return this.scoring},hasScoring:function(){return!!this.getScoring()},getAttempts:function(){return this.attempts},markAttemptsSent:function(){this.flatInteractions.forEach((function(e){e.markAttempts()})),this.quizzes.forEach((function(e){e.markAttemptsSent()}))},getAoSoapXml:function(){var e=[f.writeNode("quiz",this.getQuizAttributes())];return this.quizzes.length?e.push(this.getQuizzesXml()):(e.push(f.writeNode("interactions")),this.flatInteractions.forEach((function(t){e.push(t.getAoSoapXml())})),e.push(f.writeCloseNode("interactions"))),e.push(f.writeCloseNode("quiz")),e.join("")},getQuizAttributes:function(){var e=this.isType("survey"),t=this.getIsComplete()?h.statuses.COMPLETE:h.statuses.INCOMPLETE,n=this.isPassed()?h.statuses.PASSING:h.statuses.FAILING,i=e?t:n,r={idRef:this.id,duration:0,status:i};return e||(r.score=Math.floor(100*this.prop("Score"))/100,r.possibleScore=this.maxPoints),r},getQuizzesXml:function(){var e=[f.writeNode("quizzes")];return this.quizzes.forEach((function(t){e.push(t.getAoSoapXml())})),e.push(f.writeCloseNode("quizzes")),e.join("")}});return o.prototype.model=M,M}.call(t,n,t,e))||(e.exports=i)},5011:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(4998),o=n(4585),s=n(3949),a=n(1102),l=DS._,c=DS.pubSub,u=DS.BaseModel,d=DS.Chunk,h=DS.subscribable,p=DS.events,f=DS.utils;return u.extend({mixins:[r,o,h],shorthand:["events"],subscriptions:(i={},i[p.request.NEXT_SLIDE]="onNextSlide",i[p.slide.STARTED]="onSlideReady",i[p.resume.RESET_DATA]="onResetData",i),shortEvents:{self:(t={},t[s.SHOW_TIMER]="onShowTimer",t[s.HIDE_TIMER]="onHideTimer",t[s.START_TIMER]="onStartTimer",t[s.PAUSE_TIMER]="onPauseTimer",t[s.RESET_TIMER]="onResetTimer",t)},initialize:function(){l.bindAll(this,"onNextSlide","onSlideReady","onResetData","onUpdate","onComplete");var e=this.get("duration");this.duration=f.toSeconds(e);var t={onUpdate:this.onUpdate,onComplete:this.onComplete};this.timeline=new a(e,t),this.resumeOnSlideReady=this.started=!1},onResetData:function(){this.resumeOnSlideReady=!1,this.deferredResumeData="",this.timeline.progress(0),this.trigger("tick",0,0,this.duration)},onNextSlide:function(){this.resumeOnSlideReady=this.started,this.timeline.pause()},onSlideReady:function(){this.resumeOnSlideReady&&this.timeline.play()},elapsed:function(e,t){if(null==e)return this.duration*this.timeline.elapsedPercentage();this.timeline.progress(f.toMilliseconds(e,3),t)},onShowTimer:function(){c.trigger(p.timer.SHOW,this),this.onUpdate()},onHideTimer:function(){c.trigger(p.timer.HIDE,this)},onStartTimer:function(){this.started=!0,this.timeline.play()},onPauseTimer:function(){this.started=!1,this.resumeOnSlideReady=!1,this.timeline.pause()},onResetTimer:function(){this.started=!1,this.onResetData()},onUpdate:function(){this.started&&this.trigger("tick",this.timeline.elapsedPercentage(),this.elapsed(),this.duration)},onComplete:function(){c.trigger(p.timer.COMPLETE),this.executePlayerEvent("timercomplete")},setResumeData:function(e){var t;"1"===e.charAt(0)&&(this.trigger("show"),this.trigger("start"),t=d.fromSignedString64(e.substr(1)),this.elapsed(f.toSeconds(t),!0),this.deferredResumeData="")},getResumeData:function(){return[this.started||this.resumeOnSlideReady?"1":"0",d.toSignedString64(f.toMilliseconds(this.elapsed()),3)].join("")}})}.call(t,n,t,e))||(e.exports=i)},4585:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4196),i=n(2637),r=DS._,o=DS.utils,s=DS.errorManager.throwError("eventable"),a={isEventable:!0,hasEvent:function(e){return this.getEvents(e).length>0},getEvents:function(e){var t=this.events()||[];return t&&r.union(r.filter(t,{kind:e}),r.filter(t,{eventName:e}),r.filter(t,{eventname:e}))},getFilteredPlayerEvent:function(e,t,n){var o=this.getEvents(t);return 0===o.length?{events:i.empty,data:n}:(n&&!r.isObject(n)&&s("executeFilteredPlayerEvent","data supplied must be an object"),n=r.extend(n||{},{context:this.getClosestEventTarget(),eventType:t}),{events:new i(o).filter(e),data:n})},executeFilteredPlayerEvent:function(e,n,i){var r=this.getFilteredPlayerEvent(e,n,i);return r.events.forEach((function(e){null!=e.actions&&t.executeActions(e.actions,r.data)})),this},traceFilteredPlayerEvent:function(e,n,i){var r=this.getFilteredPlayerEvent(e,n,i);return r.events.map((function(e){return t.traceActions(e.actions,r.data)})).flatten()}};return r.extend(a,{executePlayerEvent:r.partial(a.executeFilteredPlayerEvent,o.alwaysTrue),tracePlayerEvent:r.partial(a.traceFilteredPlayerEvent,o.alwaysTrue)}),a}.call(t,n,t,e))||(e.exports=i)},4554:function(e,t,n){var i;i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.events,r=DS.constants,o=DS.Backbone,s=function(e){return e[r.PLAYER_PROPS_KEYPATH]},a=function(e,t){return e[r.PLAYER_PROPS_KEYPATH].set(t),e},l={init:function(){var e,t;this.variableMap={},e=this,t=new o.Model,e[r.PLAYER_PROPS_KEYPATH]=t,this.createVariableProps().createPlayerProps(),this.once(i.data.UPDATED,this.createPlayerProps.bind(this))},getStaticPlayerProps:function(){return{Id:this.id,AbsoluteId:this.absoluteId&&n.stripPlayer(this.absoluteId),parent:this.parent}},isVariableProp:function(e){if(this.variableProps)return t.has(this.variableProps,e)},getVariableProp:function(e){return this.variableMap[e]},createVariableProps:function(){var e={};return this.variableProps&&(this.variableMap=t.reduce(this.variableProps,function(t,n,i){return t[i]=this.variables().addVariable({name:i,type:n.type,value:n.value,resume:null==n.resume||n.resume},this),e[i]=n.value,t}.bind(this),{}),this.variableProps=e),this},createPlayerProps:function(e,n){n=n||{};var i=t.extend({},this.getStaticPlayerProps(),this.getTransformedPropsObj(),e?{}:this.decodedResumeData);return a(this,t.omit(i,n)),s(this)},prop:function(e,n){var i=void 0===n&&!t.isObject(e),r=s(this);if(i)return r.get(e);(r.set(e,n),this.isVariableProp(e))&&this.getVariableProp(e).value(n);return this},getPlayerProps:function(){return s(this)},getVariableProps:function(){var e=this.variableProps||{};return t.forEach(e,function(t,n){if(this.isVariableProp(n)){var i=this.getVariableProp(n);i&&(e[n]=i.value())}}.bind(this))},getTransformedPropsObj:function(){var e=this.playerPropNames||{},n=t.omit(e,"model"),i=t.transform(e.model,function(e,t,n){e[n]=this.get(t)}.bind(this));return t.extend(n,i,this.getVariableProps())},hasOwnPlayerProp:function(e){return s(this).has(e)},prepareResumeData:function(e){return e=e||{},this.onBeforeResumeBuilt(e),t.isFunction(this.buildResumeData)&&this.buildResumeData(e.force,e.retainState),e.skipPostBuild||this.onAfterResumeBuilt(e.retainState),this},resetProps:function(){this.createPlayerProps(!0)},resetPropsExcept:function(e){this.createPlayerProps(!0,e)},resetSpecifiedProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Object.assign({},this.getStaticPlayerProps(),this.getTransformedPropsObj());return a(this,t.pick(n,e)),s(this)},getPlayerPropsRaw:function(){return this.getPlayerProps().toJSON()},onAfterResumeBuilt:t.noop,onBeforeResumeBuilt:t.noop};return l}.call(t,n,t,e),void 0===i||(e.exports=i)},2452:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.Chunk,i=DS.constants,r=[i.statuses.CORRECT,i.statuses.INCOMPLETE,i.statuses.INCORRECT,i.statuses.NEUTRAL],o=function(e,t){return e>-1?"0"+n.toUnsignedString64(e,2):"1"+n.create(t)},s=function(e,t){return[e,t].join(".")},a=t.partial(s,"statements"),l=t.partial(s,"choices");return{init:function(){t.bindAll(this,"responseToResumeData")},updateInitialAttemptCount:function(){this.initialAttemptCount=this.prop("AttemptCount"),this.responsesBuiltOnExit=!1},getResumeData:function(){var e=this.prop("AttemptCount"),t=n.toUnsignedString64(e,2);return this.initialAttemptCount!==e||this.responsesBuiltOnExit||this.buildResponses(),t+=[this.prop("Answered")?1:0,this.prop("Unanswered")?1:0,e>0?this.getAttemptResumeData():this.getNoAttemptResumeData()].join("")},getResponseResumeData:function(){var e=t.isEmpty(this.responses)?this.lastResponses:this.responses;if("hotspot"===this.type()&&!t.isEmpty(e)){var i=e[0].split(".")[1],r=t.findIndex(this.choices(),{id:i});return n.create(n.toSignedString64(r))}},setResponseResumeData:function(e){if("hotspot"===this.type()){var t=e.getUnsignedValue(),n=this.choices()[t].id;this.lastResponses=[l(n)]}},getAttemptResumeData:function(){return[r.indexOf(this.prop("Status")),n.create(n.toSignedString64(this.prop("Score"))),n.create(n.toSignedString64(this.prop("LastScore"))),n.create(n.toSignedString64(this.prop("AnswerIndex"))),this.getResponseResumeData()].join("")},getNoAttemptResumeData:function(){var e=this.responses||[];return n.toUnsignedString64(e.length,2)+e.map(this.responseToResumeData.bind(this)).join("")},responseToResumeData:function(e){var i,r,s,a=this.isValidResponse(e),l=this.isPairResponse(e),c=(a?2:0)+(l?1:0),u=n.toUnsignedString64(c,1);return a&&(r=l?e.choiceResponse:e,t.isString(r)||(r=r.value()),s=t.findIndex(this.choices(),{id:r.split(".")[1]}),u+=o(s,r),l&&(i=t.findIndex(this.statements(),{id:e.statementResponse.split(".")[1]}),u+=o(i,e.statementResponse))),n.create(u)},reset:function(){this.resetResume(!0)},resetResume:function(e){!0===e?this.resetProps():this.resetPropsExcept("LastScore"),this.resetResponses()},resetResponses:function(){this.responses=[],this.curAnswer=null},setResumeData:function(e){if(null!=e&&""!==e){var t=function(t){var n=e.slice(0,t);return e=e.slice(t),n};this.prop({AttemptCount:n.fromUnsignedString64(t(2)),Answered:"1"===t(1),Unanswered:"1"===t(1)}),this.prop("AttemptCount")>0?this.setAttemptResumeData(e):this.setNoAttemptResumeData(e)}},setAttemptResumeData:function(e){var t,i,o=parseInt((t=1,i=e.slice(0,t),e=e.slice(t),i)),s=new n({fullString:e}),a=s.reChunk(),l=a.reChunk(),c=l.getSignedValue(),u=l.reChunk();this.setResponseResumeData(u),this.prop({Status:r[o],Score:s.getSignedValue(),LastScore:a.getSignedValue(),AnswerIndex:c}),this.curAnswer=this.answers()[c]},setNoAttemptResumeData:function(e){for(var t,i,r,o,s,c,u,d=function(t){var n=e.slice(0,t);return e=e.slice(t),n},h=function(){return"0"===d(1)},p=function(){var t=new n({fullString:e}),i=t.encodedString();return e=t.remainder(),i},f=n.fromUnsignedString64(d(2)),g=new n({fullString:e});f--;)e=g.encodedString(),g=g.reChunk(),i=1&(t=n.fromUnsignedString64(d(1),10)),2&t&&(h()?(o=n.fromUnsignedString64(d(2)),c=this.choices()[o].id,r=l(c)):r=p(),i&&(h()?(s=n.fromUnsignedString64(d(2)),u=a(this.statements()[s].id)):u=p(),r={choiceResponse:r,statementResponse:u}),this.responses=this.responses||[],this.responses.push(r))}}}.call(t,n,t,e))||(e.exports=i)},5565:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.Chunk,i=DS.vow,r=(DS.utils,DS.playerGlobals),o=DS.events,s=DS.resumer,a=DS.pubSub,l="slides",c="slidedraws",u={arrays:{slides:"slidesResume",slidedraws:"slidedrawsResume"},maps:{slides:"slidesResumeMap",slidedraws:"slidedrawsResumeMap"},arrGetters:{slides:"getResumableSlidesArray",slidedraws:"getResumableDrawsArray"},indexGetters:{slides:"getSlideMapIndexOf",slidedraws:"getDrawMapIndexOf"}},d=function(e){return e.isSlideDraw||e.resume()||e.hasInteractions()||r.player.isReadOnlyOnce()},h={postInit:function(){r.player&&r.player.hasData?this.onPlayerInitialized():a.once(o.player.INITIALIZED,this.onPlayerInitialized.bind(this))},onPlayerInitialized:function(){var e;this.isScene&&(this.createSlideResumeArray(),this.hasDraws()&&(e=this.slidedraws().invoke("getSlidePromise"),i.after.apply(i,e).then(this.createDrawResumeArray.bind(this))))},getResumableArray:function(e){return this[e]().filter(d)},createSlideResumeArray:function(){return this.slidesResumeMap=[],this.slidesResume=this.slides().filter(d).reduce(function(e,t){return this.slidesResumeMap.push(t.index()),e.push(n.EMPTY_CHUNK),e}.bind(this),[]),this},createDrawResumeArray:function(){this.slidedrawsResumeMap=[],this.slidedrawsResume=this.slidedraws().reduce(function(e,t){return t.createSlideResumeArray(),this.slidedrawsResumeMap.push(t.index()),e.push(n.create(t.getResumeData())),e}.bind(this),[])},createOrderArray:function(e){this.resumeOrder=e.map(function(e){return n.toUnsignedString64(this.sliderefs().indexOf(e),2)}.bind(this)).join("")},getMapIndexOf:function(e,t){return this[e].indexOf(t.index())},saveData:function(e,t){if(d(t)){var i=u.indexGetters[e],r=u.arrays[e],o=this[i](t);this[r][o]=n.create(t.getResumeData())}this.isScene?s.savePresentationData(this):this.getScene().saveDrawData(this)},getResumeData:function(){return this[this.isSlideDraw?"getDrawResume":"getSceneResume"]()},getDrawResume:function(){var e=this.variables();return[n.create(this.resumeOrder),this.slidesResume.join(""),e.length?n.create(e.getResumeDataOrReturn("")):""].join("")},getSceneResume:function(){var e=this.variables();return[e.length?n.create(e.getResumeDataOrReturn("")):"",this.slidesResume.join(""),(this.slidedrawsResume||[]).join("")].join("")},clearResumeData:function(){this.createSlideResumeArray()},setResumeData:function(e){""!==e&&null!=e&&this[this.isSlideDraw?"setDrawResume":"setSceneResume"](e)},setSceneResume:function(e){var t,i=new n({fullString:e}),r=i,o=this.variables();o.length&&(o.setResumeData(i.encodedString()),r=i.reChunk()),t=this.setSlideResumeData(r),this.setDrawsResumeData(t)},setDrawResume:function(e){var t,i=new n({fullString:e}),r=i.reChunk(),o=this.variables();this.setSlidesInResumeOrder(i.encodedString()),t=this.setSlideResumeData(r),o.length&&o.setResumeData(t.encodedString()),this.slideDfd.resolve(this.slides())},setSlidesInResumeOrder:function(e){var t,i;for(this.resumeOrder=[];e.length>0;)t=e.slice(0,2),this.resumeOrder.push(n.fromUnsignedString64(t)),e=e.slice(2);i=this.resumeOrder.map(function(e){return this.sliderefs()[e]}.bind(this)),this.generateSlides(i)},setSlidesOrDrawsResumeData:function(e,t){var i,r=this[u.arrGetters[e]](),o=this[u.arrays[e]];return r.forEach((function(e,r){i=t.encodedString(),o[r]=n.create(i),e.setResumeData(i),t=t.reChunk()})),t}};return h.saveSlideData=t.partial(h.saveData,l),h.saveDrawData=t.partial(h.saveData,c),h.getSlideMapIndexOf=t.partial(h.getMapIndexOf,u.maps[l]),h.getDrawMapIndexOf=t.partial(h.getMapIndexOf,u.maps[c]),h.getResumableSlidesArray=t.partial(h.getResumableArray,l),h.getResumableDrawsArray=t.partial(h.getResumableArray,c),h.setSlideResumeData=t.partial(h.setSlidesOrDrawsResumeData,l),h.setDrawsResumeData=t.partial(h.setSlidesOrDrawsResumeData,c),h}.call(t,n,t,e))||(e.exports=i)},5620:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6974),i=DS._,r=DS.Chunk,o=function(e){return!!e.isSlide};return{init:function(){this.getResumeDataOrReturn=i.partial(t.meetConditionOrReturn,this,this.isViewed)},getResumeData:function(){return this.encodedResumeData},buildResumeData:function(e){(e&&this.isOpen||this.resume())&&(this.encodedResumeData=this.shownInCurrentView?[this.timeline().getResumeData(),this.getObjectsResumeData(e),this.audiolib().getResumeData(e),this.variables().getResumeDataOrReturn("")].map(r.create).join(""):this.viewed?this.cachedResumeData:"")},getObjectsResumeData:function(e){return this.objectIndex.filter(t.getResumeableFilter(e)).reduce((function(t,n){return t+r.create(n.getResumeData(e))}),"")},clearResumeData:function(){this.cachedResumeData="",this.isViewed=!1,this.baseLayerPauses=[]},resetResume:function(){this.encodedResumeData="",this.resetBeforeView()},resetBeforeView:function(){return this.timeline().resetResume(),this.variables().resetValues(),this.resetProps(),this.audiolib().resetBeforeView(),this.baseLayerPauses=[],i.invokeMap(this.objDecendants,"resetResume"),this},setResumeData:function(e,t){if(this.cachedResumeData=e,(t||this.shouldResume())&&e){this.wasForcedResumed=t;var n=new r({fullString:e}),i=n.reChunk(),o=i.reChunk(),s=o.reChunk();this.setAsViewed(!0),this.timeline().setResumeData(n.encodedString()),this.setObjectsResumeData(i.encodedString(),t),this.audiolib().setResumeData(o.encodedString(),t),this.variables().setResumeData(s.encodedString())}},applyResumeData:function(){return this.setResumeData(this.encodedResumeData),this},setObjectsResumeData:function(e,n){var i=new r({fullString:e});this.objectIndex.filter(t.getResumeableFilter(n)).forEach((function(e){e.setResumeData(i.encodedString()),i=i.reChunk()}))},onBeforeResumeBuilt:function(e){this.objects().invoke("prepareResumeData",e)},shouldResume:function(){return this.resume()&&this.getClosestAncestor(o).resume()},willLayerResume:function(){return!!this.resume()&&this.getClosestAncestor(o).willLayerResume(this)}}}.call(t,n,t,e))||(e.exports=i)},82:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.events,i=DS.utils,r=(DS.keyManager,DS.Chunk),o=1,s=2,a=4,l=8,c=16,u=32,d=64,h=128,p=256,f=512,g=1024,m=2048,v=4096,S=1,y=2,b=4,w=8,C=4094,x=function(e){return!!e.isBaseLayer},D=function(e,t){var n=e.slice(0,t);return{data:e=e.slice(t),substr:n}},E=function(e,t,n){return r[!0===n?"fromUnsignedString64":"fromSignedString64"](e(t))};return{resetResume:function(){this.encodedResumeData="",this.setDecodedResumeDataObj(),this.resetObjectBeforeResume()},getResumeData:function(){return this.encodedResumeData||""},getFullResumeData:function(e){return this.buildResumeData(e).getResumeData()},buildResumeData:function(e){var t,n=0,i="",S=this.prop("DragConnected");return(this.shouldResume()||e)&&(this.isInDefaultState()||(n+=o,i+=r.toUnsignedString64(this.getCurrentStateIndex(),2)),this.isDraggable()&&S&&(n+=l,i+=r.toUnsignedString64(S.prop("slideIndex"),2),i+=r.toUnsignedString64(this.prop("DropIndex"),1)),this.isAtNewDepth()&&(n+=u,i+=r.toSignedString64(this.prop("depth"),2)),this.isShuffled()&&(n+=d,i+=r.toSignedString64(this.prop("ShuffleXPos"),2),i+=r.toSignedString64(this.prop("ShuffleYPos"),2),i+=r.toUnsignedString64(this.prop("tabIndex"),2)),n+=this.prop("OnStage")*a,n+=this.prop("Moved")*h,n+=this.prop("ReviewMode")*g,n+=this.prop("HiddenByLayer")*v,n+=this.prop("MouseOver")*m,n+=!this.prop("Enabled")*f,n+=!this.prop("TimelineControlled")*p,(t=this.variables().getResumeDataOrReturn(!1))&&(n+=s,i+=t),this.hasAnimated()&&(n+=c,this.animationStateData=this.getAnimationResumeState(),this.trigger("addanimationdata",this.collectAnimationResumeData.bind(this)),this.buildAnimationResumeData(this.animationStateData),i+=this.getAnimationResumeData())),this.encodedResumeData=r.toUnsignedString64(n,3)+i,this},getAnimationResumeData:function(e){return r.create(this.animationResumeData)},collectAnimationResumeData:function(e){this.animationStateData=t.extend(this.animationStateData,e)},buildAnimationResumeData:function(e){var t=this.getInitParentContainer(),n=this.getParentContainer(),i=n!==t,o=C,s=0;this.animationResumeData="",(i||this.isScaled()||this.isRotated()||this.isInNewPosition())&&(s+=S,this.animationResumeData+=r.toSignedString64(Math.round(e.RawXPos),2,!0),this.animationResumeData+=r.toSignedString64(Math.round(e.RawYPos),2,!0),i&&(o=n.isSlideLayer||n.isSlide?4095:n.prop("slideIndex")),this.animationResumeData+=r.toUnsignedString64(o,2),this.isScaled()&&(s+=y,this.animationResumeData+=r.toSignedString64(e.ScaleX,2),this.animationResumeData+=r.toSignedString64(e.ScaleY,2)),this.isRotated()&&(s+=b,this.animationResumeData+=r.toSignedString64(e.Rotation,2))),this.isAlphaed()&&(s+=w,this.animationResumeData+=r.toUnsignedString64(e.Alpha,2)),s>0&&(this.animationResumeData=r.toUnsignedString64(s,1)+this.animationResumeData)},setDecodedResumeDataObj:function(){this.decodedResumeData={}},setDecodedResumeProp:function(e,n){var i={};t.isObject(e)?i=e:i[e]=n,t.extend(this.decodedResumeData,i)},forceUpdateResume:function(){this.prop(this.decodedResumeData||{})},setResumeData:function(e){var n=this;if(this.setDecodedResumeDataObj(),t.isEmpty(e))return this;this.setTransformDirty();var r,v,S,y,b,w=t.partial(E,(function(t){var n=D(e,t);return e=n.data,n.substr})),C=w(3,!0);if(C&o?this.setDecodedResumeProp("ObjectState",this.getStateFromIndex(w(2))):this.setDecodedResumeProp("ObjectState","_default"),C&l&&(r=w(2),this.setDecodedResumeProp("DropIndex",w(1)),v=this.getClosestAncestor(x).getObjectByIndex(r),this.setDecodedResumeProp("DragConnected",v),this.setDecodedResumeProp("DropTargetId",v.id)),C&u&&this.setDecodedResumeProp("depth",w(2)),C&d&&(S=w(2),y=w(2),b=w(2,!0),this.prop("tabIndex",b),null!=this.currView&&(this.currView.idx=b),this.setDecodedResumeProp({ShuffleXPos:S,RawXPos:S,ShuffleYPos:y,RawYPos:y})),this.setDecodedResumeProp({Moved:!!(C&h),TimelineControlled:!(C&p),Enabled:!(C&f),ReviewMode:!!(C&g),MouseOver:!!(C&m)}),C&s){if(e=this.variables().setResumeData(e),this.setDecodedResumeProp(this.getVariableProps()),this.isKind("droparea")){var T=this.variables().get("SelectedItem");if(null!=T){var P=T.value();if(-1!==P){var I=this.getClosestAncestor(x).getObjectByIndex(P);this.prop("DragConnectData",I.get("connectdata"))}}}if(this.isKind("sequencectrl")){var A=this.variables().get("ItemOrder");if(null!=A){var M=A.value().split(""),k=i.getPath(this,"data.itemlist");M.forEach((function(e,t){n.prop("_pos".concat(t),k[e].itemdata)}))}}}return C&c&&this.setAnimationResumeData(e),this.setDecodedResumeProp("OnStage",!!(C&a)),this.prop(this.decodedResumeData),this},setAnimationResumeData:function(e){var t,n,i,o,s,a={},l=new r({fullString:e}),c=l.encodedString(),u=function(e,t){var n=r.fromOverflowString64(c,e,t),i=n.length,o=n.value;return c=c.slice(i),o};return c.length&&((t=r.fromUnsignedString64((s=D(c,1),c=s.data,s.substr)))&S&&(a.RawXPos=u(2),a.RawYPos=u(2),(n=u(2,!0))!==C&&(i=this.getClosestAncestor(x),o=4095===n?i:i.getObjectByIndex(n),this.reparentChild(o))),t&y&&(a.ScaleX=u(2),a.ScaleY=u(2)),t&b&&(a.Rotation=u(2)),t&w&&(a.Alpha=u(2,!0)),this.setDecodedResumeProp(a)),l.remainder()},setResumeDataLimited:function(e){var n=function(t){var n=D(e,t);return e=n.data,n.substr},i=t.partial(E,n),r=i(3,!0);if(r&o&&this.setStateFromIndex(i(2)),r&s)return r&l&&n(3),r&u&&n(2),r&d&&n(4),this.variables().setResumeData(e),this},resetObjectBeforeResume:function(e){this.isKind("shufflegroup")?this.markAsReset():(this.variables().resetValues(),e||(this.trigger(n.resume.RESET),this.animations().length>0&&this.trigger("killAnimations"),this.resetPropsExcept("updateGifOnShow")))},onBeforeResumeBuilt:function(e){this.objects&&this.objects().invoke("prepareResumeData",e)},onAfterResumeBuilt:function(){},shouldResume:function(){return this.resume()&&!this.isKind("shufflegroup")&&this.getClosestAncestor(x).shouldResume()}}}.call(t,n,t,e))||(e.exports=i)},3635:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1039),i=n(6974),r=DS.events,o=(DS.utils,DS.Chunk),s=DS.courseStateHelper,a=function(e){return o.create(o.toUnsignedString64(e))};return{getResumeData:function(){return this.encodedResumeData||""},buildResumeData:function(e,t){var n="";if(this.viewed)if(e||this.resume()){var i=this.getBaseLayer();n=[this.getSlidePersistentData(),i.timeline().getResumeData(),i.getObjectsResumeData(e),this.getSlideLayerResumeData(e),this.slideLayers().getActiveLayersResumeData(),i.audiolib().getResumeData(e),this.variables().getResumeDataOrReturn("")].map(o.create).join("")}else n=o.create(this.getSlidePersistentData());this.setResumeData(n,!1,t)},getSlideLayerResumeData:function(e){return this.slideLayers().getNonBaseLayers().filter(i.getResumeableFilter(e)).reduce((function(e,t){var n=t.getResumeDataOrReturn("");return e+o.create(n)}),"")},getSlidePersistentData:function(){var e="";return e+=o.create(o.toUnsignedString64(this.elapsedTime)),e+=o.create(this.getLayerTimelinesData()),this.hasInteractions()&&(e+=this.interactions().map((function(e){return e.getResumeData()})).map(o.create).join("")),e},updateInteractionData:function(){var e;return this.hasInteractions()&&(e=new o({fullString:this.getResumeData()}).remainder(),this.encodedResumeData=o.create(this.getSlidePersistentData())+e),this},clearResumeData:function(){this.encodedResumeData="",this.hasResumeData=!1,this.slideLayers().forEach((function(e){e.clearResumeData()})),this.slideLayers().initialize()},resetResume:function(){this.encodedResumeData="",this.setResumeData(""),this.slidePersistentData=""},resetBeforeView:function(){return this.viewed&&(t.clearHitStates(this.id),this.resetPropsExcept(["WindowId"]),this.variables().resetValues(),this.slideLayers().hideAllHideableLayers(),this.slideLayers().resetActiveLayers(),this.slideLayers().getBaseLayer().resetResume(),this.slideLayers().resetActiveLayers().forEach((function(e){e.resetResume()}))),this.resume()||this.interactions().forEach((function(e){e.resetResume()})),this.resetCurrentTimeline(),this},setResumeData:function(e,t,n){return this.encodedResumeData=e,e.length>0?(this.slidePersistentData=new o({fullString:e}),this.setSlidePersistentData(this.slidePersistentData.encodedString(),n),(t||this.resume())&&(this.hasResumeData=!0,this.timelineData=this.slidePersistentData.reChunk(),this.objectData=this.timelineData.reChunk(),this.layerData=this.objectData.reChunk(),this.activeLayerData=this.layerData.reChunk(),this.audioData=this.activeLayerData.reChunk(),this.variableData=this.audioData.reChunk())):this.hasResumeData=!1,this},resumeSlideModel:function(){this.resume()&&this.hasResumeData&&(this.getBaseLayer().setObjectsResumeData(this.objectData.encodedString()),this.setSlideLayerResumeData(this.layerData),this.variables().setResumeData(this.variableData.encodedString()))},applyResumeData:function(){var e=!1,t=this.getBaseLayer(),n=s.getSlideStateData(this.absoluteId);return null!=n&&(e=!0,s.clearSlideStateData(this.absoluteId),this.setResumeData(n,!0)),(e||this.resume())&&this.hasResumeData&&(this.hasResumeData=!1,t.timeline().setResumeData(this.timelineData.encodedString()),t.setObjectsResumeData(this.objectData.encodedString(),e),this.setSlideLayerResumeData(this.layerData,e),this.variables().setResumeData(this.variableData.encodedString()),this.slideLayers().restoreActiveLayers(this.activeLayerData.encodedString()),this.trigger(r.resume.APPLIED)),this.trigger(r.resume.COMPLETE),this},setSlidePersistentData:function(e,t){var n=new o({fullString:e});this.elapsedTime=n.getUnsignedValue(),n=n.reChunk(),this.setLayerTimelinesData(n.encodedString()),n=n.reChunk(),this.hasInteractions()&&this.interactions().forEach((function(e){t||e.resetResponses(),e.setResumeData(n.encodedString()),n=n.reChunk()}))},setSlideLayerResumeData:function(e,t){var n=new o({fullString:e.encodedString()});this.slideLayers().getNonBaseLayers().filter(i.getResumeableFilter(t)).forEach((function(e){e.setResumeData(n.encodedString(),t),n=n.reChunk()}))},willLayerResume:function(e){if(null!=this.layerData){var t=new o({fullString:this.layerData.encodedString()});return this.slideLayers().some((function(n){if(n.resume()&&!n.isBaseLayer()){if(n===e)return t.strLength()>0;t=t.reChunk()}return!1}))}return!1},onBeforeResumeBuilt:function(e){this.slideLayers().invoke("prepareResumeData",e)},onAfterResumeBuilt:function(e){this.getSceneOrDraw().saveSlideData(this),e||this.getBaseLayer().timeline().silentReset()},getWindowResumeRef:function(){var e,t,n=this.getSlideDraw();return n?(e="1",t=[this.index(),n.getScene().index(),n.index()]):(e="0",t=[this.index(),this.getScene().index()]),e+t.map(a).join("")}}}.call(t,n,t,e))||(e.exports=i)},1060:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._,DS.utils;return{init:function(){this.detachedChildren={}},reparentChild:function(e,t){if(t!==this){var n=e.currView,i=t.currView;this.detachedChildren[e.absoluteId]={child:e,newParent:t},null!=n&&null!=i&&i.attachView(n)}else this.reattachChild(e)},reattachChild:function(e){var t=e.absoluteId,n=this.detachedChildren[t];this===e.parent&&delete this.detachedChildren[t],null!=n&&(this.currView.attachView(e.currView),n.newParent=this)},getChildParent:function(e){var t=this.detachedChildren[e.absoluteId];return null!=t?t.newParent:this}}}.call(t,n,t,e))||(e.exports=i)},6872:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i={anchora:{x:"start",dx:"dstart"},anchorb:{x:"end",dx:"dend"}};return t.extend({getSegmentPoint:function(e,t){var n=i[t];return{x:e[n.x],dx:e[n.dx],y:0,dy:0}}})}.call(t,n,t,e))||(e.exports=i)},2136:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(4761);var t=n(3753),i=DS._,r=DS.utils,o=DS.BaseModel,s=DS.resolver,a={exponetial:"expo",bounce:"bounce",circular:"circ",cubic:"power2",linear:"none",quadratic:"power1",quadradic:"power1",quartic:"power3",quintic:"power4",sine:"sine"},l={easein:"in",easeout:"out",easeinout:"inOut",none:"none"},c="cubic",u="line",d=i.partialRight(r.fix,2),h=/^[/$#]/;return o.extend({initialize:function(){i.bindAll(this,"getAttrConfig")},getAttrConfig:function(e){return this.hasDuration()?(null==this.points&&this.initPath(),this.buildConfig(e)):null},initPath:function(){this.segments=[],this.ptResolvers=[],this.segmentResolvers=[],i.forEach(this.get("path"),function(e,t){this.buildSegment(e,t)}.bind(this))},buildSegment:function(e,n){var i=e.type||u,r={points:[]},o=this.ptResolvers.length,s=function(){r.samples=t.getSamplePoints(r.points),r.distance=t.getDistance(r.points,r.samples)};this.buildSinglePoint(r,this.getSegmentPoint(e,"anchora")),i!==u&&this.buildSinglePoint(r,this.getSegmentPoint(e,"controla")),i===c&&this.buildSinglePoint(r,this.getSegmentPoint(e,"controlb")),this.buildSinglePoint(r,this.getSegmentPoint(e,"anchorb")),null!=this.extendSegmentConfig&&this.extendSegmentConfig(r,e),o===this.ptResolvers.length?s():this.segmentResolvers.push(s),this.segments.push(r)},getSegmentPoint:i.noop,extendConfig:i.identity,extendAfterUpdate:i.identity,buildSinglePoint:function(e,t){var n;this.isStaticPoint(t)?e.points.push(this.getAbsolutePoint(t)):(n=e.points.length,this.ptResolvers.push(function(){e.points[n]=this.getAbsolutePoint(t)}.bind(this)),e.points.push(null))},isStaticPoint:function(e){return this.isStaticValue(e.x)&&this.isStaticValue(e.dx)&&this.isStaticValue(e.y)&&this.isStaticValue(e.dy)},isStaticValue:function(e){return!i.isString(e)||!h.test(e)},getAbsolutePoint:function(e){return{x:d(this.getAbsoluteCoordinate(e.x,e.dx)),y:d(this.getAbsoluteCoordinate(e.y,e.dy))}},getAbsoluteCoordinate:function(e,t){return this.getValue(e)+this.getValue(t)},getValue:function(e){var t,n=this.getClosestThisRef();return r.isNumeric(e)?parseFloat(e):i.isString(e)?(t=s.resolvePath(e,n),parseFloat(t.isVar?t.value():t)):e},buildConfig:function(e){var t={delay:e,duration:this.getDuration(),ease:this.getEasing(),getPointAtTime:this.getPointAtTime.bind(this)};return t.update=this.updateConfig.bind(this,t),this.extendConfig(t)},hasDuration:function(){return null!=this.get("duration")},getDuration:function(){return this.get("duration")},getEasing:function(){var e=a[this.get("easing")],t=".".concat(l[this.get("easingdir")]);return"".concat(e).concat("none"!==e?t:"")},updateConfig:function(e){var t=0;this.ptResolvers.forEach((function(e){e()})),this.segmentResolvers.forEach((function(e){e()})),this.segments.forEach((function(e){e.start=t,t+=e.distance})),this.totalDistance=t,this.getIsRelative()||(e.update=i.noop),this.extendAfterUpdate(e)},getIsRelative:function(){return!(!this.ptResolvers||!this.ptResolvers.length)},getPointAtTime:function(e,n){var r,o,s=this.totalDistance*e,a=i.sortedIndexBy(this.segments,{start:s},"start");return(a>this.segments.length-1||s!==this.segments[a].start)&&a--,o=(e-((r=this.segments[a]).start/this.totalDistance||0))/(r.distance/this.totalDistance||1),this.lastSegmentInfo={index:a,adjustedTime:o},t.getNormalizedPointAtTime(o,r.points,r.samples,n)}})}.call(t,n,t,e))||(e.exports=i)},4481:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=DS._,r=DS.utils;return t.extend({initialize:function(){var e=this.get("path")[0];this.startTintPercent=parseInt(e.starttintpercent),this.endTintPercent=parseInt(e.endtintpercent),this.startBrightness=parseInt(e.startbrightness),this.endBrightness=parseInt(e.endbrightness)},getAttrConfig:function(e){return{delay:e,duration:this.getDuration(),ease:this.getEasing(),getPointAtTime:this.getPointAtTime.bind(this),update:i.noop}},getPointAtTime:function(e){return{x:r.clamp(0,100,this.startTintPercent+e*(this.endTintPercent-this.startTintPercent)+Math.abs(this.startBrightness+e*(this.endBrightness-this.startBrightness))),y:0}}})}.call(t,n,t,e))||(e.exports=i)},1249:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=DS._;return t.extend({extendConfig:function(e){return e.maskType=this.get("type"),e.maskProps=i.reduce(this.get("settings"),(function(e,t){return e[t.name]=t.value,e}),{}),e.maskProps.isExit="exit"===this.get("effecttype"),e},initPath:function(){this.ptResolvers=[],this.segmentResolvers=[],this.segments=[{distance:1,points:[{x:0,y:0},{x:1,y:0}]}]}})}.call(t,n,t,e))||(e.exports=i)},2427:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=DS._;return t.extend({extendConfig:function(e){return e.autoRotation=!!this.get("relativerotation"),e},extendAfterUpdate:function(e){e.autoRotation&&(e.closedPath=this.isClosedPath())},isClosedPath:function(){var e=this.segments[0].points[0],t=i.last(i.last(this.segments).points);return e.x===t.x&&e.y===t.y},getSegmentPoint:function(e,t){return e[t]}})}.call(t,n,t,e))||(e.exports=i)},4617:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i={anchora:{x:"start",dx:"dstart"},anchorb:{x:"end",dx:"dend"}};return t.extend({getSegmentPoint:function(e,t){var n=i[t];return{x:e[n.x],dx:e[n.dx],y:0,dy:0}}})}.call(t,n,t,e))||(e.exports=i)},6222:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i={anchora:{x:"startx",dx:"dsx",y:"starty",dy:"dsy"},anchorb:{x:"endx",dx:"dex",y:"endy",dy:"dey"}};return t.extend({extendConfig:function(e){return e.useGlobalAxes=!!this.get("useglobalaxes"),e},getSegmentPoint:function(e,t){var n=i[t];if("anchora"===t){var r=Number(e[n.dx]),o=Number(e[n.dy]);-100===r&&(e[n.dx]=(r+.01).toString()),-100===o&&(e[n.dy]=(o+.01).toString())}return{x:e[n.x],dx:e[n.dx],y:e[n.y],dy:e[n.dy]}}})}.call(t,n,t,e))||(e.exports=i)},4449:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2136),i=n(3753),r={anchora:{x:"startx",dx:"dstartx",y:"starty",dy:"dstarty"},anchorb:{x:"endx",dx:"dendx",y:"endy",dy:"dendy"}},o={anchora:{x:"startstretchx",y:"startstretchy"},anchorb:{x:"endstretchx",y:"endstretchy"}};return t.extend({extendConfig:function(e){var t=this.get("regpoint");return e.useGlobalAxes=!!this.get("useglobalaxes"),e.regPoint={x:parseFloat(t.x)+parseFloat(t.dx),y:parseFloat(t.y)+parseFloat(t.dy)},e.corner=this.get("corner")||"bottomright",e.getSecondaryPoint=this.getSecondaryPoint.bind(this),e},getSegmentPoint:function(e,t){var n=r[t];return{x:e[n.x],dx:e[n.dx],y:e[n.y],dy:e[n.dy]}},getSecondarySegmentPoint:function(e,t){var n=o[t];return{x:e[n.x],dx:0,y:e[n.y],dy:0}},extendSegmentConfig:function(e,t){var n={points:[]};this.buildSinglePoint(n,this.getSecondarySegmentPoint(t,"anchora")),this.buildSinglePoint(n,this.getSecondarySegmentPoint(t,"anchorb")),e.secondaryPoints=n.points},getSecondaryPoint:function(){var e=this.lastSegmentInfo||{index:this.segments.length-1,adjustedTime:1};return i.getNormalizedPointAtTime(e.adjustedTime,this.segments[e.index].secondaryPoints)}})}.call(t,n,t,e))||(e.exports=i)},4192:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(3305);var t=n(4021),i=n(7875),r=n(6568),o=n(3449),s=n(7379),a=n(8624),l=n(5853),c=n(4477),u=n(5157),d=n(9058),h=n(8996),p=n(7403),f=n(4283),g=n(8890),m=n(4594),v=n(3859),S=n(612),y=n(1703),b=n(3389),w=n(2942),C=n(1842),x=n(4207),D=n(7983),E=n(9138),T=n(9496),P=n(654),I=n(5894),A=n(2919),M=n(2994),k=n(5121),L=n(4864),R=n(4636),_=n(8663),O=n(6115),V=n(5556),N=n(1453),j=n(183),B=n(8266),F=n(7038),U=n(1409),H=n(4728),G=n(1487),W=n(6619),z=n(6874),q=n(5423),Y=n(4528),K=n(674),X=n(2421),Z=n(9197),Q=n(2869),$=n(7229),J=n(9574),ee=n(4201),te=n(6451),ne=n(6546),ie=n(4486),re=n(2768),oe=n(7767),se=n(596),ae=n(7352),le=n(4691),ce=n(4653),ue=n(1670),de=n(7099),he=n(7958),pe=n(1737),fe=n(2267),ge=n(3470),me=n(4586),ve=n(3874),Se=n(2269),ye=n(255),be=n(5550),we=n(5545),Ce=n(5467),xe=n(7800),De=n(9486),Ee=n(5422),Te=n(1149),Pe=n(5876),Ie=n(8836),Ae=n(7185),Me=n(8477),ke=n(9965),Le=n(7921),Re=n(7996),_e=n(1342),Oe=n(7134),Ve=n(2350),Ne=n(9542),je=n(6234),Be=n(7166),Fe=n(8414),Ue=n(6548),He=n(2851),Ge=n(2724),We=n(598),ze=n(2314),qe=n(6422),Ye=n(1958),Ke=n(222),Xe=n(8330),Ze=n(5417),Qe=n(4881),$e=n(7055),Je=n(6208),et=n(5530),tt=n(5153),nt=n(8764);return Object.assign(t,i,r,o,s,a,l,c,u,d,h,p,f,g,m,v,S,y,b,w,C,x,D,E,T,P,I,A,M,k,L,R,_,O,V,N,j,B,F,U,H,G,W,z,q,Y,K,X,J,$,ee,te,Z,Q,ne,ie,re,oe,se,ae,le,ce,ue,de,he,pe,fe,ge,me,ve,Se,ye,be,we,Ce,xe,De,Ee,Te,Pe,Ie,Ae,Me,ke,Le,Re,_e,Oe,Ve,Ne,je,Be,Fe,Ue,He,Ge,We,ze,qe,Ye,Ke,Xe,Ze,Qe,$e,Je,et,tt,nt)}.call(t,n,t,e))||(e.exports=i)},765:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,s=r.captionsManager,a=(r.flagManager,r.pubSub),l=r.vendorOverrides,c=r._,u=r.events;DS.flagManager.dropInBase&&(t=DS.DropIn);l.positionCaptions||c.noop;return t.createClass({displayName:"Captions",mixins:[DS.flagManager.dropInBase?i.dropIn:i],dropInSettings:{forceRebuild:!DS.flagManager.dropInCore},subscriptions:o({},u.window.SCALE,"onResize"),getDefaultProps:function(){return{fontscale:100}},onResize:function(){this.setState({winScale:this.props.getWinScale()})},getInitialState:function(){return{captions:[],showCaptions:s.isCaptionEnabled(),winScale:this.props.getWinScale()}},componentWillMount:function(){this.captions=[],a.on(u.captions.ENABLED,this.toggleCaptioning),a.on(u.slide.STARTED,this.clearAllCaptions);var e=this.props.slideContainer;c.bindAll(this,"onAddCaption","onRemoveCaption"),this.listenTo(e,u.captions.ADD,this.onAddCaption),this.listenTo(e,u.captions.REMOVE,this.onRemoveCaption)},componentWillUnmount:function(){var e=this.props.slideContainer;this.captions=[],a.off(u.captions.ENABLED,this.toggleCaptioning),a.off(u.slide.STARTED,this.clearAllCaptions),this.stopListening(e,u.captions.ADD,this.onAddCaption),this.stopListening(e,u.captions.REMOVE,this.onRemoveCaption)},componentDidUpdate:function(){var e=this,t=function(t){return t&&t.innerHTML.length>0&&t.scrollHeight>e.props.container.clientHeight&&t.innerHTML.includes(" ")};window.requestAnimationFrame((function(){var n,i=e.el.querySelector(".caption p");if(null!=i)for(n=e.prevClientHeight&&e.prevClientHeight<e.props.container.clientHeight&&e.captions.length>0,e.prevClientHeight=e.props.container.clientHeight,n&&(i.innerHTML=e.toHtml(e.captions[0]));t(i);){var r=i.innerHTML;i.innerHTML=r.substring(0,r.lastIndexOf(" "))+"..."}}))},toggleCaptioning:function(e){this.setState({showCaptions:e,font:s.getCaptionFont()})},clearAllCaptions:function(){this.captions=[],this.setState({captions:[]})},onAddCaption:function(e){this.captions.push(e),this.setState({captions:this.captions.slice()})},onRemoveCaption:function(e){c.remove(this.captions,(function(t){return t.textContent===e.textContent})),this.setState({captions:this.captions.slice()})},toHtml:function(e){var t,n,i,r,o=document.createElement("div");for(o.appendChild(e.cloneNode(!0)),n=o.querySelectorAll("q[data-voice]"),r=0;r<n.length;r++)t=(i=n[r]).getAttribute("data-voice"),i.innerHTML=[t,":"," ",i.innerHTML].join("");return o.innerHTML.replace(/&amp;/g,"&")}})}.call(t,n,t,e))||(e.exports=i)},6806:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(2500),o=DS.utils;DS.flagManager.dropInVideo&&(t=DS.DropIn);var s=t.createClass({displayName:"Icon",mixins:[DS.flagManager.dropInVideo?i.dropIn:i],template:function(){var e,t=this.props.templateName||(e=this.props.type,o.upperCaseFirst(e)+"Icon");return this.getTemplateManager().getTemplate(t).bind(this)()}});return DS.flagManager.dropInVideo&&(s.wrapped=r(s)),s}.call(t,n,t,e))||(e.exports=i)},6292:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(6274),n(7720),n(2616),n(472),n(1294),n(8204),n(3319),n(432),n(6677),n(7502)}.call(t,n,t,e))||(e.exports=i)},6677:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS,r=i._,o=i.utils,s=i.windowManager,a=i.dom,l=(i.resolver,function(e,t,n){var i=o.getPath(s.getCurrentWindow(),"refs.slideContainer.el"),r=a.mapShadowToModel(n.target),l=null==r?n.target:r.currView.el;return!!(!e.contains(l)&&(!t||null!=i&&i.contains(l)))&&{node:e,target:n.target}});t.registerEvent("clickoutside",(function(e){return function(t,n,i){var s=o.getPath(i,"props.model.isSlideObject",!1);return{teardown:r.flow(e(document.body,"click",r.partial(l,t,s),n),e(document.body,"touchstart",r.partial(l,t,s),n,!1,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},432:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(8972),o=DS._,s=function(e){var n=r.parentNodesOf(e.target);t=o.compact(o.invokeMap(n,"getAttribute","data-model-id")),i=(DS.windowManager.getCurrentWindowSlide()||{}).id},a=function(e){return{data:t||[],startingSlideId:i}};r.registerEvent("clickoutsideobjects",(function(e){return function(t,n){return[{teardown:o.flow(e(t,"mousedown",s,o.noop,!0),e(t,"touchstart",s,o.noop,!0))},{teardown:o.flow(e(t,"mouseup",a,n,!0),e(t,"touchend",a,n,!0))}]}}))}.call(t,n,t,e))||(e.exports=i)},6274:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS._,r=0;t.registerEvent("doubleclick",(function(e){return function(n,o){var s=function(e){var i;return r++,setTimeout((function(){r=0}),600),r>=2&&(i=!0,r=0,e.currentTarget.wasDoubleClicked=!0),(t.doesEventTargetAcceptEvents(e)||n.overrideAcceptEvents)&&i},a=i.flow(e(n,"mouseup",s,o,!0),e(n,"touchend",s,o,!0));return n.setAttribute("data-double-click",!0),{teardown:a}}}))}.call(t,n,t,e))||(e.exports=i)},8972:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5928),i=n(949),r=DS._,o=DS.dom,s=function(e){return function(t,n,s,a,l,c){var u={type:e,node:t},d=function(e){var t=!s||s(e);t&&a(r.extend({},u,t,{origEvent:e}))};return i.isTouchEventName(n)?i.on(t,n,d,l,c):o.on(t,n,d,l)}},a=function(e){return e instanceof window.SVGElement&&"svg"!==e.tagName},l=function(e){return e&&null!=e.getAttribute&&"events"===e.getAttribute("data-accepts")};return{registerEvent:function(e,n){t[e]=n(s(e))},on:o.on,off:o.off,parentNodesOf:o.parentNodesOf,isNodeSvgEl:a,isTgtSvgEl:function(e){return a(e.target)},isTgtVideoEl:function(e){return o.isVideoNode(e.target)},isLeftMouseBtn:function(e){return 1===e.which},isRightMouseBtn:function(e){return 3===e.which},doesEventTargetAcceptEvents:function(e,t){return l(e.target.ownerSVGElement)||(n=e.target.correspondingUseElement)&&null!=n.getAttribute&&"true"===n.getAttribute("data-pointer-events")&&l(n.ownerSVGElement)||!!o.closest(e.target,l,t)||!!e.target.dataset.pointerCapture;var n},isSpacebarClick:function(e){return["click","mouseup","mousedown"].indexOf(e.type)>=0&&(null==e.pageX||0===e.pageX)&&(null==e.pageY||0===e.pageY)}}}.call(t,n,t,e))||(e.exports=i)},5928:function(e,t,n){var i;void 0===(i=function(e){"use strict";return{}}.call(t,n,t,e))||(e.exports=i)},7720:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS._,r=function(e){return t.isLeftMouseBtn(e)&&t.doesEventTargetAcceptEvents(e)};t.registerEvent("press",(function(e){return function(n,o,s){return{teardown:i.flow(e(n,"mousedown",r,o),e(n,"touchstart",(function(e){if(t.doesEventTargetAcceptEvents(e))return s.triggerEvent({type:"rollover",target:e.target}),!0}),o,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},2616:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(8972),o=(n(949),DS._),s=DS.utils,a=DS.vendorOverrides,l=DS.detection,c=function(e){var t=e.currentTarget.wasDoubleClicked;return e.currentTarget.wasDoubleClicked=null,!!t},u=function(e){return e.classList.contains("slide-object")},d=function(e){if(e.touches.length>0)return i=!0,!1;var n=i,o=s.dist(t.x,t.y,e.changedTouches[0].clientX,e.changedTouches[0].clientY);return i=!1,!n&&o<20&&r.doesEventTargetAcceptEvents(e)&&!c(e)},h=function(e){t={x:e.touches[0].clientX,y:e.touches[0].clientY}};r.registerEvent("release",(function(e){return function(t,n,i){if(null!=a.registerAudioInitEvent){var s=a.registerAudioInitEvent(e,t,n,i);if(null!=s)return s}return[{teardown:e(t,"touchstart",h,o.noop,!0)},{teardown:o.flow(e(t,"mousedown",(function(i){var s;(function(e){return r.isLeftMouseBtn(e)&&r.doesEventTargetAcceptEvents(e,u)})(i)&&l.device.isDesktop&&(s=o.flow(e(t,"mouseup",(function(e){return s(),function(e){return!c(e)}(e)}),n),e(t,"mouseleave",(function(){s()}),o.noop)))}),o.noop),e(t,"touchend",d,n,!0))}]}}))}.call(t,n,t,e))||(e.exports=i)},7502:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=DS._;t.registerEvent("releaseoutside",(function(e){return function(t,n){var r,o,s=function(e,t){var n=document.elementFromPoint(t.pageX,t.pageY);return r&&r(),!e.contains(n)&&{node:e}},a=function(e,t){return s(e,i.first(t.changedTouches))},l=function(){r=i.flow(e(document,"mouseup",i.partial(s,t),n),e(document,"touchend",i.partial(a,t),n,!0,!1))};return o=i.flow(e(t,"mousedown",l),e(t,"touchstart",l)),{teardown:function(){r&&r(),o()}}}}))}.call(t,n,t,e))||(e.exports=i)},472:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=function(e){return t.isRightMouseBtn(e)&&t.doesEventTargetAcceptEvents(e)};t.registerEvent("rightpress",(function(e){return function(t,n){return{teardown:e(t,"mousedown",i,n)}}}))}.call(t,n,t,e))||(e.exports=i)},1294:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=function(e){return t.isRightMouseBtn(e)&&t.doesEventTargetAcceptEvents(e)};t.registerEvent("rightrelease",(function(e){return function(t,n){return{teardown:e(t,"mouseup",i,n)}}}))}.call(t,n,t,e))||(e.exports=i)},3319:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8972),i=n(8907),r=n(1689),o=DS._,s=(DS.utils,DS.dom),a=DS.vendorOverrides.mouseOver||function(){return"mouseenter"};t.registerEvent("rollout",(function(e){return function(t,n,l){l.props.model;var c,u=function(e){if(l.isMounted()){var o=s.mouseX,a=s.mouseY,u=i.globalPtToSlideObject(l,o,a),d=!1;l.props.model.isZoomable()&&(d=s.hasClass(document.elementFromPoint(o,a),"zoom-image")),d||r.containsPoint(l,u.x,u.y)||(n({type:"rollout",node:t,target:t}),clearInterval(c))}else clearInterval(c)};return{teardown:l.isObscurable?o.flow(e(t,a(),(function(e){l.isObscurable&&(l.rollOverHandler=u,clearInterval(c),c=setInterval(u,16))}),o.noop),e(t,"touchend",null,n,!0,!1)):o.flow(e(t,"mouseleave",(function(e){return!0}),n),e(t,"touchend",null,n,!0,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},8204:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(8972),r=DS._,o=DS.utils,s=DS.dom,a=DS.events,l=DS.pubSub,c=DS.globalEventHelper,u=c.addDocumentListener,d=c.removeDocumentListener;l.on(a.slide.HAS_CHANGED,(function(){t=null}));var h=function(e){return o.getPath(e,"props.model.isGroupingSlideObject")};i.registerEvent("rollover",(function(e){return function(n,o,a){return{teardown:r.flow(e(n,"mouseover",(function(e){s.updateMousePosition(e);var r=!1,o=a.props.model;if(null!=t&&null!=e.topView&&a!==e.topView&&e.topView===t&&(r=!0,!o.isGroupingSlideObject||o.isGroupingContainer))return e.stopImmediatePropagation(),!1;e.topView||(e.topView=a);var l,c,p;if(!r&&t&&t!==a&&"rollout"!==t.latestEvent&&t.state.Enabled)if(t.isObscurable)null!=t.rollOverHandler&&t.rollOverHandler();else{if(h(t))return t=a,!1;t.triggerEvent({type:"rollout",target:e.target})}return t=e.topView,c=0,p=function(e){c++},n.addEventListener("mousemove",p),u("mousemove",(function e(i){var r;if(DS.flagManager.dropInVectors&&1===c&&setTimeout((function(){var e=document.elementFromPoint(DS.dom.mouseX,DS.dom.mouseY);a.el.contains(e)||(l=h(a)?a.el:i.target,a.triggerEvent({type:"rollout",target:l}))}),30),!DS.flagManager.dropInVectors&&0===c&&!a.isObscurable){if(r=document.elementFromPoint(i.pageX,i.pageY),t.el===s.closest(r,s.isSlideObject))return;l=h(t)?a.el:i.target,a.triggerEvent({type:"rollout",target:l})}d("mousemove",e),n.removeEventListener("mousemove",p)})),i.doesEventTargetAcceptEvents(e)}),o),e(n,"touchstart",(function(e){return i.doesEventTargetAcceptEvents(e)}),o,!0,!1))}}}))}.call(t,n,t,e))||(e.exports=i)},949:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.dom,r=DS.detection,o=DS.appState,s=(DS.pubSub,DS.events,DS.slideObjectUtils),a=DS.globalEventHelper.addDocumentListener,l={},c=function(){return r.device.isMobile},u=["touchstart","touchmove","touchend","touchcancel"],d={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"};l.clickOrTouch=c()?"touchend":"click";var h=function(e){return c()?d[e]:e};a("touchstart",(function(e){1===e.touches.length?l.currentTouch=e.touches[0]:e.preventDefault()}),!0);var p=function(e,n){return function(r){var o;r.touches&&r.touches.length>1||(function(e){return t.some(e.changedTouches,(function(e){return e.identifier===l.currentTouch.identifier}))}(r)&&e(r),!n||i.isInput(r.target)||(o=r.target,i.isNodeOfType("select",o))||s.isScrollRelated(r.target)||i.hasClass(r.target,"acc-shadow-el")||r.preventDefault())}};l.on=function(e,t,n,i,r){var o="touchstart"===t,s=p(n,!1!==r);return o?(e.addEventListener(t,s,i),function(){e.removeEventListener(t,s,i)}):function(e,t,n,i){var r,o=p((function(e){(r=e.target).addEventListener(t,n,i),r.addEventListener("touchend",s)})),s=function e(){r&&(r.removeEventListener(t,n,i),r.removeEventListener("touchend",e))};return e.addEventListener("touchstart",o),function(){e.removeEventListener("touchstart",o),s()}}(e,t,s,i)},l.isTouchEventName=function(e){return t.includes(u,e)},l.addEventListener=function(e,t,n,i){e.addEventListener(h(t),n,!!i)},l.removeEventListener=function(e,t,n){e.removeEventListener(h(t),n)},l.getPageLoc=function(e){var t={};return e.touches&&1===e.touches.length?(t.pageX=e.touches[0].pageX,t.pageY=e.touches[0].pageY):(t.pageX=e.pageX,t.pageY=e.pageY),t};var f=function(e){this.started=!0,this.touchX=e.touches[0].pageX,this.touchY=e.touches[0].pageY,this.currTouchX=e.touches[0].pageX,this.currTouchY=e.touches[0].pageY,this.startScale=o.windowManager.getCurrentWindowSlide().currView.pinch.zoom},g=function(e){e.touches&&1===e.touches.length&&(this.currTouchX=e.touches[0].pageX,this.currTouchY=e.touches[0].pageY)},m=function(e){var t,i=o.windowManager.getCurrentWindowSlide().currView.pinch.zoom;this.started&&this.startScale===i&&(t=n.dist(this.touchX,this.touchY,this.currTouchX,this.currTouchY),this.started=!1,t<10&&this.callback())};return l.tap=function(e,t,n){var i={callback:n};t.addEventListener("touchstart",f.bind(i)),a("touchmove",g.bind(i)),t.addEventListener("touchend",m.bind(i))},l}.call(t,n,t,e))||(e.exports=i)},118:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5238),i=n(6361),r=n(8140),o=n(7349),s=n(3711),a=n(4461),l=n(8084),c=n(1743),u=n(292),d=n(5018),h=n(5543),p=n(7971),f=n(3104),g=n(3065),m=n(3846),v=DS._,S=DS.utils,y=DS.TransMatrix,b=DS.dom,w=DS.svgUtils,C=DS.vendorOverrides,x=DS.errorManager,D=DS.detection,E=DS.Backbone,T=DS.globalEventHelper.addWindowListener,P=["position","rotation","scale","skew","alpha","mask","colors"],I={position:"applyTranslation",scale:"applyScale",skew:"applySkew",rotation:"applyRotation",alpha:"applyAlpha",mask:"applyMask",colors:"applyColor"},A={checkerboard:i,circle:r,box:o,diamond:a,blinds:l,randombars:c,split:u,wheel:d,dissolve:h,plus:p,wipe:f,full:s,strips:g,wedge:m},M={right:{x:1,y:0},left:{x:-1,y:0},down:{x:0,y:1},up:{x:0,y:-1}},k={topleft:{x:0,y:0},topright:{x:1,y:0},bottomleft:{x:0,y:1},bottomright:{x:1,y:1}},L=["blinds","box","checkerboard","circle","clock","comb","diamond","dissolve","full","none","plus","randombars","split","strips","wedge","wheel","wipe","strips"],R=x.throwError("TweenHelper"),_=C.forceSingleRepaint||v.noop,O=function(e,t,n,i){this.view=e,this.secondaryView=i,this.model=this.view.props.model,this.isReverse=t,this.config=n,this.duration=n.duration,this.startTime=0,this.tweens=n.tweens,this.isZoomPan=n.isZoomPan,this.listenTo(this.model,{moveTo:this.updateDefaultPosition}),this.initialize(),this.handleMobileVideo()};return v.extend(O.prototype,E.Events,{initialize:function(){var e=this;this.defaults=this.getDefaults(),this.unsubResize=T("resize",(function(){return e.afterResize()}),null,"after")},handleMobileVideo:function(){D.deviceView.isMobile&&this.model.isKind("video")&&this.model.get("autoplay")&&(this.applyTweenedConfig=v.noop)},stepAnimation:function(e){this.isReverse&&(e=this.duration-e)<0&&(e=0),this.applyTweenedConfig(this.getTweenedConfig(e)),D.browser.isIE&&_(this.view.el),this.lastAnimationTime=e},afterResize:function(){null!=this.lastAnimationTime&&this.stepAnimation(this.lastAnimationTime)},totalTime:function(){return this.duration},delay:function(){return this.startTime},reset:function(){var e={matrix:new y,props:{},style:{}},t=this.view.props.winScale;e.props.ScaleX=this.defaults.scale.x,e.props.ScaleY=this.defaults.scale.y,e.props.RawXPos=this.defaults.position.x,e.props.RawYPos=this.defaults.position.y,e.props.Rotation=this.defaults.rotation.x,e.props.Alpha=this.defaults.alpha.x,e.matrix.translate(this.defaults.position.x*t,this.defaults.position.y*t),e.matrix.rotate(this.defaults.rotation.x,0,0),e.matrix.scale(S.pctToDec(this.defaults.scale.x),S.pctToDec(this.defaults.scale.y)),e.style.opacity=S.pctToDec(this.defaults.alpha.x),e.style.transform=e.matrix.toCssTransform(),this.applyTweenedConfig(e)},updateDefaultPosition:function(e,t){this.defaults.position.x=e,this.defaults.position.y=t},getDefaults:function(){return this.model.isSlideObject?this.getSlideObjectProps():this.getSlideOrLayerProps()},getSlideOrLayerProps:function(){var e,t,n=this.model.get("width"),i=this.model.get("height");return t={regPoint:{x:n/2,y:i/2},position:{x:0,y:0},scale:{x:100,y:100},rotation:{x:0},globalRotation:{x:0},size:{x:n,y:i},maskableOffset:{x:0,y:0},alpha:{x:100}},this.hasSecondary()&&(e=this.secondaryView.props.model,t.secondarySize={x:e.get("width"),y:e.get("height")}),t},hasSecondary:function(){return null!=this.secondaryView},getSlideObjectProps:function(){var e=this.model.playerProps,t=this.model.getCurrentStateMetrics();return{regPoint:{x:this.model.rotateXPos(),y:this.model.rotateYPos()},position:{x:e.get("RawXPos"),y:e.get("RawYPos")},scale:{x:e.get("ScaleX"),y:e.get("ScaleY")},rotation:{x:e.get("Rotation")},globalRotation:{x:this.view.getGlobalRotation()},size:{x:t.width-(2*t.xPos-1),y:t.height-(2*t.yPos-1)},alpha:{x:e.get("Alpha")},maskableOffset:{x:t.xPos-t.strokewidth,y:t.yPos-t.strokewidth}}},getTweenedConfig:function(e,t){var n={},i=0,r=this.tweens.length,o={matrix:new y,props:{Rotation:0},style:{}};for(t=!1!==t;i<r;)this.tweens[i].delay<=e&&v.extend(n,this.tweens[i].tweenAttrs),i++;return P.forEach(function(i){this[I[i]](e,n[i],o,t)}.bind(this)),o.style.transform=o.matrix.toCssTransform(),o},applyTweenedConfig:function(e){this.view.tweenedConfig=e;var t=this.isZoomPan?this.view.refs.zoomPanTarget:this.view.el;v.extend(t.style,e.style),this.hasSecondary()&&null!=this.config.pushDir&&this.tweenSecondary(e.props)},adjustRotateble:function(e){var t,n=this.defaults.regPoint;if(this.model.isRotatable&&this.model.isRotatable()){t=this.view.decorators.rotatable;var i=this.model.prop("Rotation");e.rotate(i,0,0),e.rotate(t.lastSetRotation,t.rotateXPos-n.x,t.rotateYPos-n.y),e.rotate(-i,0,0)}},applyTranslation:function(e,t,n,i){var r,o=this.view.props.winScale,s=this.getAttrPointAtTime(e,t,this.defaults.position,!!t&&t.autoRotation);n.props.RawXPos=s.x,n.props.RawYPos=s.y,n.matrix.translate(s.x*o,s.y*o),t&&t.autoRotation&&(null==this.initRotation&&(this.initRotation=0===e?s.angle:this.getAttrPointAtTime(0,t,this.defaults.position,t.autoRotation).angle),r=e>=t.duration+t.delay&&t.closedPath?0:s.angle-this.initRotation,n.matrix.rotate(r,0,0),n.props.Rotation=r)},applyScale:function(e,t,n,i){var r=this.getAttrPointAtTime(e,t,this.defaults.scale),o=this.view.animationOverride&&this.view.animationOverride.scale;n.props.ScaleX=r.x,n.props.ScaleY=r.y,null!=o?o(n.props):(n.matrix.rotate(-this.defaults.globalRotation.x,0,0),n.matrix.scale(S.pctToDec(r.x),S.pctToDec(r.y)),n.matrix.rotate(this.defaults.globalRotation.x,0,0))},applyRotation:function(e,t,n,i){var r=this.getAttrPointAtTime(e,t,this.defaults.rotation).x;i&&this.adjustRotateble(n.matrix),n.matrix.rotate(r,0,0),n.props.Rotation+=r},applyAlpha:function(e,t,n,i){if(t){var r=this.getAttrPointAtTime(e,t,this.defaults.alpha).x;n.style.opacity=S.pctToDec(r),n.props.Alpha=r}},getAttrPointAtTime:function(e,t,n,i){if(null==t)return n;var r,o=e-t.delay;return r=0===t.duration&&(o<0||0===o&&this.isReverse)?0:function(e,t,n){return t>=n?1:S.clamp(0,1,gsap.parseEase(e)(t/n))}(t.ease,o,t.duration),t.getPointAtTime(r,i)},applySkew:function(e,t,n,i){if(null!=t){var r=this.getAttrPointAtTime(e,t,{x:0,y:0}),o=k[t.corner],s=t.useGlobalAxes?{x:this.defaults.size.x*o.x,y:this.defaults.size.y*o.y}:{x:t.regPoint.x,y:t.regPoint.y},a=t.useGlobalAxes?this.defaults.globalRotation.x:0,l=t.getSecondaryPoint();s.x-=this.defaults.regPoint.x,s.y-=this.defaults.regPoint.y,n.matrix.rotate(-a,0,0),n.matrix.scale(S.pctToDec(l.x),S.pctToDec(l.y),s.x,s.y),n.matrix.skew(-r.x,r.y,s.x,s.y),n.matrix.rotate(a,0,0)}},applyColor:function(e,t,n,i){var r;t&&this.model.isSlide&&i&&(null==this.overlay&&this.createColorOverlay(),r=this.getAttrPointAtTime(e,t,0).x,this.overlay.style.opacity=S.pctToDec(r))},applyMask:function(e,t,n,i){if(null!=t&&i&&!this.model.isKind("video")){var r;if(D.browser.safariVersion<12&&D.os.isIOS&&-1!==L.indexOf(t.maskType))return!this.isReverse&&t.maskProps.isExit&&(e=this.duration-e,this.isReverse=!0),r=S.decToPct(this.getAttrPointAtTime(e,t,this.isReverse?1:0).x),n.style.opacity=S.pctToDec(r),void(n.props.Alpha=r);var o,s=this.getAttrPointAtTime(e,t,0).x;null==this.mask&&(null==A[t.maskType]&&(R("The mask type ",t.maskType," does not exist"),t.maskType="split"),this.createMask(t)),"full"===t.maskType&&(o=this.getTweenedConfig(this.duration,!1),this.ptFinal=this.ptFinal||o.matrix.transformPoint(0,0)),this.mask.animate(s,this.ptFinal,n.matrix.transformPoint(0,0)),_(this.maskedEl),this.maskedEl.classList.contains("slide-object-stategroup")&&this.repaintStateGroup(this.maskedEl)}},repaintStateGroup:function(e){var t=e.getElementsByClassName("slideobject-maskable");if(!v.isEmpty(t))for(var n=0;n<t.length;n++)_(t[n])},createMask:function(e){var n,i=this.view.el.firstElementChild;DS.flagManager.dropInVectors&&i.classList.contains("dropin-wrap")&&(i=i.firstElementChild),this.marker=this.view.find(".marker-animation"),null!=this.marker&&this.marker.classList.add("hidden"),n=this.model.isSlideObject?t.getLocalRotatedBounds(this.view,this.defaults.globalRotation.x):[0,0,this.defaults.size.x,this.defaults.size.y],this.defaults.rotatedBounds={left:n[0],top:n[1],right:n[2],bottom:n[3]},this.defaults.view=this.view,this.mask=new A[e.maskType](this.defaults,e.maskProps),this.maskedEl=b.hasClass(i,"slideobject-maskable")?i:this.view.el,this.maskedEl.style.WebkitClipPath=w.buildUrl(this.mask.maskId),this.maskedEl.style.clipPath=w.buildUrl(this.mask.maskId),this.maskedEl.style.willChange="contents"},tweenSecondary:function(e){var t,n=this.defaults.secondarySize,i=M[this.config.pushDir],r=this.model.currView.props.winScale;t=w.transformTranslate(S.pxify(i.x*(n.x+e.RawXPos*i.x)*r),S.pxify(i.y*(n.y+e.RawYPos*i.y)*r)),this.secondaryView.el.style.transform=t},createColorOverlay:function(){var e=this.view.props.winScale;this.overlay=b.setAttributes(document.createElement("div"),{class:"slide-overlay"}),b.setStyles(this.overlay,{width:S.pxify(this.defaults.size.x*e),height:S.pxify(this.defaults.size.y*e)}),this.view.el.appendChild(this.overlay)},kill:function(){this.stopListening(),this.unsubResize(),null!=this.maskedEl&&(this.maskedEl.style.WebkitClipPath="",this.maskedEl.style.clipPath="",this.maskedEl=null),null!=this.marker&&this.marker.classList.remove("hidden"),null!=this.mask&&(this.mask.destroy(),this.mask=null),null!=this.overlay&&this.overlay.parentNode&&(this.overlay.parentNode.removeChild(this.overlay),this.overlay=null)}}),O}.call(t,n,t,e))||(e.exports=i)},2625:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(694),i=DS._,r=DS.utils,o=DS.events,s=DS.Backbone,a=(DS.AnimationTimeline,function(e,n,i,r){this.view=e,this.timeline=n,this.timelineLabel=i,this.timelineControlled=null!=this.timelineLabel,this.layerTimeline=this.timelineControlled?t.getTimelineFromLabel(i):this.view.props.model.getLayer().timeline(),this.isHide=!!r,this.initialize()});return i.extend(a.prototype,s.Events,{playOnSeekEnd:!0,initialize:function(){var e={};this.addChildTimeline(),this.timelineControlled||(e[o.timeline.PLAYING]=this.playTimeline,e[o.timeline.PAUSED]=this.pauseTimeline,e[o.timeline.SEEK_START]=this.onSeekStart,e[o.timeline.SEEK_END]=this.onSeekEnd,this.listenTo(this.layerTimeline,e))},addChildTimeline:function(){this.timelineControlled?this.layerTimeline.addChildTimeline(this.timeline,this.timelineLabel):(this.actionTimeline=this.timeline,this.actionTimeline.seek(0),this.actionTimeline.play())},removeChildTimeline:function(){this.timelineControlled?this.layerTimeline.removeChildTimeline(this.timeline):this.actionTimeline=null},pauseTimeline:function(){null!=this.actionTimeline&&this.actionTimeline.pause()},playTimeline:function(){null!=this.actionTimeline&&this.actionTimeline.play()},onSeekStart:function(){this.playOnSeekEnd=this.actionTimeline.isActive(),this.pauseTimeline()},onSeekEnd:function(){this.playOnSeekEnd&&this.playTimeline()},destroy:function(e){this.removeChildTimeline(),this.isHide?this.timeline.reset():e&&this.timeline.progress(1,!0),this.timeline.kill(),r.getPath(this.view,"updateFromTween"),this.stopListening()}}),a}.call(t,n,t,e))||(e.exports=i)},5238:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(406),i=n(8907),o=n(909),s=DS._,a=DS.constants,l=DS.utils,c=DS.TransMatrix,u=/xlink\:href="(.*?)"/g,d=/data-reactid="(.*?)"/g,h=/&nbsp;/g,p=/xmlns:(.*?)=".*?" \1:/g,f={data:[0,0,0,0]},g={},m=function(e){var n,i,r,s=(e.props.model.getCurrentStateData()||{}).html5data||{};return null!=s.mask?{canvas:(i=t.buildImage(s.mask,s.xPos,s.yPos,s.width,s.height)).canvas,bb:i.bb,sw:0}:{canvas:n=document.createElement("canvas"),bb:(r=o(n,e.find("svg").parentNode.innerHTML.replace(u,"").replace(h," ").replace(d,"").replace(p,""),{col:"#ff0000",winScale:e.props.winScale})).bb,sw:r.sw}},v=function(e){var t=e.props.model,n=t.getSlide().id,i=t.absoluteId+e.state.ObjectState,r=(g[n]||{})[i];return null!=r?r:(null==g[n]&&(g[n]={}),g[n][i]=m(e),g[n][i])},S=function(e){return null!=e.getClosestAncestorByKind("expandinglabel",!0)},y={svgHit:function(e,t){var n=v(e),i=n.bb.getBounds(t),r=n.sw/2;return i[0]-=r,i[1]-=r,i[2]+=r,i[3]+=r,i},groupHit:function(e,t){var n=e.props.model,r=n.isStateGroupSlideObject&&n.getIsExpandingLabel();return s.reduce(e.allRefs,(function(n,o){var s=o.currView,a=i.getRelativeMatrix(s,e,t),l=w.getBounds(s,a);return r&&S(o)||l.every(isNaN)||(n[0]=Math.min(n[0],l[0]),n[1]=Math.min(n[1],l[1]),n[2]=Math.max(n[2],l[2]),n[3]=Math.max(n[3],l[3])),n}),[1/0,1/0,-1/0,-1/0])},rectHit:function(e,t){var n=e.props.model.getCurrentStateMetrics(),i=n.xPos,r=n.yPos,o=i+n.width,s=r+n.height,a=[t.transformPoint(i,r),t.transformPoint(o,r),t.transformPoint(i,s),t.transformPoint(o,s)];return[Math.min(a[0].x,a[1].x,a[2].x,a[3].x),Math.min(a[0].y,a[1].y,a[2].y,a[3].y),Math.max(a[0].x,a[1].x,a[2].x,a[3].x),Math.max(a[0].y,a[1].y,a[2].y,a[3].y)]},slideHit:function(e){return[0,0,e.props.model.get("width"),e.props.model.get("height")]}},b={svgHit:function(e){return v(e).canvas},groupHit:function(e){var t=w.getLocalRotatedBounds(e,0),n=w.getBounds(e),i=Math.round(n[0]),r=Math.round(n[1]),o=Math.ceil(t[2]-t[0]),a=Math.ceil(t[3]-t[1]),l=document.createElement("canvas"),c=l.getContext("2d",{willReadFrequently:!0}),u=e.props.model,d=u.isStateGroupSlideObject&&u.getIsExpandingLabel();return l.width=o,l.height=a,c.translate(-i,-r),s.forEach(e.allRefs,(function(e){d&&S(e)||!e.currView.trulyVisible||w.drawToTarget(e.currView,c)})),c.translate(i,r),l},rectHit:function(e){var t=e.props.model.getCurrentStateMetrics(),n=document.createElement("canvas"),i=n.getContext("2d",{willReadFrequently:!0});return n.width=t.width,n.height=t.height,i.fillStyle="#ff0000",i.fillRect(0,0,n.width,n.height),n},slideHit:function(e){return null}},w={getImageData:function(e,t,n,i,r){return l.isNumeric(t)&&l.isNumeric(n)&&l.isNumeric(i)&&l.isNumeric(r)?e.getImageData(t,n,i,r):f},getBounds:function(e,t){return t=t||i.getMatrix(e),y[e.props.model.getHitType()](e,t)},getGlobalBounds:function(e){var t=r(this.getBounds(e),4),n=t[0],o=t[1],s=t[2],a=t[3],l=e.props.model.getSlide().currView,c=i.localPtToGlobal(l,n,o),u=i.localPtToGlobal(l,s,a);return[c.x,c.y,u.x,u.y]},getLocalRotatedBounds:function(e,t){var n=(new c).rotate(t,e.state.rotateXPos,e.state.rotateYPos);return y[e.props.model.getHitType()](e,n)},getCanvas:function(e){return b[e.props.model.getHitType()](e)},drawToTarget:function(e,t){var n,r=e.props.model,o=i.getMatrix(e)||new c,s=e.props.model.getHitType(),l=null!=r.getCurrentStateMetrics?r.getCurrentStateMetrics():{xPos:0,yPos:0},u=null==l.mask?l.strokewidth:0,d=l.xPos-u,h=l.yPos-u;t.save(),t.transform(o.a,o.c,o.b,o.d,o.tx,o.ty),s===a.SLIDE_HIT||s===a.RECT_HIT?(n=w.getLocalRotatedBounds(e,0),t.fillStyle="#ff0000",t.fillRect(n[0],n[1],n[2]-n[0],n[3]-n[1])):(s===a.GROUP_HIT&&(n=w.getLocalRotatedBounds(e,0),d=Math.round(n[0]),h=Math.round(n[1])),t.drawImage(w.getCanvas(e),d,h)),t.restore()},clearBitmapCache:function(){g={}},clearSlideCache:function(e){g[e]=null}};return w}.call(t,n,t,e))||(e.exports=i)},406:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=/([XO])/g,n=function(e){if(_.isEmpty(e))return{getBounds:function(){return[0,0,0,0]}};var t=r(e);return{getBounds:function(e){var n,i=t.length,r=e.transformPoint(t[0].x,t[0].y),o=r.x,s=o,a=r.y,l=a;for(n=1;n<i;n++)(r=e.transformPoint(t[n].x,t[n].y)).x<o?o=r.x:r.x>s&&(s=r.x),r.y<a?a=r.y:r.y>l&&(l=r.y);return[o,a,s,l]}}},i=function(e,t,n){return(e.x-n.x)*(t.y-n.y)-(e.y-n.y)*(t.x-n.x)},r=function(e){var t,n,r=e.length,o=[],s=[];for(e.sort((function(e,t){return e.x===t.x?e.y-t.y:e.x-t.x})),t=0;t<r;t++){for(;o.length>=2&&i(o[o.length-2],o[o.length-1],e[t])<=0;)o.pop();for(o.push(e[t]),n=r-(t+1);s.length>=2&&i(s[s.length-2],s[s.length-1],e[n])<=0;)s.pop();s.push(e[n])}return s.pop(),o.pop(),o.concat(s)};return{buildImage:function(e,i,r,o,s){var a,l,c,u,d=0,h=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n}(o,s),p=h.getContext("2d"),f=p.createImageData(o,s),g=e.split(t),m=g.length,v=0,S="O",y=-1,b=!1,w=[];for(a=0;a<m;a+=2)for(y+=(c=parseInt(g[a],16))+1,(u="X"===g[a+1]?255:0)!==S&&(255===u?(b=!0,w.push({x:(v+1)%o+i,y:Math.floor((v+1)/o)+r})):b&&w.push({x:v%o+i,y:Math.floor(v/o)+r})),v=y,S=u,l=0;l<=c;l++)f.data[d]=u,f.data[d+3]=u,d+=4;return p.putImageData(f,0,0),{canvas:h,bb:n(w)}}}}.call(t,n,t,e))||(e.exports=i)},8618:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(537),i=DS._,r=DS.TransMatrix,o=new r,s={left:function(){return this.update(),this.bounds[0]},top:function(){return this.update(),this.bounds[1]},width:function(){return this.update(),this.bounds[2]-this.bounds[0]},height:function(){return this.update(),this.bounds[3]-this.bounds[1]},applyTransform:function(e){var n,i,r,o=this.points.length;for(n=0;n<o;n++)i=this.points[n],r=new t(i[0],i[1]),e.applyToPoint(r),this.points[n]=[r.x,r.y]},getBounds:function(e){return this.update(e),this.bounds.slice()},addPoint:function(e,t){this.dirty=!0,this.points.push([e,t])},addBezierCurve:function(e,t,n,i,r,o,s,a){this.dirty=!0,this.beziers.push([e,t,n,i,r,o,s,a])},addQuadraticCurve:function(e,t,n,i,r,o){var s=e+2/3*(n-e),a=t+2/3*(i-t),l=s+1/3*(r-e),c=a+1/3*(o-t);this.addBezierCurve(e,t,s,a,l,c,r,o)},addChildBoundingBox:function(e){null!=e&&this.children.push(e)},hasMatrixChanged:function(e){return!e.isEqual(this.lastMatrix)},update:function(e){e=e||o,this.dirty?this.calculateBounds(e):this.hasMatrixChanged(e)&&(e.isOnlyTranslated(this.lastMatrix)?this.translateLastBounds(e):this.calculateBounds(e))},translateLastBounds:function(e){var t=e.tx-this.lastMatrix.tx,n=e.ty-this.lastMatrix.ty;this.lastMatrix=e.copy(),this.bounds[0]+=t,this.bounds[1]+=n,this.bounds[2]+=t,this.bounds[3]+=n},getPointBounds:function(e){var t,n,i,r,o,s,a,l=e.length;if(l>0)for(t=i=e[0][0],n=r=e[0][1],a=1;a<l;a++)(o=e[a][0])<t?t=o:o>i&&(i=o),(s=e[a][1])<n?n=s:s>r&&(r=s);return[t,n,i,r]},addBezierBounds:function(e,t){var n,i,r=e.length;if(r>0)for(null==t[0]&&(t[0]=t[2]=e[0][0],t[1]=t[3]=e[0][1]),n=0;n<r;n++)i=e[n],this.addBezierBoundingPoints(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],t);return t},addChildBounds:function(e,t){var n,i,r=this.children.length;for(n=0;n<r;n++)null!=(i=this.children[n].getBounds(t))[0]&&(null==e[0]?e=i:(i[0]<e[0]?e[0]=i[0]:i[2]>e[2]&&(e[2]=i[2]),i[1]<e[1]?e[1]=i[1]:i[3]>e[3]&&(e[3]=i[3])));return e},transformPoints:function(e,t){var n,i,r=[],o=e.length;for(r.length=o,i=0;i<o;i++)n=t.transformPoint(e[i][0],e[i][1]),r[i]=[n.x,n.y];return r},transformBeziers:function(e,t){var n,i,r,o,s,a,l=[],c=e.length;for(l.length=c,n=0;n<c;n++)i=e[n],r=t.transformPoint(i[0],i[1]),o=t.transformPoint(i[2],i[3]),s=t.transformPoint(i[4],i[5]),a=t.transformPoint(i[6],i[7]),l[n]=[r.x,r.y,o.x,o.y,s.x,s.y,a.x,a.y];return l},calculateBounds:function(e){var t,n=this.points,i=this.beziers;e.isEqual(o)||(n=this.transformPoints(n,e),i=this.transformBeziers(i,e)),t=this.getPointBounds(n),t=this.addBezierBounds(i,t),t=this.addChildBounds(t,e),this.dirty=!1,this.bounds=t,this.lastMatrix=e.copy()},addBezierBoundingPoints:function(e,t,n,i,r,o,s,a,l){var c,u,d,h,p,f,g,m=[e,t],v=[n,i],S=[r,o],y=[s,a],b=function(e,t){if(e>0&&e<1){var n=1-e,i=n*n,r=e*e,o=n*i*m[t]+3*i*e*v[t]+3*n*r*S[t]+e*r*y[t];0===t?o<l[0]?l[0]=o:o>l[2]&&(l[2]=o):o<l[1]?l[1]=o:o>l[3]&&(l[3]=o)}},w=function(e){e[0]<l[0]?l[0]=e[0]:e[0]>l[2]&&(l[2]=e[0]),e[1]<l[1]?l[1]=e[1]:e[1]>l[3]&&(l[3]=e[1])};for(w(m),w(y),g=0;g<=1;g++)u=6*m[g]-12*v[g]+6*S[g],d=3*v[g]-3*m[g],0===(c=-3*m[g]+9*v[g]-9*S[g]+3*y[g])?0!==u&&b(-d/u,g):(h=u*u-4*d*c)>=0&&(b((-u+(p=Math.sqrt(h)))/(f=2*c),g),b((-u-p)/f,g))}};return function(){this.points=[],this.beziers=[],this.children=[],this.dirty=!0,this.lastMatrix=o,i.assign(this,s)}}.call(t,n,t,e))||(e.exports=i)},7951:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(4561),n(8618);var t=n(7337),i=n(6941),r=function(e){this.base=i,this.base(e),this.path=function(e){null!=e&&e.beginPath()},this.renderChildren=function(e){this.path(e),""!==e.fillStyle&&("inherit"!==this.style("fill-rule").valueOrDefault("inherit")?e.fill(this.style("fill-rule").value):e.fill()),""!==e.strokeStyle&&(e.lineWidth>t.maxStroke&&(t.maxStroke=e.lineWidth),e.stroke())}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},8596:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(537),i=DS._,r=/^[A-Za-z]$/,o=function(e){this.tokens=e.split(" ")};return i.assign(o.prototype,{reset:function(){this.i=-1,this.command="",this.previousCommand="",this.start=new t(0,0),this.control=new t(0,0),this.current=new t(0,0)},isEnd:function(){return this.i>=this.tokens.length-1},isCommandOrEnd:function(){return!!this.isEnd()||null!=this.tokens[this.i+1].match(r)},isRelativeCommand:function(){return this.command===this.command.toLowerCase()},getToken:function(){return this.tokens[++this.i]},getScalar:function(){return parseFloat(this.getToken())},nextCommand:function(){this.previousCommand=this.command,this.command=this.getToken()},getPoint:function(){var e=new t(this.getScalar(),this.getScalar());return this.makeAbsolute(e)},getAsControlPoint:function(){return this.control=this.getPoint()},getAsCurrentPoint:function(){return this.current=this.getPoint()},getReflectedControlPoint:function(){var e=this.previousCommand.toLowerCase();return"c"!==e&&"s"!==e&&"q"!==e&&"t"!==e?this.current:new t(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},makeAbsolute:function(e){return this.isRelativeCommand()&&(e.x+=this.current.x,e.y+=this.current.y),e}}),o}.call(t,n,t,e))||(e.exports=i)},6941:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=n(9304),r=n(9508),o=(DS.flagManager,function(e){this.base=r,this.base(e),this.setStrokeStyles=function(e){if(e.strokeStyle=t.options.col||"blue",this.style("stroke-width").hasValue()){var n=this.style("stroke-width").toPixels();e.lineWidth=0===n?.001:n}this.style("stroke-linecap").hasValue()&&(e.lineCap=this.style("stroke-linecap").value),this.style("stroke-linejoin").hasValue()&&(e.lineJoin=this.style("stroke-linejoin").value),this.style("stroke-miterlimit").hasValue()&&(e.miterLimit=this.style("stroke-miterlimit").value)},this.setContext=function(e){var n=this.style("fill"),r=this.style("stroke"),o=r.hasValue()&&"none"!==r.value;(n.hasValue()&&"none"===n.value?e.fillStyle="rgba(0,0,0,0)":e.fillStyle=t.options.col||"red",o?this.setStrokeStyles(e):e.strokeStyle="",this.style("transform",!1,!1).hasValue())&&new i(this.style("transform",!1,!1).value).apply(e);if(this.style("clip-path",!1,!1).hasValue()){var s=this.style("clip-path",!1,!1).getDefinition();null!=s&&s.apply(e)}}});return o.prototype=new r,o}.call(t,n,t,e))||(e.exports=i)},8054:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(8618),r=n(7951),o=t.kappa,s=function(e){var t,n,s,a;this.base=r,this.base(e),null!=e&&(t=this.attribute("cx").toPixels("x"),n=this.attribute("cy").toPixels("y"),s=this.attribute("r").toPixels(),a=o*s,this.bb=new i,this.bb.addBezierCurve(t,n-s,t+a,n-s,t+s,n-a,t+s,n),this.bb.addBezierCurve(t+s,n,t+s,n+a,t+a,n+s,t,n+s),this.bb.addBezierCurve(t,n+s,t-a,n+s,t-s,n+a,t-s,n),this.bb.addBezierCurve(t-s,n,t-s,n-a,t-a,n-s,t,n-s)),this.path=function(e){null!=e&&(e.beginPath(),e.arc(t,n,s,0,2*Math.PI,!0),e.closePath())}};return s.prototype=new r,s}.call(t,n,t,e))||(e.exports=i)},7294:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(9304),i=n(9508),r=DS._,o=function(e){this.base=i,this.base(e),this.apply=function(e){var n=window.CanvasRenderingContext2D,i=n.prototype.beginPath,o=n.prototype.closePath;n.prototype.beginPath=r.noop,n.prototype.closePath=r.noop,i.call(e);for(var s=0;s<this.children.length;s++){var a=this.children[s];if(null!=a.path){var l=null;a.style("transform",!1,!0).hasValue()&&(l=new t(a.style("transform",!1,!0).value)).apply(e),a.path(e),n.prototype.closePath=o,l&&l.unapply(e)}}o.call(e),e.clip(),n.prototype.beginPath=i,n.prototype.closePath=o},this.render=r.noop};return o.prototype=new i,o}.call(t,n,t,e))||(e.exports=i)},6305:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(9508),i=DS._,r=function(e){this.base=t,this.base(e),this.render=i.noop};return r.prototype=new t,r}.call(t,n,t,e))||(e.exports=i)},9508:function(e,t,n){var i;i=function(e){"use strict";var t=n(7337),i=n(4561),r=n(4354),o=n(8618),s=DS,a=s._,l=(s.flagManager,{attribute:function(e,n){var i=this.attributes[e];return null!=i?i:(n&&(i=new r(e,""),this.attributes[e]=i),i||t.emptyProperty)},getHrefAttribute:function(){for(var e in this.attributes)if("href"===e||e.match(/:href$/))return this.attributes[e];return t.emptyProperty},style:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.styles[e];if(null!=o)return o;var s=this.attribute(e);if(null!=s&&s.hasValue())return this.styles[e]=s,s;if(i){var a=this.parent;if(null!=a){var l=a.style(e);if(null!=l&&l.hasValue())return l}}return n&&(o=new r(e,""),this.styles[e]=o),o||t.emptyProperty},render:function(e){if("none"!==this.style("display").value&&"hidden"!==this.style("visibility").value){e.save();var t=this.style("filter"),n=t.hasValue(),i=n&&t.getDefinition();if(this.style("mask").hasValue()){var r=this.style("mask").getDefinition();null!=r&&r.apply(e,this)}else i?i.apply(e,this):n&&!this.style("customImage").value||(this.setContext(e),this.renderChildren(e),this.clearContext(e));e.restore()}},setContext:a.noop,clearContext:a.noop,renderChildren:function(e){for(var t=0;t<this.children.length;t++)this.children[t].render(e)},addChild:function(e,n){var i=e;n&&(i=t.createElement(e)),i.parent=this,"title"!==i.type&&this.children.push(i)},flattenBoundingBox:function(e){var t,n,i;if(null!=this.updateBoundingBox&&this.updateBoundingBox(),null!=this.bb&&(this.bb.points.length>0&&e.points.push.apply(e.points,this.bb.points),this.bb.beziers.length>0&&e.beziers.push.apply(e.beziers,this.bb.beziers)),null!=this.children)for(i=this.children.length,t=0;t<i;t++)null!=(n=this.children[t]).flattenBoundingBox&&n.flattenBoundingBox(e);return e},getBoundingBox:function(){var e,t,n,i=new o;if(null!=this.bb&&i.addChildBoundingBox(this.bb),null!=this.children)for(n=this.children.length,e=0;e<n;e++)null!=(t=this.children[e]).getBoundingBox&&i.addChildBoundingBox(t.getBoundingBox());return i}});return function(e){var n,o;if(this.attributes={},this.styles={},this.children=[],a.assign(this,l),null!=e&&1===e.nodeType){for(o=e.attributes.length,n=0;n<o;n++){var s=e.attributes[n],c=s.nodeName;this.attributes[c]=new r(c,s.value)}if(this.attribute("style").hasValue()){var u=this.attribute("style").value.split(";");for(n=0;n<u.length;n++)if(""!==i.trim(u[n])){var d=u[n].split(":"),h=i.trim(d[0]),p=i.trim(d[1]);this.styles[h]=new r(h,p)}}for(this.attribute("id").hasValue()&&null==t.defs[this.attribute("id").value]&&(t.defs[this.attribute("id").value]=this),n=0;n<e.childNodes.length;n++){var f=e.childNodes[n];1===f.nodeType&&this.addChild(f,!0)}}}}.call(t,n,t,e),void 0===i||(e.exports=i)},8052:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(8618),r=n(7951),o=t.kappa,s=function(e){var t,n,s,a,l,c,u,d,h,p,f;if(this.base=r,this.base(e),null!=e)for(t=this.attribute("rx").toPixels("x"),n=this.attribute("ry").toPixels("y"),s=this.attribute("cx").toPixels("x"),a=this.attribute("cy").toPixels("y"),l=[[s+(p=o*t),a-n,s+t,a-(f=o*n),s+t,a],[s+t,a+f,s+p,a+n,s,a+n],[s-p,a+n,s-t,a+f,s-t,a],[s-t,a-f,s-p,a-n,s,a-n]],this.bb=new i,d=s,h=a,u=0;u<4;u++)c=l[u],this.bb.addBezierCurve(d,h,c[0],c[1],c[2],c[3],c[4],c[5]),d=c[4],h=c[5];this.path=function(e){if(null!=e){for(e.beginPath(),e.moveTo(s,a-n),u=0;u<4;u++)c=l[u],e.bezierCurveTo(c[0],c[1],c[2],c[3],c[4],c[5]);e.closePath()}}};return s.prototype=new r,s}.call(t,n,t,e))||(e.exports=i)},4356:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6941),i=function(e){this.base=t,this.base(e)};return i.prototype=new t,i}.call(t,n,t,e))||(e.exports=i)},5270:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=(n(4561),n(9304)),r=n(978),o=function(e){this.base=r,this.base(e),this.style("transform",!1,!0).hasValue()&&this.bb.applyTransform(new i(this.style("transform",!1,!0).value)),this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),null!=e&&(e.fillStyle=t.options.col||"red",e.strokeStyle="")}};return o.prototype=new r,o}.call(t,n,t,e))||(e.exports=i)},3378:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561),n(537);var t=n(8618),i=n(7951),r=function(e){var n,r,o,s;this.base=i,this.base(e),null!=e&&(n=this.attribute("x1").toPixels("x"),r=this.attribute("y1").toPixels("y"),o=this.attribute("x2").toPixels("x"),s=this.attribute("y2").toPixels("y"),this.bb=new t,this.bb.addPoint(n,r),this.bb.addPoint(o,s)),this.path=function(e){null!=e&&(e.beginPath(),e.moveTo(n,r),e.lineTo(o,s))}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},734:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561),n(8618);var t=n(9508),i=DS._,r=["mask","transform","clip-path"];var o=function(e){this.base=t,this.base(e),this.apply=function(e,t){var n=this.attribute("x").toPixels("x"),i=this.attribute("y").toPixels("y"),o=this.attribute("width").toPixels("x"),s=this.attribute("height").toPixels("y");if(0===o&&0===s){var a=this.getBoundingBox();n=Math.floor(a.left()),i=Math.floor(a.top()),o=Math.floor(a.width()),s=Math.floor(a.height())}var l=t.attribute("mask").value;t.attribute("mask").value="";var c=function(e){return r.reduce((function(t,n){return null!=e.styles[n]&&(t[n]=e.styles[n],e.styles[n]=null),t}),{})}(t),u=document.createElement("canvas");u.width=n+o,u.height=i+s;var d=u.getContext("2d");this.renderChildren(d);var h=document.createElement("canvas");h.width=n+o,h.height=i+s;var p=h.getContext("2d");t.render(p),p.globalCompositeOperation="destination-in",h.width>0&&(p.fillStyle=d.createPattern(u,"no-repeat"),p.fillRect(0,0,n+o,i+s),e.fillStyle=p.createPattern(h,"no-repeat"),e.fillRect(0,0,n+o,i+s)),t.attribute("mask").value=l,function(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}(t,c)},this.render=i.noop};return o.prototype=new t,o}.call(t,n,t,e))||(e.exports=i)},4548:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(9508),i=function(e){};return i.prototype=new t,i}.call(t,n,t,e))||(e.exports=i)},7696:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(537),r=n(8618),o=n(8596),s=n(7951),a=DS,l=(a.flagManager,a.constants),c=a.TransMatrix,u=/,/gm,d=/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,h=/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,p=/([0-9])([+\-])/gm,f=/(\.[0-9]*)(\.)/gm,g=/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,m=l.math.TO_DEGREES,v=l.math.TO_RADIANS,S=function(e,t){var n=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.sqrt(t.x*t.x+t.y*t.y);return(e.x*t.x+e.y*t.y)/(n*i)},y=function(e,t,n){return n=n||S(e,t),(e.x*t.y<e.y*t.x?-1:1)*Math.acos(n)},b=function(e,t,n,i,r,o,s,a){for(;s<0;)s+=l.math.TWO_PI;a&&(s-=l.math.TWO_PI);var u,d=Math.ceil(Math.abs(s)/l.math.QUARTER_PI),h=s/d,p=h/2,f=Math.cos(p),g=l.math.HALF_PI+o,v=[],S=0!==n?(new c).rotate(n*m,e,t):{transformPoint:function(e,t){return{x:e,y:t}}};for(u=0;u<d;u++)g+=h,v.push([S.transformPoint(e+Math.sin(g-p)*(i/f),t-Math.cos(g-p)*(r/f)),S.transformPoint(e+Math.sin(g)*i,t-Math.cos(g)*r)]);return v},w={m:function(e,t,n){var i=e.getAsCurrentPoint();for(t.addPoint(i.x,i.y),null!=n&&n.moveTo(i.x,i.y),e.start=e.current;!e.isCommandOrEnd();)i=e.getAsCurrentPoint(),t.addPoint(i.x,i.y),null!=n&&n.lineTo(i.x,i.y)},z:function(e,t,n){null!=n&&n.closePath(),e.current=e.start},l:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.getAsCurrentPoint();t.addPoint(i.x,i.y),null!=n&&n.lineTo(i.x,i.y)}},h:function(e,t,n){for(;!e.isCommandOrEnd();){var r=new i((e.isRelativeCommand()?e.current.x:0)+e.getScalar(),e.current.y);e.current=r,t.addPoint(e.current.x,e.current.y),null!=n&&n.lineTo(e.current.x,e.current.y)}},v:function(e,t,n){for(;!e.isCommandOrEnd();){var r=new i(e.current.x,(e.isRelativeCommand()?e.current.y:0)+e.getScalar());e.current=r,t.addPoint(e.current.x,e.current.y),null!=n&&n.lineTo(e.current.x,e.current.y)}},c:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getPoint(),o=e.getAsControlPoint(),s=e.getAsCurrentPoint();t.addBezierCurve(i.x,i.y,r.x,r.y,o.x,o.y,s.x,s.y),null!=n&&n.bezierCurveTo(r.x,r.y,o.x,o.y,s.x,s.y)}},s:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getReflectedControlPoint(),o=e.getAsControlPoint(),s=e.getAsCurrentPoint();t.addBezierCurve(i.x,i.y,r.x,r.y,o.x,o.y,s.x,s.y),null!=n&&n.bezierCurveTo(r.x,r.y,o.x,o.y,s.x,s.y)}},q:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getAsControlPoint(),o=e.getAsCurrentPoint();t.addQuadraticCurve(i.x,i.y,r.x,r.y,o.x,o.y),null!=n&&n.quadraticCurveTo(r.x,r.y,o.x,o.y)}},t:function(e,t,n){for(;!e.isCommandOrEnd();){var i=e.current,r=e.getReflectedControlPoint();e.control=r;var o=e.getAsCurrentPoint();t.addQuadraticCurve(i.x,i.y,r.x,r.y,o.x,o.y),null!=n&&n.quadraticCurveTo(r.x,r.y,o.x,o.y)}},a:function(e,t,n){for(;!e.isCommandOrEnd();){var i,r,o,s,a,l,c,u,d,h,p,f,g,m=e.current,w=e.getScalar(),C=e.getScalar(),x=e.getScalar()*v,D=Math.sin(x),E=Math.cos(x),T=e.getScalar(),P=e.getScalar(),I=e.getAsCurrentPoint(),A={x:E*(m.x-I.x)/2+D*(m.y-I.y)/2,y:-D*(m.x-I.x)/2+E*(m.y-I.y)/2},M=A.y*A.y,k=A.x*A.x,L=k/(w*w)+M/(C*C),R=0;for(L>1&&(w*=i=Math.sqrt(L),C*=i),r=w*w,o=C*C,s=(T===P?-1:1)*Math.sqrt((r*o-r*M-o*k)/(r*M+o*k)),isNaN(s)&&(s=0),a={x:s*w*A.y/C,y:s*-C*A.x/w},l={x:(m.x+I.x)/2+E*a.x-D*a.y,y:(m.y+I.y)/2+D*a.x+E*a.y},u={x:(-A.x-a.x)/w,y:(-A.y-a.y)/C},d=y({x:1,y:0},c={x:(A.x-a.x)/w,y:(A.y-a.y)/C}),(h=S(c,u))<=-1?R=Math.PI:h<1&&(R=y(c,u,h)),p=b(l.x,l.y,x,w,C,d,R,1-P!=0),g=0;g<p.length;g++)f=p[g],t.addQuadraticCurve(m.x,m.y,f[0].x,f[0].y,f[1].x,f[1].y),null!=n&&n.quadraticCurveTo(f[0].x,f[0].y,f[1].x,f[1].y),m=f[1]}}},C=function(e){this.base=s,this.base(e);var n=this.attribute("d").value;n=(n=(n=(n=(n=(n=n.replace(u," ")).replace(d,"$1 $2").replace(d,"$1 $2")).replace(h,"$1 $2")).replace(p,"$1 $2")).replace(f,"$1 $2").replace(f,"$1 $2")).replace(g,"$1 $3 $4 "),n=t.compressSpaces(n),n=t.trim(n),this.PathParser=new o(n),this.path=function(e){var t=this.PathParser;for(t.reset(),this.bb=new r,null!=e&&e.beginPath();!t.isEnd();){t.nextCommand();var n=t.command.toLowerCase();null!=w[n]&&w[n](t,this.bb,e)}},this.getBoundingBoxBase=this.getBoundingBox,this.getBoundingBox=function(){return null==this.bb&&this.path(),this.getBoundingBoxBase()},this.updateBoundingBox=function(){null==this.bb&&this.path()}};return C.prototype=new s,C}.call(t,n,t,e))||(e.exports=i)},537:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=function(e,t){this.x=e,this.y=t};return DS._.extend(t.prototype,{angleTo:function(e){return Math.atan2(e.y-this.y,e.x-this.x)},applyTransform:function(e){var t=this.x*e[0]+this.y*e[2]+e[4],n=this.x*e[1]+this.y*e[3]+e[5];this.x=t,this.y=n}}),t}.call(t,n,t,e))||(e.exports=i)},9074:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8077),i=(DS.flagManager,function(e){this.base=t,this.base(e),this.basePath=this.path,this.path=function(e){null!=e&&(this.basePath(e),e.lineTo(this.points[0].x,this.points[0].y),e.closePath())}});return i.prototype=new t,i}.call(t,n,t,e))||(e.exports=i)},8077:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337);var t=n(4561),i=n(8618),r=n(7951),o=function(e){if(this.base=r,this.base(e),null!=e){this.points=t.CreatePath(this.attribute("points").value);var n,o=this.points.length;for(this.bb=new i,n=0;n<o;n++)this.bb.addPoint(this.points[n].x,this.points[n].y)}this.path=function(e){if(null!=e){e.beginPath(),e.moveTo(this.points[0].x,this.points[0].y);for(var t=1;t<this.points.length;t++)e.lineTo(this.points[t].x,this.points[t].y)}}};return o.prototype=new r,o}.call(t,n,t,e))||(e.exports=i)},4354:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=DS._,r=Math.PI/180,o=/px$/,s=/pt$/,a=/pc$/,l=/cm$/,c=/mm$/,u=/in$/,d=/%$/,h=/deg$/,p=/rad$/,f=/grad$/,g=/#([^\)'"]+)/,m=function(e,t){this.name=e,this.value=t};return i.extend(m.prototype,{getValue:function(){return this.value},hasValue:function(){return null!=this.value&&""!==this.value},isTrue:function(){return"true"===this.value.toLowerCase()},numValue:function(){if(!this.hasValue())return 0;var e=parseFloat(this.value);return(this.value+"").match(d)&&(e/=100),e},valueOrDefault:function(e){return this.hasValue()?this.value:e},numValueOrDefault:function(e){return this.hasValue()?this.numValue():e},getDefinition:function(){var e=this.value.match(g);return e&&(e=e[1]),e||(e=this.value),t.defs[e]},isUrlDefinition:function(){return 0===this.value.indexOf("url(")},getDPI:function(e){return 96},getUnits:function(){return(this.value+"").replace(/[0-9\.\-]/g,"")},toPixels:function(e,n){if(!this.hasValue())return 0;var i=this.value+"";if(i.match(o))return this.numValue();if(i.match(s))return this.numValue()*this.getDPI(e)*(1/72);if(i.match(a))return 15*this.numValue();if(i.match(l))return this.numValue()*this.getDPI(e)/2.54;if(i.match(c))return this.numValue()*this.getDPI(e)/25.4;if(i.match(u))return this.numValue()*this.getDPI(e);if(i.match(d))return this.numValue()*t.viewPort.ComputeSize(e);var r=this.numValue();return n&&r<1?r*t.viewPort.ComputeSize(e):r},toRadians:function(){if(!this.hasValue())return 0;var e=this.value+"";return e.match(h)?this.numValue()*r:e.match(p)?this.numValue():e.match(f)?this.numValue()*(Math.PI/200):this.numValue()*r}}),m}.call(t,n,t,e))||(e.exports=i)},978:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(8618),i=n(7951),r=function(e){var n,r,o,s,a,l,c,u,d,h;this.base=i,this.base(e),null!=e&&(n=this.attribute("x").toPixels("x"),r=this.attribute("y").toPixels("y"),o=this.attribute("width").toPixels("x"),s=this.attribute("height").toPixels("y"),a=n+o,l=r+s,c=this.attribute("rx").toPixels("x"),u=this.attribute("ry").toPixels("y"),d=this.attribute("rx").hasValue(),h=this.attribute("ry").hasValue(),d&&!h?u=c:!d&&h&&(c=u),c=Math.min(c,o/2),u=Math.min(u,s/2),this.bb=new t,c>0||u>0?(this.bb.addQuadraticCurve(a-c,r,a,r,a,r+u),this.bb.addQuadraticCurve(a,l-u,a,l,a-c,l),this.bb.addQuadraticCurve(n+c,l,n,l,n,l-u),this.bb.addQuadraticCurve(n,r+u,n,r,n+c,r)):(this.bb.addPoint(n,r),this.bb.addPoint(a,r),this.bb.addPoint(a,l),this.bb.addPoint(n,l))),this.path=function(e){null!=e&&(e.beginPath(),e.moveTo(n+c,r),e.lineTo(a-c,r),e.quadraticCurveTo(a,r,a,r+u),e.lineTo(a,l-u),e.quadraticCurveTo(a,l,a-c,l),e.lineTo(n+c,l),e.quadraticCurveTo(n,l,n,l-u),e.lineTo(n,r+u),e.quadraticCurveTo(n,r,n+c,r),e.closePath())}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},8210:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=n(4561),r=n(6941),o=function(e){this.base=r,this.base(e),this.baseClearContext=this.clearContext,this.clearContext=function(e){this.baseClearContext(e),t.viewPort.RemoveCurrent()},this.baseSetContext=this.setContext,this.setContext=function(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4,void 0!==e.font&&void 0!==window.getComputedStyle&&(e.font=window.getComputedStyle(e.canvas).getPropertyValue("font")),this.baseSetContext(e),this.attribute("x").hasValue()||(this.attribute("x",!0).value=0),this.attribute("y").hasValue()||(this.attribute("y",!0).value=0),e.translate(this.attribute("x").toPixels("x"),this.attribute("y").toPixels("y"));var n=t.viewPort.width(),r=t.viewPort.height();if(this.attribute("width").hasValue()||(this.attribute("width",!0).value="100%"),this.attribute("height").hasValue()||(this.attribute("height",!0).value="100%"),void 0===this.root){n=this.attribute("width").toPixels("x"),r=this.attribute("height").toPixels("y");var o=0,s=0;this.attribute("refX").hasValue()&&this.attribute("refY").hasValue()&&(o=-this.attribute("refX").toPixels("x"),s=-this.attribute("refY").toPixels("y")),"visible"!==this.attribute("overflow").valueOrDefault("hidden")&&(e.beginPath(),e.moveTo(o,s),e.lineTo(n,s),e.lineTo(n,r),e.lineTo(o,r),e.closePath(),e.clip())}if(t.viewPort.SetCurrent(n,r),this.attribute("viewBox").hasValue()){var a=i.ToNumberArray(this.attribute("viewBox").value),l=a[0],c=a[1];n=a[2],r=a[3];var u=this.root?1:0;i.aspectRatio(e,this.attribute("preserveAspectRatio").value,t.viewPort.width()-u,n,t.viewPort.height()-u,r,l,c,this.attribute("refX").value,this.attribute("refY").value),t.viewPort.RemoveCurrent(),t.viewPort.SetCurrent(a[2],a[3])}}};return o.prototype=new r,o}.call(t,n,t,e))||(e.exports=i)},9922:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(6941),i=DS._,r=function(e){this.base=t,this.base(e),this.render=i.noop};return r.prototype=new t,r}.call(t,n,t,e))||(e.exports=i)},2159:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8618),i=n(6941),r=function(e){this.base=i,this.base(e);var n=e.getBBox(),r=n.x,o=n.y,s=n.width,a=n.height;[r,o,s,a].some((function(e){return 0!==e}))&&(this.bb=new t,this.bb.addPoint(r,o+a),this.bb.addPoint(r+s,o+a),this.bb.addPoint(r+s,o),this.bb.addPoint(r,o)),this.renderChildren=function(e){null!=e&&(e.beginPath(),e.moveTo(r,o),e.lineTo(r,o+a),e.lineTo(r+s,o+a),e.lineTo(r+s,o),e.lineTo(r,o),e.closePath(),e.fill())}};return r.prototype=new i,r}.call(t,n,t,e))||(e.exports=i)},9304:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4561),i=n(4354),r=/\)([a-zA-Z])/g,o=/\)(\s?,\s?)/g,s=/\s(?=[a-z])/;return function(e){var n=this;this.Type={},this.Type.translate=function(e){this.p=t.CreatePoint(e),this.apply=function(e){e.translate(this.p.x||0,this.p.y||0)},this.unapply=function(e){e.translate(-1*this.p.x||0,-1*this.p.y||0)},this.applyToPoint=function(e){e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0])}},this.Type.rotate=function(e){var n=t.ToNumberArray(e);this.angle=new i("angle",n[0]),this.cx=n[1]||0,this.cy=n[2]||0,this.apply=function(e){e.translate(this.cx,this.cy),e.rotate(this.angle.toRadians()),e.translate(-this.cx,-this.cy)},this.unapply=function(e){e.translate(this.cx,this.cy),e.rotate(-1*this.angle.toRadians()),e.translate(-this.cx,-this.cy)},this.applyToPoint=function(e){var t=this.angle.toRadians();e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0]),e.applyTransform([Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0]),e.applyTransform([1,0,0,1,-this.p.x||0,-this.p.y||0])}},this.Type.scale=function(e){this.p=t.CreatePoint(e),this.apply=function(e){e.scale(this.p.x||1,this.p.y||this.p.x||1)},this.unapply=function(e){e.scale(1/this.p.x||1,1/this.p.y||this.p.x||1)},this.applyToPoint=function(e){e.applyTransform([this.p.x||0,0,0,this.p.y||0,0,0])}},this.Type.matrix=function(e){this.m=t.ToNumberArray(e),this.apply=function(e){e.transform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])},this.unapply=function(e){var t=this.m[0],n=this.m[2],i=this.m[4],r=this.m[1],o=this.m[3],s=this.m[5],a=1/(t*(1*o-0*s)-n*(1*r-0*s)+i*(0*r-0*o));e.transform(a*(1*o-0*s),a*(0*s-1*r),a*(0*i-1*n),a*(1*t-0*i),a*(n*s-i*o),a*(i*r-t*s))},this.applyToPoint=function(e){e.applyTransform(this.m)}},this.Type.SkewBase=function(e){this.base=n.Type.matrix,this.base(e),this.angle=new i("angle",e)},this.Type.SkewBase.prototype=new this.Type.matrix,this.Type.skewX=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,0,Math.tan(this.angle.toRadians()),1,0,0]},this.Type.skewX.prototype=new this.Type.SkewBase,this.Type.skewY=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,Math.tan(this.angle.toRadians()),0,1,0,0]},this.Type.skewY.prototype=new this.Type.SkewBase,this.transforms=[],this.apply=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].apply(e)},this.unapply=function(e){for(var t=this.transforms.length-1;t>=0;t--)this.transforms[t].unapply(e)},this.applyToPoint=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].applyToPoint(e)};for(var a=t.trim(t.compressSpaces(e)).replace(r,") $1").replace(o,") ").split(s),l=a.length,c=0;c<l;c++){var u=a[c].split("("),d=t.trim(u[0]),h=u[1].replace(")","");this.transforms.push(new this.Type[d](h))}}}.call(t,n,t,e))||(e.exports=i)},7157:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=(n(4561),n(8618),n(8210)),r=n(4354),o=n(6941),s=(DS.flagManager,function(e){this.base=o,this.base(e),this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),this.attribute("x").hasValue()&&e.translate(this.attribute("x").toPixels("x"),0),this.attribute("y").hasValue()&&e.translate(0,this.attribute("y").toPixels("y"))};var n=this.getHrefAttribute().getDefinition();if(null==n&&this.attribute("data-pointer-events").isTrue()){var s=this.getHrefAttribute().value.substr(1),a=document.getElementById(s);if(null!=a){var l=a.viewBox.baseVal||a,c=l.width,u=l.height;t.viewPort.SetCurrent(c,u),(n=t.createElement(a)).attributes.customImage=new r("customImage",!0),t.viewPort.RemoveCurrent()}}this.path=function(e){null!=n&&n.path(e)},this.getBoundingBox=function(){if(null!=n)return n.getBoundingBox()},this.updateBoundingBox=function(){null!=n&&n.getBoundingBox()},this.renderChildren=function(e){if(null!=n){var t=n;"symbol"===n.type&&((t=new i).type="svg",t.attributes.viewBox=new r("viewBox",n.attribute("viewBox").value),t.attributes.preserveAspectRatio=new r("preserveAspectRatio",n.attribute("preserveAspectRatio").value),t.attributes.overflow=new r("overflow",n.attribute("overflow").value),t.children=n.children),"svg"===t.type&&(this.attribute("width").hasValue()&&(t.attributes.width=new r("width",this.attribute("width").value)),this.attribute("height").hasValue()&&(t.attributes.height=new r("height",this.attribute("height").value)));var o=t.parent;t.parent=this,t.render(e),t.parent=o}}});return s.prototype=new o,s}.call(t,n,t,e))||(e.exports=i)},1150:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=function(){this.viewPorts=[]};return DS._.extend(t.prototype,{Clear:function(){this.viewPorts=[]},SetCurrent:function(e,t){this.viewPorts.push({width:e,height:t})},RemoveCurrent:function(){this.viewPorts.pop()},Current:function(){return this.viewPorts[this.viewPorts.length-1]},width:function(){return this.Current().width},height:function(){return this.Current().height},ComputeSize:function(e){return null!=e&&"number"==typeof e?e:"x"===e?this.width():"y"===e?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}),t}.call(t,n,t,e))||(e.exports=i)},1507:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(7337),n(4561);var t=n(4548),i=(n(4354),n(978)),r=n(8054),o=n(8052),s=n(3378),a=n(8077),l=n(9074),c=n(7696),u=n(6305),d=n(5270),h=n(4356),p=n(9922),f=n(8210),g=n(7157),m=n(734),v=n(2159),S=n(7294),y=(DS.flagManager,{rect:i,circle:r,ellipse:o,line:s,polyline:a,polygon:l,path:c,defs:u,image:d,g:h,a:h,symbol:p,use:g,mask:m,svg:f,clipPath:S}),b=/^[^:]+:/,w=/\-/g;return{createElement:function(e){var n=e.nodeName.replace(b,"").replace(w,""),i=y[n]||t;"text"===n&&(i=v);var r=new i(e);return r.type=e.nodeName,r}}}.call(t,n,t,e))||(e.exports=i)},909:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7337),i=n(4561),r=n(1150),o=(n(537),n(4354)),s=(n(9508),n(6941),n(7951),n(9304),n(8618)),a=n(1507),l=function(e){var t=e.flattenBoundingBox(new s);if(0===t.points.length&&0===t.beziers.length&&0===t.children.length){var n=DS.appState.windowManager.getCurrentWindowSlide(),i=1;n&&(i=DS.utils.getPath(n,"currView.props.winScale",1));var r=e.attribute("width"),o=e.attribute("height");r.value&&o.value&&(r=r.toPixels("x"),o=o.toPixels("y"),t.points=[[0,0],[0,o/i],[r/i,o/i],[r/i,0]])}return t};return function(e,n,s){return e="string"==typeof e?document.getElementById(e):e,t.defs={},t.options=s,t.createElement=a.createElement,t.emptyProperty=new o("EMPTY",""),t.viewPort=new r,t.maxStroke=0,function(e,n){var i=t.createElement(n.documentElement),r=e.getContext("2d"),o=t.options.winScale||1;i.root=!0,t.viewPort.Clear(),e.parentNode&&t.viewPort.SetCurrent(e.parentNode.clientWidth,e.parentNode.clientHeight),i.style("width").hasValue()&&(e.width=i.style("width").toPixels("x")/o+1,e.style.width=e.width+"px"),i.style("height").hasValue()&&(e.height=i.style("height").toPixels("y")/o+1,e.style.height=e.height+"px");var s=e.clientWidth||e.width,a=e.clientHeight||e.height;return t.viewPort.SetCurrent(s,a),i.render(r),{bb:l(i),sw:t.maxStroke}}(e,void 0!==n.documentElement?n:i.parseXml(n.trim()))}}.call(t,n,t,e))||(e.exports=i)},7337:function(e,t,n){var i;void 0===(i=function(e){"use strict";return{}}.call(t,n,t,e))||(e.exports=i)},4561:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(537),i=n(4354),r=/-?(\d+(\.\d+)?|\.\d+)(?=\D|$)/gm,o=/[\s\r\t\n]+/gm,s=/^\s+|\s+$/g,a=/^xMid/,l=/YMid$/,c=/^xMax/,u=/YMax$/,d={kappa:(Math.sqrt(2)-1)/3*4,hasValue:function(e){return null!=e&&""!==e},trim:function(e){return e.replace(s,"")},compressSpaces:function(e){return e.replace(o," ")},ToNumberArray:function(e){for(var t=(e||"").match(r)||[],n=0;n<t.length;n++)t[n]=parseFloat(t[n]);return t},CreatePoint:function(e){var n=this.ToNumberArray(e);return new t(n[0],n[1])},CreatePath:function(e){for(var n=this.ToNumberArray(e),i=[],r=0;r<n.length;r+=2)i.push(new t(n[r],n[r+1]));return i},parseXml:function(e){var t;return window.DOMParser?(new window.DOMParser).parseFromString(e,"text/xml"):(e=e.replace(/<!DOCTYPE svg[^>]*>/,""),(t=new window.ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e),t)},aspectRatio:function(e,t,n,r,o,s,h,p,f,g){var m=(t=(t=d.compressSpaces(t)).replace(/^defer\s/,"")).split(" ")[0]||"xMidYMid",v=t.split(" ")[1]||"meet",S=n/r,y=o/s,b=Math.min(S,y),w=Math.max(S,y);"meet"===v&&(r*=b,s*=b),"slice"===v&&(r*=w,s*=w),f=new i("refX",f),g=new i("refY",g),f.hasValue()&&g.hasValue()?e.translate(-b*f.toPixels("x"),-b*g.toPixels("y")):(m.match(a)&&("meet"===v&&b===y||"slice"===v&&w===y)&&e.translate(n/2-r/2,0),m.match(l)&&("meet"===v&&b===S||"slice"===v&&w===S)&&e.translate(0,o/2-s/2),m.match(c)&&("meet"===v&&b===y||"slice"===v&&w===y)&&e.translate(n-r,0),m.match(u)&&("meet"===v&&b===S||"slice"===v&&w===S)&&e.translate(0,o-s)),"none"===m?e.scale(S,y):"meet"===v?e.scale(b,b):"slice"===v&&e.scale(w,w),e.translate(null==h?0:-h,null==p?0:-p)}};return d}.call(t,n,t,e))||(e.exports=i)},1689:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r,o,s=n(5238),a=n(8907),l=n(7877),c=n(1039),u=DS._,d=DS.utils,h=DS.pubSub,p=DS.vow,f=DS.constants,g=DS.events,m=f.RECT_HIT,v=f.GROUP_HIT,S=f.SLIDE_HIT,y=function(e,t){return e[0]<t[2]&&e[2]>t[0]&&e[1]<t[3]&&e[3]>t[1]},b=function(e,t){return[Math.max(e[0],t[0]),Math.max(e[1],t[1]),Math.min(e[2],t[2]),Math.min(e[3],t[3])]},w=function(e,t){var n=s.getBounds(t);return e[0]<=n[0]&&e[2]>=n[2]&&e[1]<=n[1]&&e[3]>=n[3]},C=function(e,t,n,i,o){var a,l,c,u,d,h=e.props.model.getHitType(),p=t.props.model.getHitType(),f=n.length,g=0,v=Math.floor(i[0]),b=Math.floor(i[1]),C=Math.ceil(i[2])-v,D=Math.ceil(i[3])-b,E=h===m||h===S,T=p===m||p===S;if(0===f&&(E&&T||T&&w(i,e)||E&&w(i,t)))return C*D;for(r.translate(-v,-b),r.clearRect(v,b,C,D),r.globalAlpha=.5,x(r,t),c=0;c<f;c++)d=n[c],u=s.getBounds(d),y(i,u)&&x(r,n[c],!0);for(x(r,e),l=(a=s.getImageData(r,0,0,C,D).data).length,c=3;c<l&&(!(a[c]>128)||(g++,o));c+=4);return r.translate(v,b),g},x=function(e,t,n){var i,r,o,l,c,u,d,h=!n&&!t.dragging&&function(e){var t=e.props.model,n=t.closestScrollAncestor;return null==n&&(n=t.closestScrollAncestor=t.getClosestAncestorByKind("scrollarea")||!1),n&&n.currView}(t);h?(l=(d=h.props.model).width(),c=d.height(),null==d.scrollCanvas?((r=d.scrollCanvas=document.createElement("canvas")).width=l,r.height=c):r=d.scrollCanvas,(o=r.getContext("2d",{willReadFrequently:!0})).clearRect(0,0,l,c),o.save(),i=(u=a.getMatrix(h)).copy().invert(),o.transform(i.a,i.c,i.b,i.d,i.tx,i.ty),s.drawToTarget(t,o),o.restore(),e.save(),i=u,e.transform(i.a,i.c,i.b,i.d,i.tx,i.ty),e.drawImage(r,0,0),e.restore()):(e.save(),n&&(e.globalAlpha=1,e.globalCompositeOperation="destination-out"),s.drawToTarget(t,e),e.restore())},D=function(e,t,n){var i=e.props.model,r=s.getCanvas(e).getContext("2d",{willReadFrequently:!0}),o=i.getCurrentStateMetrics(),a=null==o.mask?o.strokewidth:0,l=o.xPos-a,c=o.yPos-a;return 0!==s.getImageData(r,t-l,n-c,1,1).data[0]},E=function(e){if(null!=e&&0!==e.length){var t,n,i,r,o,s,a=e.length,l=[];for(t=0;t<a;t++)(n=e[t]).lastCollision,i=n.eventableModel,r=n.targetModel,o=i.currView,s=r.currView,null!=o&&null!=s&&(n.currCollision=o.trulyVisible&&s.trulyVisible&&T(o,s),n.currCollision!==n.lastCollision&&(n.lastCollision=n.currCollision,l.push(i)));P(u.uniq(l))}},T=function(e,t){var n,i,r,o,a,l,c,u=e.props.model,d=t.props.model,h=u.getHitType(),p=d.getHitType(),f=h===v?e.allRefs:[u],g=p===v?t.allRefs:[d],m=f.length,S=g.length,w=[],x=[],D=[];for(w.length=m,x.length=S,o=0;o<m;o++)if((n=f[o]).currView.trulyVisible)for(w[o]=s.getBounds(n.currView),a=0;a<S;a++)(i=g[a]).currView.trulyVisible&&(0===o&&(x[a]=s.getBounds(i.currView)),y(w[o],x[a])&&D.push([o,a]));for(r=D.length,o=0;o<r;o++)if(l=D[o][0],c=D[o][1],C(f[l].currView,g[c].currView,[],b(w[l],x[c]),!1)>0)return!0;return!1},P=function(e){var n,i,r,o,s,a,l,u,d=e.length;for(i=0;i<d;i++)for(n=e[i],a=(l=c.getEventableLookupAndStates(n)).eventStates,u=l.lookup,r=a.length,s=0;s<r;s++)o=a[s],I(n,o,u)&&t.executeActions(o.event.actions,{context:n})},I=function(e,t,n){var i,r,o=t.event.kind,s=t.targets,a=s.length,l=!1,c=!1;for(i=0;i<a;i++)if(r=n[s[i].getRelativeId()],(l=l||r.currCollision)&&"oncollisionstart"===o)return c=t.lastHit!==l,t.lastHit=l,c;return l||"oncollisionend"!==o?(t.lastHit=l,!1):(c=t.lastHit!==l,t.lastHit=l,c)},A={initialize:function(e){var n=this;this.setupDfd=p.Deferred(),t=e,h.on(g.app.COMPLETE,(function(){(o=l.getCollisionLib())&&(i=o.querySelector("canvas"),(r=i.getContext("2d",{willReadFrequently:!0})).imageSmoothingEnabled=!1,i.width=720,i.height=540,o.appendChild(i)),A.setupDfd.resolve()})),h.on(g.slide.HAS_MOUNTED,(function(e){n.setupDfd.then((function(){var t=d.getPath(e,"props.model");null==t||e.props.isMessageWindow||(i.width=t.get("width"),i.height=t.get("height"))}))}))},transformUpdated:function(e,t){var n=e.props.model;a.setMatrixDirty(e),!1!==n.isCollideable&&(t?E(c.getCollisionSets(n)):c.markCollisionsDirty(n,(function(){E(c.getDirtyCollisionSets())})))},containsPoint:function(e,t,n){if(e.props.model.getHitType()===v){var i=a.localPtToSlide(e,t,n);return u.reduce(e.allRefs,(function(e,t){var n=t.currView,r=a.slidePtToSlideObject(n,i.x,i.y);return e||D(n,r.x,r.y)}),!1)}return D(e,t,n)},getOverlapArea:function(e,t,n,i){var r=s.getBounds(e),o=s.getBounds(t),a=0;return y(r,o)&&(a=C(e,t,n,b(r,o),i)),a}};return A}.call(t,n,t,e))||(e.exports=i)},5110:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(949),i=n(1689),r=n(8907),o=DS._,s=DS.events,a=DS.utils,l=DS.svgUtils,c=DS.windowManager,u=DS.globalEventHelper,d=u.addBodyListener,h=u.removeBodyListener,p=DS.dom.hasClass,f=o.reduce(["dragstart","drag","dragend","dropenter","dropdrag","dropleave","drop"],(function(e,t){return e["on"+t]=o.noop,e.setTargets=o.noop,e}),{}),g=[],m=["currView","refs","innard"],v=function(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top},S=function(e,t){if(!v(e,t))return 0;var n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom),r=Math.max(e.left,t.left);return(Math.min(e.right,t.right)-r)*(i-n)},y=function(e){return-e.getZIndex()},b=function(e,t){var n,i=DS.windowManager.getCurrentWindowSlide(),r=function(e){var t=e.params?e.params.slideOwner:null;return null==t||t===i},s=e.el.getBoundingClientRect(),a=o.sortBy(t.filter(r),y);return a.reduce((function(e,t,i){var o=a.slice(0,i).reduce((function(e,t){return e-S(s,t.getBounds())}),S(s,t.getBounds()));return r(t)&&o>e?(n=t,o):e}),0),n},w=function(e,t,n){var i=this;this.view=e,this.el=n||e.el,this.params=o.defaults(t,f),this.relativeView=null!=n?this.view.props.model.parentModel.currView:this.view,this.currSlide=c.getCurrentWindowSlide(),this.removeSlideChangeListener=DS.pubSub.addListener(s.slide.WILL_CHANGE,(function(){i.slideHasChanged=!1,i.isMousedDown&&(i.slideHasChanged=!0,i.onReleaseMouse())})),this.currSlide.listenTo(this.currSlide,s.slide.TEARDOWN,this.removeSlideChangeListener),o.bindAll(this,"disable","enable","bindTouch","grab","contain","move","release","onGrabMouse","onGrabTouch","onMoveMouse","onMoveTouch","onReleaseMouse","onReleaseTouch","hasModalAbove","getDropTarget","getPosition"),this.offsetX=this.grabbedXPos=this.offsetY=this.grabbedYPos=0,this.enable()};o.extend(w.prototype,{hasMoved:!1,x:0,y:0,unbindTouch:o.noop,disable:function(){this.el.removeEventListener("mousedown",this.onGrabMouse),this.unbindTouch()},enable:function(){this.el.addEventListener("mousedown",this.onGrabMouse),this.bindTouch()},bindTouch:function(){this.unbindTouch(),this.unbindTouch=o.flow(t.on(this.el,"touchstart",this.onGrabTouch),t.on(this.el,"touchmove",this.onMoveTouch),t.on(this.el,"touchend",this.onReleaseTouch))},grab:function(e,t){this.cachedMetrics=r.getSlideMetrics(this.relativeView),this.grabbedXPos=this.relativeView.getPlayerProp("RawXPos"),this.grabbedYPos=this.relativeView.getPlayerProp("RawYPos");var n=this.getPosition(),i=r.globalPtToLayer(this.relativeView,e,t,this.cachedMetrics),o=r.parentPtToSlide(this.relativeView,this.grabbedXPos,this.grabbedYPos);this.params.setTargets(),this.params.getPosition&&(n=this.params.getPosition(),this.relativeView!==this.view&&(o={x:n.x/this.cachedMetrics.scaleX,y:n.y/this.cachedMetrics.scaleY})),this.offsetX=o.x-i.x,this.offsetY=o.y-i.y,this.origPosX=n.x,this.origPosY=n.y,this.hasMoved=!1},contain:function(){if(null==this.dropTarget){var e=this.el.getBoundingClientRect(),t=this.params.containment.getBoundingClientRect(),n=o.result(this.view.props.model,"getCurrentStateMetrics",{strokewidth:0}).strokewidth/2,i=this.currSlide.calculateTotalScale();this.x=a.clamp(n,(t.width-e.width)*i-n,this.x),this.y=a.clamp(n,(t.height-e.height)*i-n,this.y)}},move:function(e,t){var n,o=this.dropTarget,s=r.globalPtToLayer(this.relativeView,e,t,this.cachedMetrics),c=this.view.props.model,u=this.view.props.winScale;this.x=s.x+this.offsetX,this.y=s.y+this.offsetY,this.el.style[this.view.cssTransform]=[l.transformTranslate(a.pxify(this.x*u),a.pxify(this.y*u)),l.transformRotate(this.view.state.Rotation+"deg"),l.transformScale(this.view.state.ScaleX/100,this.view.state.ScaleY/100)].join(" "),this.dropTarget=this.getDropTarget("drag"),i.transformUpdated(this.view),this.hasMoved||(n=o&&o.el,null!=c.reparentChild&&c.reparentChild(c.getSlide()),this.params.ondragstart(this,this.dropTarget),this.hasMoved=!0),this.params.ondrag(this,this.dropTarget),!o||this.dropTarget&&o===this.dropTarget||this.params.ondropleave(this,o),this.dropTarget&&(o===this.dropTarget&&n!==this.dropTarget.el||this.params.ondropenter(this,this.dropTarget),this.params.ondropdrag(this,this.dropTarget))},release:function(){this.hasMoved&&(this.contain(),this.params.setPosition&&this.params.setPosition(this.x,this.y),this.dropTarget=this.getDropTarget("drop"),null!=this.dropTarget&&this.params.ondrop(this,this.dropTarget),this.params.ondragend(this,this.dropTarget),null!=this.dropTarget&&this.relativeView.props.model.executePlayerEvent("ondragconnect"))},onGrabMouse:function(e){this.isMousedDown||p(e.target,"scrollarea-scrollbar")||p(e.target,"scrollarea-btn")||(this.isMousedDown=!0,this.grab(e.clientX,e.clientY),d("mousemove",this.onMoveMouse),d("mouseup",this.onReleaseMouse),e.preventDefault())},onGrabTouch:function(e){if(!p(e.target,"scrollarea-scrollbar")&&!p(e.target,"scrollarea-btn")){var t=e.changedTouches[0];this.touchId=t.identifier,this.grab(t.clientX,t.clientY),e.preventDefault()}},onMoveMouse:function(e){this.move(e.clientX,e.clientY),e.preventDefault()},onMoveTouch:function(e){var t=e.changedTouches[0];this.touchId===t.identifier&&(this.move(t.clientX,t.clientY),e.preventDefault())},onReleaseMouse:function(e){this.isMousedDown=!1,this.slideHasChanged||(this.release(),this.view.props.model.setTransformDirty(),this.hasMoved||"textinput"!==this.view.props.model.get("kind")||this.view.accShadowView.takeFocus()),h("mousemove",this.onMoveMouse),h("mouseup",this.onReleaseMouse)},onReleaseTouch:function(e){this.release(),this.view.props.model.setTransformDirty(),this.touchId=null},hasModalAbove:function(){var e=a.getPath(this,"view.props.model.getLayer");return null!=e&&null!=e.collection&&e.collection.hasModalLayerAbove(e)},getDropTarget:function(e){if(!this.hasModalAbove())return this.params.getDropTarget?this.params.getDropTarget(this,g,e):b(this,g)},getPosition:function(){return{x:this.x,y:this.y}}});var C=function(e,t){this.el=e,this.params=t,g.push(this)};return o.extend(C.prototype,{getBounds:function(){return this.el.getBoundingClientRect()},getZIndex:function(){return parseInt(this.el.style.zIndex)},unregister:function(){o.remove(g,this)}}),{DraggableHelper:w,DroppableHelper:C,util:{getClosestScrollInnard:function(e){return a.getPath(e.props.model.getClosestAncestorByKind("scrollarea"),m)},areOverlapping:v,unionArea:S,getDropTargetByOverlap:b,sortByZIndexReverse:y,getRegisteredDroppables:function(){return g}}}}.call(t,n,t,e))||(e.exports=i)},7523:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=void 0===arguments?void 0:arguments;function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305).createElement;DS.flagManager.dropInVectors&&(DS.DropIn.semanticTextRenderer=function(e){t=DS.flagManager.dropInAcc?DS.DropIn.createElement:e.createElement}),DS.flagManager.dropInAcc&&(t=DS.DropIn.createElement);var i,r,c,u,d,h,p=n(4484),f=p.splitTemplateOnTokens,g=p.parseTemplate,m=p.splitFormatted,v=n(5734),S=v.getListInfo,y=v.adjustMargin,b=v.getLineHeight,w=DS,C=w._,x=w.utils,D=x.ptify,E=x.pxify,T=x.juxt,P=x.isRtlText,I=w.vendorOverrides,A="p",M="ol",k="ul",L="li",R="a",_="em",O="strong",V="span",N="br",j="sup",B="sub",F="bdo",U={rightToLeft:{left:"right",right:"left",center:"center",justify:"justify"},leftToRight:{left:"left",right:"right",center:"center",justify:"justify"}},H={upper:"uppercase",lower:"lowercase"},G=/(<|<\/)(\w+).*?(\/>|>)/gi,W=1,z=-1,q=0,Y=/[\u0700-\u074f\u0600-\u06ff\u1800-\u18af]/,K=function(e){if(0===e.length)return e;var t=C.first(e).idx;return e.map((function(e){var n,i=e.len,r=e.flowDirection,o=e.cursive;if(null!=e.updateString){var s=function(e){for(var t,n=0,i=[];t=G.exec(e);){var r=l(t,4),o=r[0],s=r[1],a=r[2],c=r[3],u=t.index,d="</"===s?z:"/>"===c?q:W,h=e.substring(n,u);"br"===a.toLowerCase()&&d!==z&&(h="".concat(h,"\r")),h.length>0&&i.push(h),n=u+o.length}return n<e.length&&i.push(e.substring(n)),i.join("")}(e.updateString());i=s.length,r=P(s)?"rightToLeft":"leftToRight",n=s,o=Y.test(n)}var a=C.extend({},e,{idx:t,len:i,flowDirection:r,cursive:o});return t+=i,a}))},X=function(e,t,n){return"none"!==e?t?"bullet"===e?k:M:L:n?n.toLowerCase():A},Z=function(e,t){var n,i,r=C.extend({},t.baseSpanStyle,e.style),o=r.fontSize,s=r.fontIsBold,l=r.fontIsItalic,c=r.fontIsUnderline,u=r.fontIsStrikeout,d=r.foregroundColor,h=r.linkColor,p=r.linkId,f=r.backgroundColor,g=r.spacing,m=r.displayCase,v=r.ascent,S=r.descent,y=r.elevation;return{fontFamily:(n=r.fontFamily,i=[].concat(a(n.split(/,\s*/)),["sans-serif"]),null!=I.fixFontFallbacks&&I.fixFontFallbacks(i),i.join(", ")),backgroundColor:f,color:null!=p?h:d,fontSize:D(o*("normal"==y?1:.6)),fontWeight:s?"700":null,fontStyle:l?"italic":"normal",letterSpacing:null!=g?D(g):"normal",lineHeight:E(b(t,v+S)),textTransform:H[m],textDecoration:[].concat(a(c?["underline"]:[]),a(u?["line-through"]:[])).join(" ")}},Q=function(e){if(!C.isEmpty(e.spans)){var t=function(e){var t=e.spans;if("rtl"===e.style.direction){t.length;var n=0,i=0,r=[];return t.forEach((function(t){i+=t.text.length;for(var o=e.runs[n],s=0;o.idx+o.len<i;){var a=e.runs[n+1];if(o.flowDirection!==a.flowDirection){var l=o.idx-(i-t.text.length)+o.len;s<l&&r.push({text:t.text.substring(s,l),style:C.extend({},t.style,{flowDirection:o.flowDirection})}),s=l}n+=1,o=e.runs[n]}var c=t.text.substring(s,t.text.length);r.push({text:c,style:C.extend({},t.style,{flowDirection:o.flowDirection})})})),r}return e.spans}(e),n=!0;t.forEach((function(t){var i=e,r=t.style,o=r.fontIsBold,s=r.fontIsItalic,a=r.linkId,l=r.elevation,c=r.flowDirection,u=function(e,t){var n={parent:t,type:e,children:[]};return t.children.push(n),n};null!=a&&((i=u(R,i)).linkId=a),!0===o&&(i=u(O,i)),!0===s&&(i=u(_,i)),"leftToRight"===c&&((i=u(F,i)).dir="ltr"),"superscript"===l?i=u(j,i):"subscript"===l&&(i=u(B,i));var d=e.styleConfig;t.text.split(/(\n|\r)/).filter((function(e){return""!==e})).forEach((function(e){!n||"\n"!==e&&"\r"!==e||i.children.push({parent:i,type:V,style:Z(t,d),value:" "}),n="\r"===e,"\r"===e?i.children.push({parent:i,type:N}):"\n"!==e&&i.children.push({parent:i,type:V,style:Z(t,d),value:e})}))}))}},$=function(e,t,n){var i=t.isList&&!n?C.last(t.children):t;e.parent=i;var r=function(e){for(var t=e.parent;null!=t&&null==t.styleConfig;)t=t.parent;return null==t?{paddingLeft:0,paddingRight:0}:t.styleConfig.padding}(e),o=r.paddingLeft,s=r.paddingRight;e.style.paddingLeft-=o,e.style.paddingRight-=s,i.children.push(e),Q(e)},J=function(e,t,n,i){var r=[],o={children:[],level:0},s=0,a=o;return e.blocks.forEach((function(o,c){var u=C.merge({},e.defaultBlockStyle,o.style||{}),d=S(o,u,e.defaultBlockStyle,null,0,r,!1),h=null!=d,p=h?u.listStyle.listType:"none",f=h?d.listLevel+1:u.listLevel;if(h&&(f>s||f===s&&!a.isList)){var g={type:X(p,!0,u.tagType),children:[],isList:!0,level:f,listInfo:d,style:{}};$(g,a,!1),a=g}else if(f<s)for(;null!=a.parent&&(f<a.level||h&&!a.isList);)a=a.parent;s=f;var m=0===c,v=c===e.blocks.length-1,b=function(e,t,n,i,r,o,s,a){var c=e.flowDirection,u=e.justification,d=e.leadingMargin,h=e.firstLineMargin,p=e.spacingBefore,f=void 0===p?0:p,g=e.spacingAfter,m=void 0===g?0:g,v=h-d,S=y(h<0?Math.max(v,-d):v),b=y(d),w=l("rightToLeft"===c?[0,b,"rtl"]:[b,0,"ltr"],3),C=w[0],x=w[1],D=w[2];e.padding={paddingLeft:C,paddingRight:x};var E={textAlign:U[c][u],textIndent:null!=t?Math.min(S,0):S,paddingTop:o?0:f,paddingBottom:s?0:m,paddingRight:x,paddingLeft:C,overflowWrap:"break-word",whiteSpace:i?"pre-wrap":"pre",textShadow:r?"1.5px 1.5px 3px rgba(0, 0, 0, 0.5)":"none",direction:D,flexShrink:0};return a||Object.assign(E,{lineHeight:"0",marginBlockStart:0,marginBlockEnd:0}),E}(u,d,0,t,n,m,v,i),w=function(e,t,n){if(null==n)return{};var i=e.baseSpanStyle,r=e.firstLineMargin,o=e.leadingMargin,s=e.flowDirection,a=e.justification,l=e.listStyle,c=l.listType,u=l.bulletFont,d=l.size,h=l.color,p=Object.assign({},i,t),f=p.fontFamily,g=p.fontSize,m=p.foregroundColor;return{listStyle:{fontFamily:"bullet"===c?u:f,fontSize:D(d*g/100),color:h||m,minWidth:Math.abs(y(r-o)),display:"inline-block",textIndent:0,textAlign:U[s][a]},listChar:n.bulletChars.map((function(e){return e.content})).join("")}}(u,o.spans[0].style,d),x=w.listStyle,E=w.listChar,T={spans:o.spans,runs:o.runs,type:X(p,!1,u.tagType),children:[],level:s,listInfo:d,style:b,listStyle:x,listChar:E,styleConfig:u};$(T,a,h)})),o},ee=["marginBlockStart","marginBlockEnd","textIndent","paddingTop","paddingBottom","paddingRight","paddingLeft","minWidth","minHeight"],te=function(e,t,n){return"<".concat(e).concat(null!=t.className?' class="'.concat(t.className,'"'):"").concat(null!=t.style?" style='".concat(Object.entries(t.style).reduce((function(e,t){var n=l(t,2),i=n[0],r=n[1];return null!=r&&""!==r&&e.push("".concat(C.kebabCase(i),": ").concat(function(e,t){return 0!==t&&C.isNumber(t)&&ee.includes(e)?"".concat(t,"px"):t}(i,r),";")),e}),[]).join(" "),"'"):"",">").concat(C.isString(n)?n:(n||[]).join(""),"</").concat(e,">")};DS.flagManager.aiCourseTranslation?(i=function(e,t,n,i){var r=t.style,o=t.type,s=t.children;return(0,e.createElement)(o,{style:r,key:n},(0,e.renderText)(s,i))},s(d={},M,(function(e,t,n,i){var r=t.type,o=t.children;return(0,e.createElement)(r,{className:"semantic-list",key:n},(0,e.renderText)(o,i))})),s(d,k,(function(e,t,n,i){var r=t.type,o=t.children;return(0,e.createElement)(r,{className:"semantic-list",key:n},(0,e.renderText)(o,i))})),s(d,L,(function(e,t,n,i){var r=e.createElement,o=e.renderText,s=t.parent.type,l=t.style,c=t.type,u=t.children,d=t.listStyle,h=t.listChar;return s===k&&i.normalizeBullets&&(h="•"),r(c,{style:l,key:n},[r("span",{style:d,key:"bullet"},h)].concat(a(o(u,i))))})),s(d,R,(function(e,t,n,i){var r=t.style,o=t.type,s=t.children,a=t.linkId,l=e.createElement,c=e.renderText;return l(o,{className:a,"data-linkid":a,style:r,key:n,href:"#".concat(a),tabIndex:i.isLinkTabbable()?"0":"-1",onClick:null!=i.handleKeyboardClick?function(e){return i.handleKeyboardClick(e,a)}:null,onMouseOver:function(){return i.onLinkOver(a)},onMouseOut:function(){return i.onLinkOut(a)}},c(s,i))})),s(d,N,(function(e,t,n){var i=t.type;return(0,e.createElement)(i,{key:n})})),s(d,V,(function(e,t,n){var i=t.style,r=t.type,o=t.value;return(0,e.createElement)(r,{style:i,key:n},o)})),s(d,F,(function(e,t,n,i){var r=t.style,o=t.type,s=t.dir,a=t.children;return(0,e.createElement)(o,{style:r,key:n,dir:s},(0,e.renderText)(a,i))})),r=d,c=function(e,n){var o={createElement:t,renderText:c};return e.map((function(e,t){return(r[e.type]||i)(o,e,t,n)}))},u=function(e,t){var n={createElement:te,renderText:u};return e.map((function(e,o){return(r[e.type]||i)(n,e,o,t)}))},DS.renderHtmlString=function(e){var t=J(e,!0,!1,!0);return u(t.children)}):(i=function(e,n,i){var r=e.style,o=e.type,s=e.children;return t(o,{style:r,key:n},c(s,i))},s(h={},M,(function(e,n,i){var r=e.type,o=e.children;return t(r,{className:"semantic-list",key:n},c(o,i))})),s(h,k,(function(e,n,i){var r=e.type,o=e.children;return t(r,{className:"semantic-list",key:n},c(o,i))})),s(h,L,(function(e,n,i){var r=e.parent.type,o=e.style,s=e.type,l=e.children,u=e.listStyle,d=e.listChar;return r===k&&i.normalizeBullets&&(d="•"),t(s,{style:o,key:n},[t("span",{style:u,key:"bullet"},d)].concat(a(c(l,i))))})),s(h,R,(function(e,n,i){var r=e.style,o=e.type,s=e.children,a=e.linkId;return t(o,{className:a,"data-linkid":a,style:r,key:n,href:"#".concat(a),tabIndex:i.isLinkTabbable()?"0":"-1",onClick:null!=i.handleKeyboardClick?function(e){return i.handleKeyboardClick(e,a)}:null,onMouseOver:function(){return i.onLinkOver(a)},onMouseOut:function(){return i.onLinkOut(a)}},c(s,i))})),s(h,N,(function(e,n){var i=e.type;return t(i,{key:n})})),s(h,V,(function(e,n){var i=e.style,r=e.type,o=e.value;return t(r,{style:i,key:n},o)})),s(h,F,(function(e,n,i){var r=e.style,o=e.type,s=e.dir,a=e.children;return t(o,{style:r,key:n,dir:s},c(a,i))})),r=h,c=function(e,t){return e.map((function(e,n){return(r[e.type]||i)(e,n,t)}))});return{parseBlocks:J,parseVariables:function(e){if(null==e)return{listenToVarChanges:function(){return C.noop},updateVarText:function(){return{}}};var t=e.blocks.reduce((function(e,t){if(0===t.runs.length)return e;var n=t.spans.reduce((function(e,t){return f(t.text).forEach((function(n){var i=g(n),r=i.addListeners,s=i.updateString,l=i.hasVars;e.addListeners.push(r),e.updateString.push((function(){var e=s.apply(void 0,a(o));return l?m(e,t.style):[C.extend({},t,{text:e})]}))})),e}),{addListeners:[],updateString:[]});return e.addListeners=e.addListeners.concat(n.addListeners),e.updateString.push((function(){return C.extend({},t,{spans:C.flatten(T(n.updateString).apply(void 0,a(o)))},{runs:K(t.runs)})})),e}),{addListeners:[],updateString:[]});return{listenToVarChanges:function(){var e=T(t.addListeners).apply(void 0,arguments);return T(e)},updateVarText:function(){return C.extend({},e,{blocks:T(t.updateString).apply(void 0,arguments)})}}},renderSemanticText:c,updateBlockRuns:K}}.call(t,n,t,e),void 0===i||(e.exports=i)},8907:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._;var t=DS.TransMatrix,n=(DS.utils,function(e,t){var n,i,r,o=e.state,s=o.rotateXPos,a=o.rotateYPos,l=null!=e.decorators&&e.decorators.rotatable;return null!=e.tweenedConfig&&null!=e.tweenedConfig.props&&(o=e.tweenedConfig.props),e.dragging?(n=(r=e.decorators.draggable.getDraggingPosition()).x,i=r.y):(n=o.RawXPos,i=o.RawYPos),t.translate(n,i),100!==o.ScaleX&&100!==o.ScaleY&&t.scale(o.ScaleX/100,o.ScaleY/100,s,a),0!==o.Rotation&&t.rotate(o.Rotation,s,a),l&&l.lastSetRotation&&t.rotate(l.lastSetRotation,l.rotateXPos,l.rotateYPos),t}),i=function(e,i,r){for(var o,s,a,l,c,u=[],d=e,h=null!=r?r.copy():new t;d!==i;)d.props.isInnard||u.push(d),d=null!=(l=d.reparentedContainer)?(c=l.props.model).isSlideLayer||c.isSlide?void 0:l:d.props.parent;for(o=u.length-1;o>=0;o--){if(d=u[o],h=n(d,h),(a=d.props.model).isKind("expandinglabel"))if(o>0){var p=DS.flagManager.dropInMisc&&!DS.flagManager.dropInCore?d.refs.innard.dropInView.refs.contents:d.refs.innard.refs.contents,f=p.offsetLeft,g=p.offsetTop;h.translate(f/e.props.winScale,g/e.props.winScale)}else h.translate(6,6);a.isKind("scrollarea")&&(h.translate(0,d.props.topOffset||0),o>0&&(s=d.getPlayerProp("Position"))&&h.translate(0,-s))}return h},r={setMatrixDirty:function(e){var t,n;if(e.props.model.setTransformDirty(),null!=e.allRefs)for(t=e.allRefs.length,n=0;n<t;n++)null!=e.allRefs[n].currView?this.setMatrixDirty(e.allRefs[n].currView):e.allRefs[n].setTransformDirty()},getMatrix:function(e){var t=e.props.model;return!1===t.transformDirty?t.currTransform:(t.transformDirty=!1,t.currTransform=i(e))},getRelativeMatrix:function(e,t,n){return i(e,t,n)},localPtToGlobal:function(e,t,n,i){i=i||this.getSlideMetrics(e);var r=e.props.model.isSlideObject?this.localPtToSlide(e,t,n):{x:t,y:n};return{x:i.left+r.x*i.scaleX,y:i.top+r.y*i.scaleY}},globalPtToLocal:function(e,t,n,i){var r=e.props.model;return r.isSlide&&(r=r.getBaseLayer()),r.isSlideLayer?this.globalPtToLayer(r.currView,t,n,i):this.globalPtToSlideObject(e,t,n,i)},globalPtToLayer:function(e,t,n,i){return{x:(t-(i=i||this.getSlideMetrics(e)).left)/i.scaleX,y:(n-i.top)/i.scaleY}},globalRectToSlideObject:function(e,t,n){var i=t.top,r=t.left,o=t.bottom,s=t.right,a=t.width,l=t.height;if(null==e)return[0,0,0,0];n=n||{top:0,left:0,bottom:0,right:0},s=s||r+a,o=o||i+l;var c=this.getSlideMetrics(e),u=this.globalPtToSlideObject(e,r,i,c),d=this.globalPtToSlideObject(e,s,o,c);return[u.x+n.left,u.y+n.top,d.x+n.right,d.y+n.bottom]},globalPtToSlideObject:function(e,t,n,i){var r=e.props.model.getLayer().currView,o=this.globalPtToLayer(r,t,n,i),s=this.getMatrix(e).copy().invert().transformPoint(o.x,o.y);return{x:s.x,y:s.y}},localPtToSlide:function(e,t,n){return this.getMatrix(e).transformPoint(t,n)},parentPtToSlide:function(e,t,n){for(var i,r=e.props.parent;null!=r&&(r.props.isInnard||r.props.model.isKind("shufflegroup"));)r=r.props.parent;return null!=r&&r.el.contains(e.el)?(i=this.getMatrix(r),r.props.model.isKind("scrollarea")&&(i=i.copy()).translate(0,-(r.getPlayerProp("Position")||0)),i.transformPoint(t,n)):{x:t,y:n}},localPtToLocal:function(e,t,n,i){var r=this.localPtToSlide(e,n,i);return this.slidePtToSlideObject(t,r.x,r.y)},slidePtToSlideObject:function(e,t,n){return r.getMatrix(e).copy().invert().transformPoint(t,n)},getSlideMetrics:function(e){var t=function(e){var t=e.props.model;return t.isSlide?t.getBaseLayer().currView:t.isSlideLayer?t.currView:t.getLayer().currView}(e),n=t.el.getBoundingClientRect();return{scaleX:n.width/t.props.width,scaleY:n.height/t.props.height,left:n.left,top:n.top,right:n.right,bottom:n.bottom,width:n.right-n.left,height:n.bottom-n.top}}};return r}.call(t,n,t,e))||(e.exports=i)},4484:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils,i=DS.resolver,o=/(%[^%^\^^\s]+%)/g,s=/\.\$/g,a=/^\$/,l=/%/g,c=/\s+$/g,u=/[\t ]color[\t ]*?=[\t ]*?["'](#[A-F0-9]{3,6})["']/i,d=/(<|<\/)(\w+).*?(\/>|>)/gi,h=1,p=-1,f=0,g=["i","b","font"],m=[{find:/\^%\^/g,replace:"%"},{find:/\^\^/g,replace:"^"}],v=function(e){return t.isNumber(e)?n.fix(e,2):e},S=function(e){return m.reduce((function(e,t){return e.replace(t.find,t.replace)}),e)},y=function(e,n){var r,o,c,u,d,h,p=e.replace(l,""),f=i.resolvePath(p,n,{optional:!0});return f||p.search(s)>-1?(i.isPropRef(p)?(r=function(e){return v(i.resolvePath(p,e))},u=p.split("."),d=t.initial(u).join("."),h=t.last(u).replace(a,""),o=function(e,t){var n=i.resolvePath(d,e).playerProps,r="change:"+h;return n.on(r,t),function(){n.off(r,t)}}):(r=function(){return v(f.value())},c=f,o=function(e,t){return c.on("change",t),function(){c.off("change",t)}}),{builder:r,on:o}):{builder:t.constant(e)}},b={},w=[],C=function(e,n,i){var r={};if("font"===n)if(i===h){var o=e.match(u);null!=o?w.push(o[1]):w.length>0&&w.push(t.last(w))}else w.pop();else b[n]=Math.max(0,(b[n]||0)+i);return b.i&&(r.fontIsItalic=!0),b.b&&(r.fontIsBold=!0),w.length>0&&(r.foregroundColor=t.last(w)),r};return{parseTemplate:function(e,n){if(null==e)return{updateString:t.constant(""),addListeners:t.constant(t.noop)};var i=e.split(o),r=[],s=[],a={};return i.length<=1?{updateString:t.constant(S(e)),addListeners:t.constant(t.noop)}:(i.forEach((function(e,i){var o,l;i%2==1?(l=(o=y(e,n)).on,r.push(o.builder),null!=l&&null==a[e]&&(a[e]=!0,s.push(l))):t.isEmpty(e)||r.push(t.constant(S(e)))})),{hasVars:!0,updateString:function(e){return t=r.map((function(t){return t(e)})).join(""),(n=t.split("\n")).map((function(e,t){return t<n.length-1?e.replace(c,"")+"\r":e})).join("");var t,n},addListeners:function(e,t){var n=s.map((function(n){return n(e,t)}));return function(){n.forEach((function(e){e()}))}}})},splitTemplateOnTokens:function(e){if(null==e)return[e];var n=e.split(o);return n.length<=1?[e]:t.compact(n)},splitFormatted:function(e,n){var i,o=0,s=[],a=n;for(b={},w=[];i=d.exec(e);){var l=r(i,4),c=l[0],u=l[1],m=l[2],v=l[3],S=i.index,y="</"===u?p:"/>"===v?f:h,x=e.substring(o,S);"br"===(m=m.toLowerCase())&&y!==p&&(x="".concat(x,"\r")),x.length>0&&s.push({text:x,style:a}),y&&g.includes(m)&&(a=t.extend({},n,C(c,m,y))),o=S+c.length}return o<e.length?s.push({text:e.substring(o),style:a}):0===e.length&&s.push({text:"",style:a}),s}}}.call(t,n,t,e))||(e.exports=i)},4274:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(5730);n(3305);var t,i,r,o,s,a=n(882),l=DS._,c=DS.utils,u=DS.errorManager,d=DS.svgUtils,h=DS.constants,p=DS.TransMatrix,f=u.warn("Adornable"),g=u.throwError("Adornable"),m=u.backtick,v=(t=/c|s|q|t|a/i,function(e){return t.test(e.getAttribute("d"))}),S=l.partialRight(l.pick,"x","y"),y=function(e,t){return l.extend(e.createSVGPoint(),t)},b=function(e,t){return t.matrixTransform(e)},w=function(e,t){var n=l.partial(b,e),i=t.map(n),r=l.maxBy(i,"y"),o=i.filter((function(e){return e.y===r.y})),s=l.minBy(o,"x"),a=l.maxBy(o,"x"),c=(s.x+a.x)/2,u=s.y,d=l.indexOf(i,s),h=l.indexOf(i,a),p=t[d],f=t[h];return{transformed:{x:c,y:u},original:{x:(p.x+f.x)/2,y:(p.y+f.y)/2}}},C=(i=function(e){return 5*e},function(e,t){t.getTotalLength();var n=t.getPointAtLength.bind(t),r=Math.ceil(t.getTotalLength()/5)+1,o=l.range(r).map(i).map(n);return w(e,o)}),x=function(e,t){var n=t.pathSegList,i=n.getItem.bind(n),r=l.range(n.numberOfItems).map(i),o=l(r).map(S).filter(c.not(l.isEmpty)).map(l.partial(y,t.ownerSVGElement)).value();return w(e,o)},D=(r=function(e,t){return(v(t)?C:x)(e,t)},o=function(e){return e.transformed.y},function(e,t){var n=l(t).map(l.partial(r,e)).maxBy(o).original;return S(n)}),E=function(e){return d.isUseNode(e)?(n=(t=e).getAttributeNS(h.XMLNS_XLINK,"href"),t.ownerSVGElement.querySelector(n)):e;var t,n},T=(s=/#([^\)\s'"]*)/,function(e){var t=s.exec(e);return null==t?null:t[1]}),P={"perspective-shadow":{calculationMethod:"calculateLowestRotatedPoint",rotationMethods:["rotateShadowToOriginalAngle","rotateShadowAboutPlane","adjustScaleTranslation","adjustSkewTranslationX","adjustSkewTranslationY"]},reflection:{calculationMethod:"calculateLowestRotatedPoint",rotationMethods:["rotateReflection","adjustScaleTranslation"]},"drop-shadow":{calculationMethod:"calculateMidPoint",rotationMethods:["rotateDropShadow"]},"inner-shadow":{calculationMethod:"calculateMidPoint",rotationMethods:["rotateInnerDropShadow"]}},I={initAdornment:function(){this.rotateAboutPoint().applyTransform().rotateGradient()},adornSvg:function(){var e=l.values(l.pickBy(this.refs,(function(e,t){return 0===t.indexOf("adornable")})));e.length&&e.forEach(function(e){this.setAsAdornable(a.findDOMNode(e),this.props.model.get("rotation"))}.bind(this))},setAsAdornable:function(e,t){this.adornType=e.getAttribute("data-adornment-type"),this.adornedNode=e,this.adornRotation=t,this.parentSvg=e.ownerSVGElement,this.adornMatrix=this.parentSvg.createSVGMatrix().rotate(this.adornRotation),this.adornTransformConfig=JSON.parse(e.getAttribute("data-transform"))||[],this.adornRotationPoint=null,this.adornConfig=P[this.adornType]||{},this.initAdornment()},gradientRotationOffset:function(e){return(this.adornRotationOffset||(this.adornRotationOffset=e.getAttribute("gradientTransform").replace(/rotate|\)|\(/g,"").replace(/,/g," ").split(/\s+/))).concat()},rotateGradient:function(){var e,t=this.parentSvg.querySelector("[data-rotation-offset]");return t&&((e=this.gradientRotationOffset(t))[0]=-this.adornRotation+parseFloat(e[0]),t.setAttribute("gradientTransform",["rotate(",e.join(","),")"].join(""))),this},getDataAsFloat:function(e){return parseFloat(this.adornedNode.getAttribute("data-"+e))},teardown:function(){this.parentSvg=null,this.adornedNode=null,this.adornMatrix=null},rotateAboutPoint:function(){return this.calculateRotationPoint().applyRotation(),this},calculateRotationPoint:function(){return this.adornRotationPoint=this[this.adornConfig.calculationMethod](),this},calculateMidPoint:function(){return{x:this.getDataAsFloat("width")/2,y:this.getDataAsFloat("height")/2}},calculateLowestRotatedPoint:function(){var e,t=(e=this.adornedNode,e=E(e),d.isPathNode(e)?[e]:l.toArray(e.querySelectorAll("path")));if(!l.isEmpty(t))return D(this.adornMatrix,t);f("calculateLowestRotatedPoint","no `path` nodes found for calculation")},applyRotation:function(){if(!this.adornRotationPoint)return this;var e=this.adornConfig.rotationMethods;return e||g("applyRotation","adornment of",m(this.adornType),"not supported"),e.forEach(function(e){this[e]()}.bind(this)),this},addRotation:function(e,t){return this.adornTransformConfig[e](this.buildRotation(t)),this},buildRotation:function(e){return d.buildRotateConfig(this.adornRotation*e,this.adornRotationPoint.x,this.adornRotationPoint.y)},getTransformRelativeToOther:function(e,t){var n=l.indexOf(this.adornTransformConfig,t);return this.adornTransformConfig[n+e]},adjustScaleTranslation:function(){var e=this.adornRotationPoint,t=d.getFirstScale(this.adornTransformConfig),n=this.getTransformRelativeToOther(-1,t),i=c.invertPercent(t.args[0]),r=c.invertPercent(t.args[1]);return n.args[0]=e.x*i,n.args[1]=e.y*r,this},adjustSkewTranslation:function(e){var t=this.adornRotationPoint,n="x"===e,i=n?"y":"x",r=d.getFirstTransformOfType("skew"+e.toUpperCase(),this.adornTransformConfig),o=this.getTransformRelativeToOther(1,r),s=r.args[0],a=c.degToRad(s);return o.args[n?0:1]=-t[i]*Math.tan(a),this},applyTransform:function(){var e=this.adornTransformConfig.map(d.buildTransformFromConfigFn).join(" ");return this.adornedNode.setAttribute("transform",e),this},calculateRotationOffset:function(){for(var e=this.getDataAsFloat("distance"),t=this.getDataAsFloat("angle"),n=-c.degToRad(this.adornRotation-t),i=this.getDataAsFloat("scale"),r=new p,o=this.props.model.parent;null!=o&&o.isSlideObject;)r.rotate(-o.prop("Rotation"),0,0),o=o.parent;return e/=i,r.transformPoint(e*Math.cos(n),e*Math.sin(n))},rotateDropShadow:function(){var e=this.calculateRotationOffset();this.adornTransformConfig.push(d.buildTranslateConfig(e.x,e.y))},rotateInnerDropShadow:function(){var e=document.getElementById(T(this.adornedNode.getAttribute("filter"))).getElementsByTagName("feOffset")[0],t=this.calculateRotationOffset();e.setAttribute("dx",t.x),e.setAttribute("dy",t.y)},rotateReflection:function(){this.addRotation("unshift",-1);var e=d.getFirstTranslate(this.adornTransformConfig),t=l.indexOf(this.adornTransformConfig,e);this.adornTransformConfig.splice(t+1,0,this.buildRotation(-1))}};return I.rotateShadowToOriginalAngle=l.partial(I.addRotation,"unshift",-1),I.rotateShadowAboutPlane=l.partial(I.addRotation,"push",1),I.adjustSkewTranslationX=l.partial(I.adjustSkewTranslation,"x"),I.adjustSkewTranslationY=l.partial(I.adjustSkewTranslation,"y"),I}.call(t,n,t,e))||(e.exports=i)},8698:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(882),o=n(8947),s=DS._,a=DS.Backbone,l=DS.subscribable,c=DS.shortEventable,u=DS.errorManager,d=DS.utils,h=DS.vow,p=DS.detection,f=u.backtick,g=u.throwError("baseView"),m="Must specify a "+f("displayName"),v=function(e){return s.values(e.refs)},S=function(e){return null!=e.currView};function y(e,n){var i={mixins:[a.Events,l,c,o],getInitialState:function(){return{isVisible:null==this.initialVisibility||this.initialVisibility}},componentWillMount:function(){this.displayName=this.constructor.displayName,this.displayName||g("baseView",m),this.template||(this.template=t.getTemplate(this.displayName)),this.cssTransform="transform",this.cssTransformOrigin="transformOrigin",this.cssTransitionDuration="transitionDuration",this.cssTransitionProperty="transitionProperty",this.cssTransitionTimingFunc="transitionTimingFunction"},componentDidMount:function(t){t||(e.isDropIn?this.el=this.el||n.findDOMNode(this):this.el=n.findDOMNode(this),null==this.props.model||this.props.isInnard||(this.props.model.currView=this))},componentWillUnmount:function(){this.stopListening(),null==this.props.model||this.props.isInnard||DS.flagManager.dropInCore||(this.props.model.currView=null)},shouldComponentUpdate:function(e,t){return(!d.shallowEqual(this.props,e)||!d.shallowEqual(this.state,t))&&(!this.shouldUpdate||this.shouldUpdate(e,t))},htmlReady:function(e){window.requestAnimationFrame(e)},afterHtmlReady:function(e){this.htmlReady(function(){this.htmlReady(e)}.bind(this))},onShown:function(e){for(var t,n=this.props.model,i=[];null!=n;)null!=n.currView&&n.currView.isVisible()||(t=h.Deferred(),n.once("shown",t.resolve),i.push(t.promise())),n=n.getClosestAncestor(S);h.after.apply(h,i).then(s.partial(this.htmlReady,e))},find:function(e){return this.el.querySelector(e)},findAll:function(e){return s.toArray(this.el.querySelectorAll(e))},findAllComponents:function(e){if(DS.flagManager.dropInVectors&&this.isDropIn)return DS.DropIn.findAllComponents(this.el,e);for(var t=0,n=v(this);t<n.length;)n.push.apply(n,v(n[t])),t++;return s.filter(n,{displayName:e})},findComponent:function(e){if(DS.flagManager.dropInCore&&this.isDropIn)return DS.DropIn.findComponent(this.el,e);if(DS.flagManager.dropInVectors&&this.isDropIn)return DS.DropIn.findComponent(this.el,name);for(var t,n=0,i=s.isString(e),r=v(this);(t=r[n])&&n<r.length;){if(i&&t.displayName===e||!i&&t===e)return t;r.push.apply(r,v(t)),n++}},render:function(){return this.template()},displayClass:function(){return this.isVisible()?"shown":"hidden"},toggleVisibility:function(e){return e=null==e?!this.isVisible():e,this.setState({isVisible:e}),this},isVisible:function(){var e=null!=this.getPlayerProp?this.state:this.props.playerProps;return null!=this.props.model&&null!=this.props.model.isSlideObject?!!this.props.model.isKind("shufflegroup")||e.OnStage&&!e.HiddenByLayer:this.state.isVisible},isEnabled:function(){if(this.enabledHook)return this.enabledHook();var e=this.props.model.getClosestParentRef();return null!=e&&e.isStateGroupSlideObject?e.isEnabled():this.getPlayerProp&&!0===this.getPlayerProp("Enabled")},getPath:function(e,t){return d.getPath(this,e,t)},setTemplateManager:function(e){t=e},getTemplateManager:function(){return t},hex:function(e){return d.hexify(e)},quotify:function(e){return d.quote(e)},previewMouseEvent:function(e){return p.env.isMobilePreview?e:null},setLayerScroll:function(){s.isFunction(this.getLayer)&&(this.getLayer().scrollTop=0)}};return i.show=s.partial(i.toggleVisibility,!0),i.hide=s.partial(i.toggleVisibility,!1),i}var b=y(i,r);return b.dropIn=y(DS.DropIn,DS.DropInDOM),b}.call(t,n,t,e))||(e.exports=i)},3752:function(e,t,n){var i;i=function(e){"use strict";var t=n(8335),i=n(59),r=n(4076),o=n(6083),s=n(1718),a=DS._,l={createDecorator:function(e){return new e(this)},callLifeCycleEvent:function(e){for(var t=arguments.length,n=new Array(t),i=0;i<t;++i)n[i]=arguments[i];a.forOwn(this.decorators,(function(t){t[e]&&t[e].apply(t,n.slice(1))}))},componentWillMount:function(){this.decorators={},this.createDecorators(),this.callLifeCycleEvent("componentWillMount")},componentDidMount:function(){this.callLifeCycleEvent("componentDidMount")},componentWillUnmount:function(){this.callLifeCycleEvent("componentWillUnmount")},componentWillReceiveProps:function(e){this.callLifeCycleEvent("componentWillReceiveProps",e)},componentWillUpdate:function(e,t){this.callLifeCycleEvent("componentWillUpdate",e,t)},componentDidUpdate:function(e,t){this.callLifeCycleEvent("componentDidUpdate",e,t)},createDecorators:function(){var e=this.props.model;e.isDraggable()&&!this.hasDraggableAncestor()&&(this.decorators.draggable=this.createDecorator(t)),e.isDroppable()&&(this.decorators.droppable=this.createDecorator(i)),e.isTweenable()&&(this.decorators.tweenable=this.createDecorator(r)),e.isSlideable()&&(this.decorators.slideable=this.createDecorator(o)),e.isRotatable()&&(this.decorators.rotatable=this.createDecorator(s))},hasDraggableAncestor:function(){for(var e=this;e=e.props.parent;)if(e.props.model.isDraggable())return!0;return!1}};return l}.call(t,n,t,e),void 0===i||(e.exports=i)},877:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5928),i=DS._;return{componentWillMount:function(){this.offs=[]},registerEvent:function(e,n,i){i=i||this.el,this.offs.push(t[e](i,n,this))},componentWillUnmount:function(){i(this.offs).flatten().invokeMap("teardown").commit(),this.offs=[]}}}.call(t,n,t,e))||(e.exports=i)},3765:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7877),i=DS,r=i.constants,o=i.pinchZoomController,s=i.pubSub,a=i.events,l=i.slideObjectUtils,c=i.detection,u=i.globalEventHelper,d=u.addWindowListener,h=u.removeWindowListener;return Object.assign({},o,{shouldPinchZoom:function(){return l.isMobileSlide(this)&&null==this.props.slideFrame},notifyZoomUpdate:function(){this.trigger("pinchzoom",this.getZoomEl().getBoundingClientRect()),s.trigger(a.slide.ZOOMED,this.pinch)},zoomScaleUpdate:function(){this.props.model.pinchZoomScale=this.pinch.scale},getContainerBounds:function(){return this.props.slideContainer.el.getBoundingClientRect()},threeSixtyImageTabletZoom:function(){null!=this.getZoomEl().querySelector(".three-sixty-image")&&c.device.isTablet&&(this.threeSixtyImageRestrictedZoom=1.5)},isLightboxed:function(){return this.pinchZoomSlideContainer.props.lightboxed},initPinch:function(){this.threeSixtyImageTabletZoom(),this.resetPinch()},getZoomEl:function(){return DS.flagManager.dropInAcc?this.el.firstElementChild:this.el},initPinchZoom:function(e){this.shouldPinchZoom()&&(this.pinchZoomSlideContainer=e||this.props.slideContainer,this.initZoomTarget(this.getZoomEl().parentNode),this.isInLightbox&&d("resize",this.onOrientationChange,null,"after"))},onOrientationChange:function(){this.initPinch(),this.pinch.currMatrix=new TransMatrix,this.startTransition(0)},collectPlayerMetrics:function(){var e=t.getPreso().getBoundingClientRect(),n=e.width,i=e.height,o=0,s=0;if(c.deviceView.isMobile)if(c.theme.isClassic)orientation.isPortrait?i-=r.MOBILE_UI_SIZE:n-=r.MOBILE_UI_SIZE;else{var a=this.props.slideContainer.props.getPinchZoomBounds();o=a.x,s=a.y,n=a.width,i=a.height}return{availableWidth:n,availableHeight:i,uiOffsetX:o,uiOffsetY:s}},constrainToScreen:function(e){var t,n,i,r,o=this.pinchZoomSlideContainer.el.getBoundingClientRect(),s=o.left,a=o.top,l=this.getZoomEl().getBoundingClientRect(),c=!1,u=this.collectPlayerMetrics(),d=u.availableWidth,h=u.availableHeight,p=u.uiOffsetX,f=u.uiOffsetY;i=d-(t=Math.max((d-l.width)/2,0))+p,r=h-(n=Math.max((h-l.height)/2,0))+f,t+=p,n+=f,l.left>t?(c=!0,this.pinch.currMatrix.tx=t-s):l.right<i&&(c=!0,this.pinch.currMatrix.tx=i-l.width-s),l.top>n?(c=!0,this.pinch.currMatrix.ty=n-a):l.bottom<r&&(c=!0,this.pinch.currMatrix.ty=r-l.height-a),c&&(null!=e?e():this.startTransition(400))},killPinchZoom:function(){this.shouldPinchZoom()&&(this.destroyPinchZoom(),h("resize",this.onOrientationChange))},componentWillUnmount:function(){this.killPinchZoom()}})}.call(t,n,t,e))||(e.exports=i)},1587:function(e,t,n){var i;void 0===(i=function(e){"use strict";DS._,DS.constants.PLAYER_PROPS_KEYPATH;return{getInitialState:function(){return this.constructProps(),this.playerPropsModel.toJSON()},constructProps:function(){var e=this.props.model;return this.playerPropsModel={},e&&e.createPlayerProps&&(this.playerPropsModel=e.playerProps||e.createPlayerProps(),this.listenTo(this.playerPropsModel,"change",this.onUpdatePlayerProps)),this},onUpdatePlayerProps:function(){this.isMounted()&&this.setState(this.playerPropsModel.toJSON())},getPlayerProp:function(e){return this.state[e]},setPlayerProp:function(e,t){return this.props.model.prop(e,t)}}}.call(t,n,t,e))||(e.exports=i)},8947:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.stringTabler,i=DS.pubSub,r=DS.events;return{getInitialState:function(){return this.getStringTitles()},componentWillMount:function(){var e=this;if(DS.flagManager.multiLangSupport){if(null!=this.stringTitles){var n=function(){e.setState(e.getStringTitles())};this.removeStringableListeners=t.flow(i.addListener(r.frame.MODEL_READY,n),i.addListener(r.strings.UPDATE_STRINGS,n))}}else i.on(r.strings.UPDATE_STRINGS,(function(){this.setState(this.getStringTitles())}),this)},componentWillUnmount:function(){DS.flagManager.multiLangSupport?null!=this.removeStringableListeners&&this.removeStringableListeners():i.off(r.strings.UPDATE_STRINGS,null,this)},getStringTitles:function(){return null==this.stringTitles?{}:t.transform(this.stringTitles,(function(e,t,i){return e[function(e){return["i18n",e].join("")}(i)]=function(e){var t=n.getString(e);return null!=t?t:e}(t),e}),{})}}}.call(t,n,t,e))||(e.exports=i)},9078:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i,r=n(4196),o=DS._,s=DS.windowManager,a=DS.constants,l=DS.events,c=DS.detection,u=DS.dom,d=DS.utils,h=DS.svgUtils,p=DS.pubSub,f=DS.TweenLite,g=DS.TimelineLite,m=DS.slideObjectUtils,v=DS.globalEventHelper,S=v.addWindowListener,y=v.removeWindowListener;p.on(l.frameModel.LAYOUT_CHANGED,(function(e){t=e.swipeleft,i=e.swiperight}));var b=.25,w=a.math.QUARTER_PI,C=a.math.THREE_QUARTER_PI,x={4:"onprevslide",2:"onnextslide"},D=!1;p.once(l.player.MENU_OPTIONS,(function(e){e.get("flow")}));var E=function(e){return m.isMobileSlide(e)&&null==e.props.slideFrame&&!e.props.slideContainer.props.lightboxed},T=function(){var e=D;return D=!1,e};return{DIRECTION_UP:1,DIRECTION_RIGHT:2,DIRECTION_DOWN:3,DIRECTION_LEFT:4,componentWillMount:function(){p.on(l.swipe.CHANGED,this.onSwipeChanged),this.swipe={swiping:!1,wasSwiped:T,swipeBehavior:E}},componentDidMount:function(){var e=this.getSwipeEl();this.swipe.swipeBehavior(this)&&(c.deviceView.isUnifiedMobile&&(b=.15),this.hasPrevNextActions().getWidthHeight().calcCancelTolerance().getNextEl(),e.addEventListener("touchstart",this.onSwipeableTouchStart,!0),e.addEventListener("touchmove",this.onSwipeableTouchMove),e.addEventListener("touchend",this.onSwipeableTouchEnd),S("popstate",this.onPopState),p.on(l.frameModel.LAYOUT_CHANGED,this.hasPrevNextActions))},componentDidUpdate:function(){this.getWidthHeight().calcCancelTolerance()},componentWillUnmount:function(){var e=this.getSwipeEl();p.off(l.swipe.CHANGED,this.onSwipeChanged),this.swipe.swipeBehavior(this)&&(e.removeEventListener("touchstart",this.onSwipeableTouchStart),e.removeEventListener("touchmove",this.onSwipeableTouchMove),e.removeEventListener("touchend",this.onSwipeableTouchEnd),y("popstate",this.onPopState),p.off(l.frameModel.LAYOUT_CHANGED,this.hasPrevNextActions))},onSwipeChanged:function(e){"swipeleft"===e.name?this.swipe.canSwipeLeft=e.enable&&t:this.swipe.canSwipeRight=e.enable&&i},getWidthHeight:function(){return this.swipe.width=this.props.model.get("width")*this.props.winScale,this.swipe.height=this.props.model.get("height")*this.props.winScale,this},getNextEl:function(){var e=this;if(DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc&&null==this.getSwipeEl().parentNode)return requestAnimationFrame((function(){return e.getNextEl()})),this;var t=this.getSwipeEl().parentNode.parentNode;return null!=t&&(this.swipe.nextEl=t.querySelector(".swipe-transition-container")),this},onSwipeableTouchStart:function(e){var t,n=this.swipe;if(e.touches.length>1||this.pinch.disableSwipe)this.exitTouch=!0;else{var i,r=m.isThreeSixtyImageRelated(e.target);if((c.deviceView.isUnifiedMobile||r)&&(i=this.getSwipeEl().getBoundingClientRect()),c.deviceView.isUnifiedMobile&&(this.swipe.slideLeft=i.left),this.swipe.preventSwiping=!1,m.isThreeSixtyImageRelated(e.target)){if(!(e.touches[0].clientX<i.left+15||e.touches[0].clientX>i.right-15))return this.swipe.preventSwiping=!0,void p.trigger(l.slide.PREVENT_SWIPE);p.trigger(l.slide.ALLOW_SWIPE)}this.shouldSwipe(e.target)&&1===e.touches.length&&(t=e.touches[0],n.startX=t.pageX,n.startY=t.pageY,n.startTime=(new Date).getTime(),n.duration=null,n.cancelled=!1,n.willJump=!1)}},onSwipeableTouchMove:function(e){var t,n=this.swipe,i=n.direction;e.touches.length>1||this.pinch.disableSwipe?this.exitTouch=!0:this.swipe.preventSwiping||this.shouldSwipe(e.target)&&1===e.touches.length&&(t=e.touches[0],n.x=t.pageX,n.y=t.pageY,this.swipe.swiping=!0,n.direction=this.getSwipeDirection(),i!==n.direction&&this.determineSwipeActions(),4===n.direction?this.animateSwipe().followDir(!1,4):2===n.direction&&this.animateSwipe().followDir(!1,2))},determineSwipeActions:function(){var e=this.swipe,t=this.props.model.tracePlayerEvent(x[e.direction]),n=s.getCurrentWindow();return o.extend(e,{cancelled:!0,willJump:!0}),t.forEach((function(t){return e.willJump=r.isJumpAction(t)&&("gotoplay"!==t.kind||t.window===n.id||"_current"===t.window),e.cancelled=!e.willJump||"history_prev"===t.kind&&null==n.getPrevSlide(),e.cancelled})),this},onPopState:function(){this.resetSwipe()},calcCancelTolerance:function(){return this.swipe.cancelTolerance=this.swipe.width/2,this},hasPrevNextActions:function(){return this.swipe.canSwipeLeft=t,this.swipe.canSwipeRight=i,this},getSwipeEl:function(){return DS.flagManager.dropInAcc?this.el.firstElementChild:this.el},resetSwipe:function(){this.getSwipeEl().style[this.cssTransform]="",o.toArray(document.querySelectorAll(".slide-transition-container")).forEach(function(e){e.style[this.cssTransform]=""}.bind(this)),this.onSwipeableTouchEnd(),this.killLoader()},restricted:function(){return this.swipe.cancelled||!this.swipe.canSwipeLeft&&4===this.swipe.direction||!this.swipe.canSwipeRight&&2===this.swipe.direction},forceShowNextLoader:function(){this.swipe.rampShow=!0,this.showNextLoader()},showNextLoader:function(e,t){var n;t&&!this.swipe.rampTimeout&&(this.swipe.rampTimeout=setTimeout(function(){this.swipe.rampShow=!0,this.swipe.rampTimeout=null}.bind(this),300)),(n={visibility:"visible",display:"block",backgroundColor:"transparent",opacity:this.restricted()||!this.swipe.rampShow?0:1})[this.cssTransform]=e,this.props.slideContainer.setLoaderStyle(n)},getPadding:function(){var e=this.props.model.parentTransform;return Math.max(2*e.xOff,40)},followDir:function(e,t){var n,i,r,o=this.props.model.parentTransform,s=this.swipe.width+this.getPadding(),a=4===t?-s:s;e&&(n=this.getSwipeEl().getBoundingClientRect(),this.swipe.currX=n.left-o.xOff,c.deviceView.isUnifiedMobile&&(this.swipe.currX-=this.swipe.slideLeft-o.xOff)),this.swipe.nextEl&&(this.swipe.lastDir=t,r=this.swipe.currX+a,i=h.transformTranslate(d.pxify(r),d.pxify(0)),this.restricted()||(u.setStyles(this.swipe.nextEl,{width:d.pxify(this.swipe.width),height:d.pxify(this.swipe.height)}),this.swipe.nextEl.style[this.cssTransform]=i,this.swipe.nextEl.style.background=c.deviceView.isUnifiedMobile?window.globals.bgColor:"#212121"),this.showNextLoader(i,Math.abs(r)<this.swipe.width/2))},onSwipeableTouchEnd:function(){var e,t,n=this.swipe,i=n.direction;n.duration=(new Date).getTime()-n.startTime,this.exitTouch?this.exitTouch=!1:this.swipe.preventSwiping||(this.swipe.cancelled||!this.swipe.canSwipeLeft&&4===i||!this.swipe.canSwipeRight&&2===i?this.endSwipe(i,!1):n.swiping&&(e=this.getSwipeLength(),(t=this.speedSwipe(e))||e>this.swipe.cancelTolerance?(this.endSwipe(i,!0),t&&this.forceShowNextLoader()):this.endSwipe()))},speedSwipe:function(e){return this.swipe.duration<300&&e>100},doSwipe:function(e){var t={};return t[4]=this.swipe.canSwipeLeft?this.onSwipeLeft:o.noop,t[2]=this.swipe.canSwipeRight?this.onSwipeRight:o.noop,t.hasOwnProperty(e)&&t[e](),this},onSwipeRight:function(){this.props.model.executePlayerEvent(x[2]),D=!0,this.swipe.isNavigating=!0},onSwipeLeft:function(){this.props.model.executePlayerEvent(x[4]),D=!0,this.swipe.isNavigating=!0},shouldSwipe:function(e){if(DS.connection.useConnectionMessages&&DS.connection.warningShown)return!1;var t=this.props.model.pinchZoomScale,n=null!=t&&1!==t;return!(m.isScrollRelated(e)||m.isDraggableRelated(e)||m.isRotatableRelated(e)||m.isSlideableRelated(e)||n)},endSwipe:function(e,t){this.swipe.swiping=!1,this.swipe.direction=null,this.animateSwipeEnd(e,t)},getSwipeLength:function(){var e=this.swipe;return d.dist(e.startX,e.startY,e.x,e.y)*this.props.model.calculateTotalScale()},getSwipeDirection:function(){var e=this.swipe,t=Math.atan2(e.startY-e.y,e.startX-e.x);return Math.abs(t)<=w?2:t>w&&t<=C?1:t<-w&&t>=-C?3:4},animateSwipe:function(e){var t=this.getSwipeEl(),n=this.swipe,i=n.startX-n.x,r=i<0?-1:1,o=e||-Math.abs(i)*r;return this.restricted()&&(n.willJump?o*=.1:o*=.5*gsap.parseEase("power2.out")(Math.abs(i)/document.body.clientWidth)),f.set(t,{x:o}),this.swipe.currX=o,this},killLoader:function(){var e={visibility:null,opacity:null,display:"none",backgroundColor:"rgba(0, 0, 0, 0.5)"};e[this.cssTransform]=null,this.props.slideContainer.setLoaderStyle(e)},swipeEndRight:function(){this.followDir(!0,2),this.swipe.updateNextSlide=window.requestAnimationFrame(this.swipeEndRight)},swipeEndLeft:function(){this.followDir(!0,4),this.swipe.updateNextSlide=window.requestAnimationFrame(this.swipeEndLeft)},animateSwipeEnd:function(e,t){var n,i,r,o=this.getSwipeEl();t?(r=this.getSuccessSwipeTween(e),i=2===e?this.swipeEndRight:this.swipeEndLeft):(i=2===this.swipe.lastDir?this.swipeEndRight:this.swipeEndLeft,r=this.getFailedSwipeTween(e)),n=d.toMilliseconds(r.duration()),this.swipe.updateNextSlide=window.requestAnimationFrame(i),r.play(),window.clearTimeout(this.swipe.resetTransform),this.swipe.resetTransform=window.setTimeout(function(){o.style[this.cssTransitionDuration]="0s",window.cancelAnimationFrame(this.swipe.updateNextSlide),this.doSwipe(e),t?(this.forceShowNextLoader(),p.once(l.loader.HIDE,function(){o.style[this.cssTransform]="",o.style.opacity=0,this.resetNextEl(),this.killLoader()}.bind(this))):this.resetNextEl()}.bind(this),n+0)},getSuccessSwipeTween:function(e){var t,n=this.swipe.width+this.getPadding(),i=new g;return 2===e?t=-n:4===e&&(t=n),i.add(f.to(this.getSwipeEl(),b,{x:t,ease:"sine.out"})),i},getFailedSwipeTween:function(e){var t,n,i=this.getSwipeEl(),r=this.swipe,o=new g;return!r.willJump&&this.speedSwipe(this.getSwipeLength())?(n=Math.max(.2,d.toSeconds(r.duration)),t=Math.min(Math.abs(r.startX-r.x),r.width*(r.willJump?.1:.5)),o.add(gsap.timeline().to(i,{x:t*(2===e?-1:1),ease:"power2.out",duration:n}).to(i,{x:0,ease:"power2.out",duration:2*n},">"))):o.add(f.to(i,.25,{x:0,ease:"sine.out"})),o},resetNextEl:function(){this.swipe.nextEl&&(this.swipe.nextEl.style[this.cssTransform]="",u.setStyles(this.swipe.nextEl,{width:null,height:null,background:null}))}}}.call(t,n,t,e))||(e.exports=i)},2912:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(118),i=(DS._,DS.vow),r=(DS.vendorOverrides,DS.AnimationTimeline);return{componentWillMount:function(){this.elDfd=i.Deferred()},componentDidMount:function(){this.elDfd.resolve()},componentWillUnmount:function(){this.cancelTransition()},getElPromise:function(){return this.elDfd.promise()},transitionIn:function(e,n){this.getElPromise().then(function(){this.aniTimeline=new r({tweens:[new t(this,!1,e.getConfig())],onComplete:function(){n(!0),this.cancelTransition()}.bind(this)}),this.aniTimeline.seek(0),this.aniTimeline.play()}.bind(this))},cancelTransition:function(){null!=this.aniTimeline&&(this.aniTimeline.kill(),this.aniTimeline=null)}}}.call(t,n,t,e))||(e.exports=i)},8960:function(e,t,n){var i;void 0===(i=function(e){"use strict";n(3305),n(882);var t=n(118),i=DS._,r=(DS.svgUtils,DS.vendorOverrides,DS.events),o=DS.pubSub,s=DS.AnimationTimeline,a=1e3;return{getInitialState:function(){return{transitionDepth:0}},setPrevSlide:function(e){var t=e.props.model;this.prevSlide=e,t.slideLayers().pauseAll(!0)},setTransparent:function(e){this.el.classList[e?"add":"remove"]("transparent")},setTransitioning:function(e){this.el.classList[e?"add":"remove"]("transitioning")},componentDidMount:function(){this.transitionIsComplete=!1,this.completeHook=i.noop,this.setTransparent(!0),this.setTransitioning(!0)},publishTransitionStarted:function(){o.trigger(r.slide.TRANSITION_STARTED,this.state.Id,this.transition.id,this.transition.duration())},transitionIn:function(e,n){var i,r=this;this.completeHook=e,this.setTransparent(!1),this.transition=this.props.model.getTransitionAnimation(),i=this.transition&&this.transition.get("wipeTrans"),n||null==this.transition||i&&!this.prevSlide?this.transitionComplete():(this.publishTransitionStarted(),i&&(this.prevSlide.killPinchZoom(),r=this.prevSlide,this.prevSlide.setState({transitionDepth:++a})),this.transitionTimeline=new s({tweens:[new t(r,!1,this.transition.getConfig(),this.prevSlide)],onComplete:this.onTransitionComplete}),this.transitionTimeline.seek(0),this.transitionTimeline.play())},seekTransition:function(e){this.transitionTimeline.seek(e,!1)},forceTransition:function(){!this.transitionIsComplete&&this.transition&&(this.transitionTimeline.progress(1,!0),this.transitionTimeline.kill(),this.transitionComplete())},killPrevSlide:function(){this.prevSlide&&(this.prevSlide.killSlide(),this.prevSlide=null)},transitionComplete:function(){null!=this.transitionTimeline&&this.transitionTimeline.kill(),this.transitionIsComplete=!0,this.setTransitioning(!1),this.killPrevSlide(),this.completeHook(),this.props.transitionComplete()},onTransitionComplete:function(){this.transitionComplete()},componentWillUnmount:function(){var e=this.previousHome;null!=e&&e.grandparent.appendChild(e.parent)}}}.call(t,n,t,e))||(e.exports=i)},35:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2658),i=n(118),r=n(2296),o=n(2625),s=DS._,a=DS.utils,l=(DS.svgUtils,DS.dom),c=DS.AnimationTimeline,u=function(e,t,n){return(n*e-n)/2-t*e};return{getZoomPanEl:function(){return DS.flagManager.dropInAcc?this.el.firstElementChild:this.el},componentWillMount:function(){this.listenTo(this.props.model,"zoompan",this.zoomPan)},buildZoomAnimation:function(e){var t=e.action,n=this.props.model,i=n.get("width"),o=n.get("height"),s=t.duration,l=i/t.lastwidth,c=u(l,t.lastx,i),d=u(l,t.lasty,o),h=i/t.width,p=u(h,t.xPos,i),f=u(h,t.yPos,o);return l=a.decToPct(l),h=a.decToPct(h),new r({wipetrans:!1,duration:s,tweens:[{kind:"tween",time:0,duration:s,scale:{path:[{kind:"segment",startx:l,starty:l,endx:h,endy:h,dsx:0,dsy:0,dex:0,dey:0}],duration:s,easing:"cubic",easingdir:"easein"}},{kind:"tween",time:0,duration:s,position:{path:[{kind:"segment",type:"line",anchora:{x:c,y:d,dx:0,dy:0},anchorb:{x:p,y:f,dx:0,dy:0}}],duration:s,easing:"cubic",easingdir:"easein"}}]})},createAnimationTimeline:function(e){var n=e.action,r=n.staticimageassetid,o=this.buildZoomAnimation(e);return this.lastZoomBackground&&(this.lastZoomBackground.parentElement.removeChild(this.lastZoomBackground),this.lastZoomBackground=null),0===a.getPath(e,"event.time")&&this.getZoomPanEl().classList.add("init-zoomed"),new c({tweens:[new i(this,!1,o.getConfig({isZoomPan:!0}),null)],onComplete:-1===r?s.noop:function(){var e=this.getZoomPanEl().parentNode.querySelector(".zoom-bg-container"),i=this.lastZoomBackground=document.createElement("img");i.src=t.getAssetUrl(r),l.setStyles(i,{position:"absolute",left:a.pxify(n.xPos),top:a.pxify(n.yPos),width:a.pxify(n.width),height:a.pxify(n.height),visibility:"block"}),e.appendChild(i)}.bind(this)})},zoomPan:function(e){this.getZoomPanEl()&&(this.tweenableTimeline&&(this.tweenableTimeline.destroy(!0),this.tweenableTimeline=null),this.tweenableTimeline=new o(this,this.createAnimationTimeline(e),e.event.timelineLabel,!1))},componentWillUnmount:function(){this.tweenableTimeline&&(this.tweenableTimeline.destroy(),this.tweenableTimeline=null)}}}.call(t,n,t,e))||(e.exports=i)},7435:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305),i=n(8698),o=DS,s=o._,a=o.utils,l=o.globalEventHelper.addDocumentListener,c=o.constants;DS.flagManager.dropInVectors&&(t=DS.DropIn);var u=t.createClass({displayName:"AccessibleScrollBar",mixins:[DS.flagManager.dropInVectors?i.dropIn:i],componentDidMount:function(){this.mounted=!0,this.hScroll=this.props.hScroll,this.scrollingArea=this.props.parent.refs[this.props.refName||"scrollArea"],this.scrollingArea.addEventListener("scroll",this.onScroll),this.hasInited=!0,this.update()},componentDidUpdate:function(){DS.detection.env.isPerpetual||this.el.style.setProperty("--scroll-scale",1/this.props.winScale)},componentWillUnmount:function(){this.mounted=!1,null!=this.scrollingArea&&this.scrollingArea.removeEventListener("scroll",this.onScroll),this.removeScrollListeners()},getInitialState:function(){return this.removeScrollListeners=function(){},{isHidden:!0,highlight:!1}},onResize:function(){this.update()},onScroll:function(e){this.update(!0,!0)},onScrollBtnDown:function(e){this.startPos=this.getPagePostion(e)-this.getParentPos()-this.state.position,this.removeScrollListeners=s.flow([l("mousemove",this.onDragBtn),l("mouseup",this.onEndScrollDrag),l("touchmove",this.onDragBtn),l("touchend",this.onEndScrollDrag)])},onEndScrollDrag:function(){this.removeScrollListeners()},onDragBtn:function(e){var t=this.getTargetMetrics(),n=t.contentLength,i=t.scrollbarLength,r=n-i,o=i-this.state.btnLength,s=this.getPagePostion(e)-this.getParentPos()-this.startPos,l=a.clamp(0,1,s/o);this.setState({position:l*a.invertPercent(this.state.btnLength/i)*i}),this.scrollingArea[this.hScroll?"scrollLeft":"scrollTop"]=r*l},getPagePostion:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY;return(this.hScroll?i:o)/this.props.winScale},getParentPos:function(){return this.scrollingArea.getBoundingClientRect()[this.getPosAttrib()]/this.props.winScale},getScrollBarStyle:function(){var e={};a.getPath(this.scrollingArea,this.hScroll?"offsetHeight":"offsetWidth",0);return e[this.hScroll?"top":"left"]=a.pxify(0),e},getScrollBtnStyle:function(){var e={};return e[this.hScroll?"width":"height"]=a.pxify(this.state.btnLength),e[this.getPosAttrib()]=a.pxify(this.state.position),e},scrollOnKey:function(e){switch(e.which){case c.keys.DOWN:this.scrollingArea.scrollTop+=10;break;case c.keys.UP:this.scrollingArea.scrollTop-=10;break;case c.keys.PAGE_DOWN:this.scrollingArea.scrollTop+=this.state.btnLength;break;case c.keys.PAGE_UP:this.scrollingArea.scrollTop-=this.state.btnLength;break;case c.keys.HOME:this.scrollingArea.scrollTop=0;break;case c.keys.END:this.scrollingArea.scrollTop=this.scrollingArea.scrollHeight}},update:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.mounted)if(a.getPath(this,"scrollingArea.scrollHeight")<=0)window.requestAnimationFrame((function(){return t.update()}));else{n||this.props.parent.updateScrolling(!1);var i=this.getTargetMetrics(),r=i.contentLength,o=i.scrollbarLength,s=i.currScrollPos,l=Math.abs(r-o)<2;if(!n&&!l){this.props.parent.updateScrolling(!0);var c=this.getTargetMetrics();r=c.contentLength,o=c.scrollbarLength,s=c.currScrollPos}var u=r-o,d=a.clamp(0,1,s/u),h=o/r*o;DS.detection.env.isPerpetual||(h=Math.max(10/this.props.winScale,h)),l?this.setState({isHidden:l}):(this.setState({isHidden:l,position:d*a.invertPercent(h/o)*o,btnLength:h,percent:100*d}),e&&(this.setState({highlight:e}),clearTimeout(this.colorId),this.colorId=setTimeout(this.unHighlight,1e3)))}},getPosAttrib:function(){return this.hScroll?"left":"top"},unHighlight:function(){this.mounted&&this.setState({highlight:!1})},getTargetMetrics:function(){var e=this.scrollingArea,t=e.scrollHeight,n=e.scrollWidth,i=e.clientHeight,r=e.clientWidth,o=e.scrollTop,s=e.scrollLeft;return this.hScroll?{contentLength:n,scrollbarLength:r,currScrollPos:s}:{contentLength:t,scrollbarLength:i,currScrollPos:o}}});return u}.call(t,n,t,e),void 0===i||(e.exports=i)},6559:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(7523),o=r.parseBlocks,s=r.parseVariables,a=n(2500),l=DS,c=l.utils,u=c.pxify,d=c.getPath,h=c.hexify,p=l.svgUtils,f=l.localizationManager,g=l.pubSub,m=l.events,v={},S="";DS.flagManager.dropInVectors&&(t=DS.DropIn);var y=t.createClass({displayName:"AccessibleText",mixins:[DS.flagManager.dropInVectors?i.dropIn:i],componentWillMount:function(){var e=this;this.stopListeningToVarChanges=this.listenToVarChanges(this.props.model,(function(){return e.setState({textConfig:e.parseText().children})})),DS.flagManager.multiLangSupport&&(this.removeLocalizationListener=g.addListener(m.localization.LANGUAGE_UPDATED,(function(){e.updateTemplate(e.props.model.vartext()),e.setState({currLangCode:f.getCurrentLangCode()})}))),DS.flagManager.aiCourseTranslation&&(this.removeReviewListener=g.addListener(m.localization.REVIEW_STRING_UPDATED,(function(t){e.updateTemplate(e.props.model.vartext()),e.setState({stringRev:t})})))},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges(),null!=this.removeReviewListener&&this.removeReviewListener(),null!=this.removeLocalizationListener&&this.removeLocalizationListener(),null!=this.removeLinkListeners&&this.removeLinkListeners()},componentDidMount:function(){this.updateCssVars(),this.updateLinkListeners()},componentDidUpdate:function(){this.updateCssVars(),this.refs.scrollBar.update(),this.updateLinkListeners()},updateCssVars:function(){var e=this.props.winScale;this.el.style.setProperty("--scroll-padding","".concat(Math.round(6*e),"px")),this.el.style.setProperty("--scroll-pointer-evts",this.props.unclickable?"none":"all")},updateLinkListeners:function(){var e=this;null!=this.removeLinkListeners&&this.removeLinkListeners();var t=this.el.querySelectorAll("[data-linkid]");t.forEach((function(t){t.addEventListener("pointerdown",e.handlePointerDown),t.addEventListener("pointerup",e.handlePointerUp)})),this.removeLinkListeners=function(){t.forEach((function(t){t.removeEventListener("pointerdown",e.handlePointerDown),t.removeEventListener("pointerup",e.handlePointerUp)}))}},getLinkId:function(e){return d(e,"currentTarget.dataset.linkid","")},handlePointerUp:function(e){var t=this;if(this.getLinkId(e)===S)if(DS.detection.device.isDesktop){var n=S;document.addEventListener("click",(function e(){document.removeEventListener("click",e),t.onLinkClicked(n)}))}else this.onLinkClicked(S);S=""},handlePointerDown:function(e){S=this.getLinkId(e)},updateTemplate:function(e){var t=this;this.origTemplate!==e&&(this.origTemplate=e,Object.assign(this,s(e)),null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges(),this.stopListeningToVarChanges=this.listenToVarChanges(this.props.model,(function(){return t.setState({textConfig:t.parseText().children})})),this.setState({textConfig:this.parseText().children,linkStyles:this.getLinkStyles()}))},getInitialState:function(){var e=d(this.props.model,"parent.semanticTextConfig.varMethods");return this.origTemplate=this.props.model.vartext(),null==e&&(e=DS.flagManager.multiLangSupport?s(this.props.model.vartext()):{listenToVarChanges:function(){return _.noop},updateVarText:_.identity}),Object.assign(this,e),DS.flagManager.multiLangSupport?{textConfig:this.parseText().children,linkStyles:this.getLinkStyles(),currLangCode:f.getCurrentLangCode()}:{textConfig:this.parseText().children,linkStyles:this.getLinkStyles()}},updateScrolling:function(e){if(null!=this.refs.textLibContentWrap){var t="calc(100% + 1px)",n="remove";if(e){var i=DS.detection.env.isPerpetual?8:16/this.props.winScale;n="add",t="calc(100% - ".concat(i,"px)")}this.refs.textLibContentWrap.classList[n]("is-scrollable"),this.refs.textLibContentWrap.style.width=t}},onLinkClicked:function(e){v[e]=!0,this.trigger("textHit",e)},onLinkOver:function(e){this.trigger("textOver",e)},onLinkOut:function(e){this.trigger("textOut",e)},isLinkTabbable:function(){return!1},getInnerProps:function(){var e=this.props,t=e.winScale,n=e.rotDeg,i=void 0===n?0:n,r=e.originX,o=void 0===r?0:r,s=e.originY,a=void 0===s?0:s;return{transformOrigin:"0 0",transform:[p.transformScale(t),p.transformTranslate(u(o),u(a)),p.transformRotate(i+"deg")].join(" ")}},getLinkState:function(e){return{highlight:null==e.highlightColor||"highlight"!==e.decoration?"transparent":h(e.highlightColor),textColor:h(e.textColor),decoration:e.decoration}},getLinkStyles:function(){var e=this;return this.props.model.linkdata().map((function(t){return{id:t.get("id"),hoverState:e.getLinkState(t.get("hoverState")),activeState:e.getLinkState(t.get("activeState")),visitedState:e.getLinkState(t.get("visitedState")),pointerEvents:"all"}}))},linkIsVisited:function(e){return null!=v[e]},parseText:function(){DS.flagManager.dropInVectors&&DS.DropIn.semanticTextRenderer(DS.DropIn);var e=o(this.updateVarText(this.origTemplate),!0,this.props.model.textshadow());if(DS.flagManager.dropInVectors&&DS.DropIn.semanticTextRenderer(DS.DropIn.restoreReact()[1]),DS.flagManager.aiCourseTranslation&&DS.detection.env.is360){var t=this.props.model.parent;null!=t&&(t.lastRenderedTextId=this.props.model.get("textLibItemId"),DS.targetModeHelper.registerTarget(t.absoluteId,"textLibItem",t.getSlide().id,t.lastRenderedTextId))}return e}});return DS.flagManager.dropInVectors&&(y.wrapped=a(y)),y}.call(t,n,t,e))||(e.exports=i)},4172:function(e,t,n){var i;i=function(e){"use strict";var t=n(3305),i=n(843),r=n(1587),o=n(8698),s=n(3723),a=n(3949),l=DS._,c=DS.appState,u=DS.automation,d=DS.constants,h=DS.vow,p=DS.events,f=DS.captionsManager,g=DS.utils;DS.flagManager.dropInCore&&(t=DS.DropIn);var m,v,S=t.createClass({displayName:"AudioPlayer",mixins:[DS.flagManager.dropInCore?o.dropIn:o,r,i],shortEvents:{model:(v={},v[a.MEDIA_SEEK]="onActionSeek",v[a.MEDIA_PLAY]="onActionPlay",v[a.MEDIA_PAUSE]="onActionPause",v[a.MEDIA_TOGGLE]="onActionToggle",v[a.SET_VOLUME]="onActionSetVolume",v),timeline:(m={},m[p.timeline.PLAYING]="onTimelinePlay",m[p.timeline.PAUSED]="onTimelinePause",m[p.timeline.AFTER_SEEK_UPDATE]="onTimelineSeek",m[p.timeline.RESET]="onTimelineReset",m)},getInitialState:function(){return{soundComplete:!1}},componentWillMount:function(){var e=this.props.model.getUrl(),t=s.loadUrl(e,this.getAssetId());this.slideStartedDfd=h.Deferred(),this.setState({audioClip:t}),this.currentTime=0,this.listenTo(this.props.model.getSlide(),"started",this.slideStartedDfd.resolve),u.clockIsOverridden&&this.listenTo(this.props.timeline,p.timeline.TICK,this.onTimelineTick)},componentDidMount:function(){this.presentationVol=d.DEFAULT_VOLUME,this.setVolume(c.currentVolume()),this.currActionStartTime=0,this.listenTo(c,p.volume.CHANGE_CURRENT,this.onVolumeChanged),this.listenTo(this.state.audioClip,p.audioClip.ENDED,this.onEnded),this.listenTo(this.state.audioClip,p.audioClip.TIME_UPDATE,this.onTimeUpdate)},componentWillUpdate:function(e,t){var n=this.state.audioClip,i=[];u.clockIsOverridden||(null!=t.seekFn&&t.seekFn!==this.state.seekFn&&i.push(t.seekFn),t.isPlaying===this.state.isPlaying&&t.soundComplete===this.state.soundComplete||i.push(n[t.isPlaying?"play":"pause"].bind(n)),i.length>0&&this.slideStartedDfd.then(l.partial(l.invokeMap,i,Function.prototype.call)))},componentWillUnmount:function(){this.destroyed=!0,this.pause(),this.slideStartedDfd.reject(),this.state.audioClip.pause().destroy()},onEnded:function(){var e=this.state.isPlaying;this.clearCaptions().setState({soundComplete:!0}),this.setPlayerProp({isPlaying:!1,resumeOnTimelinePlay:!1}),e&&this.props.model.executePlayerEvent("onmediacomplete")},ended:function(){return!0===this.state.soundComplete},getAssetId:function(){return this.props.model.get("assetId")},getCurrentTime:function(){return this.currentTime},isVideo:function(){return!1},onTimeUpdate:function(e){this.currentTime=e,this.adjustCaptions()},onVolumeChanged:function(e,t){this.determineAudioVolume(t)},determineAudioVolume:function(e){this.setVolume(e*this.presentationVol)},setTimelineControl:function(e){this.setPlayerProp({isTimelineControlled:!!e.timelineLabel})},getTimelineControl:function(){return this.props.model.prop("isTimelineControlled")},onActionPlay:function(e,t){this.setActionStartTime(t.time),!0===this.state.soundComplete&&(this.setState({soundComplete:!1}),this.seek(this.currActionStartTime)),this.setTimelineControl(t),this.setPlayerProp("resumeOnTimelinePlay",!0),null!=t.context&&"expandinglabel"===t.context.get("kind")&&f.includeMedia(this.getAssetId()),this.play()},onActionPause:function(e,t){this.setActionStartTime(t.time),this.setTimelineControl(t),this.setPlayerProp("resumeOnTimelinePlay",!1),null!=t.context&&"expandinglabel"===t.context.get("kind")&&f.excludeMedia(this.getAssetId()),this.pause()},onActionToggle:function(e,t){this.state.isPlaying?this.onActionPause(e,t):this.onActionPlay(e,t)},onActionSeek:function(e,t){this.setActionStartTime(t.time),this.seek(e.position),this.currentTime=g.toSeconds(t.currentTime),this.clearCaptions()},onActionSetVolume:function(e,t){var n=e.volume/100;this.setActionStartTime(t.time),this.presentationVol=n,this.determineAudioVolume(c.currentVolume())},play:function(){u.clockIsOverridden&&u.onMediaStarted(this.props.model.id),this.setPlayerProp({isPlaying:!0})},pause:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];u.clockIsOverridden&&u.onMediaPaused(this.props.model.id),this.setPlayerProp({isPlaying:!1}),this.hasCaptions&&(t?window.requestAnimationFrame((function(){e.destroyed||e.state.isPlaying||e.isMediaVisible(e)||e.clearCaptions()})):this.clearCaptions())},seek:function(e){var t=this.state.audioClip,n={};n.seekFn=l.partial(t.seek.bind(t),g.toSeconds(e)),this.state.soundComplete&&(n.soundComplete=e>=this.getDuration()),this.setState(n)},setVolume:function(e){this.state.audioClip.setVolume(e)},getDuration:function(){return g.getPath(this,"state.audioClip.getDuration",g.toSeconds(this.props.model.getDuration()))},setActionStartTime:function(e){null==e&&this.state.soundComplete&&(e=0),null!=e&&(this.currActionStartTime=e,this.currActionPlayheadRemaining=this.getDuration()-this.currentTime)},calculatePlaybackDifference:function(e){return e-(this.currActionStartTime||0)},onTimelinePlay:function(){this.timelinePlaying=!0,this.props.model.prop("resumeOnTimelinePlay")&&this.play()},onTimelinePause:function(){this.timelinePlaying=!1,this.pause(!0)},onTimelineSeek:function(e){this.getTimelineControl()&&(e=this.calculatePlaybackDifference(e),this.seek(e),!this.timelinePlaying&&this.state.isPlaying&&(this.setPlayerProp("resumeOnTimelinePlay",!0),this.pause()))},onTimelineReset:function(){this.clearCaptions().setState({soundComplete:!1})},onTimelineTick:function(e){this.state.isPlaying&&(g.toSeconds(e*this.props.timeline.duration())>=this.currActionPlayheadRemaining+this.currActionStartTime&&this.props.model.executePlayerEvent("onmediacomplete"))},isMediaVisible:function(){var e=this.props.model.parent.get("isBaseLayer"),t=DS.windowManager.getCurrentWindowSlide().slideLayers().getTopMostLayer(),n=null!=t&&!0===e&&!0===t.get("pauseParent");return this.props.slideVisible&&(this.props.objectVisible||e)&&!n},template:function(){return DS.flagManager.dropInCore?t.createElement("span"):null}});return S}.call(t,n,t,e),void 0===i||(e.exports=i)},9746:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(2500),o=DS.detection,s=(DS.pubSub,DS.events,DS.mobileChromeKiller);DS.flagManager.dropInMisc&&(t=DS.DropIn);var a=t.createClass({displayName:"ButtonSlideObject",mixins:[DS.flagManager.dropInMisc?i.dropIn:i],componentDidMount:function(){if(document.querySelector(".resume-prompt-slide")){var e=o.device.isDesktop?"mousedown":"touchend";this.el.addEventListener(e,(function(){o.deviceView.isMobile&&s.init()}))}},getClassNames:function(){var e=["btn","slide-object-button"];return o.deviceView.isMobile||(this.props.model.getSlide().isMessageSlide()?e.push(["cs-",this.props.model.id.replace(/_/g,"-")].join("")):e.push("cs-button")),e.join(" ")},getAccTextModel:function(){var e=this.getPath("props.model.data.textdata");return{parent:this,width:function(){return e.width},height:function(){return e.height},wordwrap:function(){return e.wordWrap},textshadow:function(){return e.textshadow},vartext:function(){return DS.localizationManager.getStringFromRef(e.vartextL10nRef)},valign:function(){return"center"},linkdata:function(){return[]}}}});return DS.flagManager.dropInMisc&&!DS.flagManager.dropInCore?r(a):a}.call(t,n,t,e))||(e.exports=i)},4821:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(2540),o=n(1587),s=n(5110),a=s.util,l=s.DraggableHelper,c=n(2500),u=DS._,d=DS.windowManager,h=DS.utils,p=(DS.dom,DS.keyManager,1500),f={dropInSettings:{useSpecificSetState:!0},performReview:function(){this.getPath("props.model.reviewdata")&&this.setState({reviewStroke:h.hexify(this.props.model.get("reviewCorrectColor")||"0x008000")})},dropComplete:function(e){var t=h.getPath(e,"props.model.getParentContainer");t&&this.props.model.reparentChild(t),this.setState({backgroundVisible:!1})},getDropSnapX:function(e){return e.prop("RawXPos")},onDragEnd:function(e,t){this.state.dropped||this.unDrop(),t&&t.params.data.setState({hoverStroke:!1})},setSelectedItem:function(){this.setPlayerProp("SelectedItem",1)},unDrop:function(){var e=this.getPlayerProp("ShuffleXPos"),t=this.getPlayerProp("ShuffleYPos");this.moveBackAndEnable(),this.setDragPosition(e,t),this.putBackInParent(),this.setState({backgroundVisible:!0}),this.setPlayerProp("SelectedItem",-1)},dropAndDisable:function(){this.draggableHelper.disable(),this.setPlayerProp("Enabled",!1),this.setState({dropped:!0,hovered:!1})},moveBackAndEnable:function(){this.setState({dropped:!1}),this.draggableHelper.enable(),this.setPlayerProp("Enabled",!0)},onDragOut:function(e,t){t.params.data.setState({hoverStroke:!1})},onDraggingOver:function(e,t){t.params.data.setState({hoverStroke:!0})},reconnectDrop:function(e){this.setPlayerProp({depth:++p,OnStage:!0}),this.onDrop(this.draggableHelper,{params:{data:e}})},savePrevLoc:u.noop,dragStarted:u.noop},g={performReview:function(){this.setState({reviewDot:"drag-incorrect"}),this.setState({reviewStroke:h.hexify(this.props.model.get("reviewIncorrectColor")||"0xFF0101")}),this.setState({isDropChild:!0}),this.resetXPos()},resetXPos:function(){this.setPlayerProp("RawXPos",this.getPlayerProp("ShuffleXPos"))},getDropSnapX:function(e){return e.prop("RawXPos")+e.width()-this.props.notchWidth},dropComplete:function(e){this.dropView=e,this.dropView.setState({collision:!1}),this.droppedX=this.getPlayerProp("RawXPos"),this.droppedY=this.getPlayerProp("RawYPos"),this.putBackInParent()},dropAndDisable:function(){this.setState({dropped:!0,hovered:!1})},onDragOut:function(e,t){t.params.data.setState({collision:!1})},onDraggingOver:function(e,t){t.params.data.setState({collision:!0})},onDragEnd:function(e,t){this.state.dropped?(this.putBackInParent(),this.setDragPosition(this.droppedX,this.droppedY),this.swapDisconnectedItems(!0)):this.swapDisconnectedItems()||this.unDrop(),this.savePrevLoc(),this.autoScrollId&&(window.cancelAnimationFrame(this.autoScrollId),this.autoScrollId=null)},setSelectedItem:function(e){this.setPlayerProp("SelectedItem",e.prop("slideIndex"))},swapDisconnectedItems:function(e){var t,n,i,r,o,s=[];if(this.dragItemViews.forEach(function(e){var t,n=this.props.model.id,i=e.props.model.id,r=DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?e.refs.innard.dropInView:e.refs.innard;n===i||r.state.dropped||0!==(t=a.unionArea(this.el.getBoundingClientRect(),e.el.getBoundingClientRect()))&&s.push({area:t,view:e})}.bind(this)),t=u(s).sortBy("area").last())return r=(n=t.view).getPlayerProp("RawXPos"),o=n.getPlayerProp("RawYPos"),(i=n.refs.innard).setDragPosition(this.state.dropped?this.getPlayerProp("ShuffleXPos"):this.oldX,this.oldY),i.savePrevLoc(),e||(this.setDragPosition(r,o),this.putBackInParent()),function(e,t){[e,t].map((function(e){return e.props.isInnard?e.props.parent:e}));var n=e.props.model,i=t.props.model,r=i.prop("tabIndex");i.prop("tabIndex",n.prop("tabIndex")),n.prop("tabIndex",r)}(this,n),!0},unDrop:function(e){e&&this.dropView!==e||(this.setState({dropped:!1}),this.putBackInParent(),this.setDragPosition(this.oldX||this.getPlayerProp("ShuffleXPos"),this.oldY||this.getPlayerProp("ShuffleYPos")),this.setPlayerProp("SelectedItem",-1))},savePrevLoc:function(){this.oldX=this.getPlayerProp("RawXPos"),this.oldY=this.getPlayerProp("RawYPos")},dragStarted:function(){this.autoScrollId||this.checkForAutoScroll()},checkForAutoScroll:function(){null!=this.scrollInterface&&(this.scrollInterface.autoScroll(this.slideObjectParent),this.autoScrollId=window.requestAnimationFrame(this.checkForAutoScroll.bind(this)))}};DS.flagManager.dropInInteractions&&(t=DS.DropIn);var m=t.createClass({displayName:"DragitemSlideObject",mixins:[DS.flagManager.dropInInteractions?i.dropIn:i,o,r],shortEvents:{model:{setReview:"onSetReview"}},getInitialState:function(){return{backgroundVisible:!0,dropped:!1}},componentDidMount:function(){this.applyStyleMixin(),this.htmlReady(this.setupDragging)},onSetReview:function(e){e&&this.performReview()},applyStyleMixin:function(){this.style=this.getPath("props.model.style"),"wordbank"===this.style?(u.mixin(this,f),u.bindAll(this,"performReview","dropComplete","getDropSnapX","onDragEnd","setSelectedItem","unDrop","dropAndDisable","moveBackAndEnable","onDragOut","onDraggingOver","reconnectDrop","savePrevLoc","dragStarted")):(u.mixin(this,g),u.bindAll(this,"performReview","resetXPos","getDropSnapX","dropComplete","dropAndDisable","onDragOut","onDraggingOver","onDragEnd","setSelectedItem","swapDisconnectedItems","unDrop","savePrevLoc","dragStarted","checkForAutoScroll")),u.bindAll(this,"setupDragging","checkShouldDisable","reparentIfSelected","getDraggableConfig","getDragPosition","onDragStart","onDrop","setDragPosition","putBackInParent")},setupDragging:function(){this.parentSlide=d.getCurrentWindow().getCurSlide(),this.slideObjectParent=this.el.parentNode,this.parentEl=this.slideObjectParent.parentNode,this.container=this.parentSlide.el.querySelector(".slide-top-container"),this.draggableHelper=new l(this.props.parent,this.getDraggableConfig()),this.scrollInterface=a.getClosestScrollInnard(this),"matching"===this.style?this.dragItemViews=this.parentSlide.getSlideObjectViews("dragitem"):this.reparentIfSelected(),this.checkShouldDisable()},checkShouldDisable:function(){this.getPlayerProp("Enabled")||this.draggableHelper.disable()},reparentIfSelected:function(){var e;this.getPlayerProp("SelectedItem")>=0&&(e=this.props.model).reparentChild(e.getSlide())},getDraggableConfig:function(){return{containment:this.parentSlide.el,ondragstart:this.onDragStart,ondragend:this.onDragEnd,ondrop:this.onDrop,getPosition:this.getDragPosition,setPosition:this.setDragPosition,ondropleave:this.onDragOut,ondropdrag:this.onDraggingOver}},getDragPosition:function(){return this.savePrevLoc(),{x:this.getPlayerProp("RawXPos"),y:this.getPlayerProp("RawYPos")}},onDragStart:function(){this.setPlayerProp("depth",++p),this.dragStarted()},onDrop:function(e,t){this.setState({dropped:!0});var n=t.params.data,i=n.props.model,r=this.getDropSnapX(i),o=i.prop("RawYPos"),s=n.getDropChild();this.dropAndDisable(),null!=s&&s.props.model!==e.view.props.model&&s.unDrop(n),this.setPlayerProp("TimelineControlled",!1),this.setSelectedItem(i),n.setDropChild(this),this.setDragPosition(r,o),this.dropComplete(n)},setDragPosition:function(e,t){this.setPlayerProp({RawXPos:e,RawYPos:t})},putBackInParent:function(){this.props.model.reattachChild()}});return DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?c(m):m}.call(t,n,t,e))||(e.exports=i)},2500:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}i=function(e){"use strict";var t=n(3305),i=n(882),o=(n(8698),DS.utils),s=0;return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",a=arguments.length>2?arguments[2]:void 0;if("object"===r(e)){var l="wrap-"+s;s++;var c=t.createElement(n,{className:"dropin-wrap",ref:l},null),u=DS.DropInDOM.render(e);return requestAnimationFrame((function(){null!=a.refs[l]&&(a.refs[l].innerHTML="",a.refs[l].append(u))})),c}var d=t.createClass({displayName:"Wrap",shouldComponentUpdate:DS.flagManager.dropInMisc&&null!=e.prototype.dropInShouldWrapUpdate?e.prototype.dropInShouldWrapUpdate:function(e,t){return!DS.flagManager.dropInVectors||(!!(o.shallowEqual(this.props,e)&&o.shallowEqual(DS.flagManager.dropInCore?this.state||this.dropInView.state:this.state,t||{})||!this.shouldUpdate||null==t||null==e)||this.shouldUpdate(e,t))},componentWillUnMount:function(){DS.flagManager.dropInVideo&&this.dropInView.componentWillUnMount()},componentDidMount:function(){for(var t in this.wrappedEl=DS.DropIn.createElement(e,this.props),this.dropInView=DS.DropInDOM.render(this.wrappedEl),this.dropInView.isWrapped=!0,this.dropInView)null==this[t]&&"function"==typeof this.dropInView[t]&&(this[t]=this.dropInView[t].bind(this.dropInView));this.el=i.findDOMNode(this),this.el.appendChild(this.dropInView.el)},componentWillReceiveProps:DS.flagManager.dropInVectors?function(e){var t={};if(!DS.flagManager.dropInCore||null!=this.dropInView){for(var n in e)null==t[n]&&(t[n]=e[n]);for(var i in this.dropInView.props)null==t[i]&&(t[i]=this.dropInView.props[i]);DS.flagManager.dropInCore?this.dropInView.nextProps=Object.assign(this.dropInView.getDefaultProps(),e):this.dropInView.props=t}}:null,render:function(){var e=DS.flagManager.dropInMisc?{height:"100%",position:DS.flagManager.dropInCore?"absolute":null}:null;return null!=this.dropInView&&(DS.flagManager.dropInVectors||(this.dropInView.props=this.props),this.dropInView.doRender(),DS.flagManager.dropInCore&&"Slide"===this.dropInView.displayName&&(e.zIndex=null!=this.state&&this.state.transitionDepth||0)),t.createElement(n,{className:"dropin-wrap",style:e},null)}});return d.notWrapped=e,d}}.call(t,n,t,e),void 0===i||(e.exports=i)},3645:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8702),i=n(8698),r=n(3305),o=DS,s=(o._,o.appState),a=o.events;return DS.flagManager.dropInInteractions&&(r=DS.DropIn),r.createClass({mixins:[DS.flagManager.dropInInteractions?i.dropIn:i],displayName:"DropListItem",componentDidMount:function(){this.listenTo(s,a.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},onAccessibleTextChanged:function(e){this.setState({useAccText:this.getUseAccText()})},getUseAccText:function(){if(DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport){var e=this.getPath("props.textdata"),t=e.type,n=e.scrollOverflow;return"richvartext"===t||"acctext"===t&&(s.accessibleTextOn()||n)}return"acctext"===this.getPath("props.textdata.type")&&(s.accessibleTextOn()||this.getPath("props.textdata.scrollOverflow"))},getInitialState:function(){var e=this.props.textdata;return DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?this.accTextModel=new t(e,{parent:this.props.model}):this.accTextModel={parent:this,width:function(){return e.width},height:function(){return e.height},wordwrap:function(){return e.wordwrap},textshadow:function(){return e.textshadow},vartext:function(){return e.vartext},valign:function(){return e.valign},linkdata:function(){return[]}},{hovered:!1,display:"none",selected:!1,useAccText:this.getUseAccText()}},onClick:function(){this.touchMoved||this.props.selected(this.props.order)},onTouchStart:function(){this.touchMoved=!1,this.didMouseOver()},onTouchMove:function(e){this.touchMoved=!0},fillColorClass:function(){return this.state.hovered?"drop-list-item-over":this.state.selected?"drop-list-item-selected":"drop-list-item-out"},didMouseOver:function(){this.setState({hovered:!0})},didMouseOut:function(){this.setState({hovered:!1})},getAccTextModel:function(){return this.accTextModel}})}.call(t,n,t,e))||(e.exports=i)},3151:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t,i=n(8698),o=n(1587),s=n(3305),a=n(882),l=n(7877),c=n(8907),u=n(8702),d=DS,h=d._,p=d.windowManager,f=d.dom,g=d.utils,m=d.events,v=d.detection,S=v.os.isIOS,y=v.device,b=d.svgUtils,w=d.pubSub,C=d.appState,x=d.keyManager,D=d.globalEventHelper,E=D.addBodyListener;D.removeBodyListener;return DS.flagManager.dropInInteractions&&(s=DS.DropIn,a=DS.DropInDOM),s.createClass({mixins:[DS.flagManager.dropInInteractions?i.dropIn:i,o],displayName:"DropListParentable",subscriptions:(t={},t[m.slideContainer.POSITIONED]="onSlideContainerPositioned",t),shortEvents:{model:{setReview:"onSetReview"}},getInitialState:function(){var e=this.getPath("props.model.data.textdata",{});return DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?{hovered:!1,display:"none",textdata:this.getPath("props.model.data.textdata"),winScale:this.props.winScale,useAccText:this.getUseAccText(e)}:{hovered:!1,display:"none",pr:this.getPath("props.model.data.textdata.vectortext.pr"),textdata:this.getPath("props.model.data.textdata"),winScale:this.props.winScale,useAccText:this.getUseAccText(e)}},getUseAccText:function(e){if(DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport){var t=g.getPath(e,"type"),n=g.getPath(e,"scrollOverflow");return"richvartext"===t||"acctext"===t&&(C.accessibleTextOn()||n)}var i=(null==e?this.state||{}:{textdata:e}).textdata,r=(i=void 0===i?{}:i).type,o=i.scrollOverflow;return"acctext"===r&&(C.accessibleTextOn()||o)},componentWillMount:function(){var e=this;(DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport)&&(this.removeReviewListener=w.addListener(m.localization.REVIEW_STRING_UPDATED,(function(t){null!=e.prevSelected&&e.updateText(e.prevSelected),e.setState({stringRev:t})}))),this.itemslist=this.getPath("props.model.itemslist"),this.currentIndex=-1},componentDidMount:function(){this.initReparenting(),this.createRefOrder(),this.onShown(this.selectItemIfSet),this.listenTo(C,m.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},componentDidUpdate:function(e,t){var n,i,r,o;DS.flagManager.dropInCore?null==this||null===(n=this.props)||void 0===n||null===(i=n.parent)||void 0===i||null===(r=i.accShadowView)||void 0===r||null===(o=r.onStateChanged)||void 0===o||o.call(r,t,this.state):this.props.parent.accShadowView.onStateChanged(t,this.state)},componentWillUnMount:function(){null!=this.removeReviewListener&&this.removeReviewListener()},onAccessibleTextChanged:function(e){var t=DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?this.getUseAccText(this.textModel):this.getUseAccText(selected.props.textdata);this.setState({useAccText:t})},getAccTextModel:function(){var e=this;return DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?(null==this.textModel&&(this.textModel=new u(this.state.textdata,{parent:this.props.model}),this.textModel.width=function(){return(e.state.reviewWidth||e.getPath("props.model.width"))-30},this.textModel.height=function(){return e.getPath("props.model.height")-2}),this.textModel):{parent:this,width:function(){return e.state.ReviewMode?e.state.reviewWidth-35:e.state.textdata.width-10},height:function(){return e.state.textdata.height-4},wordwrap:function(){return e.state.textdata.wordWrap},textshadow:function(){return e.state.textdata.textshadow},vartext:function(){return e.state.textdata.vartext},valign:function(){return"top"},linkdata:function(){return[]}}},createRefOrder:function(){this.refOrder=[],this.itemslist.forEach(function(e,t){var n=this.refs["item"+t];this.refOrder[n.props.order]=n}.bind(this))},onSetReview:function(e){var t=this.getPath("props.model.reviewwidth");e&&t&&this.setState({reviewWidth:t})},selectItemIfSet:function(){var e=this.getPlayerProp("SelectedItemIndex");e>-1&&this.itemSelected(e)},itemSelected:function(e){if(-1!==e){var t=this.refs["item"+e];t.setState({selected:!0}),this.setPlayerProp("SelectedItemData",this.props.model.origItemsList[e].itemdata),this.setPlayerProp("SelectedItemIndex",e),this.prevSelected&&this.prevSelected.setState({selected:!1}),this.prevSelected=t,this.updateText(t)}},updateText:function(e){this.textModel=new u(e.props.textdata,{parent:this.props.model}),DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?this.setState({textdata:e.props.textdata,useAccText:DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?this.getUseAccText(this.textModel):this.getUseAccText(e.props.textdata)}):this.setState({pr:e.props.pr,textdata:e.props.textdata,useAccText:DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?this.getUseAccText(this.textModel):this.getUseAccText(e.props.textdata)});var t=this.refs.acctext;if(null!=t){var n=DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport?this.textModel.vartext():g.getPath(e.props,"textdata.vartext");null!=n&&t.updateTemplate(n)}},contentheight:function(){return(this.getPath("props.model.height")+8)*this.itemslist.length},onShowList:function(){var e=this;if(this.isEnabled()){if(S)return void this.props.parent.accShadowView.refs.input.dispatchEvent(new MouseEvent("mousedown"));null!=this.refs.scrollBar&&this.refs.scrollBar.update(),w.on(m.timer.COMPLETE,this.onTimerComplete),this.removeMousedownListener=E("mousedown",this.onListDown),this.removeMouseupListener=E("mouseup",this.onListUp),this.removeTouchstartListener=E("touchstart",this.onListDown),this.removeTouchendListener=E("touchend",this.onListUp),this.setState({display:"block"}),DS.flagManager.dropInInteractions?requestAnimationFrame((function(){return e.positionList()})):this.positionList()}},onHideList:function(e){var t;null!=e&&(t=f.closest(e.target,(function(e){return f.hasClass(e,"drop-list-top")||S&&f.hasClass(e,"drop-list")})),f.hasClass(e.target,"scrollarea-scrollbar")||f.hasClass(e.target,"scrollarea-btn"))||t||(this.unpositionList(),this.setState({display:"none"}),null!=this.removeMousedownListener&&(this.removeMousedownListener(),this.removeMouseupListener(),this.removeTouchstartListener(),this.removeTouchendListener()),w.off(m.timer.COMPLETE,this.onTimerComplete))},saveTouchStart:function(e){var t=r(e.touches||e.changedTouches||[e],1)[0],n=t.pageX,i=t.pageY;this.ptStart={x:n,y:i}},didTouchMove:function(e){if(null==this.ptStart||!y.isMobile)return!1;var t=r(e.changedTouches||e.touches||[e],1)[0],n=t.pageX,i=t.pageY;return!(Math.abs(n-this.ptStart.x)<2||Math.abs(i-this.ptStart.y<2))},onTouchStart:function(e){this.didMouseOver(),this.saveTouchStart(e)},onTouchEnd:function(e){this.didMouseOut(),this.didTouchMove(e)||this.onShowList()},getItemScrollTop:function(){return a.findDOMNode(this.refs.dropdownInner).scrollTop},onListDown:function(e){this.saveTouchStart(e),this.containerScrollTop=this.getItemScrollTop()},onListUp:function(e){this.didTouchMove(e)||this.onHideList(e)},didMouseOver:function(){this.isEnabled()&&this.setState({hovered:!0})},didMouseOut:function(){this.setState({hovered:!1})},autoOpenList:function(){var e;return"block"===this.state.display?(this.onHideList(),this.itemSelected(-1===this.currentIndex?-1:this.refOrder[this.currentIndex].props.idx)):(this.onShowList(),e=this.getPlayerProp("SelectedItemIndex"),this.currentIndex=-1===e?-1:this.refs[["item",e].join("")].props.order),!0},focusItem:function(e){if(-1!==e){var t=this.refOrder[e],n=this.refs.dropdownInner;this.refOrder.forEach((function(t,n){t.setState({hovered:n===e})})),this.currentIndex=e,this.itemSelected(t.props.idx);var i=f.getScrollRecommendation(n,t.el.firstChild);-1!==i&&(n.scrollTop=i)}},initReparenting:function(){var e=this,t=function(){e.targetEl=e.el.parentNode,e.dropDown=e.el.firstElementChild,e.container=l.getTopContainer(),e.overlay=l.getTopOverlay(),e.presentation=l.getMainWindowEl()};DS.flagManager.dropInInteractions?requestAnimationFrame(t):t()},getItemHeight:function(){return this.getPath("props.model.height")+8},getListHeight:function(){return this.getItemHeight()*this.itemslist.length},positionList:function(){var e=this;if(this.targetEl.parentNode!==this.container){this.parentEl=this.parentEl||this.el.parentNode.parentNode;var t,n=p.getCurrentWindowSlide(),i=c.localPtToSlide(this.props.parent,0,0),r=c.localPtToGlobal(this.props.parent,0,0),o=c.getSlideMetrics(n.currView),s=o.scaleX,a=1/s,l=this.presentation.getBoundingClientRect(),u=this.state.winScale,d=l.bottom,m=this.getListHeight()+this.getItemHeight();f.setStyles(this.targetEl,h.mapValues({left:((o.left-l.left)*a+i.x)*u,top:((o.top-l.top)*a+i.y)*u},g.pxify)),this.container.style[this.cssTransform]=b.transformScale(s/u),this.container.style.pointerEvents="all",this.container.appendChild(this.targetEl),r.y+m*s>d&&(t=d-r.y,this.dropDown.style.height=g.pxify(t),DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?this.setState({dropDownScrollable:"drop-list-scrollable",scrollBarHeight:t},(function(){e.htmlReady((function(){e.dropDown.style.height=g.pxify(t)}))})):this.setState({dropDownScrollable:"drop-list-scrollable",scrollBarHeight:t})),f.setStyles(this.overlay,h.extend({display:"block"},h.mapValues({left:0,top:0,width:l.width,height:l.height},g.pxify)))}},unpositionList:function(){this.targetEl.parentNode===this.container&&(f.setStyles(this.overlay,{display:""}),f.setStyles(this.targetEl,{left:0,top:0}),this.container.style[this.cssTransform]=b.transformScale(1),this.parentEl.appendChild(this.targetEl))},onSlideContainerPositioned:function(){"block"===this.state.display&&this.htmlReady(h.flow(this.unpositionList,this.positionList))},onFocus:function(e){this.props.parent.accShadowView.takeFocus()},shadowDomKeyHandler:function(e){var t=e.which,n=x.isDownKey(t);x.isUpKey(t)||n?("none"===this.state.display&&this.autoOpenList(),this.focusItem(g.clamp(0,this.itemslist.length-1,this.currentIndex+(n?1:-1))),e.preventDefault()):x.isActionKey(t)&&(this.autoOpenList(),e.preventDefault())},shadowDomBlur:function(e){var t=e.relatedTarget||document.activeElement;this.el.contains(t)||(this.onHideList(),this.focusItem(this.currentIndex))},onTimerComplete:function(){}})}.call(t,n,t,e))||(e.exports=i)},4600:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(882),o=n(3151),s=n(2500),a=DS.dom;DS.flagManager.dropInInteractions&&(i=DS.DropIn,r=DS.DropInDOM);var l=i.createClass({mixins:[DS.flagManager.dropInInteractions?t.dropIn:t],displayName:"DropListSlideObject",componentWillMount:function(){this.droplistEl=i.createElement(o,this.props),this.wrapper=document.createElement("div"),a.setStyles(this.wrapper,{position:"absolute",top:0,left:0}),this.parentableDropList=r.render(this.droplistEl,this.wrapper)},componentDidUpdate:function(){this.parentableDropList.setState({winScale:this.props.winScale})},componentDidMount:function(){this.el.appendChild(this.wrapper)},componentWillUnmount:function(){r.unmountComponentAtNode(this.wrapper)},getSelectedTextData:function(){return this.parentableDropList.state.textdata}});return DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?s(l):l}.call(t,n,t,e))||(e.exports=i)},5491:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(1587),o=n(2540),s=n(5110).DroppableHelper,a=n(2500),l=(DS._,DS.utils),c=DS.windowManager,u=DS.pubSub,d=DS.events;DS.flagManager.dropInInteractions&&(t=DS.DropIn);var h=t.createClass({displayName:"DropareaSlideObject",dropInSettings:{useLegacySetState:!0},mixins:[DS.flagManager.dropInInteractions?i.dropIn:i,r,o],getInitialState:function(){return{backgroundVisible:!0}},shortEvents:{model:{setReview:"onSetReview"}},onSetReview:function(e){e&&this.performReview()},performReview:function(){var e=this,t=this.getPath("props.model.style"),n=this.getPath("props.model.reviewdata"),i=l.getPath(this.dropChild,"props.model.reviewdata"),r=l.hexify(this.props.model.get("reviewCorrectColor")||"0x008000"),o=l.hexify(this.props.model.get("reviewIncorrectColor")||"0xFF0101");"matching"===t?DS.flagManager.updatedThemeColorsEnabled?(e.setState({isDropChild:!1}),e.setState({reviewStroke:o}),e.dropChild&&(e.dropChild.setState({isDropChild:!0}),e.dropChild.setState({reviewStroke:o}),n===i&&(e.dropChild.resetXPos(),e.setState({reviewStroke:r}),e.dropChild.setState({reviewStroke:r})))):e.dropChild&&n===i?(e.setState({reviewDot:"drop-correct"}),e.dropChild.setState({reviewDot:"drag-correct"}),e.dropChild.resetXPos()):e.setState({reviewDot:"drop-incorrect"}):i?this.setState({reviewStroke:r}):this.setState({reviewStroke:o})},componentDidMount:function(){var e=this;this.style=this.getPath("props.model.style"),this.droppableHelper=new s(this.el,{data:this}),this.htmlReady(this.resumeReview),DS.flagManager.dropInAcc||u.once(d.window.MAIN_CHANGED,(function(){e.droppableHelper.unregister()}))},componentWillUnmount:function(){this.droppableHelper.unregister()},resumeReview:function(){this.parentSlide=c.getCurrentWindow().getCurSlide(),this.dragItemViews=this.parentSlide.getSlideObjectViews("dragitem"),"matching"===this.style?this.addMatchingDropChild():this.addWordBankDropChild()},addWordBankDropChild:function(){var e;this.dragItemViews.forEach((function(t){t.getPlayerProp("SelectedItem")>=0&&(e=t.refs.innard)})),e&&e.reconnectDrop(this)},addMatchingDropChild:function(){this.dragItemViews.forEach(function(e){if(e.getPlayerProp("slideIndex")===this.getPlayerProp("SelectedItem")){var t=e.refs.innard;e.setPlayerProp("RawXPos",t.getDropSnapX(this.props.model)),e.setPlayerProp("RawYPos",this.getPlayerProp("RawYPos")),this.setDropChild(t)}}.bind(this))},setDropChild:function(e){var t=l.getPath(e,"props.model.connectdata");this.setPlayerProp("SelectedItem",e.getPlayerProp("slideIndex")),this.setPlayerProp("DragConnectData",t),this.setPlayerProp("TimelineControlled",!1),this.dropChild=DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore&&null!=e.dropInView?e.dropInView:e,this.dropChild.drop=this},disconnect:function(){this.dropChild.drop=null,this.dropChild=null,this.setPlayerProp("DragConnectData",""),this.setPlayerProp("SelectedItem",-1)},isTabbable:function(){return-1===this.getPlayerProp("SelectedItem")||"matching"===this.style},getDropChild:function(){return this.dropChild}});return DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?a(h):h}.call(t,n,t,e))||(e.exports=i)},4478:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=n(4242),s=n(1797),a=n(3949),l=n(8907),c=n(2500),u=DS,d=u._,h=u.utils,p=u.TweenLite,f=u.detection,g=f.browser,m=f.deviceView.isMobile,v=u.vow,S=u.events,y=u.keyManager,b=u.appState,w=u.globalEventHelper.addBodyListener,C=u.constants,x=u.resolver,D=u.pubSub;DS.flagManager.dropInMisc&&(i=DS.DropIn);var E,T=i.createClass({completeHook:d.noop,displayName:"ExpandingLabelSlideObject",mixins:[DS.flagManager.dropInMisc?t.dropIn:t],shortEvents:{model:(E={},E[a.OBJECT_ACTION]="onObjectAction",E)},componentDidMount:function(){this.label=this.find(".expanding-label"),this.content=this.find(".expanding-label-content"),this.initDepth=this.props.model.parent.depth(),this.content.style.visibility="hidden",this.scrollArea=this.findComponent("ScrollAreaSlideObject"),this.listenTo(b,S.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged),this.bindEvents()},componentDidUpdate:function(){var e=this.props,t=e.model,n=e.winScale,i=[t.get("arrowxpos"),t.get("arrowypos"),0].map((function(e){return h.pxify(e*n)})).join(" ");p.set(this.el,{transformOrigin:i}),this.el.style.transformOrigin=i,this.bindEvents()},componentWillUnmount:function(){null!=this.removePrepareListener&&this.removePrepareListener(),this.killAllTweens(),this.stopListening(),null!=this.removeLocalizationListener&&this.removeLocalizationListener()},componentWillMount:function(){var e=this,t=this.props.model;this.prepared=v.Deferred(),this.startHeight=this.props.model.getBounds().height+6+3,this.arrowSize=s.calcArrowLength(this.props.playerProps.width,this.props.playerProps.height,t.get("arrowxpos"),t.get("arrowypos")),this.calcAlignment().calcLabelSize().calcLabelTranslate().calcLabelPos(),this.listenTo(t.getLayer().timeline(),S.timeline.BEFORE_SEEK_UPDATE,this.hideComplete),this.actionConfig={showcomplete:this.showComplete,hidecomplete:this.hideComplete,showtitle:this.showTitle,hidetitle:this.hideTitle,togglecontent:this.toggleContent},m&&(this.actionConfig.showtitle=this.showComplete,this.actionConfig.hidetitle=this.hideComplete,this.actionConfig.togglecontent=this.toggleComplete),t.once("trueVisibilityChanged",this.prepare),this.removePrepareListener=function(){t.off("trueVisibilityChanged",e.prepare)},DS.flagManager.multiLangSupport&&(this.removeLocalizationListener=D.addListener(S.localization.LANGUAGE_UPDATED,(function(t){e.setState({currLangCode:t})})))},onAccessibleTextChanged:function(e){this.setState({accessibleText:e})},bindEvents:function(){var e=this;this.findAllComponents("VectorText").concat(this.findAllComponents("VariableText")).concat(this.findAllComponents("RichVariableText")).concat(this.findAllComponents("AccessibleText")).forEach((function(t){e.stopListening(t),e.listenTo(t,{textHit:e.props.textHit,textOver:e.props.textOver,textOut:e.props.textOut})}))},svg:function(){return!DS.flagManager.dropInMisc&&DS.flagManager.dropInVectors?c(o.getSvgFromData(this.props.model,this),"div",this):o.getSvgFromData(this.props.model,this)},shouldShowContent:function(){return this.props.playerProps.Expanded},patternFillId:function(){return"pattern-fill-"+this.props.model.id},prepare:function(){if(this.isMounted()){var e=this.el.getBoundingClientRect();if(0!==e.width||0!==e.height){var t=this.props,n=t.model,i=t.winScale,r=[n.get("arrowxpos"),n.get("arrowypos"),0].map((function(e){return h.pxify(e*i)})).join(" ");this.labelProgress={tweenPercent:0},this.contentProgress={tweenPercent:0},this.updateLabel(),p.set(this.el,{scaleX:.01,scaleY:.01,transformOrigin:r}),this.el.style.transformOrigin=r,this.content.style.visibility="",this.setupTweens(),this.prepared.resolve()}else requestAnimationFrame(this.prepare)}},setupTween:function(e){var t=this.tweenedNodes;return t=d(t).push(e.node).compact().uniq().value(),this.tweenedNodes=t,this[e.name]=new p(e.node,e.duration,e.opts),this},setupTweens:function(){var e=this,t=[{name:"titleTween",node:this.el,duration:.3,opts:{scaleX:1,scaleY:1,onComplete:this.onTitleComplete,onReverseComplete:function(){e.props.model.parent.prop("depth",e.initDepth)},onStart:function(){g.isFF&&r(e.el.querySelectorAll("svg")).forEach((function(e){e.style.transformOrigin="0 0",e.style.transform="translate3d(0, 0, 0) scale3d(1, 1, 1.01)"}))},paused:!0}},{name:"labelTween",node:this.labelProgress,duration:.3,opts:{tweenPercent:1,paused:!0,onUpdate:this.updateLabel}},{name:"contentTween",node:this.contentProgress,duration:.3,opts:{tweenPercent:1,paused:!0,onUpdate:this.updateContent,onComplete:this.onContentComplete,onReverseComplete:this.onContentReverseComplete}}];return this.tweenedNodes=[],t.forEach((function(t){return e.setupTween(t)})),this},killAllTweens:function(){return null!=this.tweenedNodes&&this.tweenedNodes.forEach((function(e){return p.killTweensOf(e)})),this},showComplete:function(){return this.prepared.then(function(){this.props.playerProps.Expanded||(this.props.model.trigger(S.elso.TOGGLE_EXPANDED,!0),this.showTitle(!0).then(function(){1===this.currentTween.progress()?this.showContent():this.completeHook=this.showContent}.bind(this)))}.bind(this))},hideComplete:function(){return this.prepared.then(function(){this.props.playerProps.Expanded||this.contentTween.isActive()?this.hideContent().then(function(){this.completeHook=this.hideTitle}.bind(this)):(this.currentTween=d.noop,this.hideTitle())}.bind(this))},toggleContent:function(){this.shouldShowContent()?this.hideContent():(this.showTitle(!0),this.showContent())},toggleComplete:function(){this.props.playerProps.Expanded?this.hideComplete():this.showComplete()},contentWillShow:function(e){return this.completeHook===this.showContent&&"hidecomplete"!==e},wasToggledMultipleTimes:function(e,t){if(m){if("onrollout"===t&&"hidecomplete"===e&&"togglecontent"===this.prevCommand)return!0;if("onrollover"===this.prevEventType&&"showcomplete"===this.prevCommand&&"onrollout"===t&&"hidecomplete"===e&&!this.shouldShowContent())return!0}return!1},onObjectAction:function(e,t){var n=e.command,i=t&&t.eventType;this.wasToggledMultipleTimes(n,i)||("togglecontent"===n||this.prevCommand!==n||y.isShowFocus)&&(this.prevCommand=n,this.prevEventType=i,this.contentWillShow(n)||(this.actionConfig[n](),function(){var e=this;g.isChrome&&"showtitle"===n&&this.afterHtmlReady((function(){DS.flagManager.dropInCore||e.forceUpdate()}))}.call(this),"showtitle"===n&&this.repositionLabel()))},triggerObjectEvent:function(e){this.props.model.executeFilteredPlayerEvent((function(t){return t.eventName===e}),"onobjectevent")},calcAlignment:function(){var e,t,n=this.props.model,i=n.get("arrowxpos"),r=n.get("arrowypos"),o="",s="";return r<=0?s="bottom":r>=this.props.playerProps.height&&(s="top"),i<=0?(o="right",i<0&&(t=!0)):i>=this.props.playerProps.width&&(o="left",i>this.props.playerProps.width&&(t=!0)),e=d(t?[o,s]:[s,o]).compact().join("-"),this.alignment=e,this},calcLabelSize:function(){var e=this.arrowSize+2*this.props.model.get("borderwidth");return this.labelSize={width:this.props.playerProps.width+e,height:this.props.playerProps.height+e},this},calcLabelTranslate:function(){var e=s.calcTranslate(this.props.model.get("arrowxpos"),this.props.model.get("arrowypos")),t=this.props.model.get("borderwidth"),n=t%2?.5:0;return e.x+=t+n,e.y+=t+n,e.offX-=t,e.offY-=t,this.labelTranslate=e,this},calcLabelPos:function(){var e=this.props.model,t=this.alignment,n=0;return"right"===t||"left"===t?n=e.get("arrowypos")-this.startHeight/2:d.includes(t,"top")&&(n=e.get("height")-this.startHeight),this.labelPos={x:0,y:n},this},showTitle:function(e){return e||0!==this.props.model.get("textLib").length?(this.labelDirty&&(this.el.style.transform="unset",this.updateLabel()),this.prepared.then(function(){this.currentTween=this.titleTween,this.currentTween.play(),this.completeHook=d.noop}.bind(this))):this.prepared},onTitleComplete:function(){this.completeHook()},hideTitle:function(){return this.prepared.then(function(){this.completeHook=this.hideTitle,this.shouldShowContent()||this.currentTween===this.contentTween||(this.currentTween=this.titleTween,this.currentTween.reverse(),this.completeHook=d.noop)}.bind(this))},keyupHandler:function(e){if(e.which===C.keys.ESCAPE){this.hideComplete();var t=this.props.model.absoluteId.replace("_expandinglabel","");x.resolvePath(t).currView.accShadowView.takeFocus()}},showContent:function(){return this.prepared.then(function(){this.removeBodyListener=w("keyup",this.keyupHandler,!0),D.trigger(S.elso.SHOW_CONTENT_START),this.currentTween=this.contentTween,this.currentTween.play(),this.labelTween.play(),this.triggerObjectEvent("contentin"),this.props.model.trigger(S.elso.TOGGLE_EXPANDED,!0),1===this.currentTween.progress()&&this.onContentComplete()}.bind(this))},updateChildVisibility:function(){d.result(this.props.model,["currView","updateTrueVisibility"])},onContentReverseComplete:function(){this.props.setPlayerProp("Expanded",!1),this.updateChildVisibility(),this.currentTween=null,this.completeHook(),this.triggerObjectEvent("contentoutcomplete"),D.trigger(S.elso.HIDE_CONTENT_COMPLETE)},onContentComplete:function(){this.completeHook=d.noop,this.props.setPlayerProp("Expanded",!0),this.updateChildVisibility(),this.triggerObjectEvent("contentincomplete"),l.setMatrixDirty(this.props.model.currView),null!=this.scrollArea&&this.scrollArea.calcScrolling()},hideContent:function(){return this.prepared.then(function(){null!=this.removeBodyListener&&(this.removeBodyListener(),this.removeBodyListener=null),this.currentTween=this.contentTween,this.currentTween.reverse(),this.labelTween.reverse(),this.triggerObjectEvent("contentout"),this.props.model.trigger(S.elso.TOGGLE_EXPANDED,!1),0===this.currentTween.progress()&&this.onContentReverseComplete()}.bind(this))},calcTweenScale:function(){for(var e,t=this.props.model,n=1;t;)e=t.currView,t.isSlideObject&&null!=e&&null!=e.tweenedConfig&&(n*=h.pctToDec(e.tweenedConfig.props.ScaleY)),t=t.parent;return n},getPercentHeight:function(e){return this.startHeight+(this.props.playerProps.height-this.startHeight)*e},updateContent:function(){null!=this.contentProgress&&(this.content.style.height=h.pxify(this.getPercentHeight(this.contentProgress.tweenPercent)*this.props.winScale))},repositionLabel:function(){null!=this.labelProgress&&this.sizeLabel(this.props)},sizeLabel:function(e){var t=e.winScale,n=e.model.get("objects"),i=null!=n&&n.length>0?this.labelProgress.tweenPercent:0;this.label.style.height=h.pxify(this.getPercentHeight(i)*t),this.label.style[this.cssTransform]="translate(0px, ".concat(this.labelPos.y*h.invertPercent(i)*t,"px)"),this.content.style.height=this.label.style.height},updateLabel:function(){var e=this.props,t=e.winScale,n=e.model;this.sizeLabel({winScale:t,model:n});var i=this.label.getBoundingClientRect();if(this.lastGoodHeight=i.height,0!==i.height){this.labelDirty=!1,this.content.style.height=this.label.style.height;var r=this.el.getBoundingClientRect(),o=this.props.model.getSlide().calculateTotalScale(),a=-(r.top-i.top),l=s.labelPath({width:this.props.playerProps.width,top:a*o/this.calcTweenScale(),height:i.height*o,radius:10,dir:this.alignment,arrowLength:this.arrowSize,arrowX:this.props.model.get("arrowxpos"),arrowY:this.props.model.get("arrowypos")});this.setState({labelPath:l})}else this.labelDirty=!0},getIsVisible:function(){return this.props.playerProps.Expanded},getContentStyles:function(){var e=this,t=this.props.winScale;return window.requestAnimationFrame((function(){e.repositionLabel()})),{paddingTop:6*t,paddingBottom:3*t,paddingLeft:6*t,paddingRight:6*t}}});return DS.flagManager.dropInMisc&&!DS.flagManager.dropInCore?c(T):T}.call(t,n,t,e))||(e.exports=i)},6472:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=(DS._,DS.slideObjectUtils);return DS.flagManager.dropInCore&&(i=DS.DropIn),i.createClass({mixins:[DS.flagManager.dropInCore?t.dropIn:t],displayName:"GroupingSlideObject",getFocusTarget:function(){return r.getGroupFocusTarget(this)}})}.call(t,n,t,e))||(e.exports=i)},4820:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=(n(1587),n(3305)),r=n(882),o=n(2658),s=n(5840),a=n(949),l=n(7877),c=n(2500),u=DS._,d=DS.detection,h=DS.events,p=DS.windowOpen,f=DS.windowManager;DS.flagManager.dropInBase&&(i=DS.DropIn,r=DS.DropInDOM);var g,m=i.createClass({displayName:"ImageSlideObject",mixins:[DS.flagManager.dropInBase?t.dropIn:t],subscriptions:(g={},g[h.slideContainer.POSITIONED]="onPositioned",g),componentWillMount:function(){this.presentationCanvas=l.getPresoCanvas()},componentDidMount:function(){d.deviceView.isMobile&&this.refs.zoom&&a.tap(this,this.refs.zoom,this.zoom)},getImage:function(){return o.getAssetUrl(this.props.model.get("zoomdata").imagedata.assetId)},zoom:function(){"htmlwindow"===this.props.model.get("zoomtype")?p.open({url:this.getImage(),previewNotification:"PREVIEW_ZOOM_IMAGE"}):this.getOrCreateZoomImage().zoomIn()},getOrCreateZoomImage:function(){return DS.flagManager.dropInVideo||r.unmountComponentAtNode(this.presentationCanvas),this.renderZoomImage()},renderZoomImage:function(){var e=1/f.getCurrentWindowSlide().calculateTotalScale(),t={imageModel:this.props.model,imageElement:this.find(".zoom"),imageUrl:this.getImage(),width:this.props.model.get("zoomdata").html5data.width*e,height:this.props.model.get("zoomdata").html5data.height*e,transform:{xOffset:this.props.model.get("xOffset"),yOffset:this.props.model.get("yOffset"),xPos:this.props.playerProps.RawXPos,yPos:this.props.playerProps.RawYPos,width:this.props.playerProps.width*e,height:this.props.playerProps.height*e}};if(DS.flagManager.dropInBase&&this.zoomImage)return DS.DropInDOM.updateWithProps(this.zoomImage,t,this.presentationCanvas),this.zoomImage;var n=i.createElement(s,t);return this.zoomImage=r.render(n,this.presentationCanvas),this.zoomImage},onPositioned:function(){var e=this.zoomImage;null!=e&&e.isVisible()&&this.htmlReady(this.renderZoomImage)},onClick:function(){d.device.isMobile||this.zoom()},toggleZoom:function(){null!=this.zoomImage&&this.zoomImage.isZoomingIn?this.zoomImage.zoomOut({stopPropagation:u.noop}):this.zoom()},closeZoom:function(){null!=this.zoomImage&&this.zoomImage.zoomOut({stopPropagation:u.noop})}});return DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?c(m):m}.call(t,n,t,e))||(e.exports=i)},2977:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(2500),o=DS.vendorOverrides,s=DS.utils;DS.flagManager.dropInBase&&(t=DS.DropIn);var a=t.createClass({displayName:"LinearBackgroundGradient",mixins:[DS.flagManager.dropInBase?i.dropIn:i],fill:function(){return this.props.fill||this.props.layerModel.background().fill},stopPct:function(e){return s.stopPct(e.stop)},stopProps:o.stopColorProps||function(e){return{stopColor:s.rgbify(e.rgb),stopOpacity:s.opacify(e.alpha)}}});return DS.flagManager.dropInBase&&(a.wrapped=r(a,"g")),a}.call(t,n,t,e))||(e.exports=i)},4753:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(7940),s=DS._,a=DS.detection,l=DS.utils,c=DS.constants,u=(l=DS.utils,DS.events);DS.scaler;DS.flagManager.dropInAcc&&(t=DS.DropIn);var d=s.memoize(s.partial(l.quote,c.MOBILE_FONT));return t.createClass({displayName:"MessageWindow",mixins:[DS.flagManager.dropInAcc?i.dropIn:i,r],subscriptions:o({},u.window.SCALE,"onResize"),getInitialState:function(){return{scale:this.props.getWinScale()}},onResize:function(){this.setState({scale:this.props.getWinScale()})},windowType:function(){return this.state.currentSlide?s.kebabCase(this.state.currentSlide.id).split("-").slice(0,3).join("-"):""},isScaleable:function(){return this.isResumeWin()},isResumeWin:function(){return"resume-prompt-slide"===this.windowType()},componentDidUpdate:function(){this.adjustForMobileLayout()},createResumeText:function(){var e=document.createElement("style");e.innerHTML=[".message-window.resume-prompt-slide .slide-object:nth-child(2) button::after {",' content: "',DS.stringTabler.getString("continueresponsive"),'"; } ',".message-window.resume-prompt-slide .slide-object:nth-child(3) button::after {",' content: "',DS.stringTabler.getString("restart"),'"; }'].join(""),document.body.appendChild(e)},getScrollAreaText:function(){return this.findAll('[data-acc-text]:not([data-acc-text=""]):not(.slide-object-button)').map((function(e){return e.getAttribute("data-acc-text")})).join(" ")},adjustForMobileLayout:function(){var e;a.deviceView.isClassicMobile&&(e=this.find(".message-window-heading"),s.union([e],e.querySelectorAll("*")).forEach((function(e){e.style.fontFamily=d()})),this.isResumeWin()?this.createResumeText():(document.body.classList.add("resume-shown"),this.htmlReady(function(){var e=this.getScrollAreaText();this.setState({mobileText:e})}.bind(this)),DS.pubSub.trigger(DS.events.messageWindow.SHOWN)))}})}.call(t,n,t,e))||(e.exports=i)},6523:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=n(4196),s=DS,a=s._,l=s.dom,c=s.playerGlobals,u=s.pubSub,d=s.events,h=s.detection,p=s.focusManager,f=s.mobileChromeKiller,g=s.vendorOverrides,m=s.constants.strings,v=null!=g.getAudioInitEvent?g.getAudioInitEvent:a.constant("touchend");return DS.flagManager.dropInBase&&(i=DS.DropIn),i.createClass({displayName:"MobileStartOverlay",mixins:[DS.flagManager.dropInBase?r.dropIn:r],stringTitles:{titleText:m.PROJECT_TITLE,resumeText:m.RESUME,restartText:m.RESTART},subscriptions:(t={},t[d.request.START]="onMobileStart",t[d.presentation.EXIT_FULLSCREEN]="onExitFullScreen",t[d.presentation.ENTER_FULLSCREEN]="onEnterFullScreen",t),componentDidMount:function(){var e=this,t=function(){var t=DS.views.model.frame.controlOptions.courseOptions;DS.flagManager.multiLangSupport?e.setState({fontScale:h.theme.isUnified?DS.frameModel.frame.fontscale/100:1,thumbnailEnabled:t&&t.thumbnailEnabled,thumbnailFillFrame:t&&t.thumbnailFillFrame,thumbnailUrl:t?t.thumbnailUrl:""}):e.setState({titleText:DS.stringTabler.getString(DS.constants.strings.PROJECT_TITLE),resumeText:DS.stringTabler.getString("resume"),restartText:DS.stringTabler.getString("restart"),fontScale:h.theme.isUnified?DS.frameModel.frame.fontscale/100:1,thumbnailEnabled:t&&t.thumbnailEnabled,thumbnailFillFrame:t&&t.thumbnailFillFrame,thumbnailUrl:t?t.thumbnailUrl:""})};null!=DS.frameModel?t():u.on(DS.events.frame.MODEL_READY,t),this.refs.playIcon.addEventListener(v(),this.onStart),this.htmlReady(function(){h.deviceView.isUnifiedMobile&&null!=this.refs.resume&&(this.refs.resume.addEventListener(v(),this.onStart),this.refs.restart.addEventListener(v(),this.onReset))}.bind(this))},getInitialState:function(){return{visible:!1}},onFocus:function(e){p.setFocusRectOn(this.refs[e])},onEnterFullScreen:function(){document.body.classList.add("is-fullscreen")},onExitFullScreen:function(){document.body.classList.remove("is-fullscreen"),h.env.is360&&h.deviceView.isPhone&&(u.trigger(d.mobile.ENTER_THUMB_VIEW),u.trigger(d.slide.PAUSE_TIMELINE),DS.renderEngine.showMobileStartOverlay(),this.setState({visible:!0}),this.restarted=!0)},onReset:function(){o.executeAction({kind:"resume_player",resume:!1},{context:c.presentation}),this.onStart()},onMobileStart:function(e){var t,n=this;this.rejectDeferred=e.rejectDeferred,l.addClass(document.body,"resume-shown"),t={visible:!0},e.mobileStartAsPrompt&&(t.isResumePrompt=!0),this.setState(t,(function(){var e=null!=n.refs.resume?n.refs.resume:n.refs.playIcon;h.env.is360||e.focus(),u.trigger(d.startOverlay.READY)}))},onStart:function(){h.env.isPhonePreview||(u.trigger(d.loader.UNMUTE),l.removeClass(document.body,"resume-shown"),this.restarted?u.trigger(d.mobile.EXIT_THUMB_VIEW):(this.rejectDeferred(),f.init()),this.setState({visible:!1}),h.env.is360&&h.deviceView.isPhone&&(u.trigger(d.presentation.ENTER_FULLSCREEN),u.trigger(d.slide.PLAY_TIMELINE)),DS.renderEngine.killMobileStartOverlay())}})}.call(t,n,t,e))||(e.exports=i)},4367:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return DS.flagManager.dropInVectors&&(t=DS.DropIn),t.createClass({mixins:[DS.flagManager.dropInVectors?i.dropIn:i],displayName:"ObjectSlideBackground",getX:function(){return-this.props.playerProps.RawXPos},getY:function(){return-this.props.playerProps.RawYPos},getXRot:function(){return this.props.playerProps.RawXPos+this.props.playerProps.rotateXPos},getYRot:function(){return this.props.playerProps.RawYPos+this.props.playerProps.rotateYPos},getRot:function(){return-this.props.playerProps.Rotation},getSlideHeight:function(){return this.props.model.getSlide().get("height")},getSlideWidth:function(){return this.props.model.getSlide().get("width")},getSlideId:function(){return this.props.model.getSlide().get("id")}})}.call(t,n,t,e))||(e.exports=i)},3263:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(2500);DS._;DS.flagManager.dropInMisc&&(i=DS.DropIn);var o=i.createClass({mixins:[DS.flagManager.dropInMisc?t.dropIn:t],displayName:"PlaceHolderSlideObject"});return DS.flagManager.dropInMisc&&!DS.flagManager.dropInCore?r(o):o}.call(t,n,t,e))||(e.exports=i)},1694:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=(n(882),n(8698));return DS.flagManager.dropInBase&&(t=DS.DropIn,DS.DropInDOM),t.createClass({displayName:"PresentationOverlay",mixins:[DS.flagManager.dropInBase?i.dropIn:i]})}.call(t,n,t,e))||(e.exports=i)},4286:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305),i=n(8698),o=n(4484),s=n(5734),a=n(7523).updateBlockRuns,l=DS._,c=DS.utils,u=DS.svgUtils,d={};DS.flagManager.dropInVectors&&(t=DS.DropIn);var h=t.createClass({displayName:"RichVariableText",dropInSettings:{forceRebuild:!0},mixins:[DS.flagManager.dropInVectors?i.dropIn:i],initialLinkColors:{},getInitialState:function(){return this.parseTemplate(),this.parseVars()},componentWillMount:function(){this.shadowFilterId=l.uniqueId("text-shadow-filter-"),this.totalBigArea=0,this.areaInfo=[],this.observeVarChanges(),this.ancestors=[],this.props.model.forEachAncestor(function(e,t){(e.isSlideObject||e.isSlideLayer)&&this.listenTo(e,{shown:l.partial(this.onAncestorShown,t),hidden:l.partial(this.onAncestorHidden,t)})}.bind(this))},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges()},onAncestorShown:function(e){this.ancestors[e]=!0},onAncestorHidden:function(e){this.ancestors[e]=!1},parseVars:function(){var e=this.props.model;return s.parseVectorText(e,this.updateVarText(e))},onMouseDown:function(e){this.isDown=!0;var t=this.getLinkId(e.target);null!=t&&this.setState({activeId:t})},onMouseUp:function(e){this.isDown&&(this.isDown=!1,this.el.onclick(e))},onClick:function(e){e.preventDefault();var t=this.getLinkId(e.target);null!=t&&(d[t]=!0,this.trigger("textHit",t))},onMouseOver:function(e){var t=this.getLinkId(e.target);null!=t&&(this.setState({cursor:"pointer",hoverId:t}),this.trigger("textOver",t))},onMouseOut:function(e){var t=null!=e.relatedTarget&&this.getLinkId(e.relatedTarget);this.setState({cursor:null==t?null:"pointer",hoverId:t,activeId:null});var n=this.getLinkId(e.target);null!=n&&this.trigger("textOut",n)},getLinkId:function(e){return e.getAttribute("data-linkid")},linkIsVisited:function(e){return null!=d[e]},observeVarChanges:function(){return this.stopListeningToVarChanges=this.listenToVarChanges(this.props.model,function(){this.setState(this.parseVars())}.bind(this)),this},getInnerProps:function(){return{transformOrigin:DS.flagManager.dropInVectors?null:[this.props.originX,this.props.originY].join(" "),transform:[u.transformTranslate(this.props.originX,this.props.originY),u.transformRotate(this.props.rotDeg),this.state.textMtx.toCssTransform(!0)].join(" "),cursor:this.state.cursor}},parseTemplate:function(){var e=arguments;this.origTemplate=this.props.model.vartext();var t=this.origTemplate.blocks.reduce((function(t,n){if(0===n.runs.length)return t;var i=0,s=[],u=n.spans.reduce((function(e,t){if(o.splitTemplateOnTokens(t.text).forEach((function(n){var r=o.parseTemplate(n),a=r.addListeners,c=r.updateString,u=r.hasVars;e.addListeners.push(a),e.updateString.push((function(){var e=c.apply(null,arguments);return u?o.splitFormatted(e,t.style):[l.extend({},t,{text:e})]})),u&&s.push({idx:i,len:n.length,updateString:c}),i+=n.length})),s.length>0&&!n.runsUpdated){for(var a=0,c=s[a],u=r(n.runs),d=0;d<u.length;d++){var h=u[d];if(h.idx<=c.idx&&h.idx+h.len>=c.idx+c.len){var p=[l.extend({},h,{idx:h.idx,len:c.idx-h.idx}),l.extend({},h,c),l.extend({},h,{idx:c.idx+c.len,len:h.len-(c.idx-h.idx+c.len)})],f=l.first(p).len>0;if(u.splice.apply(u,[d,1].concat(r(p.filter((function(e){return e.len>0}))))),d+=f?1:0,!(++a<s.length))break;c=s[a]}}n.runsUpdated=!0,n.runs=u}return e}),{addListeners:[],updateString:[]});return t.addListeners=t.addListeners.concat(u.addListeners),t.updateString.push((function(){return l.extend({},n,{spans:l.flatten(c.juxt(u.updateString).apply(null,e))},{runs:a(n.runs)})})),t}),{addListeners:[],updateString:[]});this.listenToVarChanges=function(){var e=c.juxt(t.addListeners).apply(null,arguments);return c.juxt(e)},this.updateVarText=function(){return l.extend({},this.origTemplate,{blocks:c.juxt(t.updateString).apply(null,arguments)})}},shouldShowLinkHighlight:function(e){return e===this.state.hoverId||e===this.state.activeId||this.linkIsVisited(e)},getLinkStateHighlightColor:function(e){var t=this.getLinkState(e);return null==t?"transparent":null!=t.highlightColor?c.hexify(t.highlightColor):"transparent"},getLinkStateTextColor:function(e,t){var n=this.getLinkState(e);return null==n?this.initialLinkColors[t]:c.hexify(n.textColor)},getLinkStateUnderlineColor:function(e,t,n){var i=this.getLinkState(e);return null==i?n?"transparent":this.initialLinkColors[t]:n&&"underline"!==i.decoration?"transparent":c.hexify(i.textColor)},getLinkState:function(e){var t=this.getLink(e);return null==t?null:t.get(this.getCurrentStateName(e))},getLink:function(e){return l.first(this.props.model.linkdata().filter((function(t){return t.get("id")===e})))},getCurrentStateName:function(e){return e===this.state.activeId?"activeState":e===this.state.hoverId?"hoverState":null!=d[e]?"visitedState":null},getTSpanStyle:function(e){if(null==e.linkId)return e.domStyle;var t=Object.assign({},e.domStyle);return t.fill=this.getLinkStateTextColor(e.linkId,e.linkRef),t},saveInitialLinkColors:function(e){null!=e.linkId&&null==this.initialLinkColors[e.linkRef]&&(this.initialLinkColors[e.linkRef]=e.domStyle.fill)}});return h}.call(t,n,t,e),void 0===i||(e.exports=i)},9110:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(8103),r=n(5193),o=n(3305),s=n(8907),a=DS.dom,l=DS.detection,c=DS.constants,u=DS.events;return DS.flagManager.dropInCore&&(o=DS.DropIn),o.createClass({displayName:"ScrollAreaSlideObject",dropInSettings:{useSpecificSetState:!0},mixins:[DS.flagManager.dropInCore?t.dropIn:t,i,r],getInitialState:function(){return{shouldNotScroll:!1,contentHeight:10}},componentWillMount:function(){this.listenTo(this.props.model,"updateScrollHeight",this.onUpdateHeight),this.listenTo(this.props.model,"updateScrollPos",this.onUpdatePos),this.listenTo(this.props.model,u.resume.RESET,this.onResetResume)},onResetResume:function(){this.onUpdatePos(0)},componentDidMount:function(){this.calcScrolling(),this.updateScrollBar()},componentDidUpdate:function(){l.browser.isIE&&(this.scrollingArea.scrollTop=Math.round(this.lastScrollTop*this.props.winScale))},onUpdateHeight:function(){this.setState({contentHeight:this.contentheight()}),this.calcScrolling(!0)},shouldUpdate:function(e,t){return t.isVisible!==this.state.isVisible||t.shouldNotScroll!==this.state.shouldNotScroll||t.contentHeight!==this.state.contentHeight||e.winScale!==this.props.winScale||e.tabIndexDisabled!==this.props.tabIndexDisabled},onUpdatePos:function(e){this.props.model.prop("Position",e),this.htmlReady(function(){this.scrollingArea.scrollTop=e,this.updateScrollBar(e),s.setMatrixDirty(this.props.parent)}.bind(this))},calcScrolling:function(e){var t=this.find(".scrollarea-area"),n=this.contentheight(),i=n<=this.height();this.setState({shouldNotScroll:i,contentHeight:n}),this.props.model.prop("Viewed",i),null==e&&this.setupScrollArea(t)},setupScrollArea:function(e){this.scrollingArea=e,this.scrollingArea.addEventListener("scroll",this.onScroll),this.props.model.prop("Position",0)},onScroll:function(){this.lastScrollTop=this.scrollingArea.scrollTop/this.props.winScale,this.props.model.prop("Position",this.lastScrollTop),this.scrollingArea.scrollHeight-this.scrollingArea.scrollTop<=this.scrollingArea.offsetHeight+5&&this.props.model.prop("Viewed",!0),this.scrollingArea.scrollLeft=0,this.updateScrollBar(this.lastScrollTop),s.setMatrixDirty(this.props.parent)},autoScroll:function(e){var t=e.getBoundingClientRect(),n=this.el.getBoundingClientRect(),i=this.props.winScale,r=0;t.top<n.top?r=-5:t.bottom>n.bottom&&(r=5),l.browser.isIE?this.scrollingArea.scrollTop+=r*i:null!=this.refs.scrollBar&&this.refs.scrollBar.scrollTop(this.refs.scrollBar.scrollTop()+r*i)},updateScrollBar:function(e){var t=this.refs.scrollBar;null==t||l.browser.isIE||(null!=e&&t.scrollTop(e),t.update())},scrollOnKey:function(e){if(!this.state.shouldNotScroll)switch(e.which){case c.keys.DOWN:this.scrollingArea.scrollTop+=10;break;case c.keys.UP:this.scrollingArea.scrollTop-=10;break;case c.keys.PAGE_DOWN:this.scrollingArea.scrollTop+=this.height();break;case c.keys.PAGE_UP:this.scrollingArea.scrollTop-=this.height();break;case c.keys.HOME:this.scrollingArea.scrollTop=0;break;case c.keys.END:this.scrollingArea.scrollTop=this.scrollingArea.scrollHeight}},scroll:function(e){if(!this.state.shouldNotScroll){var t=e?10:-10;this.scrollingArea.scrollTop+=t}},beforeChildScrollFocus:function(e){e&&(this.lastScrollTop=Math.round(this.scrollingArea.scrollTop/this.props.winScale))},childScrollFocus:function(e){var t=a.getScrollRecommendation(this.scrollingArea,e.el);-1!==t&&(this.scrollingArea.scrollTop=t),this.scrollingArea.scrollLeft=0,this.refs.contentArea.scrollTop=0,this.refs.contentArea.scrollLeft=0},isTabbable:function(){return!this.state.shouldNotScroll},contentheight:function(){return this.props.model.contentheight()},contentwidth:function(){return this.props.model.contentwidth()},height:function(){return this.props.playerProps.height},width:function(){return this.props.playerProps.width}})}.call(t,n,t,e))||(e.exports=i)},621:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=(n(4641),n(8907)),o=n(2500),s=DS._,a=DS.detection,l=DS.utils,c=(DS.windowManager,DS.dom),u=DS.globalEventHelper,d=u.addBodyListener,h=(u.removeBodyListener,a.device.isMobile?"touchmove":"mousemove"),p=a.device.isMobile?"touchend":"mouseup";DS.flagManager.dropInMisc&&(t=DS.DropIn);var f=t.createClass({displayName:"ScrollBar",mixins:[DS.flagManager.dropInMisc?i.dropIn:i],componentWillMount:function(){this.lastScrollTop=0},componentDidMount:function(){this.contentHeight=this.props.parent.contentheight(),this.yPos=this.props.offY,this.scrollingArea=this.props.parent.refs[this.props.refName||"scrollArea"],this.parentSlideObject=function(e){for(var t=e.props.parent;l.getPath(t,"props.isInnard",!1);)t=t.props.parent;return t}(this),this.el.addEventListener("touchmove",this.onTouchMove),this.scrollingArea.addEventListener("wheel",this.onWheel),a.deviceView.isClassicDesktop&&(this.scrollingArea.style.overflowY="hidden"),this.props.initSelf&&(this.update(),this.scrollingArea.addEventListener("scroll",this.storeAndUpdate))},componentWillUnmount:function(){this.el.removeEventListener("touchmove",this.onTouchMove),this.scrollingArea.removeEventListener("wheel",this.onWheel),this.scrollingArea.removeEventListener("scroll",this.storeAndUpdate)},componentDidUpdate:function(){this.update(),this.scrollTop(this.lastScrollTop)},onTouchMove:function(e){e.preventDefault()},scrollTop:function(e){if(null==e)return this.lastScrollTop;var t=this.props.winScale,n=this.getMaxScroll();e=l.clamp(0,n,e),this.lastScrollTop=e,this.scrollingArea.scrollTop=e*t},storeAndUpdate:function(){this.lastScrollTop=this.scrollingArea.scrollTop/this.props.winScale,this.update()},update:function(){if(!this.scrollByButton){var e=this.props.winScale,t=this.contentHeight,n=this.props.height,i=n/t*n,r=this.lastScrollTop/(t-n);r=l.clamp(0,1,r),r*=1-i/n,this.updateScrollBtn({height:l.pxify(i*e),top:l.decToPct(r,!0)})}},updateScrollBtn:function(e){var t=this;["scrollBtn","after"].forEach((function(n){var i=t.refs[n];s.forEach(e,(function(e,t){i.style[t]=e}))}))},onAutoScroll:function(e){c.hasClass(e.target,"scrollarea-btn")||(this.clickDeltaY=parseFloat(this.refs.scrollBtn.style.height)/this.props.winScale/2,this.onDragBtn(e),this.onScrollBtnDown(e))},getCursorPos:function(e){var t=1===l.getPath(e,"touches.length")?e.touches[0]:e;return r.globalPtToSlideObject(this.parentSlideObject,t.pageX,t.pageY)},onScrollBtnDown:function(e){this.removeMoveListener=d(h,this.onDragBtn),this.removeDragEndListener=d(p,this.onEndScrollDrag);var t=this.refs.scrollBtn,n=l.pctToDec(t.style.top)*this.props.height;this.clickDeltaY=this.getCursorPos(e).y-this.yPos-n,this.scrollByButton=!0,e.preventDefault()},onEndScrollDrag:function(){this.scrollByButton=!1,null!=this.removeMoveListener&&this.removeMoveListener(),null!=this.removeDragEndListener&&this.removeDragEndListener()},onDragBtn:function(e){var t=this.props.winScale,n=this.refs.scrollBtn,i=this.props.height,r=parseFloat(n.style.height)/t,o=i-r,s=this.getCursorPos(e).y-this.yPos-this.clickDeltaY,a=l.clamp(0,1,s/o);this.updateScrollBtn({top:l.decToPct(a*(1-r/i),!0)}),this.scrollTop(this.getMaxScroll()*a),e.preventDefault()},getMaxScroll:function(){return this.contentHeight-this.props.height},onWheel:function(e){var t=e.deltaY,n=DS.utils.getPath(this.props.parent,"getItemHeight",Math.abs(t));this.scrollTop(this.scrollTop()+n*(t>0?1:-1)),this.update()},dropInShouldWrapUpdate:function(){return!1}});return DS.flagManager.dropInMisc&&!DS.flagManager.dropInCore?o(f):f}.call(t,n,t,e))||(e.exports=i)},258:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(2540),r=n(3305);DS._;return DS.flagManager.dropInInteractions&&(r=DS.DropIn),r.createClass({mixins:[DS.flagManager.dropInInteractions?t.dropIn:t,i],displayName:"SequenceCtrlDragItem",dropInSettings:DS.flagManager.dropInCore?{forceRebuild:!0,useLegacySetState:!0,noRebuildForProps:{winScale:!0},noRebuildForState:{hovered:!0}}:null,getInitialState:function(){return this.originX=10,this.originY=3,this.createInitialState()},createInitialState:function(){return{backgroundVisible:!0,Rotation:0,ScaleX:100,ScaleY:100}},enabledHook:function(){return this.props.parent.getPlayerProp("Enabled")}})}.call(t,n,t,e))||(e.exports=i)},5886:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(5110).DroppableHelper;n(2500),DS._;return DS.flagManager.dropInInteractions&&(i=DS.DropIn),i.createClass({mixins:[DS.flagManager.dropInInteractions?t.dropIn:t],displayName:"SequenceCtrlDrop",getInitialState:function(){return{topBar:!1,bottomBar:!1,reviewColor:"black",reviewIdx:this.props.idx}},componentDidMount:function(){this.setupDragging()},componentWillReceiveProps:function(e){this.props.parent.isEnabled()&&this.setState({reviewIdx:e.idx})},componentWillUnmount:function(){this.droppableHelper.unregister()},setupDragging:function(){this.droppableHelper=new r(this.el,{data:this,slideOwner:this.props.slideOwner})},setDropChild:function(e){this.dropChild=e,e.drop=this},getDropChild:function(){return this.dropChild},showHideBar:function(e){if(e.el){var t=this.el.getBoundingClientRect();e.el.getBoundingClientRect().top>t.top+t.height/3?this.setState({topBar:!1,bottomBar:!0}):this.setState({topBar:!0,bottomBar:!1})}},hideBar:function(){this.setState({topBar:!1,bottomBar:!1})}})}.call(t,n,t,e))||(e.exports=i)},7810:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(1587),r=n(5110).DraggableHelper,o=n(3305),s=n(2500),a=DS._,l=DS.windowManager,c=DS.utils,u=DS.dom,d=DS.svgUtils;DS.flagManager.dropInInteractions&&(o=DS.DropIn);var h=o.createClass({mixins:[DS.flagManager.dropInInteractions?t.dropIn:t,i],displayName:"SequenceCtrlSlideObject",dropInSettings:{useLegacySetState:!0},shortEvents:{model:{setReview:"onSetReview"}},getInitialState:function(){return{itemslist:[]}},onSetReview:function(e){this.displayReview(e)},componentWillMount:function(){this.resetIndex(),this.getItemsList()},componentDidMount:function(){var e=this;DS.flagManager.dropInCore?this.onShown((function(){requestAnimationFrame(e.setupDragging)})):this.onShown(this.setupDragging)},componentDidUpdate:function(e,t){var n=this;(DS.flagManager.dropInInteractions?null!=t&&t.ItemOrder:t.ItemOrder)!==this.getPlayerProp("ItemOrder")&&this.getItemsList(),this.itemslist.forEach((function(e,t){var i=n.refs["sequenceItem"+t];null!=i&&null!=i.loc&&n.setItemPosition(i.parent,i.loc)}))},getItemsList:function(){var e,t,n,i=this.getPlayerProp("ItemOrder");i?(e=i.split(""),t=this.getPath("props.model.itemsListOrder"),this.itemslist=[],e.forEach(function(e){this.itemslist.push(t[e])}.bind(this))):this.itemslist=this.getPath("props.model.itemslist"),n=this.itemslist.length.toString(),this.numWidth=28+10*(n.length-1),this.setState({itemslist:this.itemslist})},setupDragging:function(){this.parentSlide=l.getCurrentWindow().getCurSlide(),this.container=this.parentSlide.el.querySelector(".slide-top-container"),this.scrollArea=this.find(".sequence-ctrl-scroll-area"),this.scrollArea.addEventListener("scroll",this.onScroll),this.checkIfViewed(),this.setupItems(),this.checkShouldDisable(),this.shouldShowScroll(),this.displayReview(this.reviewMode)},checkIfViewed:function(){this.scrollArea.scrollHeight-this.scrollArea.scrollTop<=this.scrollArea.offsetHeight+5&&this.props.model.prop("Viewed",!0)},onScroll:function(){this.checkIfViewed()},shouldShowScroll:function(){this.scrollArea.scrollHeight>this.scrollArea.offsetHeight&&(this.scrollArea.style.height=this.lastHeight,this.scrollArea.style.overflowY="scroll",this.setState({shouldScroll:!0}))},contentheight:function(){return this.lastHeight},getReviewElementSize:function(){var e=this,t=this.itemslist.reduce((function(t,n,i){return t+e.refs["sequenceItem"+i].props.model.height}),0)/this.itemslist.length;return Math.min(t,28)},setupItems:function(){var e=0;DS.flagManager.updatedThemeColorsEnabled&&(this.numWidth=this.getReviewElementSize(),e=3),this.items=[];var t=0,n=this.numWidth+e,i=11;this.itemslist.forEach(function(e,o){var s=this.refs["sequenceItem"+o],a=s.props.model.height;s.idx=o,s.itemdata=this.itemslist[o].itemdata,s.parent=s.el.parentNode,s.barInfo=null,s.didMouseOut(),this.items.push(s),this.setPlayerProp("_pos"+o,s.itemdata),i=(t=i)+a+16,s.loc={x:n,y:t},this.lastHeight=i,this.setItemPosition(s.parent,s.loc),s.draggableHelper&&s.draggableHelper.disable(),s.draggableHelper=new r(s,this.getDraggableConfig(s.parent),s.parent),s.onDragItemDown=function(){this.idx=s.idx}.bind(this),s.el.addEventListener("mousedown",s.onDragItemDown),s.draggableHelper.getDropTarget("drag").params.data.setDropChild(s)}.bind(this))},checkShouldDisable:function(){this.getPlayerProp("Enabled")||this.items.forEach((function(e){e.draggableHelper.disable()}))},displayReview:function(e){this.reviewMode=e,e&&null!=this.items&&this.items.forEach(function(e,t){var n=this.props.model.getIndexByData(e.itemdata),i=n===t?c.hexify(this.props.model.get("reviewCorrectColor")||"0x008000"):c.hexify(this.props.model.get("reviewIncorrectColor")||"0xFF0101");e.drop.setState({reviewColor:i,reviewIdx:n,reviewMode:!0})}.bind(this))},getDraggableConfig:function(e){return{containment:this.parentSlide.el,ondragstart:this.onDragStart,ondragend:this.onDragEnd,ondrop:this.onDrop,ondrag:this.onDrag,ondropleave:this.onDragOut,ondropdrag:this.onDraggingOver,getPosition:a.partial(this.getDragPosition,e)}},setItemPosition:function(e,t){var n=t.x,i=t.y,r=this.props.winScale;e.style[this.cssTransform]=d.transformTranslate(c.pxify(n*r),c.pxify(i*r))},resetPositionItem:function(e){this.scrollArea.appendChild(e.draggableHelper.el),this.setItemPosition(e.draggableHelper.el,e.loc)},onDrag:function(e){a.toArray(document.querySelectorAll(".sequence-ctrl-bar")).every((function(t,n){var i="block"===t.style.display;return i&&(e.view.currY=t.getBoundingClientRect().top),!i}))},resetIndex:function(){this.idx=-1},childScrollFocus:function(e){var t=this.scrollArea,n=u.getScrollRecommendation(t,e.el);-1!==n&&(t.scrollTop=n)},insertItem:function(e){var t;this.scrollArea.appendChild(e.draggableHelper.el),this.items=a.sortBy(this.items,(function(e){return e.currY})),t=this.items.reduce(function(e,t,n){return e+this.props.model.getIndexByData(t.itemdata)}.bind(this),""),this.setPlayerProp("ItemOrder",t)},checkForAutoScroll:function(){var e=this.currDraggable.getBoundingClientRect(),t=this.scrollArea.getBoundingClientRect(),n=this.props.winScale;e.top<t.top?(this.scrollArea.scrollTop-=5*n,this.updateItemYs()):e.bottom>t.bottom&&(this.scrollArea.scrollTop+=5*n,this.updateItemYs()),this.autoScrollId=window.requestAnimationFrame(this.checkForAutoScroll)},getDragPosition:function(e){var t=e.getBoundingClientRect(),n=this.parentSlide.el.getBoundingClientRect();return{x:t.left-n.left,y:t.top-n.top}},updateItemYs:function(){this.items.forEach((function(e){e.currY=e.parent.getBoundingClientRect().top}))},getTargetModeTextInfo:function(e,t){var n=this.items.find((function(n){var i=n.parent.getBoundingClientRect(),r=i.top,o=i.left,s=i.bottom,a=i.right;return e>=o&&e<=a&&t>=r&&t<=s})),i=c.getPath(n,"accTextModel.parent.lastRenderedTextId");if(null!=i)return{textId:i,targetEl:n.parent}},getTextItemEl:function(e){var t=this.items.find((function(t){return c.getPath(t,"accTextModel.parent.lastRenderedTextId")===e}));if(null!=t)return t.parent},onDragEnd:function(e,t){var n=e.view;e.el.style.opacity=1,this.resetPositionItem(n),this.autoScrollId&&(window.cancelAnimationFrame(this.autoScrollId),this.autoScrollId=null),null!=this.lastOver&&this.lastOver.hideBar()},onDragStart:function(e,t){e.el.style.opacity=.5,this.container.appendChild(e.el),this.currDraggable=e.el,this.autoScrollId||this.checkForAutoScroll(),this.updateItemYs()},onDrop:function(e,t){var n=e.view,i=t.params.data,r=i.getDropChild();this.insertItem(n),r&&(n.drop.setDropChild(r),i.setDropChild(n)),this.lastOver=null,i.hideBar(),DS.flagManager.dropInInteractions&&(this.getItemsList(),this.setupItems()),this.htmlReady(function(){this.getItemsList(),this.setupItems()}.bind(this))},onDragOut:function(e,t){this.lastOver=null,t.params.data.hideBar()},onDraggingOver:function(e,t){this.lastOver=t.params.data,this.lastOver.showHideBar(e)},componentWillUnmount:function(){this.itemslist.forEach(function(e,t){var n=this.refs["sequenceItem"+t];n.el.removeEventListener("mousedown",n.onDragItemDown)}.bind(this))}});return DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?s(h):h}.call(t,n,t,e))||(e.exports=i)},4641:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(1587),o=n(877),s=n(35),a=n(3765),l=n(9078),c=n(8698),u=n(8960),d=n(5193),h=n(8907),p=n(5749),f=n(2500),g=DS.globalEventHelper,m=g.addDocumentListener,v=g.addWindowListener,S=DS._,y=DS.windowManager,b=DS.vow,w=DS.pubSub,C=DS.keyManager,x=DS.resolver,D=DS.utils,E=DS.events,T=DS.detection,P=DS.dom,I=function(e,t,n){n.executeFilteredPlayerEvent((function(e){return S(e.objects).map("value").map(x.splitPath).map(S.last).intersection(t).isEmpty()}),e)};DS.flagManager.dropInCore&&(t=DS.DropIn);var A=t.createClass({displayName:"Slide",mixins:[DS.flagManager.dropInCore?c.dropIn:c,i,o,u,s,a,l,d],getDefaultProps:function(){return{onSlideStarted:S.noop}},componentWillMount:function(){var e=this.props.model;this.props.model.buildFlatDepths(),this.removeKeyListener=m("keydown",this.onKeyDown),e.slideReady=!1,e.destroyed=!1,e.getVariableChangeSubscriptions();var t=e.getSlideDraw();y.getCurrentWindow();null!=t&&this.listenTo(t,E.draw.EXIT,this.onSlideDrawExit),this.mouseX=0,this.mouseY=0,e.executePlayerEvent("onbeforeslidein"),this.getSlideObjectViews=S.memoize(this.getSlideObjectViews),this.loadDfd=this.props.model.loadSlideAssets()},componentDidMount:function(){var e=this,t=this.props.model;t.applyResumeData(),this.registerEvent("clickoutsideobjects",(function(t){t.startingSlideId===e.props.model.id&&e.triggerClickOutside("on"+t.type,t.data)})),this.resetQuestionCorrectVariable(),t.interactions().invoke("updateInitialAttemptCount"),t.interactions().invoke("updateQuestionCorrectVariable"),t.setAsViewed(),b.isPending(this.loadDfd)?this.loadDfd.always(this.whenHtmlReady):this.htmlReady(this.whenHtmlReady),this.updateWindowId(),w.trigger(E.slide.HAS_MOUNTED,this)},shouldUpdate:function(e,t){return t.isVisible!==this.state.isVisible||t.transitionDepth!==this.state.transitionDepth||e.winScale!==this.props.winScale||t.trulyVisible!==this.state.trulyVisible},componentWillUpdate:function(e,t){t.isVisible&&!this.state.isVisible&&this.props.model.executePlayerEvent("onbeforeslidein")},componentDidUpdate:function(e,t){var n=this;e.winScale!==this.props.winScale&&(cancelAnimationFrame(this.scaleRequest),this.scaleRequest=requestAnimationFrame((function(){DS.flagManager.dropInCore?requestAnimationFrame((function(){w.trigger(E.slide.SCALE_COMPLETE,n.props.winScale),DS.focusManager.updateFocusBox()})):(w.trigger(E.slide.SCALE_COMPLETE,n.props.winScale),DS.focusManager.updateFocusBox())})))},whenHtmlReady:function(){var e=this,t=this.props.model,n=t.getBaseLayer(),i=this.swipe.wasSwiped();null!=this.prevSlide&&(this.prevSlide.trulyVisible=!1,this.prevSlide.props.model.executePlayerEvent("ontransitionout")),this.timelineReady=!0,n.timeline().pause(),t.executePlayerEvent("ontransitionin"),w.trigger(E.slide.ON_TRANSITION_IN,this.props.model),this.setState({trulyVisible:!0}),this.trulyVisible=!0,this.props.model.windowId!==y.PRINT_WINDOW?(this.transitionIn(function(){t.executePlayerEvent("ontransitionincomplete"),null==this.props.slideFrame&&n.isTimelineLayerPlayable()&&!t.pauseForResume&&n.resumeTimeline(),t.pauseForResume=!1,w.trigger(E.preview.NOTIFY,"PREVIEW_SLIDE_IN_COMPLETE",t.absoluteId),t.executePlayerEvent("onslidestart"),this.initPinchZoom(),this.publishSlideStarted()}.bind(this),i),t.slideReady=!0,w.trigger(E.slide.READY),T.device.isMobile?setTimeout((function(){window.requestAnimationFrame((function(){w.trigger(E.loader.HIDE)}))}),60):w.trigger(E.loader.HIDE)):this.transitionIn((function(){var t=function(){requestAnimationFrame((function(){var t=y.findWindowById(y.PRINT_WINDOW);if(t){var n=e.props.model;t.close(),n.windowId=null}}))},n=m("pointerdown",(function(){n(),t()}));if(!T.device.isMobile)var i=v("afterprint",(function(){i(),n(),t()}));requestAnimationFrame((function(){w.trigger(E.loader.HIDE),p.printSlide(e.props.model)}))}),!0)},componentWillUnmount:function(){this.removeKeyListener(),this.props.model.prepareResumeData(),y.isMultiWindowSlide(this.props.model)||this.props.model.resetModel()},addAccEl:function(e,t){if(T.deviceView.isClassicMobile&&-1!=this.props.model.absoluteId.indexOf("ResumePromptSlide")){var n=e.currView;P.setAttributes(n.el,{tabindex:n.getTabIndex(),"aria-label":n.getAccessibleText(),"aria-hidden":!1})}else if(!1!==e.get("tabEnabled")||"textinput"===e.kind()||"table"===e.kind()){if("table"===D.getPath(e,"parent.kind"))return;DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc?(this.refs.accShadowDom.reactView||this.refs.accShadowDom.forceReactRender(),this.refs.accShadowDom.reactView.addAccEl(e,t)):this.refs.accShadowDom.addAccEl(e,t)}},retainShadowFocus:function(e,t){DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc?this.refs.accShadowDom.reactView.retainShadowFocus(e,t):this.refs.accShadowDom.retainShadowFocus(e,t)},getCurrentShadowFocus:function(){return DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc?this.refs.accShadowDom.reactView.getCurrentShadowFocus():this.refs.accShadowDom.getCurrentShadowFocus()},updateWindowId:function(e){this.props.model.windowId=e||this.props.slideContainer&&this.props.slideContainer.props.windowId},triggerClickOutside:function(e,t){var n,i=this.props.model,r=i.slideLayers(),o=S.partial(I,e,t),s=r.activeLayers.slice(),a=r.prevLayers,l=!1;(null==a||S.isEqual(s,a))&&(n=s.reverse().reduce((function(e,t){return l||(l=!!t.modal(),e.push(t)),e}),[]),l||o(i),n.forEach(o)),r.prevLayers=void 0},onStoreMouseLoc:function(e){var t=h.globalPtToLocal(this,e.clientX,e.clientY);this.mouseX=t.x,this.mouseY=t.y},calcMouseLoc:function(e,t){var n=this.el.getBoundingClientRect(),i=e-n.left,r=t-n.top,o=this.props.model.calculateTotalScale();return{x:i*o,y:r*o,slideRect:n,scale:o}},onStoreTouchLoc:function(e){1===e.touches.length&&this.onStoreMouseLoc(e.touches[0])},getObjectUnderPoint:function(e,t){var n,i,o=this.props.model.slideLayers(),s=[].concat(r(o.activeLayers.reverse()),[o.getBaseLayer()]),a=function r(o){var s=i+o.layerDepth;if(null==n||n.depth<s){var a=o.currView;if(null!=a){var l=a.el.getBoundingClientRect(),c=l.top,u=l.left,d=l.bottom,h=l.right;e>=u&&e<=h&&t>=c&&t<=d&&(n={view:a,depth:s})}}null!=o.objects&&o.objects().forEach((function(e){r(e)}))};return s.forEach((function(e){i=e.startDepth,r(e.objects()).reverse().forEach(a)})),null!=n?n.view:null},resetQuestionCorrectVariable:function(){var e=DS.playerGlobals.presentation.playerVars&&DS.playerGlobals.presentation.playerVars()?DS.playerGlobals.presentation.playerVars().variables().get("questionCorrect"):null;null!=e&&e.value(!1)},publishSlideStarted:function(){this.props.model.trigger("started"),w.trigger(E.slide.STARTED,D.stripPlayer(this.props.model.absoluteId),this.props.model,this.props.windowId),this.props.onSlideStarted()},onCtxMenu:function(e){e.preventDefault()},getSlideObjectViews:function(e,t){var n;return e=e||"",t=t||0,n=this.refs["layer"+t].findAllComponents("SlideObject"),""!==e?n.filter((function(t){return t.props.model.kind()===e})):n},onSlideDrawExit:function(){this.props.model.storeInteractionResults()},killSlide:function(){null!=this.props.killSlide&&this.props.killSlide()},onKeyDown:function(e){var t=this.props.model,n=t.slideLayers().getTopMostLayer()||t.getBaseLayer(),i=t.slideLayers().activeLayers.slice(0);window.requestAnimationFrame((function(){C.executeKeypressEvent(n,e,i)}))}});return DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc?f(A):A}.call(t,n,t,e))||(e.exports=i)},3805:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=(n(2977),n(2500));DS.flagManager.dropInBase&&(t=DS.DropIn);var o=t.createClass({displayName:"SlideBackground",mixins:[DS.flagManager.dropInBase?i.dropIn:i],patternFillId:function(){return"pattern-fill-"+this.props.layerModel.id}});return DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?r(o):o}.call(t,n,t,e))||(e.exports=i)},4116:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=DS,s=o._,a=o.vow,l=o.detection,c=o.events,u=(o.utils,o.pubSub),d=o.slideObjectUtils,h=o.scaler,p=function(e){e.target.scrollTop=0,e.target.scrollLeft=0};return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"SlideContainer",dropInSettings:{useSpecificSetState:!0},mixins:[DS.flagManager.dropInAcc?r.dropIn:r],subscriptions:(t={},t[c.mobile.ENTER_THUMB_VIEW]="onEnterThumbView",t[c.mobile.EXIT_THUMB_VIEW]="onExitThumbView",t[c.sidebar.RESIZING]="onResize",l.deviceView.isClassicDesktop||!window.globals.HAS_FRAME?t[c.window.SCALE]="onWindowScale":t[c.frame.SCALE]="onWindowScale",t[c.frame.RESIZE]="onWindowScale",t[c.window.AFTER_SCALE]="onResize",t),getInitialState:function(){return{slides:[],loadContainerStyleAttr:{},scale:this.props.getWinScale()}},componentWillMount:function(){this.firstLoad=!0},componentDidMount:function(){this.thumbView=!1},componentWillUnmount:function(){this.findAll(".slide-transition-container").forEach((function(e){e.removeEventListener("scroll",p)}))},resize:function(){null!=this.curSlide&&this.positionSlide(this.curSlide)},onResize:function(){this.resize(),l.env.isMobilePreview&&(clearInterval(this.previewTimeout),this.previewTimeout=setTimeout(this.resize,500))},onEnterThumbView:function(){this.thumbView=!0,this.positionSlide(this.curSlide)},onExitThumbView:function(){this.thumbView=!1,this.positionSlide(this.curSlide)},addSlideEvents:function(e){return e.on("pinchzoom",this.onPinchZoom),this},removeSlideEvents:function(e){return this.prevSlide.killPinchZoom(),e.off("pinchzoom",this.onPinchZoom),this},componentWillUpdate:function(e){e.currentSlide===this.props.currentSlide||this.isShowingMovedSlide||(this.el.contains(document.activeElement)&&(document.activeElement.focus=s.noop),this.slideScale=e.scale,this.updateInnerSlides(e.currentSlide)),(l.device.isMobile||l.theme.isUnified)&&h.setWindowScale(this.state.scale)},componentDidUpdate:function(e,t){var n,i=["xOff","yOff","scale"];if(s.isEqual(s.pick(t,i),s.pick(this.state,i))||u.trigger(c.slideContainer.POSITIONED),!s.isEqual(t.slides,this.state.slides)){if(s.intersection(Object.keys(this.refs),s.map(this.state.slides,"absoluteId")).length!==this.state.slides.length)return;(n=0===this.state.slides.length?null:this.refs[s.last(this.state.slides).absoluteId])!==this.curSlide&&(this.prevSlide=this.curSlide,this.curSlide=n,null!=this.curSlide&&(this.curSlide.el.parentNode.addEventListener("scroll",p),this.curSlide.slideScale=this.slideScale,this.addSlideEvents(this.curSlide),this.positionSlide(this.curSlide),null!=this.prevSlide&&(this.prevSlide.el.parentNode.removeEventListener("scroll",p),this.removeSlideEvents(this.prevSlide),this.curSlide.setPrevSlide(this.prevSlide)),this.curSlideDfd.resolve(this.curSlide)))}},stateableValuesUpdated:function(){this.htmlReady(this.onResize)},updateInnerSlides:function(e){return this.curSlideDfd=a.Deferred(),this.setState((function(t){return{slides:s(t.slides).without(e).push(e).value(),overflowHide:l.deviceView.isMobile}})),this},getCurSlidePromise:function(){return this.curSlideDfd=this.curSlideDfd||a.Deferred(),this.curSlideDfd.promise()},rebuildCurSlide:function(){return this.updateInnerSlides(this.props.currentSlide),this},transitionComplete:function(){this.setState({overflowHide:!1}),this.firstLoad&&(d.removeEngageBorder(),this.setLoaderStyle()),this.firstLoad=!1},killSlide:function(e){this.setState((function(t){return{slides:s.without(t.slides,e)}}))},positionSlide:function(e){if(!this.props.shouldScale||this.props.shouldScale()){var t=e.props.model,n={xOff:0,yOff:0,scale:this.state.scale};t.parentTransform=n}},onPinchZoom:function(e){this.props.onPinchZoom(e)},getWrapperDimensions:function(){return null!=this.props.getWrapperDimensions?this.props.getWrapperDimensions():{width:document.body.clientWidth,height:document.body.clientHeight}},prepareToUpdateSlide:function(e){return this.isShowingMovedSlide=e,this},replaceSlideWith:function(e){return l.deviceView.isMobile&&(e.killPinchZoom(),e.initPinchZoom(this.props.lightboxed?this:null)),e.props.slideContainer.killSlide(e.props.model),this.updateInnerSlides(e.props.model),this.props.lightboxed&&this.props.lightbox.updateSizeCalculations(e.props.model),this},setLoaderStyle:function(e){e=e||{},this.setState({loadContainerStyleAttr:e})},onWindowScale:function(){this.setState({scale:this.props.getWinScale()}),this.forceUpdate(),u.trigger(DS.events.loader.HIDE)}})}.call(t,n,t,e))||(e.exports=i)},6468:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(8103),o=DS.windowManager,s=DS.animationClock,a=DS.detection,l=DS.resolver,c=DS.pubSub,u=DS.utils,d=DS.events,h=DS.vow,p=a.deviceView.isMobile?500:0;return t.createClass({displayName:"SlideFrameSlideObject",mixins:[i,r],shortEvents:{model:{"show showcustom":"onShow","hide hidecustom":"onHide"}},getInitialState:function(){return{slideModel:null}},componentWillMount:function(){!1===this.props.model.get("scalecontents")&&(this.props.parent.animationOverride={scale:this.applyScale,adjustProps:this.adjustProps,update:this.animationUpdate})},animationUpdate:function(e){this.applyScale(e)},adjustProps:function(e){return e.ScaleX=100,e.ScaleY=100,e},applyScale:function(e){this.el.style.width=u.pxify(this.props.playerProps.width*u.pctToDec(e.ScaleX)),this.el.style.height=u.pxify(this.props.playerProps.height*u.pctToDec(e.ScaleY))},onShow:function(){var e,t,n;null==this.readyPromise&&(e=this.props.model.get("startingslide"),t=l.resolvePath(e),n=h.Deferred(),this.startedDfd=h.Deferred(),this.readyPromise=h.when(this.startedDfd,n),t.on(d.slide.CURRENT_TIMELINE,n.resolve),null==this.lockId&&(this.lockId=s.lock()),c.trigger(d.loader.SILENCE),this.loadChildSlide(),c.trigger(d.loader.SHOW,p)),this.readyPromise.then(function(){var e=this.state.slideModel;e.resetBeforeView().restart().setAsViewed(),c.trigger(d.timeline.CURRENT_TIMELINE,e.currentTimeline())}.bind(this))},onHide:function(){null!=this.readyPromise&&this.readyPromise.then(function(){var e=this.state.slideModel.currentTimeline();null!=e&&e.pause()}.bind(this))},loadChildSlide:function(){var e=this.props.model.get("startingslide");o.loadSlide(e,function(e){this.setState({slideModel:e})}.bind(this),!0)},onSlideStarted:function(){var e=this.lockId;this.lockId=null,s.unlock(e),this.startedDfd.resolve()}})}.call(t,n,t,e))||(e.exports=i)},4771:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=n(1504),s=n(5193),a=n(2912),l=(n(2500),DS._),c=DS.utils,u=DS.pubSub,d=DS.events,h=DS.windowManager,p=function(e){e.target.scrollTop=0,e.target.scrollLeft=0},f=!window.globals.HAS_FRAME;return DS.flagManager.dropInCore&&(i=DS.DropIn),i.createClass({displayName:"SlideLayer",initialVisibility:!1,mixins:[DS.flagManager.dropInCore?r.dropIn:r,a,o,s],dropInSettings:{useSpecificSetState:!0},subscriptions:(t={},t[d.slide.WILL_CHANGE]="onSlideWillChange",t),shortEvents:{model:{shown:"onShow",hidden:"onHide",showcustom:"onShowCustom",cancelTransition:"onCancelTransition",adjustTabIndexForModal:"onAdjustTabIndexForModal"}},componentDidMount:function(){var e=this;this.toggleVisibility(!!this.isBaseLayer()),this.listenToDepth().setInitModelProps(),this.el.addEventListener("scroll",p),window.requestAnimationFrame((function(){"dialog"===e.props.model.get("presentAs")&&null!=e.addAccEl&&e.addAccEl()}))},componentWillUnmount:function(){this.props.model.isShowable=!1,this.props.model.shownInCurrentView=!1,this.props.model.isOpen=!1,this.el.removeEventListener("scroll",p)},shouldUpdate:function(e,t){return t.isVisible!==this.state.isVisible||t.audio!==this.state.audio||t.depth!==this.state.depth||t.tabIndexDisabled!==this.state.tabIndexDisabled||e.winScale!==this.props.winScale},getInitialState:function(){return{depth:0,audio:!0,renderChildren:this.isBaseLayer()}},onSlideWillChange:function(e,t,n){var i=c.stripPlayer(this.props.model.getClosestAncestorByKind("slide").absoluteId),r=c.stripPlayer(e.absoluteId),o=c.stripPlayer(t.absoluteId);n?l(this.refs).filter((function(e,t){return l.startsWith(t,"audio")})).invokeMap("pause").commit():i===r&&i!==o&&this.setState({audio:!1})},isBaseLayer:function(){return this.props.model.isBaseLayer()},updateSlideResume:function(){f||h.getCurrentWindowSlide().prepareResumeData({retainState:!0})},onShow:function(){this.setState({isVisible:!0,renderChildren:!0},function(){this.props.model.get("timeline").play(),u.trigger(d.layer.PLAYING),this.updateTrueVisibility(!0),this.props.model.executePlayerEvent("ontransitionin"),this.adjustTabbables(!0).execSlideStart(),u.trigger(d.layer.HIDE_OR_SHOW),this.updateSlideResume()}.bind(this))},onShowCustom:function(e,t,n,i){this.props.model;var r=function(e){i(),this.props.model.get("timeline").play(),u.trigger(d.layer.PLAYING),this.adjustTabbables(!0),u.trigger(d.layer.HIDE_OR_SHOW),e||this.execSlideStart()}.bind(this);this.setState({isVisible:!0,renderChildren:!0},function(){this.transitionIn(n,r),this.updateTrueVisibility(!0),this.props.model.executePlayerEvent("ontransitionin"),this.updateSlideResume()}.bind(this))},onCancelTransition:function(){this.cancelTransition()},onHide:function(){this.props.model.get("timeline").pause(!0),this.hide(),this.updateTrueVisibility(!1),this.adjustTabbables(),u.trigger(d.layer.HIDE_OR_SHOW),this.props.model.executePlayerEvent("ontransitionout")},onAdjustTabIndexForModal:function(e){this.setState({tabIndexDisabled:e.disable})},adjustTabbables:function(e){this.props.model;return this},execSlideStart:function(){var e=this;this.props.model.executePlayerEvent("onslidestart"),window.requestAnimationFrame((function(){e.props.retainShadowFocus(e.props.model.modal()||e.props.model.hideAllObjectsOnDisplay(),!0)}))},listenToDepth:function(){return this.setState({depth:this.props.model.depth()}),this.listenTo(this.props.model,"change:depth",function(e,t){this.setState({depth:t})}.bind(this)),this},setInitModelProps:function(){return this.props.model.createObjectIndex(),this},addAccEl:function(){this.props.addAccEl&&"dialog"===this.props.model.get("presentAs")&&this.props.addAccEl(this.props.model)}})}.call(t,n,t,e))||(e.exports=i)},5648:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(1587),i=n(3752),o=n(5928),s=n(877),a=n(8698),l=n(1504),c=n(3305),u=n(1689),d=n(1039),h=n(4484),p=n(5238),f=n(8907),g=DS,m=g._,v=g.windowManager,S=g.detection,y=g.dom,b=g.pubSub,w=g.events,C=g.utils,x=g.svgUtils,D=g.TransMatrix,E=g.vendorOverrides,T=g.focusManager,P=g.TweenLite,I=g.localizationManager,A={VectorSlideObject:n(4148),ButtonSlideObject:n(9746),PlaceHolderSlideObject:n(3263),GroupingSlideObject:n(6472),StateGroupSlideObject:n(2321),ImageSlideObject:n(4820),WebObjectSlideObject:n(4638),ScrollAreaSlideObject:n(9110),ExpandingLabelSlideObject:n(4478),DropareaSlideObject:n(5491),DragitemSlideObject:n(4821),TextInputSlideObject:n(7070),VideoSlideObject:n(6044),DropListSlideObject:n(4600),SequenceCtrlSlideObject:n(7810),SlideFrameSlideObject:n(6468),ThreeSixtyImageSlideObject:n(3118),SvgImageSlideObject:n(3331)},M=/\n/g,k={vectorshape:"Vector",button:"Button",objgroup:"Grouping",table:"Grouping",shufflegroup:"Grouping",image:"Image",webobject:"WebObject",stategroup:"StateGroup",scrollarea:"ScrollArea",expandinglabel:"ExpandingLabel",textinput:"TextInput",droparea:"Droparea",dragitem:"Dragitem",video:"Video",droplist:"DropList",sequencectrl:"SequenceCtrl",slideframe:"SlideFrame",threesixtyimage:"ThreeSixtyImage",svgimage:"SvgImage"},L={vectorshape:"vectorData.altText",scrollarea:"vectorData.altText",video:"videodata.altText",droplist:"textdata.altText",button:"textdata.altText",expandinglabel:"vectorData.altText",image:"imagedata.altText",svgimage:"imagedata.altText",threesixtyimage:"imagedata.altText"},R=["release","press","doubleclick","rightrelease","rightpress"],_=["releaseoutside","rollover","rollout"],O=E.handleWillChange||m.noop,V={image:"img",radio:"radio",checkbox:"checkbox",button:"button",slider:"slider",dial:"slider"},N={button:"button"},j=function(e){return m.map(e.events(),"kind").map(B)},B=function(e){return e.replace(/^on/,"")},F=function(e,t){var n=e.currView,i=null==n||null==n.tweenedConfig?function(e){var t=e.getPlayerPropsRaw();return t.ScaleX/=100,t.ScaleY/=100,(new D).adjustByViewProps(t)}(e):t?n.tweenedConfig.matrix.copy():n.tweenedConfig.matrix;return i};DS.flagManager.dropInCore&&(c=DS.DropIn);var U=c.createClass({displayName:"SlideObject",initialVisibility:!1,mixins:[DS.flagManager.dropInCore?a.dropIn:a,t,i,s,l],shortEvents:{model:{show:"showObject",hidden:"hideObject",getMousePosition:"updateMousePosition",moveTo:"moveTo",shown:"updateDecorators"}},getInitialState:function(){return DS.flagManager.multiLangSupport?{currLangCode:I.getCurrentLangCode()}:{}},componentWillMount:function(){var e,t,n,i,r,o=this;this.key=m.uniqueId("slideobject"),this.isObscurable=this.props.model.isObscurableBySelf(),this.latestEvent=null,this.innardConfigs={vectorshape:{textHit:m.partial(this.textEvent,"onlinkrelease"),textOver:m.partial(this.textEvent,"onlinkrollover"),textOut:m.partial(this.textEvent,"onlinkrollout")}},this.innardConfigs.expandinglabel=this.innardConfigs.vectorshape,this.parentSlideId=null===(e=this.props)||void 0===e||null===(t=e.model)||void 0===t||null===(n=t.parent)||void 0===n?void 0:n.parent,i=A[(r=this.props.model,(k[r.kind()]||"PlaceHolder")+"SlideObject")],this.slideObjectInnard=i,this.setupVariableRefs(),this.setupShapeMask(),DS.flagManager.multiLangSupport&&this.props.model.hasLocalizedText()&&(this.removeLocalizationListener=b.addListener(w.localization.LANGUAGE_UPDATED,(function(e){o.setState({currLangCode:e})}))),DS.flagManager.aiCourseTranslation&&(this.removeReviewListener=b.addListener(w.localization.REVIEW_STRING_UPDATED,(function(e){o.setState({stringRev:e})}))),DS.flagManager.dropInAcc&&"video"===this.props.model.kind()&&(this.dropInSkipBatching=function(e){return null!=e.OnStage}),S.theme.isClassic||S.env.isPerpetual||"video"!==this.props.model.kind()||!C.fullScreen.isSupported()||(this.removeFullScreenListener=C.fullScreen.addChangeListener(this.handleFullScreenChange))},storeObjectByName:function(){var e=this.props.model.get("referenceName");if(null!=e){var t=C.getPath(this,"props.parent.props.model"),n=null!=t&&"stategroup"===t.kind();U.objectsByName[e]=n?this.props.parent:this,U.objectsByName["layer".concat(this.props.layerIdx,"/").concat(e)]=n?this.props.parent:this;this.props.model.parent.parent;null==U.objectsByName[this.parentSlideId]&&(U.objectsByName[this.parentSlideId]={}),U.objectsByName[this.parentSlideId][e]=!0}},clearObjectByName:function(){var e,t,n=this.props.model.get("referenceName");null!=n&&(null!=U&&null!==(e=U.objectsByName)&&void 0!==e&&null!==(t=e[this.parentSlideId])&&void 0!==t&&t[n]||(delete U.objectsByName[n],delete U.objectsByName["layer".concat(this.props.layerIdx,"/").concat(n)]))},componentDidMount:function(){this.getAllRefs().registerEvents(),this.storeObjectByName(),this.getPlayerProp("MouseOver")&&!this.isMousedOver()&&(this.triggerEvent({type:"rollout"}),this.setPlayerProp("MouseOver",!1)),this.renderShapeMask(),null!=this.addAccEl&&this.addAccEl(),"swirl"===this.props.model.get("markerType")&&(this.markerAnimationTween=P.to(this.refs.markerAnimation,.6,{rotation:360,ease:"none",onComplete:function(){this.markerAnimationTween.restart()}.bind(this)})),this.clearShowFns(),this.htmlReady(this.whenHtmlReady)},whenHtmlReady:function(){this.trulyVisible!==this.getPlayerProp("OnStage")&&this.updateTrueVisibility()},componentWillUpdate:function(e,t){this.state.ObjectState!==t.ObjectState&&this.compareStateAspects(t)&&(this.key=m.uniqueId("slideobject")),(this.state.ObjectState!==t.ObjectState||this.state.currLangCode!==t.currLangCode&&this.localizedAltText)&&(DS.flagManager.dropInCore?this.htmlReady(this.setupVariableRefs):this.setupVariableRefs())},componentDidUpdate:function(e,t){var n=this;this.renderShapeMask(),t.RawXPos===this.state.RawXPos&&t.RawYPos===this.state.RawYPos||f.setMatrixDirty(this),null!=this.accShadowView&&(DS.flagManager.dropInVectors&&!DS.flagManager.dropInCore?requestAnimationFrame((function(){n.accShadowView.onStateChanged(t,n.state)})):this.accShadowView.onStateChanged(t,this.state))},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges(),this.clearObjectByName(),this.allRefs=null,null!=this.shapeMask&&(this.shapeMask.off(w.tween.UPDATE,this.renderShapeMask),this.props.model.off(w.tween.UPDATE,this.renderShapeMask)),null!=this.markerAnimationTween&&this.markerAnimationTween.kill(),null!=this.removeFullScreenListener&&this.removeFullScreenListener(),null!=this.removeReviewListener&&this.removeReviewListener(),null!=this.removeLocalizationListener&&this.removeLocalizationListener()},handleFullScreenChange:function(){this.setState({fullScreen:this.el.contains(C.fullScreen.getEl())})},compareStateAspects:function(e){var t,n,i=!1;return(this.props.model.imagelib()||[]).length>0&&(t=(this.props.model.getCurrentStateData()||{}).html5data||{},null!=(n=(this.props.model.getStateFromName(e.ObjectState)||{}).html5data||{}).height&&null!=n.width&&null!=t.height&&null!=t.width&&(i=n.height/n.width!=t.height/t.width)),i},getInnardConfigs:function(){return m.extend({ref:"innard",key:this.key,model:this.props.model,parent:this,playerProps:this.state,setPlayerProp:this.setPlayerProp,onScrollFocus:this.props.onScrollFocus,onBeforeScrollFocus:this.props.onBeforeScrollFocus,isInnard:!0,tabIndexDisabled:this.props.tabIndexDisabled,winScale:this.props.winScale,slideFrame:this.props.slideFrame,checkElso:this.props.checkElso,slideVisible:!!this.props.slideVisible,onElsoAction:this.props.onElsoAction,addAccEl:this.props.addAccEl},this.innardConfigs[this.props.model.kind()]||{},this.props.topOffset?{topOffset:this.props.topOffset}:{})},getAllRefs:function(){var e=this.findAllComponents("SlideObject");return this.allRefs=m.reject(e,(function(e){return e.props.model.isGroupingSlideObject})).map((function(e){return e.props.model})),this},registerEvents:function(){var e=this.getRegisterableEvents();return m.forEach(e,function(e){this.registerEvent(e,this.triggerEvent)}.bind(this)),d.registerCollisions(this.props.model),this},setupVariableRefs:function(){var e,t,n=this.props.model.kind(),i=L[n],r="".concat(i,"OverridesText");if(null!=i){var o=this.props.model.getCurrentStateData(),s=C.getPath(o,i);if(DS.flagManager.multiLangSupport){var a="".concat(i,"L10nRef"),l=C.getPath(o,a);this.localizedAltText=null!=s,s=I.getStringFromRef(l)||s}this.accessibleTextTemplate=s,t=C.getPath(o,r)}else if("textinput"===n){var c=C.getPath(this,"props.model.background");if(null!=c){var u=C.getPath(c,"vectorData.altText");if(DS.flagManager.multiLangSupport){var d=C.getPath(c,"vectorData.altTextL10nRef");this.localizedAltText=null!=u,u=I.getStringFromRef(d)||u}this.accessibleTextTemplate=u,t=C.getPath(c,"vectorData.altTextOverridesText")}}else{var p=this.props.model.get("altText");if(DS.flagManager.multiLangSupport){var f=this.props.model.get("altTextL10nRef");this.localizedAltText=null!=p,p=I.getStringFromRef(f)||p}this.accessibleTextTemplate=p,t=this.props.model.get("altTextOverridesText")}this.setState({altTextOverridesText:t}),e=h.parseTemplate(this.accessibleTextTemplate),this.updateVarText=e.updateString,this.updateAccessibleText(),this.stopListeningToVarChanges=e.addListeners(this.props.model,this.updateAccessibleText)},setupShapeMask:function(){var e=this.shapeMask=this.props.model.getShapeMask();return null!=e&&(e.isShapeMask=!0,this.props.model.isShapeMasked=!0,e.on(w.tween.UPDATE,this.renderShapeMask),this.props.model.on(w.tween.UPDATE,this.renderShapeMask)),this},renderShapeMask:function(){if(null!=this.shapeMask){var e=F(this.shapeMask),t=F(this.props.model,!0);this.applyShapeMask(e,t)}return this},applyShapeMask:function(e,t){var n=t.invert().append(e),i=this.shapeMask,r=i.prop("width"),o=i.prop("height"),s=n.transform(0,0),a=n.transform(r,o),l=[s.y,a.x,a.y,s.x].map(C.pxify);return null!=this.el&&(this.el.style.clip=["rect(",l.join(","),")"].join("")),this},updateDecorators:function(){this.callLifeCycleEvent("onAfterShow")},moveTo:function(e,t){this.setPlayerProp({RawXPos:e,RawYPos:t})},updateMousePosition:function(e){var t=v.getCurrentWindow().getCurSlide();this.props.model.adjustVariables({name:e.xvar.value,value:t.mouseX},{name:e.yvar.value,value:t.mouseY})},updateFromTween:function(){var e;return null!=this.tweenedConfig&&(e=null!=this.animationOverride?this.animationOverride.adjustProps(m.clone(this.tweenedConfig.props)):this.tweenedConfig.props,null!=this.decorators.draggable&&this.decorators.draggable.updateAfterTween(m.pick(e,"RawXPos","RawYPos")),this.setPlayerProp(e)),this},applyStylesDirectly:function(){m.extend(this.el.style,this.getStyles())},showObject:function(){this.updateTrueVisibility(!0),this.htmlReady(function(){this.props.hideShowCallback&&this.props.hideShowCallback(),this.isMounted()&&u.transformUpdated(this,!0)}.bind(this))},hideObject:function(){this.htmlReady(function(){this.props.hideShowCallback&&this.props.hideShowCallback(),this.isMounted()&&u.transformUpdated(this,!0)}.bind(this)),this.updateTrueVisibility(!1)},getRegisterableEvents:function(){var e=m.intersection(m.keys(o),j(this.props.model)),t=m.includes(e,"rollover");return t!==m.includes(e,"rollout")&&(t?e.push("rollout"):(e.push("rollover"),t=!0)),t&&(e=m(e).without("rollover").unshift("rollover").value()),e},shouldFireEvent:function(e,t){var n=!0,i=!0,r=this.refs.innard;return"rollover"===e&&(i=!this.isHover),"rollout"===e&&(i=this.isHover),null!=r&&m.isFunction(r.isClickDefAllowed)&&(n=r.isClickDefAllowed(t.target,e)),!this.dragging&&n&&i&&(!m.includes(_,e)||this.latestEvent!==e)},triggerEvent:function(e){var t,n=e.type;if(this.state.Enabled&&((t=e.origEvent)||(t=e),this.shouldFireEvent(n,t))){if(DS.connection.useConnectionMessages&&document.body.classList.contains("is-offline"))return void("press"===n&&DS.connection.highlighWarning());"rollover"===n&&(this.setPlayerProp("MouseOver",!0),this.isHover=!0),"press"===n&&S.device.isMobile&&this.el.focus(),this.latestEvent=n,this.props.model.executePlayerEvent("on"+n),"rollout"===n&&(this.setPlayerProp("MouseOver",!1),this.isHover=!1)}},cursorByType:function(){var e=this.props.model;return e.isDraggable()||e.isZoomable()||e.isWebObject()||e.isSlideable()},showCursor:function(){return!this.props.model.isCorrectIncorrectReview()&&!1!==this.props.model.get("useHandCursor")&&(!m(R).intersection(j(this.props.model)).isEmpty()||this.cursorByType())},cursorClass:function(){return this.state.Enabled?this.showCursor()?"cursor-hover":"":"cursor-default"},textEvent:function(e,t){this.props.model.executeFilteredPlayerEvent((function(e){return e.triggerid===t}),e)},getDepth:function(){var e=this.props.model;return e.isKind("shufflegroup")?null:e.prop("depth")},getRotation:function(){return null!=this.tweenedConfig?this.tweenedConfig.props.Rotation:this.props.model.get("rotation")},getPosition:function(){return null!=this.tweenedConfig?{x:this.tweenedConfig.props.RawXPos,y:this.tweenedConfig.props.RawYPos}:{x:this.props.model.playerProps.get("RawXPos"),y:this.props.model.playerProps.get("RawYPos")}},getStyles:function(){var e,t=this.props.winScale,n=(this.getGlobalRotation(),{xPos:"xOffset",yPos:"yOffset"}),i=this.props.model.getCurrentStateData(),r=null!=i&&null!=i.html5data,o=this.props.model.get("cliptobounds"),s=this.props.model.hasVarText(),a=function(e){return!r||o||s?this.getPath("props.model."+(n[e]||e)):i.html5data[e]}.bind(this);return e={zIndex:this.getDepth(),width:a("width")*t,height:a("height")*t,opacity:C.pctToDec(this.state.Alpha)},o&&(e.overflow="hidden"),this.props.model.isKind("shufflegroup")||(e[this.cssTransformOrigin]=[this.state.rotateXPos*t,"px ",this.state.rotateYPos*t,"px"].join(""),e[this.cssTransform]=this.getPositioningTransform()),this.props.model.isTweenable()&&O(e),e},getPositioningTransform:function(){var e=this.state,t=e.RawXPos,n=e.RawYPos,i=e.Rotation,r=e.ScaleX,o=e.ScaleY,s=this.getGlobalRotation(),a=this.props.winScale,l=0!==s&&r!==o,c=function(e){return C.pxify(Math.round(e*a))};return m.compact([x.transformTranslate(c(t),c(n)),x.transformRotate(i+"deg"),l?x.transformRotate(-s+"deg"):"",x.transformScale(r/100,o/100),l?x.transformRotate(s+"deg"):"",this.getTransformZ()]).join(" ")},getGlobalRotation:function(){for(var e=this.props.model,t=0;e;)e.isSlideObject&&(t+=e.playerProps.get("Rotation")),e=e.parent;return t},getTransformZ:function(){var e=this.props.model.getSlide();return!S.browser.isChrome||null==e||e.hasVideoAssets()&&e.hasZoomRegion()?E.transformZ:""},hasElsoMethod:function(){return m.isFunction(this.props.checkElso)},getTargetModeTextInfo:function(e,t){var n=this.refs.innard;return null!=n.getTargetModeTextInfo?n.getTargetModeTextInfo(e,t):{targetEl:this.el,textId:this.props.model.lastRenderedTextId}},getTextItemEl:function(e){var t=this.refs.innard;return null!=t.getTextItemEl?t.getTextItemEl(e):this.el},getAccessibleText:function(){return(this.state.accessibleText||"").replace(M," ")},updateAccessibleText:function(){this.setState({accessibleText:this.updateVarText(this.props.model)})},getAriaRole:function(){var e=this.props.model.get("accType"),t=V[e];return null!=t?t:N[this.props.model.kind()]||null},isAccTypeText:function(){return"text"===this.props.model.get("accType")},getAriaLabel:function(){return this.isAccTypeText()?null:this.getAccessibleText()||""},getIsAriaChecked:function(){var e=this.getAriaRole(),t=this.props.model.getCurrentStateData();return"radio"!==e&&"checkbox"!==e||null==t?null:(16&t.accState)>0},isFocusable:function(){var e=this.props.model,t=e.get("tabEnabled"),n=e.prop("tabIndex"),i=e.isKind("slideframe");return t&&n>=0&&!i},getTabIndex:function(){return this.props.model.get("tabEnabled")&&!this.props.tabIndexDisabled&&"textinput"!==this.props.model.kind()?"0":"-1"},getFocusTarget:function(){var e=this.refs.innard;return this.isFocusable()?this:null!=e.getFocusTarget?e.getFocusTarget():void 0},getLayer:function(){return this.parentLayer=this.parentLayer||y.closest(this.el,(function(e){return e.classList.contains("slide-layer")})),this.parentLayer},isMousedOver:function(){var e=this.el.getBoundingClientRect();return C.pointInRect(y.mouseX,y.mouseY,[[e.left,e.top],[e.width,e.height]])},clearShowFns:function(){var e,t=this.props.model;if(!m.isEmpty(t.showFns))for(;e=t.showFns.shift();)e.call(t)},updateFocus:function(){var e=this.props.model,t=e.getLayer().currView,n=this.el.getBoundingClientRect();if(e.isSlideable()){var i=r(p.getGlobalBounds(this),4);n={left:i[0],top:i[1],right:i[2],bottom:i[3]}}var o=C.getRectIntersection(n,t.el.getBoundingClientRect());o&&T.setFocusRectOn(this.el,o)},onMouseUp:function(e){this.giveAccFocus(e)},addAccEl:function(){this.props.addAccEl&&this.props.addAccEl(this.props.model)},giveAccFocus:function(e){null!=this.accShadowView&&(this.accShadowView.takeFocus(),null!=e&&e.stopPropagation())}});return U.objectsByName={},U}.call(t,n,t,e))||(e.exports=i)},5955:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(7940),o=(DS._,DS.pubSub),s=DS.events,a=DS.scaler,l=DS.constants;return n(4116),DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"SlideWindow",mixins:[DS.flagManager.dropInAcc?i.dropIn:i,r],getInitialState:function(){return{winScale:window.globals.HAS_FRAME?1:a.getScale()}},componentDidMount:function(){var e=this;window.globals.HAS_FRAME||o.on(s.window.SCALE,(function(){e.setState({winScale:a.getScale()})}))},getBackground:function(){var e=this.state.currentSlide;return null==e?null:e.get("slidewindowbg")},close:function(e){o.trigger(s.window.CLOSING,this.getPath("props.model.id"))},componentWillUpdate:function(e,t){t.currentSlide&&(o.trigger(s.loader.MUTE),this.props.id===l.refs.FRAME&&o.trigger(s.window.MAIN_CHANGED,t.currentSlide,this.props.id))}})}.call(t,n,t,e))||(e.exports=i)},8172:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(2658),r=n(8698),o=n(9036),s=DS.utils,a={swf:"renderAsset",vector:"renderVector"};return DS.flagManager.dropInCore&&(t=DS.DropIn),t.createClass({displayName:"SlideWindowBackground",mixins:[DS.flagManager.dropInCore?r.dropIn:r],template:function(){return this[a[this.props.bg.type]]()},renderVector:function(){return t.createElement(o,{vectorData:this.props.bg.vectorData})},renderAsset:function(){return t.DOM.div({className:"slide-window-background-asset",style:{backgroundImage:s.toCssUrl(i.getAssetUrl(this.props.bg.imagedata.assetId))}})}})}.call(t,n,t,e))||(e.exports=i)},2321:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=DS._,o=(DS.keyManager,DS.resolver),s=DS.slideObjectUtils,a=DS.dom,l=DS.detection;return DS.flagManager.dropInCore&&(i=DS.DropIn),i.createClass({mixins:[DS.flagManager.dropInCore?t.dropIn:t],displayName:"StateGroupSlideObject",getAllRefs:function(){var e=this.findAllComponents("SlideObject");return this.allRefs=r.reject(e,(function(e){return e.props.model.isGroupingSlideObject})).map((function(e){return e.props.model})),this},getElso:function(){return r.find(this.refs,(function(e){return e.props.model.isKind("expandinglabel")}))},isExpanded:function(){return this.getElso().getPlayerProp("Expanded")},checkElso:function(){return this.props.model.getIsExpandingLabel()},onElsoAction:function(e,t){if(!e||null==t||null!=t.props.model.get("markerType")){var n=e?"toggleComplete":"hideComplete";(e||this.isExpanded())&&this.getElso().refs.innard[n]()}},isClickDefAllowed:function(e,t){var n,i,s=this.props.model.getClickDef(),c=a.closest(e,a.isSlideObject);return l.deviceView.isMobile&&null==c&&(e=document.elementFromPoint(a.mouseX,a.mouseY))&&this.el.contains(e)&&(c=a.closest(e,a.isSlideObject)),function e(t){return r.some(t,(function(t){var n=!1;return!(t instanceof window.Node)&&t.props.model&&t.props.model.isSlideObject&&(t.refs&&(n=e(t.refs)),t.el===c&&(n=!0,i=t)),!!n}))}(this.refs),null!=i?s.some(function(e){var t=o.getRef(e,this.props.model);return o.resolvePath(t,this.props.model).id===i.props.model.id}.bind(this)):(n=a.closest(this.el,a.isSlideObject))!==c&&"clickoutside"===t?this.props.model.events().some((function(e){return"onclickoutside"===e.kind})):n===c||n!==c&&"releaseoutside"===t},getFocusTarget:function(){return s.getGroupFocusTarget(this)}})}.call(t,n,t,e))||(e.exports=i)},3331:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=(n(882),n(8698)),r=n(1587),o=n(2500);DS.flagManager.dropInBase&&(t=DS.DropIn,DS.DropInDOM);var s=t.createClass({displayName:"SvgImageSlideObject",mixins:[DS.flagManager.dropInBase?i.dropIn:i,r]});return DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?o(s):s}.call(t,n,t,e))||(e.exports=i)},7070:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1587),i=n(8103),r=n(3305),o=n(882),s=n(8698),a=n(8907),l=n(1689),c=n(2500),u=DS,d=u._,h=u.dom,p=u.resolver,f=u.pubSub,g=u.events,m=u.vow,v=u.utils,S=u.svgUtils,y=u.detection,b=u.MicroScrollBar,w=u.globalEventHelper.addBodyListener,C=DS.detection.deviceView.isDesktop&&DS.detection.theme.isUnified,x=["::-webkit-input-placeholder",":-moz-placeholder","::-moz-placeholder",":-ms-input-placeholder"],D=[".","-","-."],E={top:0,center:.5,bottom:1};DS.flagManager.dropInBase&&(r=DS.DropIn,o=DS.DropInDOM);var T,P=r.createClass({dropInSettings:{tickBeforeUpdate:!0,useLegacySetState:!0},mixins:[DS.flagManager.dropInBase?s.dropIn:s,t,i],displayName:"TextInputSlideObject",shortEvents:{model:(T={},T[g.slideObject.FOCUS]="setFocus",T)},getInitialState:function(){return this.createInitialState()},createInitialState:function(){var e=this.getPath("props.model.bindto");return d.isEmpty(e)||(this.boundVar=p.resolvePath(e)),{inputValue:null!=this.boundVar?this.boundVar.value():this.props.playerProps.Text,placeholderClass:this.getPlaceholderClass()}},componentWillMount:function(){this.ready=m.Deferred(),this.addStyleIfNeeded(this.state.placeholderClass),this.isNumeric=this.getPath("props.model.numeric"),this.isMultiline=!this.isNumeric&&!!this.getPath("props.model.multiline"),null!=this.boundVar&&this.listenTo(this.boundVar,"change variable:refreshView",this.onVarChange)},componentDidMount:function(){var e=this;this.htmlReady((function(){if(e.props.model.needsFocus&&(e.setFocus(),e.props.model.needsFocus=!1),e.ready.resolve(),C&&e.isTextArea()){e.scroller=new b(e.props.parent.accShadowView.refs.input,e.props.model.id,!1,0,!1),e.refs.input.parentNode.appendChild(e.scroller.scrollBar),e.scroller.setEnabled(!0),e.scroller.update();var t=v.getPath(e.props,"parent.accShadowView.refs.input.parentNode");t&&e.scroller.setShowOnlyOnHover(t),e.scroller.onMouseOut()}})),this.updateVerticalAlign(),y.device.isDesktop&&this.initShadowClickability()},setFocus:function(){var e=this;if(null!=this.props.parent.accShadowView){if(!document.hasFocus())return;this.props.parent.accShadowView.takeFocus()}else window.requestAnimationFrame((function(){document.hasFocus()&&e.props.parent.accShadowView.takeFocus()}))},initShadowClickability:function(){if(!this.props.model.isDraggable()){this.possibleObscurers=[];var e=this.props.model,t=e.getFlattenedDepth();this.possibleObscurers=e.getLayer().objects().filter((function(e){return e.getFlattenedDepth()>t})),this.possibleObscurers.length>0?this.removeBodyListener=w("mousemove",this.checkShadowClickability):e.getSlide().slideLayers().length>1&&(this.removeLayerListener=f.addListener(g.layer.STACKING_CHANGED,this.checkLayerObscures))}},checkLayerObscures:function(){var e=this.props.model;e.getSlide().slideLayers().hasLayerAbove(e.getLayer())?null==this.removeBodyListener&&(this.removeBodyListener=w("mousemove",this.checkShadowClickability)):null!=this.removeBodyListener&&(this.removeBodyListener(),this.removeBodyListener=null)},checkShadowClickability:function(e){var t=h.mouseX,n=h.mouseY,i=this.props.model,r=i.getLayer(),o=i.getSlide().slideLayers(),s=d.findIndex(o.activeLayers,r),c=a.globalPtToSlideObject(this,t,n),u=function(e){var i=e.currView;if(null!=i&&i.trulyVisible){var r=a.globalPtToSlideObject(i,t,n),o=r.x,s=r.y;return l.containsPoint(i,o,s)}return!1};this.shadowClickable=this.props.parent.trulyVisible&&l.containsPoint(this,c.x,c.y),this.shadowClickable&&(this.shadowClickable=!this.possibleObscurers.some(u),this.shadowClickable&&(this.shadowClickable=!o.activeLayers.some((function(e){return s<d.findIndex(o.activeLayers,e)&&(!!e.modal()||e.objects().some(u))})))),this.props.parent.accShadowView.setClickable(this.shadowClickable)},componentDidUpdate:function(e,t){this.updateVerticalAlign(),d.isEmpty(this.possibleObscurers)&&!this.props.model.isDraggable()&&this.props.parent.accShadowView.setClickable(!0);var n=this.props.parent.accShadowView.getScrollInfo(),i=n.left,r=n.top;this.refs.input.scrollLeft=i,this.refs.input.scrollTop=r,null!=this.props.parent.accShadowView&&this.props.parent.accShadowView.onStateChanged(t,this.state)},componentWillUnmount:function(){null!=this.scroller&&this.scroller.teardown(),null!=this.removeBodyListener&&(this.removeBodyListener(),this.removeBodyListener=null),null!=this.removeLayerListener&&(this.removeLayerListener(),this.removeLayerListener=null),this.ready.reject()},getInputStyle:function(e,t){var n=t||this.props.winScale,i=this.getPath("props.model.marginright"),r=this.isMultiline&&!this.isNumeric,o=r?6:0,s=v.pxify(this.getPath("props.model.fontsize")*n),a={fontFamily:this.quotify(this.getPath("props.model.font"))+", sans-serif",fontSize:s,lineHeight:r?"normal":s,fontWeight:this.getPath("props.model.bold")?"bold":"normal",direction:this.getPath("props.model.rtl")?"rtl":"ltr",textAlign:this.getPath("props.model.align"),color:this.getTextColor(),paddingTop:(this.getPath("props.model.margintop")+o)*n,paddingRight:(this.isNumeric?0:i)*n,paddingBottom:this.getPath("props.model.marginbottom")*n,paddingLeft:this.getPath("props.model.marginleft")*n,width:C&&this.isTextArea()?"calc(100% - 10px)":"100%"};return e?Object.assign(a,this.lastVerticalAlign):a},bounds:function(){return this.props.model.getBounds()},getInput:function(){return o.findDOMNode(this.refs.input)},getInputVal:function(){return this.getInput().value},onKeyDown:function(e,t,n){var i;this.isMultiline||13!==e.which||null==this.boundVar||this.boundVar.value()!==(i=null!=t&&null==n?t:this.getInputVal())&&this.boundVar.changeValue(i)},isValidNumericEntry:function(e){return 0===e.length||(D.indexOf(e)>-1||!isNaN(e))},isValidEntry:function(e){return!this.isNumeric||this.isValidNumericEntry(e.value)||!isNaN(e.valueAsNumber)},onInputChange:function(e){var t=e.target.value;!this.isNumeric||this.isValidNumericEntry(t)?this.setState({inputValue:t}):(e.target.value=t,isNaN(e.target.valueAsNumber)||this.setState({inputValue:t}))},onInputBlur:function(e){this.setPlayerProp("Text",this.getInputVal()),this.props.model.executePlayerEvent("onlosefocus")},onKeyUp:function(e){this.setPlayerProp("Text",this.getInputVal())},onTouchStart:function(e){1===e.touches.length&&(9===y.os.iOSVersion&&document.activeElement!==this.getInput()&&this.getInput().focus(),DS.flagManager.dropInBase||e.preventDefault())},onVarChange:function(){var e=this.boundVar.value();this.setPlayerProp("Text",e),this.setState({inputValue:e})},addStyleIfNeeded:function(e){var t=this.getTextColor(),n=this.getOrCreateStylesheet();d.find(n.cssRules,(function(t){return t.selectorText.indexOf(e)>-1}))||(n.innerHTML+="\n",n.innerHTML+=x.map((function(n){return[".",e," ",n,"{ color: ",t,"; }"].join("")})).join("\n"))},getOrCreateStylesheet:function(){var e="textInputStyles",t=document.head.querySelector("#"+e);return t||((t=document.createElement("style")).id=e,document.head.appendChild(t)),t},getPlaceholderClass:function(){return"text-input-"+this.props.model.id},getTextColor:function(){return this.hex(this.getPath("props.model.textcolor"))},isTextArea:function(){return this.isMultiline&&!this.isNumeric},getMaxChars:function(){return this.getPath("props.model.maxchars")},updateVerticalAlign:function(){var e,t,n,i,r,o,s=this.refs.input;return this.isTextArea()&&(t=this.getPath("props.model.height")*this.props.winScale,n=this.getPath("props.model.verticalAlign"),o=t-(parseInt(s.style.paddingTop)+parseInt(s.style.paddingBottom)),s.style.height="1px",e=s.scrollHeight,i=d.get(E,n,0),r=(t-Math.min(e,o))*i,this.lastVerticalAlign={height:v.pxify(o-r),transform:S.transformTranslate(0,v.pxify(r*this.props.winScale))},d.extend(s.style,this.lastVerticalAlign)),this},onInputFocus:function(e){this.props.parent.accShadowView.takeFocus(),e.stopPropagation()},scrollTo:function(e,t){this.refs.input.scrollLeft=e,this.refs.input.scrollTop=t},getScrollbarWidth:function(){var e=this.el.querySelector(this.isTextArea()?"textarea":"input[type=text]");return e?e.offsetWidth-e.clientWidth:0}});return DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?c(P):P}.call(t,n,t,e))||(e.exports=i)},3118:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}i=function(e){"use strict";var t,i=n(8698),r=n(3305),s=(n(882),n(2658)),a=(n(1587),n(2500)),l=DS.windowManager,c=DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation?DS.jsAssetStore:n(6849);DS.flagManager.dropInBase&&(r=DS.DropIn,DS.DropInDOM);var u=DS,d=u.detection,h=u.ThreeSixtyImage,p=u.events,f=u.pubSub,g=u.utils,m=u.resolver,v=u.constants,S=r.createClass({displayName:"ThreeSixtyImageSlideObject",mixins:[DS.flagManager.dropInBase?i.dropIn:i],shortEvents:{model:(t={shown:"onTransitionIn"},o(t,p.threeSixtyImage.APPLY_RESUME_DATA,"onApplyResumeData"),o(t,p.threeSixtyImage.RESET_VIEW,"onResetView"),o(t,p.threeSixtyImage.UPDATE_RESUME_PROPS,"onUpdateResumeProps"),t)},componentWillMount:function(){var e=this;if(this.setupLoadTracker(),!this.props.model.getSlide().resume()||!this.props.model.getLayer().resume()){var t=g.getPath(this.props.model.data(),"threesixtyimagedata.bind.visited");if(t)m.resolvePath(t).value(0)}this.loadImagePromise=new Promise((function(t){var n=e.props.model.data().threesixtyimagedata;e.panoAsset=s.getAsset(n.assetId),e.panoAsset.load(!0).then(t)}))},setupLoadTracker:function(){var e=l.getCurrentWindowSlide();this.currSlideId=e.absoluteId,null==h.loadTracker[this.currSlideId]?h.loadTracker[this.currSlideId]=[{id:this.props.model.absoluteId,ready:!1}]:h.loadTracker[this.currSlideId].push({id:this.props.model.absoluteId,ready:!1})},onResetView:function(){var e=this;g.getPath(this,"panoAsset.isLoaded",!1)?this.image3d.resetView():this.loadImagePromise=this.loadImagePromise.then((function(){e.image3d.resetView()}))},onUpdateResumeProps:function(){null!=this.image3d&&this.image3d.updateResumeProps()},onApplyResumeData:function(){var e=this;this.props.model.shouldApplyResumeData=!1,this.loadImagePromise=this.loadImagePromise.then((function(){e.image3d.applyResume()}))},onZoom:function(e){if(null!=this.image3d&&null!=e&&null!=e.currMatrix){var t=e.currMatrix.getScale().x;this.image3d.mobileZoom=t,this.updateSize(this.image3d.mobileZoom)}},onSwiping:function(){this.image3d.allowSwiping=!0},onPreventSwiping:function(){this.image3d.allowSwiping=!1},componentDidMount:function(){var e=this;this.loadImagePromise=this.loadImagePromise.then((function(){var t,n=e.props.model.data(),i=n.threesixtyimagedata,r=e.props.model,o=c.getJsAssetValue(e.panoAsset.url());DS.flagManager.increaseMax360ImageAssetSize&&null!=o&&null!=o.dataUri&&(t=function(e){for(var t=atob(e.split(",")[1]),n=t.length,i=new Uint8Array(n),r=e.split(",")[0].split(":")[1].split(";")[0],o=0;o<n;o++)i[o]=t.charCodeAt(o);var s=new Blob([i],{type:r});return URL.createObjectURL(s)}(o.dataUri)),e.image3d=new h({dataUri:DS.flagManager.increaseMax360ImageAssetSize?t||e.panoAsset.url():null!=o&&o.dataUri||e.panoAsset.url(),assetManager:s,markerData:n.markerdata,initialLat:i.initialLat,initialLon:i.initialLon,nudgeOnLoad:i.nudgeOnLoad,width:r.width(),height:r.height(),scale:e.props.winScale,model:e.props.model,el:e.refs.glEl,cssEl:e.refs.cssEl,overlaysEl:e.refs.overlaysEl,overlaySvgEl:e.refs.overlaySvgEl,miscOverlaysEl:e.refs.miscOverlaysEl,isMobile:d.deviceView.isMobile,slideObject:e,altText:e.props.parent.getAccessibleText(),playerAccentColor:i.playerAccentColor||v.theme.brandingHighlight,hotspotColor:i.hotspotColor,hotspotReveal:i.hotspotReveal,pulseMarkers:i.pulseMarkers,pulseHotspots:i.pulseHotspots,navigation:i.navigation,bind:i.bind}),e.updateSize(),e.image3d.animate(),d.device.isMobile&&(f.on(p.slide.ZOOMED,e.onZoom),f.on(p.slide.ALLOW_SWIPE,e.onSwiping),f.on(p.slide.PREVENT_SWIPE,e.onPreventSwiping))})),this.props.model.shouldApplyResumeData&&this.onApplyResumeData()},componentWillUnmount:function(){this.image3d.destroy(),f.off(p.slide.ZOOMED,this.onZoom),f.off(p.slide.ALLOW_SWIPE,this.onSwiping),f.off(p.slide.PREVENT_SWIPE,this.onPreventSwiping)},onTransitionIn:function(){var e=this;this.loadImagePromise=this.loadImagePromise.then((function(){e.image3d.onTransitionIn()}))},updateSize:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;null!=this.image3d&&(this.image3d.updateSize(Math.ceil(this.props.model.width()*this.props.winScale),Math.ceil(this.props.model.height()*this.props.winScale)),d.device.isMobile&&1!=e&&this.image3d.renderer.setPixelRatio(Math.min(4,Math.ceil(window.devicePixelRatio*e))))},componentDidUpdate:function(e){this.props.winScale!==e.winScale&&this.updateSize()}});return DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?a(S):S}.call(t,n,t,e),void 0===i||(e.exports=i)},9531:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t,i=n(3305),r=n(8698),o=n(4484),s=DS._,a=DS.utils,l=DS.dom,c=DS.svgUtils,u=/<\/?html>/g,d=/font-family:(.*?);/g,h={top:"align-flex-start",center:"align-flex-center",bottom:"align-flex-end"},p=(t=/^event:/,function(e){return t.test((e.href||"").trim())});return DS.flagManager.dropInVectors&&(i=DS.DropIn),i.createClass({displayName:"VariableText",mixins:[DS.flagManager.dropInVectors?r.dropIn:r],initialVisibility:!1,getInitialState:function(){this.knownSize=this.props.model.height(),this.origTemplate=this.props.model.vartext();var e=o.parseTemplate(this.origTemplate);return this.listenToVarChanges=e.addListeners,this.updateVarText=e.updateString,{embeddedTemplate:this.getTemplate()}},componentDidMount:function(){var e;this.setState({valignClass:(e=this.props.model,h[e.get("valign")])}),this.setupValues().checkShouldFitText().show()},componentWillMount:function(){this.totalBigArea=0,this.areaInfo=[],this.observeVarChanges(),this.ancestors=[],this.props.model.forEachAncestor(function(e,t){(e.isSlideObject||e.isSlideLayer)&&this.listenTo(e,{shown:s.partial(this.onAncestorShown,t),hidden:s.partial(this.onAncestorHidden,t)})}.bind(this))},componentDidUpdate:function(){this.setupValues().checkShouldFitText()},componentWillUnmount:function(){null!=this.stopListeningToVarChanges&&this.stopListeningToVarChanges()},onAncestorShown:function(e){this.ancestors[e]=!0,this.checkShouldFitText()},onAncestorHidden:function(e){this.ancestors[e]=!1},setDefaultFont:function(e){return e.replace(d,"font-family:$1, sans-serif;")},getTemplate:function(){return this.stripTags(this.parseVars())},setupValues:function(){return this.fonts=this.findAll("font, span"),this.fonts.forEach(function(e){e.setAttribute("data-original-size",e.style.fontSize),e.setAttribute("data-original-line-height",e.style.lineHeight),e.style.maxWidth=a.pxify(this.props.model.width()),this.knownSize=e.style.fontSize}.bind(this)),this},stripTags:function(e){return e.replace(u,"")},parseVars:function(){return this.setDefaultFont(this.updateVarText(this.props.model))},possibleHit:function(e){e.preventDefault();var t,n=l.closest(e.target,p);n&&this.trigger("textHit",(t=n.href,s.last((t||"").split(":"))))},observeVarChanges:function(){return this.stopListeningToVarChanges=this.listenToVarChanges(this.props.model,function(){this.setState({embeddedTemplate:this.parseVars().replace(/\n/g,"<br />")})}.bind(this)),this},checkShouldFitText:function(){return this.ancestors.every(s.identity)&&this.fitText(),this},fitText:function(){var e=this.refs.textLibContentWrap,t=this.findAll("font, span"),n=this.findAll("p"),i=this.props.model.height(),r=0,o={};for(n.forEach((function(e){0===e.innerText.length&&(e.style.minHeight="1em")}));r<30&&e.scrollHeight-i>10;)t.forEach(function(e,t){var n,i,s,l=parseFloat(e.getAttribute("data-original-size")||this.knownSize),c=parseFloat(e.getAttribute("data-original-line-height")||1.2*this.knownSize)/l;null==o[t]&&(o[t]=l),n=a.clamp(2,5,l/9),o[t]-=n,i=a.pxify(o[t]),e.style.fontSize=i,s=o[t]*c,e.style.lineHeight=a.pxify(s),r++}.bind(this))},getInnerProps:function(){var e={};return e[this.cssTransformOrigin]=[a.pxify(this.props.originX),a.pxify(this.props.originY)].join(" "),e[this.cssTransform]=[c.transformRotate(this.props.rotDeg+"deg"),c.transformTranslate(a.pxify(-this.props.originX),a.pxify(-this.props.originY)),c.transformScale(this.props.winScale),c.transformTranslate(a.pxify(2*this.props.originX),a.pxify(2*this.props.originY))].join(" "),e}})}.call(t,n,t,e))||(e.exports=i)},9036:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(4242);return DS.flagManager.dropInBase&&(t=DS.DropIn),t.createClass({displayName:"VectorBackground",mixins:[DS.flagManager.dropInBase?i.dropIn:i],template:function(){var e=this.props.vectorData,t=e.left,n=e.top,i=e.right-e.left,o=e.bottom-e.top;return r.getSvgNode({commandsetId:e.pr.i,libId:e.pr.l,bounds:{xPos:t,yPos:n,fullX:t,fullY:n,height:o,width:i,fullHeight:o,fullWidth:i}},this)}})}.call(t,n,t,e))||(e.exports=i)},3997:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return DS.flagManager.dropInBase&&(t=DS.DropIn),t.createClass({displayName:"VectorSlideBackground",mixins:[DS.flagManager.dropInBase?i.dropIn:i]})}.call(t,n,t,e))||(e.exports=i)},4148:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),s=n(4274),a=n(4242),l=n(2500),c=DS,u=c.events,d=c.pubSub,h=c.localizationManager,p=c.constants.XMLNS_XLINK;DS.flagManager.dropInVectors&&(t=DS.DropIn);var f=t.createClass({displayName:"VectorSlideObject",mixins:[DS.flagManager.dropInVectors?i.dropIn:i,s],getInitialState:function(){return DS.flagManager.multiLangSupport?{currLangCode:h.getCurrentLangCode()}:{}},onAccessibleTextChanged:function(e){this.setState({accessibleText:e})},refresh:function(){return this.htmlReady(this.whenHtmlReady),this},setupForceImageLoad:function(){if(!this.capture){var e=this.find("image");if(e){var t=e.getAttributeNS("http://www.w3.org/1999/xlink","href");e.onerror=function(){setTimeout((function(){e.setAttributeNS("http://www.w3.org/1999/xlink","href",t)}),DS.connection.retryDelay)},e.onload=function(){DS.connection.assets[t]&&(DS.connection.assets[t].success=!0)},this.capture=!1}}},forceImageLoad:function(e){var t,n=e;if(this.isAlternating&&null!=this.els&&2===this.els.length){var i=o(this.els,2),s=i[0],a=i[1];n=(null!=(t=s).parentNode&&t.parentNode.classList.contains("textlib-wrapper")?"block"===t.parentNode.style.display:"block"===t.style.display)?s:a}r(n.querySelectorAll("image")).forEach((function(e,t){var n=e.getAttributeNS("http://www.w3.org/1999/xlink","href");window.requestAnimationFrame((function(){e.setAttributeNS("http://www.w3.org/1999/xlink","href",n)}))}))},whenHtmlReady:function(){var e=this.find("svg");DS.connection.useConnectionMessages&&this.forceImageLoad(e),this.adornSvg(),this.determineChildMouseBehavior()},shouldAlternate:function(){if(DS.flagManager.dropInVectors)return!1;var e=this.props.model.imagelib();return null!=e&&e.length>1},calcIsStateGroupChild:function(){return!!this.props.model.getClosestAncestorByKind("stategroup")},componentWillMount:function(){var e=this;DS.flagManager.multiLangSupport&&this.props.model.hasLocalizedText()&&(this.removeLocalizationListener=d.addListener(u.localization.LANGUAGE_UPDATED,(function(t){e.setState({currLangCode:t})}))),DS.flagManager.aiCourseTranslation&&(this.removeReviewListener=d.addListener(u.localization.REVIEW_STRING_UPDATED,(function(t){e.setState({stringRev:t})}))),this.isAlternating=this.shouldAlternate(),this.alternate=!0,this.isStateGroupChild=this.calcIsStateGroupChild()},componentWillUnmount:function(){null!=this.removeLocalizationListener&&this.removeLocalizationListener(),null!=this.removeReviewListener&&this.removeReviewListener()},componentDidMount:function(){window.DS.connection.useConnectionMessages&&this.setupForceImageLoad(),this.refresh().bindEvents()},dropInRendered:function(){var e=this;this.refresh(),requestAnimationFrame((function(){e.bindEvents()}))},componentDidUpdate:function(){var e=this;if(DS.flagManager.dropInCore){var t=this.find("image");if(null!=t){var n=t.getAttributeNS(p,"href");n.includes("?rs=")&&requestAnimationFrame((function(){t.setAttributeNS(p,"href",""),t.setAttributeNS(p,"href",n)}))}}DS.flagManager.dropInVectors||requestAnimationFrame((function(){e.refresh().bindEvents()}))},shouldUpdate:function(e,t,n){var i=this.props.model.shouldUpdateGif(),s=this.find("image"),a=e.playerProps.ObjectState!==this.props.playerProps.ObjectState||e.winScale!==this.props.winScale||i||t.accessibleText!==this.state.accessibleText||!!DS.flagManager.multiLangSupport&&t.currLangCode!==this.state.currLangCode||!!DS.flagManager.aiCourseTranslation&&t.stringRev!==this.state.stringRev;return this.isStateGroupChild&&null!=s&&i&&s.setAttribute("xlink:href",""),this.isAlternating?!DS.flagManager.dropInVectors||a||n?(window.setTimeout(function(){this.forceUpdate(),this.els=r(this.el.querySelectorAll(".slideobject-maskable"));var e=o(this.els,2),t=e[0],n=e[1],i=function(e,t){null!=e.parentNode&&e.parentNode.classList.contains("textlib-wrapper")?(e.style.display="block",e.parentNode.style.display=t):e.style.display=t};if(2===this.els.length){var s=o(this.alternate?["none","block"]:["block","none"],2),a=s[0],l=s[1];i(t,a),i(n,l)}}.bind(this),32),!1):void 0:a},bindEvents:function(){return this.stopListening(),this.findAllComponents("VectorText").concat(this.findAllComponents("VariableText")).concat(this.findAllComponents("RichVariableText")).concat(this.findAllComponents("AccessibleText")).forEach(function(e){this.listenTo(e,{textHit:this.props.textHit,textOver:this.props.textOver,textOut:this.props.textOut})}.bind(this)),this.listenTo(DS.appState,u.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged),this},determineChildMouseBehavior:function(){var e;this.props.model.isCorrectIncorrectReview()&&(this.findAll("g").forEach((function(e){e.style.pointerEvents="none"})),(e=this.find("g g:nth-child(2)")||this.find("g g:nth-child(3)")).setAttribute("cursor","pointer"),e.style.pointerEvents="all")},dropInSettings:{forceRebuild:!0,tickBeforeRebuild:!0,noRebuildForProps:{winScale:!0},excludeAttribute:[function(e,t){return"transform"===e&&null!=t.dataset.adornmentType}]},template:function(){var e=a.getSvgFromData(this.props.model,this);return this.isAlternating?(this.alternate?this.a=e:this.b=e,this.alternate=!this.alternate,t.createElement("div",{className:"alternating-svg",style:{width:"".concat(this.props.model.prop("width"),"px"),height:"".concat(this.props.model.prop("height"),"px")}},this.a,this.b)):e}});return DS.flagManager.dropInVectors&&!DS.flagManager.dropInCore?l(f):f}.call(t,n,t,e))||(e.exports=i)},14:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS._,o=DS.svgUtils,s=DS.dom,a=DS.utils,l={};return DS.flagManager.dropInVectors&&(t=DS.DropIn),t.createClass({displayName:"VectorText",mixins:[DS.flagManager.dropInVectors?i.dropIn:i],initialLinkStates:{},componentDidMount:function(){this.saveInitialLinkStates(),this.renderAllVisitedLinks()},getInitialState:function(){var e=this.defaultCommandsetId=this.getPath("props.textLibItem.vectortext.pr.i"),t=this.defaultPathLib=this.getPath("props.textLibItem.vectortext.pr.l");return{defaultCommandsetId:e,curCommandsetId:e,defaultPathLib:t,curPathLib:t}},renderAs:function(e,t){var n=t||this.defaultCommandsetId,i=e||this.defaultPathLib;this.setState({curCommandsetId:n,curPathLib:i})},onClickCallback:function(e){return this.trigger("textHit",e),this},onOverCallback:function(e){return this.trigger("textOver",e),this},onOutCallback:function(e){return this.trigger("textOut",e),this},saveInitialLinkStates:function(){var e=this;r.toArray(this.el.querySelectorAll("text[data-link-id]")).forEach((function(t){var n=e.getUnderlines(t)[0];e.initialLinkStates[t.getAttribute("data-reactid")]={color:t.getAttribute("fill"),underline:null!=n&&0!=n.getAttribute("fill-opacity")}}))},renderAllVisitedLinks:function(){var e=this;Object.keys(l).forEach((function(t){var n=e.props.textLibItem.linkdata().find((function(e){if(e.get("id")===t)return e}));if(n){var i=e.getState(n,"visitedState");r.toArray(e.el.querySelectorAll("text[data-link-id='".concat(t,"']"))).forEach((function(t){e.renderLinkText(t,i.textColor,i.decoration)})),r.toArray(e.el.querySelectorAll("rect[data-link-id='".concat(t,"']"))).forEach((function(t){e.renderLinkHighlight(t,i.highlightColor)}))}}))},renderLinkText:function(e,t,n){var i=null==t?"transparent":a.hexify(t),r=this.getUnderlines(e),o="underline"===n||"none"!==n&&this.initialLinkStates[e.getAttribute("data-reactid")].underline;s.setStyles(e,{fill:i}),r.forEach((function(e){s.setStyles(e,{fill:o?i:"transparent"}),e.setAttribute("fill-opacity",o?1:0)}))},renderLinkHighlight:function(e,t){var n=null==t?"transparent":a.hexify(t);this.getHotAreas(e).forEach((function(e){s.setStyles(e,{opacity:1,fill:n})}))},renderLink:function(e,t,n,i,r){this.renderLinkText(e,n,r),this.renderLinkHighlight(t,i)},getUnderlines:function(e){var t=e.getAttribute("data-ref-id");if(t)return r.toArray(this.el.querySelectorAll("path[data-ref-id='".concat(t,"']")))},getHotAreas:function(e){var t=e.getAttribute("data-link-id");return r.toArray(this.el.querySelectorAll("rect[data-link-id='".concat(t,"']")))},getState:function(e,t){return e.get(t)||{}},renderLinkCallback:function(e,t,n){var i=this,o=t.get("id"),s=o.substring(o.indexOf("_link")),a=r.toArray(this.el.querySelectorAll("text[data-link-id$='".concat(s,"']"))),c=!0===l[o],u=this.getState(t,"hoverState"),d=this.getState(t,"activeState"),h=this.getState(t,"visitedState");return 0!==a.length&&(a.forEach((function(t){var r;switch(e.type){case"mouseover":case"focus":r=u;break;case"mouseout":case"blur":var s=i.initialLinkStates[t.getAttribute("data-reactid")],a=s.color,p=s.underline;r=c?h:{textColor:a,decoration:p?"underline":"none"};break;case"mousedown":r=d;break;case"mouseup":case"click":l[o]=!0,r=h}if(null!=r){var f=r,g=f.textColor,m=f.highlightColor,v=f.decoration;i.renderLink(t,n,g,m,v)}})),!0)},getTransform:function(){return[o.transformRotate(this.props.rotDeg,this.props.originX,this.props.originY),o.transformTranslate(this.props.originX,this.props.originY)].join(" ")}})}.call(t,n,t,e))||(e.exports=i)},6272:function(e,t,n){var i;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,s=r.dom,a=r.pubSub,l=r.events,c=r._,u=r.utils,d="";return DS.flagManager.dropInVectors&&(t=DS.DropIn),t.createClass({displayName:"VectorTextHitArea",mixins:[DS.flagManager.dropInVectors?i.dropIn:i],componentDidMount:function(){var e=this;if(!DS.flagManager.dropInCore&&DS.flagManager.dropInVectors&&!this.dropInMounted)return requestAnimationFrame(this.componentDidMount),void(this.dropInMounted=!0);c.bindAll(this,"onAccEvent"),this.areas={};var t=s.closest(this.el,(function(e){return s.hasClass(e,"vector-text-item")}));this.findAll(".link-highlight-area").forEach((function(n){var i=n.getAttribute("data-linkarea");e.areas[i]=n,t.insertBefore(n,t.firstElementChild)})),this.addLinkListeners()},componentWillUnmount:function(){null!=this.removeDownListeners&&this.removeDownListeners()},onAccEvent:function(e,t,n){var i,r=u.getPath(this.props,"link.parent.parent.absoluteId");null!=r&&r===t&&this.props.linkId===e&&(i=Object.keys(this.refs)[0],"focus"===n.type?d=this.props.linkId:"blur"===n.type&&(d=""),this.renderAs(n,i))},addLinkListeners:function(){var e=this,t=this.el.querySelectorAll(".link-hit-area");null!=this.removeAllListeners&&this.removeAllListeners(),a.on(l.textItem.MOUSEDOWN,this.onAccEvent),a.on(l.textItem.MOUSEOVER,this.onAccEvent),a.on(l.textItem.MOUSEOUT,this.onAccEvent),t.forEach((function(t){t.addEventListener("pointerdown",e.onLinkDown),t.addEventListener("pointerup",e.onLinkUp)})),this.removeAllListeners=function(){a.off(l.textItem.MOUSEDOWN,e.onAccEvent),a.off(l.textItem.MOUSEOVER,e.onAccEvent),a.off(l.textItem.MOUSEOUT,e.onAccEvent),t.forEach((function(t){t.removeEventListener("pointerdown",e.onLinkDown),t.removeEventListener("pointerup",e.onLinkUp)}))}},onLinkDown:function(e,t){d=this.props.linkId,this.renderAs(e,t)},onLinkUp:function(e){var t=this;if(d===this.props.linkId)if(DS.detection.device.isDesktop){var n=function n(){document.removeEventListener("click",n),document.removeEventListener("touchend",n),t.onClickCallback(e)};document.addEventListener("click",n),document.addEventListener("touchend",n)}else this.onClickCallback(e);d=""},renderAs:function(e,t){var n="mouseover"===e.type||"focus"===e.type,i=null!=t?t:e.currentTarget.getAttribute("data-hotarea"),r=n?"onOverCallback":"onOutCallback";DS.flagManager.dropInVectors&&null==this.areas&&null!=this.refs[i]&&(this.areas=o({},i,this.refs[i])),this.props.renderLinkCallback(e,this.props.link,this.areas[i])||s.setStyles(this.areas[i],{opacity:n?1:0}),this.props[r](this.props.linkId)},onClickCallback:function(e){e.preventDefault(),this.props.onClickCallback(this.props.linkId)}})}.call(t,n,t,e))||(e.exports=i)},6894:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(4242),o=n(8267),s=n(2500),a=DS._,l=DS.utils,c=DS.svgUtils,u=DS.detection,d=DS.vendorOverrides,h=DS.globalEventHelper,p=h.addWindowListener,f=h.removeWindowListener,g=function(e){if(e["font-family"])if(Array.isArray(e["font-family"])){var t=e["font-family"];e.style={fontFamily:t.map(l.doubleQuote).concat(a.last(t)).join(",")},delete e["font-family"]}else e["font-family"]=l.doubleQuote(e["font-family"]);return e},m=null!=d.removeCharPositions,v=function(e){return c.isTspanNode(e)&&(e.children=e.children.map((function(e){return e.replace(/\s/g," ")}))),e};DS.flagManager.dropInVectors&&(t=DS.DropIn);var S=t.createClass({displayName:"VectorTextItem",mixins:[DS.flagManager.dropInVectors?i.dropIn:i],componentWillMount:function(){m&&(p("beforeprint",this.beforePrint),p("afterprint",this.afterPrint))},componentWillUnmount:function(){m&&(f("beforeprint",this.beforePrint),f("afterprint",this.afterPrint))},getInitialState:function(){return{printing:!1}},addShadow:function(e){return!u.browser.isEdge&&this.props.isShadow&&c.isTspanNode(e)&&(e.filter="url(#text-shadow)",e.fill="rgba(0, 0, 0, 0.2)"),e},template:function(e){var t=c.svgPrefix(this.props.commandsetId),n=r.get(this.props.pathLib,t);return c.transformNodeConfig(a.flowRight(v,g,this.addShadow,this.state.printing&&m?d.removeCharPositions:a.identity),n),o.createSvg(n)},beforePrint:function(){this.setState({printing:!0})},afterPrint:function(){this.setState({printing:!1})}});return S.wrapped=s(S,"g"),S}.call(t,n,t,e))||(e.exports=i)},4928:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=(DS._,DS.utils),o=DS.detection;return DS.flagManager.dropInVideo&&(t=DS.DropIn),t.createClass({displayName:"VideoControls",mixins:[DS.flagManager.dropInVideo?i.dropIn:i],stringTitles:{acc_play:"acc_play",acc_pause:"acc_pause"},currentTimeFormatted:function(){return r.formatSecondsAsTime(this.props.currentTime||0)},durationFormatted:function(){return r.formatSecondsAsTime(this.props.duration||0)},componentDidMount:function(){o.device.isMobile?(this.refs.progressBar.addEventListener("touchmove",this.onSeek),this.refs.progressBar.addEventListener("touchstart",this.onSeek)):this.refs.progressBar.addEventListener("mousedown",this.onMouseDown)},componentWillUnmount:function(){o.device.isMobile?(this.refs.progressBar.removeEventListener("touchmove",this.onSeek),this.refs.progressBar.removeEventListener("touchstart",this.onSeek)):(this.refs.progressBar.removeEventListener("mousedown",this.onMouseDown),document.body.removeEventListener("mousemove",this.onSeek),document.body.removeEventListener("mouseup",this.onSeekComplete))},componentDidUpdate:function(e,t){var n=this;window.requestAnimationFrame((function(){var e=n.props.slideObjectView.accShadowView;null!=e&&e.onStateChanged(t,n.state)}))},onMouseDown:function(e){document.body.addEventListener("mousemove",this.onSeek),document.body.addEventListener("mouseup",this.onSeekComplete),this.onSeek(e)},onSeekComplete:function(){document.body.removeEventListener("mousemove",this.onSeek),document.body.removeEventListener("mouseup",this.onSeekComplete)},onSeek:function(e){var t,n,i=o.device.isMobile;if(e.preventDefault(),e.stopPropagation(),!i||e.touches&&1===e.touches.length){var s=i?e.touches[0].pageX:e.pageX;t=this.refs.progressBarInner.getBoundingClientRect(),n=r.clamp(0,1,(s-t.left)/t.width),this.props.controlSeek(n)}},onMouseUponSeekComplete:function(e){var t=this.refs,n=t.progressBar,i=t.playPause,r=null;n.contains(e.target)?r="progressBar":i.contains(e.target)&&(r="playPause"),r&&this.props.slideObjectView.accShadowView.takeControlFocus(r)}})}.call(t,n,t,e))||(e.exports=i)},780:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(843),o=n(1853),s=DS._,a=DS.pubSub,l=DS.events,c=DS.automation,u=DS.svgUtils,d=DS.vendorOverrides,h=DS.detection,p=DS.vow,f=DS.utils,g=DS.errorManager,m=DS.animationClock,v=g.throwError("VideoPlayer"),S=d.buildCaptionTracks||s.noop,y=d.onCaptionsEnabled||s.noop,b=d.offCaptionsEnabled||s.noop;DS.flagManager.dropInVideo&&(t=DS.DropIn);var w=t.createClass({displayName:"VideoPlayer",mixins:[DS.flagManager.dropInVectors?i.dropIn:i,r],getInitialState:function(){this.slideId=this.props.slideObjectModel.getSlide().id,this.useMediaSyncTime=!0;var e=this;return this.timelineInterface={getTime:function(){return 1e3*(null==e.videoEl||e.useMediaSyncTime?e.state.currentTime:e.videoEl.currentTime)},getPlaybackRate:function(){return null==e.videoEl?1:e.videoEl.playbackRate},getDuration:function(){return null==e.videoEl?1e3*e.props.duration:1e3*e.videoEl.duration},getRemainingTime:function(){return null==e.videoEl?1e3*e.props.duration:1e3*(e.videoEl.duration-e.videoEl.currentTime)}},this.playbackSpeed=DS.appState.getPlaybackSpeed(),{currentTime:0}},componentWillMount:function(){this.onTimeUpdateHandler=s.partial(this.onEvent,"onTimeUpdate"),this.onDurationChangeHandler=s.partial(this.onEvent,"onDurationChange"),this.onPlaybackEndedHandler=s.partial(this.onEvent,"onPlaybackEnded"),this.onLoadedDataHandler=s.partial(this.onEvent,"onLoadedData"),a.on(l.player.PLAYBACK_SPEED_CHANGED,this.handlePlaybackSpeedChanged),this.canPlayDfd=p.Deferred(),this.mountedDfd=p.Deferred(),this.hasVideo=!1,this.isPaused=!0,o.requestVideoEl(this).then(this.completeVideoLoad),this.canPlayDfd.then(function(){this.videoEl.currentTime=this.state.currentTime,this.props.duration!==this.videoEl.duration&&this.props.onDurationChange(this.videoEl.duration)}.bind(this))},getVideoUrl:function(){return this.props.src},componentDidMount:function(){this.mountedDfd.resolve(),this.props.isPlaying&&this.play(),this.props.isTimelineControlled&&(this.hasBeenTimelineControlled=!0)},shouldUpdate:function(e,t){return this.props.isTimelineControlled&&(this.hasBeenTimelineControlled=!0),e.isPlaying!==this.props.isPlaying||e.posterFrameUrl!==this.props.posterFrameUrl||t.isPlaying!==this.state.isPlaying||e.currentVolume!==this.props.currentVolume||e.winScale!==this.props.winScale||e.isTimelineControlled!==this.props.isTimelineControlled},componentDidUpdate:function(e,t){var n=e.isPlaying,i=this.props.isPlaying;this.props.isTimelineControlled?i&&!this.ended()&&this.startTimelineSync():this.endTimelineSync(),this.setVolume(this.props.currentVolume),(DS.flagManager.dropInVideo&&!DS.flagManager.dropInAcc||n!==i)&&this[this.props.isPlaying?"play":"pause"](),!1===this.props.slideVisible&&this.clearCaptions()},componentWillUnmount:function(){var e=this;this.endTimelineSync(),this.canPlayDfd.reject(),this.mountedDfd.reject(),this.removeLoadListeners(),this.ifVideoEl((function(){e.isPipMode()&&e.exitPipMode(),e.unbindVideoEventListeners(),o.putVideoInPen(e.videoEl,e)})),a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"complete",0),b(this.enableCaptioning)},enableCaptioning:function(e){s.isEmpty(this.videoEl.textTracks)||(this.videoEl.textTracks[0].mode=e?"showing":"hidden")},getAssetId:function(){return this.props.assetId},handlePlaybackSpeedChanged:function(e){this.setPlaybackSpeed(e)},getPlaybackSpeed:function(){return this.videoEl.playbackRate},setPlaybackSpeed:function(e){this.playbackSpeed=e,this.videoEl.playbackRate=e,e!==DS.appState.getPlaybackSpeed()&&this.endTimelineSync(),h.os.isIOS&&(this.videoEl.currentTime=this.videoEl.currentTime)},getCurrentTime:function(){return null==this.videoEl?this.cachedTime:this.videoEl.currentTime},isVideo:s.constant(!0),onTimeUpdate:function(){var e=this.videoEl.currentTime;this.useMediaSyncTime=!1,this.setState({currentTime:e}),!h.os.isIosPhoneBefore10&&this.state.isPlaying&&this.adjustCaptions()},onSeeked:function(){a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"seek",this.getCurrentTime())},onPlaybackEnded:function(){this.endTimelineSync()},startTimelineSync:function(){this.playbackSpeed===DS.appState.getPlaybackSpeed()&&this.props.isTimelineControlled&&m.startMediaSync(this.timelineInterface)},endTimelineSync:function(){m.endMediaSync(this.timelineInterface)},play:function(){if(this.hasVideo||o.requestVideoEl(this,!0).then(this.completeVideoLoad),c.clockIsOverridden)this.isPaused&&(a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"play",this.getCurrentTime()),this.delta=this.props.timeline.elapsedTime(),this.timelineDuration=this.props.timeline.duration(),this.props.timeline.on(l.timeline.TICK,this.onTimelineTick),this.setState({hasEverPlayed:!0,isPlaying:!0}));else if(p.isResolved(this.canPlayDfd)){if(this.state.currentTime<this.props.duration||!this.props.isTimelineControlled){if(this.setState({hasEverPlayed:!0,isPlaying:!0}),!this.playedByAction&&this.hasBeenTimelineControlled&&this.state.currentTime>=this.props.duration)return;this.startTimelineSync();var e=this.videoEl.play();this.adjustCaptions(),null!=e&&e.catch((function(e){"AbortError"===e.name&&20===e.code||v("play",e.message)}))}}else this.canPlayDfd.then(function(){this.isPaused||this.play()}.bind(this));this.isPaused=!1,this.playedByAction=!1},pause:function(){var e=this;this.isPaused=!0,this.endTimelineSync(),this.ifVideoEl((function(){e.videoEl.pause()})),c.clockIsOverridden&&(a.trigger(l.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"pause",this.getCurrentTime()),this.props.timeline.off(l.timeline.TICK,this.onTimelineTick)),this.setState({isPlaying:!1}),this.hasCaptions&&((this.props.timelinePaused||this.props.pausedByPlayButton)&&this.isMediaVisible(this)||this.clearCaptions())},seek:function(e){var t=this;if(!isNaN(e)){var n=Math.min(e,this.props.duration);this.setState({currentTime:n}),this.waitingSeekPosition=n,this.waitingSeek||(this.waitingSeek=!0,this.canPlayDfd.then((function(){t.endTimelineSync(),t.videoEl.currentTime=n,t.waitingSeek=!1}))),this.clearCaptions();c.clockIsOverridden&&n>=f.fix(this.props.duration,2)-.05&&this.props.onPlaybackEnded()}},ended:function(){return null==this.videoEl?this.cachedEnded:this.videoEl.ended},onEvent:function(e,t){null!=this[e]&&this[e](t),null!=this.props[e]&&this.props[e](function(e,t){var n;switch(e){case"onDurationChange":n=t.target.duration;break;case"onTimeUpdate":n=t.target.currentTime;break;default:n=t}return n}(e,t))},onTimelineTick:function(e){this.seek(f.toSeconds(this.timelineDuration*e-this.delta))},onEndFullScreen:function(){this.videoEl.paused&&this.props.pause()},togglePip:function(){this.isPipMode()?this.exitPipMode():this.enterPipMode()},enterPipMode:function(){var e=this;this.videoEl.requestPictureInPicture().then((function(){e.videoEl.addEventListener("leavepictureinpicture",e.handleLeavingPip),a.trigger(l.video.PIP_MODE_CHANGED)}))},exitPipMode:function(){var e=this;document.exitPictureInPicture().then((function(){e.handleLeavingPip()}))},isPipMode:function(){return document.pictureInPictureElement===this.videoEl},handleLeavingPip:function(){var e=this;this.videoEl.removeEventListener("leavepictureinpicture",this.handleLeavingPip),a.trigger(l.video.PIP_MODE_CHANGED),window.requestAnimationFrame((function(){e.setState({isPlaying:!e.videoEl.paused}),e.props.onVideoPaused(),a.trigger(l.video.STATE_CHANGED,e.props.playerProps.AbsoluteId,"pause",e.getCurrentTime())}))},updateVideoEventHandlers:function(e){var t={timeupdate:this.onTimeUpdateHandler,durationchange:this.onDurationChangeHandler,ended:this.onPlaybackEndedHandler,loadeddata:this.onLoadedDataHandler,webkitendfullscreen:this.onEndFullScreen};c.clockIsOverridden&&(t.seeked=this.onSeeked),s.forOwn(t,function(t,n){this.videoEl[e?"addEventListener":"removeEventListener"](n,t)}.bind(this))},setVolume:function(e){var t=this;this.ifVideoEl((function(){t.videoEl.volume=e,t.videoEl.muted=0===e}))},applyTransformToVideo:function(){var e,t=this.videoEl.videoWidth/this.videoEl.videoHeight,n=this.props.slideObjectModel.attributes.height,i=this.props.slideObjectModel.attributes.width;i/n!==t&&(e=t*n/i,this.videoEl.style[this.cssTransform]=u.transformScale(1,e),this.videoEl.style[this.cssTransformOrigin]="0 0")},completeVideoLoad:function(e){var t,n=this;this.hasVideo=!0,this.videoEl=e,this.videoEl.loadVideo(this.props.src),this.mountedDfd.then((function(){null!=n.canvas&&n.canvas.remove(),n.refs.container.appendChild(n.videoEl),n.videoEl.setAttribute("playsinline",""),n.setVolume(n.props.currentVolume),n.applyTransformToVideo()})),S(this.videoEl,this.getAssetId()),this.bindVideoEventListeners(),this.videoEl.volume=this.props.currentVolume,this.videoEl.playbackRate=this.playbackSpeed,this.videoEl.readyState>=this.videoEl.HAVE_ENOUGH_DATA?this.canPlayDfd.resolve():(t=function(){n.removeLoadListeners(),n.canPlayDfd.resolve()},this.videoEl.addEventListener("canplay",t),this.videoEl.addEventListener("canplaythrough",t),this.removeLoadListeners=function(){null!=n.videoEl&&(n.videoEl.removeEventListener("canplay",t),n.videoEl.removeEventListener("canplaythrough",t))}),y(this.enableCaptioning)},isMediaVisible:function(){var e=this.props.playerProps.parent.get("isBaseLayer"),t=DS.windowManager.getCurrentWindowSlide().slideLayers().getTopMostLayer(),n=this.props.slideObjectModel.getLayer()===t;return this.props.slideVisible&&(this.props.objectVisible||e||n)&&!this.props.slideObjectModel.prop("HiddenByLayer")},isTrulyVisible:function(){return f.getPath(this.props,"slideObjectModel.currView.trulyVisible",!1)},retrieveVideo:function(){this.endTimelineSync(),this.cachedTime=1e3*this.videoEl.currentTime,this.cachedEnded=this.videoEl.ended,this.props.pause(),this.state.hasEverPlayed&&this.drawFrameToCanvas(),this.unbindVideoEventListeners(),this.hasVideo=!1,this.canPlayDfd.reject(),this.canPlayDfd=p.Deferred();var e=this.videoEl;return this.videoEl.remove(),this.removeLoadListeners(),this.videoEl=null,this.useMediaSyncTime=!0,e},drawFrameToCanvas:function(){var e=this;this.ifVideoEl((function(){var t=e.props.playerProps,n=t.width,i=t.height;e.canvas=e.canvas||document.createElement("canvas"),e.canvas.height=i,e.canvas.width=n,e.canvas.style.width="100%",e.canvas.style.height="100%",e.canvas.getContext("2d").drawImage(e.videoEl,0,0,n,i),e.refs.container.appendChild(e.canvas)}))},ifVideoEl:function(e){this.hasVideo&&e()}}),C=w.prototype;return s.extend(C,{bindVideoEventListeners:s.partial(C.updateVideoEventHandlers,!0),unbindVideoEventListeners:s.partial(C.updateVideoEventHandlers,!1)}),w}.call(t,n,t,e))||(e.exports=i)},6044:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3949),i=n(3305),r=n(8698),o=n(2658),s=n(9485),a=n(2500),l=s.anyVideoStarted,c=s.anyVideoStopped,u=DS,d=u.utils.fullScreen,h=u.utils,p=u.pubSub,f=u.constants,g=u.appState,m=u.captionsManager,v=u.events,S=u.dom,y=u.detection,b=y.theme.isClassic,w=y.deviceView,C=w.isMobile,x=w.isPhone,D=y.env.isPerpetual,E=(u.flagManager,DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation?DS.jsAssetStore:n(6849)),T={iconColor:"#B4B4B4",iconHoverColor:"#FFFFFF",backgroundColor:"#282828",seekBgColor:"#5E5E5E",accentColor:"#4FBDF4",panelBg:"#222222",panelBorder:"#666666",panelText:"#E8E8E8",hoverBorderColor:"#666666",volumeThumb:"#FFFFFF",selectBg:"#353535",selectBorder:"#6C6C6C"},P={seek:!0,playPause:!0,elapsedTime:!0,volume:!0,captions:!0,playbackSpeed:!0,pip:!0,fullScreen:!0,settings:!0,transcript:!0},I=function(e,t,n){var i=e.getPath("props.model.data.videodata."+t);if(null!=i)return o[null!=n?"getAssetUrl":"getAsset"](i)},A=!1;DS.flagManager.dropInVideo&&(i=DS.DropIn,p.on(v.detection.VISIBILITY_HIDDEN,(function(e){A=!0})),p.on(v.detection.VISIBILITY_SHOWN,(function(e){A=!1})));var M,k,L=i.createClass({displayName:"VideoSlideObject",dropInSettings:{useSpecificSetState:!0},mixins:[DS.flagManager.dropInVideo?r.dropIn:r],shortEvents:{model:(k={},k[v.layer.PAUSE_TIMELINE]="onPauseMedia",k[t.MEDIA_TOGGLE]="onActionToggle",k[t.MEDIA_PLAY]="onActionPlay",k[t.MEDIA_PAUSE]="onActionPause",k[t.MEDIA_SEEK]="onActionSeek",k[t.SHOW]="onActionShow",k[t.HIDE]="onActionHide",k[t.SET_VOLUME]="onActionSetVolume",k.trueVisibilityChanged="onVisibilityChanged",k)},subscriptions:(M={},M[v.detection.VISIBILITY_SHOWN]="onVisibilityShown",M[v.detection.VISIBILITY_HIDDEN]="onVisibilityHidden",M),onPauseMedia:function(){this.pauseVideo()},getInitialState:function(){return this.removeDockedListener=function(){},this.layerTimeline=this.props.model.getLayer().timeline(),{currentTime:0,duration:h.toSeconds(I(this,"assetId").get("duration")),currentVolume:g.currentVolume(),isPlaying:!1,posterImage:null,fullScreen:!1,dockedState:"none",dockedWidth:0}},componentWillMount:function(){if(this.isValidVideo()){if(this.timelinePlayStartTime=0,this.mediaTimelineControlled=!1,this.lastTimelineSeek=0,!b&&!D){this.removeFullScreenListener=d.addChangeListener(this.onFullScreenChange);var e=this;this.videoInterface={getLoadedTime:function(){return 0},getElapsedTime:function(){return null!=e.refs.videoPlayer?e.refs.videoPlayer.getCurrentTime():e.state.currentTime},getBounds:function(){return e.el.getBoundingClientRect()},pauseVideo:this.pauseVideo,playVideo:this.playVideo,seekVideo:this.controlSeek,toggleVideo:this.toggleVideo,isFullScreen:this.isFullScreen,hasTranscript:this.hasTranscript,getTranscriptData:this.getTranscriptData,toggleFullScreen:function(){e.isFullScreen()?e.exitFullScreen():e.enterFullScreen()},togglePip:function(){e.togglePip()},isPipMode:function(){return e.isPipMode()},getPlaybackSpeed:function(){return e.getPlaybackSpeed()},setPlaybackSpeed:function(t){e.setPlaybackSpeed(t)}}}this.bindTimelineEventListeners()}},onVisibilityChanged:function(e){e||null==this.refs.videoPlayer||(this.refs.videoPlayer.clearCaptions(),this.exitFullScreen(),this.closeTranscript())},componentDidMount:function(){this.isValidVideo()&&(this.presentationVol=f.DEFAULT_VOLUME,this.setVolume(g.currentVolume()),this.listenTo(g,v.volume.CHANGE_CURRENT,this.onVolumeChanged),this.removeDockedListener=p.addListener(DS.events.utilityWindow.DOCKED,this.onWindowDocked),this.setupVideoEl(),this.isIosVideo=!d.isSupported()&&null!=this.videoEl.webkitEnterFullscreen,this.isIosVideo&&this.hasCaptions()&&null!=this.videoEl.textTracks&&this.videoEl.textTracks.length>0&&(this.captionsTrack=this.videoEl.textTracks[0],this.removeTextTrackCues(),this.videoEl.addEventListener("webkitendfullscreen",this.onIosExit)))},setupVideoEl:function(){if(null==this.videoEl){var e=h.getPath(this,"refs.videoPlayer.videoEl");null!=e&&(e.addEventListener(v.videoManager.PLAY,this.onVideoElPlay),e.addEventListener(v.videoManager.PAUSE,this.onVideoElPause),this.videoEl=e)}},componentDidUpdate:function(){this.setupVideoEl(),this.el.style.setProperty("--docked-width","".concat(this.state.dockedWidth,"px"))},onWindowDocked:function(e,t){var n=t.dockedState,i=t.dockedWidth,r=this.props.model.id;e.includes(r)&&(i="none"!==n?i+10:0,this.setState({dockedState:n,dockedWidth:i}))},onVideoElPlay:function(){this.isScreenCapture()||this.videoEl.playing&&!this.courseAudioPlaying&&(this.courseAudioPlaying=!0,l())},onVideoElPause:function(){this.isScreenCapture()||!this.videoEl.playing&&this.courseAudioPlaying&&(this.courseAudioPlaying=!1,c())},componentWillUnmount:function(){b||D||(this.removeFullScreenListener&&this.removeFullScreenListener(),this.isFullScreen()&&this.exitFullScreen()),this.removeDockedListener();var e=h.getPath(this,"refs.videoPlayer.videoEl");null!=e&&(e.removeEventListener(v.videoManager.PLAY,this.onVideoElPlay),e.removeEventListener(v.videoManager.PAUSE,this.onVideoElPause),this.isIosVideo&&(this.onIosExit(),e.removeEventListener("webkitendfullscreen",this.onIosExit)))},getControls:function(){return this.refs.controls},getLocalWarning:function(){return this.refs.localWarning},getEnabledControls:function(){var e=Object.assign({},P,this.props.model.get("controls"));e.captions=e.captions&&this.hasCaptions(),e.pip=e.pip&&document.pictureInPictureEnabled,e.transcript=e.transcript&&this.hasTranscript();var t=x?{settings:(e.captions||e.playbackSpeed||e.transcript)&&{captions:e.captions,transcript:e.transcript,playbackSpeed:e.playbackSpeed},volume:!1,captions:!1,playbackSpeed:!1}:{settings:!1,volume:e.volume&&!C};return Object.assign(e,t)},getControlColors:function(){return null==this.controlColors&&(this.controlColors=Object.assign({},T,this.props.model.get("controlColors"))),this.controlColors},setPlaybackSpeed:function(e){null!=this.refs.videoPlayer&&this.refs.videoPlayer.setPlaybackSpeed(e)},getPlaybackSpeed:function(){return null==this.refs.videoPlayer?1:this.refs.videoPlayer.getPlaybackSpeed()},closeTranscript:function(){var e=this.getControls();null!=e&&null!=e.closeTranscript&&e.closeTranscript()},addTextTrack:function(){var e=this;if(this.isIosVideo&&this.hasCaptions()){var t=m.getCaptions(this.getAssetId());if(null==this.captionsTrack){var n=h.getPath(this,"refs.videoPlayer.videoEl");if(null==n)return;n.addEventListener("webkitendfullscreen",this.onIosExit),this.captionsTrack=n.addTextTrack("captions","English","en")}else this.removeTextTrackCues();t.forEach((function(t){e.captionsTrack.addCue(new VTTCue(t.startTime,t.endTime,t.getCueAsSource()))})),this.captionsTrack.mode=m.isCaptionEnabled()?"showing":"hidden"}},enterFullScreen:function(){var e=h.getPath(this,"refs.videoPlayer.videoEl");null!=e&&(d.isSupported()||null==e.webkitEnterFullscreen?d.request(this.el):(this.addTextTrack(),e.webkitEnterFullscreen()))},exitFullScreen:function(){this.isFullScreen()&&d.exit()},removeTextTrackCues:function(){var e=this;null!=this.captionsTrack.cues&&Array.from(this.captionsTrack.cues).forEach((function(t){return e.captionsTrack.removeCue(t)}))},onIosExit:function(){null!=this.captionsTrack&&this.removeTextTrackCues()},togglePip:function(){null!=this.refs.videoPlayer&&this.refs.videoPlayer.togglePip()},isPipMode:function(){return h.getPath(this,"refs.videoPlayer.isPipMode")},isScreenCapture:function(){return this.getPath("props.model.captureanimation")},onFullScreenChange:function(){this.isFullScreen()?this.setState({fullScreen:!0}):this.setState({fullScreen:!1})},isFullScreen:function(){return d.getEl()===this.el},hasCaptions:function(){return null!=m.getCaptions(this.getAssetId())},hasTranscript:function(){return null!=this.getTranscriptAssetId()},getTranscriptData:function(){var e=this.getTranscriptAssetId();if(null!=e){var t=o.getAssetUrl(e);return E.getJsAssetValue(t)}},onVolumeChanged:function(e,t){this.determineAudioVolume(t)},determineAudioVolume:function(e){this.setVolume(e*this.presentationVol)},isHlsVideo:function(){var e=this.getVideoUrl();return"m3u8"===_.last(e.split("."))},isValidVideo:function(){return""!==this.getVideoUrl()&&"swf"!==this.type},getVideoUrl:function(){var e;return null==this.videoUrl&&(e=I(this,"assetId"),this.type=e&&e.get("videoType"),this.videoUrl=null!=this.type&&"youtube"!==this.type?e.url():""),this.videoUrl},posterFrameUrl:function(){return I(this,"posterAssetId",!0)},getAssetId:function(){return this.getPath("props.model.data.videodata.assetId")},getTranscriptAssetId:function(){return this.getPath("props.model.data.videodata.transcriptAssetId")},playing:function(e){this.isMounted()&&this.setState({currentTime:e})},durationLoaded:function(e){this.setState({duration:e})},playbackEnded:function(){null!=this.refs.videoPlayer&&(this.pauseVideo(),this.props.model.executePlayerEvent("onmediacomplete"),this.refs.videoPlayer.clearCaptions(),p.trigger(v.video.STATE_CHANGED,this.props.playerProps.AbsoluteId,"complete",0))},videoPaused:function(){this.setState({isPlaying:!1})},toggleVideoControls:function(){this.toggleVideo()},onActionShowOnce:function(e,t){this.pausedByAction||this.onActionPlay(e,t)},bindTimelineEventListeners:function(){this.hasAutoPlay()&&this.props.model.once(t.SHOW,this.onActionShowOnce),this.listenTo(this.layerTimeline,v.timeline.BEFORE_RESET,(function(){this.seekVideo(0),this.hasAutoPlay()||this.pauseVideo()})),this.listenTo(this.layerTimeline,v.timeline.PLAYING,(function(){var e=this;this.layerTimeline.hasFinished()||(DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc?requestAnimationFrame((function(){return e.playAndRestoreState()})):this.playAndRestoreState())})),this.listenTo(this.layerTimeline,v.timeline.PAUSED,(function(e){this.layerTimeline.hasFinished()||this.pauseAndStoreState(e)})),this.listenTo(this.layerTimeline,v.timeline.SEEK_START,this.pauseAndStoreState),this.listenTo(this.layerTimeline,v.timeline.AFTER_SEEK_UPDATE,this.onTimelineSeek),this.listenTo(this.layerTimeline,v.timeline.SEEK_END,this.playAndRestoreState)},loadedData:function(){var e=h.getPath(this,"refs.videoPlayer");if(null!=e){if(this.state.isPlaying){var t=e.cachedTime;if(null!=t)this.seekVideo(t),e.play();else if(this.isMediaTimelineControlled()){var n=this.calculatePlaybackDifferential(this.layerTimeline.elapsedTime());this.seekVideo(n),e.play()}}e.cachedTime=null}},hasAutoPlay:function(){var e=this.props.model.getClosestAncestorByKind("expandinglabel");return!(e&&!e.prop("Expanded"))&&this.getPath("props.model.autoplay")},onActionShow:function(e,t){this.isSeekActionAndNotPlaying(t)||this.hasAutoPlay()&&this.layerTimeline.isPlaying()&&!this.pausedByAction&&this.playVideo()},onActionHide:function(){},onActionToggle:function(){this.toggleVideo()},onActionPlay:function(e,t){null!=this.refs.videoPlayer&&(this.refs.videoPlayer.playedByAction=!0,this.pausedByAction=!1,this.setPlayActionStartTime(t.time),this.isSeekActionAndNotPlaying(t)||(this.pauseVideo(),this.playVideo(t),"expandinglabel"===t.context.get("kind")&&m.includeMedia(this.getAssetId())))},onActionPause:function(e,t){this.pausedByAction=!0,this.isSeekActionAndNotPlaying(t)||(this.pausedByPlayButton=!1,this.pauseVideo(),"expandinglabel"===t.context.get("kind")&&m.excludeMedia(this.getAssetId()))},onActionSeek:function(e,t){this.isSeekActionAndNotPlaying(t)||this.seekVideo(e.position)},onActionSetVolume:function(e,t){var n=e.volume/100;this.presentationVol=n,this.determineAudioVolume(g.currentVolume())},setPlayActionStartTime:function(e){return null!=e&&(this.timelinePlayStartTime=e),this.mediaTimelineControlled=null!=e,this},isSeekActionAndNotPlaying:function(e){return e.isSeekAction&&!this.layerTimeline.isPlaying()},calculatePlaybackDifferential:function(e){return e-this.timelinePlayStartTime},onTimelineSeek:function(e){this.seeked=!0,this.lastTimelineSeek=e,e=this.calculatePlaybackDifferential(e),this.isMediaTimelineControlled()&&!this.pausedByAction&&this.seekVideo(e)},isMediaTimelineControlled:function(){return this.mediaTimelineControlled||this.hasAutoPlay()},pauseAndStoreState:function(e){this.timelinePaused||(this.resumeOnSeek=this.state.isPlaying,this.timelinePaused=!0,this.seeked=!1),this.pausedByPlayButton=!!e,DS.flagManager.dropInVideo&&A?this.forcePause():this.pauseVideo()},playAndRestoreState:function(e){var t=e?"playing"===e:!this.pausedByAction;if(this.isVisible()&&(!this.isMediaTimelineControlled()&&this.resumeOnSeek||this.isMediaTimelineControlled()&&t&&(this.lastTimelineSeek>=this.timelinePlayStartTime||this.resumeOnSeek&&!this.seeked))){var n=h.toMilliseconds(this.state.duration)+(this.timelinePlayStartTime||0);this.isMediaTimelineControlled()?this.lastTimelineSeek<=n&&this.playVideo({timelineLabel:""}):this.playVideo()}this.timelinePaused=!1},playVideo:function(e){return this.pausedByPlayButton=!0,this.pausedByAction=!1,this.setState({isPlaying:!0,isTimelineControlled:this.isMediaTimelineControlled()&&null!=e&&null!=e.timelineLabel}),this},pauseVideo:function(){return this.setState({isPlaying:!1}),DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore&&this.forceUpdate(),this},toggleVideo:function(){if(null!=this.refs.videoPlayer)return this.state.isPlaying?this.pauseVideo():(this.refs.videoPlayer.playedByAction=!0,this.playVideo()),this},seekVideo:function(e){if(null!=this.refs.videoPlayer)return this.refs.videoPlayer.seek(Math.max(0,h.toSeconds(e))),e<0&&this.setState({isPlaying:!1}),this},setVolume:function(e){return this.setState({currentVolume:e}),this},actionKeyCallback:function(){return this.toggleVideo(),!0},onVisibilityShown:function(e){!this.isMediaTimelineControlled()&&this.wasPlaying&&(this.wasPlaying=!1,this.playVideo())},forcePause:function(){h.getPath(this,"refs.videoPlayer")&&(this.setState({isPlaying:!1}),this.refs.videoPlayer.pause())},onVisibilityHidden:function(e){!this.isMediaTimelineControlled()&&this.state.isPlaying&&(this.wasPlaying=!0,DS.flagManager.dropInVideo?this.forcePause():this.pauseVideo())},forceUpdatePoster:function(e){this.setState({posterImage:e}),this.forceUpdate()},onAccShadowRangeChange:function(e){this.seekVideo(h.toMilliseconds(e))},controlSeek:function(e){var t=S.hasClass(document.documentElement,"text-direction-rtl"),n=this.state.duration*(t?1-e:e);this.seekVideo(h.toMilliseconds(n))}});return DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore?a(L):L}.call(t,n,t,e))||(e.exports=i)},4638:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=(n(882),n(1587),n(2658)),o=n(3949),s=n(2500),a=(DS._,DS.errorManager),l=DS.PostMessaging,c=DS.vow,u=(DS.dom,DS.events),d=DS.appState;DS.flagManager.dropInBase&&(i=DS.DropIn,DS.DropInDOM);var h,p,f=a.throwError("WebObjectSlideObject"),g=i.createClass({displayName:"WebObjectSlideObject",mixins:[DS.flagManager.dropInBase?t.dropIn:t],subscriptions:(p={},p[u.volume.CHANGED]="onVolumeChanged",p),shortEvents:{model:(h={trueVisibilityChanged:"toggleLoad"},h[o.TRIGGER_WEBOBJECT_CLIENT_EVENT]="onTriggerClientEvent",h)},getInitialState:function(){return{thumbVisible:!0,url:""}},prepareImageUrl:function(){var e=this.props.model.get("thumbAssetId");return r.getAssetUrl(e)},checkIsEngage:function(){return"EN13"===this.props.model.get("objtype")},componentWillMount:function(){this.isEngage=this.checkIsEngage(),this.imageUrl=this.prepareImageUrl(),this.clientReady=c.Deferred(),this.clientReady.then(function(e){this.onVolumeChanged(d.currentVolume())}.bind(this)),this.isEngage||this.clientReady.reject()},componentWillUnmount:function(){this.refs.iframe.src="",this.resetSubscriptions(),null!=this.postMessaging&&this.postMessaging.tearDown()},showThumb:function(){return"onclick"===this.props.model.get("loadtype")&&this.state.thumbVisible},showContent:function(){this.setState({thumbVisible:!1})},shouldScale:function(){return this.props.model.get("shouldScale")},getUrl:function(){var e=this.props.model.get("html5Url");return this.isEngage&&(e+=["?wo=1&id=",this.props.model.id].join("")),e},getResumeData:function(){return this.props.model.variables().findWhere({name:"_remotedata"}).value()},setResumeData:function(e){this.props.model.variables().findWhere({name:"_remotedata"}).value(e),this.props.model.getClosestAncestorByKind("slide").prepareResumeData({retainState:!0})},triggerHostEvent:function(e){var t;this.props.model.executeFilteredPlayerEvent((t=e,function(e){return e.eventName===t}),"onclientevent")},toggleLoad:function(e){e?this.setState({url:this.getUrl()}):this.setState({url:""})},onIframeLoad:function(){if(this.isEngage){this.refs.iframe.contentWindow;this.postMessaging=new l(this,this.props.model.id),this.postMessaging.ready().then(this.clientReady.resolve)}},onTriggerClientEvent:function(e){this.postMessaging.request("executeFilteredPlayerEvent",e.eventName).catch(f.bind(this,"onTriggerClientEvent","Cannot trigger web object client event"))},onVolumeChanged:function(e){this.postMessaging.request("setVolume",e).catch(f.bind(this,"setVolume","Cannot set volume"))}});return DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?s(g):g}.call(t,n,t,e))||(e.exports=i)},5840:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(882),o=n(1694),s=n(949),a=n(7877),l=DS._,c=DS.TweenLite,u=DS.appState,d=DS.detection,h=DS.globalEventHelper,p=h.addDocumentListener,f=(h.removeDocumentListener,d.deviceView.isClassicMobile?0:5);DS.flagManager.dropInBase&&(i=DS.DropIn,r=DS.DropInDOM);var g=i.createClass({displayName:"ZoomImage",mixins:[DS.flagManager.dropInBase?t.dropIn:t],componentWillMount:function(){var e=i.createElement(o,{className:"zoom-image-overlay"});this.overlay=r.render(e,a.getZoomContainer())},componentDidMount:function(){this.speed=.25,this.calculateTransform(),this.throttledCalculateTweenProps=l.throttle(this.calculateTweenProps,100)},componentDidUpdate:function(){if(this.calculateTransform(),this.isVisible()&&null!=this.currentTween){this.calculateTweenProps();var e=this.currentTween.time(),t=l.partial(c.fromTo,this.el,this.currentTween.duration());this.isZoomingIn?this.currentTween=t(this.startProps,this.endProps):this.currentTween=t(this.endProps,this.startProps),this.currentTween.seek(e)}},getContainerRectDesktop:function(){return(this.props.imageModel.get("zoomslide")?document.querySelector(".slide-container"):a.getMainWindowEl()).getBoundingClientRect()},getContainerRectMobile:function(){return u.windowManager.getCurrentWindowSlide().currView.el.getBoundingClientRect()},calculateTransform:function(){this.scaleX=this.props.transform.width/this.props.width,this.scaleY=this.props.transform.height/this.props.height,this.diffX=(this.props.width-this.props.transform.width)/2,this.diffY=(this.props.height-this.props.transform.height)/2},calculateTweenProps:function(){var e,t,n,i=f,r=this.el.parentNode.getBoundingClientRect(),o=this.getContainerRect(),s=o.left-r.left,a=o.top-r.top,c=this.props.imageElement.getBoundingClientRect(),h=c.left-o.left-this.diffX,p=c.top-o.top-this.diffY,g=h+this.props.width+i,m=p+this.props.height+i,v=h,S=p,y=this.scaleX,b=this.scaleY,w=1;d.deviceView.isMobile||!d.theme.isClassic?w=1/u.windowManager.getCurrentWindowSlide().calculateTotalScale():u.windowManager.isLightBoxActive()&&(w=u.windowManager.getCurrentWindow().slideScale,w*=u.windowManager.getCurrentWindowSlide().calculateTotalScale(),h-=(this.props.transform.width-this.props.transform.width*w)/2,p-=(this.props.transform.height-this.props.transform.height*w)/2,y*=w,b*=w),e=o.width/(this.props.width+i),t=o.height/(this.props.height+i),n=l.min([1,e,t]),p<i?S=i-(this.props.height-n*this.props.height)/2:m>o.height&&(S-=m-o.height-(this.props.height-n*this.props.height)/2),h<i?v=i-(this.props.width-n*this.props.width)/2:g>o.width&&(v-=g-o.width-(this.props.width-n*this.props.width)/2),this.startProps={x:h+s-this.props.transform.xOffset*w,y:p+a-this.props.transform.yOffset*w,scaleX:y,scaleY:b,overwrite:"auto"},this.endProps={x:v+s,y:S+a,scaleX:n,scaleY:n}},zoomIn:function(){this.isZoomingIn=!0,this.calculateTweenProps(),u.windowManager.isLightBoxActive()||this.overlay.show(),this.show(),this.currentTween=c.fromTo(this.el,this.speed,this.startProps,l.extend({},this.endProps,{onComplete:function(){this.props.imageModel.executePlayerEvent("onzoomopened"),this.removeDocumentListener=p(s.clickOrTouch,this.zoomOut,!0)}.bind(this)}))},updateZoomOut:function(){this.throttledCalculateTweenProps(),this.currentTween=c.to(this.el,this.speed/2,this.startProps)},zoomOut:function(e){e.stopPropagation(),this.isZoomingIn=!1,l.isFunction(this.removeDocumentListener)&&(this.removeDocumentListener(),this.removeDocumentListener=null),c.to(this.el,this.speed,{onUpdate:this.updateZoomOut,onComplete:this.onZoomedOut}),this.props.imageModel.executePlayerEvent("onzoomclosed")},onZoomedOut:function(){this.overlay.hide(),this.hide()}}),m=g.prototype;return m.getContainerRect=m[d.deviceView.isClassicMobile?"getContainerRectMobile":"getContainerRectDesktop"],g}.call(t,n,t,e))||(e.exports=i)},7754:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccButton",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t,s,a],tabIndex:0,onClick:function(e){var t=this;if(0===e.screenX&&0===e.screenY){var n=this.objView.state,i=n.RawXPos,r=n.rotateXPos,o=n.RawYPos,s=n.rotateYPos;this.objModel.getSlide().currView.mouseX=i+r,this.objModel.getSlide().currView.mouseY=o+s}DS.flagManager.dropInVectors&&!DS.flagManager.dropInAcc?requestAnimationFrame((function(){t.triggerDefaultAction()})):this.triggerDefaultAction()}})}.call(t,n,t,e))||(e.exports=i)},2064:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccCheckbox",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t,s,a],tabIndex:0,getInitialState:function(){return this.getState()},getState:function(){return{checked:this.isCheckedState()}},onClick:function(e){this.triggerDefaultAction()},getFocusTarget:function(){return this.refs.input}})}.call(t,n,t,e))||(e.exports=i)},101:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,i=t.pubSub,r=t.events,o=n(3305),s=n(8698);return DS.flagManager.dropInAcc&&(o=DS.DropIn),o.createClass({displayName:"AccDialog",mixins:[DS.flagManager.dropInAcc?s.dropIn:s],initialVisibility:!1,tabIndex:-1,componentDidMount:function(){this.mounted=!0,i.on(r.layer.DIALOG_SHOWN,this.onDialogShown),i.on(r.layer.DIALOG_HIDDEN,this.onDialogHidden)},componentWillUnmount:function(){this.mounted=!1,i.off(r.layer.DIALOG_SHOWN,this.onDialogShown),i.off(r.layer.DIALOG_HIDDEN,this.onDialogHidden)},onDialogShown:function(e){var t=this;window.requestAnimationFrame((function(){t.mounted&&e===t.props.dialog.slideLayer&&(t.setState({isVisible:!0}),window.requestAnimationFrame((function(){t.mounted&&t.el.focus()})))}))},onDialogHidden:function(e){var t=this;window.requestAnimationFrame((function(){t.mounted&&e===t.props.dialog.slideLayer&&t.setState({isVisible:!1})}))},id:function(){return"acc-".concat(this.props.dialog.slideLayer.id)},labeledBy:function(){var e=this.props.dialog.slideLayer.get("labeledById");return e?"acc-".concat(e):null},describedBy:function(){var e=this.props.dialog.slideLayer.get("describedById");return e?"acc-".concat(e):null}})}.call(t,n,t,e))||(e.exports=i)},7370:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(7523).parseBlocks,i=n(4585),r=n(3305),o=n(8698),s=n(8863).accBase;DS.utils.getPath;return DS.flagManager.dropInAcc&&(r=DS.DropIn),r.createClass({displayName:"AccDropList",controlViewPath:DS.flagManager.dropInInteractions&&!DS.flagManager.dropInCore?["refs","innard","dropInView","parentableDropList"]:["refs","innard","parentableDropList"],mixins:[DS.flagManager.dropInAcc?o.dropIn:o,i,s],tabIndex:0,getInitialState:function(){return this.getState(this.controlView.state)},getState:function(e){var t="block"===e.display,n=e.SelectedItemData,i=e.SelectedItemIndex;return{expanded:t,selectedData:n,selectedText:-1!==i?this.objModel.origItemsList[i].textdata.altText:this.getLabel()}},getChoices:function(){return this.objModel.itemslist.map((function(e){return{value:e.itemdata,textdata:e.textdata}}))},parseText:function(e){return t(e.vartext,e.wordwrap,e.textshadow)},onChangeMobile:function(e){this.controlView.focusItem(e.target.selectedIndex-1)},onKeyDown:function(e){this.controlView.shadowDomKeyHandler(e)},onBlur:function(e){this.controlView.shadowDomBlur(e)},getFocusTarget:function(){return this.refs.input},onClickInput:function(e){this.controlView.onShowList()},onClickOption:function(e){this.controlView.focusItem(e.target.getAttribute("data-index"))}})}.call(t,n,t,e))||(e.exports=i)},9721:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl,l=DS.events;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccElso",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t,s,a],tabIndex:-1,expanded:!1,getInitialState:function(){return{expanded:!1}},componentDidMount:function(){this.listenTo(this.objModel,l.elso.TOGGLE_EXPANDED,this.onToggleExpanded)},componentWillUnmount:function(){this.stopListening()},onToggleExpanded:function(e){this.setState({expanded:e})}})}.call(t,n,t,e))||(e.exports=i)},3629:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863).accBase;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccImage",controlViewPath:["refs","innard"],mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t,o],tabIndex:-1,getFocusTarget:function(){return this.refs.focusTarget},hasZoom:function(){return"none"!==(this.objModel.get("zoomtype")||"none")},hasRelease:function(){var e=this.objModel.events();if(null!=e)return e.some((function(e){return"onrelease"===e.kind}))},getTabIndex:function(){return this.hasZoom()||this.hasRelease()?0:this.tabIndex},onClick:function(e){this.hasZoom()&&this.controlView.toggleZoom(),this.hasRelease()&&this.triggerDefaultAction()},onBlur:function(e){this.hasZoom()&&this.controlView.closeZoom()}})}.call(t,n,t,e))||(e.exports=i)},7572:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863).accBase,s=DS.events;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccMarker",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t,o],tabIndex:0,expanded:!1,getInitialState:function(){return{expanded:!1}},componentDidMount:function(){this.listenTo(this.props.relatedObject,s.elso.TOGGLE_EXPANDED,this.onToggleExpanded)},componentWillUnmount:function(){this.stopListening()},onToggleExpanded:function(e){this.setState({expanded:e})},onClick:function(e){this.triggerDefaultAction()}})}.call(t,n,t,e))||(e.exports=i)},5670:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,i=t.focusManager,r=t.pubSub,o=t.events,s=n(4585),a=n(3305),l=n(8698),c=n(8863).accBase;return DS.flagManager.dropInAcc&&(a=DS.DropIn),a.createClass({displayName:"AccModernVideo",controlViewPath:["refs","innard"],mixins:[DS.flagManager.dropInAcc?l.dropIn:l,s,c],tabIndex:-1,getInitialState:function(){return this.videoControls=this.controlView.getControls(),this.localWarning=this.controlView.getLocalWarning(),this.getState()},componentDidMount:function(){r.on(o.volume.CHANGED,this.onAppStateVolumeChanged),r.on(o.video.PIP_MODE_CHANGED,this.onPipModeChanged);var e=this.refs.seek;null!=e&&e.addEventListener("change",this.onSeekbarChanged)},componentDidUpdate:function(){null!=this.refs.playbackSpeed&&this.refs.playbackSpeed.updateState();var e=this.refs.seek;null!=e&&(e.value=this.state.elapsed)},componentWillUnmount:function(){r.off(o.volume.CHANGED,this.onAppStateVolumeChanged),r.off(o.video.PIP_MODE_CHANGED,this.onPipModeChanged);var e=this.refs.seek;null!=e&&e.removeEventListener("change",this.onSeekbarChanged)},clearFocusRect:function(){this.el.contains(document.activeElement)&&DS.focusManager.takeFocusOff()},getState:function(){return null!=this.localWarning?this.localWarning.getAccState():this.videoControls?this.videoControls.getAccState():{}},onButtonClicked:function(e){null!=this.videoControls&&this.videoControls.showControls(),this.triggerDefaultAction()},onSeekbarChanged:function(e){this.videoControls.showControls(),this.controlView.onAccShadowRangeChange(parseInt(this.refs.seek.value))},onPlayPauseClicked:function(e){this.videoControls.showControls(),this.videoControls.togglePlayback()},onMuteClicked:function(e){this.videoControls.showControls(),this.videoControls.toggleMute()},onVolumeChange:function(e){this.videoControls.showControls();var t=this.refs.volumeSlider.value/10;this.videoControls.setVolume(t)},onAppStateVolumeChanged:function(e){this.setState({volumeStrength:e})},onCaptionsClicked:function(e){this.videoControls.showControls(),this.videoControls.toggleCaptions()},onTranscriptClicked:function(e){this.videoControls.toggleTranscript()},onFullscreenClicked:function(e){this.videoControls.showControls(),this.videoControls.toggleFullScreen()},onPipClicked:function(e){this.videoControls.showControls(),this.videoControls.togglePip()},onPipModeChanged:function(){this.setState({isPipMode:this.controlView.isPipMode()})},onSettingsClicked:function(e){this.videoControls.showControls(),this.videoControls.openSettings()},onLearnMoreClicked:function(e){this.localWarning.learnMoreClicked(e)},takeControlFocus:function(e){var t=this.refs[e]||this.refs.videoButton;null!=t&&null!=t.focus&&(t.focus(),i.setFocusRectOn(t))},onFocus:function(e){null!=this.videoControls&&(null==e.target||e.target!==this.refs.volumeSlider&&e.target!==this.refs.mute?this.videoControls.closeVolumeSlider():this.videoControls.openVolumeSlider(),this.videoControls.showControls())}})}.call(t,n,t,e))||(e.exports=i)},5056:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863),s=o.accBase,a=o.accTextControl;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccRadio",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t,s,a],tabIndex:0,getInitialState:function(){return this.getState()},getState:function(){return{checked:this.isCheckedState()}},onClick:function(e){this.triggerDefaultAction()},getFocusTarget:function(){return this.refs.input}})}.call(t,n,t,e))||(e.exports=i)},1939:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698);return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccRadioGroup",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t],tabIndex:-1})}.call(t,n,t,e))||(e.exports=i)},6379:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698),o=n(8863).accBase;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccScrollarea",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t,o],controlViewPath:["refs","innard"],tabIndex:0,getInitialState:function(){return{canScroll:!1}},onKeyDown:function(e){this.controlView.scrollOnKey(e)},getScrollPercentage:function(){var e=this.controlView.contentheight()-this.controlView.height(),t=e>0;return this.state.canScroll!==t&&this.setState({canScroll:t}),e>0&&void 0!==this.controlView.lastScrollTop?Math.round(this.controlView.lastScrollTop/e*100):0},getAriaLabel:function(){var e=this.objModel.background();return void 0!==e&&e.vectorData?e.vectorData.altText:""}})}.call(t,n,t,e))||(e.exports=i)},4867:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),r=n(8698);return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({displayName:"AccSection",mixins:[DS.flagManager.dropInAcc?r.dropIn:r,t],tabIndex:-1,getInitialState:function(){return{expanded:!1}},componentDidMount:function(){var e=this;if(DS.flagManager.dropInCore)requestAnimationFrame((function(){var t=DS.utils.getPath(e,"props.slideObject.elso");e.listenTo(t,DS.events.elso.TOGGLE_EXPANDED,e.onToggleExpanded)}));else{var t=DS.utils.getPath(this,"props.slideObject.elso");this.listenTo(t,DS.events.elso.TOGGLE_EXPANDED,this.onToggleExpanded)}},onToggleExpanded:function(e){var t=this;requestAnimationFrame((function(){t.setState({expanded:e})}))}})}.call(t,n,t,e))||(e.exports=i)},92:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=DS,i=t._,o=t.resolver,s=(t.flagManager,t.detection),a=s.theme.isClassic,l=s.env.isPerpetual,c=t.pubSub,u=t.events,d=n(3305),h=n(8698),p=function(e){return i.uniqueId("".concat(e.toLowerCase().replace(" ","-"),"-"))};DS.flagManager.dropInAcc&&(d=DS.DropIn);var f=d.createClass({dropInSettings:{forceRebuild:!0,preferQueue:!0,noRebuildForProps:{winScale:!0}},displayName:"AccShadowDom",mixins:[DS.flagManager.dropInAcc?h.dropIn:h],getInitialState:function(){return this.slideObjects=[],this.radioGroups={},this.sections={},this.elsoLookup={},this.accessibles=[],DS.shadowDOM=this,this.removeLayerListener=c.addListener(u.layer.HIDE_OR_SHOW,this.onHideShowLayer),{children:[]}},componentWillUnmount:function(){this.destroyed=!0,this.removeLayerListener()},componentWillUpdate:function(){DS.flagManager.dropInAcc&&document.activeElement&&this.el.contains(document.activeElement)&&(this.lastFocusedId=document.activeElement.id)},componentDidUpdate:function(){var e=this;DS.flagManager.dropInAcc&&this.lastFocusedId&&requestAnimationFrame((function(){var t;null===(t=document.getElementById(e.lastFocusedId))||void 0===t||t.focus(),e.lastFocusedId=null}))},onHideShowLayer:function(){var e=this;DS.flagManager.dropInAcc||(this.setState({showHelperButton:!0}),clearTimeout(this.helperButtonId),this.helperButtonId=setTimeout((function(){e.destroyed||e.setState({showHelperButton:!1})}),200))},mapChildToAccType:function(e){return childMap[this.getAccType(e)]},getAccType:function(e){var t=e.get("kind");return null!=e.get("markerType")?"marker":"slidelayer"===t&&"dialog"===e.get("presentAs")?"dialog":!a&&!l&&"video"===t?"modernvideo":["video","image","threesixtyimage"].includes(t)?t:e.get("accType")||t},createOrAddToRadioGroup:function(e){var t=e.get("radioGroup")||i.uniqueId("none"),n=this.radioGroups[t];return null==n?(n={keyIdx:0,radios:[],name:t,id:p(t),kind:"radiogroup",tabIndex:Number.MAX_SAFE_INTEGER,addRadio:function(e){this.tabIndex=Math.min(this.tabIndex,e.prop("tabIndex")),e.accKey=this.keyIdx++,this.radios.push(e)},prop:function(e){return this[e]},get:function(e){return this[e]}},n.addRadio(e),this.radioGroups[t]=n,n):(n.addRadio(e),!1)},createOrAddToExpandingLabel:function(e,t){var n=this.sections[t.absoluteId];return null==n?(n={keyIdx:0,slideObjects:[],name:"Todo Elso Name",kind:"section",tabIndex:Number.MAX_SAFE_INTEGER,elso:null,addObject:function(e){this.tabIndex=Math.min(this.tabIndex,e.prop("tabIndex")),e.accKey=this.keyIdx++,this.slideObjects.push(e),e.isKind("expandinglabel")&&(this.elso=e)},prop:function(e){return this[e]},get:function(e){return this[e]}},n.addObject(e),this.sections[t.absoluteId]=n,n):(n.addObject(e),!1)},connectElsoMarkers:function(e,t){var n="marker"===t,i=n?"".concat(e.id,"_expandinglabel"):e.id,r=this.elsoLookup[i];null==r&&(r=this.elsoLookup[i]={}),r[n?"marker":"elso"]=e;var o=r,s=o.marker,a=o.elso;null!=s&&null!=a&&(s.relatedObject=a,a.relatedObject=s)},addAccEl:function(e,t){var n=this.getAccType(e),i=this.slideObjects.find((function(t){return"dialog"===t.kind&&e.getLayer&&t.slideLayer===e.getLayer()}));if("radio"!==n||(e=this.createOrAddToRadioGroup(e))){"marker"!==n&&"expandinglabel"!==n||this.connectElsoMarkers(e,n);var s=null==t?null:t.elsoId;if(null!=(s=s||("expandinglabel"===n?e.absoluteId:null))){var a=o.resolvePath(s);if(!(e=a.get("tabEnabled")?this.createOrAddToExpandingLabel(e,a):null))return}e.accKey=this.accessibles.length,"dialog"===n&&(e={slideLayer:e,children:[],kind:"dialog",tabIndex:e.tabIndex,accKey:e.accKey,prop:function(e){return this[e]},get:function(e){return this[e]}}),i?i.children.push(e):this.slideObjects.push(e);var l=this.accessibles.findIndex((function(t){return t.get("tabIndex")>e.get("tabIndex")}));-1===l&&(l=this.accessibles.length),this.accessibles.splice(l,0,e);for(var c=l;c<this.accessibles.length;c++)this.accessibles[c].accIdx=c;this.setState({children:r(this.slideObjects)})}},findChild:function(e){for(var t,n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=this.accessibles.length,a=r?s:i?o+1:s-o,l=0;l<a;l++)if(null!=(t=this.childAt(((n=(n=l)*(i?-1:1)+o)<0?n=s+n:n>=s&&(n-=s),n)))&&e(t))return t;return null},childAt:function(e){var t="acc-obj-".concat(e),n=this.refs[t];if(n)return n;for(var i=this.state.children.filter((function(e){return"dialog"===e.kind})),r=0;r<i.length;r++){var o=this.refs["acc-obj-".concat(i[r].accIdx)].refs[t];if(o)return o}},updateTabPosition:function(e){var t=this,n=0|e.objModel.accIdx;window.requestAnimationFrame((function(){var e=t.findChild((function(e){return!0===e.state.tabbable}),n-1,!0);null==e&&(e=t.findChild((function(e){return!0===e.state.tabbable}),n+1,!1)),null!=e&&e.takeFocus()}))},retainShadowFocus:function(e,t){var n=this;if(document.hasFocus()){if(!e&&null!=this.currFocusId){var i=this.findChild((function(e){return e.id===n.currFocusId}));if(null!=i&&i.state.tabbable)return;if(null!=i&&!i.state.tabbable){var r=this.findChild((function(e){return!0===e.state.tabbable}),i.props.idx+1);return void(null!=r&&r.takeFocus())}}var o=this.findChild((function(e){return!0===e.state.tabbable}));null!=o&&o.takeFocus(t)}},getCurrentShadowFocus:function(){var e=this,t=this.findChild((function(t){return t.id===e.currFocusId}));return t&&t.objView},onScroll:function(){this.el.scrollTop=0,this.el.scrollLeft=0}});return f}.call(t,n,t,e),void 0===i||(e.exports=i)},588:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS.detection,i=n(4585),r=n(3305),o=n(8698),s=n(8863).accBase;return DS.flagManager.dropInAcc&&(r=DS.DropIn),r.createClass({displayName:"AccSlider",mixins:[DS.flagManager.dropInAcc?o.dropIn:o,i,s],tabIndex:0,componentDidMount:function(){t.os.isIOS&&(this.checkInterval=setInterval(this.checkRange,100))},componentWillUnmount:function(){clearInterval(this.checkInterval)},getSlideable:function(){var e=(_.isEmpty(this.objView.decorators)?this.objModel.parent.currView:this.objView).decorators,t=e.slideable,n=e.rotatable;return t||n},getInitialState:function(){var e=this.getSlideable().getRangeAttributes();return{min:e.min,max:e.max,step:e.step,currValue:e.value,inverted:e.inverted}},onChange:function(e){this.skipRangeUpdate||this.getSlideable().onAccShadowRangeChange(parseFloat(this.el.value))},checkRange:function(){this.getSlideable().onAccShadowRangeChange(parseFloat(this.el.value))},viewChanged:function(e){this.skipRangeUpdate=!0,this.el.value=e,this.skipRangeUpdate=!1}})}.call(t,n,t,e))||(e.exports=i)},6160:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(8863).accBase;return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccTable",mixins:[DS.flagManager.dropInAcc?i.dropIn:i,r],getRows:function(){for(var e,t=this.props.slideObject.objects().slice(),n=[];t.length;){var i=t[0],r=i.data(),o=r.row;null!=i.imagelib()&&(e=r),null==n[o]&&(n[o]=[]),n[o].push(t.shift())}return n.forEach((function(e){e.sort((function(e,t){return e.data().col-t.data().col}))})),delete n[void 0],{rows:n,img:e}}})}.call(t,n,t,e))||(e.exports=i)},523:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(8863),o=r.accBase,s=r.accTextControl;return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccTableCell",mixins:[DS.flagManager.dropInAcc?i.dropIn:i,o,s]})}.call(t,n,t,e))||(e.exports=i)},7786:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(8863),o=r.accBase,s=r.accTextControl;return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccTableHeaderCell",mixins:[DS.flagManager.dropInAcc?i.dropIn:i,o,s]})}.call(t,n,t,e))||(e.exports=i)},3238:function(t,n,i){var r;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}r=function(t){"use strict";var n=i(4585),r=i(3305),o=i(8698),a=i(8863).accBase,u=i(7523).parseBlocks,d=i(8907),h=DS,p=h._,f=h.utils,g=f.pxify,m=f.getPath,v=h.svgUtils,S=h.appState,y=h.focusManager,b=h.pubSub,w=h.events;DS.flagManager.dropInAcc&&(r=DS.DropIn);var C=r.createClass({displayName:"AccText",controlViewPath:DS.flagManager.dropInVectors&&!DS.flagManager.dropInCore?["refs","innard","dropInView"]:["refs","innard"],mixins:[DS.flagManager.dropInAcc?o.dropIn:o,n,a],tabIndex:-1,normalizeBullets:!0,getFocusTarget:function(e){return null!=e&&"A"===e.tagName?e:this.refs.focusTarget},componentWillMount:function(){S.on(DS.events.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},componentWillUnmount:function(){S.off(DS.events.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},beforeInitState:function(){this.tabIndex=this.objModel.isEventable&&this.objModel.hasEvent("onkeypress")?0:-1,this.updateTextConfig()},getInitialState:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({accessibleTextOn:S.accessibleTextOn()},this.props.isTableChild?{tabbable:this.props.isTableChild}:{})},getScrollView:function(){return m(this,"controlView.refs.vtext.refs.scrollBar")},getScrollbarAttribs:function(){var e=this.getScrollView(),t=null==e||e.state.isHidden;return{tabIndex:t?-1:0,"aria-role":"scrollbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":null==e?0:e.state.percent,"aria-hidden":t,onFocus:this.onScrollbarFocus,onKeyDown:this.onScrollbarKeyDown}},getScrollbarStyle:function(){var e=16/this.props.winScale,t=this.getLayoutMetrics(),n=t.height,i=t.width,r=t.transform;return{width:g(e),height:g(n),transformOrigin:"".concat(-i,"px 0px"),transform:r,position:"absolute",right:g(16)}},onScrollbarFocus:function(e){var t=this.getScrollView();y.setFocusRectOn(this.refs.scrollbar,t.el.getBoundingClientRect()),e.stopPropagation()},onScrollbarKeyDown:function(e){var t=this.getScrollView();null!==t&&t.scrollOnKey(e)},onAccessibleTextChanged:function(e){var t=this;window.requestAnimationFrame((function(){return t.setState({accessibleTextOn:e})}))},getTextRotation:function(){return this.semanticTextConfig.rotation},getWidth:function(){var e=s(this.getRect(),4),t=e[0],n=(e[1],e[2]);e[3];return n-t},getHeight:function(){var e=s(this.getRect(),4),t=(e[0],e[1]);e[2];return e[3]-t},handleKeyboardClick:function(e,t){b.trigger(w.textItem.MOUSEDOWN,t,this.objModel.absoluteId,e),this.objView.textEvent("onlinkrelease",t)},onLinkClicked:function(t){b.trigger(w.textItem.MOUSEDOWN,t,this.objModel.absoluteId,e),this.objView.textEvent("onlinkrelease",t)},onFocus:function(e){b.trigger(w.textItem.MOUSEOVER,e.target.dataset.linkid,this.objModel.absoluteId,e)},onBlur:function(e){b.trigger(w.textItem.MOUSEOUT,e.target.dataset.linkid,this.objModel.absoluteId,e)},isLinkTabbable:function(){return!0},getLinkFocusRects:function(e){var t=this;if(this.state.accessibleTextOn)return null;var n=this.semanticTextConfig.origConfig.linkdata().find((function(t){if(t.get("id")===e.className)return t}));if(this.state.altTextOverridesText&&(n=this.getDefaultLink()),null==n)return null;var i=n.attributes.hotareas,r=d.getSlideMetrics(this.objView),o=function(e,n){return d.localPtToGlobal(t.objView,e,n,r)};return i.map((function(e){var t=e.xPos,n=e.yPos,i=e.width,r=e.height,s=o(t,n),a=o(t,n+r),l=o(t+i,n),c=o(t+i,n+r),u=Math.min(s.x,a.x,l.x,c.x),d=Math.min(s.y,a.y,l.y,c.y);return{left:u,top:d,width:Math.max(s.x,a.x,l.x,c.x)-u,height:Math.max(s.y,a.y,l.y,c.y)-d}}))},getLayoutMetrics:function(){var e=this,t=[],n=s(this.getRect(),2),i=n[0],r=n[1],o=s(["rotateXPos","rotateYPos","rotation","xPos","yPos"].map((function(t){return e.objModel[t]()})),5),a=o[0],l=o[1],c=o[2],u=o[3],d=o[4];0!==c&&t.push(v.transformTranslate(g(u-i),g(d-r)),v.transformTranslate(g(a),g(l)),v.transformRotate("".concat(c,"deg")),v.transformTranslate(g(-a),g(-l)));var h=s(["xPos","yPos","width","height"].map((function(t){return e.semanticTextConfig.origConfig[t]()})),4),p=h[0],f=h[1],m=h[2],S=h[3],y=this.getTextRotation(),b=function(e){return 270===e||90===e}(y),w=this.origTemplate.direction;t.push(v.transformTranslate(g("rotated90"===w?m+p:p),g("rotated270"===w?S+f:f))),0!==y&&t.push(v.transformRotate("".concat(y,"deg")));var C=this.getScrollView();return{width:(b?S:m)-(null==C||C.state.isHidden?0:15),height:b?m:S,transform:t.join(" ")}},getInnerProps:function(){var e=this.semanticTextConfig.origConfig.valign(),t="top"===e?"flex-start":"center"===e?"center":"flex-end",n=this.getLayoutMetrics(),i=n.height,r=n.width;return{display:"inline-flex",flexDirection:"column",transformOrigin:"0 0",width:r,height:i,minWidth:r,minHeight:i,transform:n.transform,justifyContent:t}},parseText:function(){this.updateTextConfig();var e=this.semanticTextConfig.origConfig;return null==e?{children:[]}:u(this.semanticTextConfig.varMethods.updateVarText(this.origTemplate),e.wordwrap()||S.accessibleTextOn(),e.textshadow())},updateTextConfig:function(){this.semanticTextConfig=this.objModel.semanticTextConfig||{origConfig:{vartext:p.noop,linkdata:function(){return[]}}},this.origTemplate=this.semanticTextConfig.origConfig.vartext()},getDefaultLink:function(){var e=this.semanticTextConfig.origConfig.linkdata();if(!(e.length<=0)){var t=JSON.stringify(this.semanticTextConfig.origConfig).includes('"flowDirection":"rightToLeft"')?p.gt:p.lt;return e.reduce((function(e,n){var i=p.first(e.get("hotareas")),r=p.first(n.get("hotareas"));return r.yPos<i.yPos||r.yPos===i.yPos&&t(r.xPos,i.xPos)?n:e}),{get:function(){return[{xPos:Number.MAX_SAFE_INTEGER,yPos:Number.MAX_SAFE_INTEGER}]}})}}});return C}.call(n,i,n,t),void 0===r||(t.exports=r)},5098:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(4585),i=n(3305),o=n(8698),s=n(1689),a=n(8863).accBase,l=DS,c=(l._,l.utils.pxify),u=l.dom,d=u.addClass,h=u.removeClass,p=u.getParentWithClass,f=l.globalEventHelper.addDocumentListener,g=l.pubSub,m=l.events,v=l.detection,S=DS.detection.deviceView.isDesktop&&DS.detection.theme.isUnified;return DS.flagManager.dropInAcc&&(i=DS.DropIn),i.createClass({dropInSettings:{useLegacySetState:!0},displayName:"AccTextInput",controlViewPath:["refs","innard"],mixins:[DS.flagManager.dropInAcc?o.dropIn:o,t,a],tabIndex:0,componentWillMount:function(){g.on(m.layer.STACKING_CHANGED,this.onStackingChanged),g.on(m.slideObject.TOGGLE_VISIBILITY,this.onSlideObjectToggleVisibility),g.on(m.elso.SHOW_CONTENT_START,this.onElsoShowContentStart),g.on(m.elso.HIDE_CONTENT_COMPLETE,this.onElsoHideContentComplete)},componentWillUnmount:function(){this.destroyed=!0,null!=this.removeBodyTouchListener&&(this.removeBodyTouchListener(),this.removeBodyTouchListener=null),g.off(m.layer.STACKING_CHANGED,this.onStackingChanged),g.off(m.slideObject.TOGGLE_VISIBILITY,this.onSlideObjectToggleVisibility),g.off(m.elso.SHOW_CONTENT_START,this.onElsoShowContentStart),g.off(m.elso.HIDE_CONTENT_COMPLETE,this.onElsoHideContentComplete)},onStackingChanged:function(){var e=this;window.requestAnimationFrame((function(){e.updateSpellcheckState();var t=e.objModel.getLayer();e.setState({enabled:!e.objModel.getSlide().slideLayers().hasModalLayerAbove(t)})}))},onSlideObjectToggleVisibility:function(){this.updateSpellcheckState()},onElsoShowContentStart:function(){this.setSpellCheckState(!1)},onElsoHideContentComplete:function(){this.updateSpellcheckState()},updateSpellcheckState:function(){var e=this;null!=this.spellCheckRequest&&window.cancelAnimationFrame(this.spellCheckRequest),this.spellCheckRequest=window.requestAnimationFrame((function(){e.destroyed||(e.spellCheckRequest=null,e.setSpellCheckState(e.calcSpellCheckValue()))}))},setSpellCheckState:function(e){this.state.spellcheck!==e&&(this.setState({spellcheck:e}),v.browser.isFF||this.updateInputForSpellCheckChange(e))},updateInputForSpellCheckChange:function(e){var t=this.getInput(),n=document.activeElement,i=!v.env.isRise||v.env.isRise&&null==n.querySelector("#focus-sink")&&null==n.querySelector("body"),r=null!=p(this.controlView.el,"scrollarea");t.value="",t.value=this.state.inputValue,e&&i&&!r&&(this.blurringForSpellCheck=!0,t.focus(),t.blur(),n.focus(),this.blurringForSpellCheck=!1)},calcSpellCheckValue:function(){return!(!this.objModel.getLayer().currView.trulyVisible||!this.objModel.currView.trulyVisible)&&(!this.objModel.getSlide().slideLayers().hasModalLayerAbove(this.objModel.getLayer())&&(!this.isCollidingWithLayerObject()&&!this.isCollidingWithActiveLayerObjects()))},isCollidingWithActiveLayerObjects:function(){var e=this,t=this.objModel.getSlide().slideLayers().activeLayers.filter((function(t){return t.attributes.depth>e.objModel.getLayer().attributes.depth}));return!(!t||0===t.length)&&t.flatMap((function(e){return e.objects().models})).some((function(t){return null!=t.currView&&s.getOverlapArea(e.objModel.currView,t.currView,[],!0)>50}))},isCollidingWithLayerObject:function(){var e=this,t=this.objModel.getFlattenedDepth();return this.objModel.getLayer().objects().some((function(n){return n.getFlattenedDepth()>t&&n.currView.trulyVisible&&s.getOverlapArea(e.objModel.currView,n.currView,[],!0)>50}))},getInitialState:function(){return this.tabIndex=this.objModel.get("tabEnabled")?0:-1,{placeholder:this.objModel.get("placeholder"),inputValue:(DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?this.controlView.dropInView.state.inputValue:this.controlView.state.inputValue)||""}},onInputChange:function(e){this.controlView.isValidEntry(e.target)&&(this.setState({inputValue:e.target.value}),this.controlView.onInputChange(e))},onBlur:function(e){this.blurringForSpellCheck||(this.controlView.onInputBlur(e),this.onTextSelectionChanged())},onFocus:function(e){null==this.removeBodyTouchListener&&(this.removeBodyTouchListener=f("touchstart",this.onBodyTouchStart,!0))},onBodyTouchStart:function(e){this.refs.input.contains(e.target)||(this.onBlur(),this.getFocusTarget().blur(),this.removeBodyTouchListener(),this.removeBodyTouchListener=null)},getState:function(){return{inputValue:DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?this.controlView.dropInView.state.inputValue:this.controlView.state.inputValue}},getInput:function(){return this.refs.input},isTextArea:function(){return this.controlView.isTextArea()},onKeyDown:function(e){this.controlView.onKeyDown(e)},onKeyUp:function(e){this.controlView.setPlayerProp("Text",e.target.value)},onTextMouseUp:function(e){0===e.button?this.objModel.executePlayerEvent("onrelease"):2===e.button&&this.objModel.executePlayerEvent("onrightrelease")},onDoubleClick:function(e){0===e.button&&this.objModel.executePlayerEvent("ondoubleclick")},getInputStyle:function(){var e=this.controlView.getInputStyle(!0,this.props.winScale),t=r(this.getRect(),4),n=t[0],i=t[1],o=t[2],s=t[3],a="PrintPromptSlide_Input"===this.id&&DS.detection.theme.isUnified;return Object.assign(e,{caretColor:e.color,transform:"scale(".concat(1/this.props.winScale,") ").concat(e.transform||""),width:c((S&&this.controlView.isTextArea()?-10:0)+(o-n-this.controlView.getScrollbarWidth())*this.props.winScale),height:c((s-i)*this.props.winScale),visibility:this.objView.trulyVisible?"visible":"hidden"},a?{left:n+47}:{})},getMaxChars:function(){return this.controlView.getMaxChars()},onBeginTextSelect:function(){var e=this;this.selecting=!0,this.removeSelectListener=f("mouseup",(function(){e.selecting=!1,e.removeSelectListener()})),window.requestAnimationFrame((function(){e.onTextSelectionChanged()}))},onTextSelectionChanged:function(){var e=this,t=this.getScrollInfo(),n=t.left,i=t.top;n===this.lastScrollLeft&&i===this.lastScrollTop||(this.controlView.scrollTo(n,i),this.lastScrollLeft=n,this.lastScrollTop=i),this.selecting&&window.requestAnimationFrame((function(){e.onTextSelectionChanged()}))},getScrollInfo:function(){if(null!=this.refs.input){var e=this.refs.input;return{left:e.scrollLeft,top:e.scrollTop}}return{left:0,top:0}},getFocusTarget:function(e){return null==e?this.refs.input:this.controlView.el},onScroll:function(){var e=this.getScrollInfo(),t=e.left,n=e.top;this.controlView.scrollTo(t,n)},setClickable:function(e){this.clickable!=e&&(this.clickable=e,(e?d:h)(this.getFocusTarget(),"acc-clickable"))}})}.call(t,n,t,e))||(e.exports=i)},9697:function(e,t,n){var i;function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(4585),i=n(3305),s=n(8698),a=n(1504),l=n(8863),c=l.accBase,u=(l.accTextControl,DS),d=u.events,h=u.stringTabler,p=u.utils,f=u.dom,g=u.pubSub,m=u.detection,v=u.constants.keys,S=v.UP,y=v.DOWN,b=v.LEFT,w=v.RIGHT,C=v.ESCAPE,x=v.TAB,D=87,E=65,T=83,P=68,I="free";DS.flagManager.dropInAcc&&(i=DS.DropIn);var A=i.createClass({displayName:"AccThreeSixtyImage",mixins:[DS.flagManager.dropInAcc?s.dropIn:s,t,c,a],tabIndex:0,getInitialState:function(){return{innerHtml:""}},onInterceptShadowFocus:function(e){var t=this;if(e.target===this.el&&!this.el.contains(e.relatedTarget)&&null!=this.currentFocusedElement)return this.currentFocusedElement.target.focus(),void(this.currentFocusedElement=void 0);var n=e.target.dataset.markerId;if(DS.flagManager.dropInAcc||e.persist(),this.wasFocusedByClick=!1,this.focusByClick)return this.currentFocusedElement=void 0,this.focusByClick=!1,void(this.wasFocusedByClick=!0);if(e.target===this.el)return m.deviceView.isMobile||(this.refs.status.innerHTML=this.innard.image3d.getVerboseNavigationText(!0)),void this.shadowFocus(e);if(this.refs.status.innerHTML="",f.hasClass(e.target,"acc-three-sixty-media-img")||f.hasClass(e.target,"acc-three-sixty-media-panel-button")||f.hasClass(e.target,"acc-three-sixty-media-play-audio"))return this.shadowFocus(e),void(this.currentFocusedElement=e);if(null!=e.target.dataset.parentMarkerId){var i=e.target.dataset.parentMarkerId,r=this.innard.image3d.sprites[i],o=null!=r&&r.userData.cssMarker;if(f.hasClass(e.target,"acc-three-sixty-hotspot-hint"))return this.innard.image3d.hideLastPanel(),this.sizeChildToAbsRect(o.hotspotHint.iconEl,e.target),this.shadowFocus(e),void(this.currentFocusedElement=e);if(f.hasClass(e.target,"acc-three-sixty-hotspot-hint-tip"))return this.innard.image3d.hideLastPanel(),this.sizeChildToAbsRect(o.hotspotHint.contentEl,e.target),this.shadowFocus(e),void(this.currentFocusedElement=e)}if(f.hasClass(e.target,"acc-three-sixty-nav-btn")){var s=f.hasClass(e.target,"acc-three-sixty-nav-prev");return this.refs.status.innerHTML=s?"":this.innard.image3d.getVerboseNavigationText(),this.sizeChildToAbsRect(this.innard.image3d.navUi[s?"threeGuidedLeftBtnEl":"threeGuidedRightBtnEl"],e.target),this.shadowFocus(e),void(this.currentFocusedElement=e)}if(!n)return this.shadowFocus(e),void(this.currentFocusedElement=e);var a=this.innard.image3d.sprites[n],l=p.getPath(a,"userData.cssMarker.panel"),c=this.innard.image3d.lastPanel();if(null!=c&&c!=l&&c.hide(),Object.keys(this.innard.image3d.markersByIdx).forEach((function(e){var n=t.innard.image3d.markersByIdx[e];n.wasFocusedByClick&&Object.assign(n.accChildEl.style,{left:null,top:null,width:null,height:null})})),this.innard.image3d.setCurrMarker(a),this.innard.image3d.navigation.type===I){null!=l&&"hidden"!=l.el.style.visibility?(this.showPanel(l,0),this.shadowFocus({target:l.accChildEl})):this.panToMarker(e,n),null!=this.innard.image3d.freeAccShowMarkers&&(this.innard.image3d.freeAccShowMarkers(),this.innard.image3d.freeAccShowMarkers=null)}else{var u=p.getPath(a,"userData.cssMarker.panel");null!=u&&u.shown?this.showPanel(u,0):this.panToMarker(e,n)}},panToMarker:function(e,t){var n=this;this.innard.image3d.panToMarker(t,!0,(function(){null!=e.target.dataset.markerId&&(n.shadowFocus(e),n.currentFocusedElement=e)}))},sizeChildToAbsRect:function(e,t,n){var i=null==e.tagName?e:e.getBoundingClientRect(),r=1/this.objView.props.winScale,o=(n||this.innard.refs.glEl).getBoundingClientRect(),s=i.left-o.left,a=i.top-o.top,l=i.width,c=i.height;Object.assign(t.style,{left:"".concat(s*r,"px"),top:"".concat(a*r,"px"),width:"".concat(l*r,"px"),height:"".concat(c*r,"px")})},componentWillMount:function(){this.objModel.on(d.threeSixtyImage.READY,this.onChildrenReady)},componentDidMount:function(){var e=this;this.keys={},this.htmlReady((function(){e.innard=DS.flagManager.dropInBase&&!DS.flagManager.dropInCore?e.objModel.currView.refs.innard.dropInView:e.objModel.currView.refs.innard,e.innard.el.addEventListener("mousedown",e.onDown),document.addEventListener("keydown",e.onKeyDownDoc),document.addEventListener("keyup",e.onKeyUp),e.loop()})),this.el.addEventListener("click",this.onClick),window.addEventListener("resize",this.onResize),g.on(d.threeSixtyImage.MEDIA_CLOSED,this.onMediaOverlayClosed),g.on(d.skipNav.FOCUSED,this.onSkipNavFocused)},onResize:function(){var e=this;m.deviceView.isMobile&&(clearTimeout(this.resizeId),this.resizeId=setTimeout((function(){return e.positionNavRects()}),300))},positionNavRects:function(){var e=this.el.querySelector(".acc-three-sixty-nav-next"),t=this.el.querySelector(".acc-three-sixty-nav-prev");null!=t&&this.sizeChildToAbsRect(this.innard.image3d.navUi.threeGuidedLeftBtnEl,t),null!=e&&this.sizeChildToAbsRect(this.innard.image3d.navUi.threeGuidedRightBtnEl,e)},onSkipNavFocused:function(){this.innard.image3d.hideLastPanel()},onDown:function(e){("CANVAS"===e.target.tagName||f.hasClass(e.target,"three-nav-content"))&&(this.currentFocusedElement=null,this.allowArrowKeys=!0)},onMediaOverlayClosed:function(){this.imageMediaOpen=!1;var e=this.innard.image3d;if(m.os.isAndroid){var t=document.querySelector(".panel-el.panel-shown .panel-title");null!=t&&t.focus()}else if(!m.device.isMobile&&f.closest(document.activeElement,(function(e){return f.hasClass(e,"panel-media-overlay")}))){var n=e.lastPanel();if(null!=n&&null!=n.accChildEl&&n.shown)n.accChildEl.focus();else{var i=e.sprites[this.imageMediaMarkerId],r=p.getPath(i,"userData.cssMarker");null!=r&&(r.accChildEl.focus(),this.onClick({target:r.accChildEl}))}}},clickVideoMedia:function(e,t){var n=this;if(e.target.dataset.isMediaVideo)return t.videoOpenedWithAcc=!0,t.showMediaType("video"),setTimeout((function(){var t=document.querySelector(".panel-video-container");null!=t&&(n.imageMediaOpen=!0,n.imageMediaMarkerId=e.target.dataset.markerId,t.focus(),window.requestAnimationFrame((function(){n.shadowFocus({target:t})})))}),100),!0},clickImageMedia:function(e,t){var n=this;if(e.target.dataset.isMediaImg){e.target;t.showMediaType("image");var i=document.querySelector(".panel-image-container");if(null!=i)return this.imageMediaOpen=!0,this.imageMediaMarkerId=e.target.dataset.markerId,i.focus(),window.requestAnimationFrame((function(){n.shadowFocus({target:i})})),!0}},onAudioSlider:function(e){var t=this;null!=this.lastOpenPanel&&(null!=this.lastOpenPanel.audioPlayer&&this.lastOpenPanel.audioPlayer.playing&&(clearTimeout(this.resumeAudioId),this.resumeAudioId=setTimeout((function(){t.lastOpenPanel.onPlayMedia()}),2e3)),this.lastOpenPanel.onPauseMedia(!0),this.lastOpenPanel.audioPlayer.seek(1e3*e.target.value),this.updateAudioTime(parseFloat(e.target.value),!0))},getReadableTime:function(e){var t=h.getString("progress_hours"),n=h.getString("progress_minutes"),i=h.getString("progress_seconds"),r=h.getString("progress_hour"),s=h.getString("progress_minute"),a=h.getString("progress_second"),l=new Date(1e3*e).toISOString().substr(11,8).split(":"),c="";if(l.length>0){var u=o(l.map((function(e){return e.replace(/^0+/,"")})),3),d=u[0],p=u[1],f=u[2];d.length>0&&(c+="".concat(d," ").concat(1==d?r:t,", ")),p.length>0&&(c+="".concat(p," ").concat(1==p?s:n,", ")),f.length>0&&(c+="".concat(f," ").concat(1==f?a:i))}return c},updateAudioTime:function(e,t){var n=this.getReadableTime(e);(this.lastAudioSlider==document.activeElement||t)&&(this.refs.status.innerHTML=n),null!=p.getPath(this,"lastOpenPanel.panelAudioSeekFillEl")&&(this.lastAudioSlider.value=parseFloat(this.lastOpenPanel.panelAudioSeekFillEl.getAttribute("aria-valuenow")))},clickAudioMedia:function(e,t){if(e.target.dataset.isMediaAudio)return t.onClickPlayMedia(),!0},clickPanelButton:function(e,t){return!!e.target.dataset.isPanelButton&&(t.panelButton.onClick(),!0)},clickNavBtn:function(e){var t=this.innard.image3d;if("true"!==e.target.getAttribute("aria-disabled")&&(t.focusPanelOnShow=!0,t.isAccNav=!0,t.hideLastPanel(),f.hasClass(e.target,"acc-three-sixty-nav-prev")?(t.goPrevGuidedClick(e),null==t.prevMarker.hotspotHint&&(null==t.prevMarker.panel?t.prevMarker.accChildEl.focus():t.prevMarker.accChildEl.setAttribute("aria-expanded",!0))):f.hasClass(e.target,"acc-three-sixty-nav-next")&&(t.goNextGuidedClick(e),null==t.nextMarker.hotspotHint&&(null==t.nextMarker.panel?t.nextMarker.accChildEl.focus():t.nextMarker.accChildEl.setAttribute("aria-expanded",!0))),t.isAccNav=!1,t.nextMarker.hotspotHint)){var n=t.nextMarker.id,i=this.el.querySelector('[data-parent-marker-id="'.concat(n,'"]'));null!=i&&(i.focus(),this.shadowFocus({target:i}))}},syncHotspotHint:function(e){r(document.querySelectorAll(".acc-three-sixty-hotspot-hint-tip")).forEach((function(t){"block"===t.style.display&&-1===t.id.indexOf(e.id)&&(t.style.display="none")})),e.hotspotHint.opened?(e.accHotspotHintBubbleEl.removeAttribute("aria-hidden"),e.accHotspotHintBubbleEl.style.display="block",e.accHotspotHintBubbleEl.focus(),e.accHotspotHintEl.setAttribute("aria-pressed","true")):(e.accHotspotHintBubbleEl.setAttribute("aria-hidden","true"),e.accHotspotHintEl.setAttribute("aria-pressed","false"),e.accHotspotHintBubbleEl.style.display="none")},clickHotspotHint:function(e,t){var n=this;this.innard.image3d.hideLastPanel(),t.hotspotHint.onMarkerClicked(e),"false"===e.target.getAttribute("aria-pressed")?(t.accHotspotHintBubbleEl.removeAttribute("aria-hidden"),window.requestAnimationFrame((function(){t.accHotspotHintBubbleEl.style.display="block",t.accHotspotHintBubbleEl.focus(),n.shadowFocus({target:t.accHotspotHintBubbleEl})})),e.target.setAttribute("aria-pressed","true")):(t.accHotspotHintBubbleEl.setAttribute("aria-hidden","true"),e.target.setAttribute("aria-pressed","false"),t.accHotspotHintBubbleEl.style.display="none")},onClick:function(e){var t=this.innard.image3d,n=e.target.dataset.markerId||e.target.dataset.parentMarkerId,i=this.innard.image3d.sprites[n],r=null!=i&&i.userData.cssMarker;if(f.hasClass(e.target,"acc-three-sixty-hotspot-hint"))this.clickHotspotHint(e,r);else if(f.hasClass(e.target,"acc-three-sixty-nav-btn"))this.clickNavBtn(e);else if(null!=i){var o=null!=r&&r.panel;if(!(this.clickVideoMedia(e,o)||this.clickImageMedia(e,o)||this.clickAudioMedia(e,o)||this.clickPanelButton(e,o))){var s=i.userData.cssMarker.polyHotspot;if(null!=n&&null!=i&&null!=o){if(null!=s)if(o.shown)r.panel.hide();else{var a=t.vecToScreenPosition(s.getCenterPoint(s.shapeMesh));r.panel.show(!0,a)}else o[o.shown?"hide":"show"]();r.addToVisitedMarkers(),this.showPanel(o)}else null!=r&&r.addToVisitedMarkers();this.handleShowTrigger({panel:o,sprite:i,marker:r})}}},handleShowTrigger:function(e){var t=e.panel,n=e.sprite,i=e.marker;(null==t||p.getPath(t,"shown"))&&(n.userData.cssMarker.visited=!0,this.refs.status.innerHTML=this.innard.image3d.getVerboseNavigationText(),i.triggerEvent("onlinkrelease",n.userData.id)),i.isHotspot()&&(i.pano.hotspotLayer.currHotspot=i.polyHotspot)},showPanel:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!m.deviceView.isPhone&&(this.panelOpen=e.shown,this.lastOpenPanel=e,e.shown)){this.sizeChildToAbsRect(e.el,e.accChildEl);var i=e.accChildEl;this.sizeChildToAbsRect(e.titleEl,i.firstElementChild,e.el),null!=e.mediaImageEl&&this.sizeChildToAbsRect(e.mediaImageEl,i.querySelector(".acc-three-sixty-media-img"),e.el),null!=e.mediaVideoPosterEl&&this.sizeChildToAbsRect(e.mediaVideoPosterEl,i.querySelector(".acc-three-sixty-media-img"),e.el),null!=e.panelButton&&this.sizeChildToAbsRect(e.panelButton.el,i.querySelector(".acc-three-sixty-media-panel-button"),e.el),null!=e.mediaAudioEl&&(this.sizeChildToAbsRect(e.panelAudioPlayEl,i.querySelector(".acc-three-sixty-media-play-audio"),e.el),this.sizeChildToAbsRect(e.panelAudioSeekEl,i.querySelector(".acc-audio-slider"),e.el),null!=this.lastAudioSlider&&(this.lastAudioSlider.removeEventListener("input",this.onAudioSlider),this.lastAudioSlider.removeEventListener("change",this.onAudioSlider)),this.lastAudioSlider=i.querySelector(".acc-audio-slider"),null!=this.lastAudioSlider&&(this.lastAudioSlider.addEventListener("input",this.onAudioSlider),this.lastAudioSlider.addEventListener("change",this.onAudioSlider),null!=p.getPath(this,"lastOpenPanel.panelAudioSeekFillEl")&&(this.lastAudioSlider.setAttribute("max",this.lastOpenPanel.panelAudioSeekFillEl.getAttribute("aria-valuemax")),this.lastAudioSlider.setAttribute("value",this.lastOpenPanel.panelAudioSeekFillEl.getAttribute("aria-valuenow"))))),this.sizeChildToAbsRect(e.bodyEl,i.querySelector(".three-sixty-panel-body"),e.el),n&&setTimeout((function(){e.accChildEl.focus()}),null!=t?t:500)}},onChildrenReady:function(e){var t=e.getAccHtml(),n=e.getVerboseNavigationText(!0);this.setState({fullLabel:n,innerHtml:t})},componentDidUpdate:function(){this.state.innerHtml.length>0&&null!=this.innard&&null!=this.innard.image3d&&(this.innard.image3d.connectAccChildren(this,this.refs.accChildren),m.deviceView.isMobile&&this.positionNavRects())},loop:function(){var e,t=this.innard.image3d;(this.keys[w]||this.keys[P])&&(e=t.changeLocX(-2)),(this.keys[b]||this.keys[E])&&(e=t.changeLocX(2)),(this.keys[S]||this.keys[D])&&(e=t.changeLocY(2)),(this.keys[y]||this.keys[T])&&(e=t.changeLocY(-2)),e&&null!=document.activeElement&&document.activeElement!=this.el&&(t.hideLastPanel(),this.el.focus()),this.loopId=window.requestAnimationFrame(this.loop)},controlTabOrder:function(e){var t=document.activeElement,n="".concat(e?"prev":"next","El");if(null!=t&&null!=t.dataset[n]){for(var i,r=t.dataset[n].split(/\,\s+/),o=0;o<r.length&&(null==(i=document.querySelector(r[o]))||"none"==i.style.display);o++);null!=i&&(i.focus(),this.shadowFocus({target:i}))}},onKeyDownDoc:function(e){if(this.state.tabbable){var t=this.innard.image3d;if(t.hotspotReveal||(t.isNavigationPan=!1),this.imageMediaOpen&&e.keyCode===x)this.controlTabOrder(e.shiftKey);else{var n=!1,i=null!=document.activeElement&&f.hasClass(document.activeElement,"slide-object-threesixtyimage");if(t.navigation.type===I){if(e.keyCode===x&&!this.panelOpen){var r=t.getCentermostMarker();null!=r&&null!=r.accChildEl&&r!=p.getPath(t,"currMarker.userData.cssMarker")&&(e.preventDefault(),r.accChildEl.focus(),n=!0)}if(!n&&null!=t.lastMarkerClicked&&e.keyCode===x&&t.navigation.type===I){var o=t.markersByIdx[t.lastMarkerClicked.idx+1];null!=o&&(e.preventDefault(),o.accChildEl.focus()),t.lastMarkerClicked=null}}else if(e.keyCode===x&&i){var s=t.markersByIdx[t.markerIdxInView];null!=s&&(e.preventDefault(),s.accChildEl.focus())}var a=null!=document.activeElement&&f.hasClass(document.activeElement,"acc-three-sixty-marker")&&"true"!=document.activeElement.getAttribute("aria-expaned");(this.allowArrowKeys||document.activeElement===this.el||a)&&this.keyDown(e)}}},isArrowKey:function(e){var t=this;return[b,w,y,S,D,E,T,P].some((function(e){return t.keys[e]}))},keyDown:function(e){var t=this.innard.image3d;p.getPath(t,"currMarker.userData.cssMarker.panel.shown")||(this.keys[e.keyCode]=!0,null==t||null==document.activeElement||f.hasClass(document.activeElement,"acc-three-sixty-image")||!this.isArrowKey()||(this.keys[e.keyCode]=!1))},onKeyUp:function(e){var t=this.innard.image3d,n=document.querySelector(".three-sixty-image-media-panel-overlay");if(e.keyCode===C&&null==n)return this.el.focus(),this.shadowFocus({target:this.el}),void t.hideLastPanel();null!=document.activeElement&&!f.hasClass(document.activeElement,"acc-three-sixty-image")&&this.isArrowKey()||((this.keys[w]||this.keys[P])&&(this.refs.status.innerHTML=h.getString("three_image_camera_right")),(this.keys[b]||this.keys[E])&&(this.refs.status.innerHTML=h.getString("three_image_camera_left")),(this.keys[S]||this.keys[D])&&(this.refs.status.innerHTML=h.getString("three_image_camera_up")),(this.keys[y]||this.keys[T])&&(this.refs.status.innerHTML=h.getString("three_image_camera_down")),this.keys[e.keyCode]=!1)},componentWillUnmount:function(){null==this.innard&&DS.flagManager.dropInAcc||(window.cancelAnimationFrame(this.loopId),window.removeEventListener("resize",this.onResize),null!=this.lastAudioSlider&&(this.lastAudioSlider.removeEventListener("change",this.onAudioSlider),this.lastAudioSlider.removeEventListener("input",this.onAudioSlider)),this.innard.el.removeEventListener("mousedown",this.onDown),document.removeEventListener("keydown",this.onKeyDownDoc),document.removeEventListener("keyup",this.onKeyUp),g.off(d.threeSixtyImage.MEDIA_CLOSED,this.onMediaOverlayClosed),g.off(d.skipNav.FOCUSED,this.onSkipNavFocused))}});return A}.call(t,n,t,e),void 0===i||(e.exports=i)},7056:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS.focusManager,i=n(4585),r=n(3305),o=n(8698),s=n(8863).accBase,a=n(8907);return DS.flagManager.dropInAcc&&(r=DS.DropIn),r.createClass({displayName:"AccVideo",controlViewPath:["refs","innard"],mixins:[DS.flagManager.dropInAcc?o.dropIn:o,i,s],tabIndex:-1,getInitialState:function(){return DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore&&(this.controlView=this.controlView.dropInView),this.videoControls=this.controlView.refs.controls,this.getState()},getState:function(){return{playLabel:null!=this.videoControls?this.videoControls.props.isPlaying?this.videoControls.state.i18nacc_pause:this.videoControls.state.i18nacc_play:null,seekLabel:"seek bar",duration:this.controlView.state.duration,elapsed:this.controlView.state.currentTime,playRect:this.getRectByRef("playPause"),seekRect:this.getRectByRef("progressBar")}},getRectByRef:function(e){if(null!=this.videoControls){var t=this.videoControls.refs[e].getBoundingClientRect(),n=t.top,i=t.left,r=t.bottom,o=t.right,s=a.globalPtToSlideObject(this.objView,i,n),l=a.globalPtToSlideObject(this.objView,o,r);return[s.x,s.y,l.x,l.y]}},onButtonClick:function(e){this.triggerDefaultAction()},onPlayPauseClick:function(e){this.videoControls.props.toggleVideoControls()},onSeekbarChange:function(e){this.controlView.onAccShadowRangeChange(parseInt(this.refs.progressBar.value))},takeControlFocus:function(e){this.refs[e].focus(),t.setFocusRectOn(this.refs[e])}})}.call(t,n,t,e))||(e.exports=i)},4646:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,o=r.keyManager,s=r.globalEventHelper.addDocumentListener;return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccVideoButtonMenuPopup",mixins:[DS.flagManager.dropInAcc?i.dropIn:i],getInitialState:function(){this.props.controlView.registerAccView(this);var e=this.props.controlView.getAccState();return e.currentIndex=this.getSelectedItemIndex(e),e},componentDidMount:function(){var e=this.refs.menu;e.addEventListener("focusin",this.onMenuFocusIn),e.addEventListener("focusout",this.onMenuFocusOut)},componentDidUpdate:function(){this.state.isOpen||this.refs.menu.contains(document.activeElement)&&this.takeControlFocus("button")},componentWillUnmount:function(){var e=this.refs.menu;e.removeEventListener("focusin",this.onMenuFocusIn),e.removeEventListener("focusout",this.onMenuFocusOut)},updateState:function(){DS.flagManager.dropInVideo&&!this.isMounted()||this.setState(this.props.controlView.getAccState())},takeControlFocus:function(e){var t=this;"button"===e?this.refs.button.focus():window.requestAnimationFrame((function(){t.state.isOpen&&t.getItemByIndex(t.state.currentIndex).focus()}))},onButtonClicked:function(){this.props.controlView.toggleOpen()},handleOptionSelected:function(e){this.props.controlView.setSelected(e)},onMenuFocusIn:function(){this.isFocused||(this.isFocused=!0,this.currentIndex=this.getSelectedItemIndex(),this.removeKeyListener=s("keydown",this.onKeyDown))},onMenuFocusOut:function(e){if(this.isFocused){var t=this.props.controlView.el,n=this.props.controlView.menuContainer;this.isFocused=!1,this.removeKeyListener(),null!=e.relatedTarget&&(this.el.contains(e.relatedTarget)||t.contains(e.relatedTarget)||null!=n&&n.contains(e.relatedTarget))||this.props.controlView.closePanel()}},getSelectedItemIndex:function(e){var t=e||this.state;return t.options.findIndex((function(e){return e.value===t.currentChoice}))},getItemByIndex:function(e){return this.refs["option-".concat(e)]},onKeyDown:function(e){var t=this.state.options.length,n=this.state.currentIndex;o.isDownishKey(e.which)?n++:o.isUpishKey(e.which)?n--:o.isHomeKey(e.which)?n=0:o.isEndKey(e.which)&&(n=t-1),n>=t&&(n=0),n<0&&(n=t-1),n!==this.state.currentIndex&&(e.preventDefault(),this.setState({currentIndex:n}),this.getItemByIndex(n).focus())}})}.call(t,n,t,e))||(e.exports=i)},8863:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(5238),i=n(7523).parseBlocks,o=DS,s=o._,a=o.utils,l=a.getPath,c=a.pxify,u=o.events,d=o.flagManager,h=o.focusManager,p=o.keyManager,f=o.pubSub,g=o.dom,m=o.appState;return{accBase:{getInitialState:function(){var e=this;return null==this.getWidth&&(this.getWidth=function(){var t=r(e.getRect(),4),n=t[0],i=(t[1],t[2]);t[3];return i-n}),null==this.getHeight&&(this.getHeight=function(){var t=r(e.getRect(),4),n=(t[0],t[1]);t[2];return t[3]-n}),this.objView=this.props.slideObject.currView,this.controlView=l(this.objView,this.controlViewPath),this.objModel=this.props.slideObject,this.id=this.objModel.id,this.objView.accShadowView=this,this.scrollParent=this.objModel.getClosestAncestorByKind("scrollarea"),null!=this.beforeInitState&&this.beforeInitState(),{rect:this.objView.trulyVisible?t.getBounds(this.objView):null,label:this.getLabel(),altTextOverridesText:this.objView.state.altTextOverridesText,tabbable:this.getTabbable(),tabIndex:this.tabIndex,depth:this.objModel.getFlattenedDepth?this.objModel.getFlattenedDepth():0}},getRect:function(){return null==this.state.rect?[0,0,0,0]:this.state.rect},getBaseAccAttribs:function(){return{id:"acc-".concat(this.id),tabIndex:this.tabIndex,onFocus:this.onShadowFocus,onBlur:this.onShadowBlur,onKeyDown:this.onShadowKeyDown,disabled:DS.flagManager.dropInAcc?!this.objView.isEnabled()||null:!this.state.enabled||null,"aria-hidden":!this.state.tabbable||null,"data-represents":this.objModel.absoluteId}},hasVarText:function(){return null!=l(this,"semanticTextConfig.origConfig.vartext")},getBaseAccStyle:function(){var e=r(this.getRect(),2),t=e[0],n=e[1];return{left:c(t),top:c(n),width:c(this.getWidth()),height:c(this.getHeight()),visibility:this.state.tabbable?"visible":"hidden",zIndex:this.state.depth}},componentWillMount:function(){var e=this;this.objModel.on("trueVisibilityChanged",this.onVisibilityChange),this.objModel.on(u.slideObject.TRANSFORM_DIRTY,this.onTransformDirty),d.multiLangSupport&&this.objModel.hasLocalizedText()&&(this.removeLocalizationListener=f.addListener(u.localization.LANGUAGE_UPDATED,(function(t){e.setState({currLangCode:t})}))),f.on(u.layer.STACKING_CHANGED,this.onDepthChanged)},componentDidMount:function(){this.associatedElso=this.getAssociatedElso(this.objModel)},onDepthChanged:function(){this.setState({depth:this.objModel.getFlattenedDepth()})},componentWillUnmount:function(){f.off(u.layer.STACKING_CHANGED,this.onDepthChanged),this.objModel.off("trueVisibilityChanged",this.onVisibilityChange),this.objModel.off(u.slideObject.TRANSFORM_DIRTY,this.onTransformDirty),null!=this.removeLocalizationListener&&this.removeLocalizationListener()},componentDidUpdate:function(e,t){null==this.focusedEl||s.isEqual(t.rect,this.state.rect)||h.setFocusRectOn(this.focusedEl)},onStateChanged:function(e,t){var n={enabled:this.objView.isEnabled(),tabbable:this.getTabbable(),label:this.getLabel()};!n.tabbable&&this.state.tabbable&&this.props.shadowDom.currFocusId===this.id&&this.props.shadowDom.updateTabPosition(this),null!=this.getState&&Object.assign(n,this.getState(t)),DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore?this.isMounted()&&this.setState(n):this.setState(n)},shadowFocus:function(e){null!=this.scrollParent&&this.objView.props.onScrollFocus(this.objView),null!=this.onFocus&&this.onFocus(e),this.focusedEl=null!=this.getFocusTarget?this.getFocusTarget(e.target):e.target;var t=null!=this.getLinkFocusRects?this.getLinkFocusRects(this.focusedEl):null;h.setFocusRectOn(this.focusedEl,t,2),this.props.shadowDom.currFocusId=this.id,this.isRelatedToElso(this.objModel)&&!this.focusFromSlideLayer&&this.objModel.parent.executePlayerEvent("onrollover"),this.focusFromSlideLayer=!1},onShadowFocus:function(e){null==this.onInterceptShadowFocus?this.shadowFocus(e):this.onInterceptShadowFocus(e)},onShadowKeyDown:function(e){null!=this.onKeyDown&&this.onKeyDown(e),p.executeKeypressEvent(this.objModel,e)},isRelatedToElso:function(e){return null!=e.relatedObject&&e.relatedObject.isKind("expandinglabel")},getAssociatedElso:function(e){if(null==e||!e.isKind)return null;if(e.isKind("expandinglabel"))return e;var t=e.getClosestAncestorByKind?e.getClosestAncestorByKind("expandinglabel"):null;return null==t&&this.isRelatedToElso(e)&&(t=e.relatedObject),t},onShadowBlur:function(e){if(null!=this.onBlur&&this.onBlur(e),h.takeFocusOff(this.focusedEl),this.focusedEl=null,null!=this.associatedElso){var t=e.relatedTarget||document.activeElement,n=g.mapShadowToModel(t),i=this.getAssociatedElso(n),r=this.associatedElso.currView.el;i===this.associatedElso||t.hasAttribute("data-top-level")||r.contains(t)||r.contains(DS.utils.fullScreen.getEl())||this.associatedElso.currView.refs.innard.hideComplete()}},onVisibilityChange:function(e){var n={tabbable:this.getTabbable()};e&&null==this.state.rect&&(n.rect=t.getBounds(this.objView)),this.setState(n)},onTransformDirty:function(){var e=this;DS.flagManager.dropInVectors&&!DS.flagManager.dropInCore?requestAnimationFrame((function(){return e.setState({rect:e.getBounds()})})):this.setState({rect:this.getBounds()})},getTabbable:function(){return!this.objView.props.tabIndexDisabled&&this.objView.trulyVisible&&this.objModel.get("tabEnabled")&&(null==this.isTabbable||this.isTabbable())},getBounds:function(){return t.getBounds(this.objView)},getLabel:function(){return this.objView.getAccessibleText()},takeFocus:function(e){var t=this;this.focusFromSlideLayer=e,!DS.flagManager.dropInAcc&&DS.flagManager.dropInCore?requestAnimationFrame((function(){l(t,"getFocusTarget",t.el).focus({preventScroll:!0})})):l(this,"getFocusTarget",this.el).focus({preventScroll:!0})},isCheckedState:function(){var e=this.objModel.getCurrentStateData();return null!=e&&(16&e.accState)>0},triggerDefaultAction:function(){var e=this.objModel.get("defaultAction")||"onrelease",t=this.objModel;do{t.isEventable&&s.some(t.events(),{kind:e})&&t.executePlayerEvent(e),t=t.parent}while(null!=t&&!t.isKind("expandinglabel"))}},accTextControl:{beforeInitState:function(){this.updateTextConfig()},parseText:function(){this.updateTextConfig();var e=this.semanticTextConfig.origConfig;return null==e?{children:[]}:i(this.semanticTextConfig.varMethods.updateVarText(this.origTemplate),e.wordwrap()||m.accessibleTextOn(),e.textshadow())},updateTextConfig:function(){this.semanticTextConfig=l(this,"objModel.semanticTextConfig",{origConfig:{vartext:s.noop}}),this.origTemplate=this.semanticTextConfig.origConfig.vartext()},getLabelStyle:function(){var e=this.semanticTextConfig.origConfig;return{left:c(e.get("xAccOffset")),top:c(e.get("yAccOffset")),position:"absolute"}},onLinkClicked:function(e){this.objView.textEvent("onlinkrelease",e)},isLinkTabbable:function(){return!0}}}}.call(t,n,t,e))||(e.exports=i)},812:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS.focusManager;return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccListbox",mixins:[DS.flagManager.dropInAcc?i.dropIn:i],getInitialState:function(){return this.id="listbox-".concat(this.props.panelId),this.props.controlView.registerAccView(this),this.props.controlView.getAccState()},componentDidMount:function(){var e=this;this.mounted=!0,this.el.addEventListener("focusin",this.handleFocusIn),this.el.addEventListener("focusout",this.handleFocusOut),this.removeListeners=function(){e.el.removeEventListener("focusin",e.handleFocusIn),e.el.removeEventListener("focusout",e.handleFocusOut)}},componentWillUnmount:function(){this.mounted=!1,this.removeListeners()},handleFocusIn:function(){this.props.controlView.handleListFocus()},handleFocusOut:function(){this.props.controlView.handleListBlur()},getOptionRef:function(e){return e<0?null:"option-".concat(e)},getOptionEl:function(e){return this.refs["option-".concat(e)]},updateState:function(e){DS.flagManager.dropInVideo&&!this.isMounted()||this.setState(e)},setItemFocus:function(e){this.forceUpdate();var t=this.getOptionEl(e);r.setFocusRectOn(t)},takeControlFocus:function(){this.refs.listbox.focus()}})}.call(t,n,t,e))||(e.exports=i)},8315:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccSelectControl",mixins:[DS.flagManager.dropInAcc?i.dropIn:i],getInitialState:function(){return this.removeMenuListeners=function(){},this.id="select-".concat(this.props.panelId),this.props.controlView.registerAccView(this),this.props.controlView.getAccState()},componentWillUnmount:function(){this.removeMenuListeners()},getOptionRef:function(e){return"option-".concat(e)},updateState:function(e){DS.flagManager.dropInVideo&&!this.isMounted()||this.setState(e)},handleClicked:function(e){this.props.controlView.toggleOpen()},takeControlFocus:function(e){var t=this;"button"===e?this.refs.button.focus():window.requestAnimationFrame((function(){t.props.controlView.isOpen()&&t.refs[t.getOptionRef(t.state.hoverIndex)].focus()}))}})}.call(t,n,t,e))||(e.exports=i)},4258:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698);return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccTranscriptPanel",mixins:[DS.flagManager.dropInAcc?i.dropIn:i],getInitialState:function(){return this.props.controlView.registerAccView(this),this.panelId="panel-".concat(this.props.windowId),this.labelId="label-".concat(this.panelId),this.props.controlView.getAccState()},updateState:function(e){DS.flagManager.dropInVideo&&!this.isMounted()||this.setState(e)},takeControlFocus:function(e){var t=this.refs[e];null!=t&&t.focus()},onResumeScrollClicked:function(){DS.focusManager.takeFocusOff(),this.props.controlView.handleResumeScrollClicked()}})}.call(t,n,t,e))||(e.exports=i)},1348:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,o=r.focusManager,s=r.utils;return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.createClass({displayName:"AccUtilityWindow",mixins:[DS.flagManager.dropInAcc?i.dropIn:i],getInitialState:function(){return this.props.controlView.registerAccView(this),this.viewProps=this.props.controlView.getAccProps(),this.props.controlView.getAccState()},componentDidUpdate:function(){this.updateFocusRect&&(this.updateFocusRect=!1,this.el.contains(document.activeElement)&&o.setFocusRectOn(document.activeElement))},updateState:function(e){DS.flagManager.dropInVideo&&!this.isMounted()||(this.updateFocusRect=e,this.setState(this.props.controlView.getAccState()))},updateKebabState:function(e){this.setState(e)},onMoveClicked:function(){this.props.controlView.handleMoveButton()},onResizeClicked:function(){this.props.controlView.handleResizeButton()},stopKeyListening:function(){this.props.controlView.stopKeyListening()},onCloseClicked:function(){this.props.controlView.handleCloseClicked()},onKebabClicked:function(){this.props.controlView.handleAccKebabClicked()},onKebabBlur:function(e){null!=e.relatedTarget&&(s.getPath(e,"relatedTarget.dataset.kebabPart")||this.props.controlView.closeKebabPanel())},handleOptionClicked:function(e,t){this.props.controlView.optionUpdated(e,t)},takeControlFocus:function(e){var t=this.refs[e];null!=t&&t.focus()}})}.call(t,n,t,e))||(e.exports=i)},9243:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=DS.utils.pxify;return{buildStyleFromRect:function(e){var n=r(e,4),i=n[0],o=n[1],s=n[2],a=n[3];return{left:t(i),top:t(o),width:t(s-i),height:t(a-o)}}}}.call(t,n,t,e))||(e.exports=i)},8335:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5110),i=t.DraggableHelper,r=n(1689),o=DS._,s=DS.Backbone,a=DS.events,l=DS.dom,c="ondragover",u="ondragout",d=1500,h=function(e,n,i,r){return t.util.getRegisteredDroppables().filter((function(t){var s=t.params.data,a=s.dragdropData&&s.dragdropData[r];return s.model!==n&&o.result(s,e)&&o.intersection(a,i).length}))},p=function(e){this.view=e,this.model=this.view.props.model};return o.extend(p.prototype,s.Events,{componentWillMount:function(){this.model;this.getEnabledDroppables=o.partial(h,"isDroppable",this.model),this.getEnabledDraggables=o.partial(h,"isHoverable",this.model),this.listenTo(this.model,"addanimationdata",this.addAnimationData),this.listenTo(this.model.getSlide(),a.resume.APPLIED,this.registerRelationship),this.listenTo(this.model,"unparentForSeek",this.unparentForSeek)},componentDidMount:function(){this.dragdropData=this.model.dragdrop(),this.bindDrag(),this.parentShuffleGroup=l.closest(this.view.el,(function(e){return e.classList.contains("slide-object-shufflegroup")}))},getFromView:function(e,t){return(t=t||this).view.getPlayerProp(e)},setOnView:function(e,t,n){(n=n||this).view.setPlayerProp(e,t)},componentDidUpdate:function(e,t){var n=this.view.state.Enabled;n!==t.Enabled&&null!=this.draggableHelper&&this.draggableHelper[n?"enable":"disable"]()},componentWillUnmount:function(){this.stopListening(this.model,"addanimationdata",this.addAnimationData),this.stopListening(this.model.getSlide(),a.resume.APPLIED,this.registerRelationship)},bindDrag:function(){return this.dragdropData&&this.dragdropData.dragenabled&&(this.draggableHelper=new i(this.view,this.getDraggableConfig()),this.view.state.Enabled||this.draggableHelper.disable()),this},getDraggableConfig:function(){return o.bindAll(this,"onDragStart","onDraggingOver","onDragStop","onDropEnter","onDragOut","onDropped","getPosition","setPosition","getDropTarget","setTargets"),{containment:l.closest(this.view.el,(function(e){return e.classList.contains("slide")})),ondragstart:this.onDragStart,ondragend:this.onDragStop,ondropenter:this.onDropEnter,ondropdrag:this.onDraggingOver,ondropleave:this.onDragOut,ondrop:this.onDropped,getPosition:this.getPosition,setPosition:this.setPosition,getDropTarget:this.getDropTarget,setTargets:this.setTargets}},registerRelationship:function(){var e,t=this.model.prop("DragConnected"),n=this.model.prop("DropIndex");t&&(e=t.currView.decorators.droppable,this.dropParent=e.registerRelationship(this,n))},getDraggingPosition:function(){return{x:this.draggableHelper.x,y:this.draggableHelper.y}},getPosition:function(){return{x:this.view.getPlayerProp("RawXPos"),y:this.view.getPlayerProp("RawYPos"),dontScale:!0}},setPosition:function(e,t){this.setOnView({RawXPos:e,RawYPos:t})},setToInitPosition:function(){return DS.flagManager.dropInCore&&this.view.forceUpdate(),this.model.reattachChild(),this.setPosition(this.view.getPlayerProp("ShuffleXPos"),this.view.getPlayerProp("ShuffleYPos")),this.setOnView({depth:this.view.getPlayerProp("InitDepth")}),this},setTargets:function(){var e=this.dragdropData.dragdropids,t=this.dragdropData.dragoverids;this.enabledDropTargets=this.getEnabledDroppables(e,"dragdropids"),this.enabledDragTargets=this.getEnabledDraggables(t,"dragoverids")},onDragStart:function(e,t){this.unParent(),this.setDepth(++d),this.view.dragging=!0,this.model.executePlayerEvent("ondragstart")},onDragStop:function(e,t){this.view.dragging=!1,this.model.executePlayerEvent("ondragend"),this.dragdropData.dragreturn&&!this.dropParent?this.setToInitPosition():this.dropParent||(this.model.reparentChild(this.model.getLayer()),this.setPosition(e.x,e.y))},onDraggingOver:function(e,t){t.params.data.onDragOver(this,e.x,e.y,!0)},onDropEnter:function(e,t){var n=t.params.data;this.setOnView("DragOverId",n.model.id),n.setOnView("DragOverId",this.model.id),n.onDragEnter(),this.model.executePlayerEvent(c),n.model.executePlayerEvent(c)},onDragOut:function(e,t){var n=t.params.data;this.setOnView("DragOverId",null),n.reflow(),this.model.executePlayerEvent(u),n.model.executePlayerEvent(u)},onDropped:function(e,t){var n=t.params.data;n.onDropped(this,e.x,e.y),this.dropParent=n,this.setOnView("DropTargetId",n.model.id),this.setOnView("DragConnected",n.model),this.model.reparentChild(n.model.getParentContainer())},getDropTarget:function(e,n,i){var s,a=this.draggableHelper,l="drag"===i?this.enabledDragTargets:this.enabledDropTargets,c=o.sortBy(l,t.util.sortByZIndexReverse);return c.reduce((function(e,t,n){var i=r.getOverlapArea(a.view,t.params.view,c.slice(0,n).map((function(e){return e.params.view})),!0);return i>e?(s=t,i):e}),0),s},unparentForSeek:function(){this.setToInitPosition()},unParent:function(){var e=this.dropParent;return e&&(e.removeDropChild(this),this.dropParent=null,this.setOnView("DropTargetId",null),this.setOnView("DragConnected",null),this.setOnView("DropIndex",null),this.model.executePlayerEvent("ondragdisconnect")),this},updateParentDepth:function(e){var t=this.parentShuffleGroup.querySelector(".group").childNodes.length;this.parentShuffleGroup.style.zIndex=e+t},setDepth:function(e){this.parentShuffleGroup&&this.updateParentDepth(e),this.setOnView("depth",e)},setIndex:function(e){this.setOnView("DropIndex",e)},getBounds:function(e){var t=e?this.getDraggingPosition():this.getPosition(),n=this.getFromView("width"),i=this.getFromView("height");return{left:t.x,top:t.y,right:t.x+n,bottom:t.y+i,width:n,height:i}},addAnimationData:function(e){e({RawXPos:this.getFromView("RawXPos"),RawYPos:this.getFromView("RawYPos")})},updateAfterTween:function(e){var t=this.draggableHelper;(t.offsetX+=e.RawXPos-t.grabbedXPos,t.offsetY+=e.RawYPos-t.grabbedYPos,null!=this.dropParent)&&(this.setTargets(),DS.utils.getPath(t.getDropTarget.call(this,"drag"),"params.data")!==this.dropParent&&this.unParent())}}),p}.call(t,n,t,e))||(e.exports=i)},59:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5110).DroppableHelper,i=(n(1689),DS._),r=DS.utils,o=DS.Backbone,s=DS.events,a=(DS.TransMatrix,[{x:-1,y:-1},{x:1,y:-1},{x:-1,y:1},{x:1,y:1}]),l=function(e){e.setToInitPosition().unParent()},c=function(e){this.view=e,this.model=this.view.props.model,this.dropChildren=[]};i.extend(c.prototype,o.Events,{componentDidMount:function(){this.model;this.dragdropData=this.model.dragdrop(),this.bindDrop()},componentWillUnmount:function(){this.droppableHelper.unregister(),this.stopListening(this.model,s.resume.RESET,this.resetValues)},registerRelationship:function(e,t){return this.dropChildren[t]=e,this},getFromView:function(e,t){return(t=t||this).view.getPlayerProp(e)},setOnView:function(e,t,n){(n=n||this).view.setPlayerProp(e,t)},isMultiDrop:function(){return this.dragdropData.multidrop},resetQuadrants:function(){this.quadrants=a.slice()},setPositioningFns:function(){var e=this.dragdropData.droptype,t=u[e];i.extend(this,t)},isDroppable:function(){return this.dragdropData.dropenabled},isHoverable:function(){return this.dragdropData.dragoverenabled},resetValues:function(){this.dropChildren=[]},bindDrop:function(){return this.dragdropData&&(this.isDroppable()||this.isHoverable())&&(this.droppableHelper=new t(this.view.el,{data:this,view:this.view}),this.resetQuadrants(),this.setPositioningFns(),this.listenTo(this.model,s.resume.RESET,this.resetValues)),this},onDragOver:function(e){this.canDropHere(e)&&this.addChild(e,!0)},onDropped:function(e){this.canDropHere(e)&&this.addChild(e)},onDragEnter:function(){this.updatePositionSnapshot()},updatePositionSnapshot:function(){this.positionSnapshot=i.map(this.getDropChildren(),(function(e){return e.getBounds()}))},addChild:function(e,t){var n,i;this.isMultiDrop()||t||(this.getDropChildren().forEach(l.bind(this)),this.getDropChildren().length=0),n=this.getPlacementIndex(e),(i=t?this.getDropChildren().slice():this.getDropChildren()).splice(n,0,e),this.reflow(i,n,t)},canDropHere:function(e){var t=i.partial(i.includes,this.dragdropData.dragdropids);return e.dragdropData.dragdropids.some(t)},removeDropChild:function(e){return i.remove(this.getDropChildren(),e),this.reflow(),this.resetChildrenDepths(),this},getDropChildren:function(){return this.dropChildren},getDropQuadrant:function(){var e=i.random(this.quadrants.length-1),t=this.quadrants.splice(e,1)[0];return this.quadrants.length||this.resetQuadrants(),t},getRandomStackPosition:function(e){var t=this.getDropQuadrant();return{x:this.getXPos()+this.dragdropData.snapx+i.random(this.dragdropData.dropoffsetx)*t.x-e.dragdropData.snapx,y:this.getYPos()+this.dragdropData.snapy+i.random(this.dragdropData.dropoffsety)*t.y-e.dragdropData.snapy}},resetChildrenDepths:function(){var e=this.getDepth();this.getDropChildren().forEach((function(t,n){t.setIndex(n),t.setDepth(e+n+1)}))},getParents:function(){for(var e=[],t=this.view;t;)t.props.isInnard||e.push(t),t=t.props.parent;return e.reverse()},getXPos:function(){return this.model.parent.isKind("scrollarea")?this.view.state.RawXPos:this.getParents().reduce((function(e,t){return e+t.state.RawXPos}),0)},getYPos:function(){return this.model.parent.isKind("scrollarea")?this.view.state.RawYPos:this.getParents().reduce((function(e,t){return e+t.state.RawYPos}),0)},getDepth:function(){return this.model.parent.isKind("scrollarea")?this.view.state.depth:i.first(this.getParents()).state.depth}});var u={stackoffset:{getPlacementIndex:function(e){var t=this.getXPos()+this.dragdropData.snapx,n=this.getYPos()+this.dragdropData.snapy,i=e.getBounds(!0),r=Math.floor((i.left-t)/this.dragdropData.dropoffsetx)+1,o=Math.floor((i.top-n)/this.dragdropData.dropoffsety)+1,s=Math.min(r,o,this.positionSnapshot.length);return Math.max(0,s)},reflow:function(e,t,n){var i=this.getXPos()+this.dragdropData.snapx,r=this.getYPos()+this.dragdropData.snapy;(e||this.getDropChildren()).forEach(function(e,o){o>0&&(i+=this.dragdropData.dropoffsetx,r+=this.dragdropData.dropoffsety),n&&o===t||(e.setPosition(i,r),e.setIndex(o))}.bind(this))}},tile:{getPlacementIndex:function(e){for(var t=-1,n=e.getBounds(!0),i=Math.max(this.getXPos(),n.left+n.width/2),r=Math.max(this.getYPos(),n.top+n.height/2);++t<this.positionSnapshot.length&&!(i<this.positionSnapshot[t].right&&r<this.positionSnapshot[t].bottom||r<this.positionSnapshot[t].top););return t},reflow:function(e,t,n){var i=this.getXPos(),r=this.getYPos(),o=i+this.dragdropData.snapx,s=r+this.dragdropData.snapy,a=o,l=s,c=o+this.getFromView("width")-this.dragdropData.dropoffsetx;(e||this.getDropChildren()).forEach(function(e,r,u){var d=this.getFromView("width",e),h=this.getFromView("height",e);r>0&&(o=a+this.dragdropData.dropoffsetx),(a=o+d)>c&&(o=i+this.dragdropData.snapx,a=o+d,s=l+this.dragdropData.dropoffsety),n&&r===t||(e.setPosition(o,s),e.setIndex(r)),l=Math.max(l,s+h)}.bind(this))}},stackrandom:{getPlacementIndex:function(){return r.getPath(this,"positionSnapshot.length",0)},reflow:function(e,t,n){var r,o;1!==(e=e||this.getDropChildren()).length?!n&&isFinite(t)&&(r=i.last(e),o=this.getRandomStackPosition(r),r.setPosition(o.x,o.y),r.setIndex(t)):null==t?u.snap.reflow.call(this,e,0,!1):u.snap.reflow.call(this,e,t,n)}},snap:{getPlacementIndex:function(){return r.getPath(this,"positionSnapshot.length",0)},reflow:function(e,t,n){var r,o,s,a=this.getXPos(),l=this.getYPos(),c=a+this.dragdropData.snapx,u=l+this.dragdropData.snapy;!n&&isFinite(t)&&(r=(s=i.last(e)).dragdropData.snapx,o=s.dragdropData.snapy,s.setPosition(c-r,u-o),s.setIndex(t))}},free:{getPlacementIndex:function(){return r.getPath(this,"positionSnapshot.length",0)},reflow:i.noop}};return c}.call(t,n,t,e))||(e.exports=i)},1718:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(949),i=n(1689),r=n(8907),o=DS._,s=DS.Backbone,a=DS.windowManager,l=DS.resolver,c=DS.svgUtils,u=DS.utils,d=DS.detection,h=function(e,t){return t+360*(e?1:-1)},p=o.partial(h,!0),f=o.partial(h,!1),g=Number.MAX_SAFE_INTEGER||Math.pow(2,50),m=function(e){this.view=e,this.model=e.props.model,o.extend(this,this.model.dragrotation())};o.extend(m.prototype,s.Events,{dragging:!1,inverted:!1,componentDidMount:function(){this.currSlide=a.getCurrentWindowSlide(),o.bindAll(this,"getBoundValue","setLoAndHi","setDegreeSnap","setBoundVar","setListeners","updateRotation","setRotationFromValue","onBoundVariableChanged","adjustVariable","onPointerDown","onMouseDown","onMouseUp","getAngleFromValue","getValueFromAngle","roundStep","getAngleFromEvent","adjustOverRotation","cleanAngle","onMouseMove","setAngle","isEnabled","getRangeAttributes","onAccShadowRangeChange"),this.parentEl=this.view.el.parentNode,this.setLoAndHi().setDegreeSnap().setBoundVar().setListeners().setRotationFromValue(this.getBoundValue())},getBoundValue:function(){return void 0===this.boundVar?this.initialValue:parseFloat(this.boundVar.value())},componentDidUpdate:function(){this.updateRotation()},setLoAndHi:function(){return this.lowvalue=Math.min(this.startvalue,this.endvalue),this.highvalue=Math.max(this.startvalue,this.endvalue),this.lowvalue<this.startvalue&&(this.inverted=!0),this},componentWillUnmount:function(){this.stopListening(),null!=this.removeListeners&&this.removeListeners(),null!=this.removeMoveListeners&&this.removeMoveListeners()},setDegreeSnap:function(){var e;return this.valRange=this.highvalue-this.lowvalue,this.angleRange=Math.abs(this.endrotation-this.startrotation),this.snap&&(e=this.valRange,this.valRange=this.valRange-this.valRange%this.increment,this.angleRange=this.angleRange*(this.valRange/e),this.stepDeg=u.fix(this.angleRange/(this.valRange/this.increment))),this},setBoundVar:function(){return this.boundVar=l.resolvePath(this.bindto,this.model),this},setListeners:function(){var e=this;return void 0!==this.boundVar&&this.listenTo(this.boundVar,"change:value",this.onBoundVariableChanged),this.view.el.addEventListener("pointerdown",this.onPointerDown),d.device.isMobile?(this.view.el.addEventListener("touchstart",this.onMouseDown),this.removeListeners=function(){e.view.el.removeEventListener("pointerdown",e.onPointerDown),e.view.el.removeEventListener("touchstart",e.onMouseDown)}):(this.view.el.addEventListener("mousedown",this.onMouseDown),this.removeListeners=function(){e.view.el.removeEventListener("pointerdown",e.onPointerDown),e.view.el.removeEventListener("mousedown",e.onMouseDown)}),this},updateRotation:function(){this.setRotationFromValue(this.getValueFromAngle(this.lastSetRotation))},setRotationFromValue:function(e){var t=this.view.props.winScale,n=this.view.el,r=(this.rotateXPos-this.model.rotateXPos())*t,o=(this.rotateYPos-this.model.rotateYPos())*t;return null!=this.origTransform&&this.dragging||(this.origTransform=this.view.getPositioningTransform()),this.lastSetRotation=this.getAngleFromValue(e),n.style[this.view.cssTransform]=[this.origTransform,c.transformTranslate(u.pxify(r),u.pxify(o)),c.transformRotate(this.lastSetRotation+"deg"),c.transformTranslate(u.pxify(-r),u.pxify(-o))].join(" "),this.model.forEachAncestor((function(e){if(e.isKind("scrollarea")||e.isKind("slidelayer"))return!1;null!=e.currView&&i.transformUpdated(e.currView,!0)}),!0),this},onBoundVariableChanged:function(e,t){this.setRotationFromValue(t),null!=this.view.accShadowView&&null!=this.view.accShadowView.viewChanged&&this.view.accShadowView.viewChanged(t)},adjustVariable:function(e){if(void 0===this.boundVar)return this;var t={operator:"set",value:{type:"number",value:e}};return this.boundVar.adjust(t,{context:this.model}),this},onMouseDown:function(e){e.preventDefault()},onPointerDown:function(e){var t=this;if(this.dragging=!0,this.view.giveAccFocus(),this.isEnabled()){this.centerCoords=r.localPtToSlide(this.view,this.rotateXPos,this.rotateYPos),this.lastAngle=this.initAngle=this.getAngleFromEvent(e),this.angleChange=this.overRot=0,this.initRotation=this.lastSetRotation;var n=this.view.el;n.addEventListener("pointerup",this.onMouseUp),n.addEventListener("pointermove",this.onMouseMove),n.setPointerCapture(e.pointerId),n.dataset.pointerCapture=!0,this.removeMoveListeners=function(){n.removeEventListener("pointerup",t.onMouseUp),n.removeEventListener("pointermove",t.onMouseMove),n.releasePointerCapture(e.pointerId),n.dataset.pointerCapture=!1,t.removeMoveListeners=null}}},onMouseUp:function(e){null!=this.removeMoveListeners&&this.removeMoveListeners(),this.removeMoveListeners=null,!this.liveupdating&&this.isEnabled()&&this.adjustVariable(this.getValueFromAngle(this.lastSetRotation)),this.dragging=!1},getAngleFromValue:function(e){e=u.clamp(this.lowvalue,this.highvalue,e);var t=this.inverted?this.highvalue-e:e-this.lowvalue;return null!=this.stepDeg?t/this.increment*this.stepDeg+this.startrotation:t/this.valRange*this.angleRange+this.startrotation},getValueFromAngle:function(e){var t=(e-this.startrotation)/this.angleRange*this.valRange;return t=this.inverted?this.highvalue-t:this.lowvalue+t,this.roundValue(t)},roundStep:function(e,t){return(e?o.range(this.startrotation,this.endrotation+1,this.stepDeg):o.range(this.lowvalue,this.highvalue+1,this.increment)).reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}),g)},getAngleFromEvent:function(e){var n=t.getPageLoc(e),i=r.globalPtToLayer(this.view,n.pageX,n.pageY),o=i.x-this.centerCoords.x,s=i.y-this.centerCoords.y;return u.normalizeDeg(u.radToDeg(Math.atan2(s,o))+90)},adjustOverRotation:function(e){var t=e-this.lastAngle;t>180?this.overRot=f(this.overRot):t<-180&&(this.overRot=p(this.overRot))},cleanAngle:function(e){var t=u.normalizeDeg(e);return this.snap?this.roundAngle(t):t},onMouseMove:function(e){if(this.isEnabled()){var t=this.getAngleFromEvent(e);this.adjustOverRotation(t),this.lastAngle=t,this.angleChange=t+this.overRot-this.initAngle,t=this.initRotation+this.angleChange,this.setAngle(u.clamp(this.startrotation,this.endrotation,t))}},setAngle:function(e){if(e!==this.lastSetRotation){var t=this.getValueFromAngle(e);this.liveupdating?this.adjustVariable(t):(this.lastSetRotation=e,this.setRotationFromValue(t),null!=this.view.accShadowView&&null!=this.view.accShadowView.viewChanged&&this.view.accShadowView.viewChanged(t))}},isEnabled:function(){var e=this.model.getClosestParentRef();return this.model.prop("Enabled")&&(!e.isSlideObject||e.prop("Enabled"))},getRangeAttributes:function(){var e=this.startvalue,t=this.endvalue,n=this.inverted;if(e>t){var i=[e,t];t=i[0],e=i[1]}return{type:"range",value:this.getBoundValue(),step:this.snap?this.increment:0,min:e,max:t,inverted:n,tabindex:-1}},onAccShadowRangeChange:function(e){this.setRotationFromValue(e),this.adjustVariable(e)}});var v=m.prototype;return v.roundValue=o.partial(v.roundStep,!1),v.roundAngle=o.partial(v.roundStep,!0),m}.call(t,n,t,e))||(e.exports=i)},6083:function(e,t,n){var i;i=function(e){"use strict";var t=n(4196),i=n(8907),r=n(1689),o=DS._,s=DS.Backbone,a=DS.utils,l=DS.resolver,c=DS.svgUtils,u=(DS.dom,DS.windowManager),d=DS.detection,h=function(e){this.view=e,this.model=e.props.model,this.parentModel=this.model.getClosestParentRef(),this.toFixedAmount=0};return o.extend(h.prototype,s.Events,{eventMap:{mouseover:"onrollover",mouseout:"onrollout",mousedown:"onpress",mouseup:"onrelease",dblclick:"ondoubleclick"},componentWillMount:function(){o.bindAll(this,"onUpdateSlider","onBoundVariableChanged","onMouseEvent","onMouseDown","onBtnDown","onBtnUp","giveAccShadowElFocus")},componentDidMount:function(){this.parentEl=this.view.el.parentNode,this.sliderContainer=this.parentEl.querySelector(".state-group-top-level"),this.setupSlider().buildSlider().setupAction().setupEvents().updateSliderThumb(null,!0),this.currSlide=u.getCurrentWindowSlide()},onAfterShow:function(){this.updateSliderThumb(null,!0)},setupAction:function(){return this.adjustVarAction={kind:"adjustvar",variable:this.dragpath.bindto,operator:"set",value:{}},this.adjustVarAction.slideableId=this.model.id,this},adjustVariable:function(e){void 0!==this.boundVariable&&(this.adjustVarAction.value={type:"number",value:e},t.executeAction(this.adjustVarAction,{context:this.model}))},transformValue:function(e){return a.fix(e,this.toFixedAmount)},setupSlider:function(){var e,t;return this.dragpath=this.model.dragpath(),this.zIndex=this.parentModel.objects().length+1,this.maxX=this.parentModel.width()-this.model.width(),this.totalRange=Math.abs(this.dragpath.endvalue-this.dragpath.startvalue),this.toFixedAmount=(e=this.dragpath.increment,2===(t=e.toString().split(".")).length?Math.min(2,t[1].length):0),this.boundVariable=l.resolvePath(this.dragpath.bindto),this},setupEvents:function(){var e=this;return this.eventType=this.dragpath.liveupdating?"input":"change",void 0!==this.boundVariable&&this.listenTo(this.boundVariable,"change:value",this.onBoundVariableChanged),d.device.isDesktop?this.view.el.addEventListener("mousedown",this.onMouseDown):this.view.el.addEventListener("touchstart",this.onMouseDown),this.view.el.addEventListener("pointerdown",this.onBtnDown),d.device.isDesktop&&this.parentEl.parentNode.addEventListener("click",this.giveAccShadowElFocus),this.removeListeners=function(){e.view.el.removeEventListener("pointerdown",e.onBtnDown),d.device.isDesktop?(e.parentEl.parentNode.removeEventListener("click",e.giveAccShadowElFocus),e.view.el.removeEventListener("mousedown",e.onMouseDown)):e.view.el.removeEventListener("touchstart",e.onMouseDown)},this},giveAccShadowElFocus:function(){this.view.giveAccFocus()},getBoundValue:function(){return void 0===this.boundVariable?this.dragpath.initialValue:parseFloat(this.boundVariable.value())},getTrackModel:function(){this.trackModel=this.parentModel.objects().find((function(e){return e.id.indexOf("_track")>-1}))},onMouseEvent:function(e){this.parentModel.executePlayerEvent(this.eventMap[e.type])},onBoundVariableChanged:function(e,t,n){t=this.transformValue(parseFloat(t)),this.updateSliderThumb(t,!0)},onUpdateSlider:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.view.trulyVisible){var n,r,s,l,c,u,d,h,p=this.model.width(),f=p/2,g=this.model.height()/2;if(t||e.preventDefault(),1===a.getPath(e,"touches.length")?(l=e.touches[0].pageX,c=e.touches[0].pageY):(l=e.pageX,c=e.pageY),"pointerup"===e.type)this.updateVariable();else if(null!=l&&null!=c){i.setMatrixDirty(this.topParentView),r=i.globalPtToSlideObject(this.topParentView,l,c),"pointerdown"===e.type?(h=i.localPtToLocal(this.view,this.topParentView,f,g),u=r.x-h.x,d=r.y-h.y,o.extend(this,{offX:u,offY:d})):(u=this.offX,d=this.offY),r.x-=u,r.y-=d,n=a.clamp(0,1,(r.x-f)/(this.trackModel.width()-p)),this.invertedSlider&&(n=1-n);var m=this.totalRange*n;s=Math.round(m/this.step)*this.step+this.min,this.currValue=a.clamp(this.min,this.max,s),this.dragpath.liveupdating?this.updateVariable():this.updateSliderThumb(this.currValue)}}},updateVariable:function(){return this.adjustVariable(this.transformValue(this.currValue)),this},onMouseDown:function(e){e.preventDefault()},onBtnDown:function(e){var t=this;if(this.model.prop("Enabled")&&("stategroup"!==this.model.parent.get("kind")||this.model.parent.prop("Enabled"))){this.onUpdateSlider(e,!0);var n=this.parentEl.parentNode;n.addEventListener("pointerup",this.onBtnUp),n.addEventListener("pointermove",this.onUpdateSlider),n.setPointerCapture(e.pointerId),n.dataset.pointerCapture=!0,this.removeMoveListeners=function(){n.removeEventListener("pointerup",t.onBtnUp),n.removeEventListener("pointermove",t.onUpdateSlider),n.releasePointerCapture(e.pointerId),n.dataset.pointerCapture=!1,t.removeMoveListeners=null}}},onBtnUp:function(e){this.onUpdateSlider(e),this.removeMoveListeners()},addFocusStyle:function(){var e=c.createElement("rect"),t=this.view.find("g > g"),n=t.getBBox();e.setAttribute("class","focused"),e.setAttribute("x",n.x-3),e.setAttribute("y",n.y-3),e.setAttribute("width",n.width+6),e.setAttribute("height",n.height+6),e.setAttribute("stroke-width",3),t.appendChild(e),this.focusRect=e},componentWillUnmount:function(){this.stopListening(),null!=this.removeListeners&&this.removeListeners(),null!=this.removeMoveListeners&&this.removeMoveListeners()},getRangeAttributes:function(){var e=this.dragpath.startvalue,t=this.dragpath.endvalue;if(e>t){var n=[e,t];t=n[0],e=n[1]}return{type:"range",value:this.getBoundValue(),step:this.dragpath.snap?this.dragpath.increment:0,min:e,max:t,inverted:this.invertedSlider,tabindex:-1,"data-accepts":"events"}},onAccShadowRangeChange:function(e){this.updateSliderThumb(e,!0),this.adjustVariable(e)},buildSlider:function(){var e=this.getRangeAttributes();return this.invertedSlider=this.dragpath.startvalue>this.dragpath.endvalue,this.min=e.min,this.max=e.max,this.step=e.step,this.getTrackModel(),this.topParentView=this.view.props.parent.props.parent,this},updateSliderThumb:function(e,t){e=null!=e?e:this.transformValue(this.getBoundValue());var n=a.clamp(this.min,this.max,e),o=(n-this.min)/this.totalRange;return this.invertedSlider&&(o=1-o),this.currValue=n,null!=this.view.accShadowView&&this.view.accShadowView.viewChanged&&this.view.accShadowView.viewChanged(n),this.view.setPlayerProp("RawXPos",o*this.maxX),i.setMatrixDirty(this.topParentView),r.transformUpdated(this.view.props.parent,!0),this}}),h}.call(t,n,t,e),void 0===i||(e.exports=i)},4076:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1689),i=n(2625),r=n(118),o=n(3949),s=DS._,a=DS.Backbone,l=DS.AnimationTimeline,c=function(e){this.view=e,this.model=this.view.props.model};return s.extend(c.prototype,a.Events,{componentWillMount:function(){if(!this.model.animations().isEmpty()){var e={"showcustom hidecustom":this.showHideCustom,addanimationdata:this.addAnimationData,killAnimations:this.stopCurrentAnimation,hide:s.partial(this.stopCurrentAnimation,!0),clearAnimations:this.clearAnimations};e[o.EXE_ANIMATION]=this.animate,this.listenTo(this.model,e)}},componentDidMount:function(){this.el=this.view.el},componentDidUpdate:function(){this.view.tweenedConfig&&(s.extend(this.el.style,this.view.tweenedConfig.style),null!=this.view.animationOverride&&this.view.animationOverride.update(this.view.tweenedConfig.props))},componentWillUnmount:function(){this.stopCurrentAnimation(!1),this.stopListening()},showHideCustom:function(e,t,n,i){this.playAnimation(n,t.timelineLabel,!1,i,!e)},animate:function(e,t){this.model.prop("TimelineControlled",null!=t.timelineLabel),this.playAnimation(this.model.animations().get(e.id),t.timelineLabel,e.reverse.value)},addAnimationData:function(e){e(null!=this.view.tweenedConfig?this.view.tweenedConfig.props:null)},clearAnimations:function(){this.stopCurrentAnimation(!1)},playAnimation:function(e,t,n,r,o){this.stopCurrentAnimation(!0);var s=this.createTimelineFor(e,n,r);this.tweenableTimeline=new i(this.view,s,t,o),this.view.setPlayerProp("Moved",null!=t)},createTimelineFor:function(e,n,i){var o=new l({tweens:[new r(this.view,n,e.getConfig())],onComplete:this.wrapCallback(i,e.id,n)});return o.onUpdate=function(){t.transformUpdated(this.view),(this.model.isShapeMask||this.model.isShapeMasked)&&this.model.onTweenUpdate(this.view)}.bind(this),o},wrapCallback:function(e,n,i){return function(){this.stopCurrentAnimation(!1),t.transformUpdated(this.view,!0),null!=e&&e(),this.model.executeFilteredPlayerEvent((function(e){if(e.id===n&&e.reverse===i)return!0}),"onanimationcomplete")}.bind(this)},stopCurrentAnimation:function(e){null!=this.tweenableTimeline&&(this.tweenableTimeline.destroy(e),this.tweenableTimeline=null,this.view.tweenedConfig=null)}}),c}.call(t,n,t,e))||(e.exports=i)},8103:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(2658);return{hasVectorBackground:function(){return"vector"===this.getPath("props.model.background.type")},hasImageBackground:function(){return"swf"===this.getPath("props.model.background.type")},getImageBgAssetId:function(){return this.getPath("props.model.background.imagedata.assetId")},getImageBgAsset:function(){return t.getAsset(this.getImageBgAssetId())},getImageBgUrl:function(){return this.getImageBgAsset().url()},getImageBgStyle:function(){var e=this.getImageBgAsset();return{position:"absolute",left:e.mobiledx()*this.props.winScale,top:e.mobiledy()*this.props.winScale,height:e.height()*this.props.winScale,width:e.width()*this.props.winScale}}}}.call(t,n,t,e))||(e.exports=i)},1504:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.utils;return{componentWillMount:function(){var e=this.props.model||this.props.slideObject,i=e.isKind("slidelayer"),r=this.props.slideFrame;this.childrenVisible=!1,this.trulyVisible=!1,this.parentVisible=!1,i&&null!=r&&this.listenTo(r.props.model,"trueVisibilityChanged",t.partial(this.updateTrueVisibility,null)),this.isParentVisible=i?function(){return n.getPath(this.props.slideFrame,["props","model","currView","trulyVisible"],!0)}:function(){return this.parentVisible},i?this.isObjectVisible=function(){return this.isBaseLayer()||!!e.isOpen}:e.isKind("shufflegroup")?this.isObjectVisible=this.isParentVisible:this.isObjectVisible=function(){return e.prop("OnStage")&&!e.prop("HiddenByLayer")},this.isChildrenVisible=e.isKind("expandinglabel")?function(e){return e&&this.getPlayerProp("Expanded")}:t.identity},componentDidMount:function(){this.isBaseLayer&&this.isBaseLayer()&&this.updateTrueVisibility()},updateTrueVisibility:function(e){null==e&&(e=this.isObjectVisible());var n=this.props.model,i=this.isParentVisible(),r=e&&i,o=this.isChildrenVisible(r);r!==this.trulyVisible&&(this.trulyVisible=r,this.parentVisible=i,n.trigger("trueVisibilityChanged",r)),this.childrenVisible!==o&&(this.childrenVisible=o,n.objects&&n.objects().forEach((function(e){var n=e.currView;null!=n&&t.isFunction(n.updateTrueVisibility)&&n.parentVisible!==o&&(n.parentVisible=o,n.updateTrueVisibility())})))}}}.call(t,n,t,e))||(e.exports=i)},2540:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8702),i=DS,r=(i._,i.appState),o=i.dom,s=i.events;return{template:function(){return this.getTemplateManager().getTemplate("DragdropSlideObject").bind(this)()},getDefaultProps:function(){return{notchWidth:10,notchHeight:Math.round(6)}},componentDidMount:function(){this.htmlReady(this.mountWithOverState),this.listenTo(r,s.player.ACCESSIBLE_TEXT_CHANGED,this.onAccessibleTextChanged)},mountWithOverState:function(){var e=document.elementFromPoint(o.mouseX,o.mouseY);o.closest(e,function(e){return e===this.el}.bind(this))&&this.didMouseOver()},onAccessibleTextChanged:function(e){this.setState({useAccText:this.getUseAccText()})},getInitialState:function(){var e=this.getPath("props.model.data.textdata.vectortext.pr")||{},n=this.getPath("props.model.data.textdata")||{xAccOffset:0,yAccOffset:0};return this.originX=n.xAccOffset,this.originY=n.yAccOffset,DS.flagManager.aiCourseTranslation?this.accTextModel=new t(n,{parent:this.props.model}):this.accTextModel={parent:this,width:function(){return n.width},height:function(){return n.height},wordwrap:function(){return n.wordwrap},textshadow:function(){return n.textshadow},vartext:function(){return n.vartext},valign:function(){return n.valign},linkdata:function(){return[]}},{textCommandsetId:e.i,textPathLibId:e.l,wordbankRadius:this.getPath("props.model.height",0)/2,useAccText:this.getUseAccText()}},getUseAccText:function(){if(DS.flagManager.aiCourseTranslation||DS.flagManager.multiLangSupport){var e=this.getPath("props.model.data.textdata",{}),t=e.type,n=e.scrollOverflow;return"richvartext"===t||"acctext"===t&&(r.accessibleTextOn()||n)}return"acctext"===this.getPath("props.model.data.textdata.type")&&(r.accessibleTextOn()||this.getPath("props.model.data.textdata.scrollOverflow"))},didMouseOver:function(){this.isEnabled()&&this.setState({hovered:!0})},didMouseOut:function(){this.setState({hovered:!1})},getAccTextModel:function(){return this.accTextModel}}}.call(t,n,t,e))||(e.exports=i)},5193:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8907),i=DS._;return{componentWillMount:function(){this.props.isInnard&&i.extend(this.props.parent,{attachView:this.attachView})},componentWillUpdate:function(){i.forEach(this.getDetachedChildren(),function(e){this.attachView(e.child.currView)}.bind(this))},componentDidUpdate:function(){i.forEach(this.getDetachedChildren(),function(e){var t=e.newParent.currView,n=e.child.currView;null!=t&&null!=n&&t.attachView(n)}.bind(this))},attachView:function(e){e.reparentedContainer=this,null!=this.refs.bg&&this.refs.contentArea.contains(this.refs.bg.el)?this.refs.contentArea.insertBefore(e.el,this.refs.bg.el):null!=this.refs.allAudio&&this.refs.contentArea.contains(this.refs.allAudio)?this.refs.contentArea.insertBefore(e.el,this.refs.allAudio):this.refs.contentArea.appendChild(e.el),t.setMatrixDirty(e)},getDetachedChildren:function(){return this.props.model.detachedChildren||{}}}}.call(t,n,t,e))||(e.exports=i)},7940:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS._,n=DS.vow,i=DS.constants,r=DS.pubSub,o=DS.events,s=DS.detection,a=DS.Chunk;return{componentWillUpdate:function(e,t){this.state.currentSlide&&this.state.currentSlide!==t.currentSlide&&this.state.currentSlide.beforeSlideOut(),t.currentSlide&&t.currentSlide!==this.state.currentSlide&&!this.isShowingMovedSlide&&t.currentSlide.resetBeforeView()},componentWillMount:function(){s.theme.isClassic||r.on(o.resume.RESET_DATA,this.onResetData)},onResetData:function(){this.clearNextPush=function(){this.resetHistoryResumeData(),this.setState({history:[]}),r.trigger(o.slideWindow.CLEAR_HISTORY)}},componentDidMount:function(){this.slideContainer=this.findComponent("SlideContainer")},getId:function(){return this.props.isMainWindow?i.refs.FRAME:this.props.id},getInitialState:function(){return{history:[],currentSlide:this.getCurrentSlide()}},forceTransition:function(){this.getCurSlidePromise().then((function(e){e.forceTransition()}))},getCurrentSlide:function(){return t.last(this.state?this.state.history:[])},getPrevSlide:function(){var e=this.state.history;return e.length>1?e[e.length-2]:null},getPrevHistoryGroup:function(){var e=this.state.history,t=this.getPrevHistoryGroupIndex();return-1===t?null:e[t]},getPrevHistoryGroupIndex:function(){var e=this.getCurrentSlide(),n=this.state.history;return null==e?-1:t.findLastIndex(n,(function(t){return e.get("historyGroupId")!==t.get("historyGroupId")}))},canGoForward:function(e){return t.last(this.state.history)!==e},pushHistory:function(e){return null!=this.clearNextPush&&(this.clearNextPush(),this.clearNextPush=null),this.canGoForward(e)&&this.refreshHistory(e),this},popHistory:function(){return null!=this.getPrevSlide()&&this.refreshHistory(),this},popHistoryGroup:function(){var e=this.state.history,t=this.getPrevHistoryGroupIndex();return-1!==t&&(e=e.slice(0,t+1),this.updateHistoryState(e)),this},refreshHistory:function(e){var t=this.state.history.slice();return e?t.push(e):t.pop(),this.updateHistoryState(t),this},updateHistoryState:function(e){var n=t.last(e);n.prop("WindowId",this.props.isMainWindow?i.refs.FRAME:this.props.model.id),DS.connection.stopAssetGroup(),this.setState({history:e,currentSlide:n}),DS.flagManager.dropInAcc&&this.forceUpdate()},prepareToUpdateSlide:function(e){return this.isShowingMovedSlide=e,this.slideContainer.prepareToUpdateSlide(e),this},replaceSlideWith:function(e){return this.slideContainer.replaceSlideWith(e),this},rebuildCurSlide:function(){return this.slideContainer.rebuildCurSlide(),this},getCurSlide:function(){return DS.flagManager.dropInCore&&!DS.flagManager.dropInAcc?DS.utils.getPath(this,"slideContainer.curSlide.dropInView"):this.slideContainer.curSlide},getCurSlidePromise:function(){return this.slideContainer.getCurSlidePromise()},resetHistoryResumeData:function(){this.state.history.forEach((function(e){return e.resetResume()}))},getHistoryResumeData:function(){return this.state.history.map((function(e){return e.getWindowResumeRef()})).join("")},getResumeData:function(){var e=this.props.model,t=null==e?0:e.index()+1;return[a.create(a.toUnsignedString64(t)),this.getCurrentSlide().getWindowResumeRef(),a.create(this.getHistoryResumeData())].join("")},setPreviousHistory:function(e){var t=this.state.history;t.unshift.apply(t,e)},isWaitingForSlideLoad:function(){return n.isPending(this.slideLoadingPromise)},setSlideLoading:function(e){return this.slideLoadingPromise=e,this}}}.call(t,n,t,e))||(e.exports=i)},1112:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(882),o=n(8698),s=n(7877),a=n(8907),l=n(7158),c=DS,u=c.globalEventHelper,d=u.addDocumentListener,h=u.addWindowListener,p=c.utils,f=c.focusManager,g=c.keyManager,m=c.dom;return DS.flagManager.dropInVideo&&(t=DS.DropIn,i=DS.DropInDOM),t.createClass({displayName:"ButtonPopupMenu",mixins:[DS.flagManager.dropInVideo?o.dropIn:o],getInitialState:function(){var e=this;return _.forEach(this.props.menuConfig,(function(t,n){e[n]=t.bind(e)})),this.options=this.getOptions(),Object.assign({panelOpen:!1},this.getInitMenuState())},setHoverStyles:function(){this.el.style.setProperty("--hover-background-color",p.toRgba(this.props.colors.iconHoverColor,6)),this.el.style.setProperty("--hover-border-color",this.props.colors.hoverBorderColor)},componentDidMount:function(){this.setHoverStyles(),null!=this.accView&&this.accView.updateState(),this.createPopupMenu()},componentDidUpdate:function(){DS.flagManager.dropInVideo&&this.setHoverStyles(),null!=this.accView&&this.accView.updateState(),this.props.isFullScreen||null==this.removeKeyListener||this.removeKeyListener(),this.positionPopupMenu()},componentWillUnmount:function(){this.accView=null,null!=this.removeDocumentListener&&this.removeDocumentListener(),null!=this.removeKeyListener&&this.removeKeyListener(),this.handleUnmount(),null!=this.menuContainer&&(this.hidePopupMenu(),i.unmountComponentAtNode(this.menuContainer),this.menuContainer=null)},registerAccView:function(e){this.accView=e},getMenuId:function(){return null==this.menuId&&(this.menuId=_.uniqueId("button-menu-")),this.menuId},onMouseUp:function(e){null!=this.accView&&(this.props.videoInterface.isFullScreen()||this.accView.takeControlFocus("button"))},createPopupMenu:function(){this.menuContainer=document.createElement("div"),m.addClass(this.menuContainer,"modern-video-controls"),m.addClass(this.menuContainer,"modern-video-controls-top-container"),this.menuComponent=i.render(t.createElement(l,Object.assign({},this.props,{getMenuId:this.getMenuId,getMenuLabel:this.getMenuLabel,getOptions:this.getOptions,onItemClicked:this.onItemClicked,getInitMenuState:this.getInitMenuState,handleUnmount:this.handleUnmount})),this.menuContainer),this.showPopupMenu(),this.positionPopupMenu()},positionPopupMenu:function(){var e=this.refs.button.getBoundingClientRect(),t=e.top,n=e.left;Object.assign(this.menuContainer.style,{top:"".concat(t,"px"),left:"".concat(n,"px")})},showPopupMenu:function(){s.getTopContainer().appendChild(this.menuContainer),this.removeResizeListener=h("resize",this.positionPopupMenu)},hidePopupMenu:function(){null!=this.menuContainer.parentElement&&this.menuContainer.parentElement.removeChild(this.menuContainer),this.removeResizeListener()},toggleOpen:function(){this.isPanelOpen()?this.closePanel():this.openPanel()},isPanelOpen:function(){return this.state.panelOpen},openPanel:function(){var e=this;this.removeDocumentListener=d("pointerup",this.checkShouldClose),this.setState({panelOpen:!0}),this.menuComponent.setState({panelOpen:!0}),this.props.isFullScreen?window.requestAnimationFrame((function(){var t=e.getItemByIndex(e.state.currentIndex);null!=t&&t.focus()})):this.props.videoInterface.isFullScreen()||null==this.accView||this.accView.takeControlFocus("menu")},checkShouldClose:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=document.elementFromPoint(i,o);this.el.contains(s)||this.menuContainer.contains(s)||this.closePanel()},closePanel:function(){null!=this.removeDocumentListener&&this.removeDocumentListener(),this.setState({panelOpen:!1}),this.menuComponent.setState({panelOpen:!1})},onItemClicked:function(e,t){this.setSelected(t)},setSelected:function(e){this.setState({currentChoice:e}),this.menuComponent.setState({currentChoice:e}),this.handleSelected(e),this.closePanel(),this.props.isFullScreen&&(this.refs.button.focus(),f.setFocusRectOn(this.refs.button))},toLocalCoords:function(e){var t=e.getBoundingClientRect(),n=t.top,i=t.left,r=t.bottom,o=t.right,s=this.props.model.currView,l=a.globalPtToSlideObject(s,i,n),c=a.globalPtToSlideObject(s,o,r);return[l.x,l.y,c.x,c.y]},getRelativeRect:function(e){var t=r(this.toLocalCoords(this.el),2),n=t[0],i=t[1],o=r(this.toLocalCoords(e),4);return[o[0]-n,o[1]-i,o[2]-n,o[3]-i]},getAccOptions:function(){var e=this,t=this.props.fullScreen?this:this.menuComponent;return this.options.map((function(n,i){var r=t.refs["option".concat(i)];return Object.assign({rect:e.getRelativeRect(r)},n)}))},getAccState:function(){return{buttonRect:this.getRelativeRect(this.refs.button),buttonLabel:this.getButtonLabel(),isOpen:this.state.panelOpen,currentChoice:this.state.currentChoice,menuLabel:this.getMenuLabel(),options:this.getAccOptions()}},getCurrentIndex:function(e){var t=e||this.state;return this.options.findIndex((function(e){return e.value===t.currentChoice}))},getItemByIndex:function(e){return this.refs["option".concat(e)]},handleFullScreenFocus:function(e){f.setFocusRectOn(e.target),this.props.showVideoControls()},handleFullScreenBlur:function(e){f.takeFocusOff(e.target),this.el.contains(e.relatedTarget)||this.closePanel()},handleFullScreenItemFocus:function(e){this.props.showVideoControls(),f.setFocusRectOn(e.target),this.removeKeyListener=d("keydown",this.handleFullScreenKeyDown)},handleFullScreenItemBlur:function(e){f.takeFocusOff(e.target),null!=this.accView&&this.accView.onMenuFocusOut(e,!0),this.el.contains(e.relatedTarget)||(this.removeKeyListener(),this.closePanel())},handleFullScreenKeyDown:function(e){var t=this.state.currentIndex;g.isDownishKey(e.which)?t++:g.isUpishKey(e.which)?t--:g.isHomeKey(e.which)?t=0:g.isEndKey(e.which)&&(t=7),t>=8&&(t=0),t<0&&(t=7),t!==this.state.currentIndex&&(e.preventDefault(),this.setState({currentIndex:t}),this.menuComponent.setState({currentIndex:t}),this.getItemByIndex(t).focus())}})}.call(t,n,t,e))||(e.exports=i)},6086:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=n(8907),o=DS.stringTabler;return DS.flagManager.dropInVideo&&(t=DS.DropIn),t.createClass({displayName:"LocalHlsWarning",mixins:[DS.flagManager.dropInVideo?i.dropIn:i],getTitleText:function(){return o.getString("streaming_video_local_playback_title")},getRepublishText:function(){return o.getString("streaming_video_local_playback_republish")},getLearnMoreText:function(){return o.getString("streaming_video_local_playback_learn_more")},toLocalCoords:function(e){var t=this.props.model.currView;return r.globalRectToSlideObject(t,e)},getAccState:function(){var e=this.refs,t=e.title,n=e.republish,i=e.learnMore,r={titleRect:null,republishRect:null,moreInfoRect:null};return null!=t&&Object.assign(r,{titleRect:this.toLocalCoords(t.getBoundingClientRect()),titleLabel:this.getTitleText()}),null!=n&&Object.assign(r,{republishRect:this.toLocalCoords(n.getBoundingClientRect()),republishLabel:this.getRepublishText()}),null!=i&&Object.assign(r,{learnMoreRect:this.toLocalCoords(i.getBoundingClientRect()),learnMoreLabel:this.getLearnMoreText()}),r},learnMoreClicked:function(){this.refs.learnMoreLink.click()}})}.call(t,n,t,e))||(e.exports=i)},4566:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=DS,o=r.utils,s=r.playerGlobals;return DS.flagManager.dropInVideo&&(t=DS.DropIn),t.createClass({displayName:"MobileVideoSettings",mixins:[DS.flagManager.dropInVideo?i.dropIn:i],getInitialState:function(){return{captionsEnabled:this.props.captionsEnabled,playbackSpeed:this.props.playbackSpeed}},componentDidMount:function(){this.el.style.setProperty("--icon-color",this.props.colors.iconHoverColor)},dialogOpened:function(){var e=this;this.setState({transcriptTrack:-1}),s.player.setAllAccVisibility(!1),window.requestAnimationFrame((function(){(e.refs.captions||e.refs.playbackSpeed).focus()}))},handleClose:function(e){s.player.setAllAccVisibility(!0);var t=o.getPath(this,"refs.captions.value"),n=o.getPath(this,"refs.transcript.value",-1);this.props.closeHandler({captionsEnabled:t&&"on"===t,playbackSpeed:o.getPath(this,"refs.playbackSpeed.value"),transcriptTrack:n})},handleSpeedChange:function(e){this.setState({playbackSpeed:this.refs.playbackSpeed.value})},handleCaptionsChange:function(e){this.setState({captionsEnabled:"on"===this.refs.captions.value})},handleTranscriptChange:function(e){this.setState({transcriptTrack:this.refs.transcript.value})}})}.call(t,n,t,e))||(e.exports=i)},7837:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305),i=n(882),o=n(8698),s=n(7877),a=n(4566),l=n(8907),c=(n(2500),DS),u=c.globalEventHelper.addBodyListener,d=c.captionsManager,h=c.pubSub,p=c.events,f=c.detection,g=c.stringTabler,m=c.focusManager,v=c.localizationManager,S={acc_modern_video_seek:"Seek",acc_modern_video_play:"Play",acc_modern_video_pause:"Pause",acc_modern_video_mute:"Mute",acc_modern_video_volume:"Volume",acc_modern_video_captions:"Captions",acc_modern_video_transcript:"Transcript",acc_modern_video_pip:"Picture in picture",acc_modern_video_fullscreen:"Full screen",acc_modern_video_settings:"Settings"};DS.flagManager.dropInVideo&&(t=DS.DropIn,i=DS.DropInDOM);var y=t.createClass({displayName:"ModernVideoControls",mixins:[DS.flagManager.dropInVideo?o.dropIn:o],getInitialState:function(){return this.dockLocations="left"===DS.frame.getSidebarPosition()?[DS.constants.docked.RIGHT]:[DS.constants.docked.LEFT],this.transcriptWindowId="win-".concat(this.props.model.id),DS.flagManager.multiLangSupport?{controlsHidden:!1,captionsEnabled:d.isCaptionEnabled(),transcriptEnabled:!1,isPipMode:!1,currLangCode:v.getCurrentLangCode()}:{controlsHidden:!1,captionsEnabled:d.isCaptionEnabled(),transcriptEnabled:!1,isPipMode:!1}},componentWillMount:function(){this.buildStrings(),h.on(p.video.PIP_MODE_CHANGED,this.onPipModeChanged),h.on(p.utilityWindow.WINDOW_TOGGLED,this.onTranscriptWindowToggled),DS.flagManager.multiLangSupport&&h.on(p.localization.LANGUAGE_UPDATED,this.handleLangCodeChange)},componentDidMount:function(){var e=this;f.device.isMobile?this.removeListeners=u("touchstart",this.onMouseMove):this.removeListeners=u("mousemove",this.onMouseMove),f.deviceView.isMobile&&this.createSettings(),h.on(p.captions.ENABLED,this.onCaptionsEnabledChanged),this.hideTimeout=setTimeout((function(){e.hideControls()}),1e3),this.el.style.setProperty("--video-hover-color",this.props.colors.iconHoverColor)},componentWillUnmount:function(){this.unmounted=!0,null!=this.removeListeners&&this.removeListeners(),h.off(p.captions.ENABLED,this.onCaptionsEnabledChanged),clearTimeout(this.hideTimeout),null!=this.settingsContainer&&(i.unmountComponentAtNode(this.settingsContainer),this.settingsComponent=null),h.off(p.video.PIP_MODE_CHANGED,this.onPipModeChanged),h.off(p.utilityWindow.WINDOW_TOGGLED,this.onTranscriptWindowToggled),DS.flagManager.multiLangSupport&&h.off(p.localization.LANGUAGE_UPDATED,this.handleLangCodeChange)},componentWillUpdate:function(e,t){!1===e.isPlaying&&this.showControls()},componentDidUpdate:function(e,t){var n=this;this[DS.flagManager.dropInVideo?"afterHtmlReady":"htmlReady"]((function(){if(!n.unmounted){var e=n.getAccView();if(null!=e&&e.onStateChanged(t,n.state),n.updateFocusOnRender)if(n.updateFocusOnRender=!1,n.props.fullScreen){var i=n.refs.fullScreen;null!=i&&i.focus()}else{var r=n.getAccView();null!=r&&r.takeControlFocus("fullScreen")}}}))},handleLangCodeChange:function(e){this.setState({currLangCode:e})},getAccView:function(){return this.props.slideObjectView.accShadowView},onMouseUp:function(e){var t=this.findTargetOwner(e.target);!this.props.fullScreen&&f.device.isDesktop&&this.props.slideObjectView.accShadowView.takeControlFocus(t)},findTargetOwner:function(e){var t;return _.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=null!=n.findTargetOwner?n.findTargetOwner(e):i,!0})),t},onMouseMove:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=this.props.videoInterface.getBounds();i>=s.left&&i<=s.right&&o>=s.top&&o<=s.bottom?this.showControls():this.hideControls()},showControls:function(){var e=this;this.setState({controlsHidden:!1}),clearTimeout(this.hideTimeout),this.hideTimeout=setTimeout((function(){e.hideControls()}),3e3)},isChildOpen:function(){var e=this.refs.volume,t=this.refs.playbackSpeed,n=this.refs.transcript;return null!=e&&e.isSliderOpen()||null!=t&&t.isPanelOpen()||null!=n&&this.state.transcriptOpened&&this.props.fullScreen},hideControls:function(){clearTimeout(this.hideTimeout);var e=this.props.isPlaying&&!this.isChildOpen();if(e){var t=this.getAccView();null!=t&&t.clearFocusRect(),this.el.contains(document.activeElement)&&m.takeFocusOff()}this.setState({controlsHidden:e})},togglePlayback:function(){this.props.videoInterface.toggleVideo()},onCaptionsEnabledChanged:function(e){this.setState({captionsEnabled:e})},toggleCaptions:function(){d.toggleCaptioning()},toggleTranscript:function(){h.trigger(p.utilityWindow.TOGGLE_WINDOW,this.transcriptWindowId,!this.state.transcriptOpened)},closeTranscript:function(){h.trigger(p.utilityWindow.TOGGLE_WINDOW,this.transcriptWindowId,!1)},onTranscriptWindowToggled:function(e,t){this.transcriptWindowId===e&&this.setState({transcriptOpened:t})},toggleFullScreen:function(){this.updateFocusOnRender=!0,this.props.videoInterface.toggleFullScreen()},onPipModeChanged:function(){this.setState({isPipMode:this.props.videoInterface.isPipMode()})},togglePip:function(){DS.presentation.isPreview()?h.trigger(p.preview.NOTIFY,"PREVIEW_PIP"):this.props.videoInterface.togglePip()},createSettings:function(){var e={colors:this.props.colors,videoInterface:this.props.videoInterface,captionsEnabled:this.state.captionsEnabled,showCaptions:this.props.controlConfig.settings.captions,showPlaybackSpeed:this.props.controlConfig.settings.playbackSpeed,showTranscript:this.props.controlConfig.settings.transcript,closeHandler:this.closeSettings};this.settingsContainer=document.createElement("div"),this.settingsComponent=i.render(t.createElement(a,e),this.settingsContainer)},openSettings:function(){DS.utils.fullScreen.exit(),this.settingsComponent.setState({captionsEnabled:this.state.captionsEnabled,playbackSpeed:this.props.videoInterface.getPlaybackSpeed()}),this.wasPlaying=this.props.isPlaying,this.props.videoInterface.pauseVideo(),s.getTopContainer().appendChild(this.settingsContainer),this.settingsComponent.dialogOpened()},closeSettings:function(e){var t=e.captionsEnabled,n=e.playbackSpeed,i=e.transcriptTrack;this.settingsContainer.parentElement.removeChild(this.settingsContainer),t!==this.state.captionsEnabled&&this.toggleCaptions(),null!=this.refs.transcriptWindowController&&(h.trigger(p.utilityWindow.TOGGLE_WINDOW,this.transcriptWindowId,i>=0),h.trigger(p.video.CHANGE_TRANSCRIPT_TRACK,this.transcriptWindowId,i)),null!=n&&this.props.videoInterface.setPlaybackSpeed(n),this.props.fullScreen||this.getAccView().takeControlFocus("settings"),this.wasPlaying&&this.props.videoInterface.playVideo()},toggleMute:function(){null!=this.refs.volume&&this.refs.volume.toggleMute()},setVolume:function(e){null!=this.refs.volume&&this.refs.volume.updateVolume(e)},openVolumeSlider:function(){null!=this.refs.volume&&this.refs.volume.openSlider()},closeVolumeSlider:function(){null!=this.refs.volume&&this.refs.volume.closeSlider()},toLocalCoords:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=this.props.model.currView,r={top:-n,left:-t,bottom:n,right:n};return l.globalRectToSlideObject(i,e,r)},buildStrings:function(){this.labels=["acc_modern_video_seek","acc_modern_video_play","acc_modern_video_pause","acc_modern_video_mute","acc_modern_video_volume","acc_modern_video_captions","acc_modern_video_transcript","acc_modern_video_pip","acc_modern_video_fullscreen","acc_modern_video_settings"].reduce((function(e,t){var n=t.substr(17);return e[n]=g.getString(t),e[n]===t.substr(4)&&(e[n]=S[t]),e}),{})},getPlayPauseLabel:function(){return this.props.isPlaying?this.labels.pause:this.labels.play},getAccState:function(){var e={};if(this.props.controlConfig.seek){var t=this.refs.seek.el;Object.assign(e,{duration:this.props.duration,elapsed:this.props.currentTime,seekLabel:this.labels.seek,seekRect:this.toLocalCoords(t.getBoundingClientRect())})}else Object.assign(e,{seekRect:null});if(this.props.controlConfig.playPause){var n=this.refs.playPause;Object.assign(e,{playPauseLabel:this.getPlayPauseLabel(),playPauseRect:this.toLocalCoords(n.getBoundingClientRect())})}else Object.assign(e,{playPauseRect:null});if(this.props.controlConfig.volume){var i=this.refs.volume,r=i.getButtonEl(),o=i.getSliderEl(),s=i.getVolume();Object.assign(e,{muteLabel:this.labels.mute,muteRect:this.toLocalCoords(r.getBoundingClientRect()),volumeStrength:s,volumeLabel:this.labels.volume,volumeRect:this.toLocalCoords(o.getBoundingClientRect(),10,10)})}else Object.assign(e,{muteRect:null,volumeRect:null});if(this.props.controlConfig.captions){var a=this.refs.captions;Object.assign(e,{captionsEnabled:this.state.captionsEnabled,captionsLabel:this.labels.captions,captionsRect:this.toLocalCoords(a.getBoundingClientRect())})}else Object.assign(e,{captionsRect:null});if(this.props.controlConfig.transcript&&!f.deviceView.isPhone){var l=this.refs.transcript;DS.flagManager.dropInVideo&&!DS.flagManager.dropInCore?null!=this.refs.transcriptWindowController.reactView&&Object.assign(e,{transcriptOpen:this.state.transcriptOpened,transcriptLabel:this.labels.transcript,transcriptRect:this.toLocalCoords(l.getBoundingClientRect()),transcriptWindow:this.refs.transcriptWindowController.reactView.getWindowView()}):Object.assign(e,{transcriptOpen:this.state.transcriptOpened,transcriptLabel:this.labels.transcript,transcriptRect:this.toLocalCoords(l.getBoundingClientRect()),transcriptWindow:this.refs.transcriptWindowController.getWindowView()})}else Object.assign(e,{transcriptRect:null});if(this.props.controlConfig.playbackSpeed){var c=this.refs.playbackSpeed;Object.assign(e,{playbackSpeedControl:c,playbackSpeedRect:this.toLocalCoords(c.el.getBoundingClientRect())})}else Object.assign(e,{playbackSpeedRect:null});if(this.props.controlConfig.pip){var u=this.refs.pip;Object.assign(e,{pipLabel:this.labels.pip,pipRect:this.toLocalCoords(u.getBoundingClientRect()),isPipMode:this.state.isPipMode})}else Object.assign(e,{pipRect:null});if(this.props.controlConfig.fullScreen){var d=this.refs.fullScreen;Object.assign(e,{fullscreenLabel:this.labels.fullscreen,fullscreenRect:this.toLocalCoords(d.getBoundingClientRect())})}else Object.assign(e,{fullscreenRect:null});if(this.props.controlConfig.settings){var h=this.refs.settings;Object.assign(e,{settingsLabel:this.labels.settings,settingsRect:this.toLocalCoords(h.getBoundingClientRect())})}else Object.assign(e,{settingsRect:null});return e},handleFullScreenFocus:function(e){m.setFocusRectOn(e.target),this.showControls()},handleFullScreenBlur:function(e){m.takeFocusOff(e.target)}});return y}.call(t,n,t,e),void 0===i||(e.exports=i)},7158:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),r=(n(8907),DS),o=r.utils;r.playerGlobals;return DS.flagManager.dropInVideo&&(t=DS.DropIn),t.createClass({displayName:"PopupMenu",mixins:[DS.flagManager.dropInVideo?i.dropIn:i],getInitialState:function(){return this.options=this.props.getOptions(),Object.assign({panelOpen:!1},this.props.getInitMenuState())},componentDidMount:function(){this.el.style.setProperty("--hover-background-color",o.toRgba(this.props.colors.iconHoverColor,6)),this.el.style.setProperty("--hover-border-color",this.props.colors.hoverBorderColor),null!=this.accView&&this.accView.updateState()}})}.call(t,n,t,e))||(e.exports=i)},5231:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),o=(n(2500),DS),s=o.detection,a=o.globalEventHelper,l=a.addBodyListener,c=a.addDocumentListener,u=o.focusManager,d=o.keyManager,h=o.utils.clamp;return DS.flagManager.dropInVideo&&(t=DS.DropIn),t.createClass({displayName:"SeekbarControl",mixins:[DS.flagManager.dropInVideo?i.dropIn:i],getInitialState:function(){return{hovering:!1,dragging:!1,hoverTime:0}},componentDidMount:function(){this.mounted=!0,this.updateTimes()},componentDidUpdate:function(){null==this.removeKeyListener||this.props.isFullScreen||this.removeKeyListener()},componentWillUnmount:function(){this.mounted=!1,null!=this.removeSeekListeners&&this.removeSeekListeners(),null!=this.removeHoverListeners&&this.removeHoverListeners()},updateTimes:function(){if(this.mounted){var e=this.props.totalTime,t=h(0,1,this.props.videoInterface.getElapsedTime()/e);this.refs.elapsedBar.style.width="".concat(100*t,"%"),this.refs.seekThumb.style.left="".concat(100*t,"%"),window.requestAnimationFrame(this.updateTimes),this.state.hovering&&this.onHoverMove(this.lastHover)}},onSeekStart:function(e){var t=this;s.device.isMobile?(this.el.addEventListener("touchmove",this.onSeek),this.el.addEventListener("touchend",this.onSeekEnd),this.removeSeekListeners=_.flow([function(){return t.el.removeEventListener("touchmove",t.onSeek)},function(){return t.el.removeEventListener("touchend",t.onSeekEnd)}])):this.removeSeekListeners=_.flow([l("mousemove",this.onSeek),l("mouseup",this.onSeekEnd)]),this.setState({dragging:!0}),this.wasPlaying=this.props.isPlaying,this.props.videoInterface.pauseVideo(),this.onSeek(e)},onSeekEnd:function(){this.setState({dragging:!1}),this.removeSeekListeners(),this.wasPlaying&&this.props.videoInterface.playVideo()},onSeek:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageX,i=this.el.getBoundingClientRect(),o=DS.utils.clamp(0,1,(n-i.left)/i.width);this.props.videoInterface.seekVideo(o)},handleFullScreenFocus:function(e){u.setFocusRectOn(e.target),this.removeKeyListener=c("keydown",this.handleFullScreenKeyDown),this.props.showVideoControls()},handleFullScreenBlur:function(e){u.takeFocusOff(e.target),null!=this.removeKeyListener&&this.removeKeyListener()},handleFullScreenKeyDown:function(e){var t=this.props.videoInterface.getElapsedTime(),n=this.props.totalTime,i=!0;d.isDownishKey(e.which)?t--:d.isUpishKey(e.which)?t++:d.isHomeKey(e.which)?t=n:d.isEndKey(e.which)?t=0:i=!1;var r=h(0,1,t/n);i&&(e.preventDefault(),this.props.showVideoControls(),this.props.videoInterface.seekVideo(r))},onMouseOver:function(e){this.setState({hovering:!0}),this.removeHoverListeners=_.flow([l("mousemove",this.onHoverMove)]),this.onHoverMove(e)},onHoverMove:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageX;this.lastHover={pageX:n};var i=this.el.getBoundingClientRect(),o=this.props.totalTime,s=this.props.videoInterface.getElapsedTime()/o,a=DS.utils.clamp(0,1,(n-i.left)/i.width);this.refs.popup.style.left="".concat(100*a,"%");var l=this.refs.seekPreview;l.style.left="".concat(100*Math.min(s,a),"%"),l.style.width="".concat(100*Math.abs(a-s),"%"),this.setState({hoverTime:a*o})},onMouseOut:function(){this.setState({hovering:!1}),null!=this.removeHoverListeners&&this.removeHoverListeners()}})}.call(t,n,t,e))||(e.exports=i)},7842:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(3305),i=n(8698),o=(n(2500),DS),s=o.globalEventHelper,a=s.addBodyListener,l=s.addDocumentListener,c=o.appState,u=o.events,d=o.pubSub,h=o.utils,p=h.getPath,f=h.clamp,g=o.focusManager,m=o.keyManager;return DS.flagManager.dropInVideo&&(t=DS.DropIn),t.createClass({displayName:"VolumeControl",mixins:[DS.flagManager.dropInVideo?i.dropIn:i],getInitialState:function(){return{volume:this.getVolume(),mute:!1,sliderOpen:!1}},componentDidMount:function(){d.on(u.volume.CHANGED,this.onVolumeChanged),this.removeMouseListener=a("mouseup",this.checkClickOutside)},componentDidUpdate:function(){this.props.isFullScreen||null==this.removeKeyListener||this.removeKeyListener()},componentWillUnmount:function(){d.off(u.volume.CHANGED,this.onVolumeChanged),this.removeMouseListener(),this.removeDragListeners&&this.removeDragListeners()},checkClickOutside:function(e){this.mouseOver||p(e,"target.dataset.volumeRelated",!1)||this.closeSlider()},toggleMute:function(){c.onToggleVolume()},onMouseOver:function(){this.mouseOver=!0,this.openSlider()},onMouseOut:function(){this.mouseOver=!1,this.dragging||this.closeSlider()},isSliderOpen:function(){return this.state.sliderOpen},openSlider:function(){this.setState({sliderOpen:!0})},closeSlider:function(){this.setState({sliderOpen:!1})},onDragStart:function(e){this.removeDragListeners=_.flow([a("mousemove",this.onDragging),a("mouseup",this.onDragEnd)]),this.onDragging(e)},onDragEnd:function(){this.dragging=!1,this.removeDragListeners()},onDragging:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageY,i=this.refs.track.getBoundingClientRect(),o=1-f(0,1,(n-i.top)/i.height);this.dragging=!0,this.updateVolume(o)},getVolume:function(){return c.currentVolume()},updateVolume:function(e){c.setVolume(e),this.setState({volume:e})},onVolumeChanged:function(e){this.setState({volume:e})},getButtonEl:function(){return this.refs.mute},getSliderEl:function(){return this.refs.volumeSlider},findTargetOwner:function(e){var t;return _.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=i,!0})),t},handleFullScreenFocus:function(e){g.setFocusRectOn(e.target),this.props.showVideoControls(),this.openSlider()},handleFullScreenBlur:function(e){g.takeFocusOff(e.target),this.el.contains(e.relatedTarget)||this.closeSlider()},handleFullScreenSliderFocus:function(e){this.openSlider(),g.setFocusRectOn(e.target,void 0,10),this.removeKeyListener=l("keydown",this.handleFullScreenKeyDown)},handleFullScreenSliderBlur:function(e){g.takeFocusOff(e.target),null!=this.removeKeyListener&&this.removeKeyListener(),this.el.contains(e.relatedTarget)||this.closeSlider()},handleFullScreenKeyDown:function(e){var t=10*this.state.volume,n=!0;m.isDownishKey(e.which)?t--:m.isUpishKey(e.which)?t++:m.isHomeKey(e.which)?t=10:m.isEndKey(e.which)?t=0:n=!1,t=f(0,10,t),n&&(e.preventDefault(),this.setState({volume:t/10}))}})}.call(t,n,t,e))||(e.exports=i)},2812:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=DS,n=t.stringTabler,i=t.pubSub,r=t.events;return{getInitMenuState:function(){return i.on(r.player.PLAYBACK_SPEED_CHANGED,this.updateMenu),{currentChoice:1,currentIndex:3}},handleUnmount:function(){i.off(r.player.PLAYBACK_SPEED_CHANGED,this.updateMenu)},updateMenu:function(e){this.setState({currentChoice:e}),this.menuComponent.setState({currentChoice:e})},getButtonLabel:function(){return n.getString("acc_modern_video_playback_speed")},getMenuLabel:function(){return n.getString("modern_video_playback_speed_title")},getOptions:function(){return[{label:"2",value:2},{label:"1.75",value:1.75},{label:"1.5",value:1.5},{label:"1.25",value:1.25},{label:n.getString("modern_video_normal_speed"),value:1},{label:"0.75",value:.75},{label:"0.5",value:.5},{label:"0.25",value:.25}]},getIconType:function(){return"modernSpeed"},handleSelected:function(e){this.props.videoInterface.setPlaybackSpeed(e)}}}.call(t,n,t,e))||(e.exports=i)},872:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=DS,s=o.globalEventHelper.addDocumentListener,a=o.focusManager;return DS.flagManager.dropInCore&&(i=DS.DropIn),i.createClass({mixins:[DS.flagManager.dropInCore?t.dropIn:t],displayName:"KebabMenu",getInitialState:function(){return{open:!1}},componentDidUpdate:function(){null!=this.accView&&this.accView.updateKebabState(this.getAccState())},componentWillUnmount:function(){null!=this.removeDocumentListener&&this.removeDocumentListener()},getOptionRef:function(e){return"option-".concat(e)},registerAccView:function(e){this.accView=e},getAccState:function(){var e=this,t={kebabOpen:this.state.open};return t.kebabOptions=this.props.options.map((function(t){var n=t.id,i=t.value,r=t.label,o=e.refs[e.getOptionRef(n)].getBoundingClientRect();return{id:n,checked:i,label:r,rect:e.props.toWindowCoords(o)}})),t},handleFullScreenFocus:function(e){a.setFocusRectOn(e.target)},handleFullScreenBlur:function(e){a.takeFocusOff(e.target),this.state.open&&!this.el.contains(e.relatedTarget)&&this.closePanel()},handleKebabClicked:function(){this.state.open?this.closePanel():this.openPanel()},handleOptionClicked:function(e,t){this.props.optionCallback(e,!t),this.closePanel(),this.refs.kebabButton.focus()},openPanel:function(){this.removeDocumentListener=s("pointerup",this.checkShouldClose),this.setState({open:!0})},closePanel:function(){this.setState({open:!1})},checkShouldClose:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=document.elementFromPoint(i,o);this.el.contains(s)||this.closePanel()},findTargetOwner:function(e){var t;return _.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=null!=n.findTargetOwner?n.findTargetOwner(e):i,!0})),t}})}.call(t,n,t,e))||(e.exports=i)},4889:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=n(9951),s=DS,a=s.globalEventHelper.addDocumentListener,l=s.globalEventHelper,c=l.addResizeListener,u=l.addWindowListener,d=s.focusManager,h=s.keyManager;return DS.flagManager.dropInCore&&(i=DS.DropIn),i.createClass({mixins:[DS.flagManager.dropInCore?t.dropIn:t],displayName:"SelectControl",getInitialState:function(){return{selectedIndex:0,hoverIndex:0}},componentDidMount:function(){this.setColors(),this.removeMenuListeners=function(){},this.removeResizeListeners=_.flow(c(this.refs.input,this.handleResize),u("resize",this.handleResize))},componentDidUpdate:function(){this.updateAccState()},componentWillUnmount:function(){this.unmounted=!0,this.removeMenuListeners(),this.removeResizeListeners()},setColors:function(){o.setCssColorVariables(this.el,[{group:"base",name:"accent"},{group:"text",name:"default"},{group:"text",name:"active"},{group:"select",name:"border"},{group:"select",name:"openBorder"},{group:"select",name:"background"},{group:"selectlist",name:"border"},{group:"selectlist",name:"background"},{group:"selectitem",name:"selectedBorder"},{group:"selectitem",name:"selectedBackground"}])},isOpen:function(){return this.state.open},handleClicked:function(e){this.toggleOpen()},toggleOpen:function(){this.state.open?this.closePanel():this.openPanel()},openPanel:function(){this.setState({open:!0}),this.removeMenuListeners=_.flow(a("keydown",this.handleKeyDown),a("pointerup",this.checkShouldClose)),this.setState({hoverIndex:this.state.selectedIndex}),this.setItemFocus()},closePanel:function(){this.setState({open:!1}),this.removeMenuListeners()},checkShouldClose:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=document.elementFromPoint(i,o);this.refs.input.contains(s)||this.refs.list.contains(s)||this.closePanel()},handleFullScreenFocus:function(e){d.setFocusRectOn(e.target)},handleFullScreenBlur:function(e){d.takeFocusOff(e.target),this.state.open&&!this.el.contains(e.relatedTarget)&&this.closePanel()},handleOptionClicked:function(e,t){this.setState({selectedIndex:t}),this.closePanel(),this.props.changeCallback(t),this.setItemFocus("button"),e.preventDefault()},getSelectedText:function(){var e=this.props.options[this.state.selectedIndex];return null!=e?e.display:"Not Found"},getRefName:function(e){return"option-".concat(e)},registerAccView:function(e){this.accView=e},handleResize:function(){this.updateAccState()},updateAccState:function(){var e=this;cancelAnimationFrame(this.updateStateRequest),this.updateStateRequest=requestAnimationFrame((function(){e.unmounted||e.accView.updateState(e.getAccState())}))},toSelectCoords:function(e,t){t=t||this.props.toPanelCoords(this.el.getBoundingClientRect());var n=r(this.props.toPanelCoords(e),4),i=n[0],o=n[1],s=n[2],a=n[3],l=r(t,2),c=l[0],u=l[1];return[i-c,o-u,s-c,a-u]},handleKeyDown:function(e){var t=this.props.options.length,n=this.state.hoverIndex;h.isDownishKey(e.which)?n++:h.isUpishKey(e.which)?n--:h.isHomeKey(e.which)?n=0:h.isEndKey(e.which)?n=t-1:h.isActionKey(e.which)?(this.handleOptionClicked(e,n,!0),this.setItemFocus("button")):h.isTabKey(e.which)&&this.closePanel(e),n>=t&&(n=0),n<0&&(n=t-1),n!==this.state.hoverIndex&&(this.setState({hoverIndex:n}),this.setItemFocus(),e.preventDefault())},setItemFocus:function(e){var t=this;window.requestAnimationFrame((function(){t.unmounted||(t.props.isFullScreen?"button"===e?d.setFocusRectOn(t.refs.input):t.state.open&&d.setFocusRectOn(t.refs[t.getRefName(t.state.hoverIndex)]):t.accView.takeControlFocus(e))}))},getAccState:function(){var e=this,t=this.props.toPanelCoords(this.el.getBoundingClientRect());return{options:this.props.options.map((function(n,i){var r=e.refs[e.getRefName(i)];return{selected:e.state.selectedIndex===i,label:n.display,rect:e.toSelectCoords(r.getBoundingClientRect(),t)}})),open:this.state.open,selectedIndex:this.state.selectedIndex,hoverIndex:this.state.hoverIndex,rect:t,inputRect:this.toSelectCoords(this.refs.input.getBoundingClientRect(),t),label:this.getSelectedText()}}})}.call(t,n,t,e))||(e.exports=i)},6545:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),o=n(9951),s=DS,a=s.utils,l=s.stringTabler,c=s.globalEventHelper,u=c.addResizeListener,d=c.addWindowListener,h=c.addDocumentListener,p=s.keyManager,f=s.focusManager;return DS.flagManager.dropInCore&&(i=DS.DropIn),i.createClass({mixins:[DS.flagManager.dropInCore?t.dropIn:t],displayName:"TranscriptList",getInitialState:function(){return this.removeScrollListeners=function(){},this.removeKeyListeners=function(){},this.removeFocusListeners=function(){},this.removeListener=function(){},{selectedIndex:-1,focusedIndex:-1}},componentDidMount:function(){var e=this;this.mounted=!0,this.setColors(),this.refs.content.addEventListener("scroll",this.onDragScroll),this.refs.scrollThumb.addEventListener("pointerdown",this.onScrollStart),this.refs.content.addEventListener("wheel",this.handleMouseWheel),this.removeListeners=_.flow(u(this.el,(function(){e.updateScrollbarSize(),e.updateAccState()})),d("resize",(function(){return e.updateAccState()})),(function(){e.refs.scrollThumb.removeEventListener("pointerdown",e.onScrollStart),e.refs.content.removeEventListener("wheel",e.handleMouseWheel),e.refs.content.removeEventListener("scroll",e.onDragScroll)})),this.updateScrollbarSize(),this.updateVideoListeners()},componentDidUpdate:function(e){var t=this;this.updateScrollbarSize(),this.updateVideoListeners(),this.props.transcript!==e.transcript&&this.updateSelectedCue(!0);var n=this.autoScroll,i=this.props.options.find((function(e){return"autoScroll"===e.id}));this.autoScroll=i.value&&!this.props.autoScrollPaused,this.autoScroll&&n!==this.autoScroll&&this.scrollItemIntoView(this.state.selectedIndex),this.updateAccState(),this.props.isFullScreen!==e.isFullScreen&&(this.props.isFullScreen?(this.el.addEventListener("focusin",this.handleListFocus),this.el.addEventListener("focusout",this.handleListBlur),this.removeFocusListeners=function(){t.el.removeEventListener("focusin",t.handleListFocus),t.el.removeEventListener("focusout",t.handleListBlur)}):this.removeFocusListeners())},componentWillUnmount:function(){this.mounted=!1,this.unmounting=!0,this.removeListeners(),this.removeScrollListeners(),this.removeKeyListeners(),this.removeFocusListeners()},formatTime:function(e){return a.formatSecondsAsTime(e/1e3)},registerAccView:function(e){this.accView=e},toListCoords:function(e,t){t=t||this.props.toPanelCoords(this.el.getBoundingClientRect());var n=r(this.props.toPanelCoords(e),4),i=n[0],o=n[1],s=n[2],a=n[3],l=r(t,2),c=l[0],u=l[1];return[i-c,o-u,s-c,a-u]},updateAccState:function(){var e=this;null!=this.accView&&(window.cancelAnimationFrame(this.updateStateRequest),this.updateStateRequest=requestAnimationFrame((function(){e.mounted&&e.accView.updateState(e.getAccState())})))},getTimeCodesEnabled:function(){var e=this.props.options.find((function(e){return"timeCodes"===e.id}));return e&&e.value},getAccState:function(){var e=this,t=this.state,n=t.selectedIndex,i=t.focusedIndex,r=this.props.toPanelCoords(this.el.getBoundingClientRect()),o=this.props.transcript,s=(o=void 0===o?{}:o).cues;return{options:(void 0===s?[]:s).map((function(t,i){var o=e.getItem(i);return{selected:n===i,time:e.formatTime(t.start),label:t.text,rect:e.toListCoords(o.getBoundingClientRect(),r)}})),timeCodeEnabled:this.getTimeCodesEnabled(),selectedIndex:n,focusedIndex:i,rect:r,label:l.getString("acc_video_transcript_list")}},setColors:function(){o.setCssColorVariables(this.el,[{group:"text",name:"default"},{group:"text",name:"active"},{group:"listitem",name:"selectedBorder"},{group:"scrollbar",name:"thumbBackground"}])},formatItemRef:function(e){return"transcript-item-".concat(e)},getItem:function(e){return this.refs[this.formatItemRef(e)]},updateVideoListeners:function(){var e=this.shouldListen;this.shouldListen=!this.unmounting&&this.props.isVisible,!e&&this.shouldListen&&window.requestAnimationFrame(this.onTick)},onTick:function(){this.shouldListen&&(this.updateSelectedCue(),window.requestAnimationFrame(this.onTick))},updateSelectedCue:function(e){var t=1e3*this.props.videoInterface.getElapsedTime();if(t!==this.lastTime||e){this.lastTime=t;var n=this.props.transcript,i=(n=void 0===n?{}:n).cues,r=void 0===i?[]:i,o=this.state.selectedIndex,s=r.findIndex((function(e,n){var i=e.start,o=(r[n+1]||{start:Number.MAX_SAFE_INTEGER}).start;return t>=i&&t<o}));o!==s&&(this.setState({selectedIndex:s}),this.autoScroll&&this.scrollItemIntoView(s))}},scrollItemIntoView:function(e){if(this.state.scrollable&&this.mounted&&e>=0){var t=this.getItem(e),n=t.offsetTop,i=t.offsetHeight,r=this.refs.content.clientHeight,o=this.scrollTop();n-2<o&&this.scrollTop(n-2),n+i+2>o+r&&this.scrollTop(n+i+2-r),this.lastAutoScrollTop=this.scrollTop()}},onDragScroll:function(e){this.state.scrolling||(this.updateScrollbarPos(),this.notifyScrolled())},onScrollStart:function(e){var t=this,n=this.refs.scrollThumb;n.addEventListener("pointermove",this.onScrollDrag),n.addEventListener("pointerup",this.onScrollEnd),n.addEventListener("touchmove",this.onTouchMove),n.setPointerCapture(e.pointerId),this.removeScrollListeners=_.flow((function(){return n.removeEventListener("pointermove",t.onScrollDrag)}),(function(){return n.removeEventListener("pointerup",t.onScrollEnd)}),(function(){return n.releasePointerCapture(e.pointerId)}),(function(){return n.removeEventListener("touchmove",t.onTouchMove)}));var i=e.touches,o=r(i=void 0===i?[e]:i,1)[0].pageY,s=n.getBoundingClientRect().top,a=this.refs.scrollbar.getBoundingClientRect().top;this.scrollOffset=a+(o-s),this.setState({scrolling:!0})},onTouchMove:function(e){e.preventDefault()},onScrollEnd:function(e){this.onScrollDrag(e),this.setState({scrolling:!1}),this.removeScrollListeners()},notifyScrolled:function(){this.autoScroll&&this.lastAutoScrollTop!==this.scrollTop()&&this.props.notifyScrolled()},onScrollDrag:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0].pageY,i=a.clamp(0,this.maxThumbTop,n-this.scrollOffset);this.refs.scrollThumb.style.top="".concat(i,"px"),this.updateScrollOffset()},updateScrollOffset:function(){var e=this.refs.scrollThumb,t=parseFloat(e.style.top)||0,n=this.refs.content,i=n.scrollHeight,r=n.clientHeight,o=r-this.thumbSize;this.scrollTop(t/o*(i-r))},handleListFocus:function(){var e=this.state.selectedIndex<0?0:this.state.selectedIndex;this.setState({focusedIndex:e}),null!=this.accView&&this.accView.setItemFocus(e),this.removeKeyListeners=h("keydown",this.handleKeyDown)},handleListBlur:function(){this.removeKeyListeners()},handleKeyDown:function(e){var t=this,n=this.props.transcript,i=(n=void 0===n?{}:n).cues,r=(void 0===i?[]:i).length,o=this.state.focusedIndex;if(p.isDownishKey(e.which)?o++:p.isUpishKey(e.which)?o--:p.isHomeKey(e.which)?o=0:p.isEndKey(e.which)&&(o=r-1),o>=r&&(o=0),o<0&&(o=r-1),o!==this.state.focusedIndex){var s=this.scrollTop();this.scrollItemIntoView(o),this.setState({focusedIndex:o}),requestAnimationFrame((function(){t.mounted&&(t.props.isFullScreen?f.setFocusRectOn(t.refs[t.formatItemRef(o)]):null!=t.accView&&t.accView.setItemFocus(o),s!==t.scrollTop()&&t.props.notifyScrolled())})),e.preventDefault()}},handleMouseWheel:function(e){var t=22*(e.deltaY>0?1:-1);this.scrollTop(this.scrollTop()+t)},scrollTop:function(e){var t=this.refs.content.scrollTop;if(null==e)return t;e=a.clamp(0,this.maxScrollTop,e),this.refs.content.scrollTop=e,this.updateScrollbarPos(e),Math.round(e)!==Math.round(t)&&this.updateAccState()},updateScrollbarPos:function(e){var t=(null!=e?e:this.refs.content.scrollTop)/this.maxScrollTop*this.maxThumbTop;this.refs.scrollThumb.style.top="".concat(t,"px")},updateScrollbarSize:function(){var e=this.refs.content,t=e.scrollHeight,n=e.clientHeight;t>n?(this.thumbSize=n/t*n,this.refs.scrollThumb.style.height="".concat(this.thumbSize,"px"),this.maxScrollTop=t-n,this.maxThumbTop=n-this.thumbSize,this.updateScrollbarPos(),this.setState({scrollable:!0})):this.setState({scrollable:!1})},handleListClicked:function(e){this.props.isFullScreen||null==this.accView||this.accView.takeControlFocus()}})}.call(t,n,t,e))||(e.exports=i)},1943:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(8698),i=n(3305),s=DS,a=s.pubSub,l=s.events,c=s.stringTabler,u=s.globalEventHelper.addResizeListener,d=s.detection.deviceView.isPhone,h=s.focusManager,p=s.localizationManager;DS.flagManager.dropInCore&&(i=DS.DropIn);var f=i.createClass({mixins:[DS.flagManager.dropInCore?t.dropIn:t],displayName:"TranscriptPanel",getInitialState:function(){return this.selectLabel=c.getString("video_transcript_select_track"),this.resumeAutoScrollText=c.getString("video_transcript_resume_autoscroll"),null==this.props.videoInterface.getTranscriptData()?(a.once(l.slide.STARTED,this.initTranscriptData),{trackOptions:[]}):this.getInitStateData()},componentDidMount:function(){var e;this.removeResizeListeners=(e=_).flow.apply(e,[u(this.el,this.handleResize),a.addListener(l.slide.SCALE_COMPLETE,this.handleResize),a.addListener(l.video.CHANGE_TRANSCRIPT_TRACK,this.handleTranscriptChange)].concat(o(DS.flagManager.multiLangSupport?[a.addListener(l.localization.LANGUAGE_UPDATED,this.handleLangCodeChange)]:[])))},componentDidUpdate:function(){this.updateAccState()},componentWillUnmount:function(){this.removeResizeListeners(),this.unmounted=!0},getInitStateData:function(){var e=this.props.videoInterface.getTranscriptData().transcripts;return this.transcripts=e,{trackOptions:e.map((function(e,t){return{value:t,display:e.name}})),transcript:DS.flagManager.multiLangSupport?e[this.getTrackByLangCode(p.getCurrentLangCode(),0)]:_.first(e)}},handleTranscriptChange:function(e,t){e===this.props.id&&t>=0&&this.setState({transcript:this.transcripts[t]})},initTranscriptData:function(){this.setState(this.getInitStateData())},getTrackByLangCode:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=this.transcripts.findIndex((function(t){return t.langCode.toLowerCase()===e}));return n>=0?n:t},handleLangCodeChange:function(e){var t=this.getTrackByLangCode(e);t>=0&&this.setState({transcript:this.transcripts[t]})},handleTrackChanged:function(e){this.setState({transcript:this.transcripts[e]})},registerAccView:function(e){this.accView=e},getSelectView:function(){return this.refs.trackSelect},getListView:function(){return this.refs.transcriptList},handleResize:function(){this.updateAccState(),null!=this.refs.trackSelect&&this.refs.trackSelect.updateAccState(),null!=this.refs.transcriptList&&this.refs.transcriptList.updateAccState()},handleTranscriptScrolled:function(){this.setState({autoScrollPaused:!0})},handleResumeScrollClicked:function(){this.setState({autoScrollPaused:!1})},handleFullScreenFocus:function(e){h.setFocusRectOn(e.target)},handleFullScreenBlur:function(e){h.takeFocusOff(e.target)},updateAccState:function(){var e=this;null!=this.accView&&(cancelAnimationFrame(this.updateStateRequest),this.updateStateRequest=requestAnimationFrame((function(){e.unmounted||e.accView.updateState(e.getAccState())})))},toPanelCoords:function(e,t){t=t||this.props.toWindowCoords(this.el.getBoundingClientRect());var n=r(this.props.toWindowCoords(e),4),i=n[0],o=n[1],s=n[2],a=n[3],l=r(t,2),c=l[0],u=l[1];return[i-c,o-u,s-c,a-u]},getAccState:function(){var e,t=this.props.toWindowCoords(this.el.getBoundingClientRect()),n=!d&&this.state.trackOptions.length>1&&!DS.flagManager.multiLangSupport;if(n){var i=this.refs.label.getBoundingClientRect();e=this.toPanelCoords(i,t)}var r,o=this.props.options.find((function(e){return"autoScroll"===e.id}))&&this.state.autoScrollPaused;if(o){var s=this.refs.resumeAutoScroll.getBoundingClientRect();r=this.toPanelCoords(s,t)}return{rect:t,labelRect:e,labelText:this.selectLabel,showTrackSelect:n,showResumeScroll:o,resumeScrollRect:r,resumeScrollLabel:this.resumeAutoScrollText}}});return f.getPanelOptions=function(){return[{id:"autoScroll",label:c.getString("transcript_auto_scroll"),value:!0},{id:"timeCodes",label:c.getString("transcript_show_timestamp"),value:!0}]},f}.call(t,n,t,e),void 0===i||(e.exports=i)},5047:function(e,t,n){var i;function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}i=function(e){"use strict";var t=n(3305),i=n(8698),s=n(9951),a=n(1943),l=n(8907),c=.98,u=.55,d={transcript:a},h=DS,p=h._,f=h.globalEventHelper,g=f.addWindowListener,m=f.addDocumentListener,v=f.addBodyListener,S=h.detection,y=S.deviceView,b=y.isPhone,w=y.isTablet,C=S.orientation,x=h.pubSub,D=h.events,E=h.constants,T=h.keyManager,P=h.utils,I=h.focusManager,A=h.playerGlobals,M=10,k=w?50:20,L=200,R=240,_=["topLeftSizer","topSizer","topRightSizer","rightSizer","leftSizer","bottomLeftSizer","bottomSizer","bottomRightSizer"],O=function(e,t,n){return{top:Math.min(t,n.bottom-R),height:Math.max(n.height+n.top-t,R)}},V=function(e,t,n){return{left:Math.min(e,n.right-L),width:Math.max(n.width+n.left-e,L)}},N=function(e,t,n){return{height:Math.max(n.height+t-(n.top+n.height),R)}},j=function(e,t,n){return{width:Math.max(n.width+e-(n.left+n.width),L)}},B=function(e,t){return function(n,i,r){return Object.assign({},e(n,i,r),t(n,i,r))}},F={top:O,left:V,bottom:N,right:j,topleft:B(O,V),topright:B(O,j),bottomleft:B(N,V),bottomright:B(N,j)};DS.flagManager.dropInCore&&(t=DS.DropIn);var U=t.createClass({displayName:"UtilityWindow",mixins:[DS.flagManager.dropInCore?i.dropIn:i],getInitialState:function(){this.removeKeyListeners=function(){},this.removeMoveListeners=function(){},this.removeResizeListeners=function(){};var e=p.first(this.props.dockLocations),t=this.getDockedPosition(e),n=(t.top,t.left),i=t.width,r=t.height;return r=Math.max(R,2*window.innerHeight/3),{top:(window.innerHeight-r)/2,left:n,width:i,height:r,moving:!1,resizing:!1,dockedState:e,autoScroll:!0,kebabOptions:this.getKebabOptions(),keyFocusActive:!1,isFullScreen:this.props.isFullScreen,portraitPercent:0,expanded:!1,title:this.props.title}},componentDidMount:function(){var e=this;this.mounted=!0,this.setColors(),this.el.style.setProperty("--default-font",DS.presentation.getDefaultFont()),this.el.style.setProperty("--font-scale",DS.presentation.getFontScale()/100),this.removeWindowListeners=p.flow(g("resize",this.handleWindowResize),x.addListener(D.slide.SCALE_COMPLETE,this.handleWindowResize),x.addListener(D.utilityWindow.TOGGLE_WINDOW,this.onToggleWindow),x.addListener(D.detection.ORIENTATION_CHANGE,this.onOrientationChange),x.addListener(D.slide.HAS_CHANGED,this.onSlideChange),x.addListener(D.utilityWindow.WINDOW_TOGGLED,this.onWindowToggled)),DS.flagManager.dropInVideo||x.on(D.utilityWindow.TOGGLE_WINDOW,this.onToggleWindow),this.refs.moveHandle.addEventListener("pointerdown",this.onMoveStart),this.refs.buttonMoveHandle.addEventListener("pointerdown",this.onMoveStart),b||_.forEach((function(t){e.refs[t].addEventListener("pointerdown",e.onResizeStart)})),this.updateAccView()},componentDidUpdate:function(e,t){this.notifyDocked(t),this.updateAccView(this.wasMoved(t)),this.state.dockedState===t.dockedState&&this.state.isOpen===t.isOpen||I.updateFocusBox()},componentWillUnmount:function(){var e=this;this.mounted=!1,this.accView=null,this.refs.moveHandle.removeEventListener("pointerdown",this.onMoveStart),this.refs.buttonMoveHandle.removeEventListener("pointerdown",this.onMoveStart),b||_.forEach((function(t){e.refs[t].removeEventListener("pointerdown",e.onResizeStart)})),x.trigger(D.utilityWindow.DOCKED,this.props.id,{dockedState:E.docked.NONE,dockedWidth:0}),this.removeMoveListeners(),this.removeResizeListeners(),this.removeWindowListeners(),this.removeKeyListeners()},wasMoved:function(e){var t=this.state,n=t.top,i=t.left,r=t.width,o=t.height,s=e.top,a=e.left,l=e.width,c=e.height;return s!==n||a!==i||l!==r||c!==o},updateAccView:function(e){var t=this;window.requestAnimationFrame((function(){null!=t.accView&&t.accView.updateState(e)}))},getPanelType:function(){return this.props.panelType},getPanelClass:function(){return d[this.props.panelType]},getKebabOptions:function(){return null==this.kebabOptions&&(this.kebabOptions=this.getPanelClass().getPanelOptions()),this.kebabOptions},optionUpdated:function(e,t){var n=this.state.kebabOptions.find((function(t){return t.id===e}));null!=n&&n.value!==t&&(n.value=t,this.setState({kebabOptions:o(this.state.kebabOptions)}))},onSlideChange:function(){this.state.isOpen&&this.closeWindow()},onOrientationChange:function(e){var t=e.orientation;this.forceUpdate(),b&&this.state.isOpen&&requestAnimationFrame((function(){"portrait"===t?x.trigger(D.threeSixtyImage.PUSH_UP_BY_LABEL):x.trigger(D.threeSixtyImage.PUSH_DOWN_BY_LABEL)}))},onToggleWindow:function(e,t){e===this.props.id&&(t?this.openWindow():this.closeWindow())},onWindowToggled:function(e,t){t&&this.state.isOpen&&e!==this.props.id&&this.closeWindow()},openWindow:function(){this.setState({isOpen:!0,portraitPercent:u}),x.trigger(D.utilityWindow.WINDOW_TOGGLED,this.props.id,!0),b&&(A.player.setAllAccVisibility(!1),C.isPortrait&&x.trigger(D.threeSixtyImage.PUSH_UP_BY_LABEL))},closeWindow:function(){this.setState({isOpen:!1,portraitPercent:0,dockedState:p.first(this.props.dockLocations)}),x.trigger(D.utilityWindow.WINDOW_TOGGLED,this.props.id,!1),b&&(A.player.setAllAccVisibility(!0),x.trigger(D.threeSixtyImage.PUSH_DOWN_BY_LABEL))},notifyDocked:function(e){null!=e&&e.dockedState===this.state.dockedState&&e.isOpen===this.state.isOpen||x.trigger(D.utilityWindow.DOCKED,this.props.id,{dockedState:this.state.isOpen?this.state.dockedState:E.docked.NONE,dockedWidth:330})},handleCloseClicked:function(){this.closeWindow()},handleAccKebabClicked:function(){this.refs.kebabMenu.handleKebabClicked()},closeKebabPanel:function(){this.refs.kebabMenu.closePanel()},getDockedPosition:function(e){if(b)return this.getPhoneDockedPosition();if((e=e||this.state.dockedState)===E.docked.NONE)return this.clampRect();var t=innerHeight-20,n=Math.min(window.innerWidth-20,320);return{top:10,left:e===E.docked.LEFT?M:innerWidth-n-M,width:n,height:t}},getPhoneDockedPosition:function(){if(C.isPortrait){var e=(this.state||{}).portraitPercent,t=void 0===e?u:e,n=Math.max(t,u),i=window.innerHeight*n;return{width:window.innerWidth,height:i,left:0,top:window.innerHeight-window.innerHeight*t}}var r=.4*window.innerWidth,o=(this.state||{}).isOpen;return{width:r,height:window.innerHeight,left:o?window.innerWidth-r:window.innerWidth,top:0}},handleFullScreenFocus:function(e){I.setFocusRectOn(e.target)},handleFullScreenBlur:function(e){I.takeFocusOff(e.target),this.stopKeyListening()},handleWindowResize:function(){if(this.state.isOpen){var e=this.state,t=e.left,n=e.width;this.state.dockedState===E.docked.RIGHT&&(t=window.innerWidth-M-n),this.setState({left:t}),this.forceUpdate()}},clampRect:function(e){var t=e||this.state,n=t.top,i=t.left,r=t.width,o=t.height,s=window,a=s.innerWidth,l=s.innerHeight;return{width:P.clamp(L,a-20,r),height:P.clamp(R,l-20,o),left:P.clamp(M,a-M-r,i),top:P.clamp(M,l-M-o,n)}},setColors:function(){s.setCssColorVariables(this.el,[{group:"base",name:"accent"},{group:"window",name:"background"},{group:"window",name:"border"},{group:"window",name:"activeBorder"},{group:"window",name:"shadow"},{group:"window",name:"divider"},{group:"button",name:"icon"},{group:"button",name:"iconHover"},{group:"button",name:"border"},{group:"button",name:"background"},{group:"text",name:"default"},{group:"text",name:"active"}])},onMoveStart:function(e){var t=this,n=this.refs.moveHandle;n.addEventListener("pointermove",this.onMove),n.addEventListener("pointerup",this.onMoveEnd),n.addEventListener("touchmove",this.onTouchMove),n.setPointerCapture(e.pointerId),this.removeMoveListeners=p.flow([function(){return n.removeEventListener("pointermove",t.onMove)},function(){return n.removeEventListener("pointerup",t.onMoveEnd)},function(){return n.releasePointerCapture(e.pointerId)},function(){return n.removeEventListener("touchmove",t.onTouchMove)}]);var i=e.touches,o=r(i=void 0===i?[e]:i,1)[0],s=o.pageX,a=o.pageY,l=this.el.getBoundingClientRect();this.moveOffset={x:s-l.left,y:a-l.top},this.setState({moving:!0})},onTouchMove:function(e){e.preventDefault()},onMoveEnd:function(e){var t=this;if(this.onMove(e),b){var n=this.state.portraitPercent;this.el.classList.remove("moving"),this.state.expanded?n<.88?this.setState({portraitPercent:u,expanded:!1}):n<.45000000000000007?(this.setState({expanded:!1,portraitPercent:0}),x.trigger(D.threeSixtyImage.PUSH_DOWN_BY_LABEL),setTimeout((function(){t.mounted&&t.closeWindow()}),250)):this.setState({portraitPercent:c}):n>.65?this.setState({portraitPercent:c,expanded:!0}):n<.45000000000000007?(this.setState({portraitPercent:0}),x.trigger(D.threeSixtyImage.PUSH_DOWN_BY_LABEL),setTimeout((function(){t.mounted&&t.closeWindow()}),250)):this.setState({portraitPercent:u})}this.setState({moving:!1}),this.removeMoveListeners()},onMove:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY-this.moveOffset.y;if(b){if(C.isPortrait){var s=window.innerHeight,a=(s-o)/s;a=P.clamp(0,c,a),this.setState({portraitPercent:a})}}else{var l,u=i-this.moveOffset.x,d=this.state,h=d.width,p=d.height;l=i<k&&this.props.dockLocations.includes(E.docked.LEFT)?E.docked.LEFT:i>window.innerWidth-k&&this.props.dockLocations.includes(E.docked.RIGHT)?E.docked.RIGHT:E.docked.NONE;var f={top:o,left:u,width:h,height:p};this.setState(Object.assign(this.clampRect(f),{dockedState:l}))}},onResizeStart:function(e){var t=this,n=e.target;this.resizeType=n.dataset.resizePos,n.addEventListener("pointermove",this.onResize),n.addEventListener("pointerup",this.onResizeEnd),n.setPointerCapture(e.pointerId),this.removeResizeListeners=p.flow([function(){return n.removeEventListener("pointermove",t.onResize)},function(){return n.removeEventListener("pointerup",t.onResizeEnd)},function(){return n.releasePointerCapture(e.pointerId)}]),this.resizeOffset=this.el.getBoundingClientRect(),this.setState({resizing:!0})},onResizeEnd:function(e){this.onResize(e),this.setState({resizing:!1}),this.removeResizeListeners()},onResize:function(e){var t=e.touches,n=r(t=void 0===t?[e]:t,1)[0],i=n.pageX,o=n.pageY,s=window,a=s.innerWidth,l=s.innerHeight;i=P.clamp(M,a-M,i),o=P.clamp(M,l-M,o);var c=this.state,u=c.top,d=c.left,h=c.width,p=c.height,f=F[this.resizeType](i,o,this.resizeOffset),g=f.top,m=void 0===g?u:g,v=f.left,S=void 0===v?d:v,y=f.width,b=void 0===y?h:y,w=f.height,C=void 0===w?p:w;this.setState({top:m,left:S,width:b,height:C,dockedState:E.docked.NONE})},handleResizeButton:function(){this.state.keyResizing?this.stopKeyListening():this.startKeyResize()},startKeyResize:function(){this.removeKeyListeners(),this.removeKeyListeners=p.flow(m("keydown",this.handleKeyResize),v("mousedown",this.stopKeyListening)),this.setState({keyFocusActive:!0,keyResizing:!0}),this.initKeyResizePos={top:this.state.top,left:this.state.left}},handleMoveButton:function(){this.state.keyMoving?this.stopKeyListening():this.startKeyMove()},startKeyMove:function(){this.removeKeyListeners(),this.removeKeyListeners=p.flow(m("keydown",this.handleKeyMove),v("mousedown",this.stopKeyListening)),this.setState({keyFocusActive:!0,keyMoving:!0})},getKeyName:function(e){return T.isUpKey(e)||87===e?"up":T.isDownKey(e)||83===e?"down":T.isLeftKey(e)||65===e?"left":T.isRightKey(e)||68===e?"right":e===E.keys.ESCAPE?"exit":"noop"},handleKeyResize:function(e){var t=this.getKeyName(e.which);if("exit"!==t){if("noop"!==t){var n=this.state,i=n.width,r=n.height,o=this.initKeyResizePos,s=o.left,a=o.top;({left:function(){i-=10},right:function(){i+=10},up:function(){r-=10},down:function(){r+=10},noop:function(){}})[t](),i=Math.min(Math.max(i,L),window.innerWidth-20),r=Math.min(Math.max(r,R),window.innerHeight-20),s+i>window.innerWidth-M&&(s=window.innerWidth-M-i),a+r>window.innerHeight-M&&(a=window.innerHeight-M-r),this.setState({top:a,left:s,width:i,height:r,dockedState:E.docked.NONE})}}else this.stopKeyListening()},handleKeyMove:function(e){var t=this.getKeyName(e.which);if("exit"!==t){if("noop"!==t){var n=this.state,i=n.top,r=n.left,o=n.width,s=n.height,a=n.dockedState;({left:function(){r-=10},right:function(){r+=10},up:function(){i-=10},down:function(){i+=10},noop:function(){}})[t](),a=r<=M&&this.props.dockLocations.includes(E.docked.LEFT)?E.docked.LEFT:r+o>=window.innerWidth-M&&this.props.dockLocations.includes(E.docked.RIGHT)?E.docked.RIGHT:E.docked.NONE,r=Math.min(Math.max(r,M),window.innerWidth-M-o),i=Math.min(Math.max(i,M),window.innerHeight-M-s),this.setState({top:i,left:r,dockedState:a})}}else this.stopKeyListening()},stopKeyListening:function(){this.removeKeyListeners(),this.setState({keyFocusActive:!1,keyResizing:!1,keyMoving:!1})},registerAccView:function(e){this.accView=e,this.refs.kebabMenu.registerAccView(e)},getPanelView:function(){return this.refs.panelView},toLocalCoords:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=P.getPath(this,"props.model.currView"),r={top:n,left:t,bottom:n,right:t};return l.globalRectToSlideObject(i,e,r)},getAccProps:function(){return{windowId:this.props.id,titleLabel:this.props.title,resizeLabel:DS.stringTabler.getString("acc_window_resize"),moveLabel:DS.stringTabler.getString("acc_window_move"),kebabMenuLabel:DS.stringTabler.getString("acc_window_options"),closeLabel:DS.stringTabler.getString("acc_window_close")}},getRefRect:function(e,t,n){var i=this.refs[e];return null==i?null:(null==i.getBoundingClientRect&&(i=i.el),this.toLocalCoords(i.getBoundingClientRect(),t,n))},getAccState:function(){var e=this,t=this.toLocalCoords(this.getDockedPosition(),-1,-1),n=r(t,2),i=n[0],o=n[1],s=function(t){return e.getRefRect(t,-i,-o)};return{windowRect:t,isOpen:this.state.isOpen,titleRect:s("title"),resizeRect:s("resize"),moveRect:s("move"),closeRect:s("close"),kebabRect:s("kebabMenu")}},getWindowRectConverter:function(){var e=this,t=r(this.toLocalCoords(this.getDockedPosition(),-1,-1),2),n=t[0],i=t[1];return function(t){return e.toLocalCoords(t,-n,-i)}},toWindowCoords:function(e){var t=r(this.toLocalCoords(this.getDockedPosition(),-1,-1),2),n=t[0],i=t[1];return this.toLocalCoords(e,-n,-i)},toPanelCords:function(e){var t=P.getPath(this,"refs.panelView.el");if(null==t)return[0,0,0,0];var n=r(this.toLocalCoords(t),2),i=n[0],o=n[1];return this.toLocalCoords(e,-i,-o)},onMouseUp:function(e){var t=this.findTargetOwner(e.target);this.props.fullScreen||null==this.accView||this.accView.takeControlFocus(t)},findTargetOwner:function(e){var t;return p.some(this.refs,(function(n,i){if((n.el||n).contains(e))return t=null!=n.findTargetOwner?n.findTargetOwner(e):i,!0})),t}});return U}.call(t,n,t,e),void 0===i||(e.exports=i)},4716:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(8698),i=n(3305),r=n(882),o=n(5047),s=n(7877),a=DS,l=a.globalEventHelper.addWindowListener,c=a.detection.deviceView.isPhone;return DS.flagManager.dropInCore&&(i=DS.DropIn,r=DS.DropInDOM),i.createClass({mixins:[DS.flagManager.dropInCore?t.dropIn:t],displayName:"UtilityWindowController",componentWillMount:function(){this.wrapper=document.createElement("div"),this.wrapper.className="utility-window-wrapper",this.utilityWindow=r.render(i.createElement(o,this.props),this.wrapper),this.removeWindowListeners=l("resize",this.handleResize),c&&this.wrapper.addEventListener("pointerdown",this.handlePointerDown)},handlePointerDown:function(e){this.utilityWindow.el.contains(e.target)||this.utilityWindow.closeWindow()},handleResize:function(){this.wrapper.style.width="".concat(window.innerWidth,"px"),this.wrapper.style.height="".concat(window.innerHeight,"px")},componentDidMount:function(){this.updateUtilityWindow()},componentDidUpdate:function(){this.updateUtilityWindow()},componentWillUnmount:function(){c&&this.wrapper.removeEventListener("pointerdown",this.handlePointerDown),this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper),r.unmountComponentAtNode(this.wrapper),this.removeWindowListeners()},updateUtilityWindow:function(){this.updateWindowParent(),this.handleResize(),DS.flagManager.multiLangSupport&&this.utilityWindow.setState({title:this.props.title})},updateWindowParent:function(){this.props.isFullScreen?(this.el.appendChild(this.wrapper),this.utilityWindow.setState({isFullScreen:!0})):(s.getTopContainer().appendChild(this.wrapper),this.utilityWindow.setState({isFullScreen:!1}))},getWindowView:function(){return this.utilityWindow}})}.call(t,n,t,e))||(e.exports=i)},3097:function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(3305),i=n(4753),r=DS,o=r.events,s=r.pubSub,a=r.localizationManager;return DS.flagManager.dropInAcc&&(t=DS.DropIn),t.extend(i,{displayName:"MessageWindowUnified",getInitialState:function(){return DS.flagManager.multiLangSupport?{currLangCode:a.getCurrentLangCode()}:{}},componentWillMount:function(){var e=this;DS.flagManager.multiLangSupport&&(this.removeLocalizationListener=s.addListener(o.localization.LANGUAGE_UPDATED,(function(t){e.setState({currLangCode:t})})))},componentDidUpdate:function(){var e=this;this.htmlReady((function(){e.setState({messageWindowText:e.getScrollAreaText()})}))},componentWillUnmount:function(){null!=this.removeLocalizationListener&&this.removeLocalizationListener()}})}.call(t,n,t,e))||(e.exports=i)},5470:function(e,t,n){var i;i=function(){var e=!0;function t(t){function n(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function i(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}var r,s=n(/(ipod|iphone|ipad)/i).toLowerCase(),a=!/like android/i.test(t)&&/android/i.test(t),l=/nexus\s*[0-6]\s*/i.test(t),c=!l&&/nexus\s*[0-9]+/i.test(t),u=/CrOS/.test(t),d=/silk/i.test(t),h=/sailfish/i.test(t),p=/tizen/i.test(t),f=/(web|hpw)(o|0)s/i.test(t),g=/windows phone/i.test(t),m=(/SamsungBrowser/i.test(t),!g&&/windows/i.test(t)),v=!s&&!d&&/macintosh/i.test(t),S=!a&&!h&&!p&&!f&&/linux/i.test(t),y=i(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),b=n(/version\/(\d+(\.\d+)?)/i),w=/tablet/i.test(t)&&!/tablet pc/i.test(t),C=!w&&/[^-]mobi/i.test(t),x=/xbox/i.test(t);/opera/i.test(t)?r={name:"Opera",opera:e,version:b||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?r={name:"Opera",opera:e,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||b}:/SamsungBrowser/i.test(t)?r={name:"Samsung Internet for Android",samsungBrowser:e,version:b||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?r={name:"NAVER Whale browser",whale:e,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?r={name:"MZ Browser",mzbrowser:e,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?r={name:"Opera Coast",coast:e,version:b||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?r={name:"Focus",focus:e,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?r={name:"Yandex Browser",yandexbrowser:e,version:b||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?r={name:"UC Browser",ucbrowser:e,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?r={name:"Maxthon",maxthon:e,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?r={name:"Epiphany",epiphany:e,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?r={name:"Puffin",puffin:e,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?r={name:"Sleipnir",sleipnir:e,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?r={name:"K-Meleon",kMeleon:e,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:g?(r={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},y?(r.msedge=e,r.version=y):(r.msie=e,r.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?r={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?r={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?r={name:"Microsoft Edge",msedge:e,version:y}:/vivaldi/i.test(t)?r={name:"Vivaldi",vivaldi:e,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||b}:h?r={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?r={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(r={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(r.firefoxos=e,r.osname="Firefox OS")):d?r={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?r={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?r={name:"SlimerJS",slimer:e,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?r={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:b||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:f?(r={name:"WebOS",osname:"WebOS",webos:e,version:b||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(r.touchpad=e)):/bada/i.test(t)?r={name:"Bada",osname:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:p?r={name:"Tizen",osname:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||b}:/qupzilla/i.test(t)?r={name:"QupZilla",qupzilla:e,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||b}:/chromium/i.test(t)?r={name:"Chromium",chromium:e,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||b}:/chrome|crios|crmo/i.test(t)?r={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?r={name:"Android",version:b}:/safari|applewebkit/i.test(t)?(r={name:"Safari",safari:e},b&&(r.version=b)):s?(r={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},b&&(r.version=b)):r=/googlebot/i.test(t)?{name:"Googlebot",googlebot:e,version:n(/googlebot\/(\d+(\.\d+))/i)||b}:{name:n(/^(.*)\/(.*) /),version:i(/^(.*)\/(.*) /)},!r.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(r.name=r.name||"Blink",r.blink=e):(r.name=r.name||"Webkit",r.webkit=e),!r.version&&b&&(r.version=b)):!r.opera&&/gecko\//i.test(t)&&(r.name=r.name||"Gecko",r.gecko=e,r.version=r.version||n(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||!a&&!r.silk?!r.windowsphone&&s?(r[s]=e,r.ios=e,r.osname="iOS"):v?(r.mac=e,r.osname="macOS"):x?(r.xbox=e,r.osname="Xbox"):m?(r.windows=e,r.osname="Windows"):S&&(r.linux=e,r.osname="Linux"):(r.android=e,r.osname="Android");var D="";r.windows?D=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";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}}(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):r.windowsphone?D=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):r.mac?D=(D=n(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):s?D=(D=n(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):a?D=n(/android[ \/-](\d+(\.\d+)*)/i):r.webos?D=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?D=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?D=n(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(D=n(/tizen[\/\s](\d+(\.\d+)*)/i)),D&&(r.osversion=D);var E=!r.windows&&D.split(".")[0];return w||c||"ipad"==s||a&&(3==E||E>=4&&!C)||r.silk?r.tablet=e:(C||"iphone"==s||"ipod"==s||a||l||r.blackberry||r.webos||r.bada)&&(r.mobile=e),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.whale&&1===o([r.version,"1.0"])||r.mzbrowser&&1===o([r.version,"6.0"])||r.focus&&1===o([r.version,"1.0"])||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=e:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=e:r.x=e,r}var n=t("undefined"!=typeof navigator&&navigator.userAgent||"");function i(e){return e.split(".").length}function r(e,t){var n,i=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n++)i.push(t(e[n]));return i}function o(e){for(var t=Math.max(i(e[0]),i(e[1])),n=r(e,(function(e){var n=t-i(e);return r((e+=new Array(n+1).join(".0")).split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));--t>=0;){if(n[0][t]>n[1][t])return 1;if(n[0][t]!==n[1][t])return-1;if(0===t)return 0}}function s(e,i,r){var s=n;"string"==typeof i&&(r=i,i=void 0),void 0===i&&(i=!1),r&&(s=t(r));var a=""+s.version;for(var l in e)if(e.hasOwnProperty(l)&&s[l]){if("string"!=typeof e[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(e));return o([a,e[l]])<0}return i}return n.test=function(e){for(var t=0;t<e.length;++t){var i=e[t];if("string"==typeof i&&i in n)return!0}return!1},n.isUnsupportedBrowser=s,n.compareVersions=o,n.check=function(e,t,n){return!s(e,t,n)},n._detect=t,n.detect=t,n},e.exports?e.exports=i():n.amdD("bowser",i)},5730:function(){!function(){"use strict";"undefined"!=typeof window&&("SVGPathSeg"in window||(window.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},window.SVGPathSeg.prototype.classname="SVGPathSeg",window.SVGPathSeg.PATHSEG_UNKNOWN=0,window.SVGPathSeg.PATHSEG_CLOSEPATH=1,window.SVGPathSeg.PATHSEG_MOVETO_ABS=2,window.SVGPathSeg.PATHSEG_MOVETO_REL=3,window.SVGPathSeg.PATHSEG_LINETO_ABS=4,window.SVGPathSeg.PATHSEG_LINETO_REL=5,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,window.SVGPathSeg.PATHSEG_ARC_ABS=10,window.SVGPathSeg.PATHSEG_ARC_REL=11,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,window.SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},window.SVGPathSegClosePath=function(e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},window.SVGPathSegClosePath.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},window.SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},window.SVGPathSegClosePath.prototype.clone=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathSegMovetoAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},window.SVGPathSegMovetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},window.SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoAbs.prototype.clone=function(){return new window.SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegMovetoRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},window.SVGPathSegMovetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},window.SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoRel.prototype.clone=function(){return new window.SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},window.SVGPathSegLinetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},window.SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoAbs.prototype.clone=function(){return new window.SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},window.SVGPathSegLinetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},window.SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoRel.prototype.clone=function(){return new window.SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicAbs=function(e,t,n,i,r,o,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=i,this._y1=r,this._x2=o,this._y2=s},window.SVGPathSegCurvetoCubicAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},window.SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicRel=function(e,t,n,i,r,o,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=i,this._y1=r,this._x2=o,this._y2=s},window.SVGPathSegCurvetoCubicRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},window.SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=i,this._y1=r},window.SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},window.SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticRel=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=i,this._y1=r},window.SVGPathSegCurvetoQuadraticRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},window.SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcAbs=function(e,t,n,i,r,o,s,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=i,this._r2=r,this._angle=o,this._largeArcFlag=s,this._sweepFlag=a},window.SVGPathSegArcAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},window.SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcAbs.prototype.clone=function(){return new window.SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcRel=function(e,t,n,i,r,o,s,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=i,this._r2=r,this._angle=o,this._largeArcFlag=s,this._sweepFlag=a},window.SVGPathSegArcRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},window.SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcRel.prototype.clone=function(){return new window.SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalAbs=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},window.SVGPathSegLinetoHorizontalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},window.SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalRel=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},window.SVGPathSegLinetoHorizontalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},window.SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalAbs=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},window.SVGPathSegLinetoVerticalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},window.SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalRel=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},window.SVGPathSegLinetoVerticalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},window.SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=i,this._y2=r},window.SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},window.SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=i,this._y2=r},window.SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},window.SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new window.SVGPathSegMovetoAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new window.SVGPathSegMovetoRel(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new window.SVGPathSegLinetoAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new window.SVGPathSegLinetoRel(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,i,r,o){return new window.SVGPathSegCurvetoCubicAbs(void 0,e,t,n,i,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,i,r,o){return new window.SVGPathSegCurvetoCubicRel(void 0,e,t,n,i,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,i){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,i){return new window.SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,i,r,o,s){return new window.SVGPathSegArcAbs(void 0,e,t,n,i,r,o,s)},window.SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,i,r,o,s){return new window.SVGPathSegArcRel(void 0,e,t,n,i,r,o,s)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new window.SVGPathSegLinetoHorizontalAbs(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new window.SVGPathSegLinetoHorizontalRel(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new window.SVGPathSegLinetoVerticalAbs(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new window.SVGPathSegLinetoVerticalRel(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,i){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,i){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)},"getPathSegAtLength"in window.SVGPathElement.prototype||(window.SVGPathElement.prototype.getPathSegAtLength=function(e){if(void 0===e||!isFinite(e))throw"Invalid arguments.";var t=document.createElementNS("http://www.w3.org/2000/svg","path");t.setAttribute("d",this.getAttribute("d"));var n=t.pathSegList.numberOfItems-1;if(n<=0)return 0;do{if(t.pathSegList.removeItem(n),e>t.getTotalLength())break;n--}while(n>0);return n})),"SVGPathSegList"in window&&"appendItem"in window.SVGPathSegList.prototype||(window.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.classname="SVGPathSegList",Object.defineProperty(window.SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathSegList.prototype,"length",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new window.SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),window.SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},window.SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(this._pathElement){var t=!1;e.forEach((function(e){"d"==e.attributeName&&(t=!0)})),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},window.SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",window.SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},window.SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach((function(e){e._owningPathSegList=null})),this._list=[],this._writeListToPath()},window.SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},window.SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);var t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},window.SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList._pathSegArrayAsString=function(e){var t="",n=!0;return e.forEach((function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()})),t},window.SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];var t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};var i=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};i.prototype._isCurrentSpace=function(){var e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||"\t"==e||"\r"==e||"\f"==e)},i.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},i.prototype._skipOptionalSpacesOrDelimiter=function(){return!(this._currentIndex<this._endIndex&&!this._isCurrentSpace()&&","!=this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},i.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},i.prototype.peekSegmentType=function(){var e=this._string[this._currentIndex];return this._pathSegTypeFromChar(e)},i.prototype._pathSegTypeFromChar=function(e){switch(e){case"Z":case"z":return window.SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return window.SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return window.SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return window.SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return window.SVGPathSeg.PATHSEG_LINETO_REL;case"C":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return window.SVGPathSeg.PATHSEG_ARC_ABS;case"a":return window.SVGPathSeg.PATHSEG_ARC_REL;case"H":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return window.SVGPathSeg.PATHSEG_UNKNOWN}},i.prototype._nextCommandHelper=function(e,t){return("+"==e||"-"==e||"."==e||e>="0"&&e<="9")&&t!=window.SVGPathSeg.PATHSEG_CLOSEPATH?t==window.SVGPathSeg.PATHSEG_MOVETO_ABS?window.SVGPathSeg.PATHSEG_LINETO_ABS:t==window.SVGPathSeg.PATHSEG_MOVETO_REL?window.SVGPathSeg.PATHSEG_LINETO_REL:t:window.SVGPathSeg.PATHSEG_UNKNOWN},i.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var e=this.peekSegmentType();return e==window.SVGPathSeg.PATHSEG_MOVETO_ABS||e==window.SVGPathSeg.PATHSEG_MOVETO_REL},i.prototype._parseNumber=function(){var e=0,t=0,n=1,i=0,r=1,o=1,s=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,r=-1),!(this._currentIndex==this._endIndex||(this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")&&"."!=this._string.charAt(this._currentIndex))){for(var a=this._currentIndex;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=a)for(var l=this._currentIndex-1,c=1;l>=a;)t+=c*(this._string.charAt(l--)-"0"),c*=10;if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)n*=10,i+=(this._string.charAt(this._currentIndex)-"0")/n,this._currentIndex+=1}if(this._currentIndex!=s&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,o=-1),this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var u=t+i;if(u*=r,e&&(u*=Math.pow(10,o*e)),s!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),u}},i.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e}},i.prototype.parseSegment=function(){var e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN)return null;if((n=this._nextCommandHelper(e,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(t);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var i={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicRel(t,i.x,i.y,i.x1,i.y1,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:i={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicAbs(t,i.x,i.y,i.x1,i.y1,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:i={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicSmoothRel(t,i.x,i.y,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:i={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicSmoothAbs(t,i.x,i.y,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:i={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoQuadraticRel(t,i.x,i.y,i.x1,i.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:i={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoQuadraticAbs(t,i.x,i.y,i.x1,i.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:i={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegArcRel(t,i.x,i.y,i.x1,i.y1,i.arcAngle,i.arcLarge,i.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:i={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegArcAbs(t,i.x,i.y,i.x1,i.y1,i.arcAngle,i.arcLarge,i.arcSweep);default:throw"Unknown path seg type."}};var r=new n,o=new i(e);if(!o.initialCommandIsMoveTo())return[];for(;o.hasMoreData();){var s=o.parseSegment();if(!s)return[];r.appendSegment(s)}return r.pathSegList}))}()},882:function(e,t,n){e.exports=n(3305).__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED},1325:function(e){e.exports=function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){var n=t[s][1][e];return r(n||e)}),c,c.exports,e,t,n,i)}return n[s].exports}for(var o=void 0,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t,n){"use strict";var i=e(22),r=e(26),o=e(37),s=e(29),a=e(64),l=e(94),c=e(96),u=e(118),d=e(140),h=e(143),p=e(173),f=!1;r.addons={CSSTransitionGroup:s,LinkedStateMixin:i,PureRenderMixin:o,TransitionGroup:l,batchedUpdates:function(){return p(f,"React.addons.batchedUpdates is deprecated. Use ReactDOM.unstable_batchedUpdates instead."),f=!0,c.batchedUpdates.apply(this,arguments)},cloneWithProps:u,createFragment:a.create,shallowCompare:d,update:h},r.addons.Perf=e(55),r.addons.TestUtils=e(91),t.exports=r},{118:118,140:140,143:143,173:173,22:22,26:26,29:29,37:37,55:55,64:64,91:91,94:94,96:96}],2:[function(e,t,n){"use strict";var i=e(72),r=e(122),o=e(155),s={Mixin:{componentDidMount:function(){this.props.autoFocus&&o(r(this))}},focusDOMComponent:function(){o(i.getNode(this._rootNodeID))}};t.exports=s},{122:122,155:155,72:72}],3:[function(e,t,n){"use strict";var i=e(15),r=e(19),o=e(147),s=e(20),a=e(103),l=e(107),c=e(166),u=[9,13,27,32],d=229,h=o.canUseDOM&&"CompositionEvent"in window,p=null;o.canUseDOM&&"documentMode"in document&&(p=document.documentMode);var f=o.canUseDOM&&"TextEvent"in window&&!p&&!m(),g=o.canUseDOM&&(!h||p&&p>8&&p<=11);function m(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}var v=32,S=String.fromCharCode(v),y=i.topLevelTypes,b={beforeInput:{phasedRegistrationNames:{bubbled:c({onBeforeInput:null}),captured:c({onBeforeInputCapture:null})},dependencies:[y.topCompositionEnd,y.topKeyPress,y.topTextInput,y.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:c({onCompositionEnd:null}),captured:c({onCompositionEndCapture:null})},dependencies:[y.topBlur,y.topCompositionEnd,y.topKeyDown,y.topKeyPress,y.topKeyUp,y.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:c({onCompositionStart:null}),captured:c({onCompositionStartCapture:null})},dependencies:[y.topBlur,y.topCompositionStart,y.topKeyDown,y.topKeyPress,y.topKeyUp,y.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:c({onCompositionUpdate:null}),captured:c({onCompositionUpdateCapture:null})},dependencies:[y.topBlur,y.topCompositionUpdate,y.topKeyDown,y.topKeyPress,y.topKeyUp,y.topMouseDown]}},w=!1;function C(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function x(e){switch(e){case y.topCompositionStart:return b.compositionStart;case y.topCompositionEnd:return b.compositionEnd;case y.topCompositionUpdate:return b.compositionUpdate}}function D(e,t){return e===y.topKeyDown&&t.keyCode===d}function E(e,t){switch(e){case y.topKeyUp:return-1!==u.indexOf(t.keyCode);case y.topKeyDown:return t.keyCode!==d;case y.topKeyPress:case y.topMouseDown:case y.topBlur:return!0;default:return!1}}function T(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}var P=null;function I(e,t,n,i,o){var l,c;if(h?l=x(e):P?E(e,i)&&(l=b.compositionEnd):D(e,i)&&(l=b.compositionStart),!l)return null;g&&(P||l!==b.compositionStart?l===b.compositionEnd&&P&&(c=P.getData()):P=s.getPooled(t));var u=a.getPooled(l,n,i,o);if(c)u.data=c;else{var d=T(i);null!==d&&(u.data=d)}return r.accumulateTwoPhaseDispatches(u),u}function A(e,t){switch(e){case y.topCompositionEnd:return T(t);case y.topKeyPress:return t.which!==v?null:(w=!0,S);case y.topTextInput:var n=t.data;return n===S&&w?null:n;default:return null}}function M(e,t){if(P){if(e===y.topCompositionEnd||E(e,t)){var n=P.getData();return s.release(P),P=null,n}return null}switch(e){case y.topPaste:return null;case y.topKeyPress:return t.which&&!C(t)?String.fromCharCode(t.which):null;case y.topCompositionEnd:return g?null:t.data;default:return null}}function k(e,t,n,i,o){var s;if(!(s=f?A(e,i):M(e,i)))return null;var a=l.getPooled(b.beforeInput,n,i,o);return a.data=s,r.accumulateTwoPhaseDispatches(a),a}var L={eventTypes:b,extractEvents:function(e,t,n,i,r){return[I(e,t,n,i,r),k(e,t,n,i,r)]}};t.exports=L},{103:103,107:107,147:147,15:15,166:166,19:19,20:20}],4:[function(e,t,n){"use strict";var i={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o=["Webkit","ms","Moz","O"];Object.keys(i).forEach((function(e){o.forEach((function(t){i[r(t,e)]=i[e]}))}));var s={isUnitlessNumber:i,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}};t.exports=s},{}],5:[function(e,t,n){"use strict";var i=e(4),r=e(147),o=e(78),s=e(149),a=e(119),l=e(160),c=e(168),u=e(173),d=c((function(e){return l(e)})),h=!1,p="cssFloat";if(r.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(e){h=!0}void 0===document.documentElement.style.cssFloat&&(p="styleFloat")}var g=/^(?:webkit|moz|o)[A-Z]/,m=/;\s*$/,v={},S={},y=function(e){v.hasOwnProperty(e)&&v[e]||(v[e]=!0,u(!1,"Unsupported style property %s. Did you mean %s?",e,s(e)))},b=function(e){v.hasOwnProperty(e)&&v[e]||(v[e]=!0,u(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},w=function(e,t){S.hasOwnProperty(t)&&S[t]||(S[t]=!0,u(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(m,"")))},C=function(e,t){e.indexOf("-")>-1?y(e):g.test(e)?b(e):m.test(t)&&w(e,t)},x={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];C(n,i),null!=i&&(t+=d(n)+":",t+=a(n,i)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){C(r,t[r]);var o=a(r,t[r]);if("float"===r&&(r=p),o)n[r]=o;else{var s=h&&i.shorthandPropertyExpansions[r];if(s)for(var l in s)n[l]="";else n[r]=""}}}};o.measureMethods(x,"CSSPropertyOperations",{setValueForStyles:"setValueForStyles"}),t.exports=x},{119:119,147:147,149:149,160:160,168:168,173:173,4:4,78:78}],6:[function(e,t,n){"use strict";var i=e(25),r=e(24),o=e(161);function s(){this._callbacks=null,this._contexts=null}r(s.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length&&o(!1,"Mismatched list of contexts in callback queue"),this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(s),t.exports=s},{161:161,24:24,25:25}],7:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(19),s=e(147),a=e(96),l=e(105),c=e(128),u=e(133),d=e(134),h=e(166),p=i.topLevelTypes,f={change:{phasedRegistrationNames:{bubbled:h({onChange:null}),captured:h({onChangeCapture:null})},dependencies:[p.topBlur,p.topChange,p.topClick,p.topFocus,p.topInput,p.topKeyDown,p.topKeyUp,p.topSelectionChange]}},g=null,m=null,v=null,S=null;function y(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}var b=!1;function w(e){var t=l.getPooled(f.change,m,e,c(e));o.accumulateTwoPhaseDispatches(t),a.batchedUpdates(C,t)}function C(e){r.enqueueEvents(e),r.processEventQueue(!1)}function x(e,t){m=t,(g=e).attachEvent("onchange",w)}function D(){g&&(g.detachEvent("onchange",w),g=null,m=null)}function E(e,t,n){if(e===p.topChange)return n}function T(e,t,n){e===p.topFocus?(D(),x(t,n)):e===p.topBlur&&D()}s.canUseDOM&&(b=u("change")&&(!("documentMode"in document)||document.documentMode>8));var P=!1;s.canUseDOM&&(P=u("input")&&(!("documentMode"in document)||document.documentMode>9));var I={get:function(){return S.get.call(this)},set:function(e){v=""+e,S.set.call(this,e)}};function A(e,t){g=e,m=t,v=e.value,S=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(g,"value",I),g.attachEvent("onpropertychange",k)}function M(){g&&(delete g.value,g.detachEvent("onpropertychange",k),g=null,m=null,v=null,S=null)}function k(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==v&&(v=t,w(e))}}function L(e,t,n){if(e===p.topInput)return n}function R(e,t,n){e===p.topFocus?(M(),A(t,n)):e===p.topBlur&&M()}function _(e,t,n){if((e===p.topSelectionChange||e===p.topKeyUp||e===p.topKeyDown)&&g&&g.value!==v)return v=g.value,m}function O(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function V(e,t,n){if(e===p.topClick)return n}var N={eventTypes:f,extractEvents:function(e,t,n,i,r){var s,a;if(y(t)?b?s=E:a=T:d(t)?P?s=L:(s=_,a=R):O(t)&&(s=V),s){var c=s(e,t,n);if(c){var u=l.getPooled(f.change,c,i,r);return u.type="change",o.accumulateTwoPhaseDispatches(u),u}}a&&a(e,t,n)}};t.exports=N},{105:105,128:128,133:133,134:134,147:147,15:15,16:16,166:166,19:19,96:96}],8:[function(e,t,n){"use strict";var i=0,r={createReactRootIndex:function(){return i++}};t.exports=r},{}],9:[function(e,t,n){"use strict";var i=e(12),r=e(74),o=e(78),s=e(138),a=e(139),l=e(161);function c(e,t,n){var i=n>=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,i)}var u={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:a,processUpdates:function(e,t){for(var n,o,u=null,d=null,h=0;h<e.length;h++)if((n=e[h]).type===r.MOVE_EXISTING||n.type===r.REMOVE_NODE){var p=n.fromIndex,f=n.parentNode.childNodes[p],g=n.parentID;f||l(!1,"processUpdates(): Unable to find child %s of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",p,g),(u=u||{})[g]=u[g]||[],u[g][p]=f,(d=d||[]).push(f)}if(o=t.length&&"string"==typeof t[0]?i.dangerouslyRenderMarkup(t):t,d)for(var m=0;m<d.length;m++)d[m].parentNode.removeChild(d[m]);for(var v=0;v<e.length;v++)switch((n=e[v]).type){case r.INSERT_MARKUP:c(n.parentNode,o[n.markupIndex],n.toIndex);break;case r.MOVE_EXISTING:c(n.parentNode,u[n.parentID][n.fromIndex],n.toIndex);break;case r.SET_MARKUP:s(n.parentNode,n.content);break;case r.TEXT_CONTENT:a(n.parentNode,n.content);case r.REMOVE_NODE:}}};o.measureMethods(u,"DOMChildrenOperations",{updateTextContent:"updateTextContent"}),t.exports=u},{12:12,138:138,139:139,161:161,74:74,78:78}],10:[function(e,t,n){"use strict";var i=e(161);function r(e,t){return(e&t)===t}var o={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=o,n=e.Properties||{},s=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},c=e.DOMPropertyNames||{},u=e.DOMMutationMethods||{};for(var d in e.isCustomAttribute&&a._isCustomAttributeFunctions.push(e.isCustomAttribute),n){a.properties.hasOwnProperty(d)&&i(!1,"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",d);var h=d.toLowerCase(),p=n[d],f={attributeName:h,attributeNamespace:null,propertyName:d,mutationMethod:null,mustUseAttribute:r(p,t.MUST_USE_ATTRIBUTE),mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasSideEffects:r(p,t.HAS_SIDE_EFFECTS),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(f.mustUseAttribute&&f.mustUseProperty&&i(!1,"DOMProperty: Cannot require using both attribute and property: %s",d),!f.mustUseProperty&&f.hasSideEffects&&i(!1,"DOMProperty: Properties that have side effects must use property: %s",d),f.hasBooleanValue+f.hasNumericValue+f.hasOverloadedBooleanValue<=1||i(!1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",d),a.getPossibleStandardName[h]=d,l.hasOwnProperty(d)){var g=l[d];f.attributeName=g,a.getPossibleStandardName[g]=d}s.hasOwnProperty(d)&&(f.attributeNamespace=s[d]),c.hasOwnProperty(d)&&(f.propertyName=c[d]),u.hasOwnProperty(d)&&(f.mutationMethod=u[d]),a.properties[d]=f}}},s={},a={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<a._isCustomAttributeFunctions.length;t++)if((0,a._isCustomAttributeFunctions[t])(e))return!0;return!1},getDefaultValueForProperty:function(e,t){var n,i=s[e];return i||(s[e]=i={}),t in i||(n=document.createElement(e),i[t]=n[t]),i[t]},injection:o};t.exports=a},{161:161}],11:[function(e,t,n){"use strict";var i=e(10),r=e(78),o=e(136),s=e(173),a=/^[a-zA-Z_][\w\.\-]*$/,l={},c={};function u(e){return!!c.hasOwnProperty(e)||!l.hasOwnProperty(e)&&(a.test(e)?(c[e]=!0,!0):(l[e]=!0,s(!1,"Invalid attribute name: `%s`",e),!1))}function d(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&!1===t}var h={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},p={},f=function(e){if(!(h.hasOwnProperty(e)&&h[e]||p.hasOwnProperty(e)&&p[e])){p[e]=!0;var t=e.toLowerCase(),n=i.isCustomAttribute(t)?t:i.getPossibleStandardName.hasOwnProperty(t)?i.getPossibleStandardName[t]:null;s(null==n,"Unknown DOM property %s. Did you mean %s?",e,n)}},g={createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+o(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(d(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===t?r+'=""':r+"="+o(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+o(t):(f(e),null)},createMarkupForCustomAttribute:function(e,t){return u(e)&&null!=t?e+"="+o(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var o=r.mutationMethod;if(o)o(e,n);else if(d(r,n))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute){var s=r.attributeName,a=r.attributeNamespace;a?e.setAttributeNS(a,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?e.setAttribute(s,""):e.setAttribute(s,""+n)}else{var l=r.propertyName;r.hasSideEffects&&""+e[l]==""+n||(e[l]=n)}}else i.isCustomAttribute(t)?g.setValueForAttribute(e,t,n):f(t)},setValueForAttribute:function(e,t,n){u(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseAttribute)e.removeAttribute(n.attributeName);else{var o=n.propertyName,s=i.getDefaultValueForProperty(e.nodeName,o);n.hasSideEffects&&""+e[o]===s||(e[o]=s)}}else i.isCustomAttribute(t)?e.removeAttribute(t):f(t)}};r.measureMethods(g,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),t.exports=g},{10:10,136:136,173:173,78:78}],12:[function(e,t,n){"use strict";var i=e(147),r=e(152),o=e(153),s=e(157),a=e(161),l=/^(<[^ \/>]+)/,c="data-danger-index";function u(e){return e.substring(1,e.indexOf(" "))}var d={dangerouslyRenderMarkup:function(e){var t;i.canUseDOM||a(!1,"dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString for server rendering.");for(var n={},d=0;d<e.length;d++)e[d]||a(!1,"dangerouslyRenderMarkup(...): Missing markup."),t=u(e[d]),n[t=s(t)?t:"*"]=n[t]||[],n[t][d]=e[d];var h=[],p=0;for(t in n)if(n.hasOwnProperty(t)){var f,g=n[t];for(f in g)if(g.hasOwnProperty(f)){var m=g[f];g[f]=m.replace(l,"$1 "+c+'="'+f+'" ')}for(var v=r(g.join(""),o),S=0;S<v.length;++S){var y=v[S];y.hasAttribute&&y.hasAttribute(c)?(f=+y.getAttribute(c),y.removeAttribute(c),h.hasOwnProperty(f)&&a(!1,"Danger: Assigning to an already-occupied result index."),h[f]=y,p+=1):console.error("Danger: Discarding unexpected node:",y)}}return p!==h.length&&a(!1,"Danger: Did not assign to every index of resultList."),h.length!==e.length&&a(!1,"Danger: Expected markup to render %s nodes, but rendered %s.",e.length,h.length),h},dangerouslyReplaceNodeWithMarkup:function(e,t){var n;i.canUseDOM||a(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering."),t||a(!1,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."),"html"===e.tagName.toLowerCase()&&a(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."),n="string"==typeof t?r(t,o)[0]:t,e.parentNode.replaceChild(n,e)}};t.exports=d},{147:147,152:152,153:153,157:157,161:161}],13:[function(e,t,n){"use strict";var i=e(166),r=[i({ResponderEventPlugin:null}),i({SimpleEventPlugin:null}),i({TapEventPlugin:null}),i({EnterLeaveEventPlugin:null}),i({ChangeEventPlugin:null}),i({SelectEventPlugin:null}),i({BeforeInputEventPlugin:null})];t.exports=r},{166:166}],14:[function(e,t,n){"use strict";var i=e(15),r=e(19),o=e(109),s=e(72),a=e(166),l=i.topLevelTypes,c=s.getFirstReactDOM,u={mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:a({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},d=[null,null],h={eventTypes:u,extractEvents:function(e,t,n,i,a){if(e===l.topMouseOver&&(i.relatedTarget||i.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var h,p,f;if(t.window===t)h=t;else{var g=t.ownerDocument;h=g?g.defaultView||g.parentWindow:window}var m="",v="";if(e===l.topMouseOut?(p=t,m=n,(f=c(i.relatedTarget||i.toElement))?v=s.getID(f):f=h,f=f||h):(p=h,f=t,v=n),p===f)return null;var S=o.getPooled(u.mouseLeave,m,i,a);S.type="mouseleave",S.target=p,S.relatedTarget=f;var y=o.getPooled(u.mouseEnter,v,i,a);return y.type="mouseenter",y.target=f,y.relatedTarget=p,r.accumulateEnterLeaveDispatches(S,y,m,v),d[0]=S,d[1]=y,d}};t.exports=h},{109:109,15:15,166:166,19:19,72:72}],15:[function(e,t,n){"use strict";var i=e(165),r=i({bubbled:null,captured:null}),o={topLevelTypes:i({topAbort:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topVolumeChange:null,topWaiting:null,topWheel:null}),PropagationPhases:r};t.exports=o},{165:165}],16:[function(e,t,n){"use strict";var i=e(17),r=e(18),o=e(61),s=e(115),a=e(124),l=e(161),c=e(173),u={},d=null,h=function(e,t){e&&(r.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},p=function(e){return h(e,!0)},f=function(e){return h(e,!1)},g=null;function m(){var e=g&&g.traverseTwoPhase&&g.traverseEnterLeave;c(e,"InstanceHandle not injected before use!")}var v={injection:{injectMount:r.injection.injectMount,injectInstanceHandle:function(e){g=e,m()},getInstanceHandle:function(){return m(),g},injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},eventNameDispatchConfigs:i.eventNameDispatchConfigs,registrationNameModules:i.registrationNameModules,putListener:function(e,t,n){"function"!=typeof n&&l(!1,"Expected %s listener to be a function, instead got type %s",t,typeof n),(u[t]||(u[t]={}))[e]=n;var r=i.registrationNameModules[t];r&&r.didPutListener&&r.didPutListener(e,t,n)},getListener:function(e,t){var n=u[t];return n&&n[e]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=u[t];r&&delete r[e]},deleteAllListeners:function(e){for(var t in u)if(u[t][e]){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete u[t][e]}},extractEvents:function(e,t,n,r,o){for(var a,l=i.plugins,c=0;c<l.length;c++){var u=l[c];if(u){var d=u.extractEvents(e,t,n,r,o);d&&(a=s(a,d))}}return a},enqueueEvents:function(e){e&&(d=s(d,e))},processEventQueue:function(e){var t=d;d=null,a(t,e?p:f),d&&l(!1,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),o.rethrowCaughtError()},__purge:function(){u={}},__getListenerBank:function(){return u}};t.exports=v},{115:115,124:124,161:161,17:17,173:173,18:18,61:61}],17:[function(e,t,n){"use strict";var i=e(161),r=null,o={};function s(){if(r)for(var e in o){var t=o[e],n=r.indexOf(e);if(n>-1||i(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!c.plugins[n]){t.extractEvents||i(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),c.plugins[n]=t;var s=t.eventTypes;for(var l in s)a(s[l],t,l)||i(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",l,e)}}}function a(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&i(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)r.hasOwnProperty(o)&&l(r[o],t,n);return!0}return!!e.registrationName&&(l(e.registrationName,t,n),!0)}function l(e,t,n){c.registrationNameModules[e]&&i(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){r&&i(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),r=Array.prototype.slice.call(e),s()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.hasOwnProperty(n)&&o[n]===r||(o[n]&&i(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",n),o[n]=r,t=!0)}t&&s()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var i=c.registrationNameModules[t.phasedRegistrationNames[n]];if(i)return i}return null},_resetEventPlugins:function(){for(var e in r=null,o)o.hasOwnProperty(e)&&delete o[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var i=c.registrationNameModules;for(var s in i)i.hasOwnProperty(s)&&delete i[s]}};t.exports=c},{161:161}],18:[function(e,t,n){"use strict";var i,r=e(15),o=e(61),s=e(161),a=e(173),l={Mount:null,injectMount:function(e){l.Mount=e,a(e&&e.getNode&&e.getID,"EventPluginUtils.injection.injectMount(...): Injected Mount module is missing getNode or getID.")}},c=r.topLevelTypes;function u(e){return e===c.topMouseUp||e===c.topTouchEnd||e===c.topTouchCancel}function d(e){return e===c.topMouseMove||e===c.topTouchMove}function h(e){return e===c.topMouseDown||e===c.topTouchStart}function p(e,t,n,i){var r=e.type||"unknown-event";e.currentTarget=l.Mount.getNode(i),t?o.invokeGuardedCallbackWithCatch(r,n,e,i):o.invokeGuardedCallback(r,n,e,i),e.currentTarget=null}function f(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(i(e),Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)p(e,t,n[o],r[o]);else n&&p(e,t,n,r);e._dispatchListeners=null,e._dispatchIDs=null}function g(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(i(e),Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function m(e){var t=g(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function v(e){i(e);var t=e._dispatchListeners,n=e._dispatchIDs;Array.isArray(t)&&s(!1,"executeDirectDispatch(...): Invalid `event`.");var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function S(e){return!!e._dispatchListeners}i=function(e){var t=e._dispatchListeners,n=e._dispatchIDs,i=Array.isArray(t),r=Array.isArray(n),o=r?n.length:n?1:0,s=i?t.length:t?1:0;a(r===i&&o===s,"EventPluginUtils: Invalid `event`.")};var y={isEndish:u,isMoveish:d,isStartish:h,executeDirectDispatch:v,executeDispatchesInOrder:f,executeDispatchesInOrderStopAtTrue:m,hasDispatches:S,getNode:function(e){return l.Mount.getNode(e)},getID:function(e){return l.Mount.getID(e)},injection:l};t.exports=y},{15:15,161:161,173:173,61:61}],19:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(173),s=e(115),a=e(124),l=i.PropagationPhases,c=r.getListener;function u(e,t,n){var i=t.dispatchConfig.phasedRegistrationNames[n];return c(e,i)}function d(e,t,n){o(e,"Dispatching id must not be null");var i=u(e,n,t?l.bubbled:l.captured);i&&(n._dispatchListeners=s(n._dispatchListeners,i),n._dispatchIDs=s(n._dispatchIDs,e))}function h(e){e&&e.dispatchConfig.phasedRegistrationNames&&r.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,d,e)}function p(e){e&&e.dispatchConfig.phasedRegistrationNames&&r.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(e.dispatchMarker,d,e)}function f(e,t,n){if(n&&n.dispatchConfig.registrationName){var i=n.dispatchConfig.registrationName,r=c(e,i);r&&(n._dispatchListeners=s(n._dispatchListeners,r),n._dispatchIDs=s(n._dispatchIDs,e))}}function g(e){e&&e.dispatchConfig.registrationName&&f(e.dispatchMarker,null,e)}function m(e){a(e,h)}function v(e){a(e,p)}function S(e,t,n,i){r.injection.getInstanceHandle().traverseEnterLeave(n,i,f,e,t)}function y(e){a(e,g)}var b={accumulateTwoPhaseDispatches:m,accumulateTwoPhaseDispatchesSkipTarget:v,accumulateDirectDispatches:y,accumulateEnterLeaveDispatches:S};t.exports=b},{115:115,124:124,15:15,16:16,173:173}],20:[function(e,t,n){"use strict";var i=e(25),r=e(24),o=e(131);function s(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}r(s.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[o()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,i=n.length,r=this.getText(),o=r.length;for(e=0;e<i&&n[e]===r[e];e++);var s=i-e;for(t=1;t<=s&&n[i-t]===r[o-t];t++);var a=t>1?1-t:void 0;return this._fallbackText=r.slice(e,a),this._fallbackText}}),i.addPoolingTo(s),t.exports=s},{131:131,24:24,25:25}],21:[function(e,t,n){"use strict";var i,r=e(10),o=e(147),s=r.injection.MUST_USE_ATTRIBUTE,a=r.injection.MUST_USE_PROPERTY,l=r.injection.HAS_BOOLEAN_VALUE,c=r.injection.HAS_SIDE_EFFECTS,u=r.injection.HAS_NUMERIC_VALUE,d=r.injection.HAS_POSITIVE_NUMERIC_VALUE,h=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(o.canUseDOM){var p=document.implementation;i=p&&p.hasFeature&&p.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var f={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:s|l,allowTransparency:s,alt:null,async:l,autoComplete:null,autoPlay:l,capture:s|l,cellPadding:null,cellSpacing:null,charSet:s,challenge:s,checked:a|l,classID:s,className:i?s:a,cols:s|d,colSpan:null,content:null,contentEditable:null,contextMenu:s,controls:a|l,coords:null,crossOrigin:null,data:null,dateTime:s,default:l,defer:l,dir:null,disabled:s|l,download:h,draggable:null,encType:null,form:s,formAction:s,formEncType:s,formMethod:s,formNoValidate:l,formTarget:s,frameBorder:s,headers:null,height:s,hidden:s|l,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,inputMode:s,integrity:null,is:s,keyParams:s,keyType:s,kind:null,label:null,lang:null,list:s,loop:a|l,low:null,manifest:s,marginHeight:null,marginWidth:null,max:null,maxLength:s,media:s,mediaGroup:null,method:null,min:null,minLength:s,multiple:a|l,muted:a|l,name:null,nonce:s,noValidate:l,open:l,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:a|l,rel:null,required:l,reversed:l,role:s,rows:s|d,rowSpan:null,sandbox:null,scope:null,scoped:l,scrolling:null,seamless:s|l,selected:a|l,shape:null,size:s|d,sizes:s,span:d,spellCheck:null,src:null,srcDoc:a,srcLang:null,srcSet:s,start:u,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:a|c,width:s,wmode:s,wrap:null,about:s,datatype:s,inlist:s,prefix:s,property:s,resource:s,typeof:s,vocab:s,autoCapitalize:s,autoCorrect:s,autoSave:null,color:null,itemProp:s,itemScope:s|l,itemType:s,itemID:s,itemRef:s,results:null,security:s,unselectable:s},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=f},{10:10,147:147}],22:[function(e,t,n){"use strict";var i=e(70),r=e(90),o={linkState:function(e){return new i(this.state[e],r.createStateKeySetter(this,e))}};t.exports=o},{70:70,90:90}],23:[function(e,t,n){"use strict";var i=e(82),r=e(81),o=e(161),s=e(173),a={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function l(e){null!=e.checkedLink&&null!=e.valueLink&&o(!1,"Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don't want to use valueLink and vice versa.")}function c(e){l(e),(null!=e.value||null!=e.onChange)&&o(!1,"Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don't want to use valueLink.")}function u(e){l(e),(null!=e.checked||null!=e.onChange)&&o(!1,"Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don't want to use checkedLink")}var d={value:function(e,t,n){return!e[t]||a[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:i.func},h={};function p(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var f={checkPropTypes:function(e,t,n){for(var i in d){if(d.hasOwnProperty(i))var o=d[i](t,i,e,r.prop);if(o instanceof Error&&!(o.message in h)){h[o.message]=!0;var a=p(n);s(!1,"Failed form propType: %s%s",o.message,a)}}},getValue:function(e){return e.valueLink?(c(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(u(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(c(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(u(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=f},{161:161,173:173,81:81,82:82}],24:[function(e,t,n){"use strict";function i(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),i=Object.prototype.hasOwnProperty,r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o){var s=Object(o);for(var a in s)i.call(s,a)&&(n[a]=s[a])}}return n}t.exports=i},{}],25:[function(e,t,n){"use strict";var i=e(161),r=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=function(e){var t=this;e instanceof t||i(!1,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},s=10,a=r,l={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||a,n.poolSize||(n.poolSize=s),n.release=o,n},oneArgumentPooler:r,twoArgumentPooler:function(e,t){var n=this;if(n.instancePool.length){var i=n.instancePool.pop();return n.call(i,e,t),i}return new n(e,t)},threeArgumentPooler:function(e,t,n){var i=this;if(i.instancePool.length){var r=i.instancePool.pop();return i.call(r,e,t,n),r}return new i(e,t,n)},fourArgumentPooler:function(e,t,n,i){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n,i),o}return new r(e,t,n,i)},fiveArgumentPooler:function(e,t,n,i,r){var o=this;if(o.instancePool.length){var s=o.instancePool.pop();return o.call(s,e,t,n,i,r),s}return new o(e,t,n,i,r)}};t.exports=l},{161:161}],26:[function(e,t,n){"use strict";var i=e(40),r=e(50),o=e(69),s=e(24),a=e(120),l={};s(l,o),s(l,{findDOMNode:a("findDOMNode","ReactDOM","react-dom",i,i.findDOMNode),render:a("render","ReactDOM","react-dom",i,i.render),unmountComponentAtNode:a("unmountComponentAtNode","ReactDOM","react-dom",i,i.unmountComponentAtNode),renderToString:a("renderToString","ReactDOMServer","react-dom/server",r,r.renderToString),renderToStaticMarkup:a("renderToStaticMarkup","ReactDOMServer","react-dom/server",r,r.renderToStaticMarkup)}),l.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i,l.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r,l.Injection=e(65),t.exports=l},{120:120,24:24,40:40,50:50,69:69}],27:[function(e,t,n){"use strict";var i=e(68),r=e(122),o=e(173),s="_getDOMNodeDidWarn",a={getDOMNode:function(){return o(this.constructor[s],"%s.getDOMNode(...) is deprecated. Please use ReactDOM.findDOMNode(instance) instead.",i.get(this).getName()||this.tagName||"Unknown"),this.constructor[s]=!0,r(this)}};t.exports=a},{122:122,173:173,68:68}],28:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(17),s=e(62),a=e(78),l=e(114),c=e(24),u=e(133),d={},h=!1,p=0,f={topAbort:"abort",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2);function m(e){return Object.prototype.hasOwnProperty.call(e,g)||(e[g]=p++,d[e[g]]={}),d[e[g]]}var v=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=m(n),s=o.registrationNameDependencies[e],a=i.topLevelTypes,l=0;l<s.length;l++){var c=s[l];r.hasOwnProperty(c)&&r[c]||(c===a.topWheel?u("wheel")?v.ReactEventListener.trapBubbledEvent(a.topWheel,"wheel",n):u("mousewheel")?v.ReactEventListener.trapBubbledEvent(a.topWheel,"mousewheel",n):v.ReactEventListener.trapBubbledEvent(a.topWheel,"DOMMouseScroll",n):c===a.topScroll?u("scroll",!0)?v.ReactEventListener.trapCapturedEvent(a.topScroll,"scroll",n):v.ReactEventListener.trapBubbledEvent(a.topScroll,"scroll",v.ReactEventListener.WINDOW_HANDLE):c===a.topFocus||c===a.topBlur?(u("focus",!0)?(v.ReactEventListener.trapCapturedEvent(a.topFocus,"focus",n),v.ReactEventListener.trapCapturedEvent(a.topBlur,"blur",n)):u("focusin")&&(v.ReactEventListener.trapBubbledEvent(a.topFocus,"focusin",n),v.ReactEventListener.trapBubbledEvent(a.topBlur,"focusout",n)),r[a.topBlur]=!0,r[a.topFocus]=!0):f.hasOwnProperty(c)&&v.ReactEventListener.trapBubbledEvent(c,f[c],n),r[c]=!0)}},trapBubbledEvent:function(e,t,n){return v.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return v.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!h){var e=l.refreshScrollValues;v.ReactEventListener.monitorScrollValue(e),h=!0}},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:r.putListener,getListener:r.getListener,deleteListener:r.deleteListener,deleteAllListeners:r.deleteAllListeners});a.measureMethods(v,"ReactBrowserEventEmitter",{putListener:"putListener",deleteListener:"deleteListener"}),t.exports=v},{114:114,133:133,15:15,16:16,17:17,24:24,62:62,78:78}],29:[function(e,t,n){"use strict";var i=e(26),r=e(24),o=e(94),s=e(30);function a(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to ReactCSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}}}var l=i.createClass({displayName:"ReactCSSTransitionGroup",propTypes:{transitionName:s.propTypes.name,transitionAppear:i.PropTypes.bool,transitionEnter:i.PropTypes.bool,transitionLeave:i.PropTypes.bool,transitionAppearTimeout:a("Appear"),transitionEnterTimeout:a("Enter"),transitionLeaveTimeout:a("Leave")},getDefaultProps:function(){return{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0}},_wrapChild:function(e){return i.createElement(s,{name:this.props.transitionName,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},e)},render:function(){return i.createElement(o,r({},this.props,{childFactory:this._wrapChild}))}});t.exports=l},{24:24,26:26,30:30,94:94}],30:[function(e,t,n){"use strict";var i=e(26),r=e(40),o=e(145),s=e(93),a=e(135),l=17,c=i.createClass({displayName:"ReactCSSTransitionGroupChild",propTypes:{name:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.shape({enter:i.PropTypes.string,leave:i.PropTypes.string,active:i.PropTypes.string}),i.PropTypes.shape({enter:i.PropTypes.string,enterActive:i.PropTypes.string,leave:i.PropTypes.string,leaveActive:i.PropTypes.string,appear:i.PropTypes.string,appearActive:i.PropTypes.string})]).isRequired,appear:i.PropTypes.bool,enter:i.PropTypes.bool,leave:i.PropTypes.bool,appearTimeout:i.PropTypes.number,enterTimeout:i.PropTypes.number,leaveTimeout:i.PropTypes.number},transition:function(e,t,n){var i=r.findDOMNode(this);if(i){var a=this.props.name[e]||this.props.name+"-"+e,l=this.props.name[e+"Active"]||a+"-active",c=null,u=function(e){e&&e.target!==i||(clearTimeout(c),o.removeClass(i,a),o.removeClass(i,l),s.removeEndEventListener(i,u),t&&t())};o.addClass(i,a),this.queueClass(l),n?(c=setTimeout(u,n),this.transitionTimeouts.push(c)):s.addEndEventListener(i,u)}else t&&t()},queueClass:function(e){this.classNameQueue.push(e),this.timeout||(this.timeout=setTimeout(this.flushClassNameQueue,l))},flushClassNameQueue:function(){this.isMounted()&&this.classNameQueue.forEach(o.addClass.bind(o,r.findDOMNode(this))),this.classNameQueue.length=0,this.timeout=null},componentWillMount:function(){this.classNameQueue=[],this.transitionTimeouts=[]},componentWillUnmount:function(){this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)}))},componentWillAppear:function(e){this.props.appear?this.transition("appear",e,this.props.appearTimeout):e()},componentWillEnter:function(e){this.props.enter?this.transition("enter",e,this.props.enterTimeout):e()},componentWillLeave:function(e){this.props.leave?this.transition("leave",e,this.props.leaveTimeout):e()},render:function(){return a(this.props.children)}});t.exports=c},{135:135,145:145,26:26,40:40,93:93}],31:[function(e,t,n){"use strict";var i=e(84),r=e(132),o=e(141),s=e(142),a=e(173);function l(e,t,n){var i=void 0===e[n];a(i,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),null!=t&&i&&(e[n]=r(t,null))}var c={instantiateChildren:function(e,t,n){if(null==e)return null;var i={};return s(e,l,i),i},updateChildren:function(e,t,n,s){if(!t&&!e)return null;var a;for(a in t)if(t.hasOwnProperty(a)){var l=e&&e[a],c=l&&l._currentElement,u=t[a];if(null!=l&&o(c,u))i.receiveComponent(l,u,n,s),t[a]=l;else{l&&i.unmountComponent(l,a);var d=r(u,null);t[a]=d}}for(a in e)!e.hasOwnProperty(a)||t&&t.hasOwnProperty(a)||i.unmountComponent(e[a]);return t},unmountChildren:function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];i.unmountComponent(n)}}};t.exports=c},{132:132,141:141,142:142,173:173,84:84}],32:[function(e,t,n){"use strict";var i=e(25),r=e(57),o=e(153),s=e(142),a=i.twoArgumentPooler,l=i.fourArgumentPooler,c=/\/(?!\/)/g;function u(e){return(""+e).replace(c,"//")}function d(e,t){this.func=e,this.context=t,this.count=0}function h(e,t,n){var i=e.func,r=e.context;i.call(r,t,e.count++)}function p(e,t,n){if(null==e)return e;var i=d.getPooled(t,n);s(e,h,i),d.release(i)}function f(e,t,n,i){this.result=e,this.keyPrefix=t,this.func=n,this.context=i,this.count=0}function g(e,t,n){var i=e.result,s=e.keyPrefix,a=e.func,l=e.context,c=a.call(l,t,e.count++);Array.isArray(c)?m(c,i,n,o.thatReturnsArgument):null!=c&&(r.isValidElement(c)&&(c=r.cloneAndReplaceKey(c,s+(c!==t?u(c.key||"")+"/":"")+n)),i.push(c))}function m(e,t,n,i,r){var o="";null!=n&&(o=u(n)+"/");var a=f.getPooled(t,o,i,r);s(e,g,a),f.release(a)}function v(e,t,n){if(null==e)return e;var i=[];return m(e,i,null,t,n),i}function S(e,t,n){return null}function y(e,t){return s(e,S,null)}function b(e){var t=[];return m(e,t,null,o.thatReturnsArgument),t}d.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},i.addPoolingTo(d,a),f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},i.addPoolingTo(f,l);var w={forEach:p,map:v,mapIntoWithKeyPrefixInternal:m,count:y,toArray:b};t.exports=w},{142:142,153:153,25:25,57:57}],33:[function(e,t,n){"use strict";var i=e(34),r=e(57),o=e(81),s=e(80),a=e(76),l=e(24),c=e(154),u=e(161),d=e(165),h=e(166),p=e(173),f=h({mixins:null}),g=d({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),m=[],v=!1;function S(){v||(v=!0,p(!1,"setProps(...) and replaceProps(...) are deprecated. Instead, call render again at the top level."))}var y={mixins:g.DEFINE_MANY,statics:g.DEFINE_MANY,propTypes:g.DEFINE_MANY,contextTypes:g.DEFINE_MANY,childContextTypes:g.DEFINE_MANY,getDefaultProps:g.DEFINE_MANY_MERGED,getInitialState:g.DEFINE_MANY_MERGED,getChildContext:g.DEFINE_MANY_MERGED,render:g.DEFINE_ONCE,componentWillMount:g.DEFINE_MANY,componentDidMount:g.DEFINE_MANY,componentWillReceiveProps:g.DEFINE_MANY,shouldComponentUpdate:g.DEFINE_ONCE,componentWillUpdate:g.DEFINE_MANY,componentDidUpdate:g.DEFINE_MANY,componentWillUnmount:g.DEFINE_MANY,updateComponent:g.OVERRIDE_BASE},b={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)x(e,t[n])},childContextTypes:function(e,t){w(e,t,o.childContext),e.childContextTypes=l({},e.childContextTypes,t)},contextTypes:function(e,t){w(e,t,o.context),e.contextTypes=l({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=T(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){w(e,t,o.prop),e.propTypes=l({},e.propTypes,t)},statics:function(e,t){D(e,t)},autobind:function(){}};function w(e,t,n){for(var i in t)t.hasOwnProperty(i)&&p("function"==typeof t[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",s[n],i)}function C(e,t){var n=y.hasOwnProperty(t)?y[t]:null;M.hasOwnProperty(t)&&n!==g.OVERRIDE_BASE&&u(!1,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e.hasOwnProperty(t)&&n!==g.DEFINE_MANY&&n!==g.DEFINE_MANY_MERGED&&u(!1,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function x(e,t){if(t){"function"==typeof t&&u(!1,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."),r.isValidElement(t)&&u(!1,"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype;for(var i in t.hasOwnProperty(f)&&b.mixins(e,t.mixins),t)if(t.hasOwnProperty(i)&&i!==f){var o=t[i];if(C(n,i),b.hasOwnProperty(i))b[i](e,o);else{var s=y.hasOwnProperty(i),a=n.hasOwnProperty(i);if("function"!=typeof o||s||a||!1===t.autobind)if(a){var l=y[i];(!s||l!==g.DEFINE_MANY_MERGED&&l!==g.DEFINE_MANY)&&u(!1,"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",l,i),l===g.DEFINE_MANY_MERGED?n[i]=T(n[i],o):l===g.DEFINE_MANY&&(n[i]=P(n[i],o))}else n[i]=o,"function"==typeof o&&t.displayName&&(n[i].displayName=t.displayName+"_"+i);else n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[i]=o,n[i]=o}}}}function D(e,t){if(t)for(var n in t){var i=t[n];t.hasOwnProperty(n)&&(n in b&&u(!1,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e&&u(!1,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=i)}}function E(e,t){for(var n in e&&t&&"object"==typeof e&&"object"==typeof t||u(!1,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(void 0!==e[n]&&u(!1,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function T(e,t){return function(){var n=e.apply(this,arguments),i=t.apply(this,arguments);if(null==n)return i;if(null==i)return n;var r={};return E(r,n),E(r,i),r}}function P(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function I(e,t){var n=t.bind(e);n.__reactBoundContext=e,n.__reactBoundMethod=t,n.__reactBoundArguments=null;var i=e.constructor.displayName,r=n.bind;return n.bind=function(o){for(var s=arguments.length,a=Array(s>1?s-1:0),l=1;l<s;l++)a[l-1]=arguments[l];if(o!==e&&null!==o)p(!1,"bind(): React component methods may only be bound to the component instance. See %s",i);else if(!a.length)return p(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",i),n;var c=r.apply(n,arguments);return c.__reactBoundContext=e,c.__reactBoundMethod=t,c.__reactBoundArguments=a,c},n}function A(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=I(e,n)}}var M={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t)},isMounted:function(){return this.updater.isMounted(this)},setProps:function(e,t){S(),this.updater.enqueueSetProps(this,e),t&&this.updater.enqueueCallback(this,t)},replaceProps:function(e,t){S(),this.updater.enqueueReplaceProps(this,e),t&&this.updater.enqueueCallback(this,t)}},k=function(){};l(k.prototype,i.prototype,M);var L={createClass:function(e){var t=function(e,n,i){p(this instanceof t,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindMap&&A(this),this.props=e,this.context=n,this.refs=c,this.updater=i||a,this.state=null;var r=this.getInitialState?this.getInitialState():null;void 0===r&&this.getInitialState._isMockFunction&&(r=null),("object"!=typeof r||Array.isArray(r))&&u(!1,"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=r};for(var n in t.prototype=new k,t.prototype.constructor=t,m.forEach(x.bind(null,t)),x(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved={}),t.prototype.getInitialState&&(t.prototype.getInitialState.isReactClassApproved={}),t.prototype.render||u(!1,"createClass(...): Class specification must implement a `render` method."),p(!t.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",e.displayName||"A component"),p(!t.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",e.displayName||"A component"),y)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){m.push(e)}}};t.exports=L},{154:154,161:161,165:165,166:166,173:173,24:24,34:34,57:57,76:76,80:80,81:81}],34:[function(e,t,n){"use strict";var i=e(76),r=e(117),o=e(154),s=e(161),a=e(173);function l(e,t,n){this.props=e,this.context=t,this.refs=o,this.updater=n||i}l.prototype.isReactComponent={},l.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&s(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),a(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."),this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t)},l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e)};var c={getDOMNode:["getDOMNode","Use ReactDOM.findDOMNode(component) instead."],isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceProps:["replaceProps","Instead, call render again at the top level."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."],setProps:["setProps","Instead, call render again at the top level."]},u=function(e,t){r&&Object.defineProperty(l.prototype,e,{get:function(){a(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var d in c)c.hasOwnProperty(d)&&u(d,c[d]);t.exports=l},{117:117,154:154,161:161,173:173,76:76}],35:[function(e,t,n){"use strict";var i=e(45),r=e(72),o={processChildrenUpdates:i.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:i.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){r.purgeID(e)}};t.exports=o},{45:45,72:72}],36:[function(e,t,n){"use strict";var i=e(161),r=!1,o={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){r&&i(!1,"ReactCompositeComponent: injectEnvironment() can only be called once."),o.unmountIDFromEnvironment=e.unmountIDFromEnvironment,o.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,o.processChildrenUpdates=e.processChildrenUpdates,r=!0}}};t.exports=o},{161:161}],37:[function(e,t,n){"use strict";var i=e(140),r={shouldComponentUpdate:function(e,t){return i(this,e,t)}};t.exports=r},{140:140}],38:[function(e,t,n){"use strict";var i=e(36),r=e(39),o=e(57),s=e(68),a=e(78),l=e(81),c=e(80),u=e(84),d=e(95),h=e(24),p=e(154),f=e(161),g=e(141),m=e(173);function v(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}function S(e){}S.prototype.render=function(){return(0,s.get(this)._currentElement.type)(this.props,this.context,this.updater)};var y=1,b={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=y++,this._rootNodeID=e;var i,a,l=this._processProps(this._currentElement.props),c=this._processContext(n),h=this._currentElement.type,g="prototype"in h;if(g){r.current=this;try{i=new h(l,c,d)}finally{r.current=null}}g&&null!==i&&!1!==i&&!o.isValidElement(i)||(a=i,i=new S(h)),null==i.render?m(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`, returned null/false from a stateless component, or tried to render an element whose type is a function that isn't a React component.",h.displayName||h.name||"Component"):m(h.prototype&&h.prototype.isReactComponent||!g||!(i instanceof h),"%s(...): React component classes must extend React.Component.",h.displayName||h.name||"Component"),i.props=l,i.context=c,i.refs=p,i.updater=d,this._instance=i,s.set(i,this),m(!i.getInitialState||i.getInitialState.isReactClassApproved,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"),m(!i.getDefaultProps||i.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"),m(!i.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"),m(!i.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"),m("function"!=typeof i.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"),m("function"!=typeof i.componentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",this.getName()||"A component"),m("function"!=typeof i.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",this.getName()||"A component");var v=i.state;void 0===v&&(i.state=v=null),("object"!=typeof v||Array.isArray(v))&&f(!1,"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===a&&(a=this._renderValidatedComponent()),this._renderedComponent=this._instantiateReactComponent(a);var b=u.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return i.componentDidMount&&t.getReactMountReady().enqueue(i.componentDidMount,i),b},unmountComponent:function(){var e=this._instance;e.componentWillUnmount&&e.componentWillUnmount(),u.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._instance=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,this._topLevelWrapper=null,s.remove(e)},_maskContext:function(e){var t=null,n=this._currentElement.type.contextTypes;if(!n)return p;for(var i in t={},n)t[i]=e[i];return t},_processContext:function(e){var t=this._maskContext(e),n=this._currentElement.type;return n.contextTypes&&this._checkPropTypes(n.contextTypes,t,l.context),t},_processChildContext:function(e){var t=this._currentElement.type,n=this._instance,i=n.getChildContext&&n.getChildContext();if(i){for(var r in"object"!=typeof t.childContextTypes&&f(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"),this._checkPropTypes(t.childContextTypes,i,l.childContext),i)r in t.childContextTypes||f(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",r);return h({},e,i)}return e},_processProps:function(e){var t=this._currentElement.type;return t.propTypes&&this._checkPropTypes(t.propTypes,e,l.prop),e},_checkPropTypes:function(e,t,n){var i=this.getName();for(var r in e)if(e.hasOwnProperty(r)){var o;try{"function"!=typeof e[r]&&f(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",i||"React class",c[n],r),o=e[r](t,r,i,n)}catch(e){o=e}if(o instanceof Error){var s=v(this);n===l.prop?m(!1,"Failed Composite propType: %s%s",o.message,s):m(!1,"Failed Context Types: %s%s",o.message,s)}}},receiveComponent:function(e,t,n){var i=this._currentElement,r=this._context;this._pendingElement=null,this.updateComponent(t,i,e,r,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&u.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},updateComponent:function(e,t,n,i,r){var o,s=this._instance,a=this._context===r?s.context:this._processContext(r);t===n?o=n.props:(o=this._processProps(n.props),s.componentWillReceiveProps&&s.componentWillReceiveProps(o,a));var l=this._processPendingState(o,a),c=this._pendingForceUpdate||!s.shouldComponentUpdate||s.shouldComponentUpdate(o,l,a);m(void 0!==c,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"),c?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,o,l,a,e,r)):(this._currentElement=n,this._context=r,s.props=o,s.state=l,s.context=a)},_processPendingState:function(e,t){var n=this._instance,i=this._pendingStateQueue,r=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!i)return n.state;if(r&&1===i.length)return i[0];for(var o=h({},r?i[0]:n.state),s=r?1:0;s<i.length;s++){var a=i[s];h(o,"function"==typeof a?a.call(n,o,e,t):a)}return o},_performComponentUpdate:function(e,t,n,i,r,o){var s,a,l,c=this._instance,u=Boolean(c.componentDidUpdate);u&&(s=c.props,a=c.state,l=c.context),c.componentWillUpdate&&c.componentWillUpdate(t,n,i),this._currentElement=e,this._context=o,c.props=t,c.state=n,c.context=i,this._updateRenderedComponent(r,o),u&&r.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,s,a,l),c)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,i=n._currentElement,r=this._renderValidatedComponent();if(g(i,r))u.receiveComponent(n,r,e,this._processChildContext(t));else{var o=this._rootNodeID,s=n._rootNodeID;u.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(r);var a=u.mountComponent(this._renderedComponent,o,e,this._processChildContext(t));this._replaceNodeWithMarkupByID(s,a)}},_replaceNodeWithMarkupByID:function(e,t){i.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return void 0===t&&e.render._isMockFunction&&(t=null),t},_renderValidatedComponent:function(){var e;r.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{r.current=null}return null===e||!1===e||o.isValidElement(e)||f(!1,"%s.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n&&f(!1,"Stateless function components cannot have refs.");var i=t.getPublicInstance(),r=t&&t.getName?t.getName():"a component";m(null!=i,'Stateless function components cannot be given refs (See ref "%s" in %s created by %s). Attempts to access this ref will fail.',e,r,this.getName()),(n.refs===p?n.refs={}:n.refs)[e]=i},detachRef:function(e){delete this.getPublicInstance().refs[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return e instanceof S?null:e},_instantiateReactComponent:null};a.measureMethods(b,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var w={Mixin:b};t.exports=w},{141:141,154:154,161:161,173:173,24:24,36:36,39:39,57:57,68:68,78:78,80:80,81:81,84:84,95:95}],39:[function(e,t,n){"use strict";var i={current:null};t.exports=i},{}],40:[function(e,t,n){"use strict";var i=e(39),r=e(51),o=e(54),s=e(67),a=e(72),l=e(78),c=e(84),u=e(96),d=e(97),h=e(122),p=e(137),f=e(173);o.inject();var g={findDOMNode:h,render:l.measure("React","render",a.render),unmountComponentAtNode:a.unmountComponentAtNode,version:d,unstable_batchedUpdates:u.batchedUpdates,unstable_renderSubtreeIntoContainer:p};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:i,InstanceHandles:s,Mount:a,Reconciler:c,TextComponent:r}),e(147).canUseDOM&&window.top===window.self){"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)&&console.debug("Download the React DevTools for a better development experience: https://fb.me/react-devtools"),f(!(document.documentMode&&document.documentMode<8),'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: <meta http-equiv="X-UA-Compatible" content="IE=edge" />');for(var m=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],v=0;v<m.length;v++)if(!m[v]){console.error("One or more ES5 shim/shams expected by React are not available: https://fb.me/react-warning-polyfills");break}}t.exports=g},{122:122,137:137,147:147,173:173,39:39,51:51,54:54,67:67,72:72,78:78,84:84,96:96,97:97}],41:[function(e,t,n){"use strict";var i={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},r={getNativeProps:function(e,t,n){if(!t.disabled)return t;var r={};for(var o in t)t.hasOwnProperty(o)&&!i[o]&&(r[o]=t[o]);return r}};t.exports=r},{}],42:[function(e,t,n){"use strict";var i,r=e(2),o=e(5),s=e(10),a=e(11),l=e(15),c=e(28),u=e(35),d=e(41),h=e(46),p=e(47),f=e(48),g=e(52),m=e(72),v=e(73),S=e(78),y=e(95),b=e(24),w=e(117),C=e(121),x=e(161),D=e(133),E=e(166),T=e(138),P=e(139),I=e(171),A=e(144),M=e(173),k=c.deleteListener,L=c.listenTo,R=c.registrationNameModules,_={string:!0,number:!0},O=E({children:null}),V=E({style:null}),N=E({__html:null}),j=1;function B(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function F(){var e=this._reactInternalComponent;return M(!1,"ReactDOMComponent: Do not access .getDOMNode() of a DOM node; instead, use the node directly.%s",B(e)),this}function U(){var e=this._reactInternalComponent;return M(!1,"ReactDOMComponent: Do not access .isMounted() of a DOM node.%s",B(e)),!!e}function H(){var e=this._reactInternalComponent;M(!1,"ReactDOMComponent: Do not access .setState(), .replaceState(), or .forceUpdate() of a DOM node. This is a no-op.%s",B(e))}function G(e,t){var n=this._reactInternalComponent;M(!1,"ReactDOMComponent: Do not access .setProps() of a DOM node. Instead, call ReactDOM.render again at the top level.%s",B(n)),n&&(y.enqueueSetPropsInternal(n,e),t&&y.enqueueCallbackInternal(n,t))}function W(e,t){var n=this._reactInternalComponent;M(!1,"ReactDOMComponent: Do not access .replaceProps() of a DOM node. Instead, call ReactDOM.render again at the top level.%s",B(n)),n&&(y.enqueueReplacePropsInternal(n,e),t&&y.enqueueCallbackInternal(n,t))}function z(e){if("object"==typeof e){if(Array.isArray(e))return"["+e.map(z).join(", ")+"]";var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=/^[a-z$_][\w$_]*$/i.test(n)?n:JSON.stringify(n);t.push(i+": "+z(e[n]))}return"{"+t.join(", ")+"}"}return"string"==typeof e?JSON.stringify(e):"function"==typeof e?"[function object]":String(e)}i={props:{enumerable:!1,get:function(){var e=this._reactInternalComponent;return M(!1,"ReactDOMComponent: Do not access .props of a DOM node; instead, recreate the props as `render` did originally or read the DOM properties/attributes directly from this node (e.g., this.refs.box.className).%s",B(e)),e._currentElement.props}}};var q={};function Y(e,t,n){if(null!=e&&null!=t&&!I(e,t)){var i,r=n._tag,o=n._currentElement._owner;o&&(i=o.getName());var s=i+"|"+r;q.hasOwnProperty(s)||(q[s]=!0,M(!1,"`%s` was passed a style object that has previously been mutated. Mutating `style` is deprecated. Consider cloning it beforehand. Check the `render` %s. Previous style: %s. Mutated style: %s.",r,o?"of `"+i+"`":"using <"+r+">",z(e),z(t)))}}function K(e,t){t&&(ie[e._tag]&&M(null==t.children&&null==t.dangerouslySetInnerHTML,"%s is a void element tag and must not have `children` or use `props.dangerouslySetInnerHTML`.%s",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&x(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"==typeof t.dangerouslySetInnerHTML&&N in t.dangerouslySetInnerHTML||x(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),M(null==t.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),M(!t.contentEditable||null==t.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style&&x(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",B(e)))}function X(e,t,n,i){M("onScroll"!==t||D("scroll",!0),"This browser doesn't support the `onScroll` event");var r=m.findReactContainerForID(e);if(r){var o=r.nodeType===j?r.ownerDocument:r;L(t,o)}i.getReactMountReady().enqueue(Z,{id:e,registrationName:t,listener:n})}function Z(){var e=this;c.putListener(e.id,e.registrationName,e.listener)}var Q={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"};function $(){var e=this;e._rootNodeID||x(!1,"Must be mounted to trap events");var t=m.getNode(e._rootNodeID);switch(t||x(!1,"trapBubbledEvent(...): Requires node to be rendered."),e._tag){case"iframe":e._wrapperState.listeners=[c.trapBubbledEvent(l.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":for(var n in e._wrapperState.listeners=[],Q)Q.hasOwnProperty(n)&&e._wrapperState.listeners.push(c.trapBubbledEvent(l.topLevelTypes[n],Q[n],t));break;case"img":e._wrapperState.listeners=[c.trapBubbledEvent(l.topLevelTypes.topError,"error",t),c.trapBubbledEvent(l.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[c.trapBubbledEvent(l.topLevelTypes.topReset,"reset",t),c.trapBubbledEvent(l.topLevelTypes.topSubmit,"submit",t)]}}function J(){h.mountReadyWrapper(this)}function ee(){f.postUpdateWrapper(this)}var te={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ne={listing:!0,pre:!0,textarea:!0},ie=b({menuitem:!0},te),re=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,oe={},se={}.hasOwnProperty;function ae(e){se.call(oe,e)||(re.test(e)||x(!1,"Invalid tag: %s",e),oe[e]=!0)}function le(e,t){var n=(e=b({},e))[A.ancestorInfoContextKey];return e[A.ancestorInfoContextKey]=A.updatedAncestorInfo(n,t._tag,t),e}function ce(e,t){return e.indexOf("-")>=0||null!=t.is}function ue(e){ae(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null,this._unprocessedContextDev=null,this._processedContextDev=null}ue.displayName="ReactDOMComponent",ue.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var i,o=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},t.getReactMountReady().enqueue($,this);break;case"button":o=d.getNativeProps(this,o,n);break;case"input":h.mountWrapper(this,o,n),o=h.getNativeProps(this,o,n);break;case"option":p.mountWrapper(this,o,n),o=p.getNativeProps(this,o,n);break;case"select":f.mountWrapper(this,o,n),o=f.getNativeProps(this,o,n),n=f.processChildContext(this,o,n);break;case"textarea":g.mountWrapper(this,o,n),o=g.getNativeProps(this,o,n)}if(K(this,o),n[A.ancestorInfoContextKey]&&A(this._tag,this,n[A.ancestorInfoContextKey]),this._unprocessedContextDev=n,this._processedContextDev=le(n,this),n=this._processedContextDev,t.useCreateElement){var s=n[m.ownerDocumentContextKey].createElement(this._currentElement.type);a.setAttributeForID(s,this._rootNodeID),m.getID(s),this._updateDOMProperties({},o,t,s),this._createInitialChildren(t,o,n,s),i=s}else{var l=this._createOpenTagMarkupAndPutListeners(t,o),c=this._createContentMarkup(t,o,n);i=!c&&te[this._tag]?l+"/>":l+">"+c+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(J,this);case"button":case"select":case"textarea":o.autoFocus&&t.getReactMountReady().enqueue(r.focusDOMComponent,this)}return i},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];if(null!=r)if(R.hasOwnProperty(i))r&&X(this._rootNodeID,i,r,e);else{i===V&&(r&&(this._previousStyle=r,r=this._previousStyleCopy=b({},t.style)),r=o.createMarkupForStyles(r));var s=null;null!=this._tag&&ce(this._tag,t)?i!==O&&(s=a.createMarkupForCustomAttribute(i,r)):s=a.createMarkupForProperty(i,r),s&&(n+=" "+s)}}return e.renderToStaticMarkup?n:n+" "+a.createMarkupForID(this._rootNodeID)},_createContentMarkup:function(e,t,n){var i="",r=t.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&(i=r.__html);else{var o=_[typeof t.children]?t.children:null,s=null!=o?null:t.children;null!=o?i=C(o):null!=s&&(i=this.mountChildren(s,e,n).join(""))}return ne[this._tag]&&"\n"===i.charAt(0)?"\n"+i:i},_createInitialChildren:function(e,t,n,i){var r=t.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&T(i,r.__html);else{var o=_[typeof t.children]?t.children:null,s=null!=o?null:t.children;if(null!=o)P(i,o);else if(null!=s)for(var a=this.mountChildren(s,e,n),l=0;l<a.length;l++)i.appendChild(a[l])}},receiveComponent:function(e,t,n){var i=this._currentElement;this._currentElement=e,this.updateComponent(t,i,e,n)},updateComponent:function(e,t,n,i){var r=t.props,o=this._currentElement.props;switch(this._tag){case"button":r=d.getNativeProps(this,r),o=d.getNativeProps(this,o);break;case"input":h.updateWrapper(this),r=h.getNativeProps(this,r),o=h.getNativeProps(this,o);break;case"option":r=p.getNativeProps(this,r),o=p.getNativeProps(this,o);break;case"select":r=f.getNativeProps(this,r),o=f.getNativeProps(this,o);break;case"textarea":g.updateWrapper(this),r=g.getNativeProps(this,r),o=g.getNativeProps(this,o)}this._unprocessedContextDev!==i&&(this._unprocessedContextDev=i,this._processedContextDev=le(i,this)),i=this._processedContextDev,K(this,o),this._updateDOMProperties(r,o,e,null),this._updateDOMChildren(r,o,e,i),!w&&this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties.props=o),"select"===this._tag&&e.getReactMountReady().enqueue(ee,this)},_updateDOMProperties:function(e,t,n,i){var r,l,c;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r))if(r===V){var u=this._previousStyleCopy;for(l in u)u.hasOwnProperty(l)&&((c=c||{})[l]="");this._previousStyleCopy=null}else R.hasOwnProperty(r)?e[r]&&k(this._rootNodeID,r):(s.properties[r]||s.isCustomAttribute(r))&&(i||(i=m.getNode(this._rootNodeID)),a.deleteValueForProperty(i,r));for(r in t){var d=t[r],h=r===V?this._previousStyleCopy:e[r];if(t.hasOwnProperty(r)&&d!==h)if(r===V)if(d?(Y(this._previousStyleCopy,this._previousStyle,this),this._previousStyle=d,d=this._previousStyleCopy=b({},d)):this._previousStyleCopy=null,h){for(l in h)!h.hasOwnProperty(l)||d&&d.hasOwnProperty(l)||((c=c||{})[l]="");for(l in d)d.hasOwnProperty(l)&&h[l]!==d[l]&&((c=c||{})[l]=d[l])}else c=d;else R.hasOwnProperty(r)?d?X(this._rootNodeID,r,d,n):h&&k(this._rootNodeID,r):ce(this._tag,t)?(i||(i=m.getNode(this._rootNodeID)),r===O&&(d=null),a.setValueForAttribute(i,r,d)):(s.properties[r]||s.isCustomAttribute(r))&&(i||(i=m.getNode(this._rootNodeID)),null!=d?a.setValueForProperty(i,r,d):a.deleteValueForProperty(i,r))}c&&(i||(i=m.getNode(this._rootNodeID)),o.setValueForStyles(i,c))},_updateDOMChildren:function(e,t,n,i){var r=_[typeof e.children]?e.children:null,o=_[typeof t.children]?t.children:null,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,a=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,l=null!=r?null:e.children,c=null!=o?null:t.children,u=null!=r||null!=s,d=null!=o||null!=a;null!=l&&null==c?this.updateChildren(null,n,i):u&&!d&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextContent(""+o):null!=a?s!==a&&this.updateMarkup(""+a):null!=c&&this.updateChildren(c,n,i)},unmountComponent:function(){switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":var e=this._wrapperState.listeners;if(e)for(var t=0;t<e.length;t++)e[t].remove();break;case"input":h.unmountWrapper(this);break;case"html":case"head":case"body":x(!1,"<%s> tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this._tag)}this.unmountChildren(),c.deleteAllListeners(this._rootNodeID),u.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties._reactInternalComponent=null,this._nodeWithLegacyProperties=null)},getPublicInstance:function(){if(!this._nodeWithLegacyProperties){var e=m.getNode(this._rootNodeID);e._reactInternalComponent=this,e.getDOMNode=F,e.isMounted=U,e.setState=H,e.replaceState=H,e.forceUpdate=H,e.setProps=G,e.replaceProps=W,w?Object.defineProperties(e,i):e.props=this._currentElement.props,this._nodeWithLegacyProperties=e}return this._nodeWithLegacyProperties}},S.measureMethods(ue,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),b(ue.prototype,ue.Mixin,v.Mixin),t.exports=ue},{10:10,11:11,117:117,121:121,133:133,138:138,139:139,144:144,15:15,161:161,166:166,171:171,173:173,2:2,24:24,28:28,35:35,41:41,46:46,47:47,48:48,5:5,52:52,72:72,73:73,78:78,95:95}],43:[function(e,t,n){"use strict";e(57);var i=e(58);function r(e){return i.createFactory(e)}var o=e(167)({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul",var:"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);t.exports=o},{167:167,57:57,58:58}],44:[function(e,t,n){"use strict";var i={useCreateElement:!1};t.exports=i},{}],45:[function(e,t,n){"use strict";var i=e(9),r=e(11),o=e(72),s=e(78),a=e(161),l={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},c={updatePropertyByID:function(e,t,n){var i=o.getNode(e);l.hasOwnProperty(t)&&a(!1,"updatePropertyByID(...): %s",l[t]),null!=n?r.setValueForProperty(i,t,n):r.deleteValueForProperty(i,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=o.getNode(e);i.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=o.getNode(e[n].parentID);i.processUpdates(e,t)}};s.measureMethods(c,"ReactDOMIDOperations",{dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),t.exports=c},{11:11,161:161,72:72,78:78,9:9}],46:[function(e,t,n){"use strict";var i=e(45),r=e(23),o=e(72),s=e(96),a=e(24),l=e(161),c={};function u(){this._rootNodeID&&d.updateWrapper(this)}var d={getNativeProps:function(e,t,n){var i=r.getValue(t),o=r.getChecked(t);return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=i?i:e._wrapperState.initialValue,checked:null!=o?o:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){r.checkPropTypes("input",t,e._currentElement._owner);var n=t.defaultValue;e._wrapperState={initialChecked:t.defaultChecked||!1,initialValue:null!=n?n:null,onChange:h.bind(e)}},mountReadyWrapper:function(e){c[e._rootNodeID]=e},unmountWrapper:function(e){delete c[e._rootNodeID]},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&i.updatePropertyByID(e._rootNodeID,"checked",n||!1);var o=r.getValue(t);null!=o&&i.updatePropertyByID(e._rootNodeID,"value",""+o)}};function h(e){var t=this._currentElement.props,n=r.executeOnChange(t,e);s.asap(u,this);var i=t.name;if("radio"===t.type&&null!=i){for(var a=o.getNode(this._rootNodeID),d=a;d.parentNode;)d=d.parentNode;for(var h=d.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),p=0;p<h.length;p++){var f=h[p];if(f!==a&&f.form===a.form){var g=o.getID(f);g||l(!1,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");var m=c[g];m||l(!1,"ReactDOMInput: Unknown radio button ID %s.",g),s.asap(u,m)}}}return n}t.exports=d},{161:161,23:23,24:24,45:45,72:72,96:96}],47:[function(e,t,n){"use strict";var i=e(32),r=e(48),o=e(24),s=e(173),a=r.valueContextKey,l={mountWrapper:function(e,t,n){s(null==t.selected,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.");var i=n[a],r=null;if(null!=i)if(r=!1,Array.isArray(i)){for(var o=0;o<i.length;o++)if(""+i[o]==""+t.value){r=!0;break}}else r=""+i==""+t.value;e._wrapperState={selected:r}},getNativeProps:function(e,t,n){var r=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(r.selected=e._wrapperState.selected);var a="";return i.forEach(t.children,(function(e){null!=e&&("string"==typeof e||"number"==typeof e?a+=e:s(!1,"Only strings and numbers are supported as <option> children."))})),r.children=a,r}};t.exports=l},{173:173,24:24,32:32,48:48}],48:[function(e,t,n){"use strict";var i=e(23),r=e(72),o=e(96),s=e(24),a=e(173),l="__ReactDOMSelect_value$"+Math.random().toString(36).slice(2);function c(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=i.getValue(e);null!=t&&p(this,Boolean(e.multiple),t)}}function u(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var d=["value","defaultValue"];function h(e,t){var n=e._currentElement._owner;i.checkPropTypes("select",t,n);for(var r=0;r<d.length;r++){var o=d[r];null!=t[o]&&(t.multiple?a(Array.isArray(t[o]),"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",o,u(n)):a(!Array.isArray(t[o]),"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",o,u(n)))}}function p(e,t,n){var i,o,s=r.getNode(e._rootNodeID).options;if(t){for(i={},o=0;o<n.length;o++)i[""+n[o]]=!0;for(o=0;o<s.length;o++){var a=i.hasOwnProperty(s[o].value);s[o].selected!==a&&(s[o].selected=a)}}else{for(i=""+n,o=0;o<s.length;o++)if(s[o].value===i)return void(s[o].selected=!0);s.length&&(s[0].selected=!0)}}var f={valueContextKey:l,getNativeProps:function(e,t,n){return s({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){h(e,t);var n=i.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,onChange:g.bind(e),wasMultiple:Boolean(t.multiple)}},processChildContext:function(e,t,n){var i=s({},n);return i[l]=e._wrapperState.initialValue,i},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=i.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,p(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?p(e,Boolean(t.multiple),t.defaultValue):p(e,Boolean(t.multiple),t.multiple?[]:""))}};function g(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);return this._wrapperState.pendingUpdate=!0,o.asap(c,this),n}t.exports=f},{173:173,23:23,24:24,72:72,96:96}],49:[function(e,t,n){"use strict";var i=e(147),r=e(130),o=e(131);function s(e,t,n,i){return e===n&&t===i}function a(e){var t=document.selection.createRange(),n=t.text.length,i=t.duplicate();i.moveToElementText(e),i.setEndPoint("EndToStart",t);var r=i.text.length;return{start:r,end:r+n}}function l(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,i=t.anchorOffset,r=t.focusNode,o=t.focusOffset,a=t.getRangeAt(0);try{a.startContainer.nodeType,a.endContainer.nodeType}catch(e){return null}var l=s(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset)?0:a.toString().length,c=a.cloneRange();c.selectNodeContents(e),c.setEnd(a.startContainer,a.startOffset);var u=s(c.startContainer,c.startOffset,c.endContainer,c.endOffset)?0:c.toString().length,d=u+l,h=document.createRange();h.setStart(n,i),h.setEnd(r,o);var p=h.collapsed;return{start:p?d:u,end:p?u:d}}function c(e,t){var n,i,r=document.selection.createRange().duplicate();void 0===t.end?i=n=t.start:t.start>t.end?(n=t.end,i=t.start):(n=t.start,i=t.end),r.moveToElementText(e),r.moveStart("character",n),r.setEndPoint("EndToStart",r),r.moveEnd("character",i-n),r.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),i=e[o()].length,s=Math.min(t.start,i),a=void 0===t.end?s:Math.min(t.end,i);if(!n.extend&&s>a){var l=a;a=s,s=l}var c=r(e,s),u=r(e,a);if(c&&u){var d=document.createRange();d.setStart(c.node,c.offset),n.removeAllRanges(),s>a?(n.addRange(d),n.extend(u.node,u.offset)):(d.setEnd(u.node,u.offset),n.addRange(d))}}}var d=i.canUseDOM&&"selection"in document&&!("getSelection"in window),h={getOffsets:d?a:l,setOffsets:d?c:u};t.exports=h},{130:130,131:131,147:147}],50:[function(e,t,n){"use strict";var i=e(54),r=e(88),o=e(97);i.inject();var s={renderToString:r.renderToString,renderToStaticMarkup:r.renderToStaticMarkup,version:o};t.exports=s},{54:54,88:88,97:97}],51:[function(e,t,n){"use strict";var i=e(9),r=e(11),o=e(35),s=e(72),a=e(24),l=e(121),c=e(139),u=e(144),d=function(e){};a(d.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){if(n[u.ancestorInfoContextKey]&&u("span",null,n[u.ancestorInfoContextKey]),this._rootNodeID=e,t.useCreateElement){var i=n[s.ownerDocumentContextKey].createElement("span");return r.setAttributeForID(i,e),s.getID(i),c(i,this._stringText),i}var o=l(this._stringText);return t.renderToStaticMarkup?o:"<span "+r.createMarkupForID(e)+">"+o+"</span>"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=s.getNode(this._rootNodeID);i.updateTextContent(r,n)}}},unmountComponent:function(){o.unmountIDFromEnvironment(this._rootNodeID)}}),t.exports=d},{11:11,121:121,139:139,144:144,24:24,35:35,72:72,9:9}],52:[function(e,t,n){"use strict";var i=e(23),r=e(45),o=e(96),s=e(24),a=e(161),l=e(173);function c(){this._rootNodeID&&u.updateWrapper(this)}var u={getNativeProps:function(e,t,n){return null!=t.dangerouslySetInnerHTML&&a(!1,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),s({},t,{defaultValue:void 0,value:void 0,children:e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){i.checkPropTypes("textarea",t,e._currentElement._owner);var n=t.defaultValue,r=t.children;null!=r&&(l(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=n&&a(!1,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(r)&&(r.length<=1||a(!1,"<textarea> can only have at most one child."),r=r[0]),n=""+r),null==n&&(n="");var o=i.getValue(t);e._wrapperState={initialValue:""+(null!=o?o:n),onChange:d.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=i.getValue(t);null!=n&&r.updatePropertyByID(e._rootNodeID,"value",""+n)}};function d(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);return o.asap(c,this),n}t.exports=u},{161:161,173:173,23:23,24:24,45:45,96:96}],53:[function(e,t,n){"use strict";var i=e(96),r=e(113),o=e(24),s=e(153),a={initialize:s,close:function(){d.isBatchingUpdates=!1}},l=[{initialize:s,close:i.flushBatchedUpdates.bind(i)},a];function c(){this.reinitializeTransaction()}o(c.prototype,r.Mixin,{getTransactionWrappers:function(){return l}});var u=new c,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,i,r,o){var s=d.isBatchingUpdates;d.isBatchingUpdates=!0,s?e(t,n,i,r,o):u.perform(e,null,t,n,i,r,o)}};t.exports=d},{113:113,153:153,24:24,96:96}],54:[function(e,t,n){"use strict";var i=e(3),r=e(7),o=e(8),s=e(13),a=e(14),l=e(147),c=e(21),u=e(27),d=e(35),h=e(53),p=e(42),f=e(51),g=e(63),m=e(65),v=e(67),S=e(72),y=e(83),b=e(99),w=e(100),C=e(101),x=e(98),D=!1;function E(){if(!D){D=!0,m.EventEmitter.injectReactEventListener(g),m.EventPluginHub.injectEventPluginOrder(s),m.EventPluginHub.injectInstanceHandle(v),m.EventPluginHub.injectMount(S),m.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:C,EnterLeaveEventPlugin:a,ChangeEventPlugin:r,SelectEventPlugin:b,BeforeInputEventPlugin:i}),m.NativeComponent.injectGenericComponentClass(p),m.NativeComponent.injectTextComponentClass(f),m.Class.injectMixin(u),m.DOMProperty.injectDOMPropertyConfig(c),m.DOMProperty.injectDOMPropertyConfig(x),m.EmptyComponent.injectEmptyComponent("noscript"),m.Updates.injectReconcileTransaction(y),m.Updates.injectBatchingStrategy(h),m.RootIndex.injectCreateReactRootIndex(l.canUseDOM?o.createReactRootIndex:w.createReactRootIndex),m.Component.injectEnvironment(d);var t=l.canUseDOM&&window.location.href||"";/[?&]react_perf\b/.test(t)&&e(55).start()}}t.exports={inject:E}},{100:100,101:101,13:13,14:14,147:147,21:21,27:27,3:3,35:35,42:42,51:51,53:53,55:55,63:63,65:65,67:67,7:7,72:72,8:8,83:83,98:98,99:99}],55:[function(e,t,n){"use strict";var i=e(10),r=e(56),o=e(72),s=e(78),a=e(170);function l(e){return Math.floor(100*e)/100}function c(e,t,n){e[t]=(e[t]||0)+n}var u={_allMeasurements:[],_mountStack:[0],_injected:!1,start:function(){u._injected||s.injection.injectMeasure(u.measure),u._allMeasurements.length=0,s.enableMeasure=!0},stop:function(){s.enableMeasure=!1},getLastMeasurements:function(){return u._allMeasurements},printExclusive:function(e){e=e||u._allMeasurements;var t=r.getExclusiveSummary(e);console.table(t.map((function(e){return{"Component class name":e.componentName,"Total inclusive time (ms)":l(e.inclusive),"Exclusive mount time (ms)":l(e.exclusive),"Exclusive render time (ms)":l(e.render),"Mount time per instance (ms)":l(e.exclusive/e.count),"Render time per instance (ms)":l(e.render/e.count),Instances:e.count}})))},printInclusive:function(e){e=e||u._allMeasurements;var t=r.getInclusiveSummary(e);console.table(t.map((function(e){return{"Owner > component":e.componentName,"Inclusive time (ms)":l(e.time),Instances:e.count}}))),console.log("Total time:",r.getTotalTime(e).toFixed(2)+" ms")},getMeasurementsSummaryMap:function(e){return r.getInclusiveSummary(e,!0).map((function(e){return{"Owner > component":e.componentName,"Wasted time (ms)":e.time,Instances:e.count}}))},printWasted:function(e){e=e||u._allMeasurements,console.table(u.getMeasurementsSummaryMap(e)),console.log("Total time:",r.getTotalTime(e).toFixed(2)+" ms")},printDOM:function(e){e=e||u._allMeasurements;var t=r.getDOMSummary(e);console.table(t.map((function(e){var t={};return t[i.ID_ATTRIBUTE_NAME]=e.id,t.type=e.type,t.args=JSON.stringify(e.args),t}))),console.log("Total time:",r.getTotalTime(e).toFixed(2)+" ms")},_recordWrite:function(e,t,n,i){var r=u._allMeasurements[u._allMeasurements.length-1].writes;r[e]=r[e]||[],r[e].push({type:t,time:n,args:i})},measure:function(e,t,n){return function(){for(var i=arguments.length,r=Array(i),s=0;s<i;s++)r[s]=arguments[s];var l,d,h;if("_renderNewRootComponent"===t||"flushBatchedUpdates"===t)return u._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0,created:{}}),h=a(),d=n.apply(this,r),u._allMeasurements[u._allMeasurements.length-1].totalTime=a()-h,d;if("_mountImageIntoNode"===t||"ReactBrowserEventEmitter"===e||"ReactDOMIDOperations"===e||"CSSPropertyOperations"===e||"DOMChildrenOperations"===e||"DOMPropertyOperations"===e){if(h=a(),d=n.apply(this,r),l=a()-h,"_mountImageIntoNode"===t){var p=o.getID(r[1]);u._recordWrite(p,t,l,r[0])}else if("dangerouslyProcessChildrenUpdates"===t)r[0].forEach((function(e){var t={};null!==e.fromIndex&&(t.fromIndex=e.fromIndex),null!==e.toIndex&&(t.toIndex=e.toIndex),null!==e.textContent&&(t.textContent=e.textContent),null!==e.markupIndex&&(t.markup=r[1][e.markupIndex]),u._recordWrite(e.parentID,e.type,l,t)}));else{var f=r[0];"object"==typeof f&&(f=o.getID(r[0])),u._recordWrite(f,t,l,Array.prototype.slice.call(r,1))}return d}if("ReactCompositeComponent"!==e||"mountComponent"!==t&&"updateComponent"!==t&&"_renderValidatedComponent"!==t)return n.apply(this,r);if(this._currentElement.type===o.TopLevelWrapper)return n.apply(this,r);var g="mountComponent"===t?r[0]:this._rootNodeID,m="_renderValidatedComponent"===t,v="mountComponent"===t,S=u._mountStack,y=u._allMeasurements[u._allMeasurements.length-1];if(m?c(y.counts,g,1):v&&(y.created[g]=!0,S.push(0)),h=a(),d=n.apply(this,r),l=a()-h,m)c(y.render,g,l);else if(v){var b=S.pop();S[S.length-1]+=l,c(y.exclusive,g,l-b),c(y.inclusive,g,l)}else c(y.inclusive,g,l);return y.displayNames[g]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():"<root>"},d}}};t.exports=u},{10:10,170:170,56:56,72:72,78:78}],56:[function(e,t,n){"use strict";var i=e(24),r=1.2,o={_mountImageIntoNode:"set innerHTML",INSERT_MARKUP:"set innerHTML",MOVE_EXISTING:"move",REMOVE_NODE:"remove",SET_MARKUP:"set innerHTML",TEXT_CONTENT:"set textContent",setValueForProperty:"update attribute",setValueForAttribute:"update attribute",deleteValueForProperty:"remove attribute",setValueForStyles:"update styles",replaceNodeWithMarkup:"replace",updateTextContent:"set textContent"};function s(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].totalTime;return t}function a(e){var t=[];return e.forEach((function(e){Object.keys(e.writes).forEach((function(n){e.writes[n].forEach((function(e){t.push({id:n,type:o[e.type]||e.type,args:e.args})}))}))})),t}function l(e){for(var t,n={},o=0;o<e.length;o++){var s=e[o],a=i({},s.exclusive,s.inclusive);for(var l in a)n[t=s.displayNames[l].current]=n[t]||{componentName:t,inclusive:0,exclusive:0,render:0,count:0},s.render[l]&&(n[t].render+=s.render[l]),s.exclusive[l]&&(n[t].exclusive+=s.exclusive[l]),s.inclusive[l]&&(n[t].inclusive+=s.inclusive[l]),s.counts[l]&&(n[t].count+=s.counts[l])}var c=[];for(t in n)n[t].exclusive>=r&&c.push(n[t]);return c.sort((function(e,t){return t.exclusive-e.exclusive})),c}function c(e,t){for(var n,o={},s=0;s<e.length;s++){var a,l=e[s],c=i({},l.exclusive,l.inclusive);for(var d in t&&(a=u(l)),c)if(!t||a[d]){var h=l.displayNames[d];o[n=h.owner+" > "+h.current]=o[n]||{componentName:n,time:0,count:0},l.inclusive[d]&&(o[n].time+=l.inclusive[d]),l.counts[d]&&(o[n].count+=l.counts[d])}}var p=[];for(n in o)o[n].time>=r&&p.push(o[n]);return p.sort((function(e,t){return t.time-e.time})),p}function u(e){var t={},n=Object.keys(e.writes),r=i({},e.exclusive,e.inclusive);for(var o in r){for(var s=!1,a=0;a<n.length;a++)if(0===n[a].indexOf(o)){s=!0;break}e.created[o]&&(s=!0),!s&&e.counts[o]>0&&(t[o]=!0)}return t}var d={getExclusiveSummary:l,getInclusiveSummary:c,getDOMSummary:a,getTotalTime:s};t.exports=d},{24:24}],57:[function(e,t,n){"use strict";var i=e(39),r=e(24),o=e(117),s="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a={key:!0,ref:!0,__self:!0,__source:!0},l=function(e,t,n,i,r,a,l){var c={$$typeof:s,type:e,key:t,ref:n,props:l,_owner:a,_store:{}};return o?(Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r})):(c._store.validated=!1,c._self=i,c._source=r),Object.freeze(c.props),Object.freeze(c),c};l.createElement=function(e,t,n){var r,o={},s=null,c=null,u=null,d=null;if(null!=t)for(r in c=void 0===t.ref?null:t.ref,s=void 0===t.key?null:""+t.key,u=void 0===t.__self?null:t.__self,d=void 0===t.__source?null:t.__source,t)t.hasOwnProperty(r)&&!a.hasOwnProperty(r)&&(o[r]=t[r]);var h=arguments.length-2;if(1===h)o.children=n;else if(h>1){for(var p=Array(h),f=0;f<h;f++)p[f]=arguments[f+2];o.children=p}if(e&&e.defaultProps){var g=e.defaultProps;for(r in g)void 0===o[r]&&(o[r]=g[r])}return l(e,s,c,u,d,i.current,o)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceKey=function(e,t){return l(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},l.cloneAndReplaceProps=function(e,t){var n=l(e.type,e.key,e.ref,e._self,e._source,e._owner,t);return n._store.validated=e._store.validated,n},l.cloneElement=function(e,t,n){var o,s=r({},e.props),c=e.key,u=e.ref,d=e._self,h=e._source,p=e._owner;if(null!=t)for(o in void 0!==t.ref&&(u=t.ref,p=i.current),void 0!==t.key&&(c=""+t.key),t)t.hasOwnProperty(o)&&!a.hasOwnProperty(o)&&(s[o]=t[o]);var f=arguments.length-2;if(1===f)s.children=n;else if(f>1){for(var g=Array(f),m=0;m<f;m++)g[m]=arguments[m+2];s.children=g}return l(e.type,c,u,d,h,p,s)},l.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},t.exports=l},{117:117,24:24,39:39}],58:[function(e,t,n){"use strict";var i=e(57),r=e(81),o=e(80),s=e(39),a=e(117),l=e(129),c=e(161),u=e(173);function d(){if(s.current){var e=s.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}var h={},p={};function f(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=g("uniqueKey",e,t);null!==n&&u(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s%s',n.parentOrOwner||"",n.childOwner||"",n.url||"")}}function g(e,t,n){var i=d();if(!i){var r="string"==typeof n?n:n.displayName||n.name;r&&(i=" Check the top-level render call using <"+r+">.")}var o=h[e]||(h[e]={});if(o[i])return null;o[i]=!0;var a={parentOrOwner:i,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==s.current&&(a.childOwner=" It was passed a child from "+t._owner.getName()+"."),a}function m(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];i.isValidElement(r)&&f(r,t)}else if(i.isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var o=l(e);if(o&&o!==e.entries)for(var s,a=o.call(e);!(s=a.next()).done;)i.isValidElement(s.value)&&f(s.value,t)}}function v(e,t,n,i){for(var r in t)if(t.hasOwnProperty(r)){var s;try{"function"!=typeof t[r]&&c(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e||"React class",o[i],r),s=t[r](n,r,e,i)}catch(e){s=e}if(u(!s||s instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",e||"React class",o[i],r,typeof s),s instanceof Error&&!(s.message in p)){p[s.message]=!0;var a=d();u(!1,"Failed propType: %s%s",s.message,a)}}}function S(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name;t.propTypes&&v(n,t.propTypes,e.props,r.prop),"function"==typeof t.getDefaultProps&&u(t.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var y={createElement:function(e,t,n){var r="string"==typeof e||"function"==typeof e;u(r,"React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).%s",d());var o=i.createElement.apply(this,arguments);if(null==o)return o;if(r)for(var s=2;s<arguments.length;s++)m(arguments[s],e);return S(o),o},createFactory:function(e){var t=y.createElement.bind(null,e);return t.type=e,a&&Object.defineProperty(t,"type",{enumerable:!1,get:function(){return u(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},cloneElement:function(e,t,n){for(var r=i.cloneElement.apply(this,arguments),o=2;o<arguments.length;o++)m(arguments[o],r.type);return S(r),r}};t.exports=y},{117:117,129:129,161:161,173:173,39:39,57:57,80:80,81:81}],59:[function(e,t,n){"use strict";var i,r=e(57),o=e(60),s=e(84),a={injectEmptyComponent:function(e){i=r.createElement(e)}},l=function(e){this._currentElement=null,this._rootNodeID=null,this._renderedComponent=e(i)};e(24)(l.prototype,{construct:function(e){},mountComponent:function(e,t,n){return o.registerNullComponentID(e),this._rootNodeID=e,s.mountComponent(this._renderedComponent,e,t,n)},receiveComponent:function(){},unmountComponent:function(e,t,n){s.unmountComponent(this._renderedComponent),o.deregisterNullComponentID(this._rootNodeID),this._rootNodeID=null,this._renderedComponent=null}}),l.injection=a,t.exports=l},{24:24,57:57,60:60,84:84}],60:[function(e,t,n){"use strict";var i={};function r(e){return!!i[e]}function o(e){i[e]=!0}function s(e){delete i[e]}var a={isNullComponentID:r,registerNullComponentID:o,deregisterNullComponentID:s};t.exports=a},{}],61:[function(e,t,n){"use strict";var i=null;function r(e,t,n,r){try{return t(n,r)}catch(e){return void(null===i&&(i=e))}}var o={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(i){var e=i;throw i=null,e}}};if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var s=document.createElement("react");o.invokeGuardedCallback=function(e,t,n,i){var r=t.bind(null,n,i),o="react-"+e;s.addEventListener(o,r,!1);var a=document.createEvent("Event");a.initEvent(o,!1,!1),s.dispatchEvent(a),s.removeEventListener(o,r,!1)}}t.exports=o},{}],62:[function(e,t,n){"use strict";var i=e(16);function r(e){i.enqueueEvents(e),i.processEventQueue(!1)}var o={handleTopLevel:function(e,t,n,o,s){r(i.extractEvents(e,t,n,o,s))}};t.exports=o},{16:16}],63:[function(e,t,n){"use strict";var i=e(146),r=e(147),o=e(25),s=e(67),a=e(72),l=e(96),c=e(24),u=e(128),d=e(158);function h(e){var t=a.getID(e),n=s.getReactRootIDFromNodeID(t),i=a.findReactContainerForID(n);return a.getFirstReactDOM(i)}function p(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function f(e){g(e)}function g(e){for(var t=a.getFirstReactDOM(u(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=h(n);for(var i=0;i<e.ancestors.length;i++){t=e.ancestors[i];var r=a.getID(t)||"";v._handleTopLevel(e.topLevelType,t,r,e.nativeEvent,u(e.nativeEvent))}}function m(e){e(d(window))}c(p.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),o.addPoolingTo(p,o.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:r.canUseDOM?window:null,setHandleTopLevel:function(e){v._handleTopLevel=e},setEnabled:function(e){v._enabled=!!e},isEnabled:function(){return v._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?i.listen(r,t,v.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?i.capture(r,t,v.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=m.bind(null,e);i.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(v._enabled){var n=p.getPooled(e,t);try{l.batchedUpdates(f,n)}finally{p.release(n)}}}};t.exports=v},{128:128,146:146,147:147,158:158,24:24,25:25,67:67,72:72,96:96}],64:[function(e,t,n){"use strict";var i=e(32),r=e(57),o=e(153),s=e(161),a=e(173),l=/^\d+$/,c=!1,u={create:function(e){if("object"!=typeof e||!e||Array.isArray(e))return a(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return a(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;1===e.nodeType&&s(!1,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)!c&&l.test(n)&&(a(!1,"React.addons.createFragment(...): Child objects should have non-numeric keys so ordering is preserved."),c=!0),i.mapIntoWithKeyPrefixInternal(e[n],t,n,o.thatReturnsArgument);return t}};t.exports=u},{153:153,161:161,173:173,32:32,57:57}],65:[function(e,t,n){"use strict";var i=e(10),r=e(16),o=e(36),s=e(33),a=e(59),l=e(28),c=e(75),u=e(78),d=e(86),h=e(96),p={Component:o.injection,Class:s.injection,DOMProperty:i.injection,EmptyComponent:a.injection,EventPluginHub:r.injection,EventEmitter:l.injection,NativeComponent:c.injection,Perf:u.injection,RootIndex:d.injection,Updates:h.injection};t.exports=p},{10:10,16:16,28:28,33:33,36:36,59:59,75:75,78:78,86:86,96:96}],66:[function(e,t,n){"use strict";var i=e(49),r=e(150),o=e(155),s=e(156);function a(e){return r(document.documentElement,e)}var l={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:l.hasSelectionCapabilities(e)?l.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,i=e.selectionRange;t!==n&&a(n)&&(l.hasSelectionCapabilities(n)&&l.setSelection(n,i),o(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=i.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else i.setOffsets(e,t)}};t.exports=l},{150:150,155:155,156:156,49:49}],67:[function(e,t,n){"use strict";var i=e(86),r=e(161),o=".",s=o.length,a=1e4;function l(e){return o+e.toString(36)}function c(e,t){return e.charAt(t)===o||t===e.length}function u(e){return""===e||e.charAt(0)===o&&e.charAt(e.length-1)!==o}function d(e,t){return 0===t.indexOf(e)&&c(t,e.length)}function h(e){return e?e.substr(0,e.lastIndexOf(o)):""}function p(e,t){if(u(e)&&u(t)||r(!1,"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t),d(e,t)||r(!1,"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,t),e===t)return e;var n;for(n=e.length+s;n<t.length&&!c(t,n);n++);return t.substr(0,n)}function f(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var i=0,o=0;o<=n;o++)if(c(e,o)&&c(t,o))i=o;else if(e.charAt(o)!==t.charAt(o))break;var s=e.substr(0,i);return u(s)||r(!1,"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,s),s}function g(e,t,n,i,o,s){(e=e||"")===(t=t||"")&&r(!1,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e);var l=d(t,e);l||d(e,t)||r(!1,"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t);for(var c=0,u=l?h:p,f=e;;f=u(f,t)){var g;if(o&&f===e||s&&f===t||(g=n(f,l,i)),!1===g||f===t)break;c++<a||r(!1,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,t,f)}}var m={createReactRootID:function(){return l(i.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===o&&e.length>1){var t=e.indexOf(o,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,i,r){var o=f(e,t);o!==e&&g(e,o,n,i,!1,!0),o!==t&&g(o,t,n,r,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(g("",e,t,n,!0,!1),g(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(g("",e,t,n,!0,!0),g(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){g("",e,t,n,!0,!1)},getFirstCommonAncestorID:f,_getNextDescendantID:p,isAncestorIDOf:d,SEPARATOR:o};t.exports=m},{161:161,86:86}],68:[function(e,t,n){"use strict";var i={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};t.exports=i},{}],69:[function(e,t,n){"use strict";var i=e(32),r=e(34),o=e(33),s=e(43),a=e(57),l=e(58),c=e(82),u=e(97),d=e(24),h=e(135),p=a.createElement,f=a.createFactory,g=a.cloneElement;p=l.createElement,f=l.createFactory,g=l.cloneElement;var m={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:h},Component:r,createElement:p,cloneElement:g,isValidElement:a.isValidElement,PropTypes:c,createClass:o.createClass,createFactory:f,createMixin:function(e){return e},DOM:s,version:u,__spread:d};t.exports=m},{135:135,24:24,32:32,33:33,34:34,43:43,57:57,58:58,82:82,97:97}],70:[function(e,t,n){"use strict";var i=e(26);function r(e,t){this.value=e,this.requestChange=t}function o(e){var t={value:void 0===e?i.PropTypes.any.isRequired:e.isRequired,requestChange:i.PropTypes.func.isRequired};return i.PropTypes.shape(t)}r.PropTypes={link:o},t.exports=r},{26:26}],71:[function(e,t,n){"use strict";var i=e(116),r=/\/?>/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=i(e);return e.replace(r," "+o.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),i(e)===n}};t.exports=o},{116:116}],72:[function(e,t,n){"use strict";var i=e(10),r=e(28),o=e(39),s=e(44),a=e(57),l=e(60),c=e(67),u=e(68),d=e(71),h=e(78),p=e(84),f=e(95),g=e(96),m=e(24),v=e(154),S=e(150),y=e(132),b=e(161),w=e(138),C=e(141),x=e(144),D=e(173),E=i.ID_ATTRIBUTE_NAME,T={},P=1,I=9,A=11,M="__ReactMount_ownerDocument$"+Math.random().toString(36).slice(2),k={},L={},R={},_=[];function O(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i++)if(e.charAt(i)!==t.charAt(i))return i;return e.length===t.length?-1:n}function V(e){return e?e.nodeType===I?e.documentElement:e.firstChild:null}function N(e){var t=V(e);return t&&ee.getID(t)}function j(e){var t=B(e);if(t)if(T.hasOwnProperty(t)){var n=T[t];n!==e&&(G(n,t)&&b(!1,"ReactMount: Two valid but unequal nodes with the same `%s`: %s",E,t),T[t]=e)}else T[t]=e;return t}function B(e){return e&&e.getAttribute&&e.getAttribute(E)||""}function F(e,t){var n=B(e);n!==t&&delete T[n],e.setAttribute(E,t),T[t]=e}function U(e){return T.hasOwnProperty(e)&&G(T[e],e)||(T[e]=ee.findReactNodeByID(e)),T[e]}function H(e){var t=u.get(e)._rootNodeID;return l.isNullComponentID(t)?null:(T.hasOwnProperty(t)&&G(T[t],t)||(T[t]=ee.findReactNodeByID(t)),T[t])}function G(e,t){if(e){B(e)!==t&&b(!1,"ReactMount: Unexpected modification of `%s`",E);var n=ee.findReactContainerForID(t);if(n&&S(n,e))return!0}return!1}function W(e){delete T[e]}var z=null;function q(e){var t=T[e];if(!t||!G(t,e))return!1;z=t}function Y(e){z=null,c.traverseAncestors(e,q);var t=z;return z=null,t}function K(e,t,n,i,r,o){s.useCreateElement&&(o=m({},o),n.nodeType===I?o[M]=n:o[M]=n.ownerDocument),o===v&&(o={});var a=n.nodeName.toLowerCase();o[x.ancestorInfoContextKey]=x.updatedAncestorInfo(null,a,null);var l=p.mountComponent(e,t,i,o);e._renderedComponent._topLevelWrapper=e,ee._mountImageIntoNode(l,n,r,i)}function X(e,t,n,i,r){var o=g.ReactReconcileTransaction.getPooled(i);o.perform(K,null,e,t,n,o,i,r),g.ReactReconcileTransaction.release(o)}function Z(e,t){for(p.unmountComponent(e),t.nodeType===I&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function Q(e){var t=N(e);return!!t&&t!==c.getReactRootIDFromNodeID(t)}function $(e){for(;e&&e.parentNode!==e;e=e.parentNode)if(1===e.nodeType){var t=B(e);if(t){var n,i=c.getReactRootIDFromNodeID(t),r=e;do{if(n=B(r),null==(r=r.parentNode))return null}while(n!==i);if(r===L[i])return e}}return null}var J=function(){};J.prototype.isReactComponent={},J.displayName="TopLevelWrapper",J.prototype.render=function(){return this.props};var ee={TopLevelWrapper:J,_instancesByReactRootID:k,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,i){return ee.scrollMonitor(n,(function(){f.enqueueElementInternal(e,t),i&&f.enqueueCallbackInternal(e,i)})),R[N(n)]=V(n),e},_registerComponent:function(e,t){(!t||t.nodeType!==P&&t.nodeType!==I&&t.nodeType!==A)&&b(!1,"_registerComponent(...): Target container is not a DOM element."),r.ensureScrollValueMonitoring();var n=ee.registerContainer(t);return k[n]=e,n},_renderNewRootComponent:function(e,t,n,i){D(null==o.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",o.current&&o.current.getName()||"ReactCompositeComponent");var r=y(e,null),s=ee._registerComponent(r,t);return g.batchedUpdates(X,r,s,t,n,i),R[s]=V(t),r},renderSubtreeIntoContainer:function(e,t,n,i){return(null==e||null==e._reactInternalInstance)&&b(!1,"parentComponent must be a valid React Component"),ee._renderSubtreeIntoContainer(e,t,n,i)},_renderSubtreeIntoContainer:function(e,t,n,i){a.isValidElement(t)||b(!1,"ReactDOM.render(): Invalid component element.%s","string"==typeof t?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":"function"==typeof t?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":""),D(!n||!n.tagName||"BODY"!==n.tagName.toUpperCase(),"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");var r=new a(J,null,null,null,null,null,t),o=k[N(n)];if(o){var s=o._currentElement.props;if(C(s,t)){var l=o._renderedComponent.getPublicInstance(),c=i&&function(){i.call(l)};return ee._updateRootComponent(o,r,n,c),l}ee.unmountComponentAtNode(n)}var u=V(n),d=u&&!!B(u),h=Q(n);if(D(!h,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),!d||u.nextSibling)for(var p=u;p;){if(B(p)){D(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.");break}p=p.nextSibling}var f=d&&!o&&!h,g=ee._renderNewRootComponent(r,n,f,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):v)._renderedComponent.getPublicInstance();return i&&i.call(g),g},render:function(e,t,n){return ee._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var t=N(e);return t&&(t=c.getReactRootIDFromNodeID(t)),t||(t=c.createReactRootID()),L[t]=e,t},unmountComponentAtNode:function(e){D(null==o.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",o.current&&o.current.getName()||"ReactCompositeComponent"),(!e||e.nodeType!==P&&e.nodeType!==I&&e.nodeType!==A)&&b(!1,"unmountComponentAtNode(...): Target container is not a DOM element.");var t=N(e),n=k[t];if(!n){var i=Q(e),r=B(e),s=r&&r===c.getReactRootIDFromNodeID(r);return D(!i,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",s?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1}return g.batchedUpdates(Z,n,e),delete k[t],delete L[t],delete R[t],!0},findReactContainerForID:function(e){var t=c.getReactRootIDFromNodeID(e),n=L[t],i=R[t];if(i&&i.parentNode!==n){D(B(i)===t,"ReactMount: Root element ID differed from reactRootID.");var r=n.firstChild;r&&t===B(r)?R[t]=r:D(!1,"ReactMount: Root element has been removed from its original container. New container: %s",i.parentNode)}return n},findReactNodeByID:function(e){var t=ee.findReactContainerForID(e);return ee.findComponentRoot(t,e)},getFirstReactDOM:function(e){return $(e)},findComponentRoot:function(e,t){var n=_,i=0,r=Y(t)||e;for(D(null!=r,"React can't find the root component node for data-reactid value `%s`. If you're seeing this message, it probably means that you've loaded two copies of React on the page. At this time, only a single copy of React can be loaded at a time.",t),n[0]=r.firstChild,n.length=1;i<n.length;){for(var o,s=n[i++];s;){var a=ee.getID(s);a?t===a?o=s:c.isAncestorIDOf(a,t)&&(n.length=i=0,n.push(s.firstChild)):n.push(s.firstChild),s=s.nextSibling}if(o)return n.length=0,o}n.length=0,b(!1,"findComponentRoot(..., %s): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",t,ee.getID(e))},_mountImageIntoNode:function(e,t,n,i){if((!t||t.nodeType!==P&&t.nodeType!==I&&t.nodeType!==A)&&b(!1,"mountComponentIntoNode(...): Target container is not valid."),n){var r=V(t);if(d.canReuseMarkup(e,r))return;var o=r.getAttribute(d.CHECKSUM_ATTR_NAME);r.removeAttribute(d.CHECKSUM_ATTR_NAME);var s=r.outerHTML;r.setAttribute(d.CHECKSUM_ATTR_NAME,o);var a,l=e;t.nodeType===P?((a=document.createElement("div")).innerHTML=e,l=a.innerHTML):(a=document.createElement("iframe"),document.body.appendChild(a),a.contentDocument.write(e),l=a.contentDocument.documentElement.outerHTML,document.body.removeChild(a));var c=O(l,s),u=" (client) "+l.substring(c-20,c+20)+"\n (server) "+s.substring(c-20,c+20);t.nodeType===I&&b(!1,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s",u),D(!1,"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\n%s",u)}if(t.nodeType===I&&b(!1,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See ReactDOMServer.renderToString() for server rendering."),i.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);t.appendChild(e)}else w(t,e)},ownerDocumentContextKey:M,getReactRootID:N,getID:j,setID:F,getNode:U,getNodeFromInstance:H,isValid:G,purgeID:W};h.measureMethods(ee,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),t.exports=ee},{10:10,132:132,138:138,141:141,144:144,150:150,154:154,161:161,173:173,24:24,28:28,39:39,44:44,57:57,60:60,67:67,68:68,71:71,78:78,84:84,95:95,96:96}],73:[function(e,t,n){"use strict";var i=e(36),r=e(74),o=e(39),s=e(84),a=e(31),l=e(123),c=0,u=[],d=[];function h(e,t,n){u.push({parentID:e,parentNode:null,type:r.INSERT_MARKUP,markupIndex:d.push(t)-1,content:null,fromIndex:null,toIndex:n})}function p(e,t,n){u.push({parentID:e,parentNode:null,type:r.MOVE_EXISTING,markupIndex:null,content:null,fromIndex:t,toIndex:n})}function f(e,t){u.push({parentID:e,parentNode:null,type:r.REMOVE_NODE,markupIndex:null,content:null,fromIndex:t,toIndex:null})}function g(e,t){u.push({parentID:e,parentNode:null,type:r.SET_MARKUP,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function m(e,t){u.push({parentID:e,parentNode:null,type:r.TEXT_CONTENT,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function v(){u.length&&(i.processChildrenUpdates(u,d),S())}function S(){u.length=0,d.length=0}var y={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){if(this._currentElement)try{return o.current=this._currentElement._owner,a.instantiateChildren(e,t,n)}finally{o.current=null}return a.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,i){var r;if(this._currentElement){try{o.current=this._currentElement._owner,r=l(t)}finally{o.current=null}return a.updateChildren(e,r,n,i)}return r=l(t),a.updateChildren(e,r,n,i)},mountChildren:function(e,t,n){var i=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=i;var r=[],o=0;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a],c=this._rootNodeID+a,u=s.mountComponent(l,c,t,n);l._mountIndex=o++,r.push(u)}return r},updateTextContent:function(e){c++;var t=!0;try{var n=this._renderedChildren;for(var i in a.unmountChildren(n),n)n.hasOwnProperty(i)&&this._unmountChild(n[i]);this.setTextContent(e),t=!1}finally{--c||(t?S():v())}},updateMarkup:function(e){c++;var t=!0;try{var n=this._renderedChildren;for(var i in a.unmountChildren(n),n)n.hasOwnProperty(i)&&this._unmountChildByName(n[i],i);this.setMarkup(e),t=!1}finally{--c||(t?S():v())}},updateChildren:function(e,t,n){c++;var i=!0;try{this._updateChildren(e,t,n),i=!1}finally{--c||(i?S():v())}},_updateChildren:function(e,t,n){var i=this._renderedChildren,r=this._reconcilerUpdateChildren(i,e,t,n);if(this._renderedChildren=r,r||i){var o,s=0,a=0;for(o in r)if(r.hasOwnProperty(o)){var l=i&&i[o],c=r[o];l===c?(this.moveChild(l,a,s),s=Math.max(l._mountIndex,s),l._mountIndex=a):(l&&(s=Math.max(l._mountIndex,s),this._unmountChild(l)),this._mountChildByNameAtIndex(c,o,a,t,n)),a++}for(o in i)!i.hasOwnProperty(o)||r&&r.hasOwnProperty(o)||this._unmountChild(i[o])}},unmountChildren:function(){var e=this._renderedChildren;a.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&p(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){h(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){f(this._rootNodeID,e._mountIndex)},setTextContent:function(e){m(this._rootNodeID,e)},setMarkup:function(e){g(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,i,r){var o=this._rootNodeID+t,a=s.mountComponent(e,o,i,r);e._mountIndex=n,this.createChild(e,a)},_unmountChild:function(e){this.removeChild(e),e._mountIndex=null}}};t.exports=y},{123:123,31:31,36:36,39:39,74:74,84:84}],74:[function(e,t,n){"use strict";var i=e(165)({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});t.exports=i},{165:165}],75:[function(e,t,n){"use strict";var i=e(24),r=e(161),o=null,s=null,a={},l=null;function c(e){if("function"==typeof e.type)return e.type;var t=e.type,n=a[t];return null==n&&(a[t]=n=o(t)),n}function u(e){return s||r(!1,"There is no registered component for the tag %s",e.type),new s(e.type,e.props)}function d(e){return new l(e)}function h(e){return e instanceof l}var p={getComponentClassForElement:c,createInternalComponent:u,createInstanceForText:d,isTextComponent:h,injection:{injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){l=e},injectComponentClasses:function(e){i(a,e)}}};t.exports=p},{161:161,24:24}],76:[function(e,t,n){"use strict";var i=e(173);function r(e,t){i(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor&&e.constructor.displayName||"")}var o={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")},enqueueSetProps:function(e,t){r(e,"setProps")},enqueueReplaceProps:function(e,t){r(e,"replaceProps")}};t.exports=o},{173:173}],77:[function(e,t,n){"use strict";var i=e(161),r={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){r.isValidOwner(n)||i(!1,"addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r.isValidOwner(n)||i(!1,"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};t.exports=r},{161:161}],78:[function(e,t,n){"use strict";var i={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=i.measure(t,n[r],e[r]))},measure:function(e,t,n){var r=null,o=function(){return i.enableMeasure?(r||(r=i.storedMeasure(e,t,n)),r.apply(this,arguments)):n.apply(this,arguments)};return o.displayName=e+"_"+t,o},injection:{injectMeasure:function(e){i.storedMeasure=e}}};function r(e,t,n){return n}t.exports=i},{}],79:[function(e,t,n){"use strict";var i=e(24),r=e(153),o=e(164);function s(e){return function(t,n,i){t.hasOwnProperty(n)?t[n]=e(t[n],i):t[n]=i}}var a=s((function(e,t){return i({},t,e)})),l={children:r,className:s(o),style:a};function c(e,t){for(var n in t)if(t.hasOwnProperty(n)){var i=l[n];i&&l.hasOwnProperty(n)?i(e,n,t[n]):e.hasOwnProperty(n)||(e[n]=t[n])}return e}var u={mergeProps:function(e,t){return c(i({},e),t)}};t.exports=u},{153:153,164:164,24:24}],80:[function(e,t,n){"use strict";var i={};i={prop:"prop",context:"context",childContext:"child context"},t.exports=i},{}],81:[function(e,t,n){"use strict";var i=e(165)({prop:null,context:null,childContext:null});t.exports=i},{165:165}],82:[function(e,t,n){"use strict";var i=e(57),r=e(80),o=e(153),s=e(129),a="<<anonymous>>",l={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),any:d(),arrayOf:h,element:p(),instanceOf:f,node:S(),objectOf:m,oneOf:g,oneOfType:v,shape:y};function c(e){function t(t,n,i,o,s,l){if(o=o||a,l=l||i,null==n[i]){var c=r[s];return t?new Error("Required "+c+" `"+l+"` was not specified in `"+o+"`."):null}return e(n,i,o,s,l)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function u(e){function t(t,n,i,o,s){var a=t[n];if(w(a)!==e){var l=r[o],c=C(a);return new Error("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected `"+e+"`.")}return null}return c(t)}function d(){return c(o.thatReturns(null))}function h(e){function t(t,n,i,o,s){var a=t[n];if(!Array.isArray(a)){var l=r[o],c=w(a);return new Error("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an array.")}for(var u=0;u<a.length;u++){var d=e(a,u,i,o,s+"["+u+"]");if(d instanceof Error)return d}return null}return c(t)}function p(){function e(e,t,n,o,s){if(!i.isValidElement(e[t])){var a=r[o];return new Error("Invalid "+a+" `"+s+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return c(e)}function f(e){function t(t,n,i,o,s){if(!(t[n]instanceof e)){var l=r[o],c=e.name||a,u=x(t[n]);return new Error("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+i+"`, expected instance of `"+c+"`.")}return null}return c(t)}function g(e){if(!Array.isArray(e))return c((function(){return new Error("Invalid argument supplied to oneOf, expected an instance of array.")}));function t(t,n,i,o,s){for(var a=t[n],l=0;l<e.length;l++)if(a===e[l])return null;var c=r[o],u=JSON.stringify(e);return new Error("Invalid "+c+" `"+s+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+u+".")}return c(t)}function m(e){function t(t,n,i,o,s){var a=t[n],l=w(a);if("object"!==l){var c=r[o];return new Error("Invalid "+c+" `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected an object.")}for(var u in a)if(a.hasOwnProperty(u)){var d=e(a,u,i,o,s+"."+u);if(d instanceof Error)return d}return null}return c(t)}function v(e){if(!Array.isArray(e))return c((function(){return new Error("Invalid argument supplied to oneOfType, expected an instance of array.")}));function t(t,n,i,o,s){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,o,s))return null;var l=r[o];return new Error("Invalid "+l+" `"+s+"` supplied to `"+i+"`.")}return c(t)}function S(){function e(e,t,n,i,o){if(!b(e[t])){var s=r[i];return new Error("Invalid "+s+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return c(e)}function y(e){function t(t,n,i,o,s){var a=t[n],l=w(a);if("object"!==l){var c=r[o];return new Error("Invalid "+c+" `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.")}for(var u in e){var d=e[u];if(d){var h=d(a,u,i,o,s+"."+u);if(h)return h}}return null}return c(t)}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||i.isValidElement(e))return!0;var t=s(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function w(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function C(e){var t=w(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){return e.constructor&&e.constructor.name?e.constructor.name:"<<anonymous>>"}t.exports=l},{129:129,153:153,57:57,80:80}],83:[function(e,t,n){"use strict";var i=e(6),r=e(25),o=e(28),s=e(44),a=e(66),l=e(113),c=e(24),u=[{initialize:a.getSelectionInformation,close:a.restoreSelection},{initialize:function(){var e=o.isEnabled();return o.setEnabled(!1),e},close:function(e){o.setEnabled(e)}},{initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}}];function d(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=!e&&s.useCreateElement}var h={getTransactionWrappers:function(){return u},getReactMountReady:function(){return this.reactMountReady},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};c(d.prototype,l.Mixin,h),r.addPoolingTo(d),t.exports=d},{113:113,24:24,25:25,28:28,44:44,6:6,66:66}],84:[function(e,t,n){"use strict";var i=e(85);function r(){i.attachRefs(this,this._currentElement)}var o={mountComponent:function(e,t,n,i){var o=e.mountComponent(t,n,i);return e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e),o},unmountComponent:function(e){i.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,o){var s=e._currentElement;if(t!==s||o!==e._context){var a=i.shouldUpdateRefs(s,t);a&&i.detachRefs(e,s),e.receiveComponent(t,n,o),a&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};t.exports=o},{85:85}],85:[function(e,t,n){"use strict";var i=e(77),r={};function o(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function s(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}r.attachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&o(n,e,t._owner)}},r.shouldUpdateRefs=function(e,t){return null===e||!1===e||null===t||!1===t||t._owner!==e._owner||t.ref!==e.ref},r.detachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&s(n,e,t._owner)}},t.exports=r},{77:77}],86:[function(e,t,n){"use strict";var i={createReactRootIndex:null,injection:{injectCreateReactRootIndex:function(e){i.createReactRootIndex=e}}};t.exports=i},{}],87:[function(e,t,n){"use strict";var i={isBatchingUpdates:!1,batchedUpdates:function(e){}};t.exports=i},{}],88:[function(e,t,n){"use strict";var i=e(53),r=e(57),o=e(67),s=e(71),a=e(87),l=e(89),c=e(96),u=e(154),d=e(132),h=e(161);function p(e){var t;r.isValidElement(e)||h(!1,"renderToString(): You must pass a valid ReactElement.");try{c.injection.injectBatchingStrategy(a);var n=o.createReactRootID();return(t=l.getPooled(!1)).perform((function(){var i=d(e,null).mountComponent(n,t,u);return s.addChecksumToMarkup(i)}),null)}finally{l.release(t),c.injection.injectBatchingStrategy(i)}}function f(e){var t;r.isValidElement(e)||h(!1,"renderToStaticMarkup(): You must pass a valid ReactElement.");try{c.injection.injectBatchingStrategy(a);var n=o.createReactRootID();return(t=l.getPooled(!0)).perform((function(){return d(e,null).mountComponent(n,t,u)}),null)}finally{l.release(t),c.injection.injectBatchingStrategy(i)}}t.exports={renderToString:p,renderToStaticMarkup:f}},{132:132,154:154,161:161,53:53,57:57,67:67,71:71,87:87,89:89,96:96}],89:[function(e,t,n){"use strict";var i=e(25),r=e(6),o=e(113),s=e(24),a=[{initialize:function(){this.reactMountReady.reset()},close:e(153)}];function l(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=r.getPooled(null),this.useCreateElement=!1}var c={getTransactionWrappers:function(){return a},getReactMountReady:function(){return this.reactMountReady},destructor:function(){r.release(this.reactMountReady),this.reactMountReady=null}};s(l.prototype,o.Mixin,c),i.addPoolingTo(l),t.exports=l},{113:113,153:153,24:24,25:25,6:6}],90:[function(e,t,n){"use strict";var i={createStateSetter:function(e,t){return function(n,i,r,o,s,a){var l=t.call(e,n,i,r,o,s,a);l&&e.setState(l)}},createStateKeySetter:function(e,t){var n=e.__keySetters||(e.__keySetters={});return n[t]||(n[t]=r(e,t))}};function r(e,t){var n={};return function(i){n[t]=i,e.setState(n)}}i.Mixin={createStateSetter:function(e){return i.createStateSetter(this,e)},createStateKeySetter:function(e){return i.createStateKeySetter(this,e)}},t.exports=i},{}],91:[function(e,t,n){"use strict";var i=e(15),r=e(16),o=e(19),s=e(26),a=e(40),l=e(57),c=e(28),u=e(38),d=e(67),h=e(68),p=e(72),f=e(96),g=e(105),m=e(24),v=e(154),S=e(122),y=e(161),b=i.topLevelTypes;function w(e){}function C(e,t){if(!e||!e.getPublicInstance)return[];var n=e.getPublicInstance(),i=t(n)?[n]:[],r=e._currentElement;if(x.isDOMComponent(n)){var o,s=e._renderedChildren;for(o in s)s.hasOwnProperty(o)&&(i=i.concat(C(s[o],t)))}else l.isValidElement(r)&&"function"==typeof r.type&&(i=i.concat(C(e._renderedComponent,t)));return i}var x={renderIntoDocument:function(e){var t=document.createElement("div");return a.render(e,t)},isElement:function(e){return l.isValidElement(e)},isElementOfType:function(e,t){return l.isValidElement(e)&&e.type===t},isDOMComponent:function(e){return!(!e||1!==e.nodeType||!e.tagName)},isDOMComponentElement:function(e){return!!(e&&l.isValidElement(e)&&e.tagName)},isCompositeComponent:function(e){return!x.isDOMComponent(e)&&null!=e&&"function"==typeof e.render&&"function"==typeof e.setState},isCompositeComponentWithType:function(e,t){return!!x.isCompositeComponent(e)&&h.get(e)._currentElement.type===t},isCompositeComponentElement:function(e){if(!l.isValidElement(e))return!1;var t=e.type.prototype;return"function"==typeof t.render&&"function"==typeof t.setState},isCompositeComponentElementWithType:function(e,t){var n=h.get(e)._currentElement.type;return!(!x.isCompositeComponentElement(e)||n!==t)},getRenderedChildOfCompositeComponent:function(e){return x.isCompositeComponent(e)?h.get(e)._renderedComponent.getPublicInstance():null},findAllInRenderedTree:function(e,t){return e?(x.isCompositeComponent(e)||y(!1,"findAllInRenderedTree(...): instance must be a composite component"),C(h.get(e),t)):[]},scryRenderedDOMComponentsWithClass:function(e,t){return Array.isArray(t)||(t=t.split(/\s+/)),x.findAllInRenderedTree(e,(function(e){if(x.isDOMComponent(e)){var n=e.className;"string"!=typeof n&&(n=e.getAttribute("class")||"");var i=n.split(/\s+/);return t.every((function(e){return-1!==i.indexOf(e)}))}return!1}))},findRenderedDOMComponentWithClass:function(e,t){var n=x.scryRenderedDOMComponentsWithClass(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for class:"+t);return n[0]},scryRenderedDOMComponentsWithTag:function(e,t){return x.findAllInRenderedTree(e,(function(e){return x.isDOMComponent(e)&&e.tagName.toUpperCase()===t.toUpperCase()}))},findRenderedDOMComponentWithTag:function(e,t){var n=x.scryRenderedDOMComponentsWithTag(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for tag:"+t);return n[0]},scryRenderedComponentsWithType:function(e,t){return x.findAllInRenderedTree(e,(function(e){return x.isCompositeComponentWithType(e,t)}))},findRenderedComponentWithType:function(e,t){var n=x.scryRenderedComponentsWithType(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for componentType:"+t+" (found "+n.length+")");return n[0]},mockComponent:function(e,t){return t=t||e.mockTagName||"div",e.prototype.render.mockImplementation((function(){return s.createElement(t,null,this.props.children)})),this},simulateNativeEventOnNode:function(e,t,n){n.target=t,c.ReactEventListener.dispatchEvent(e,n)},simulateNativeEventOnDOMComponent:function(e,t,n){x.simulateNativeEventOnNode(e,S(t),n)},nativeTouchData:function(e,t){return{touches:[{pageX:e,pageY:t}]}},createRenderer:function(){return new D},Simulate:null,SimulateNative:{}},D=function(){this._instance=null};D.prototype.getRenderOutput=function(){return this._instance&&this._instance._renderedComponent&&this._instance._renderedComponent._renderedOutput||null};var E=function(e){this._renderedOutput=e,this._currentElement=e};E.prototype={mountComponent:function(){},receiveComponent:function(e){this._renderedOutput=e,this._currentElement=e},unmountComponent:function(){},getPublicInstance:function(){return null}};var T=function(){};function P(e){return function(t,n){var i;x.isDOMComponent(t)?i=S(t):t.tagName&&(i=t);var s=c.eventNameDispatchConfigs[e],a=new w;a.target=i;var l=new g(s,p.getID(i),a,i);m(l,n),s.phasedRegistrationNames?o.accumulateTwoPhaseDispatches(l):o.accumulateDirectDispatches(l),f.batchedUpdates((function(){r.enqueueEvents(l),r.processEventQueue(!0)}))}}function I(){var e;for(e in x.Simulate={},c.eventNameDispatchConfigs)x.Simulate[e]=P(e)}m(T.prototype,u.Mixin,{_instantiateReactComponent:function(e){return new E(e)},_replaceNodeWithMarkupByID:function(){},_renderValidatedComponent:u.Mixin._renderValidatedComponentWithoutOwnerOrContext}),D.prototype.render=function(e,t){l.isValidElement(e)||y(!1,"ReactShallowRenderer render(): Invalid component element.%s","function"==typeof e?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":""),"string"==typeof e.type&&y(!1,"ReactShallowRenderer render(): Shallow rendering works only with custom components, not primitives (%s). Instead of calling `.render(el)` and inspecting the rendered output, look at `el.props` directly instead.",e.type),t||(t=v);var n=f.ReactReconcileTransaction.getPooled(!1);this._render(e,n,t),f.ReactReconcileTransaction.release(n)},D.prototype.unmount=function(){this._instance&&this._instance.unmountComponent()},D.prototype._render=function(e,t,n){if(this._instance)this._instance.receiveComponent(e,t,n);else{var i=d.createReactRootID(),r=new T(e.type);r.construct(e),r.mountComponent(i,t,n),this._instance=r}};var A=r.injection.injectEventPluginOrder;r.injection.injectEventPluginOrder=function(){A.apply(this,arguments),I()};var M=r.injection.injectEventPluginsByName;function k(e){return function(t,n){var i=new w(e);m(i,n),x.isDOMComponent(t)?x.simulateNativeEventOnDOMComponent(e,t,i):t.tagName&&x.simulateNativeEventOnNode(e,t,i)}}r.injection.injectEventPluginsByName=function(){M.apply(this,arguments),I()},I(),Object.keys(b).forEach((function(e){var t=0===e.indexOf("top")?e.charAt(3).toLowerCase()+e.substr(4):e;x.SimulateNative[t]=k(e)})),t.exports=x},{105:105,122:122,15:15,154:154,16:16,161:161,19:19,24:24,26:26,28:28,38:38,40:40,57:57,67:67,68:68,72:72,96:96}],92:[function(e,t,n){"use strict";var i=e(123),r={getChildMapping:function(e){return e?i(e):e},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var i,r={},o=[];for(var s in e)t.hasOwnProperty(s)?o.length&&(r[s]=o,o=[]):o.push(s);var a={};for(var l in t){if(r.hasOwnProperty(l))for(i=0;i<r[l].length;i++){var c=r[l][i];a[r[l][i]]=n(c)}a[l]=n(l)}for(i=0;i<o.length;i++)a[o[i]]=n(o[i]);return a}};t.exports=r},{123:123}],93:[function(e,t,n){"use strict";var i=e(147),r={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},o=[];function s(){var e=document.createElement("div").style;for(var t in"AnimationEvent"in window||delete r.animationend.animation,"TransitionEvent"in window||delete r.transitionend.transition,r){var n=r[t];for(var i in n)if(i in e){o.push(n[i]);break}}}function a(e,t,n){e.addEventListener(t,n,!1)}function l(e,t,n){e.removeEventListener(t,n,!1)}i.canUseDOM&&s();var c={addEndEventListener:function(e,t){0!==o.length?o.forEach((function(n){a(e,n,t)})):window.setTimeout(t,0)},removeEndEventListener:function(e,t){0!==o.length&&o.forEach((function(n){l(e,n,t)}))}};t.exports=c},{147:147}],94:[function(e,t,n){"use strict";var i=e(26),r=e(92),o=e(24),s=e(153),a=i.createClass({displayName:"ReactTransitionGroup",propTypes:{component:i.PropTypes.any,childFactory:i.PropTypes.func},getDefaultProps:function(){return{component:"span",childFactory:s.thatReturnsArgument}},getInitialState:function(){return{children:r.getChildMapping(this.props.children)}},componentWillMount:function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},componentDidMount:function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},componentWillReceiveProps:function(e){var t,n=r.getChildMapping(e.children),i=this.state.children;for(t in this.setState({children:r.mergeChildMappings(i,n)}),n){var o=i&&i.hasOwnProperty(t);!n[t]||o||this.currentlyTransitioningKeys[t]||this.keysToEnter.push(t)}for(t in i){var s=n&&n.hasOwnProperty(t);!i[t]||s||this.currentlyTransitioningKeys[t]||this.keysToLeave.push(t)}},componentDidUpdate:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},performAppear:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillAppear?t.componentWillAppear(this._handleDoneAppearing.bind(this,e)):this._handleDoneAppearing(e)},_handleDoneAppearing:function(e){var t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e];var n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||this.performLeave(e)},performEnter:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillEnter?t.componentWillEnter(this._handleDoneEntering.bind(this,e)):this._handleDoneEntering(e)},_handleDoneEntering:function(e){var t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e];var n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||this.performLeave(e)},performLeave:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillLeave?t.componentWillLeave(this._handleDoneLeaving.bind(this,e)):this._handleDoneLeaving(e)},_handleDoneLeaving:function(e){var t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];var n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)?this.performEnter(e):this.setState((function(t){var n=o({},t.children);return delete n[e],{children:n}}))},render:function(){var e=[];for(var t in this.state.children){var n=this.state.children[t];n&&e.push(i.cloneElement(this.props.childFactory(n),{ref:t,key:t}))}return i.createElement(this.props.component,this.props,e)}});t.exports=a},{153:153,24:24,26:26,92:92}],95:[function(e,t,n){"use strict";var i=e(39),r=e(57),o=e(68),s=e(96),a=e(24),l=e(161),c=e(173);function u(e){s.enqueueUpdate(e)}function d(e,t){var n=o.get(e);return n?(c(null==i.current,"%s(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.",t),n):(c(!t,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor.displayName),null)}var h={isMounted:function(e){var t=i.current;null!==t&&(c(t._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0);var n=o.get(e);return!!n&&!!n._renderedComponent},enqueueCallback:function(e,t){"function"!=typeof t&&l(!1,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable.");var n=d(e);if(!n)return null;n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],u(n)},enqueueCallbackInternal:function(e,t){"function"!=typeof t&&l(!1,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],u(e)},enqueueForceUpdate:function(e){var t=d(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,u(t))},enqueueReplaceState:function(e,t){var n=d(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,u(n))},enqueueSetState:function(e,t){var n=d(e,"setState");n&&((n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),u(n))},enqueueSetProps:function(e,t){var n=d(e,"setProps");n&&h.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:function(e,t){var n=e._topLevelWrapper;n||l(!1,"setProps(...): You called `setProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var i=n._pendingElement||n._currentElement,o=i.props,s=a({},o.props,t);n._pendingElement=r.cloneAndReplaceProps(i,r.cloneAndReplaceProps(o,s)),u(n)},enqueueReplaceProps:function(e,t){var n=d(e,"replaceProps");n&&h.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;n||l(!1,"replaceProps(...): You called `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var i=n._pendingElement||n._currentElement,o=i.props;n._pendingElement=r.cloneAndReplaceProps(i,r.cloneAndReplaceProps(o,t)),u(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,u(e)}};t.exports=h},{161:161,173:173,24:24,39:39,57:57,68:68,96:96}],96:[function(e,t,n){"use strict";var i=e(6),r=e(25),o=e(78),s=e(84),a=e(113),l=e(24),c=e(161),u=[],d=i.getPooled(),h=!1,p=null;function f(){x.ReactReconcileTransaction&&p||c(!1,"ReactUpdates: must inject a reconcile transaction class and batching strategy")}var g=[{initialize:function(){this.dirtyComponentsLength=u.length},close:function(){this.dirtyComponentsLength!==u.length?(u.splice(0,this.dirtyComponentsLength),b()):u.length=0}},{initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}}];function m(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=i.getPooled(),this.reconcileTransaction=x.ReactReconcileTransaction.getPooled(!1)}function v(e,t,n,i,r,o){f(),p.batchedUpdates(e,t,n,i,r,o)}function S(e,t){return e._mountOrder-t._mountOrder}function y(e){var t=e.dirtyComponentsLength;t!==u.length&&c(!1,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",t,u.length),u.sort(S);for(var n=0;n<t;n++){var i=u[n],r=i._pendingCallbacks;if(i._pendingCallbacks=null,s.performUpdateIfNecessary(i,e.reconcileTransaction),r)for(var o=0;o<r.length;o++)e.callbackQueue.enqueue(r[o],i.getPublicInstance())}}l(m.prototype,a.Mixin,{getTransactionWrappers:function(){return g},destructor:function(){this.dirtyComponentsLength=null,i.release(this.callbackQueue),this.callbackQueue=null,x.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return a.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),r.addPoolingTo(m);var b=function(){for(;u.length||h;){if(u.length){var e=m.getPooled();e.perform(y,null,e),m.release(e)}if(h){h=!1;var t=d;d=i.getPooled(),t.notifyAll(),i.release(t)}}};function w(e){f(),p.isBatchingUpdates?u.push(e):p.batchedUpdates(w,e)}function C(e,t){p.isBatchingUpdates||c(!1,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."),d.enqueue(e,t),h=!0}var x={ReactReconcileTransaction:null,batchedUpdates:v,enqueueUpdate:w,flushBatchedUpdates:b=o.measure("ReactUpdates","flushBatchedUpdates",b),injection:{injectReconcileTransaction:function(e){e||c(!1,"ReactUpdates: must provide a reconcile transaction class"),x.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e||c(!1,"ReactUpdates: must provide a batching strategy"),"function"!=typeof e.batchedUpdates&&c(!1,"ReactUpdates: must provide a batchedUpdates() function"),"boolean"!=typeof e.isBatchingUpdates&&c(!1,"ReactUpdates: must provide an isBatchingUpdates boolean attribute"),p=e}},asap:C};t.exports=x},{113:113,161:161,24:24,25:25,6:6,78:78,84:84}],97:[function(e,t,n){"use strict";t.exports="0.14.6"},{}],98:[function(e,t,n){"use strict";var i=e(10).injection.MUST_USE_ATTRIBUTE,r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={Properties:{clipPath:i,cx:i,cy:i,d:i,dx:i,dy:i,fill:i,fillOpacity:i,fontFamily:i,fontSize:i,fx:i,fy:i,gradientTransform:i,gradientUnits:i,markerEnd:i,markerMid:i,markerStart:i,offset:i,opacity:i,patternContentUnits:i,patternUnits:i,points:i,preserveAspectRatio:i,r:i,rx:i,ry:i,spreadMethod:i,stopColor:i,stopOpacity:i,stroke:i,strokeDasharray:i,strokeLinecap:i,strokeOpacity:i,strokeWidth:i,textAnchor:i,transform:i,version:i,viewBox:i,x1:i,x2:i,x:i,xlinkActuate:i,xlinkArcrole:i,xlinkHref:i,xlinkRole:i,xlinkShow:i,xlinkTitle:i,xlinkType:i,xmlBase:i,xmlLang:i,xmlSpace:i,y1:i,y2:i,y:i},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space"}};t.exports=o},{10:10}],99:[function(e,t,n){"use strict";var i=e(15),r=e(19),o=e(147),s=e(66),a=e(105),l=e(156),c=e(134),u=e(166),d=e(171),h=i.topLevelTypes,p=o.canUseDOM&&"documentMode"in document&&document.documentMode<=11,f={select:{phasedRegistrationNames:{bubbled:u({onSelect:null}),captured:u({onSelectCapture:null})},dependencies:[h.topBlur,h.topContextMenu,h.topFocus,h.topKeyDown,h.topMouseDown,h.topMouseUp,h.topSelectionChange]}},g=null,m=null,v=null,S=!1,y=!1,b=u({onSelect:null});function w(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function C(e,t){if(S||null==g||g!==l())return null;var n=w(g);if(!v||!d(v,n)){v=n;var i=a.getPooled(f.select,m,e,t);return i.type="select",i.target=g,r.accumulateTwoPhaseDispatches(i),i}return null}var x={eventTypes:f,extractEvents:function(e,t,n,i,r){if(!y)return null;switch(e){case h.topFocus:(c(t)||"true"===t.contentEditable)&&(g=t,m=n,v=null);break;case h.topBlur:g=null,m=null,v=null;break;case h.topMouseDown:S=!0;break;case h.topContextMenu:case h.topMouseUp:return S=!1,C(i,r);case h.topSelectionChange:if(p)break;case h.topKeyDown:case h.topKeyUp:return C(i,r)}return null},didPutListener:function(e,t,n){t===b&&(y=!0)}};t.exports=x},{105:105,134:134,147:147,15:15,156:156,166:166,171:171,19:19,66:66}],100:[function(e,t,n){"use strict";var i=Math.pow(2,53),r={createReactRootIndex:function(){return Math.ceil(Math.random()*i)}};t.exports=r},{}],101:[function(e,t,n){"use strict";var i=e(15),r=e(146),o=e(19),s=e(72),a=e(102),l=e(105),c=e(106),u=e(108),d=e(109),h=e(104),p=e(110),f=e(111),g=e(112),m=e(153),v=e(125),S=e(161),y=e(166),b=i.topLevelTypes,w={abort:{phasedRegistrationNames:{bubbled:y({onAbort:!0}),captured:y({onAbortCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:y({onBlur:!0}),captured:y({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:y({onCanPlay:!0}),captured:y({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:y({onCanPlayThrough:!0}),captured:y({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:y({onClick:!0}),captured:y({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:y({onContextMenu:!0}),captured:y({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:y({onCopy:!0}),captured:y({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:y({onCut:!0}),captured:y({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:y({onDoubleClick:!0}),captured:y({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:y({onDrag:!0}),captured:y({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:y({onDragEnd:!0}),captured:y({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:y({onDragEnter:!0}),captured:y({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:y({onDragExit:!0}),captured:y({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:y({onDragLeave:!0}),captured:y({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:y({onDragOver:!0}),captured:y({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:y({onDragStart:!0}),captured:y({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:y({onDrop:!0}),captured:y({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:y({onDurationChange:!0}),captured:y({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:y({onEmptied:!0}),captured:y({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:y({onEncrypted:!0}),captured:y({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:y({onEnded:!0}),captured:y({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:y({onError:!0}),captured:y({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:y({onFocus:!0}),captured:y({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:y({onInput:!0}),captured:y({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:y({onKeyDown:!0}),captured:y({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:y({onKeyPress:!0}),captured:y({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:y({onKeyUp:!0}),captured:y({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:y({onLoad:!0}),captured:y({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:y({onLoadedData:!0}),captured:y({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:y({onLoadedMetadata:!0}),captured:y({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:y({onLoadStart:!0}),captured:y({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:y({onMouseDown:!0}),captured:y({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:y({onMouseMove:!0}),captured:y({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:y({onMouseOut:!0}),captured:y({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:y({onMouseOver:!0}),captured:y({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:y({onMouseUp:!0}),captured:y({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:y({onPaste:!0}),captured:y({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:y({onPause:!0}),captured:y({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:y({onPlay:!0}),captured:y({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:y({onPlaying:!0}),captured:y({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:y({onProgress:!0}),captured:y({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:y({onRateChange:!0}),captured:y({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:y({onReset:!0}),captured:y({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:y({onScroll:!0}),captured:y({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:y({onSeeked:!0}),captured:y({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:y({onSeeking:!0}),captured:y({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:y({onStalled:!0}),captured:y({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:y({onSubmit:!0}),captured:y({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:y({onSuspend:!0}),captured:y({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:y({onTimeUpdate:!0}),captured:y({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:y({onTouchCancel:!0}),captured:y({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:y({onTouchEnd:!0}),captured:y({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:y({onTouchMove:!0}),captured:y({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:y({onTouchStart:!0}),captured:y({onTouchStartCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:y({onVolumeChange:!0}),captured:y({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:y({onWaiting:!0}),captured:y({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:y({onWheel:!0}),captured:y({onWheelCapture:!0})}}},C={topAbort:w.abort,topBlur:w.blur,topCanPlay:w.canPlay,topCanPlayThrough:w.canPlayThrough,topClick:w.click,topContextMenu:w.contextMenu,topCopy:w.copy,topCut:w.cut,topDoubleClick:w.doubleClick,topDrag:w.drag,topDragEnd:w.dragEnd,topDragEnter:w.dragEnter,topDragExit:w.dragExit,topDragLeave:w.dragLeave,topDragOver:w.dragOver,topDragStart:w.dragStart,topDrop:w.drop,topDurationChange:w.durationChange,topEmptied:w.emptied,topEncrypted:w.encrypted,topEnded:w.ended,topError:w.error,topFocus:w.focus,topInput:w.input,topKeyDown:w.keyDown,topKeyPress:w.keyPress,topKeyUp:w.keyUp,topLoad:w.load,topLoadedData:w.loadedData,topLoadedMetadata:w.loadedMetadata,topLoadStart:w.loadStart,topMouseDown:w.mouseDown,topMouseMove:w.mouseMove,topMouseOut:w.mouseOut,topMouseOver:w.mouseOver,topMouseUp:w.mouseUp,topPaste:w.paste,topPause:w.pause,topPlay:w.play,topPlaying:w.playing,topProgress:w.progress,topRateChange:w.rateChange,topReset:w.reset,topScroll:w.scroll,topSeeked:w.seeked,topSeeking:w.seeking,topStalled:w.stalled,topSubmit:w.submit,topSuspend:w.suspend,topTimeUpdate:w.timeUpdate,topTouchCancel:w.touchCancel,topTouchEnd:w.touchEnd,topTouchMove:w.touchMove,topTouchStart:w.touchStart,topVolumeChange:w.volumeChange,topWaiting:w.waiting,topWheel:w.wheel};for(var x in C)C[x].dependencies=[x];var D=y({onClick:null}),E={},T={eventTypes:w,extractEvents:function(e,t,n,i,r){var s,m=C[e];if(!m)return null;switch(e){case b.topAbort:case b.topCanPlay:case b.topCanPlayThrough:case b.topDurationChange:case b.topEmptied:case b.topEncrypted:case b.topEnded:case b.topError:case b.topInput:case b.topLoad:case b.topLoadedData:case b.topLoadedMetadata:case b.topLoadStart:case b.topPause:case b.topPlay:case b.topPlaying:case b.topProgress:case b.topRateChange:case b.topReset:case b.topSeeked:case b.topSeeking:case b.topStalled:case b.topSubmit:case b.topSuspend:case b.topTimeUpdate:case b.topVolumeChange:case b.topWaiting:s=l;break;case b.topKeyPress:if(0===v(i))return null;case b.topKeyDown:case b.topKeyUp:s=u;break;case b.topBlur:case b.topFocus:s=c;break;case b.topClick:if(2===i.button)return null;case b.topContextMenu:case b.topDoubleClick:case b.topMouseDown:case b.topMouseMove:case b.topMouseOut:case b.topMouseOver:case b.topMouseUp:s=d;break;case b.topDrag:case b.topDragEnd:case b.topDragEnter:case b.topDragExit:case b.topDragLeave:case b.topDragOver:case b.topDragStart:case b.topDrop:s=h;break;case b.topTouchCancel:case b.topTouchEnd:case b.topTouchMove:case b.topTouchStart:s=p;break;case b.topScroll:s=f;break;case b.topWheel:s=g;break;case b.topCopy:case b.topCut:case b.topPaste:s=a}s||S(!1,"SimpleEventPlugin: Unhandled event type, `%s`.",e);var y=s.getPooled(m,n,i,r);return o.accumulateTwoPhaseDispatches(y),y},didPutListener:function(e,t,n){if(t===D){var i=s.getNode(e);E[e]||(E[e]=r.listen(i,"click",m))}},willDeleteListener:function(e,t){t===D&&(E[e].remove(),delete E[e])}};t.exports=T},{102:102,104:104,105:105,106:106,108:108,109:109,110:110,111:111,112:112,125:125,146:146,15:15,153:153,161:161,166:166,19:19,72:72}],102:[function(e,t,n){"use strict";var i=e(105),r={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{105:105}],103:[function(e,t,n){"use strict";var i=e(105),r={data:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{105:105}],104:[function(e,t,n){"use strict";var i=e(109),r={dataTransfer:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{109:109}],105:[function(e,t,n){"use strict";var i=e(25),r=e(24),o=e(153),s=e(173),a={type:null,currentTarget:o.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function l(e,t,n,i){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n,this.target=i,this.currentTarget=i;var r=this.constructor.Interface;for(var s in r)if(r.hasOwnProperty(s)){var a=r[s];this[s]=a?a(n):n[s]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;this.isDefaultPrevented=l?o.thatReturnsTrue:o.thatReturnsFalse,this.isPropagationStopped=o.thatReturnsFalse}r(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;s(e,"This synthetic event is reused for performance reasons. If you're seeing this, you're calling `preventDefault` on a released/nullified synthetic event. This is a no-op. See https://fb.me/react-event-pooling for more information."),e&&(e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=o.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;s(e,"This synthetic event is reused for performance reasons. If you're seeing this, you're calling `stopPropagation` on a released/nullified synthetic event. This is a no-op. See https://fb.me/react-event-pooling for more information."),e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=o.thatReturnsTrue)},persist:function(){this.isPersistent=o.thatReturnsTrue},isPersistent:o.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),l.Interface=a,l.augmentClass=function(e,t){var n=this,o=Object.create(n.prototype);r(o,e.prototype),e.prototype=o,e.prototype.constructor=e,e.Interface=r({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(l,i.fourArgumentPooler),t.exports=l},{153:153,173:173,24:24,25:25}],106:[function(e,t,n){"use strict";var i=e(111),r={relatedTarget:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{111:111}],107:[function(e,t,n){"use strict";var i=e(105),r={data:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{105:105}],108:[function(e,t,n){"use strict";var i=e(111),r=e(125),o={key:e(126),location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:e(127),charCode:function(e){return"keypress"===e.type?r(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?r(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};function s(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(s,o),t.exports=s},{111:111,125:125,126:126,127:127}],109:[function(e,t,n){"use strict";var i=e(111),r=e(114),o={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:e(127),button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+r.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+r.currentScrollTop}};function s(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(s,o),t.exports=s},{111:111,114:114,127:127}],110:[function(e,t,n){"use strict";var i=e(111),r={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:e(127)};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{111:111,127:127}],111:[function(e,t,n){"use strict";var i=e(105),r=e(128),o={view:function(e){if(e.view)return e.view;var t=r(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};function s(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(s,o),t.exports=s},{105:105,128:128}],112:[function(e,t,n){"use strict";var i=e(109),r={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};function o(e,t,n,r){i.call(this,e,t,n,r)}i.augmentClass(o,r),t.exports=o},{109:109}],113:[function(e,t,n){"use strict";var i=e(161),r={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,r,o,s,a,l){var c,u;this.isInTransaction()&&i(!1,"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.");try{this._isInTransaction=!0,c=!0,this.initializeAll(0),u=e.call(t,n,r,o,s,a,l),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return u},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i=t[n];try{this.wrapperInitData[n]=o.OBSERVED_ERROR,this.wrapperInitData[n]=i.initialize?i.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()||i(!1,"Transaction.closeAll(): Cannot close transaction when none are open.");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r,s=t[n],a=this.wrapperInitData[n];try{r=!0,a!==o.OBSERVED_ERROR&&s.close&&s.close.call(this,a),r=!1}finally{if(r)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}},o={Mixin:r,OBSERVED_ERROR:{}};t.exports=o},{161:161}],114:[function(e,t,n){"use strict";var i={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){i.currentScrollLeft=e.x,i.currentScrollTop=e.y}};t.exports=i},{}],115:[function(e,t,n){"use strict";var i=e(161);function r(e,t){if(null==t&&i(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}t.exports=r},{161:161}],116:[function(e,t,n){"use strict";var i=65521;function r(e){for(var t=1,n=0,r=0,o=e.length,s=-4&o;r<s;){for(;r<Math.min(r+4096,s);r+=4)n+=(t+=e.charCodeAt(r))+(t+=e.charCodeAt(r+1))+(t+=e.charCodeAt(r+2))+(t+=e.charCodeAt(r+3));t%=i,n%=i}for(;r<o;r++)n+=t+=e.charCodeAt(r);return(t%=i)|(n%=i)<<16}t.exports=r},{}],117:[function(e,t,n){"use strict";var i=!1;try{Object.defineProperty({},"x",{get:function(){}}),i=!0}catch(e){}t.exports=i},{}],118:[function(e,t,n){"use strict";var i=e(57),r=e(79),o=e(166),s=e(173),a=o({children:null}),l=!1;function c(e,t){s(l,"cloneWithProps(...) is deprecated. Please use React.cloneElement instead."),l=!0,s(!e.ref,"You are calling cloneWithProps() on a child with a ref. This is dangerous because you're creating a new child which will not be added as a ref to its parent.");var n=r.mergeProps(t,e.props);return!n.hasOwnProperty(a)&&e.props.hasOwnProperty(a)&&(n.children=e.props.children),i.createElement(e.type,n)}t.exports=c},{166:166,173:173,57:57,79:79}],119:[function(e,t,n){"use strict";var i=e(4).isUnitlessNumber;function r(e,t){return null==t||"boolean"==typeof t||""===t?"":isNaN(t)||0===t||i.hasOwnProperty(e)&&i[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}t.exports=r},{4:4}],120:[function(e,t,n){"use strict";var i=e(24),r=e(173);function o(e,t,n,o,s){var a=!1,l=function(){return r(a,"React.%s is deprecated. Please use %s.%s from require('%s') instead.",e,t,e,n),a=!0,s.apply(o,arguments)};return i(l,s)}t.exports=o},{173:173,24:24}],121:[function(e,t,n){"use strict";var i={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},r=/[&><"']/g;function o(e){return i[e]}function s(e){return(""+e).replace(r,o)}t.exports=s},{}],122:[function(e,t,n){"use strict";var i=e(39),r=e(68),o=e(72),s=e(161),a=e(173);function l(e){var t=i.current;return null!==t&&(a(t._warnedAboutRefsInRender,"%s is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0),null==e?null:1===e.nodeType?e:r.has(e)?o.getNodeFromInstance(e):(null!=e.render&&"function"==typeof e.render&&s(!1,"findDOMNode was called on an unmounted component."),void s(!1,"Element appears to be neither ReactComponent nor DOMNode (keys: %s)",Object.keys(e)))}t.exports=l},{161:161,173:173,39:39,68:68,72:72}],123:[function(e,t,n){"use strict";var i=e(142),r=e(173);function o(e,t,n){var i=e,o=void 0===i[n];r(o,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),o&&null!=t&&(i[n]=t)}function s(e){if(null==e)return e;var t={};return i(e,o,t),t}t.exports=s},{142:142,173:173}],124:[function(e,t,n){"use strict";var i=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=i},{}],125:[function(e,t,n){"use strict";function i(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}t.exports=i},{}],126:[function(e,t,n){"use strict";var i=e(125),r={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function s(e){if(e.key){var t=r[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=i(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?o[e.keyCode]||"Unidentified":""}t.exports=s},{125:125}],127:[function(e,t,n){"use strict";var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function r(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=i[e];return!!n&&!!t[n]}function o(e){return r}t.exports=o},{}],128:[function(e,t,n){"use strict";function i(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}t.exports=i},{}],129:[function(e,t,n){"use strict";var i="function"==typeof Symbol&&Symbol.iterator,r="@@iterator";function o(e){var t=e&&(i&&e[i]||e[r]);if("function"==typeof t)return t}t.exports=o},{}],130:[function(e,t,n){"use strict";function i(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var n=i(e),o=0,s=0;n;){if(3===n.nodeType){if(s=o+n.textContent.length,o<=t&&s>=t)return{node:n,offset:t-o};o=s}n=i(r(n))}}t.exports=o},{}],131:[function(e,t,n){"use strict";var i=e(147),r=null;function o(){return!r&&i.canUseDOM&&(r="textContent"in document.documentElement?"textContent":"innerText"),r}t.exports=o},{147:147}],132:[function(e,t,n){"use strict";var i=e(38),r=e(59),o=e(75),s=e(24),a=e(161),l=e(173),c=function(){};function u(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function d(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function h(e){var t;if(null===e||!1===e)t=new r(h);else if("object"==typeof e){var n=e;(!n||"function"!=typeof n.type&&"string"!=typeof n.type)&&a(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==n.type?n.type:typeof n.type,u(n._owner)),t="string"==typeof n.type?o.createInternalComponent(n):d(n.type)?new n.type(n):new c}else"string"==typeof e||"number"==typeof e?t=o.createInstanceForText(e):a(!1,"Encountered invalid React node of type %s",typeof e);return l("function"==typeof t.construct&&"function"==typeof t.mountComponent&&"function"==typeof t.receiveComponent&&"function"==typeof t.unmountComponent,"Only React Components can be mounted."),t.construct(e),t._mountIndex=0,t._mountImage=null,t._isOwnerNecessary=!1,t._warnedAboutRefsInRender=!1,Object.preventExtensions&&Object.preventExtensions(t),t}s(c.prototype,i.Mixin,{_instantiateReactComponent:h}),t.exports=h},{161:161,173:173,24:24,38:38,59:59,75:75}],133:[function(e,t,n){"use strict";var i,r=e(147);
/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var s=document.createElement("div");s.setAttribute(n,"return;"),o="function"==typeof s[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=o},{147:147}],134:[function(e,t,n){"use strict";var i={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&i[e.type]||"textarea"===t)}t.exports=r},{}],135:[function(e,t,n){"use strict";var i=e(57),r=e(161);function o(e){return i.isValidElement(e)||r(!1,"onlyChild must be passed a children with exactly one child."),e}t.exports=o},{161:161,57:57}],136:[function(e,t,n){"use strict";var i=e(121);function r(e){return'"'+i(e)+'"'}t.exports=r},{121:121}],137:[function(e,t,n){"use strict";var i=e(72);t.exports=i.renderSubtreeIntoContainer},{72:72}],138:[function(e,t,n){"use strict";var i=e(147),r=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(s=function(e,t){MSApp.execUnsafeLocalFunction((function(){e.innerHTML=t}))}),i.canUseDOM){var a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(s=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),r.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}t.exports=s},{147:147}],139:[function(e,t,n){"use strict";var i=e(147),r=e(121),o=e(138),s=function(e,t){e.textContent=t};i.canUseDOM&&("textContent"in document.documentElement||(s=function(e,t){o(e,r(t))})),t.exports=s},{121:121,138:138,147:147}],140:[function(e,t,n){"use strict";var i=e(171);function r(e,t,n){return!i(e.props,t)||!i(e.state,n)}t.exports=r},{171:171}],141:[function(e,t,n){"use strict";function i(e,t){var n=null===e||!1===e,i=null===t||!1===t;if(n||i)return n===i;var r=typeof e,o=typeof t;return"string"===r||"number"===r?"string"===o||"number"===o:"object"===o&&e.type===t.type&&e.key===t.key}t.exports=i},{}],142:[function(e,t,n){"use strict";var i=e(39),r=e(57),o=e(67),s=e(129),a=e(161),l=e(173),c=o.SEPARATOR,u=":",d={"=":"=0",".":"=1",":":"=2"},h=/[=.:]/g,p=!1;function f(e){return d[e]}function g(e,t){return e&&null!=e.key?v(e.key):t.toString(36)}function m(e){return(""+e).replace(h,f)}function v(e){return"$"+m(e)}function S(e,t,n,o){var d,h=typeof e;if("undefined"!==h&&"boolean"!==h||(e=null),null===e||"string"===h||"number"===h||r.isValidElement(e))return n(o,e,""===t?c+g(e,0):t),1;var f=0,m=""===t?c:t+u;if(Array.isArray(e))for(var y=0;y<e.length;y++)f+=S(d=e[y],m+g(d,y),n,o);else{var b=s(e);if(b){var w,C=b.call(e);if(b!==e.entries)for(var x=0;!(w=C.next()).done;)f+=S(d=w.value,m+g(d,x++),n,o);else for(l(p,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead."),p=!0;!(w=C.next()).done;){var D=w.value;D&&(f+=S(d=D[1],m+v(D[0])+u+g(d,0),n,o))}}else if("object"===h){var E="";if(E=" If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.",e._isReactElement&&(E=" It looks like you're using an element created by a different version of React. Make sure to use only one copy of React."),i.current){var T=i.current.getName();T&&(E+=" Check the render method of `"+T+"`.")}var P=String(e);a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===P?"object with keys {"+Object.keys(e).join(", ")+"}":P,E)}}return f}function y(e,t,n){return null==e?0:S(e,"",t,n)}t.exports=y},{129:129,161:161,173:173,39:39,57:57,67:67}],143:[function(e,t,n){"use strict";var i=e(24),r=e(166),o=e(161),s={}.hasOwnProperty;function a(e){return Array.isArray(e)?e.concat():e&&"object"==typeof e?i(new e.constructor,e):e}var l=r({$push:null}),c=r({$unshift:null}),u=r({$splice:null}),d=r({$set:null}),h=r({$merge:null}),p=r({$apply:null}),f=[l,c,u,d,h,p],g={};function m(e,t,n){Array.isArray(e)||o(!1,"update(): expected target of %s to be an array; got %s.",n,e);var i=t[n];Array.isArray(i)||o(!1,"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,i)}function v(e,t){if("object"!=typeof t&&o(!1,"update(): You provided a key path to update() that did not contain one of %s. Did you forget to include {%s: ...}?",f.join(", "),d),s.call(t,d))return 1!==Object.keys(t).length&&o(!1,"Cannot have more than one key in an object with %s",d),t[d];var n=a(e);if(s.call(t,h)){var r=t[h];r&&"object"==typeof r||o(!1,"update(): %s expects a spec of type 'object'; got %s",h,r),n&&"object"==typeof n||o(!1,"update(): %s expects a target of type 'object'; got %s",h,n),i(n,t[h])}for(var S in s.call(t,l)&&(m(e,t,l),t[l].forEach((function(e){n.push(e)}))),s.call(t,c)&&(m(e,t,c),t[c].forEach((function(e){n.unshift(e)}))),s.call(t,u)&&(Array.isArray(e)||o(!1,"Expected %s target to be an array; got %s",u,e),Array.isArray(t[u])||o(!1,"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",u,t[u]),t[u].forEach((function(e){Array.isArray(e)||o(!1,"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",u,t[u]),n.splice.apply(n,e)}))),s.call(t,p)&&("function"!=typeof t[p]&&o(!1,"update(): expected spec of %s to be a function; got %s.",p,t[p]),n=t[p](n)),t)g.hasOwnProperty(S)&&g[S]||(n[S]=v(e[S],t[S]));return n}f.forEach((function(e){g[e]=!0})),t.exports=v},{161:161,166:166,24:24}],144:[function(e,t,n){"use strict";var i=e(24),r=e(153),o=e(173),s=r,a=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],l=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],c=l.concat(["button"]),u=["dd","dt","li","option","optgroup","p","rp","rt"],d={parentTag:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},h=function(e,t,n){var r=i({},e||d),o={tag:t,instance:n};return-1!==l.indexOf(t)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==c.indexOf(t)&&(r.pTagInButtonScope=null),-1!==a.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.parentTag=o,"form"===t&&(r.formTag=o),"a"===t&&(r.aTagInScope=o),"button"===t&&(r.buttonTagInScope=o),"nobr"===t&&(r.nobrTagInScope=o),"p"===t&&(r.pTagInButtonScope=o),"li"===t&&(r.listItemTagAutoclosing=o),"dd"!==t&&"dt"!==t||(r.dlItemTagAutoclosing=o),r},p=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===u.indexOf(t);case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},f=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},g=function(e){if(!e)return[];var t=[];do{t.push(e)}while(e=e._currentElement._owner);return t.reverse(),t},m={};(s=function(e,t,n){var i=(n=n||d).parentTag,r=i&&i.tag,s=p(e,r)?null:i,a=s?null:f(e,n),l=s||a;if(l){var c,u=l.tag,h=l.instance,v=t&&t._currentElement._owner,S=h&&h._currentElement._owner,y=g(v),b=g(S),w=Math.min(y.length,b.length),C=-1;for(c=0;c<w&&y[c]===b[c];c++)C=c;var x="(unknown)",D=y.slice(C+1).map((function(e){return e.getName()||x})),E=b.slice(C+1).map((function(e){return e.getName()||x})),T=[].concat(-1!==C?y[C].getName()||x:[],E,u,a?["..."]:[],D,e).join(" > "),P=!!s+"|"+e+"|"+u+"|"+T;if(m[P])return;if(m[P]=!0,s){var I="";"table"===u&&"tr"===e&&(I+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),o(!1,"validateDOMNesting(...): <%s> cannot appear as a child of <%s>. See %s.%s",e,u,T,I)}else o(!1,"validateDOMNesting(...): <%s> cannot appear as a descendant of <%s>. See %s.",e,u,T)}}).ancestorInfoContextKey="__validateDOMNesting_ancestorInfo$"+Math.random().toString(36).slice(2),s.updatedAncestorInfo=h,s.isTagValidInContext=function(e,t){var n=(t=t||d).parentTag,i=n&&n.tag;return p(e,i)&&!f(e,t)},t.exports=s},{153:153,173:173,24:24}],145:[function(e,t,n){"use strict";var i=e(161),r={addClass:function(e,t){return/\s/.test(t)&&i(!1,'CSSCore.addClass takes only a single class name. "%s" contains multiple classes.',t),t&&(e.classList?e.classList.add(t):r.hasClass(e,t)||(e.className=e.className+" "+t)),e},removeClass:function(e,t){return/\s/.test(t)&&i(!1,'CSSCore.removeClass takes only a single class name. "%s" contains multiple classes.',t),t&&(e.classList?e.classList.remove(t):r.hasClass(e,t)&&(e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),e},conditionClass:function(e,t,n){return(n?r.addClass:r.removeClass)(e,t)},hasClass:function(e,t){return/\s/.test(t)&&i(!1,"CSS.hasClass takes only a single class name."),e.classList?!!t&&e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}};t.exports=r},{161:161}],146:[function(e,t,n){"use strict";var i=e(153),r={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):(console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:i})},registerDefault:function(){}};t.exports=r},{153:153}],147:[function(e,t,n){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};t.exports=r},{}],148:[function(e,t,n){"use strict";var i=/-(.)/g;function r(e){return e.replace(i,(function(e,t){return t.toUpperCase()}))}t.exports=r},{}],149:[function(e,t,n){"use strict";var i=e(148),r=/^-ms-/;function o(e){return i(e.replace(r,"ms-"))}t.exports=o},{148:148}],150:[function(e,t,n){"use strict";var i=e(163);function r(e,t){var n=!0;e:for(;n;){var r=e,o=t;if(n=!1,r&&o){if(r===o)return!0;if(i(r))return!1;if(i(o)){e=r,t=o.parentNode,n=!0;continue e}return r.contains?r.contains(o):!!r.compareDocumentPosition&&!!(16&r.compareDocumentPosition(o))}return!1}}t.exports=r},{163:163}],151:[function(e,t,n){"use strict";var i=e(172);function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function o(e){return r(e)?Array.isArray(e)?e.slice():i(e):[e]}t.exports=o},{172:172}],152:[function(e,t,n){"use strict";var i=e(147),r=e(151),o=e(157),s=e(161),a=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/,c={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"};function u(e){var t=e.match(l),n=t&&t[1].toLowerCase();return c.hasOwnProperty(n)?c[n]:n}function d(e,t){var n=a;a||s(!1,"createNodesFromMarkup dummy not initialized");var i=u(e),l=i&&o(i);if(l){n.innerHTML=l[1]+e+l[2];for(var c=l[0];c--;)n=n.lastChild}else n.innerHTML=e;var d=n.getElementsByTagName("script");d.length&&(t||s(!1,"createNodesFromMarkup(...): Unexpected <script> element rendered."),r(d).forEach(t));for(var h=r(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return h}t.exports=d},{147:147,151:151,157:157,161:161}],153:[function(e,t,n){"use strict";function i(e){return function(){return e}}function r(){}r.thatReturns=i,r.thatReturnsFalse=i(!1),r.thatReturnsTrue=i(!0),r.thatReturnsNull=i(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},t.exports=r},{}],154:[function(e,t,n){"use strict";var i={};Object.freeze(i),t.exports=i},{}],155:[function(e,t,n){"use strict";function i(e){try{e.focus()}catch(e){}}t.exports=i},{}],156:[function(e,t,n){"use strict";function i(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}t.exports=i},{}],157:[function(e,t,n){"use strict";var i=e(147),r=e(161),o=i.canUseDOM?document.createElement("div"):null,s={},a=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],u=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:a,option:a,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c};function h(e){return o||r(!1,"Markup wrapping node not initialized"),d.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||(o.innerHTML="*"===e?"<link />":"<"+e+"></"+e+">",s[e]=!o.firstChild),s[e]?d[e]:null}["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan","use","filter","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feTile","feTurbulence"].forEach((function(e){d[e]=u,s[e]=!0})),t.exports=h},{147:147,161:161}],158:[function(e,t,n){"use strict";function i(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=i},{}],159:[function(e,t,n){"use strict";var i=/([A-Z])/g;function r(e){return e.replace(i,"-$1").toLowerCase()}t.exports=r},{}],160:[function(e,t,n){"use strict";var i=e(159),r=/^ms-/;function o(e){return i(e).replace(r,"-ms-")}t.exports=o},{159:159}],161:[function(e,t,n){"use strict";function i(e,t,n,i,r,o,s,a){if(void 0===t)throw new Error("invariant requires an error message argument");if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,r,o,s,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}t.exports=i},{}],162:[function(e,t,n){"use strict";function i(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=i},{}],163:[function(e,t,n){"use strict";var i=e(162);function r(e){return i(e)&&3==e.nodeType}t.exports=r},{162:162}],164:[function(e,t,n){"use strict";function i(e){var t;e||(e="");var n=arguments.length;if(n>1)for(var i=1;i<n;i++)(t=arguments[i])&&(e=(e?e+" ":"")+t);return e}t.exports=i},{}],165:[function(e,t,n){"use strict";var i=e(161),r=function(e){var t,n={};for(t in e instanceof Object&&!Array.isArray(e)||i(!1,"keyMirror(...): Argument must be an object."),e)e.hasOwnProperty(t)&&(n[t]=t);return n};t.exports=r},{161:161}],166:[function(e,t,n){"use strict";var i=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=i},{}],167:[function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty;function r(e,t,n){if(!e)return null;var r={};for(var o in e)i.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r}t.exports=r},{}],168:[function(e,t,n){"use strict";function i(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}t.exports=i},{}],169:[function(e,t,n){"use strict";var i;e(147).canUseDOM&&(i=window.performance||window.msPerformance||window.webkitPerformance),t.exports=i||{}},{147:147}],170:[function(e,t,n){"use strict";var i,r=e(169);i=r.now?function(){return r.now()}:function(){return Date.now()},t.exports=i},{169:169}],171:[function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty;function r(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=i.bind(t),s=0;s<n.length;s++)if(!o(n[s])||e[n[s]]!==t[n[s]])return!1;return!0}t.exports=r},{}],172:[function(e,t,n){"use strict";var i=e(161);function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&i(!1,"toArray: Array-like object expected"),"number"!=typeof t&&i(!1,"toArray: Object needs a length property"),0===t||t-1 in e||i(!1,"toArray: Object should have keys for indices"),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}t.exports=r},{161:161}],173:[function(e,t,n){"use strict";var i=e(153);i=function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){var o=0,s="Warning: "+t.replace(/%s/g,(function(){return i[o++]}));"undefined"!=typeof console&&console.error(s);try{throw new Error(s)}catch(e){}}},t.exports=i},{153:153}]},{},[1])(1)}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e].call(o.exports,o,o.exports,i),o.exports}i.amdD=function(){throw new Error("define cannot be used indirect")},function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return t(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}Promise.resolve().then((function(){var t=[i(3488)];(function(t){t.init(),Promise.resolve().then((function(){var t=[i(3305),i(882),i(3488),i(5214),i(6292)];(function(t,n){Promise.resolve().then((function(){var r=[i(9890),i(2658),i(2486),i(4196),i(4242),i(9656),i(3723),i(1853),i(981),i(2828),i(2995),i(5749),i(9838),i(5955),i(4753),i(3097),i(6523),i(765),i(7877),i(42)];(function(i,r,o,s,a,l,c,u,d,h,p,f,g,m,v,S,y,b,w){var C=DS,x=C._,D=C.events,E=C.pubSub,T=C.detection,P=C.vow,I=C.errorManager,A=C.fontManager,M=C.windowManager,k=C.slideNumberManager,L=C.resumer,R=C.captionsManager,_=C.scaler,O=C.appState,V=C.localizationManager;null!=DS.DropIn&&DS.DropIn.injectReact(t,n),DS.renderEngine={createWindowFor:function(i,r,o,s){var a=T.theme.isUnified?S:v;if(DS.flagManager.dropInAcc){var l=e(DS.DropIn.replaceReact(),2);n=l[0],t=l[1]}var c=n.render(t.createElement(r?a:m,o),i.querySelector(".slide-container"));if(DS.flagManager.dropInAcc){var u=e(DS.DropIn.restoreReact(),2);n=u[0],t=u[1]}if(null!=s){if(DS.flagManager.dropInBase){var d=e(DS.DropIn.replaceReact(),2);n=d[0],t=d[1]}if(n.render(t.createElement(b,{slideContainer:c.refs.slideContainer,getWinScale:o.getWinScale,container:s}),s),DS.flagManager.dropInBase){var h=e(DS.DropIn.restoreReact(),2);n=h[0],t=h[1]}}return c},closeWindow:function(t,i){if(DS.flagManager.dropInAcc){var r=e(DS.DropIn.replaceReact(),1);n=r[0]}if(n.unmountComponentAtNode(t),null!=i){if(DS.flagManager.dropInBase){var o=e(DS.DropIn.replaceReact(),1);n=o[0]}if(n.unmountComponentAtNode(i),DS.flagManager.dropInBase){var s=e(DS.DropIn.restoreReact(),1);n=s[0]}}if(DS.flagManager.dropInAcc){var a=e(DS.DropIn.restoreReact(),1);n=a[0]}},createMobileStartOverlay:function(){var i=document.getElementById("preso");if(this.mobileStartContainer=document.createElement("div"),this.mobileStartContainer.setAttribute("id","mobile-start-container"),this.mobileStartContainer.classList.add("fn-".concat(DS.frame.getDefaultLayout())),i.parentNode.insertBefore(this.mobileStartContainer,i.nextSibling),DS.flagManager.dropInBase){var r=e(DS.DropIn.replaceReact(),2);n=r[0],t=r[1]}var o=n.render(t.createElement(y),this.mobileStartContainer);if(DS.flagManager.dropInBase){var s=e(DS.DropIn.restoreReact(),2);n=s[0],t=s[1]}return o},showMobileStartOverlay:function(){this.mobileStartContainer.style.display="block"},killMobileStartOverlay:function(){this.mobileStartContainer.style.display="none"}},w.createLib(),document.body.role="presentation";var N,j=new i,B=function(e){var t=L.initialize(j,e);_.initialize(),o.initialize(j),r.initialize(j.assetLib()),h.initialize(j.audioplaylists()),p.initialize(j.globalaudiolib()),d.initialize(j),f.initialize(j),N.always((function(){if(E.trigger(D.data.INITIALIZED),E.trigger(D.ds.PRESO_LOADED,s),null!=DS.playerGlobals.player){var e=null!=j.playerVars()?j.playerVars().variables():null;if(R.initialize(DS.playerGlobals.player,M,null!=e?e.get("displayCaptions"):null),k.initialize(M,j,DS.playerGlobals.player.getNavData()),_.connectVariables(null!=e?e.get("zoomToFit"):null),null!=e){O.connectVariables({accessibleTextVar:e.get("accessibleText"),fullScreenModeVar:e.get("fullScreenMode")});var n=e.get("langCode");(DS.flagManager.multiLangSupport||DS.flagManager.aiCourseTranslation)&&null!=n&&DS.localizationManager.connectVariable(n)}}t.always((function(){g.initialize(),E.trigger(D.loader.REMOVE_TITLE),E.trigger(D.main.PREPARE_AUDIO,j),E.trigger(D.course.AUDIO_START),u.prepare(),P.isRejected(t)&&E.trigger(D.request.NEXT_SLIDE),L.courseStarted(P.isResolved(t))})).catch((function(e){return e}))}))};P.when(j.fetch(),a.fetch()).then((function(){DS.presentation=j,N=A.loadFonts(j),Promise.all([DS.flagManager.multiLangSupport?V.initSlideData(j.get("localization")):Promise.resolve(),l.prepare(j),c.prepare(j),u.initialize(j),null!=DS.playerGlobals.player?R.prepare(j.assetLib()):Promise.resolve()]).then((function(e){return B(x.some(e))})).catch((function(e){return B(x.some(e))}))})).catch((function(){I.throwError("init","initialization","Could not load presentation data")}))}).apply(null,r)})).catch(i.oe)}).apply(null,t)})).catch(i.oe)}).apply(null,t)})).catch(i.oe)}()}();