diff --git a/Trainings/WBT_ErkW_1_Einfuehrung/html5/lib/scripts/slides.min.js b/Trainings/WBT_ErkW_1_Einfuehrung/html5/lib/scripts/slides.min.js index 1f16a89..45b34f1 100644 --- a/Trainings/WBT_ErkW_1_Einfuehrung/html5/lib/scripts/slides.min.js +++ b/Trainings/WBT_ErkW_1_Einfuehrung/html5/lib/scripts/slides.min.js @@ -1,2 +1,17 @@ /*! 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);n0&&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;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n0}))})).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;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?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;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?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;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n','','','',""].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='';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;te.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=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=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);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&!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;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n=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)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.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?t0)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(++r1&&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.startAt2&&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.startAt0))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;n1&&(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;t0&&void 0!==arguments[0]?arguments[0]:function(){},r=this.trackLoadIdx;if(r0&&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;n0&&(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;og.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=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)},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;ii.length-1||c!==i[o].distance)&&o--,h=i[o],p=i[o+1],o1&&(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=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='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ',D().appendChild(i),(m=document.createElement("div")).innerHTML='\n \n \n ',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 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 ne&&(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.lengtht;)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=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=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=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(!(A0?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;se0?ie[se-1].content:null,he=se0})).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%tg.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);n0?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.length0&&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.loadIdxe.length)&&(t=e.length);for(var n=0,i=new Array(t);n0),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.beforeSeekTimei.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;i0},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-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.prevClientHeight0,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=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=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;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);ns&&(s=r.x),r.yl&&(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=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;a0)for(t=i=e[0][0],n=r=e[0][1],a=1;ai&&(i=o),(s=e[a][1])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;ne[2]&&(e[2]=i[2]),i[1]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;i0&&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?ol[2]&&(l[2]=o):ol[3]&&(l[3]=o)}},w=function(e){e[0]l[2]&&(l[2]=e[0]),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;s1&&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;t0&&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;t0&&(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.y1&&(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;g0||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=0;t--)this.transforms[t].unapply(e)},this.applyToPoint=function(e){for(var t=0;t]*>/,""),(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[0]&&e[1]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;c128)||(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;t0)return!0;return!1},P=function(e){var n,i,r,o,s,a,l,u,d=e.length;for(i=0;it.left&&e.topt.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|>)/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=""===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 ns||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").concat(C.isString(n)?n:(n||[]).join(""),"")};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;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n|>)/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"===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 ot?(c=!0,this.pinch.currMatrix.tx=t-s):l.rightn?(c=!0,this.pinch.currMatrix.ty=n-a):l.bottom1||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].clientXi.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.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);n1&&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-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=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);n0&&!n.runsUpdated){for(var a=0,c=s[a],u=r(n.runs),d=0;d=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,!(++an.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.topt.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=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);n0&&(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-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;o0&&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,"
")})}.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);n1},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)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]),po.height&&(S-=m-o.height-(this.props.height-n*this.props.height)/2),ho.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);ne.get("tabIndex")}));-1===l&&(l=this.accessibles.length),this.accessibles.splice(l,0,e);for(var c=l;c2&&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=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;re.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.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);n0){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=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);n0},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);ne?(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);++t0&&(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.lowvalue180?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=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=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);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);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=i&&t=0){var t=this.getItem(e),n=t.offsetTop,i=t.offsetHeight,r=this.refs.content.clientHeight,o=this.scrollTop();n-2o+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=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.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=iwindow.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=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;tt.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="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"9")&&"."!=this._string.charAt(this._currentIndex))){for(var a=this._currentIndex;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)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;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||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;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;s8&&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;n8));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 when using tables, nesting tags like
,

, or , or using non-SVG elements in an 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]+)/,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 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-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;o1?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;r1?s-1:0),l=1;l-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: ');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",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+""}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 tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg , , and ) 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 instead of setting `selected` on