!function(){function t(e,i,n){function r(o,a){if(!i[o]){if(!e[o]){var c="function"==typeof require&&require;if(!a&&c)return c(o,!0);if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var h=i[o]={exports:{}};e[o][0].call(h.exports,function(t){var i=e[o][1][t];return r(i?i:t)},h,h.exports,t,e,i,n)}return i[o].exports}for(var s="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}return t}()({1:[function(t,e,i){"use strict";function n(){this._createElements(),this._bindEvents()}var r=n.prototype;r._bindEvents=function(){this._onResize=this._resize.bind(this)},r._createElements=function(){this.span=document.createElement("span");var t=this.span.style;if(t.visibility="hidden",t.position="absolute",t.top="0",t.bottom="0",t.zIndex="-1",this.span.innerHTML="&nbsp;",!window.ResizeObserver){this.iframe=document.createElement("iframe");var e=this.iframe.style;e.position="absolute",e.top="0",e.left="0",e.width="100%",e.height="100%",this.span.appendChild(this.iframe)}document.body.appendChild(this.span)},r.detect=function(t){this.originalSize=t||17,this.currentSize=parseFloat(window.getComputedStyle(this.span)["font-size"]),this.currentSize>this.originalSize&&this._onResize(),this.isDetecting||(window.ResizeObserver?(this.resizeObserver=new ResizeObserver(this._onResize),this.resizeObserver.observe(this.span)):this.iframe.contentWindow.addEventListener("resize",this._onResize),this.isDetecting=!0)},r._resize=function(){this.currentSize=parseFloat(window.getComputedStyle(this.span)["font-size"]),this.originalSize<this.currentSize?document.documentElement.classList.add("text-zoom"):document.documentElement.classList.remove("text-zoom"),window.dispatchEvent(new Event("resize")),window.dispatchEvent(new CustomEvent("resize:text-zoom",{detail:this}))},r.getScale=function(){return this.currentSize/this.originalSize},r.remove=function(){this.isDetecting&&(this.resizeObserver&&this.resizeObserver.unobserve(this.span),this.iframe&&this.iframe.contentWindow.removeEventListener("resize",this._onResize),this.isDetecting=!1)},r.destroy=function(){this.remove(),this.span&&this.span.parentElement&&this.span.parentElement.removeChild(this.span),this.span=null,this.iframe=null,this.resizeObserver=null},e.exports=new n},{}],2:[function(t,e,i){"use strict";var n=t("./ac-ajax/Ajax"),r=t("./ac-ajax/Request");e.exports=new n,e.exports.Ajax=n,e.exports.Request=r},{"./ac-ajax/Ajax":3,"./ac-ajax/Request":4}],3:[function(t,e,i){"use strict";var n=t("./Request"),r=t("./XDomain-request"),s=t("./URLParser"),o=function(){};o._Request=n,o.prototype={_defaults:{method:"get",timeout:5e3},_extend:function(){for(var t=1;t<arguments.length;t++)for(var e in arguments[t])arguments[t].hasOwnProperty(e)&&(arguments[0][e]=arguments[t][e]);return arguments[0]},_getOptions:function(t,e){return this._extend({},this._defaults,e,t)},_isCrossDomainRequest:function(t){var e=new s,i=e.parse(window.location.href).origin,n=e.parse(t).origin;return e.destroy(),n!==i},create:function(t){return new n(t)},cors:function(t){var e=window.XDomainRequest&&document.documentMode<10?r:n;return new e(t)},get:function(t){var e;return t=this._getOptions({method:"get"},t),e=this._isCrossDomainRequest(t.url)?this.cors(t):this.create(t),e.send()},getJSON:function(t){return this.get(t).then(function(t){return JSON.parse(t.responseText)})},head:function(t){return t=this._getOptions({method:"head"},t),this.create(t).send()},isCrossDomainRequest:function(t){return this._isCrossDomainRequest(t)},post:function(t){return t=this._getOptions({method:"post"},t),this.create(t).send()}},e.exports=o},{"./Request":4,"./URLParser":5,"./XDomain-request":6}],4:[function(t,e,i){"use strict";var n=function(t){this._initialize(t)};n.create=function(){var t=function(){};return t.prototype=n.prototype,new t},n.prototype={_addReadyStateChangeHandler:function(){this.xhr.onreadystatechange=function(t){4===this.xhr.readyState&&(clearTimeout(this._timeout),this.xhr.status>=200&&this.xhr.status<300?this.resolve(this.xhr):this.reject(this.xhr))}.bind(this)},_getPromise:function(){this.promise=new Promise(function(t,e){this.resolve=t,this.reject=e}.bind(this))},_getTransport:function(){return new XMLHttpRequest},_initialize:function(t){var e=this._validateConfiguration(t);if(e)throw e;this._configuration=t;var i=this._configuration.method.toUpperCase();this.xhr=this._getTransport(),this._getPromise(),this.xhr.open(i,this._configuration.url),this._setRequestHeaders(t.headers),this._addReadyStateChangeHandler()},_sendXHR:function(){this.xhr&&(this._configuration&&this._configuration.data?this.xhr.send(this._configuration.data):this.xhr.send())},_setRequestHeaders:function(t){t&&t.forEach(function(t){this.xhr.setRequestHeader(t.name,t.value)},this)},_setTimeout:function(t){t||(this._configuration&&this._configuration.timeout?t=this._configuration.timeout:(clearTimeout(this._timeout),this._timeout=null)),null!==this._timeout&&clearTimeout(this._timeout),t>0&&(this._timeout=setTimeout(function(){this.xhr.abort(),this.reject()}.bind(this),t))},_timeout:null,_validateConfiguration:function(t){if(!t)return"Must provide a configuration object";var e=[],i=t.headers;if(t.url||e.push("Must provide a url"),t.method||e.push("Must provide a method"),i){if(!Array.isArray(i))return"Must provide an array of headers";this._validateHeaders(i,e)}return e.join(", ")},_validateHeaders:function(t,e){for(var i=0,n=t.length;i<n;i++)if(!t[i].hasOwnProperty("name")||!t[i].hasOwnProperty("value")){e.push("Must provide a name and value key for all headers");break}},promise:null,reject:null,resolve:null,send:function(){return this._setTimeout(),this._sendXHR(),this.promise},xhr:null},e.exports=n},{}],5:[function(t,e,i){"use strict";var n=function(){this.parser=null},r=n.prototype;r.parse=function(t){var e,i,n,r,s;if("string"!=typeof t)throw new TypeError(t+" must be a string");return this.parser||(this.parser=document.createElement("a")),this._qualifyPath(t),n=this.parser.hostname,i=this.parser.protocol,r=this._normalizePort(this.parser),e=this.parser.origin||this._constructOriginString(this.parser,r),s=this.parser.search,{originalPath:t,qualifiedPath:this.parser.href,protocol:i,hostname:n,origin:e,port:r,search:s}},r.destroy=function(){this.parser=null},r._constructOriginString=function(t,e){var i=e?":"+e:"";return t.protocol+"//"+t.hostname+i},r._normalizePort=function(t){return"80"===t.port||"443"===t.port||"0"===t.port?"":t.port},r._qualifyPath=function(t){this.parser.href=t,this.parser.href=this.parser.href},e.exports=n},{}],6:[function(t,e,i){"use strict";var n=t("./Request"),r=function(t){n.apply(this,arguments)};r.prototype=n.create(),r.prototype._getTransport=function(){return new XDomainRequest},r.prototype._addReadyStateChangeHandler=function(){this.xhr.ontimeout=function(){this.reject(this.xhr)}.bind(this),this.xhr.onerror=function(){this.reject(this.xhr)}.bind(this),this.xhr.onload=function(){this.resolve(this.xhr)}.bind(this)},r.prototype._setTimeout=function(t){t||this._configuration&&this._configuration.timeout&&(t=this._configuration.timeout),t>0&&(this.xhr.timeout=t)},r.prototype._sendXHR=function(){setTimeout(function(){n.prototype._sendXHR.call(this)}.bind(this),0)},e.exports=r},{"./Request":4}],7:[function(t,e,i){"use strict";function n(t,e){s.call(this),this.options=o(a,e||{}),this.src=t,this.data=null,this.error=null,this.priority=this.options.priority,this.status="idle",this._onLoad=this._onLoad.bind(this),this._onError=this._onError.bind(this)}var r,s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=t("@marcom/ac-object/defaults"),a={priority:5};r=n.prototype=Object.create(s.prototype),r.load=function(){"idle"===this.status&&(this.status="pending",this._load())},r.destroy=function(){s.prototype.destroy.call(this),this.status="destroyed",this.data=null},r._load=function(){this.data={src:this.src},window.setTimeout(this._onLoad.bind(this),20)},r._onLoad=function(){"destroyed"!==this.status&&(this.status="loaded",this.trigger("loaded",this))},r._onError=function(t){"destroyed"!==this.status&&(this.error=t,this.status="error",this.trigger("error",this))},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/defaults":285}],8:[function(t,e,i){"use strict";function n(t,e){s.apply(this,arguments)}var r,s=t("../Asset");r=n.prototype=Object.create(s.prototype),r._load=function(){this.data=new Image,this.data.addEventListener("load",this._onLoad),this.data.addEventListener("error",this._onError),this.data.src=this.src},r.destroy=function(){this.data&&(this.data.removeEventListener("load",this._onLoad),this.data.removeEventListener("error",this._onError)),this.status="destroyed",this.data=null},e.exports=n},{"../Asset":7}],9:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Promise");var n,r=t("@marcom/ac-object/defaults"),s=t("./XHR/ArrayBuffer"),o=t("./XHR/JSON"),a=t("../Asset"),c=t("../AssetGroup"),l={manifestTimeout:5e3,chunkTimeout:1e4},h=function(t,e){var i=r(l,e||{});a.call(this,t,i),t.lastIndexOf("/")!==t.length-1&&(t+="/");var n="j";this._manifestPath=t+"manifest."+n+"son",this._chunks=[],this._loadChunks=this._loadChunks.bind(this),this._onChunksLoaded=this._onChunksLoaded.bind(this),this._manifestLoader=null,this._chunkLoader=null};n=h.prototype=Object.create(a.prototype),n._load=function(){this._loadManifest().then(this._loadChunks).then(this._onChunksLoaded)["catch"](this._onError)},n._loadManifest=function(){var t=new o(this._manifestPath,{timeout:this.options.manifestTimeout}),e=new c(t,{privateQueue:this.options.queue});return e.load(),this._manifestLoader=e,new Promise(function(t,i){e.once("load",function(e){t(e.latest)}),e.once("error",function(t){i(t.latest.error)})})},n._loadChunks=function(t){this._manifest=t.data,this._manifestLoader.destroy(),this._manifestLoader=null;var e=[];this._manifest.files.forEach(function(t,i){e.push(this._getOrCreateChunkObject(t,i))},this);var i=new c(e,{privateQueue:this.options.queue,failFast:!0}),n=new Promise(function(t,e){i.once("load",t),i.once("error",function(t){e(t.latest.error)})});return i.load(),this._chunkLoader=i,n},n._getOrCreateChunkObject=function(t,e){var i=this.options.chunkTimeout?{timeout:this.options.chunkTimeout}:null;if(!this._chunks[e]){var n=t.path;if(n.match(/(^http(s?))/)){if(this.src.match(/(^http(s?))/)){var r=n.indexOf("/",10),o=this.src.indexOf("/",10);n=this.src.substring(0,o)+n.substring(r)}}else n=this.src+"/"+n;this._chunks[e]=new s(n,i)}return this._chunks[e]},n._onChunksLoaded=function(){for(var t=this._chunks.length,e=[],i=0;i<t;i++)e.push(this._chunks[i].data),this._chunks[i].off();this.data=new Blob(e,{type:this._manifest.mimeType}),e=this._chunks=null,this._chunkLoader.destroy(),this._chunkLoader=null,this._onLoad()},n.pause=function(){this._manifestLoader&&this._manifestLoader.pause(),this._chunkLoader&&this._chunkLoader.pause()},n.resume=function(){this._manifestLoader&&this._manifestLoader.resume(),this._chunkLoader&&this._chunkLoader.resume()},n.destroy=function(){this.pause(),this._manifestLoader&&this._manifestLoader.destroy(),this._chunkLoader&&this._chunkLoader.destroy(),this._chunks=null,a.prototype.destroy.call(this)},e.exports=h},{"../Asset":7,"../AssetGroup":14,"./XHR/ArrayBuffer":12,"./XHR/JSON":13,"@marcom/ac-object/defaults":285,"@marcom/ac-polyfills/Promise":void 0}],10:[function(t,e,i){"use strict";function n(t,e){s.apply(this,arguments),this.options=e||{},this._binary=this.options.binary||this._createAssetType()}var r,s=t("../Asset"),o=t("./SplitFile");r=n.prototype=Object.create(s.prototype),r._canUseBlob=function(){return void 0!==window.Blob&&void 0!==window.URL&&"function"==typeof window.URL.createObjectURL},r._createAssetType=function(){if(this._canUseBlob())return new o(this.src,this.options)},r._load=function(){this._binary.on("loaded",this._onLoad),this._binary.on("error",this._onError),this._binary.load()},r._onLoad=function(t){this.data=t,this.data instanceof window.Blob&&(this.data=this.options.element,this.data||(this.data=document.createElement("video")),this.data.getAttribute("type")!==t.type&&this.data.setAttribute("type",t.type),this.data.src=window.URL.createObjectURL(t)),s.prototype._onLoad.call(this,this.data)},r.pause=function(){this._binary.pause()},r.destroy=function(){this._binary.destroy(),s.prototype.destroy.call(this)},e.exports=n},{"../Asset":7,"./SplitFile":9}],11:[function(t,e,i){"use strict";function n(t,e){var i=a(c,e||{});o.call(this,t,i),this._request=this._createRequest(),this._request.xhr.responseType=this.options.responseType}var r,s=t("@marcom/ac-ajax"),o=t("../Asset"),a=t("@marcom/ac-object/defaults"),c={timeout:3e4,responseType:""};r=n.prototype=Object.create(o.prototype),r.destroy=function(){return"idle"!==this.status&&"loaded"!==this.status||(this._request=null),"pending"===this.status?(this._request.xhr.abort(),void o.prototype.destroy.call(this)):void o.prototype.destroy.call(this)},r._createRequest=function(){return s.create({url:this.src,method:"GET",timeout:this.options.timeout,responseType:this.options.responseType})},r._load=function(){this._request.send().then(this._onLoad)["catch"](this._onError)},r._onLoad=function(t){this.data=this.data||t.response,this._request=null,o.prototype._onLoad.call(this)},e.exports=n},{"../Asset":7,"@marcom/ac-ajax":2,"@marcom/ac-object/defaults":285}],12:[function(t,e,i){"use strict";function n(t,e){var i=o(e||{},a);s.call(this,t,i)}var r,s=t("../XHR"),o=t("@marcom/ac-object/extend"),a={responseType:"arraybuffer"};r=n.prototype=Object.create(s.prototype),e.exports=n},{"../XHR":11,"@marcom/ac-object/extend":286}],13:[function(t,e,i){"use strict";function n(t,e){s.apply(this,arguments)}var r,s=t("../XHR");r=n.prototype=Object.create(s.prototype),r._onLoad=function(t){try{this.data=JSON.parse(t.response||t.responseText)}catch(e){this._onError(e)}s.prototype._onLoad.call(this,t)},e.exports=n},{"../XHR":11}],14:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Promise");var n=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,r=t("@marcom/ac-object/defaults"),s=t("./utils/enqueueAsset"),o=t("./utils/selectQueue"),a=t("./queue"),c={failFast:!0,privateQueue:!1,privateQueueThreads:a.DEFAULT_THREADS},l=function(t,e){n.call(this),this.options=r(c,e||{}),this._onGroupError=this._onGroupError.bind(this),this._onAssetError=this._onAssetError.bind(this),this._onScheduled=this._onScheduled.bind(this),this._onProgress=this._onProgress.bind(this),this._onComplete=this._onComplete.bind(this),this.errors=[],this._queue=o(this.options.privateQueue,this.options.privateQueueThreads),this._assets=[].concat(t),this._loaded=[],this._errored=[],this._enqueued=[],this._dequeued=[],this._pending=[],this._isRunning=!1,this._isComplete=!1,this._isErrored=!1,this._destroyPending=!1},h=l.prototype=Object.create(n.prototype);h.load=function(){var t=this._assets.map(function(t){var e={asset:t,success:this._onProgress,failure:this._onAssetError,scheduled:this._onScheduled},i=s(this._queue,e,this.options.failFast);return this._enqueued.push(i),i.promise},this);Promise.all(t).then(this._onComplete)["catch"](this._onGroupError),this._isRunning=!0,this._queue.start();var e=new Promise(function(t,e){this.once("load",t),this.options.failFast&&this.once("error",t)}.bind(this));return e},h.isRunning=function(){return this._isRunning},h.count=function(){return this._enqueued.length},h.pending=function(){return this._pending.length},h.loadedCount=function(){return this._loaded.length},h.isComplete=function(){return this._isComplete},h.isErrored=function(){return this._isErrored},h.pause=function(){this.isComplete()||this.isErrored()||!this.isRunning()||(this._dequeueItems(),this._pauseAssets(),this._isRunning=!1)},h.resume=function(){this.isComplete()||this.isErrored()||this.isRunning()||this._destroyPending||(this._reenqueueItems(),this._resumeAssets(),this._isRunning=!0)},h.destroy=function(){this._destroyPending||(n.prototype.destroy.call(this),this.pause(),this._destroyPending=!0,this._assets.forEach(function(t){t.destroy()}),0===this.pending()&&this._destroy())},h.trigger=function(){this._destroyPending||n.prototype.trigger.apply(this,arguments)},h._destroy=function(){this.privateQueue&&(this._queue.destroy(),this._queue=null,this.options.privateQueue=null),this.errors=null,this._assets=null,this._loaded=null,this._errored=null,this._enqueued=null,this._dequeued=null,this._pending=null},h._pauseAssets=function(){this._assets.forEach(function(t){"function"==typeof t.pause&&t.pause()})},h._resumeAssets=function(){this._assets.forEach(function(t){"function"==typeof t.resume&&t.resume()})},h._onProgress=function(t){if(!this.isErrored()){var e=this._pending.indexOf(t),i=this._pending.splice(e,1)[0];if(i&&"loaded"===i.asset.status&&this._loaded.push(i.asset),this._destroyPending)return void(0===this.pending()&&this._destroy());var n=this._makeDataObject(t.asset);this.trigger("progress",n)}},h._onScheduled=function(t){var e=this._enqueued.indexOf(t);e>-1&&(this._enqueued.splice(e,1),this._pending.push(t))},h._onComplete=function(t){this._isRunning=!1,this._isComplete=!0;var e=this._makeDataObject(this._loaded[this._loaded.length-1]);this.trigger("load",e)},h._onAssetError=function(t){this.errors.push(t.error),this._errored.push(t);var e=this._pending.indexOf(t);this._pending.splice(e,1);var i=this._makeDataObject(t.asset);this.trigger("error",i)},h._onGroupError=function(t){this.options.failFast&&(this.pause(),this._isErrored=!0,this._isRunning=!1,this._isComplete=!1)},h._makeDataObject=function(t){var e=this.errors.length;this.errors.map(function(t){return this._assets.indexOf(t)},this);return{latest:t,assets:this._assets,error:!!(e>0),errored:this.errors}},h._dequeueItems=function(){this._enqueued.forEach(function(t){this._queue.dequeueQueueItem(t.queueItem),this._dequeued.push(t)},this),this._enqueued=[]},h._reenqueueItems=function(){this._dequeued.forEach(function(t){this._queue.enqueueQueueItem(t.queueItem),this._enqueued.push(t)},this),this._dequeued=[]},e.exports=l},{"./queue":19,"./utils/enqueueAsset":20,"./utils/selectQueue":21,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/defaults":285,"@marcom/ac-polyfills/Promise":void 0}],15:[function(t,e,i){e.exports.assetLoader=t("./assetLoader"),e.exports.types=t("./assetTypes"),e.exports.AssetGroup=t("./AssetGroup"),e.exports.createAsset=t("./createAsset")},{"./AssetGroup":14,"./assetLoader":16,"./assetTypes":17,"./createAsset":18}],16:[function(t,e,i){"use strict";function n(t,e){return t=[].concat(t),t.map(function(t){return c(t,e)})}function r(t,e){var i=h(e||{});return i.privateQueue=l(i.privateQueue,i.privateQueueThreads),t=n(t,i.privateQueue),new o(t,i)}var s=t("./queue"),o=t("./AssetGroup"),a=t("./assetTypes"),c=t("./createAsset"),l=t("./utils/selectQueue"),h=t("@marcom/ac-object/clone");e.exports={count:function(){return s.getInstance().count()},pending:function(){return s.getInstance().pending()},pause:function(){return s.getInstance().pause()},stop:function(){return s.getInstance().stop()},clear:function(){return s.getInstance().clear()},isEmpty:function(){return s.getInstance().isEmpty()},load:function(t,e){var i=r(t,e);return i.load()},resume:function(){return s.getInstance().start()},setThreads:function(t){s.setThreads(t)},createAssets:function(t,e){return n(t,e)},createAssetGroup:function(t,e){return r(t,e)},types:a}},{"./AssetGroup":14,"./assetTypes":17,"./createAsset":18,"./queue":19,"./utils/selectQueue":21,"@marcom/ac-object/clone":283}],17:[function(t,e,i){"use strict";var n=t("./Asset/XHR"),r=t("./Asset/SplitFile"),s=t("./Asset/Img"),o=t("./Asset/Video"),a=t("./Asset/XHR/ArrayBuffer"),c=t("./Asset/XHR/JSON");e.exports={XHR_ASSET:n,JSON_ASSET:c,SPLITFILE_ASSET:r,IMG_ASSET:s,VIDEO_ASSET:o,ARRAY_BUFFER_ASSET:a}},{"./Asset/Img":8,"./Asset/SplitFile":9,"./Asset/Video":10,"./Asset/XHR":11,"./Asset/XHR/ArrayBuffer":12,"./Asset/XHR/JSON":13}],18:[function(t,e,i){"use strict";function n(t){return t=t.replace(/([?#].*)$/,""),o[t.split(".").pop()]}var r=t("./assetTypes"),s=t("./Asset"),o={txt:r.XHR_ASSET,xml:r.XHR_ASSET,csv:r.XHR_ASSET,json:r.JSON_ASSET,png:r.IMG_ASSET,jpg:r.IMG_ASSET,gif:r.IMG_ASSET,svg:r.IMG_ASSET,splitfile:r.SPLITFILE_ASSET};e.exports=function(t,e){var i={};return s.prototype.isPrototypeOf(t)?src:("string"==typeof t&&(i.src=t,i.type=n(t)),"object"==typeof t&&(i=t,"string"==typeof i.type&&(i.type=n(i.type)),i.type||(i.type=n(i.src))),i.options||(i.options={}),e&&(i.options.queue=e),new i.type(i.src,i.options))}},{"./Asset":7,"./assetTypes":17}],19:[function(t,e,i){"use strict";function n(t){return t=t||c,new a(t)}function r(t){return t=t||l,o||(o=n(t)),o}function s(t){l=t}var o,a=t("@marcom/ac-queue").LiveQueue,c=4,l=c;e.exports={getInstance:function(t){return r(t)},setThreads:function(t){s(t)},newInstance:function(t){return n(t)},isLiveQueue:function(t){return t instanceof a},DEFAULT_THREADS:c}},{"@marcom/ac-queue":315}],20:[function(t,e,i){"use strict";function n(t,e){"function"==typeof t[e]&&t[e](t)}t("@marcom/ac-polyfills/Promise"),e.exports=function(t,e,i){var r=function(t,n){e.scheduled(e),e.asset.once("loaded",function(i){t(e)}),e.asset.once("error",function(r){return i?n(r):void t(e)}),e.asset.load()},s=function(){return new Promise(r)},o=new Promise(function(t,r){e.asset.once("loaded",function(i){n(e,"success"),t(i)}),e.asset.once("error",function(s){return e.error=s,n(e,"failure"),i?r(s):void t(e)})});return e.queueItem=t.enqueue(s,e.asset.priority),e.promise=o,e}},{"@marcom/ac-polyfills/Promise":void 0}],21:[function(t,e,i){"use strict";var n=t("../queue");e.exports=function(t,e){return e=e||n.DEFAULT_THREADS,n.isLiveQueue(t)?t:t===!0?n.newInstance(e):n.getInstance()}},{"../queue":19}],22:[function(t,e,i){"use strict";e.exports={BreakpointsDelegate:t("./ac-breakpoints-delegate/BreakpointsDelegate")}},{"./ac-breakpoints-delegate/BreakpointsDelegate":23}],23:[function(t,e,i){"use strict";function n(t){this._customEvent=new a(h,this._onBreakpointListenerAdded.bind(this),this._onBreakpointListenerRemoved.bind(this)),this.setBreakpoints(m)}var r=t("@marcom/ac-shared-instance").SharedInstance,s=t("@marcom/ac-object"),o=t("@marcom/ac-window-delegate").WindowDelegate,a=t("@marcom/ac-window-delegate").WindowDelegateCustomEvent,c=(t("@marcom/ac-event-emitter").EventEmitter,"ac-breakpoints-delegate:BreakpointsDelegate"),l="2.1.1",h="breakpoint",u="resize orientationchange",m={large:{"min-width":1069,"max-width":1441,content:980,oldie:!0},xlarge:{"min-width":1442,content:980},medium:{"min-width":736,"max-width":1068,content:692},small:{"min-width":320,"max-width":735,content:288,"max-device-width":768}},d={minWidth:"min-width",maxWidth:"max-width",maxDeviceWidth:"max-device-width",content:"content",oldIE:"oldie"},p=n.prototype;p.initialize=function(){this._breakpoint=null,this._lastBreakpoint=null,this._handleOldIE(),this._breakpointOrder=this._setBreakpointOrder(),this._isOldIE||this._handleResize()},p.getCustomEvent=function(){return this._customEvent},p.getBreakpoint=function(){return this._customEvent.active||this._handleResize(),this._breakpoint},p.setBreakpoints=function(t){this.breakpoints=s.clone(t),this.initialize()},p._handleResize=function(){var t,e,i,n,r=o.clientWidth(),s=this._breakpointOrder.length;for(e=0;e<s&&(i=this._breakpointOrder[e],n=this.breakpoints[i],!(n._breakPosition>r));e++);return e>0&&(e-=1),t=this.breakpoints[this._breakpointOrder[e]],this._breakpoint?void(t.name!==this._breakpoint.name&&(this._lastBreakpoint=this._breakpoint,this._breakpoint=t,o.trigger(h,{incoming:this._breakpoint,outgoing:this._lastBreakpoint}))):void(this._breakpoint=t)},p._setBreakpointOrder=function(){var t,e=0,i=[],n=[],r=d.minWidth;for(t in this.breakpoints)this.breakpoints.hasOwnProperty(t)&&(this.breakpoints[t].name=t,i.push(this.breakpoints[t][r]));return i.sort(function(t,e){return t-e}),i.forEach(function(t){var e;for(e in this.breakpoints)this.breakpoints.hasOwnProperty(e)&&this.breakpoints[e][r]===t&&n.push(e)},this),n.forEach(function(t,i){this.breakpoints[t]._breakPosition=e,n[i+1]&&(e=this.breakpoints[n[i+1]][r])},this),n},p._handleOldIE=function(){var t=document.documentElement,e=d.oldIE;if(!(t.className.indexOf("no-"+e)>-1||t.className.indexOf(e)===-1)){this._isOldIE=!0,this._replaceBreakpoints(function(t){return t[e]===!0});var i;for(i in this.breakpoints)if(this.breakpoints.hasOwnProperty(i))return void(this._breakpoint=this.breakpoints[i])}},p._replaceBreakpoints=function(t){var e,i,n={};for(e in this.breakpoints)this.breakpoints.hasOwnProperty(e)&&(i=this.breakpoints[e],t(i)&&(n[e]=s.clone(this.breakpoints[e])));this.breakpoints=n},p._onBreakpointListenerAdded=function(){o.on(u,this._handleResize,this)},p._onBreakpointListenerRemoved=function(){o.off(u,this._handleResize,this)},e.exports=r.share(c,l,n)},{"@marcom/ac-event-emitter":172,"@marcom/ac-object":282,"@marcom/ac-shared-instance":330,"@marcom/ac-window-delegate":353}],24:[function(t,e,i){"use strict";var n=function(){function t(t){for(var e=0;e<c.length;e++){var n=i[e]+t;if(void 0!==a.style[n])return n}}function e(t){for(var e=0;e<l.length;e++){var i=l[e]+t;if(void 0!==a.style[i])return i}}var i=["","-webkit-","-moz-","-o-","-ms-"],n={"animation-delay":"transitionend","-o-animation-delay":"oTransitionEnd","-moz-animation-delay":"transitionend","-webkit-animation-delay":"webkitTransitionEnd","-ms-animation-delay":"transitionend"},r={"animation-delay":"animationstart","-o-animation-delay":"oanimationstart","-moz-animation-delay":"animationstart","-webkit-animation-delay":"webkitAnimationStart","-ms-animation-delay":"MSAnimationStart"},s={"animation-delay":"animationiteration","-o-animation-delay":"oanimationiteration","-moz-animation-delay":"animationiteration","-webkit-animation-delay":"webkitAnimationIteration","-ms-animation-delay":"MSAnimationIteration"},o={"animation-delay":"animationend","-o-animation-delay":"oanimationend","-moz-animation-delay":"animationend","-webkit-animation-delay":"webkitAnimationEnd","-ms-animation-delay":"MSAnimationEnd"},a=document.createElement("_"),c=["","-webkit-","-moz-","-o-","-ms-"],l=["-webkit-","","-moz-","-o-","-ms-"];return{filter:e("filter"),transform:t("transform"),transformOrigin:t("transform-origin"),transition:t("transition"),transitionDelay:t("transition-delay"),transitionDuration:t("transition-duration"),transitionProperty:t("transition-property"),transitionTimingFunction:t("transition-timing-function"),transitionEnd:n[t("animation-delay")],animation:t("animation"),animationDelay:t("animation-delay"),animationDirection:t("animation-direction"),animationDuration:t("animation-duration"),animationFillMode:t("animation-fill-mode"),animationIterationCount:t("animation-iteration-count"),animationName:t("animation-name"),animationTimingFunction:t("animation-timing-function"),animationPlayState:t("animation-play-state"),animationStart:r[t("animation-delay")],animationIteration:s[t("animation-delay")],animationEnd:o[t("animation-delay")]}}();e.exports=n},{}],25:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.slice"),t("@marcom/ac-polyfills/Element/prototype.classList");var n=t("./className/add");e.exports=function(){var t,e=Array.prototype.slice.call(arguments),i=e.shift(e);if(i.classList&&i.classList.add)return void i.classList.add.apply(i.classList,e);for(t=0;t<e.length;t++)n(i,e[t])}},{"./className/add":27,"@marcom/ac-polyfills/Array/prototype.slice":void 0,"@marcom/ac-polyfills/Element/prototype.classList":void 0}],26:[function(t,e,i){"use strict";e.exports={add:t("./className/add"),contains:t("./className/contains"),remove:t("./className/remove")}},{"./className/add":27,"./className/contains":28,"./className/remove":30}],27:[function(t,e,i){"use strict";var n=t("./contains");e.exports=function(t,e){n(t,e)||(t.className+=" "+e)}},{"./contains":28}],28:[function(t,e,i){"use strict";var n=t("./getTokenRegExp");e.exports=function(t,e){return n(e).test(t.className)}},{"./getTokenRegExp":29}],29:[function(t,e,i){"use strict";e.exports=function(t){return new RegExp("(\\s|^)"+t+"(\\s|$)")}},{}],30:[function(t,e,i){"use strict";var n=t("./contains"),r=t("./getTokenRegExp");e.exports=function(t,e){n(t,e)&&(t.className=t.className.replace(r(e),"$1").trim())}},{"./contains":28,"./getTokenRegExp":29}],31:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Element/prototype.classList");var n=t("./className/contains");e.exports=function(t,e){return t.classList&&t.classList.contains?t.classList.contains(e):n(t,e)}},{"./className/contains":28,"@marcom/ac-polyfills/Element/prototype.classList":void 0}],32:[function(t,e,i){"use strict";e.exports={add:t("./add"),contains:t("./contains"),remove:t("./remove"),toggle:t("./toggle")}},{"./add":25,"./contains":31,"./remove":33,"./toggle":34}],33:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.slice"),t("@marcom/ac-polyfills/Element/prototype.classList");var n=t("./className/remove");e.exports=function(){var t,e=Array.prototype.slice.call(arguments),i=e.shift(e);if(i.classList&&i.classList.remove)return void i.classList.remove.apply(i.classList,e);for(t=0;t<e.length;t++)n(i,e[t])}},{"./className/remove":30,"@marcom/ac-polyfills/Array/prototype.slice":void 0,"@marcom/ac-polyfills/Element/prototype.classList":void 0}],34:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Element/prototype.classList");var n=t("./className");e.exports=function(t,e,i){var r,s="undefined"!=typeof i;return t.classList&&t.classList.toggle?s?t.classList.toggle(e,i):t.classList.toggle(e):(r=s?!!i:!n.contains(t,e),r?n.add(t,e):n.remove(t,e),r)}},{"./className":26,"@marcom/ac-polyfills/Element/prototype.classList":void 0}],35:[function(t,e,i){"use strict";e.exports={EventEmitterMicro:t("./ac-event-emitter-micro/EventEmitterMicro")}},{"./ac-event-emitter-micro/EventEmitterMicro":36}],36:[function(t,e,i){"use strict";function n(){this._events={}}var r=n.prototype;r.on=function(t,e){this._events[t]=this._events[t]||[],this._events[t].unshift(e)},r.once=function(t,e){function i(r){n.off(t,i),void 0!==r?e(r):e()}var n=this;this.on(t,i)},r.off=function(t,e){if(this.has(t)){var i=this._events[t].indexOf(e);i!==-1&&this._events[t].splice(i,1)}},r.trigger=function(t,e){if(this.has(t))for(var i=this._events[t].length-1;i>=0;i--)void 0!==e?this._events[t][i](e):this._events[t][i]()},r.has=function(t){return t in this._events!=!1&&0!==this._events[t].length},r.destroy=function(){for(var t in this._events)this._events[t]=null;this._events=null},e.exports=n},{}],37:[function(t,e,i){"use strict";e.exports={Clip:t("./ac-clip/Clip")}},{"./ac-clip/Clip":38}],38:[function(t,e,i){"use strict";function n(t,e,i,r){r=r||{},this._options=r,this._isYoyo=r.yoyo,this._direction=1,this._timeScale=1,this._loop=r.loop||0,this._loopCount=0,this._target=t,this.duration(e),this._delay=1e3*(r.delay||0),this._remainingDelay=this._delay,this._progress=0,this._clock=r.clock||o,this._playing=!1,this._getTime=Date.now||function(){return(new Date).getTime()},this._propsTo=i||{},this._propsFrom=r.propsFrom||{},this._onStart=r.onStart||null,this._onUpdate=r.onUpdate||null,this._onDraw=r.onDraw||null,this._onComplete=r.onComplete||null;var h=r.ease||l;this._ease="function"==typeof h?new a(h):s(h),this._start=this._start.bind(this),this._update=this._update.bind(this),this._draw=this._draw.bind(this),this._isPrepared=!1,n._add(this),c.call(this)}t("@marcom/ac-polyfills/Array/isArray");var r=t("@marcom/ac-object/create"),s=t("@marcom/ac-easing").createPredefined,o=t("@marcom/ac-clock"),a=t("@marcom/ac-easing").Ease,c=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,l="ease",h=n.prototype=r(c.prototype);n.COMPLETE="complete",n.PAUSE="pause",n.PLAY="play",h.play=function(){return this._playing||(this._playing=!0,0===this._delay||0===this._remainingDelay?this._start():(this._isPrepared||(this._setDiff(),this._updateProps()),this._startTimeout=setTimeout(this._start,this._remainingDelay/this._timeScale),this._delayStart=this._getTime())),this},h.pause=function(){
return this._playing&&(this._startTimeout&&(this._remainingDelay=this._getTime()-this._delayStart,clearTimeout(this._startTimeout)),this._stop(),this.trigger(n.PAUSE,this)),this},h.destroy=function(){return this.pause(),this._options=null,this._target=null,this._storeTarget=null,this._ease=null,this._clock=null,this._propsTo=null,this._propsFrom=null,this._storePropsTo=null,this._storePropsFrom=null,this._propsDiff=null,this._propsEase=null,this._onStart=null,this._onUpdate=null,this._onDraw=null,this._onComplete=null,n._remove(this),c.prototype.destroy.call(this),this},h.reset=function(){if(this._isPrepared)return this._stop(),this._resetLoop(this._target,this._storeTarget),this._direction=1,this._loop=this._options.loop||0,this._loopCount=0,this._propsFrom=this._storePropsFrom,this._propsTo=this._storePropsTo,this._progress=0,this._setStartTime(),this._onUpdate&&this._onUpdate.call(this,this),this._onDraw&&this._onDraw.call(this,this),this},h.playing=function(){return this._playing},h.target=function(){return this._target},h.duration=function(t){return void 0!==t&&(this._duration=t,this._durationMs=1e3*t/this._timeScale,this._playing&&this._setStartTime()),this._duration},h.timeScale=function(t){return void 0!==t&&(this._timeScale=t,this.duration(this._duration)),this._timeScale},h.currentTime=function(t){return void 0!==t?this.progress(t/this._duration)*this._duration:this.progress()*this._duration},h.progress=function(t){return void 0!==t&&(this._progress=Math.min(1,Math.max(0,t)),this._setStartTime(),this._isPrepared||this._setDiff(),this._playing&&1===t?(this._completeProps(),this._onUpdate&&this._onUpdate.call(this,this),this._onDraw&&this._onDraw.call(this,this),this._complete()):(this._updateProps(),this._onUpdate&&this._onUpdate.call(this,this),this._onDraw&&this._onDraw.call(this,this))),this._progress},h._resetLoop=function(t,e){var i;for(i in e)e.hasOwnProperty(i)&&null!==e[i]&&("object"==typeof e[i]?this._resetLoop(t[i],e[i]):t[i]=e[i])},h._cloneObjects=function(){var t={},e={},i={};return this._cloneObjectsLoop(this._target,this._propsTo,this._propsFrom,t,e,i),{target:t,propsTo:e,propsFrom:i}},h._cloneObjectsLoop=function(t,e,i,n,r,s){var o,a;for(a in i)i.hasOwnProperty(a)&&void 0===e[a]&&void 0!==t[a]&&(n[a]=t[a],r[a]=t[a],s[a]=i[a]);for(a in e)t.hasOwnProperty(a)&&(o=typeof t[a],null!==t[a]&&"object"===o?(Array.isArray(t[a])?(n[a]=[],r[a]=[],s[a]=[]):(n[a]={},r[a]={},s[a]={}),this._cloneObjectsLoop(t[a],e[a]||{},i[a]||{},n[a],r[a],s[a])):null!==e[a]&&"number"===o&&(n[a]=t[a],r[a]=e[a],i&&void 0!==i[a]&&(s[a]=i[a])))},h._prepareProperties=function(){if(!this._isPrepared){var t=this._cloneObjects();this._storeTarget=t.target,this._propsTo=t.propsTo,this._storePropsTo=this._propsTo,this._propsFrom=t.propsFrom,this._storePropsFrom=this._propsFrom,this._isPrepared=!0}},h._setStartTime=function(){this._startTime=this._getTime()-this.progress()*this._durationMs},h._setDiff=function(){this._isPrepared||this._prepareProperties(),this._propsDiff={},this._setDiffLoop(this._propsTo,this._propsFrom,this._target,this._propsDiff)},h._setDiffLoop=function(t,e,i,n){var r,s;for(s in t)t.hasOwnProperty(s)&&(r=typeof t[s],null!==t[s]&&"object"===r?(e[s]=e[s]||{},n[s]=n[s]||{},this._setDiffLoop(t[s],e[s],i[s],n[s])):"number"===r&&void 0!==i[s]?(void 0!==e[s]?i[s]=e[s]:e[s]=i[s],n[s]=t[s]-i[s]):(t[s]=null,e[s]=null))},h._start=function(){this._startTimeout=null,this._remainingDelay=0,this._setStartTime(),this._clock.on("update",this._update),this._clock.on("draw",this._draw),this._clock.isRunning()||this._clock.start(),this._setDiff(),this._playing=!0,this._running=!0,this._onStart&&this._onStart.call(this,this),this.trigger(n.PLAY,this)},h._stop=function(){this._playing=!1,this._running=!1,this._clock.off("update",this._update),this._clock.off("draw",this._draw)},h._updateProps=function(){var t;t=1===this._direction?this._ease.getValue(this._progress):1-this._ease.getValue(1-this._progress),this._updatePropsLoop(this._propsTo,this._propsFrom,this._target,this._propsDiff,t)},h._updatePropsLoop=function(t,e,i,n,r){var s;for(s in t)t.hasOwnProperty(s)&&null!==t[s]&&("number"!=typeof t[s]?this._updatePropsLoop(t[s],e[s],i[s],n[s],r):i[s]=e[s]+n[s]*r)},h._completeProps=function(){this._completePropsLoop(this._propsTo,this._target)},h._completePropsLoop=function(t,e){var i;for(i in t)t.hasOwnProperty(i)&&null!==t[i]&&("number"!=typeof t[i]?this._completePropsLoop(t[i],e[i]):e[i]=t[i])},h._complete=function(){this._isYoyo&&(this._loop>0&&this._loopCount<=this._loop||0===this._loop&&0===this._loopCount)?(this._propsFrom=1===this._direction?this._storePropsTo:this._storePropsFrom,this._propsTo=1===this._direction?this._storePropsFrom:this._storePropsTo,this._direction*=-1,this._direction===-1&&++this._loopCount,this.progress(0),this._start()):this._loopCount<this._loop?(++this._loopCount,this.progress(0),this._start()):(this.trigger(n.COMPLETE,this),this._onComplete&&this._onComplete.call(this,this),this._options&&this._options.destroyOnComplete&&this.destroy())},h._update=function(t){this._running&&(this._progress=(t.timeNow-this._startTime)/this._durationMs,this._progress>=1?(this._progress=1,this._running=!1,this._completeProps()):this._updateProps(),this._onUpdate&&this._onUpdate.call(this,this))},h._draw=function(t){this._onDraw&&this._onDraw.call(this,this),this._running||(this._stop(),1===this._progress&&this._complete())},n._instantiate=function(){return this._clips=[],this},n._add=function(t){this._clips.push(t)},n._remove=function(t){var e=this._clips.indexOf(t);e>-1&&this._clips.splice(e,1)},n.getAll=function(t){if(void 0!==t){for(var e=[],i=this._clips.length;i--;)this._clips[i].target()===t&&e.push(this._clips[i]);return e}return Array.prototype.slice.call(this._clips)},n.destroyAll=function(t){var e=this.getAll(t);this._clips.length===e.length&&(this._clips=[]);for(var i=e.length;i--;)e[i].destroy();return e},n.to=function(t,e,i,r){return r=r||{},void 0===r.destroyOnComplete&&(r.destroyOnComplete=!0),new n(t,e,i,r).play()},n.from=function(t,e,i,r){return r=r||{},r.propsFrom=i,void 0===r.destroyOnComplete&&(r.destroyOnComplete=!0),new n(t,e,r.propsTo,r).play()},e.exports=n._instantiate()},{"@marcom/ac-clock":39,"@marcom/ac-easing":130,"@marcom/ac-event-emitter-micro":35,"@marcom/ac-object/create":284,"@marcom/ac-polyfills/Array/isArray":void 0}],39:[function(t,e,i){var n=t("./ac-clock/Clock"),r=t("./ac-clock/ThrottledClock"),s=t("./ac-clock/sharedClockInstance");s.Clock=n,s.ThrottledClock=r,e.exports=s},{"./ac-clock/Clock":40,"./ac-clock/ThrottledClock":41,"./ac-clock/sharedClockInstance":42}],40:[function(t,e,i){"use strict";function n(){s.call(this),this.lastFrameTime=null,this._animationFrame=null,this._active=!1,this._startTime=null,this._boundOnAnimationFrame=this._onAnimationFrame.bind(this),this._getTime=Date.now||function(){return(new Date).getTime()}}t("@marcom/ac-polyfills/Function/prototype.bind"),t("@marcom/ac-polyfills/requestAnimationFrame");var r,s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro;(new Date).getTime();r=n.prototype=new s(null),r.start=function(){this._active||this._tick()},r.stop=function(){this._active&&window.cancelAnimationFrame(this._animationFrame),this._animationFrame=null,this.lastFrameTime=null,this._active=!1},r.destroy=function(){this.stop(),this.off();var t;for(t in this)this.hasOwnProperty(t)&&(this[t]=null)},r.isRunning=function(){return this._active},r._tick=function(){this._active||(this._active=!0),this._animationFrame=window.requestAnimationFrame(this._boundOnAnimationFrame)},r._onAnimationFrame=function(t){null===this.lastFrameTime&&(this.lastFrameTime=t);var e=t-this.lastFrameTime,i=0;if(e>=1e3&&(e=0),0!==e&&(i=1e3/e),this._firstFrame===!0&&(e=0,this._firstFrame=!1),0===i)this._firstFrame=!0;else{var n={time:t,delta:e,fps:i,naturalFps:i,timeNow:this._getTime()};this.trigger("update",n),this.trigger("draw",n)}this._animationFrame=null,this.lastFrameTime=t,this._active!==!1?this._tick():this.lastFrameTime=null},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-polyfills/Function/prototype.bind":void 0,"@marcom/ac-polyfills/requestAnimationFrame":void 0}],41:[function(t,e,i){"use strict";function n(t,e){null!==t&&(o.call(this),e=e||{},this._fps=t||null,this._clock=e.clock||s,this._lastThrottledTime=null,this._clockEvent=null,this._boundOnClockDraw=this._onClockDraw.bind(this),this._boundOnClockUpdate=this._onClockUpdate.bind(this),this._clock.on("update",this._boundOnClockUpdate))}t("@marcom/ac-polyfills/requestAnimationFrame");var r,s=t("./sharedClockInstance"),o=t("@marcom/ac-event-emitter-micro").EventEmitterMicro;r=n.prototype=new o(null),r.setFps=function(t){return this._fps=t,this},r.getFps=function(){return this._fps},r.start=function(){return this._clock.start(),this},r.stop=function(){return this._clock.stop(),this},r.isRunning=function(){return this._clock.isRunning()},r.destroy=function(){this._clock.off("update",this._boundOnClockUpdate),this._clock.destroy.call(this)},r._onClockUpdate=function(t){null===this._lastThrottledTime&&(this._lastThrottledTime=this._clock.lastFrameTime);var e=t.time-this._lastThrottledTime;if(!this._fps)throw new TypeError("FPS is not defined.");Math.ceil(1e3/e)>=this._fps+2||(this._clockEvent=t,this._clockEvent.delta=e,this._clockEvent.fps=1e3/e,this._lastThrottledTime=this._clockEvent.time,this._clock.once("draw",this._boundOnClockDraw),this.trigger("update",this._clockEvent))},r._onClockDraw=function(){this.trigger("draw",this._clockEvent)},e.exports=n},{"./sharedClockInstance":42,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-polyfills/requestAnimationFrame":void 0}],42:[function(t,e,i){"use strict";var n=t("./Clock");e.exports=new n},{"./Clock":40}],43:[function(t,e,i){"use strict";var n=t("./ac-color/Color");n.decimalToHex=t("./ac-color/static/decimalToHex"),n.hexToDecimal=t("./ac-color/static/hexToDecimal"),n.hexToRgb=t("./ac-color/static/hexToRgb"),n.isColor=t("./ac-color/static/isColor"),n.isHex=t("./ac-color/static/isHex"),n.isRgb=t("./ac-color/static/isRgb"),n.isRgba=t("./ac-color/static/isRgba"),n.mixColors=t("./ac-color/static/mixColors"),n.rgbaToArray=t("./ac-color/static/rgbaToArray"),n.rgbToArray=t("./ac-color/static/rgbToArray"),n.rgbToDecimal=t("./ac-color/static/rgbToDecimal"),n.rgbToHex=t("./ac-color/static/rgbToHex"),n.rgbToHsl=t("./ac-color/static/rgbToHsl"),n.rgbToHsv=t("./ac-color/static/rgbToHsv"),n.rgbaToObject=t("./ac-color/static/rgbaToObject"),n.rgbToObject=t("./ac-color/static/rgbToObject"),n.shortToLongHex=t("./ac-color/static/shortToLongHex"),e.exports={Color:n}},{"./ac-color/Color":44,"./ac-color/static/decimalToHex":46,"./ac-color/static/hexToDecimal":47,"./ac-color/static/hexToRgb":48,"./ac-color/static/isColor":49,"./ac-color/static/isHex":50,"./ac-color/static/isRgb":51,"./ac-color/static/isRgba":52,"./ac-color/static/mixColors":53,"./ac-color/static/rgbToArray":54,"./ac-color/static/rgbToDecimal":55,"./ac-color/static/rgbToHex":56,"./ac-color/static/rgbToHsl":57,"./ac-color/static/rgbToHsv":58,"./ac-color/static/rgbToObject":59,"./ac-color/static/rgbaToArray":60,"./ac-color/static/rgbaToObject":61,"./ac-color/static/shortToLongHex":62}],44:[function(t,e,i){"use strict";function n(t){if(!o(t)&&!r.nameToRgbObject[t])throw new Error(t+" is not a supported color.");this._setColor(t)}var r=t("./helpers/cssColorNames"),s=t("./static/hexToRgb"),o=t("./static/isColor"),a=t("./static/isHex"),c=t("./static/isRgba"),l=t("./static/mixColors"),h=t("./static/rgbaToArray"),u=t("./static/rgbToArray"),m=t("./static/rgbToDecimal"),d=t("./static/rgbToHex"),p=t("./static/rgbaToObject"),f=t("./static/rgbToObject"),_=t("./static/shortToLongHex"),g=n.prototype;g._setColor=function(t){if(this._color={},a(t))this._color.hex=_(t),this._color.rgb={color:s(t)};else if(c(t)){this._color.rgba={color:t};var e=this.rgbaObject();this._color.rgb={color:"rgb("+e.r+", "+e.g+", "+e.b+")"}}else if(r.nameToRgbObject[t]){var i=r.nameToRgbObject[t];this._color.rgb={object:i,color:"rgb("+i.r+", "+i.g+", "+i.b+")"}}else this._color.rgb={color:t}},g.rgb=function(){return this._color.rgb.color},g.rgba=function(){if(void 0===this._color.rgba){var t=this.rgbObject();this._color.rgba={color:"rgba("+t.r+", "+t.g+", "+t.b+", 1)"}}return this._color.rgba.color},g.hex=function(){return void 0===this._color.hex&&(this._color.hex=d.apply(this,this.rgbArray())),this._color.hex},g.decimal=function(){return void 0===this._color.decimal&&(this._color.decimal=m(this.rgb())),this._color.decimal},g.cssName=function(){return r.rgbToName[this.rgb()]||null},g.rgbArray=function(){return void 0===this._color.rgb.array&&(this._color.rgb.array=u(this.rgb())),this._color.rgb.array},g.rgbaArray=function(){return void 0===this._color.rgba&&this.rgba(),void 0===this._color.rgba.array&&(this._color.rgba.array=h(this.rgba())),this._color.rgba.array},g.rgbObject=function(){return void 0===this._color.rgb.object&&(this._color.rgb.object=f(this.rgb())),this._color.rgb.object},g.rgbaObject=function(){return void 0===this._color.rgba&&this.rgba(),void 0===this._color.rgba.object&&(this._color.rgba.object=p(this.rgba())),this._color.rgba.object},g.getRed=function(){return this.rgbObject().r},g.getGreen=function(){return this.rgbObject().g},g.getBlue=function(){return this.rgbObject().b},g.getAlpha=function(){return void 0===this._color.rgba?1:this.rgbaObject().a},g.setRed=function(t){return t!==this.getRed()&&this._setColor("rgba("+t+", "+this.getGreen()+", "+this.getBlue()+", "+this.getAlpha()+")"),this.rgbObject().r},g.setGreen=function(t){return t!==this.getGreen()&&this._setColor("rgba("+this.getRed()+", "+t+", "+this.getBlue()+", "+this.getAlpha()+")"),this.rgbObject().g},g.setBlue=function(t){return t!==this.getBlue()&&this._setColor("rgba("+this.getRed()+", "+this.getGreen()+", "+t+", "+this.getAlpha()+")"),this.rgbObject().b},g.setAlpha=function(t){return t!==this.getAlpha()&&this._setColor("rgba("+this.getRed()+", "+this.getGreen()+", "+this.getBlue()+", "+t+")"),this.rgbaObject().a},g.mix=function(t,e){var i=f(l(this.rgb(),t,e));return this._setColor("rgba("+i.r+", "+i.g+", "+i.b+", "+this.getAlpha()+")"),this.rgb()},g.clone=function(){return new n(this.rgb())},e.exports=n},{"./helpers/cssColorNames":45,"./static/hexToRgb":48,"./static/isColor":49,"./static/isHex":50,"./static/isRgba":52,"./static/mixColors":53,"./static/rgbToArray":54,"./static/rgbToDecimal":55,"./static/rgbToHex":56,"./static/rgbToObject":59,"./static/rgbaToArray":60,"./static/rgbaToObject":61,"./static/shortToLongHex":62}],45:[function(t,e,i){"use strict";var n={"rgb(240, 248, 255)":"aliceblue","rgb(250, 235, 215)":"antiquewhite","rgb(0, 0, 0)":"black","rgb(0, 0, 255)":"blue","rgb(0, 255, 255)":"cyan","rgb(0, 0, 139)":"darkblue","rgb(0, 139, 139)":"darkcyan","rgb(0, 100, 0)":"darkgreen","rgb(0, 206, 209)":"darkturquoise","rgb(0, 191, 255)":"deepskyblue","rgb(0, 128, 0)":"green","rgb(0, 255, 0)":"lime","rgb(0, 0, 205)":"mediumblue","rgb(0, 250, 154)":"mediumspringgreen","rgb(0, 0, 128)":"navy","rgb(0, 255, 127)":"springgreen","rgb(0, 128, 128)":"teal","rgb(25, 25, 112)":"midnightblue","rgb(30, 144, 255)":"dodgerblue","rgb(32, 178, 170)":"lightseagreen","rgb(34, 139, 34)":"forestgreen","rgb(46, 139, 87)":"seagreen","rgb(47, 79, 79)":"darkslategray","rgb(50, 205, 50)":"limegreen","rgb(60, 179, 113)":"mediumseagreen","rgb(64, 224, 208)":"turquoise","rgb(65, 105, 225)":"royalblue","rgb(70, 130, 180)":"steelblue","rgb(72, 61, 139)":"darkslateblue","rgb(72, 209, 204)":"mediumturquoise","rgb(75, 0, 130)":"indigo","rgb(85, 107, 47)":"darkolivegreen","rgb(95, 158, 160)":"cadetblue","rgb(100, 149, 237)":"cornflowerblue","rgb(102, 205, 170)":"mediumaquamarine","rgb(105, 105, 105)":"dimgray","rgb(106, 90, 205)":"slateblue","rgb(107, 142, 35)":"olivedrab","rgb(112, 128, 144)":"slategray","rgb(119, 136, 153)":"lightslategray","rgb(123, 104, 238)":"mediumslateblue","rgb(124, 252, 0)":"lawngreen","rgb(127, 255, 212)":"aquamarine","rgb(127, 255, 0)":"chartreuse","rgb(128, 128, 128)":"gray","rgb(128, 0, 0)":"maroon","rgb(128, 128, 0)":"olive","rgb(128, 0, 128)":"purple","rgb(135, 206, 250)":"lightskyblue","rgb(135, 206, 235)":"skyblue","rgb(138, 43, 226)":"blueviolet","rgb(139, 0, 139)":"darkmagenta","rgb(139, 0, 0)":"darkred","rgb(139, 69, 19)":"saddlebrown","rgb(143, 188, 143)":"darkseagreen","rgb(144, 238, 144)":"lightgreen","rgb(147, 112, 219)":"mediumpurple","rgb(148, 0, 211)":"darkviolet","rgb(152, 251, 152)":"palegreen","rgb(153, 50, 204)":"darkorchid","rgb(154, 205, 50)":"yellowgreen","rgb(160, 82, 45)":"sienna","rgb(165, 42, 42)":"brown","rgb(169, 169, 169)":"darkgray","rgb(173, 255, 47)":"greenyellow","rgb(173, 216, 230)":"lightblue","rgb(175, 238, 238)":"paleturquoise","rgb(176, 196, 222)":"lightsteelblue","rgb(176, 224, 230)":"powderblue","rgb(178, 34, 34)":"firebrick","rgb(184, 134, 11)":"darkgoldenrod","rgb(186, 85, 211)":"mediumorchid","rgb(188, 143, 143)":"rosybrown","rgb(189, 183, 107)":"darkkhaki","rgb(192, 192, 192)":"silver","rgb(199, 21, 133)":"mediumvioletred","rgb(205, 92, 92)":"indianred","rgb(205, 133, 63)":"peru","rgb(210, 105, 30)":"chocolate","rgb(210, 180, 140)":"tan","rgb(211, 211, 211)":"lightgray","rgb(216, 191, 216)":"thistle","rgb(218, 165, 32)":"goldenrod","rgb(218, 112, 214)":"orchid","rgb(219, 112, 147)":"palevioletred","rgb(220, 20, 60)":"crimson","rgb(220, 220, 220)":"gainsboro","rgb(221, 160, 221)":"plum","rgb(222, 184, 135)":"burlywood","rgb(224, 255, 255)":"lightcyan","rgb(230, 230, 250)":"lavender","rgb(233, 150, 122)":"darksalmon","rgb(238, 232, 170)":"palegoldenrod","rgb(238, 130, 238)":"violet","rgb(240, 255, 255)":"azure","rgb(240, 255, 240)":"honeydew","rgb(240, 230, 140)":"khaki","rgb(240, 128, 128)":"lightcoral","rgb(244, 164, 96)":"sandybrown","rgb(245, 245, 220)":"beige","rgb(245, 255, 250)":"mintcream","rgb(245, 222, 179)":"wheat","rgb(245, 245, 245)":"whitesmoke","rgb(248, 248, 255)":"ghostwhite","rgb(250, 250, 210)":"lightgoldenrodyellow","rgb(250, 240, 230)":"linen","rgb(250, 128, 114)":"salmon","rgb(253, 245, 230)":"oldlace","rgb(255, 228, 196)":"bisque","rgb(255, 235, 205)":"blanchedalmond","rgb(255, 127, 80)":"coral","rgb(255, 248, 220)":"cornsilk","rgb(255, 140, 0)":"darkorange","rgb(255, 20, 147)":"deeppink","rgb(255, 250, 240)":"floralwhite","rgb(255, 215, 0)":"gold","rgb(255, 105, 180)":"hotpink","rgb(255, 255, 240)":"ivory","rgb(255, 240, 245)":"lavenderblush","rgb(255, 250, 205)":"lemonchiffon","rgb(255, 182, 193)":"lightpink","rgb(255, 160, 122)":"lightsalmon","rgb(255, 255, 224)":"lightyellow","rgb(255, 0, 255)":"magenta","rgb(255, 228, 225)":"mistyrose","rgb(255, 228, 181)":"moccasin","rgb(255, 222, 173)":"navajowhite","rgb(255, 165, 0)":"orange","rgb(255, 69, 0)":"orangered","rgb(255, 239, 213)":"papayawhip","rgb(255, 218, 185)":"peachpuff","rgb(255, 192, 203)":"pink","rgb(255, 0, 0)":"red","rgb(255, 245, 238)":"seashell","rgb(255, 250, 250)":"snow","rgb(255, 99, 71)":"tomato","rgb(255, 255, 255)":"white","rgb(255, 255, 0)":"yellow","rgb(102, 51, 153)":"rebeccapurple"},r={aqua:{r:0,g:255,b:255},aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},black:{r:0,g:0,b:0},blue:{r:0,g:0,b:255},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgreen:{r:0,g:100,b:0},darkturquoise:{r:0,g:206,b:209},deepskyblue:{r:0,g:191,b:255},green:{r:0,g:128,b:0},lime:{r:0,g:255,b:0},mediumblue:{r:0,g:0,b:205},mediumspringgreen:{r:0,g:250,b:154},navy:{r:0,g:0,b:128},springgreen:{r:0,g:255,b:127},teal:{r:0,g:128,b:128},midnightblue:{r:25,g:25,b:112},dodgerblue:{r:30,g:144,b:255},lightseagreen:{r:32,g:178,b:170},forestgreen:{r:34,g:139,b:34},seagreen:{r:46,g:139,b:87},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},limegreen:{r:50,g:205,b:50},mediumseagreen:{r:60,g:179,b:113},turquoise:{r:64,g:224,b:208},royalblue:{r:65,g:105,b:225},steelblue:{r:70,g:130,b:180},darkslateblue:{r:72,g:61,b:139},mediumturquoise:{r:72,g:209,b:204},indigo:{r:75,g:0,b:130},darkolivegreen:{r:85,g:107,b:47},cadetblue:{r:95,g:158,b:160},cornflowerblue:{r:100,g:149,b:237},mediumaquamarine:{r:102,g:205,b:170},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},slateblue:{r:106,g:90,b:205},olivedrab:{r:107,g:142,b:35},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},mediumslateblue:{r:123,g:104,b:238},lawngreen:{r:124,g:252,b:0},aquamarine:{r:127,g:255,b:212},chartreuse:{r:127,g:255,b:0},gray:{r:128,g:128,b:128},grey:{r:128,g:128,b:128},maroon:{r:128,g:0,b:0},olive:{r:128,g:128,b:0},purple:{r:128,g:0,b:128},lightskyblue:{r:135,g:206,b:250},skyblue:{r:135,g:206,b:235},blueviolet:{r:138,g:43,b:226},darkmagenta:{r:139,g:0,b:139},darkred:{r:139,g:0,b:0},saddlebrown:{r:139,g:69,b:19},darkseagreen:{r:143,g:188,b:143},lightgreen:{r:144,g:238,b:144},mediumpurple:{r:147,g:112,b:219},darkviolet:{r:148,g:0,b:211},palegreen:{r:152,g:251,b:152},darkorchid:{r:153,g:50,b:204},yellowgreen:{r:154,g:205,b:50},sienna:{r:160,g:82,b:45},brown:{r:165,g:42,b:42},darkgray:{r:169,g:169,b:169},darkgrey:{r:169,g:169,b:169},greenyellow:{r:173,g:255,b:47},lightblue:{r:173,g:216,b:230},paleturquoise:{r:175,g:238,b:238},lightsteelblue:{r:176,g:196,b:222},powderblue:{r:176,g:224,b:230},firebrick:{r:178,g:34,b:34},darkgoldenrod:{r:184,g:134,b:11},mediumorchid:{r:186,g:85,b:211},rosybrown:{r:188,g:143,b:143},darkkhaki:{r:189,g:183,b:107},silver:{r:192,g:192,b:192},mediumvioletred:{r:199,g:21,b:133},indianred:{r:205,g:92,b:92},peru:{r:205,g:133,b:63},chocolate:{r:210,g:105,b:30},tan:{r:210,g:180,b:140},lightgray:{r:211,g:211,b:211},lightgrey:{r:211,g:211,b:211},thistle:{r:216,g:191,b:216},goldenrod:{r:218,g:165,b:32},orchid:{r:218,g:112,b:214},palevioletred:{r:219,g:112,b:147},crimson:{r:220,g:20,b:60},gainsboro:{r:220,g:220,b:220},plum:{r:221,g:160,b:221},burlywood:{r:222,g:184,b:135},lightcyan:{r:224,g:255,b:255},lavender:{r:230,g:230,b:250},darksalmon:{r:233,g:150,b:122},palegoldenrod:{r:238,g:232,b:170},violet:{r:238,g:130,b:238},azure:{r:240,g:255,b:255},honeydew:{r:240,g:255,b:240},khaki:{r:240,g:230,b:140},lightcoral:{r:240,g:128,b:128},sandybrown:{r:244,g:164,b:96},beige:{r:245,g:245,b:220},mintcream:{r:245,g:255,b:250},wheat:{r:245,g:222,b:179},whitesmoke:{r:245,g:245,b:245},ghostwhite:{r:248,g:248,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},linen:{r:250,g:240,b:230},salmon:{r:250,g:128,b:114},oldlace:{r:253,g:245,b:230},bisque:{r:255,g:228,b:196},blanchedalmond:{r:255,g:235,b:205},coral:{r:255,g:127,b:80},cornsilk:{r:255,g:248,b:220},darkorange:{r:255,g:140,b:0},deeppink:{r:255,g:20,b:147},floralwhite:{r:255,g:250,b:240},fuchsia:{r:255,g:0,b:255},gold:{r:255,g:215,b:0},hotpink:{r:255,g:105,b:180},ivory:{r:255,g:255,b:240},lavenderblush:{r:255,g:240,b:245},lemonchiffon:{r:255,g:250,b:205},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightyellow:{r:255,g:255,b:224},magenta:{r:255,g:0,b:255},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},pink:{r:255,g:192,b:203},red:{r:255,g:0,b:0},seashell:{r:255,g:245,b:238},snow:{r:255,g:250,b:250},tomato:{r:255,g:99,b:71},white:{r:255,g:255,b:255},yellow:{r:255,g:255,b:0},rebeccapurple:{r:102,g:51,b:153}};e.exports={rgbToName:n,nameToRgbObject:r}},{}],46:[function(t,e,i){"use strict";e.exports=function(t){return"#"+t.toString(16)}},{}],47:[function(t,e,i){"use strict";e.exports=function(t){return parseInt(t.substr(1),16)}},{}],48:[function(t,e,i){"use strict";var n=t("./shortToLongHex");e.exports=function(t){t=n(t);var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?"rgb("+parseInt(e[1],16)+", "+parseInt(e[2],16)+", "+parseInt(e[3],16)+")":null}},{"./shortToLongHex":62}],49:[function(t,e,i){"use strict";var n=t("./isRgb"),r=t("./isRgba"),s=t("./isHex");e.exports=function(t){return s(t)||n(t)||r(t)}},{"./isHex":50,"./isRgb":51,"./isRgba":52}],50:[function(t,e,i){"use strict";e.exports=function(t){var e=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;return e.test(t)}},{}],51:[function(t,e,i){"use strict";e.exports=function(t){var e=/^rgb\(\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]),\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]),\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*\)$/;return null!==e.exec(t)}},{}],52:[function(t,e,i){"use strict";e.exports=function(t){var e=/^rgba\(\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]),\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]),\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]),\s*(0(\.\d+)?|1(\.0+)?)\s*\)$/;return null!==e.exec(t)}},{}],53:[function(t,e,i){"use strict";var n=t("./isHex"),r=t("./hexToRgb"),s=t("./rgbToObject");e.exports=function(t,e,i){t=n(t)?r(t):t,e=n(e)?r(e):e,t=s(t),e=s(e);var o=t.r+(e.r-t.r)*i,a=t.g+(e.g-t.g)*i,c=t.b+(e.b-t.b)*i;return"rgb("+Math.round(o)+", "+Math.round(a)+", "+Math.round(c)+")"}},{"./hexToRgb":48,"./isHex":50,"./rgbToObject":59}],54:[function(t,e,i){"use strict";var n=t("./rgbToObject");e.exports=function(t){var e=n(t);return[e.r,e.g,e.b]}},{"./rgbToObject":59}],55:[function(t,e,i){"use strict";var n=t("./hexToDecimal"),r=t("./rgbToArray"),s=t("./rgbToHex");e.exports=function(t){var e=s.apply(this,r(t));return n(e)}},{"./hexToDecimal":47,"./rgbToArray":54,"./rgbToHex":56}],56:[function(t,e,i){"use strict";e.exports=function(t,e,i){return"#"+((1<<24)+(t<<16)+(e<<8)+i).toString(16).slice(1)}},{}],57:[function(t,e,i){"use strict";e.exports=function(t,e,i){if(3!==arguments.length)return!1;t/=255,e/=255,i/=255;var n,r,s=Math.max(t,e,i),o=Math.min(t,e,i),a=s+o,c=s-o,l=a/2;if(s===o)n=r=0;else{switch(r=l>.5?c/(2-s-o):c/a,s){case t:n=(e-i)/c;break;case e:n=2+(i-t)/c;break;case i:n=4+(t-e)/c}n*=60,n<0&&(n+=360)}return[n,Math.round(100*r),Math.round(100*l)]}},{}],58:[function(t,e,i){"use strict";e.exports=function(t,e,i){if(3!==arguments.length)return!1;var n,r,s=t/255,o=e/255,a=i/255,c=Math.max(s,o,a),l=Math.min(s,o,a),h=c,u=c-l;if(r=0===c?0:u/c,c===l)n=0;else{switch(c){case s:n=(o-a)/u+(o<a?6:0);break;case o:n=(a-s)/u+2;break;case a:n=(s-o)/u+4}n/=6}return[Math.round(360*n),Math.round(100*r),Math.round(100*h)]}},{}],59:[function(t,e,i){"use strict";e.exports=function(t){var e=/rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)/,i=e.exec(t);return{r:Number(i[1]),g:Number(i[2]),b:Number(i[3])}}},{}],60:[function(t,e,i){"use strict";var n=t("./rgbaToObject");e.exports=function(t){var e=n(t);return[e.r,e.g,e.b,e.a]}},{"./rgbaToObject":61}],61:[function(t,e,i){"use strict";e.exports=function(t){var e=/rgba\(\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(0(\.\d+)?|1(\.0+)?)\s*\)/,i=e.exec(t);return{r:Number(i[1]),g:Number(i[2]),b:Number(i[3]),a:Number(i[4])}}},{}],62:[function(t,e,i){"use strict";e.exports=function(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;return t=t.replace(e,function(t,e,i,n){return"#"+e+e+i+i+n+n})}},{}],63:[function(t,e,i){"use strict";e.exports={DOMEmitter:t("./ac-dom-emitter/DOMEmitter")}},{"./ac-dom-emitter/DOMEmitter":64}],64:[function(t,e,i){"use strict";function n(t){null!==t&&(this.el=t,this._bindings={},this._delegateFuncs={},this._eventEmitter=new s)}var r,s=t("ac-event-emitter").EventEmitter,o=t("./DOMEmitterEvent"),a={addEventListener:t("@marcom/ac-dom-events/addEventListener"),removeEventListener:t("@marcom/ac-dom-events/removeEventListener"),dispatchEvent:t("@marcom/ac-dom-events/dispatchEvent")},c={querySelectorAll:t("@marcom/ac-dom-traversal/querySelectorAll"),matchesSelector:t("@marcom/ac-dom-traversal/matchesSelector")},l="dom-emitter";r=n.prototype,r.on=function(){return this._normalizeArgumentsAndCall(Array.prototype.slice.call(arguments,0),this._on),this},r.once=function(){return this._normalizeArgumentsAndCall(Array.prototype.slice.call(arguments,0),this._once),this},r.off=function(){return this._normalizeArgumentsAndCall(Array.prototype.slice.call(arguments,0),this._off),this},r.has=function(t,e,i,n){var r,s;if("string"==typeof e?(r=e,s=i):(s=e,n=i),r){var o=this._getDelegateFuncBindingIdx(t,r,s,n,!0);return o>-1}return!(!this._eventEmitter||!this._eventEmitter.has.apply(this._eventEmitter,arguments))},r.trigger=function(t,e,i,n){t=this._parseEventNames(t),t=this._cleanStringData(t);var r,s,o,a=t.length;for("string"==typeof e?(r=this._cleanStringData(e),s=i):(s=e,n=i),o=0;o<a;o++)this._triggerDOMEvents(t[o],s,r);return this},r.emitterTrigger=function(t,e,i){if(!this._eventEmitter)return this;t=this._parseEventNames(t),t=this._cleanStringData(t),e=new o(e,this);var n,r=t.length;for(n=0;n<r;n++)this._eventEmitter.trigger(t[n],e,i);return this},r.propagateTo=function(t,e){return this._eventEmitter.propagateTo(t,e),this},r.stopPropagatingTo=function(t){return this._eventEmitter.stopPropagatingTo(t),this},r.stopImmediatePropagation=function(){return this._eventEmitter.stopImmediatePropagation(),this},r.destroy=function(){this._triggerInternalEvent("willdestroy"),this.off();var t;for(t in this)this.hasOwnProperty(t)&&(this[t]=null)},r._parseEventNames=function(t){return t?t.split(" "):[t]},r._onListenerEvent=function(t,e){var i=new o(e,this);this._eventEmitter.trigger(t,i,!1)},r._setListener=function(t){this._bindings[t]=this._onListenerEvent.bind(this,t),a.addEventListener(this.el,t,this._bindings[t])},r._removeListener=function(t){a.removeEventListener(this.el,t,this._bindings[t]),this._bindings[t]=null},r._triggerInternalEvent=function(t,e){this.emitterTrigger(l+":"+t,e)},r._normalizeArgumentsAndCall=function(t,e){var i={};if(0===t.length)return void e.call(this,i);if("string"==typeof t[0]||null===t[0])return t=this._cleanStringData(t),i.events=t[0],"string"==typeof t[1]?(i.delegateQuery=t[1],i.callback=t[2],i.context=t[3]):(i.callback=t[1],i.context=t[2]),void e.call(this,i);var n,r,s=":",o=t[0];for(n in o)o.hasOwnProperty(n)&&(i={},r=this._cleanStringData(n.split(s)),i.events=r[0],i.delegateQuery=r[1],i.callback=o[n],i.context=t[1],e.call(this,i))},r._registerDelegateFunc=function(t,e,i,n,r){var s=this._delegateFunc.bind(this,t,e,i,r);return this._delegateFuncs[e]=this._delegateFuncs[e]||{},this._delegateFuncs[e][t]=this._delegateFuncs[e][t]||[],this._delegateFuncs[e][t].push({func:n,context:r,delegateFunc:s}),s},r._cleanStringData=function(t){var e=!1;"string"==typeof t&&(t=[t],e=!0);var i,n,r,s=[],o=t.length;for(i=0;i<o;i++){if(n=t[i],"string"==typeof n){if(""===n||" "===n)continue;for(r=n.length;" "===n[0];)n=n.slice(1,r),r--;for(;" "===n[r-1];)n=n.slice(0,r-1),r--}s.push(n)}return e?s[0]:s},r._unregisterDelegateFunc=function(t,e,i,n){if(this._delegateFuncs[e]&&this._delegateFuncs[e][t]){var r,s=this._getDelegateFuncBindingIdx(t,e,i,n);return s>-1&&(r=this._delegateFuncs[e][t][s].delegateFunc,this._delegateFuncs[e][t].splice(s,1),0===this._delegateFuncs[e][t].length&&(this._delegateFuncs[e][t]=null)),r}},r._unregisterDelegateFuncs=function(t,e){if(this._delegateFuncs[e]&&(null===t||this._delegateFuncs[e][t]))if(null!==t)this._unbindDelegateFunc(t,e);else{var i;for(i in this._delegateFuncs[e])this._delegateFuncs[e].hasOwnProperty(i)&&this._unbindDelegateFunc(i,e)}},r._unbindDelegateFunc=function(t,e){for(var i,n,r=0;this._delegateFuncs[e][t]&&this._delegateFuncs[e][t][r];)i=this._delegateFuncs[e][t][r],n=this._delegateFuncs[e][t][r].length,this._off({events:t,delegateQuery:e,callback:i.func,context:i.context}),this._delegateFuncs[e][t]&&n===this._delegateFuncs[e][t].length&&r++;i=n=null},r._unregisterDelegateFuncsByEvent=function(t){var e;for(e in this._delegateFuncs)this._delegateFuncs.hasOwnProperty(e)&&this._unregisterDelegateFuncs(t,e)},r._delegateFunc=function(t,e,i,n,r){if(this._targetHasDelegateAncestor(r.target,e)){var s=Array.prototype.slice.call(arguments,0),o=s.slice(4,s.length);n=n||window,"object"==typeof r.detail&&(o[0]=r.detail),i.apply(n,o)}},r._targetHasDelegateAncestor=function(t,e){for(var i=t;i&&i!==this.el&&i!==document.documentElement;){if(c.matchesSelector(i,e))return!0;i=i.parentNode}return!1},r._on=function(t){var e=t.events,i=t.callback,n=t.delegateQuery,r=t.context,s=t.unboundCallback||i;e=this._parseEventNames(e),e.forEach(function(t,e,i,n,r){
this.has(r)||this._setListener(r),"string"==typeof n&&(t=this._registerDelegateFunc(r,n,t,e,i)),this._triggerInternalEvent("willon",{evt:r,callback:t,context:i,delegateQuery:n}),this._eventEmitter.on(r,t,i),this._triggerInternalEvent("didon",{evt:r,callback:t,context:i,delegateQuery:n})}.bind(this,i,s,r,n)),e=i=s=n=r=null},r._off=function(t){var e=t.events,i=t.callback,n=t.delegateQuery,r=t.context,s=t.unboundCallback||i;if("undefined"!=typeof e)e=this._parseEventNames(e),e.forEach(function(t,e,i,n,r){if("string"!=typeof n||"function"!=typeof e||(t=this._unregisterDelegateFunc(r,n,e,i)))return"string"==typeof n&&"undefined"==typeof t?void this._unregisterDelegateFuncs(r,n):void("string"==typeof r&&"undefined"==typeof t&&(this._unregisterDelegateFuncsByEvent(r),"string"==typeof n)||(this._triggerInternalEvent("willoff",{evt:r,callback:t,context:i,delegateQuery:n}),this._eventEmitter.off(r,t,i),this._triggerInternalEvent("didoff",{evt:r,callback:t,context:i,delegateQuery:n}),this.has(r)||this._removeListener(r)))}.bind(this,i,s,r,n)),e=i=s=n=r=null;else{this._eventEmitter.off();var o;for(o in this._bindings)this._bindings.hasOwnProperty(o)&&this._removeListener(o);for(o in this._delegateFuncs)this._delegateFuncs.hasOwnProperty(o)&&(this._delegateFuncs[o]=null)}},r._once=function(t){var e=t.events,i=t.callback,n=t.delegateQuery,r=t.context;e=this._parseEventNames(e),e.forEach(function(t,e,i,n){return"string"==typeof i?this._handleDelegateOnce(n,t,e,i):(this.has(n)||this._setListener(n),this._triggerInternalEvent("willonce",{evt:n,callback:t,context:e,delegateQuery:i}),this._eventEmitter.once.call(this,n,t,e),void this._triggerInternalEvent("didonce",{evt:n,callback:t,context:e,delegateQuery:i}))}.bind(this,i,r,n)),e=i=n=r=null},r._handleDelegateOnce=function(t,e,i,n){return this._triggerInternalEvent("willonce",{evt:t,callback:e,context:i,delegateQuery:n}),this._on({events:t,context:i,delegateQuery:n,callback:this._getDelegateOnceCallback.bind(this,t,e,i,n),unboundCallback:e}),this._triggerInternalEvent("didonce",{evt:t,callback:e,context:i,delegateQuery:n}),this},r._getDelegateOnceCallback=function(t,e,i,n){var r=Array.prototype.slice.call(arguments,0),s=r.slice(4,r.length);e.apply(i,s),this._off({events:t,delegateQuery:n,callback:e,context:i})},r._getDelegateFuncBindingIdx=function(t,e,i,n,r){var s=-1;if(this._delegateFuncs[e]&&this._delegateFuncs[e][t]){var o,a,c=this._delegateFuncs[e][t].length;for(o=0;o<c;o++)if(a=this._delegateFuncs[e][t][o],r&&"undefined"==typeof i&&(i=a.func),a.func===i&&a.context===n){s=o;break}}return s},r._triggerDOMEvents=function(t,e,i){var n=[this.el];i&&(n=c.querySelectorAll(i,this.el));var r,s=n.length;for(r=0;r<s;r++)a.dispatchEvent(n[r],t,{bubbles:!0,cancelable:!0,detail:e})},e.exports=n},{"./DOMEmitterEvent":65,"@marcom/ac-dom-events/addEventListener":66,"@marcom/ac-dom-events/dispatchEvent":67,"@marcom/ac-dom-events/removeEventListener":70,"@marcom/ac-dom-traversal/matchesSelector":124,"@marcom/ac-dom-traversal/querySelectorAll":126,"ac-event-emitter":387}],65:[function(t,e,i){"use strict";var n,r={preventDefault:t("@marcom/ac-dom-events/preventDefault"),stopPropagation:t("@marcom/ac-dom-events/stopPropagation"),target:t("@marcom/ac-dom-events/target")},s=function(t,e){this._domEmitter=e,this.originalEvent=t||{},this._originalTarget=r.target(this.originalEvent),this.target=this._originalTarget||this._domEmitter.el,this.currentTarget=this._domEmitter.el,this.timeStamp=this.originalEvent.timeStamp||Date.now(),this._isDOMEvent(this.originalEvent)?"object"==typeof this.originalEvent.detail&&(this.data=this.originalEvent.detail):t&&(this.data=this.originalEvent,this.originalEvent={})};n=s.prototype,n.preventDefault=function(){r.preventDefault(this.originalEvent)},n.stopPropagation=function(){r.stopPropagation(this.originalEvent)},n.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this._domEmitter.stopImmediatePropagation()},n._isDOMEvent=function(t){return!!(this._originalTarget||"undefined"!==document.createEvent&&"undefined"!=typeof CustomEvent&&t instanceof CustomEvent)},e.exports=s},{"@marcom/ac-dom-events/preventDefault":69,"@marcom/ac-dom-events/stopPropagation":73,"@marcom/ac-dom-events/target":74}],66:[function(t,e,i){"use strict";var n=t("./utils/addEventListener"),r=t("./shared/getEventType");e.exports=function(t,e,i,s){return e=r(t,e),n(t,e,i,s)}},{"./shared/getEventType":71,"./utils/addEventListener":75}],67:[function(t,e,i){"use strict";var n=t("./utils/dispatchEvent"),r=t("./shared/getEventType");e.exports=function(t,e,i){return e=r(t,e),n(t,e,i)}},{"./shared/getEventType":71,"./utils/dispatchEvent":76}],68:[function(t,e,i){"use strict";e.exports={addEventListener:t("./addEventListener"),dispatchEvent:t("./dispatchEvent"),preventDefault:t("./preventDefault"),removeEventListener:t("./removeEventListener"),stop:t("./stop"),stopPropagation:t("./stopPropagation"),target:t("./target")}},{"./addEventListener":66,"./dispatchEvent":67,"./preventDefault":69,"./removeEventListener":70,"./stop":72,"./stopPropagation":73,"./target":74}],69:[function(t,e,i){"use strict";e.exports=function(t){t=t||window.event,t.preventDefault?t.preventDefault():t.returnValue=!1}},{}],70:[function(t,e,i){"use strict";var n=t("./utils/removeEventListener"),r=t("./shared/getEventType");e.exports=function(t,e,i,s){return e=r(t,e),n(t,e,i,s)}},{"./shared/getEventType":71,"./utils/removeEventListener":77}],71:[function(t,e,i){"use strict";var n=t("@marcom/ac-prefixer/getEventType");e.exports=function(t,e){var i,r;return i="tagName"in t?t.tagName:t===window?"window":"document",r=n(e,i),r?r:e}},{"@marcom/ac-prefixer/getEventType":300}],72:[function(t,e,i){"use strict";var n=t("./stopPropagation"),r=t("./preventDefault");e.exports=function(t){t=t||window.event,n(t),r(t),t.stopped=!0,t.returnValue=!1}},{"./preventDefault":69,"./stopPropagation":73}],73:[function(t,e,i){"use strict";e.exports=function(t){t=t||window.event,t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}},{}],74:[function(t,e,i){"use strict";e.exports=function(t){return t=t||window.event,"undefined"!=typeof t.target?t.target:t.srcElement}},{}],75:[function(t,e,i){"use strict";e.exports=function(t,e,i,n){return t.addEventListener?t.addEventListener(e,i,!!n):t.attachEvent("on"+e,i),t}},{}],76:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/CustomEvent"),e.exports=function(t,e,i){var n;return t.dispatchEvent?(n=i?new CustomEvent(e,i):new CustomEvent(e),t.dispatchEvent(n)):(n=document.createEventObject(),i&&"detail"in i&&(n.detail=i.detail),t.fireEvent("on"+e,n)),t}},{"@marcom/ac-polyfills/CustomEvent":void 0}],77:[function(t,e,i){"use strict";e.exports=function(t,e,i,n){return t.removeEventListener?t.removeEventListener(e,i,!!n):t.detachEvent("on"+e,i),t}},{}],78:[function(t,e,i){"use strict";e.exports={getContentDimensions:t("./getContentDimensions"),getDimensions:t("./getDimensions"),getPagePosition:t("./getPagePosition"),getPercentInViewport:t("./getPercentInViewport"),getPixelsInViewport:t("./getPixelsInViewport"),getPosition:t("./getPosition"),getScrollX:t("./getScrollX"),getScrollY:t("./getScrollY"),getViewportPosition:t("./getViewportPosition"),isInViewport:t("./isInViewport")}},{"./getContentDimensions":79,"./getDimensions":80,"./getPagePosition":81,"./getPercentInViewport":82,"./getPixelsInViewport":83,"./getPosition":84,"./getScrollX":85,"./getScrollY":86,"./getViewportPosition":87,"./isInViewport":88}],79:[function(t,e,i){"use strict";var n=t("./utils/getBoundingClientRect");e.exports=function(t,e){var i=1;return e&&(i=n(t).width/t.offsetWidth),{width:t.scrollWidth*i,height:t.scrollHeight*i}}},{"./utils/getBoundingClientRect":89}],80:[function(t,e,i){"use strict";var n=t("./utils/getBoundingClientRect");e.exports=function(t,e){var i;return e?(i=n(t),{width:i.width,height:i.height}):{width:t.offsetWidth,height:t.offsetHeight}}},{"./utils/getBoundingClientRect":89}],81:[function(t,e,i){"use strict";var n=t("./getDimensions"),r=t("./utils/getBoundingClientRect"),s=t("./getScrollX"),o=t("./getScrollY");e.exports=function(t,e){var i,a,c,l;if(e)return i=r(t),a=s(),c=o(),{top:i.top+c,right:i.right+a,bottom:i.bottom+c,left:i.left+a};for(l=n(t,e),i={top:t.offsetTop,left:t.offsetLeft,width:l.width,height:l.height};t=t.offsetParent;)i.top+=t.offsetTop,i.left+=t.offsetLeft;return{top:i.top,right:i.left+i.width,bottom:i.top+i.height,left:i.left}}},{"./getDimensions":80,"./getScrollX":85,"./getScrollY":86,"./utils/getBoundingClientRect":89}],82:[function(t,e,i){"use strict";var n=t("./getDimensions"),r=t("./getPixelsInViewport");e.exports=function(t,e){var i=r(t,e),s=n(t,e).height;return i/s}},{"./getDimensions":80,"./getPixelsInViewport":83}],83:[function(t,e,i){"use strict";var n=t("./getViewportPosition");e.exports=function(t,e){var i,r=document.documentElement.clientHeight,s=n(t,e);return s.top>=r||s.bottom<=0?0:(i=s.bottom-s.top,s.top<0&&(i+=s.top),s.bottom>r&&(i-=s.bottom-r),i)}},{"./getViewportPosition":87}],84:[function(t,e,i){"use strict";var n=t("./getDimensions"),r=t("./utils/getBoundingClientRect");e.exports=function(t,e){var i,s,o;return e?(i=r(t),t.offsetParent&&(s=r(t.offsetParent),i.top-=s.top,i.left-=s.left)):(o=n(t,e),i={top:t.offsetTop,left:t.offsetLeft,width:o.width,height:o.height}),{top:i.top,right:i.left+i.width,bottom:i.top+i.height,left:i.left}}},{"./getDimensions":80,"./utils/getBoundingClientRect":89}],85:[function(t,e,i){"use strict";e.exports=function(t){var e;if(t=t||window,t===window){if(e=window.pageXOffset)return e;t=document.documentElement||document.body.parentNode||document.body}return t.scrollLeft}},{}],86:[function(t,e,i){"use strict";e.exports=function(t){var e;if(t=t||window,t===window){if(e=window.pageYOffset)return e;t=document.documentElement||document.body.parentNode||document.body}return t.scrollTop}},{}],87:[function(t,e,i){"use strict";var n=t("./getPagePosition"),r=t("./utils/getBoundingClientRect"),s=t("./getScrollX"),o=t("./getScrollY");e.exports=function(t,e){var i,a,c;return e?(i=r(t),{top:i.top,right:i.right,bottom:i.bottom,left:i.left}):(i=n(t),a=s(),c=o(),{top:i.top-c,right:i.right-a,bottom:i.bottom-c,left:i.left-a})}},{"./getPagePosition":81,"./getScrollX":85,"./getScrollY":86,"./utils/getBoundingClientRect":89}],88:[function(t,e,i){"use strict";var n=t("./getPixelsInViewport"),r=t("./getPercentInViewport");e.exports=function(t,e,i){var s;return i=i||0,"string"==typeof i&&"px"===i.slice(-2)?(i=parseInt(i,10),s=n(t,e)):s=r(t,e),s>0&&s>=i}},{"./getPercentInViewport":82,"./getPixelsInViewport":83}],89:[function(t,e,i){"use strict";e.exports=function(t){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}},{}],90:[function(t,e,i){"use strict";e.exports=8},{}],91:[function(t,e,i){"use strict";e.exports=11},{}],92:[function(t,e,i){"use strict";e.exports=9},{}],93:[function(t,e,i){"use strict";e.exports=10},{}],94:[function(t,e,i){"use strict";e.exports=1},{}],95:[function(t,e,i){"use strict";e.exports=3},{}],96:[function(t,e,i){"use strict";e.exports={createDocumentFragment:t("./createDocumentFragment"),filterByNodeType:t("./filterByNodeType"),hasAttribute:t("./hasAttribute"),indexOf:t("./indexOf"),insertAfter:t("./insertAfter"),insertBefore:t("./insertBefore"),insertFirstChild:t("./insertFirstChild"),insertLastChild:t("./insertLastChild"),isComment:t("./isComment"),isDocument:t("./isDocument"),isDocumentFragment:t("./isDocumentFragment"),isDocumentType:t("./isDocumentType"),isElement:t("./isElement"),isNode:t("./isNode"),isNodeList:t("./isNodeList"),isTextNode:t("./isTextNode"),remove:t("./remove"),replace:t("./replace"),COMMENT_NODE:t("./COMMENT_NODE"),DOCUMENT_FRAGMENT_NODE:t("./DOCUMENT_FRAGMENT_NODE"),DOCUMENT_NODE:t("./DOCUMENT_NODE"),DOCUMENT_TYPE_NODE:t("./DOCUMENT_TYPE_NODE"),ELEMENT_NODE:t("./ELEMENT_NODE"),TEXT_NODE:t("./TEXT_NODE")}},{"./COMMENT_NODE":90,"./DOCUMENT_FRAGMENT_NODE":91,"./DOCUMENT_NODE":92,"./DOCUMENT_TYPE_NODE":93,"./ELEMENT_NODE":94,"./TEXT_NODE":95,"./createDocumentFragment":97,"./filterByNodeType":98,"./hasAttribute":99,"./indexOf":100,"./insertAfter":101,"./insertBefore":102,"./insertFirstChild":103,"./insertLastChild":104,"./isComment":107,"./isDocument":108,"./isDocumentFragment":109,"./isDocumentType":110,"./isElement":111,"./isNode":112,"./isNodeList":113,"./isTextNode":114,"./remove":115,"./replace":116}],97:[function(t,e,i){"use strict";e.exports=function(t){var e,i=document.createDocumentFragment();if(t)for(e=document.createElement("div"),e.innerHTML=t;e.firstChild;)i.appendChild(e.firstChild);return i}},{}],98:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.slice"),t("@marcom/ac-polyfills/Array/prototype.filter");var n=t("./internal/isNodeType"),r=t("./ELEMENT_NODE");e.exports=function(t,e){return e=e||r,t=Array.prototype.slice.call(t),t.filter(function(t){return n(t,e)})}},{"./ELEMENT_NODE":94,"./internal/isNodeType":105,"@marcom/ac-polyfills/Array/prototype.filter":void 0,"@marcom/ac-polyfills/Array/prototype.slice":void 0}],99:[function(t,e,i){"use strict";e.exports=function(t,e){return"hasAttribute"in t?t.hasAttribute(e):null!==t.attributes.getNamedItem(e)}},{}],100:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.indexOf"),t("@marcom/ac-polyfills/Array/prototype.slice");var n=(t("./internal/validate"),t("./filterByNodeType"));e.exports=function(t,e){var i,r=t.parentNode;return r?(i=r.childNodes,i=e!==!1?n(i,e):Array.prototype.slice.call(i),i.indexOf(t)):0}},{"./filterByNodeType":98,"./internal/validate":106,"@marcom/ac-polyfills/Array/prototype.indexOf":void 0,"@marcom/ac-polyfills/Array/prototype.slice":void 0}],101:[function(t,e,i){"use strict";var n=t("./internal/validate");e.exports=function(t,e){return n.insertNode(t,!0,"insertAfter"),n.childNode(e,!0,"insertAfter"),n.hasParentNode(e,"insertAfter"),e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t)}},{"./internal/validate":106}],102:[function(t,e,i){"use strict";var n=t("./internal/validate");e.exports=function(t,e){return n.insertNode(t,!0,"insertBefore"),n.childNode(e,!0,"insertBefore"),n.hasParentNode(e,"insertBefore"),e.parentNode.insertBefore(t,e)}},{"./internal/validate":106}],103:[function(t,e,i){"use strict";var n=t("./internal/validate");e.exports=function(t,e){return n.insertNode(t,!0,"insertFirstChild"),n.parentNode(e,!0,"insertFirstChild"),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}},{"./internal/validate":106}],104:[function(t,e,i){"use strict";var n=t("./internal/validate");e.exports=function(t,e){return n.insertNode(t,!0,"insertLastChild"),n.parentNode(e,!0,"insertLastChild"),e.appendChild(t)}},{"./internal/validate":106}],105:[function(t,e,i){"use strict";var n=t("../isNode");e.exports=function(t,e){return!!n(t)&&("number"==typeof e?t.nodeType===e:e.indexOf(t.nodeType)!==-1)}},{"../isNode":112}],106:[function(t,e,i){"use strict";var n=t("./isNodeType"),r=t("../COMMENT_NODE"),s=t("../DOCUMENT_FRAGMENT_NODE"),o=t("../ELEMENT_NODE"),a=t("../TEXT_NODE"),c=[o,a,r,s],l=" must be an Element, TextNode, Comment, or Document Fragment",h=[o,a,r],u=" must be an Element, TextNode, or Comment",m=[o,s],d=" must be an Element, or Document Fragment",p=" must have a parentNode";e.exports={parentNode:function(t,e,i,r){if(r=r||"target",(t||e)&&!n(t,m))throw new TypeError(i+": "+r+d)},childNode:function(t,e,i,r){if(r=r||"target",(t||e)&&!n(t,h))throw new TypeError(i+": "+r+u)},insertNode:function(t,e,i,r){if(r=r||"node",(t||e)&&!n(t,c))throw new TypeError(i+": "+r+l)},hasParentNode:function(t,e,i){if(i=i||"target",!t.parentNode)throw new TypeError(e+": "+i+p)}}},{"../COMMENT_NODE":90,"../DOCUMENT_FRAGMENT_NODE":91,"../ELEMENT_NODE":94,"../TEXT_NODE":95,"./isNodeType":105}],107:[function(t,e,i){"use strict";var n=t("./internal/isNodeType"),r=t("./COMMENT_NODE");e.exports=function(t){return n(t,r)}},{"./COMMENT_NODE":90,"./internal/isNodeType":105}],108:[function(t,e,i){"use strict";var n=t("./internal/isNodeType"),r=t("./DOCUMENT_NODE");e.exports=function(t){return n(t,r)}},{"./DOCUMENT_NODE":92,"./internal/isNodeType":105}],109:[function(t,e,i){"use strict";var n=t("./internal/isNodeType"),r=t("./DOCUMENT_FRAGMENT_NODE");e.exports=function(t){return n(t,r)}},{"./DOCUMENT_FRAGMENT_NODE":91,"./internal/isNodeType":105}],110:[function(t,e,i){"use strict";var n=t("./internal/isNodeType"),r=t("./DOCUMENT_TYPE_NODE");e.exports=function(t){return n(t,r)}},{"./DOCUMENT_TYPE_NODE":93,"./internal/isNodeType":105}],111:[function(t,e,i){"use strict";var n=t("./internal/isNodeType"),r=t("./ELEMENT_NODE");e.exports=function(t){return n(t,r)}},{"./ELEMENT_NODE":94,"./internal/isNodeType":105}],112:[function(t,e,i){"use strict";e.exports=function(t){return!(!t||!t.nodeType)}},{}],113:[function(t,e,i){"use strict";var n=/^\[object (HTMLCollection|NodeList|Object)\]$/;e.exports=function(t){return!!t&&("number"==typeof t.length&&(!!("object"!=typeof t[0]||t[0]&&t[0].nodeType)&&n.test(Object.prototype.toString.call(t))))}},{}],114:[function(t,e,i){"use strict";var n=t("./internal/isNodeType"),r=t("./TEXT_NODE");e.exports=function(t){return n(t,r)}},{"./TEXT_NODE":95,"./internal/isNodeType":105}],115:[function(t,e,i){"use strict";var n=t("./internal/validate");e.exports=function(t){return n.childNode(t,!0,"remove"),t.parentNode?t.parentNode.removeChild(t):t}},{"./internal/validate":106}],116:[function(t,e,i){"use strict";var n=t("./internal/validate");e.exports=function(t,e){return n.insertNode(t,!0,"insertFirstChild","newNode"),n.childNode(e,!0,"insertFirstChild","oldNode"),n.hasParentNode(e,"insertFirstChild","oldNode"),e.parentNode.replaceChild(t,e)}},{"./internal/validate":106}],117:[function(t,e,i){"use strict";e.exports={getStyle:t("./getStyle"),setStyle:t("./setStyle")}},{"./getStyle":118,"./setStyle":120}],118:[function(t,e,i){"use strict";var n=t("@marcom/ac-prefixer/getStyleProperty"),r=t("@marcom/ac-prefixer/stripPrefixes");e.exports=function(){var t,e,i,s,o=Array.prototype.slice.call(arguments),a=o.shift(o),c=window.getComputedStyle(a),l={};for("string"!=typeof o[0]&&(o=o[0]),s=0;s<o.length;s++)t=o[s],e=n(t),e?(t=r(e),i=c[e],i&&"auto"!==i||(i=null),i&&(i=r(i))):i=null,l[t]=i;return l}},{"@marcom/ac-prefixer/getStyleProperty":302,"@marcom/ac-prefixer/stripPrefixes":310}],119:[function(t,e,i){"use strict";e.exports=function(t){var e,i,n;if(!t&&0!==t)return"";if(Array.isArray(t))return t+"";if("object"==typeof t){for(e="",i=Object.keys(t),n=0;n<i.length;n++)e+=i[n]+"("+t[i[n]]+") ";return e.trim()}return t}},{}],120:[function(t,e,i){"use strict";var n=t("@marcom/ac-prefixer/getStyleCSS"),r=t("@marcom/ac-prefixer/getStyleProperty"),s=t("./internal/normalizeValue");e.exports=function(t,e){var i,o,a,c,l,h="";if("object"!=typeof e)throw new TypeError("setStyle: styles must be an Object");for(o in e)c=s(e[o]),c||0===c?(i=n(o,c),i!==!1&&(h+=" "+i)):(a=r(o),"removeAttribute"in t.style?t.style.removeAttribute(a):t.style[a]="");return h.length&&(l=t.style.cssText,";"!==l.charAt(l.length-1)&&(l+=";"),l+=h,t.style.cssText=l),t}},{"./internal/normalizeValue":119,"@marcom/ac-prefixer/getStyleCSS":301,"@marcom/ac-prefixer/getStyleProperty":302}],121:[function(t,e,i){"use strict";var n=t("@marcom/ac-dom-nodes/isElement"),r=t("./matchesSelector"),s=t("./internal/validate");e.exports=function(t,e,i,o){var a=[];if(s.childNode(t,!0,"ancestors"),s.selector(e,!1,"ancestors"),i&&n(t)&&(!e||r(t,e))&&a.push(t),o=o||document.body,t!==o)for(;(t=t.parentNode)&&n(t)&&(e&&!r(t,e)||a.push(t),t!==o););return a}},{"./internal/validate":123,"./matchesSelector":124,"@marcom/ac-dom-nodes/isElement":111}],122:[function(t,e,i){"use strict";e.exports=window.Element?function(t){return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector}(Element.prototype):null},{}],123:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.indexOf");var n=t("@marcom/ac-dom-nodes/isNode"),r=t("@marcom/ac-dom-nodes/COMMENT_NODE"),s=t("@marcom/ac-dom-nodes/DOCUMENT_FRAGMENT_NODE"),o=t("@marcom/ac-dom-nodes/DOCUMENT_NODE"),a=t("@marcom/ac-dom-nodes/ELEMENT_NODE"),c=t("@marcom/ac-dom-nodes/TEXT_NODE"),l=function(t,e){return!!n(t)&&("number"==typeof e?t.nodeType===e:e.indexOf(t.nodeType)!==-1)},h=[a,o,s],u=" must be an Element, Document, or Document Fragment",m=[a,c,r],d=" must be an Element, TextNode, or Comment",p=" must be a string";e.exports={parentNode:function(t,e,i,n){if(n=n||"node",(t||e)&&!l(t,h))throw new TypeError(i+": "+n+u)},childNode:function(t,e,i,n){if(n=n||"node",(t||e)&&!l(t,m))throw new TypeError(i+": "+n+d)},selector:function(t,e,i,n){if(n=n||"selector",(t||e)&&"string"!=typeof t)throw new TypeError(i+": "+n+p)}}},{"@marcom/ac-dom-nodes/COMMENT_NODE":90,"@marcom/ac-dom-nodes/DOCUMENT_FRAGMENT_NODE":91,"@marcom/ac-dom-nodes/DOCUMENT_NODE":92,"@marcom/ac-dom-nodes/ELEMENT_NODE":94,"@marcom/ac-dom-nodes/TEXT_NODE":95,"@marcom/ac-dom-nodes/isNode":112,"@marcom/ac-polyfills/Array/prototype.indexOf":void 0}],124:[function(t,e,i){"use strict";var n=t("@marcom/ac-dom-nodes/isElement"),r=t("./internal/validate"),s=t("./internal/nativeMatches"),o=t("./shims/matchesSelector");e.exports=function(t,e){return r.selector(e,!0,"matchesSelector"),!!n(t)&&(s?s.call(t,e):o(t,e))}},{"./internal/nativeMatches":122,"./internal/validate":123,"./shims/matchesSelector":127,"@marcom/ac-dom-nodes/isElement":111}],125:[function(t,e,i){"use strict";var n=t("./internal/validate"),r=t("./shims/querySelector"),s="querySelector"in document;e.exports=function(t,e){return e=e||document,n.parentNode(e,!0,"querySelector","context"),n.selector(t,!0,"querySelector"),s?e.querySelector(t):r(t,e)}},{"./internal/validate":123,"./shims/querySelector":128}],126:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.slice");var n=t("./internal/validate"),r=t("./shims/querySelectorAll"),s="querySelectorAll"in document;e.exports=function(t,e){return e=e||document,n.parentNode(e,!0,"querySelectorAll","context"),n.selector(t,!0,"querySelectorAll"),s?Array.prototype.slice.call(e.querySelectorAll(t)):r(t,e)}},{"./internal/validate":123,"./shims/querySelectorAll":129,"@marcom/ac-polyfills/Array/prototype.slice":void 0}],127:[function(t,e,i){"use strict";var n=t("../querySelectorAll");e.exports=function(t,e){var i,r=t.parentNode||document,s=n(e,r);for(i=0;i<s.length;i++)if(s[i]===t)return!0;return!1}},{"../querySelectorAll":126}],128:[function(t,e,i){"use strict";var n=t("./querySelectorAll");e.exports=function(t,e){var i=n(t,e);return i.length?i[0]:null}},{"./querySelectorAll":129}],129:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.indexOf");var n=t("@marcom/ac-dom-nodes/isElement"),r=t("@marcom/ac-dom-nodes/isDocumentFragment"),s=t("@marcom/ac-dom-nodes/remove"),o="_ac_qsa_",a=function(t,e){var i;if(e===document)return!0;for(i=t;(i=i.parentNode)&&n(i);)if(i===e)return!0;return!1},c=function(t){"recalc"in t?t.recalc(!1):document.recalc(!1),window.scrollBy(0,0)};e.exports=function(t,e){var i,n=document.createElement("style"),l=o+(Math.random()+"").slice(-6),h=[];for(e=e||document,document[l]=[],r(e)?e.appendChild(n):document.documentElement.firstChild.appendChild(n),n.styleSheet.cssText="*{display:recalc;}"+t+'{ac-qsa:expression(document["'+l+'"] && document["'+l+'"].push(this));}',c(e);document[l].length;)i=document[l].shift(),i.style.removeAttribute("ac-qsa"),h.indexOf(i)===-1&&a(i,e)&&h.push(i);return document[l]=null,s(n),c(e),h}},{"@marcom/ac-dom-nodes/isDocumentFragment":109,"@marcom/ac-dom-nodes/isElement":111,"@marcom/ac-dom-nodes/remove":115,"@marcom/ac-polyfills/Array/prototype.indexOf":void 0}],130:[function(t,e,i){"use strict";e.exports={createBezier:t("./ac-easing/createBezier"),createPredefined:t("./ac-easing/createPredefined"),createStep:t("./ac-easing/createStep"),Ease:t("./ac-easing/Ease")}},{"./ac-easing/Ease":131,"./ac-easing/createBezier":132,"./ac-easing/createPredefined":133,"./ac-easing/createStep":134}],131:[function(t,e,i){"use strict";function n(t,e){if("function"!=typeof t)throw new TypeError(r);this.easingFunction=t,this.cssString=e||null}var r="Ease expects an easing function.",s=n.prototype;s.getValue=function(t){return this.easingFunction(t,0,1,1)},e.exports=n},{}],132:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.every");var n=t("./Ease"),r=t("./helpers/KeySpline"),s="Bezier curve expects exactly four (4) numbers. Given: ";e.exports=function(t,e,i,o){var a=Array.prototype.slice.call(arguments),c=a.every(function(t){return"number"==typeof t});if(4!==a.length||!c)throw new TypeError(s+a);var l=new r(t,e,i,o),h=function(t,e,i,n){return l.get(t/n)*i+e},u="cubic-bezier("+a.join(", ")+")";return new n(h,u)}},{"./Ease":131,"./helpers/KeySpline":135,"@marcom/ac-polyfills/Array/prototype.every":void 0}],133:[function(t,e,i){"use strict";var n=t("./createStep"),r=t("./helpers/cssAliases"),s=t("./helpers/easingFunctions"),o=t("./Ease"),a='Easing function "%TYPE%" not recognized among the following: '+Object.keys(s).join(", ");e.exports=function(t){var e;if("step-start"===t)return n(1,"start");if("step-end"===t)return n(1,"end");if(e=s[t],!e)throw new Error(a.replace("%TYPE%",t));return new o(e,r[t])}},{"./Ease":131,"./createStep":134,"./helpers/cssAliases":136,"./helpers/easingFunctions":137}],134:[function(t,e,i){"use strict";var n=t("./Ease"),r="Step function expects a numeric value greater than zero. Given: ",s='Step function direction must be either "start" or "end" (default). Given: ';e.exports=function(t,e){if(e=e||"end","number"!=typeof t||t<1)throw new TypeError(r+t);if("start"!==e&&"end"!==e)throw new TypeError(s+e);var i=function(i,n,r,s){var o=r/t,a=Math["start"===e?"floor":"ceil"](i/s*t);return n+o*a},o="steps("+t+", "+e+")";return new n(i,o)}},{"./Ease":131}],135:[function(t,e,i){function n(t,e,i,n){function r(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function o(t){return 3*t}function a(t,e,i){return((r(e,i)*t+s(e,i))*t+o(e))*t}function c(t,e,i){return 3*r(e,i)*t*t+2*s(e,i)*t+o(e)}function l(e){for(var n=e,r=0;r<4;++r){var s=c(n,t,i);if(0===s)return n;var o=a(n,t,i)-e;n-=o/s}return n}this.get=function(r){return t===e&&i===n?r:a(l(r),e,n)}}e.exports=n},{}],136:[function(t,e,i){"use strict";var n={linear:"cubic-bezier(0, 0, 1, 1)",ease:"cubic-bezier(0.25, 0.1, 0.25, 1)","ease-in":"cubic-bezier(0.42, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.58, 1)","ease-in-out":"cubic-bezier(0.42, 0, 0.58, 1)","ease-in-cubic":"cubic-bezier(0.55, 0.055, 0.675, 0.19)","ease-out-cubic":"cubic-bezier(0.215, 0.61, 0.355, 1)","ease-in-out-cubic":"cubic-bezier(0.645, 0.045, 0.355, 1)","ease-in-quad":"cubic-bezier(0.55, 0.085, 0.68, 0.53)","ease-out-quad":"cubic-bezier(0.25, 0.46, 0.45, 0.94)","ease-in-out-quad":"cubic-bezier(0.455, 0.03, 0.515, 0.955)","ease-in-quart":"cubic-bezier(0.895, 0.03, 0.685, 0.22)","ease-out-quart":"cubic-bezier(0.165, 0.84, 0.44, 1)","ease-in-out-quart":"cubic-bezier(0.77, 0, 0.175, 1)","ease-in-quint":"cubic-bezier(0.755, 0.05, 0.855, 0.06)","ease-out-quint":"cubic-bezier(0.23, 1, 0.32, 1)","ease-in-out-quint":"cubic-bezier(0.86, 0, 0.07, 1)","ease-in-sine":"cubic-bezier(0.47, 0, 0.745, 0.715)","ease-out-sine":"cubic-bezier(0.39, 0.575, 0.565, 1)","ease-in-out-sine":"cubic-bezier(0.445, 0.05, 0.55, 0.95)","ease-in-expo":"cubic-bezier(0.95, 0.05, 0.795, 0.035)","ease-out-expo":"cubic-bezier(0.19, 1, 0.22, 1)","ease-in-out-expo":"cubic-bezier(1, 0, 0, 1)","ease-in-circ":"cubic-bezier(0.6, 0.04, 0.98, 0.335)","ease-out-circ":"cubic-bezier(0.075, 0.82, 0.165, 1)","ease-in-out-circ":"cubic-bezier(0.785, 0.135, 0.15, 0.86)","ease-in-back":"cubic-bezier(0.6, -0.28, 0.735, 0.045)","ease-out-back":"cubic-bezier(0.175, 0.885, 0.32, 1.275)","ease-in-out-back":"cubic-bezier(0.68, -0.55, 0.265, 1.55)"};n.easeIn=n["ease-in"],n.easeOut=n["ease-out"],n.easeInOut=n["ease-in-out"],n.easeInCubic=n["ease-in-cubic"],n.easeOutCubic=n["ease-out-cubic"],n.easeInOutCubic=n["ease-in-out-cubic"],n.easeInQuad=n["ease-in-quad"],n.easeOutQuad=n["ease-out-quad"],n.easeInOutQuad=n["ease-in-out-quad"],n.easeInQuart=n["ease-in-quart"],n.easeOutQuart=n["ease-out-quart"],n.easeInOutQuart=n["ease-in-out-quart"],n.easeInQuint=n["ease-in-quint"],n.easeOutQuint=n["ease-out-quint"],n.easeInOutQuint=n["ease-in-out-quint"],n.easeInSine=n["ease-in-sine"],n.easeOutSine=n["ease-out-sine"],n.easeInOutSine=n["ease-in-out-sine"],n.easeInExpo=n["ease-in-expo"],n.easeOutExpo=n["ease-out-expo"],n.easeInOutExpo=n["ease-in-out-expo"],n.easeInCirc=n["ease-in-circ"],n.easeOutCirc=n["ease-out-circ"],n.easeInOutCirc=n["ease-in-out-circ"],n.easeInBack=n["ease-in-back"],n.easeOutBack=n["ease-out-back"],n.easeInOutBack=n["ease-in-out-back"],e.exports=n},{}],137:[function(t,e,i){"use strict";var n=t("../createBezier"),r=n(.25,.1,.25,1).easingFunction,s=n(.42,0,1,1).easingFunction,o=n(0,0,.58,1).easingFunction,a=n(.42,0,.58,1).easingFunction,c=function(t,e,i,n){return i*t/n+e},l=function(t,e,i,n){return i*(t/=n)*t+e},h=function(t,e,i,n){return-i*(t/=n)*(t-2)+e},u=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e},m=function(t,e,i,n){return i*(t/=n)*t*t+e},d=function(t,e,i,n){return i*((t=t/n-1)*t*t+1)+e},p=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t*t+e:i/2*((t-=2)*t*t+2)+e},f=function(t,e,i,n){return i*(t/=n)*t*t*t+e},_=function(t,e,i,n){return-i*((t=t/n-1)*t*t*t-1)+e},g=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t*t*t+e:-i/2*((t-=2)*t*t*t-2)+e},v=function(t,e,i,n){return i*(t/=n)*t*t*t*t+e},b=function(t,e,i,n){return i*((t=t/n-1)*t*t*t*t+1)+e},y=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t*t*t*t+e:i/2*((t-=2)*t*t*t*t+2)+e},E=function(t,e,i,n){return-i*Math.cos(t/n*(Math.PI/2))+i+e},w=function(t,e,i,n){return i*Math.sin(t/n*(Math.PI/2))+e},T=function(t,e,i,n){return-i/2*(Math.cos(Math.PI*t/n)-1)+e},A=function(t,e,i,n){return 0===t?e:i*Math.pow(2,10*(t/n-1))+e},S=function(t,e,i,n){return t===n?e+i:i*(-Math.pow(2,-10*t/n)+1)+e},x=function(t,e,i,n){return 0===t?e:t===n?e+i:(t/=n/2)<1?i/2*Math.pow(2,10*(t-1))+e:i/2*(-Math.pow(2,-10*--t)+2)+e},C=function(t,e,i,n){return-i*(Math.sqrt(1-(t/=n)*t)-1)+e},O=function(t,e,i,n){return i*Math.sqrt(1-(t=t/n-1)*t)+e},P=function(t,e,i,n){return(t/=n/2)<1?-i/2*(Math.sqrt(1-t*t)-1)+e:i/2*(Math.sqrt(1-(t-=2)*t)+1)+e},I=function(t,e,i,n){var r=1.70158,s=0,o=i;return 0===t?e:1===(t/=n)?e+i:(s||(s=.3*n),o<Math.abs(i)?(o=i,r=s/4):r=s/(2*Math.PI)*Math.asin(i/o),-(o*Math.pow(2,10*(t-=1))*Math.sin((t*n-r)*(2*Math.PI)/s))+e)},D=function(t,e,i,n){var r=1.70158,s=0,o=i;return 0===t?e:1===(t/=n)?e+i:(s||(s=.3*n),o<Math.abs(i)?(o=i,r=s/4):r=s/(2*Math.PI)*Math.asin(i/o),o*Math.pow(2,-10*t)*Math.sin((t*n-r)*(2*Math.PI)/s)+i+e)},F=function(t,e,i,n){var r=1.70158,s=0,o=i;return 0===t?e:2===(t/=n/2)?e+i:(s||(s=n*(.3*1.5)),o<Math.abs(i)?(o=i,r=s/4):r=s/(2*Math.PI)*Math.asin(i/o),t<1?-.5*(o*Math.pow(2,10*(t-=1))*Math.sin((t*n-r)*(2*Math.PI)/s))+e:o*Math.pow(2,-10*(t-=1))*Math.sin((t*n-r)*(2*Math.PI)/s)*.5+i+e)},k=function(t,e,i,n,r){return void 0===r&&(r=1.70158),i*(t/=n)*t*((r+1)*t-r)+e},L=function(t,e,i,n,r){return void 0===r&&(r=1.70158),i*((t=t/n-1)*t*((r+1)*t+r)+1)+e},R=function(t,e,i,n,r){return void 0===r&&(r=1.70158),(t/=n/2)<1?i/2*(t*t*(((r*=1.525)+1)*t-r))+e:i/2*((t-=2)*t*(((r*=1.525)+1)*t+r)+2)+e},M=function(t,e,i,n){return(t/=n)<1/2.75?i*(7.5625*t*t)+e:t<2/2.75?i*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?i*(7.5625*(t-=2.25/2.75)*t+.9375)+e:i*(7.5625*(t-=2.625/2.75)*t+.984375)+e},N=function(t,e,i,n){return i-M(n-t,0,i,n)+e},j=function(t,e,i,n){return t<n/2?.5*N(2*t,0,i,n)+e:.5*M(2*t-n,0,i,n)+.5*i+e};e.exports={linear:c,ease:r,easeIn:s,"ease-in":s,easeOut:o,"ease-out":o,easeInOut:a,"ease-in-out":a,easeInCubic:m,"ease-in-cubic":m,easeOutCubic:d,"ease-out-cubic":d,easeInOutCubic:p,"ease-in-out-cubic":p,easeInQuad:l,"ease-in-quad":l,easeOutQuad:h,"ease-out-quad":h,easeInOutQuad:u,"ease-in-out-quad":u,easeInQuart:f,"ease-in-quart":f,easeOutQuart:_,
"ease-out-quart":_,easeInOutQuart:g,"ease-in-out-quart":g,easeInQuint:v,"ease-in-quint":v,easeOutQuint:b,"ease-out-quint":b,easeInOutQuint:y,"ease-in-out-quint":y,easeInSine:E,"ease-in-sine":E,easeOutSine:w,"ease-out-sine":w,easeInOutSine:T,"ease-in-out-sine":T,easeInExpo:A,"ease-in-expo":A,easeOutExpo:S,"ease-out-expo":S,easeInOutExpo:x,"ease-in-out-expo":x,easeInCirc:C,"ease-in-circ":C,easeOutCirc:O,"ease-out-circ":O,easeInOutCirc:P,"ease-in-out-circ":P,easeInBack:k,"ease-in-back":k,easeOutBack:L,"ease-out-back":L,easeInOutBack:R,"ease-in-out-back":R,easeInElastic:I,"ease-in-elastic":I,easeOutElastic:D,"ease-out-elastic":D,easeInOutElastic:F,"ease-in-out-elastic":F,easeInBounce:N,"ease-in-bounce":N,easeOutBounce:M,"ease-out-bounce":M,easeInOutBounce:j,"ease-in-out-bounce":j}},{"../createBezier":132}],138:[function(t,e,i){"use strict";function n(t,e,i,n){return t.nodeType?void 0===r||n&&n.inlineStyles?new a(t,e,i,n):new c(t,e,i,n):new o(t,e,i,n)}t("./helpers/Float32Array");var r=t("./helpers/transitionEnd"),s=t("@marcom/ac-clip").Clip,o=t("./clips/ClipEasing"),a=t("./clips/ClipInlineCss"),c=t("./clips/ClipTransitionCss");for(var l in s)"function"==typeof s[l]&&"_"!==l.substr(0,1)&&(n[l]=s[l].bind(s));n.to=function(t,e,i,r){return r=r||{},void 0===r.destroyOnComplete&&(r.destroyOnComplete=!0),new n(t,e,i,r).play()},n.from=function(t,e,i,r){return r=r||{},r.propsFrom=i,void 0===r.destroyOnComplete&&(r.destroyOnComplete=!0),new n(t,e,r.propsTo,r).play()},e.exports=n},{"./clips/ClipEasing":141,"./clips/ClipInlineCss":142,"./clips/ClipTransitionCss":143,"./helpers/Float32Array":146,"./helpers/transitionEnd":155,"@marcom/ac-clip":37}],139:[function(t,e,i){"use strict";e.exports=t("./timeline/Timeline")},{"./timeline/Timeline":157}],140:[function(t,e,i){"use strict";e.exports={Clip:t("./Clip"),Timeline:t("./Timeline")}},{"./Clip":138,"./Timeline":139}],141:[function(t,e,i){"use strict";function n(t,e,i,n){n&&a(n.ease)&&(n.ease=c.create(n.ease).toEasingFunction()),n=n||{},this._propsEase=n.propsEase||{},l.call(this,t,e,i,n)}var r=t("@marcom/ac-object/clone"),s=t("@marcom/ac-object/create"),o=t("@marcom/ac-easing").createPredefined,a=t("../helpers/isCssCubicBezierString"),c=t("../helpers/BezierCurveCssManager"),l=t("@marcom/ac-clip").Clip,h=t("@marcom/ac-easing").Ease,u=l.prototype,m=n.prototype=s(u);m.reset=function(){var t=u.reset.call(this);if(this._clips)for(var e=this._clips.length;e--;)this._clips[e].reset();return t},m.destroy=function(){if(this._clips){for(var t=this._clips.length;t--;)this._clips[t].destroy();this._clips=null}return this._eases=null,this._storeOnUpdate=null,u.destroy.call(this)},m._prepareProperties=function(){var t,e,i=0,n={},s={},m={};if(this._propsEase){for(t in this._propsTo)this._propsTo.hasOwnProperty(t)&&(e=this._propsEase[t],a(e)&&(e=c.create(e).toEasingFunction()),void 0===e?(void 0===n[this._ease]&&(n[this._ease]={},s[this._ease]={},m[this._ease]=this._ease.easingFunction,i++),n[this._ease][t]=this._propsTo[t],s[this._ease][t]=this._propsFrom[t]):"function"==typeof e?(n[i]={},s[i]={},n[i][t]=this._propsTo[t],s[i][t]=this._propsFrom[t],m[i]=e,i++):(void 0===n[e]&&(n[e]={},s[e]={},m[e]=e,i++),n[e][t]=this._propsTo[t],s[e][t]=this._propsFrom[t]));if(i>1){var d=r(this._options||{},!0),p=.001*this._duration;this._storeOnUpdate=this._onUpdate,this._onUpdate=this._onUpdateClips,d.onStart=null,d.onUpdate=null,d.onDraw=null,d.onComplete=null,this._clips=[];for(e in n)n.hasOwnProperty(e)&&(d.ease=m[e],d.propsFrom=s[e],this._clips.push(new l(this._target,p,n[e],d)));e="linear",this._propsTo={},this._propsFrom={}}else for(t in m)m.hasOwnProperty(t)&&(e=m[t]);void 0!==e&&(this._ease="function"==typeof e?new h(e):o(e))}return u._prepareProperties.call(this)},m._onUpdateClips=function(t){for(var e=1===this._direction?t.progress():1-t.progress(),i=this._clips.length;i--;)this._clips[i].progress(e);"function"==typeof this._storeOnUpdate&&this._storeOnUpdate.call(this,this)},e.exports=n},{"../helpers/BezierCurveCssManager":145,"../helpers/isCssCubicBezierString":151,"@marcom/ac-clip":37,"@marcom/ac-easing":130,"@marcom/ac-object/clone":283,"@marcom/ac-object/create":284}],142:[function(t,e,i){"use strict";function n(t,e,i,n){n=n||{},this._el=t,this._storeOnStart=n.onStart||null,this._storeOnDraw=n.onDraw||null,this._storeOnComplete=n.onComplete||null,n.onStart=this._onStart,n.onDraw=this._onDraw,n.onComplete=this._onComplete,l.call(this,{},e,i,n)}var r=t("@marcom/ac-dom-styles/setStyle"),s=t("../helpers/convertToStyleObject"),o=t("../helpers/convertToTransitionableObjects"),a=t("@marcom/ac-object/create"),c=t("../helpers/removeTransitions"),l=t("./ClipEasing"),h=l.prototype,u=n.prototype=a(h);u.play=function(){var t=h.play.call(this);return 0!==this._remainingDelay&&r(this._el,s(this._target)),t},u.reset=function(){var t=h.reset.call(this);return r(this._el,s(this._target)),t},u.destroy=function(){return this._el=null,this._completeStyles=null,this._storeOnStart=null,this._storeOnDraw=null,this._storeOnComplete=null,h.destroy.call(this)},u.target=function(){return this._el},u._prepareProperties=function(){var t=o(this._el,this._propsTo,this._propsFrom);this._target=t.target,this._propsFrom=t.propsFrom,this._propsTo=t.propsTo,c(this._el,this._target);var e=this._isYoyo?this._propsFrom:this._propsTo;if(this._completeStyles=s(e),void 0!==this._options.removeStylesOnComplete){var i,n=this._options.removeStylesOnComplete;if("boolean"==typeof n&&n)for(i in this._completeStyles)this._completeStyles.hasOwnProperty(i)&&(this._completeStyles[i]=null);else if("object"==typeof n&&n.length)for(var r=n.length;r--;)i=n[r],this._completeStyles.hasOwnProperty(i)&&(this._completeStyles[i]=null)}return h._prepareProperties.call(this)},u._onStart=function(t){this.playing()&&1===this._direction&&0===this._delay&&r(this._el,s(this._propsFrom)),"function"==typeof this._storeOnStart&&this._storeOnStart.call(this,this)},u._onDraw=function(t){r(this._el,s(this._target)),"function"==typeof this._storeOnDraw&&this._storeOnDraw.call(this,this)},u._onComplete=function(t){r(this._el,this._completeStyles),"function"==typeof this._storeOnComplete&&this._storeOnComplete.call(this,this)},e.exports=n},{"../helpers/convertToStyleObject":148,"../helpers/convertToTransitionableObjects":149,"../helpers/removeTransitions":152,"./ClipEasing":141,"@marcom/ac-dom-styles/setStyle":120,"@marcom/ac-object/create":284}],143:[function(t,e,i){"use strict";function n(t,e,i,n){if(n=n||{},this._el=t,this._storeEase=n.ease,"function"==typeof this._storeEase)throw new Error(E);this._storeOnStart=n.onStart||null,this._storeOnComplete=n.onComplete||null,n.onStart=this._onStart.bind(this),n.onComplete=this._onComplete.bind(this),this._stylesTo=c(i,!0),this._stylesFrom=n.propsFrom?c(n.propsFrom,!0):{},this._propsEase=n.propsEase?c(n.propsEase,!0):{},u(n.ease)&&(n.ease=f.create(n.ease).toEasingFunction()),_.call(this,{},e,{},n),this._propsFrom={}}var r=t("@marcom/ac-dom-styles/setStyle"),s=t("@marcom/ac-dom-styles/getStyle"),o=t("../helpers/convertToStyleObject"),a=t("../helpers/convertToTransitionableObjects"),c=t("@marcom/ac-object/clone"),l=t("@marcom/ac-object/create"),h=t("@marcom/ac-easing").createPredefined,u=t("../helpers/isCssCubicBezierString"),m=t("../helpers/removeTransitions"),d=t("../helpers/transitionEnd"),p=t("../helpers/waitAnimationFrames"),f=t("../helpers/BezierCurveCssManager"),_=t("@marcom/ac-clip").Clip,g=t("./ClipEasing"),v=t("@marcom/ac-page-visibility").PageVisibilityManager,b="ease",y="%EASE% is not a supported predefined ease when transitioning with Elements and CSS transition. If you need to use %EASE% then pass the inlineStyle:true option.",E="Function eases are not supported when using CSS transitions with Elements. Either use a cubic-bezier string (e.g. 'cubic-bezier(0, 0, 1, 1)' or pass the inlineStyle option as `true` to render styles each frame instead of using CSS transitions.",w=_.prototype,T=n.prototype=l(w);T.play=function(){var t=w.play.call(this);return 1===this._direction&&0===this.progress()&&0!==this._remainingDelay&&this._applyStyles(0,o(this._stylesFrom)),t},T.reset=function(){var t=w.reset.call(this);return this._stylesClip.reset(),this._applyStyles(0,o(this._styles)),t},T.destroy=function(){return v.off("changed",this._onVisibilityChanged),this._removeTransitionListener(),this.off("pause",this._onPaused),this._onPaused(),this._stylesClip.destroy(),this._stylesClip=null,this._el=null,this._propsArray=null,this._styles=null,this._stylesFrom=null,this._stylesTo=null,this._completeStyles=null,this._storeOnStart=null,this._storeOnComplete=null,this._onTransitionEnded=null,w.destroy.call(this)},T.target=function(){return this._el},T.duration=function(t){var e=w.duration.call(this,t);return void 0===t?e:(this.playing()&&this.progress(this._progress),e)},T.progress=function(t){var e=w.progress.call(this,t);return void 0===t?e:(t=1===this._direction?t:1-t,this._stylesClip.progress(t),this._applyStyles(0,o(this._styles)),this.playing()&&(this._isWaitingForStylesToBeApplied=!0,p(this._setStylesAfterWaiting,2)),e)},T._prepareProperties=function(){var t=a(this._el,this._stylesTo,this._stylesFrom);this._styles=t.target,this._stylesTo=t.propsTo,this._stylesFrom=t.propsFrom;var e=this._storeEase||b;this._eases={},this._propsArray=[];var i;this._styleCompleteTo=o(this._stylesTo),this._styleCompleteFrom=o(this._stylesFrom),this._propsEaseKeys={};var n;for(n in this._stylesTo)this._stylesTo.hasOwnProperty(n)&&(this._propsArray[this._propsArray.length]=n,void 0===this._propsEase[n]?(void 0===this._eases[e]&&(i=this._convertEase(e),this._eases[e]=i.css),this._propsEaseKeys[n]=e):void 0===this._eases[this._propsEase[n]]?(i=this._convertEase(this._propsEase[n]),this._eases[this._propsEase[n]]=i.css,this._propsEaseKeys[n]=this._propsEase[n],this._propsEase[n]=i.js):u(this._propsEase[n])&&(this._propsEaseKeys[n]=this._propsEase[n],this._propsEase[n]=this._eases[this._propsEase[n]][1].toEasingFunction()));if(this._onPaused=this._onPaused.bind(this),this.on("pause",this._onPaused),this._setOtherTransitions(),this._currentTransitionStyles=this._otherTransitions,this._completeStyles=o(this._isYoyo?this._stylesFrom:this._stylesTo),void 0!==this._options.removeStylesOnComplete){var r=this._options.removeStylesOnComplete;if("boolean"==typeof r&&r)for(n in this._stylesTo)this._completeStyles[n]=null;else if("object"==typeof r&&r.length)for(var s=r.length;s--;)this._completeStyles[r[s]]=null}return this._onTransitionEnded=this._onTransitionEnded.bind(this),this._setStylesAfterWaiting=this._setStylesAfterWaiting.bind(this),this._onVisibilityChanged=this._onVisibilityChanged.bind(this),v.on(v.CHANGED,this._onVisibilityChanged),this._stylesClip=new g(this._styles,1,this._stylesTo,{ease:this._options.ease,propsFrom:this._stylesFrom,propsEase:this._options.propsEase}),_._remove(this._stylesClip),w._prepareProperties.call(this)},T._convertEase=function(t){if("function"==typeof t)throw new Error(E);var e,i;if(u(t))e=f.create(t),i=e.toEasingFunction();else{var n=h(t);if(null===n.cssString)throw new Error(y.replace(/%EASE%/g,t));e=f.create(n.cssString),i=t}return{css:{1:e,"-1":e.reversed()},js:i}},T._complete=function(){!this._isWaitingForStylesToBeApplied&&!this._isTransitionEnded&&this._isListeningForTransitionEnd||1!==this.progress()||(this._isWaitingForStylesToBeApplied=!1,w._complete.call(this))},T._onTransitionEnded=function(){this._isTransitionEnded=!0,this._complete()},T._addTransitionListener=function(){!this._isListeningForTransitionEnd&&this._el&&this._onTransitionEnded&&(this._isListeningForTransitionEnd=!0,this._isTransitionEnded=!1,this._el.addEventListener(d,this._onTransitionEnded))},T._removeTransitionListener=function(){this._isListeningForTransitionEnd&&this._el&&this._onTransitionEnded&&(this._isListeningForTransitionEnd=!1,this._isTransitionEnded=!1,this._el.removeEventListener(d,this._onTransitionEnded))},T._applyStyles=function(t,e){if(t>0){var i,n="",s={};for(i in this._eases)this._eases.hasOwnProperty(i)&&(s[i]=this._eases[i][this._direction].splitAt(this.progress()).toCSSString());for(i in this._stylesTo)this._stylesTo.hasOwnProperty(i)&&(n+=i+" "+t+"ms "+s[this._propsEaseKeys[i]]+" 0ms, ");this._currentTransitionStyles=n.substr(0,n.length-2),this._doStylesMatchCurrentStyles(e)?this._removeTransitionListener():this._addTransitionListener()}else this._currentTransitionStyles="",this._removeTransitionListener();e.transition=this._getOtherClipTransitionStyles()+this._currentTransitionStyles,r(this._el,e)},T._doStylesMatchCurrentStyles=function(t){var e,i=s.apply(this,[this._el].concat([this._propsArray]));for(e in t)if(t.hasOwnProperty(e)&&i.hasOwnProperty(e)&&t[e]!==i[e])return!1;return!0},T._setStylesAfterWaiting=function(){if(this._isWaitingForStylesToBeApplied=!1,this.playing()){var t=this._durationMs*(1-this.progress()),e=this._direction>0?this._styleCompleteTo:this._styleCompleteFrom;this._applyStyles(t,e)}},T._setOtherTransitions=function(){m(this._el,this._stylesTo);for(var t=_.getAll(this._el),e=t.length;e--;)if(t[e]!==this&&t[e].playing()&&t[e]._otherTransitions&&t[e]._otherTransitions.length)return void(this._otherTransitions=t[e]._otherTransitions);this._otherTransitions=s(this._el,"transition").transition,null!==this._otherTransitions&&"all 0s ease 0s"!==this._otherTransitions||(this._otherTransitions="")},T._getTransitionStyles=function(){var t=this._getOtherClipTransitionStyles();return this._otherTransitions.length?t+=this._otherTransitions:t.length&&(t=t.substr(0,t.length-2)),t},T._getOtherClipTransitionStyles=function(){for(var t="",e=_.getAll(this._el),i=e.length;i--;)e[i]!==this&&e[i].playing()&&e[i]._currentTransitionStyles&&e[i]._currentTransitionStyles.length&&(t+=e[i]._currentTransitionStyles+", ");return t},T._onVisibilityChanged=function(t){if(this.playing()&&!t.isHidden){this._update({timeNow:this._getTime()});var e=this.progress();e<1&&this.progress(e)}},T._onPaused=function(t){var e=s.apply(this,[this._el].concat([this._propsArray]));e.transition=this._getTransitionStyles(),this._removeTransitionListener(),r(this._el,e)},T._onStart=function(t){var e=1===this._direction&&0===this.progress()&&0===this._delay?2:0;e&&(this._isWaitingForStylesToBeApplied=!0,this._applyStyles(0,this._styleCompleteFrom)),p(this._setStylesAfterWaiting,e),"function"==typeof this._storeOnStart&&this._storeOnStart.call(this,this)},T._onComplete=function(t){this._removeTransitionListener(),this._completeStyles.transition=this._getTransitionStyles(),r(this._el,this._completeStyles),"function"==typeof this._storeOnComplete&&this._storeOnComplete.call(this,this)},e.exports=n},{"../helpers/BezierCurveCssManager":145,"../helpers/convertToStyleObject":148,"../helpers/convertToTransitionableObjects":149,"../helpers/isCssCubicBezierString":151,"../helpers/removeTransitions":152,"../helpers/transitionEnd":155,"../helpers/waitAnimationFrames":156,"./ClipEasing":141,"@marcom/ac-clip":37,"@marcom/ac-dom-styles/getStyle":118,"@marcom/ac-dom-styles/setStyle":120,"@marcom/ac-easing":130,"@marcom/ac-object/clone":283,"@marcom/ac-object/create":284,"@marcom/ac-page-visibility":292}],144:[function(t,e,i){"use strict";function n(t,e){this.manager=e,this.p1={x:t[0],y:t[1]},this.p2={x:t[2],y:t[3]},this._isLinear=this.p1.x===this.p1.y&&this.p2.x===this.p2.y,this._cacheSplits={}}var r=t("@marcom/ac-easing").createBezier,s=n.prototype;s.splitAt=function(t){if(this._isLinear)return this;if(t=Math.round(40*t)/40,0===t)return this;if(void 0!==this._cacheSplits[t])return this._cacheSplits[t];for(var e=[this.p1.x,this.p2.x],i=[this.p1.y,this.p2.y],n=0,r=t,s=0,o=1,a=this._getStartX(t,e);r!==a&&n<1e3;)r<a?o=t:s=t,t=s+.5*(o-s),a=this._getStartX(t,e),++n;var c=this._splitBezier(t,e,i),l=this._normalize(c),h=this.manager.create(l);return this._cacheSplits[r]=h,h},s.reversed=function(){var t=this.toArray();return this.manager.create([.5-(t[2]-.5),.5-(t[3]-.5),.5-(t[0]-.5),.5-(t[1]-.5)])},s.toArray=function(){return[this.p1.x,this.p1.y,this.p2.x,this.p2.y]},s.toCSSString=function(){return"cubic-bezier("+this.p1.x+", "+this.p1.y+", "+this.p2.x+", "+this.p2.y+")"},s.toEasingFunction=function(){return r.apply(this,this.toArray()).easingFunction},s._getStartX=function(t,e){var i=t-1,n=t*t,r=i*i,s=n*t;return s-3*n*i*e[1]+3*t*r*e[0]},s._splitBezier=function(t,e,i){var n=t-1,r=t*t,s=n*n,o=r*t;return[o-3*r*n*e[1]+3*t*s*e[0],o-3*r*n*i[1]+3*t*s*i[0],r-2*t*n*e[1]+s*e[0],r-2*t*n*i[1]+s*i[0],t-n*e[1],t-n*i[1]]},s._normalize=function(t){return[(t[2]-t[0])/(1-t[0]),(t[3]-t[1])/(1-t[1]),(t[4]-t[0])/(1-t[0]),(t[5]-t[1])/(1-t[1])]},e.exports=n},{"@marcom/ac-easing":130}],145:[function(t,e,i){"use strict";function n(){this._instances={}}var r=t("./BezierCurveCss"),s=n.prototype;s.create=function(t){var e;if(e="string"==typeof t?t.replace(/ /g,""):"cubic-bezier("+t.join(",")+")",void 0===this._instances[e]){if("string"==typeof t){t=t.match(/\d*\.?\d+/g);for(var i=t.length;i--;)t[i]=Number(t[i])}this._instances[e]=new r(t,this)}return this._instances[e]},e.exports=new n},{"./BezierCurveCss":144}],146:[function(t,e,i){"use strict";"undefined"==typeof window.Float32Array&&(window.Float32Array=function(){})},{}],147:[function(t,e,i){"use strict";function n(t,e,i){this._transform=t;var n,r,o;for(o in i)i.hasOwnProperty(o)&&"function"==typeof this._transform[o]&&(n=s(i[o]),r="%"===n.unit?this._convertPercentToPixelValue(o,n.value,e):n.value,this._transform[o].call(this._transform,r))}var r=t("@marcom/ac-dom-metrics/getDimensions"),s=t("./splitUnits"),o={translateX:"width",translateY:"height"},a=n.prototype;a._convertPercentToPixelValue=function(t,e,i){t=o[t];var n=r(i);return n[t]?(e*=.01,n[t]*e):e},a.toArray=function(){return this._transform.toArray()},a.toCSSString=function(){return this._transform.toCSSString()},e.exports=n},{"./splitUnits":153,"@marcom/ac-dom-metrics/getDimensions":80}],148:[function(t,e,i){"use strict";e.exports=function(t){var e,i,n={};for(i in t)t.hasOwnProperty(i)&&null!==t[i]&&(t[i].isColor?t[i].isRgb?n[i]="rgb("+Math.round(t[i].r)+", "+Math.round(t[i].g)+", "+Math.round(t[i].b)+")":t[i].isRgba&&(n[i]="rgba("+Math.round(t[i].r)+", "+Math.round(t[i].g)+", "+Math.round(t[i].b)+", "+t[i].a+")"):"transform"===i?(e=6===t[i].length?"matrix":"matrix3d",n[i]=e+"("+t[i].join(",")+")"):t[i].unit?n[i]=t[i].value+t[i].unit:n[i]=t[i].value);return n}},{}],149:[function(t,e,i){"use strict";var n=t("@marcom/ac-dom-styles/getStyle"),r=t("@marcom/ac-object/clone"),s=t("./splitUnits"),o=t("./toCamCase"),a=t("@marcom/ac-color").Color,c=t("@marcom/ac-feature/cssPropertyAvailable"),l=t("@marcom/ac-transform").Transform,h=t("./TransformMatrix"),u=function(t){return a.isRgba(t)?(t=new a(t).rgbaObject(),t.isRgba=!0):(t=new a(t).rgbObject(),t.isRgb=!0),t.isColor=!0,t},m=function(t){t.isRgb&&(t.isRgb=!1,t.isRgba=!0,t.a=1)},d=function(t,e,i){(t.isRgba||e.isRgba||i.isRgba)&&(m(t),m(e),m(i))},p=function(t){return[t[0],t[1],0,0,t[2],t[3],0,0,0,0,1,0,t[4],t[5],0,1]},f=function(t,e,i){16!==t.transform.length&&16!==e.transform.length&&16!==i.transform.length||(6===t.transform.length&&(t.transform=p(t.transform)),6===e.transform.length&&(e.transform=p(e.transform)),6===i.transform.length&&(i.transform=p(i.transform)))};e.exports=function(t,e,i){var m={};e=r(e,!0),i=r(i,!0);var p,_,g,v,b,y=c("transform");for(b in e)e.hasOwnProperty(b)&&null!==e[b]&&("transform"===b?(y&&(_=new l,p=n(t,"transform").transform||"none",_.setMatrixValue(p),g=new h(new l,t,e[b])),g&&g.toCSSString()!==_.toCSSString()?(v=new h(i[b]?new l:_.clone(),t,i[b]),m[b]=_.toArray(),e[b]=g.toArray(),i[b]=v.toArray()):(m[b]=null,e[b]=null)):(p=n(t,b)[o(b)]||i[b],a.isColor(p)?(m[b]=u(p),i[b]=void 0!==i[b]?u(i[b]):r(m[b],!0),e[b]=u(e[b])):(m[b]=s(p),i[b]=void 0!==i[b]?s(i[b]):r(m[b],!0),e[b]=s(e[b]))));for(b in i)!i.hasOwnProperty(b)||null===i[b]||void 0!==e[b]&&null!==e[b]||("transform"===b?(y&&(_=new l,_.setMatrixValue(getComputedStyle(t).transform||getComputedStyle(t).webkitTransform||"none"),v=new h(new l,t,i[b])),v&&v.toCSSString()!==_.toCSSString()?(g=new h(_.clone()),m[b]=_.toArray(),e[b]=g.toArray(),i[b]=v.toArray()):(m[b]=null,e[b]=null,i[b]=null)):(p=n(t,b)[o(b)],a.isColor(p)?(m[b]=u(p),e[b]=r(m[b],!0),i[b]=u(i[b])):(m[b]=s(p),i[b]=s(i[b]),e[b]=r(m[b],!0)))),m[b]&&m[b].isColor&&d(m[b],i[b],e[b]);return m.transform&&f(m,i,e),{target:m,propsTo:e,propsFrom:i}}},{"./TransformMatrix":147,"./splitUnits":153,"./toCamCase":154,"@marcom/ac-color":43,"@marcom/ac-dom-styles/getStyle":118,"@marcom/ac-feature/cssPropertyAvailable":179,"@marcom/ac-object/clone":283,"@marcom/ac-transform":339}],150:[function(t,e,i){"use strict";e.exports=function(t){if(t.transitionProperty){for(var e="",i=t.transitionProperty.split(", "),n=t.transitionDuration.split(", "),r=t.transitionTimingFunction.replace(/\d+[,]+[\s]/gi,function(t){return t.substr(0,t.length-1)}).split(", "),s=t.transitionDelay.split(", "),o=i.length;o--;)e+=i[o]+" "+n[o]+" "+r[o]+" "+s[o]+", ";return e.substr(0,e.length-2)}return!1}},{}],151:[function(t,e,i){"use strict";e.exports=function(t){return"string"==typeof t&&"cubic-bezier("===t.substr(0,13)}},{}],152:[function(t,e,i){"use strict";var n=t("@marcom/ac-dom-styles/setStyle"),r=t("@marcom/ac-dom-styles/getStyle"),s=t("./getShorthandTransition");e.exports=function(t,e){var i=r(t,"transition","transition-property","transition-duration","transition-timing-function","transition-delay");if(i=i.transition||s(i),i&&i.length){i=i.split(",");for(var o,a=0,c=i.length;c--;)o=i[c].trim().split(" ")[0],void 0!==e[o]&&(i.splice(c,1),++a);a&&(0===i.length&&(i=["all"]),n(t,{transition:i.join(",").trim()}))}}},{"./getShorthandTransition":150,"@marcom/ac-dom-styles/getStyle":118,"@marcom/ac-dom-styles/setStyle":120}],153:[function(t,e,i){"use strict";e.exports=function(t){if(t=String(t),t.indexOf(" ")>-1)throw new Error("Shorthand CSS is not supported. Please use longhand CSS only.");var e=/(\d*\.?\d*)(.*)/,i=1;t&&"-"===t.substr(0,1)&&(t=t.substr(1),i=-1);var n=String(t).match(e);return{value:Number(n[1])*i,unit:n[2]}}},{}],154:[function(t,e,i){"use strict";e.exports=function(t){var e=function(t,e,i,n){return 0===i&&"moz"!==n.substr(1,3)?e:e.toUpperCase()};return t.replace(/-(\w)/g,e)}},{}],155:[function(t,e,i){"use strict";var n;e.exports=function(){if(n)return n;var t,e=document.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(void 0!==e.style[t])return n=i[t]}()},{}],156:[function(t,e,i){"use strict";var n=t("@marcom/ac-page-visibility").PageVisibilityManager;e.exports=function(t,e){if(e){var i=function(t){n.isHidden?setTimeout(t,16):window.requestAnimationFrame(t)},r=0,s=function(){r===e?t.call(this):(++r,i(s))};s()}else t.call(this)}},{"@marcom/ac-page-visibility":292}],157:[function(t,e,i){"use strict";function n(t){t=t||{},t.ease=t.ease||"linear",t.destroyOnComplete=!1,this.options=t,s.call(this,{t:0},0,{t:1},t),this._itemList=new c}var r=t("@marcom/ac-object/create"),s=t("@marcom/ac-clip").Clip,o=t("./TimelineClip"),a=t("./TimelineCallback"),c=t("./TimelineItemList"),l=s.prototype,h=n.prototype=r(l);n.prototype.constructor=n,h._update=function(t){l._update.call(this,t),this._render()},h.progress=function(t){return l.progress.call(this,t),void 0!==t&&this._render(),this._progress},h._render=function(){if(0!==this._itemList.length)for(var t=this._target.t*this._duration,e=this._itemList.head,i=e;i;){i=e.next;var n=t-e.position;e.currentTime(n),e=i}},h.addClip=function(t,e){e=void 0===e?this.duration():e;var i=t._delay/1e3;this._itemList.append(new o(t,e+i)),this._updateDuration()},h.addCallback=function(t,e){e=void 0===e?this.duration():e,this._itemList.append(new a(t,e)),this._updateDuration()},h.remove=function(t){var e=this._itemList.getItem(t);e&&(this._itemList.remove(e),this._updateDuration())},h._updateDuration=function(){var t=this._itemList.head,e=t.position+t.duration();this._itemList.forEach(function(i){var n=i.position+i.duration();n>=e&&(t=i,e=n)}),this.duration(e)},h.destroy=function(){for(var t=this._itemList.head;t;){var e=t;t=e.next,this._itemList.remove(e)}return this._duration=0,l.destroy.call(this)},e.exports=n},{"./TimelineCallback":158,"./TimelineClip":159,"./TimelineItemList":160,"@marcom/ac-clip":37,"@marcom/ac-object/create":284}],158:[function(t,e,i){"use strict";function n(t,e){this.callback=t,this._delay=0,this.position=e,this._hasTriggered=!1,this.prev=null,this.next=null}var r=n.prototype;r.duration=function(){return 0},r.currentTime=function(t){return t>=0&&!this._hasTriggered&&(this.callback(),this._hasTriggered=!0),t<0&&this._hasTriggered&&(this.callback(),this._hasTriggered=!1),0},e.exports=n},{}],159:[function(t,e,i){"use strict";function n(t,e){this.clip=t,this.position=e,this.duration=this.clip.duration.bind(this.clip),this.lastProgress=-1,this.prev=null,this.next=null}var r=n.prototype;r.currentTime=function(t){var e=Math.min(1,Math.max(0,t/this.clip._duration));return e!==e&&(e=1),this.lastProgress===e?this.lastProgress:(0!==this.lastProgress&&0!==e&&this.lastProgress!==-1||this.clip._storeOnStart&&this.clip._storeOnStart(this.clip),this.clip._playing=e*this.clip._duration===this.clip._duration,this.lastProgress=this.clip.progress(e),this.lastProgress)},r.destroy=function(){this.clip.destroy(),this.prev=null,this.next=null,this.duration=null},e.exports=n},{}],160:[function(t,e,i){"use strict";var n=t("./TimelineClip"),r=t("./TimelineCallback"),s=function(){this.head=null,this.tail=null,this.length=0},o=s.prototype;o.append=function(t){t.prev=null,t.next=null,this.tail?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t,this.length++},o.remove=function(t){t===this.head?this.head=this.head.next:t===this.tail&&(this.tail=this.tail.prev),t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.next=t.prev=null,null===this.head&&(this.tail=null),this.length--},o.getItem=function(t){for(var e=this.head;e;){var i=e;if(i instanceof n&&i.clip===t||i instanceof r&&i.callback===t)return i;e=i.next}return null},o.forEach=function(t){for(var e=0,i=this.head;i;){var n=i;t(n,e,this.length),i=n.next}},o.destroy=function(){for(;this.head;){var t=this.head;this.remove(t),t.destroy()}},e.exports=s},{"./TimelineCallback":158,"./TimelineClip":159}],161:[function(t,e,i){var n=t("./ac-element-engagement/ElementEngagement");e.exports=new n,e.exports.ElementEngagement=n},{"./ac-element-engagement/ElementEngagement":162}],162:[function(t,e,i){"use strict";var n,r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s={defaults:t("@marcom/ac-object/defaults"),extend:t("@marcom/ac-object/extend")},o=t("@marcom/ac-element-tracker").ElementTracker,a={timeToEngage:500,inViewThreshold:.75,stopOnEngaged:!0},c={thresholdEnterTime:0,thresholdExitTime:0,inThreshold:!1,engaged:!1,tracking:!0},l=function(t){o.call(this,null,t),r.call(this),this._thresholdEnter=this._thresholdEnter.bind(this),this._thresholdExit=this._thresholdExit.bind(this),this._enterView=this._enterView.bind(this),this._exitView=this._exitView.bind(this)};n=l.prototype=Object.create(o.prototype),n=s.extend(n,r.prototype),n._decorateTrackedElement=function(t,e){var i;i=s.defaults(a,e||{}),s.extend(t,i),s.extend(t,c)},n._attachElementListeners=function(t){t.on("thresholdenter",this._thresholdEnter,this),t.on("thresholdexit",this._thresholdExit,this),t.on("enterview",this._enterView,this),t.on("exitview",this._exitView,this)},n._removeElementListeners=function(t){t.off("thresholdenter",this._thresholdEnter),t.off("thresholdexit",this._thresholdExit),t.off("enterview",this._enterView),t.off("exitview",this._exitView)},n._attachAllElementListeners=function(){this.elements.forEach(function(t){t.stopOnEngaged?t.engaged||this._attachElementListeners(t):this._attachElementListeners(t)},this)},n._removeAllElementListeners=function(){this.elements.forEach(function(t){this._removeElementListeners(t)},this)},n._elementInViewPastThreshold=function(t){var e=!1;return e=t.pixelsInView===this._windowHeight||t.percentInView>t.inViewThreshold},n._ifInView=function(t,e){var i=t.inThreshold;o.prototype._ifInView.apply(this,arguments),!i&&this._elementInViewPastThreshold(t)&&(t.inThreshold=!0,t.trigger("thresholdenter",t),"number"==typeof t.timeToEngage&&t.timeToEngage>=0&&(t.engagedTimeout=window.setTimeout(this._engaged.bind(this,t),t.timeToEngage)))},n._ifAlreadyInView=function(t){var e=t.inThreshold;o.prototype._ifAlreadyInView.apply(this,arguments),e&&!this._elementInViewPastThreshold(t)&&(t.inThreshold=!1,t.trigger("thresholdexit",t),t.engagedTimeout&&(window.clearTimeout(t.engagedTimeout),t.engagedTimeout=null))},n._engaged=function(t){t.engagedTimeout=null,this._elementEngaged(t),t.trigger("engaged",t),this.trigger("engaged",t)},n._thresholdEnter=function(t){t.thresholdEnterTime=Date.now(),t.thresholdExitTime=0,this.trigger("thresholdenter",t)},n._thresholdExit=function(t){t.thresholdExitTime=Date.now(),this.trigger("thresholdexit",t)},n._enterView=function(t){this.trigger("enterview",t)},n._exitView=function(t){this.trigger("exitview",t)},n._elementEngaged=function(t){t.engaged=!0,t.stopOnEngaged&&this.stop(t)},n.stop=function(t){this.tracking&&!t&&(this._removeAllElementListeners(),o.prototype.stop.call(this)),t&&t.tracking&&(t.tracking=!1,this._removeElementListeners(t),this.removeElement(t))},n.start=function(t){t||this._attachAllElementListeners(),t&&!t.tracking&&(t.stopOnEngaged?t.engaged||(t.tracking=!0,this._attachElementListeners(t)):(t.tracking=!0,this._attachElementListeners(t))),this.tracking?(this.refreshAllElementMetrics(),this.refreshAllElementStates()):o.prototype.start.call(this)},n.addElement=function(t,e){e=e||{};var i=o.prototype.addElement.call(this,t,e.useRenderedPosition);return this._decorateTrackedElement(i,e),i},n.addElements=function(t,e){[].forEach.call(t,function(t){this.addElement(t,e)},this)},e.exports=l},{"@marcom/ac-element-tracker":167,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/defaults":285,"@marcom/ac-object/extend":286}],163:[function(t,e,i){"use strict";e.exports=function(t,e){var i;return e?(i=t.getBoundingClientRect(),{width:i.width,height:i.height}):{width:t.offsetWidth,height:t.offsetHeight}}},{}],164:[function(t,e,i){"use strict";var n=t("./getDimensions"),r=t("./getScrollX"),s=t("./getScrollY");e.exports=function(t,e){var i,o,a,c;if(e)return i=t.getBoundingClientRect(),o=r(),a=s(),{top:i.top+a,right:i.right+o,bottom:i.bottom+a,left:i.left+o};for(c=n(t,e),i={top:t.offsetTop,left:t.offsetLeft,width:c.width,height:c.height};t=t.offsetParent;)i.top+=t.offsetTop,i.left+=t.offsetLeft;return{top:i.top,right:i.left+i.width,bottom:i.top+i.height,left:i.left}}},{"./getDimensions":163,"./getScrollX":165,"./getScrollY":166}],165:[function(t,e,i){"use strict";e.exports=function(t){return t=t||window,t===window?window.scrollX||window.pageXOffset:t.scrollLeft}},{}],166:[function(t,e,i){"use strict";e.exports=function(t){return t=t||window,t===window?window.scrollY||window.pageYOffset:t.scrollTop}},{}],167:[function(t,e,i){var n=t("./ac-element-tracker/ElementTracker"),r=t("./ac-element-tracker/TrackedElement");e.exports=new n,e.exports.ElementTracker=n,e.exports.TrackedElement=r},{"./ac-element-tracker/ElementTracker":168,"./ac-element-tracker/TrackedElement":169}],168:[function(t,e,i){"use strict";function n(t,e){this.options=o.clone(c),this.options="object"==typeof e?o.extend(this.options,e):this.options,this._scrollY=this._getScrollY(),this._windowHeight=this._getWindowHeight(),this.tracking=!1,this.elements=[],t&&(Array.isArray(t)||r.isNodeList(t)||r.isElement(t))&&this.addElements(t),this.refreshAllElementStates=this.refreshAllElementStates.bind(this),this.refreshAllElementMetrics=this.refreshAllElementMetrics.bind(this),this.options.autoStart&&this.start()}var r={isNodeList:t("@marcom/ac-dom-nodes/isNodeList"),isElement:t("@marcom/ac-dom-nodes/isElement")},s={getDimensions:t("@marcom/ac-dom-metrics/getDimensions"),getPagePosition:t("@marcom/ac-dom-metrics/getPagePosition"),getScrollY:t("@marcom/ac-dom-metrics/getScrollY")
},o={clone:t("@marcom/ac-object/clone"),extend:t("@marcom/ac-object/extend")},a=t("./TrackedElement"),c={autoStart:!1,useRenderedPosition:!1},l=n.prototype;l.destroy=function(){var t,e;for(this.stop(),t=0,e=this.elements.length;t<e;t++)this.elements[t].destroy();this.elements=null,this.options=null},l._registerTrackedElements=function(t){var e=[].concat(t);e.forEach(function(t){this._elementInDOM(t.element)&&(t.offsetTop=t.element.offsetTop,this.elements.push(t))},this)},l._elementInDOM=function(t){var e=!1,i=document.getElementsByTagName("body")[0];return r.isElement(t)&&i.contains(t)&&(e=!0),e},l._elementPercentInView=function(t){return t.pixelsInView/t.height},l._elementPixelsInView=function(t){var e=t.top-this._scrollY,i=t.bottom-this._scrollY;return e>this._windowHeight||i<0?0:Math.min(i,this._windowHeight)-Math.max(e,0)},l._ifInView=function(t,e){e||t.trigger("enterview",t)},l._ifAlreadyInView=function(t){t.inView||t.trigger("exitview",t)},l.addElements=function(t,e){"undefined"==typeof e&&(e=this.options.useRenderedPosition),t=r.isNodeList(t)?Array.prototype.slice.call(t):[].concat(t);for(var i=0,n=t.length;i<n;i++)this.addElement(t[i],e)},l.addElement=function(t,e){var i=null;if("undefined"==typeof e&&(e=this.options.useRenderedPosition),!r.isElement(t))throw new TypeError("ElementTracker: "+t+" is not a valid DOM element");return i=new a(t,e),this._registerTrackedElements(i),this.refreshElementMetrics(i),this.refreshElementState(i),i},l.removeElement=function(t){var e,i=[];this.elements.forEach(function(e,n){e!==t&&e.element!==t||i.push(n)}),e=this.elements.filter(function(t,e){return i.indexOf(e)<0}),this.elements=e},l.start=function(){this.tracking===!1&&(this.tracking=!0,window.addEventListener("resize",this.refreshAllElementMetrics),window.addEventListener("orientationchange",this.refreshAllElementMetrics),window.addEventListener("scroll",this.refreshAllElementStates),this.refreshAllElementMetrics())},l.stop=function(){this.tracking===!0&&(this.tracking=!1,window.removeEventListener("resize",this.refreshAllElementMetrics),window.removeEventListener("orientationchange",this.refreshAllElementMetrics),window.removeEventListener("scroll",this.refreshAllElementStates))},l.refreshAllElementMetrics=function(t,e){"number"!=typeof t&&(t=this._getScrollY()),"number"!=typeof e&&(e=this._getWindowHeight()),this._scrollY=t,this._windowHeight=e,this.elements.forEach(this.refreshElementMetrics,this)},l.refreshElementMetrics=function(t){if(!t.isActive)return t;var e=s.getDimensions(t.element,t.useRenderedPosition),i=s.getPagePosition(t.element,t.useRenderedPosition);return t=o.extend(t,e,i),this.refreshElementState(t)},l.refreshAllElementStates=function(t){"number"!=typeof t&&(t=this._getScrollY()),this._scrollY=t,this.elements.forEach(this.refreshElementState,this)},l.refreshElementState=function(t){if(!t.isActive)return t;var e=t.inView;return t.pixelsInView=this._elementPixelsInView(t),t.percentInView=this._elementPercentInView(t),t.inView=t.pixelsInView>0,t.inView&&this._ifInView(t,e),e&&this._ifAlreadyInView(t),t},l.pauseElementTracking=function(t){t&&(t.isActive=!1)},l.resumeElementTracking=function(t){t&&(t.isActive=!0)},l._getWindowHeight=function(){return window.innerHeight},l._getScrollY=function(){return s.getScrollY()},e.exports=n},{"./TrackedElement":169,"@marcom/ac-dom-metrics/getDimensions":163,"@marcom/ac-dom-metrics/getPagePosition":164,"@marcom/ac-dom-metrics/getScrollY":166,"@marcom/ac-dom-nodes/isElement":111,"@marcom/ac-dom-nodes/isNodeList":113,"@marcom/ac-object/clone":283,"@marcom/ac-object/extend":286}],169:[function(t,e,i){"use strict";function n(t,e){if(!r.isElement(t))throw new TypeError("TrackedElement: "+t+" is not a valid DOM element");s.call(this),this.element=t,this.inView=!1,this.isActive=!0,this.percentInView=0,this.pixelsInView=0,this.offsetTop=0,this.top=0,this.right=0,this.bottom=0,this.left=0,this.width=0,this.height=0,this.useRenderedPosition=e||!1}var r={isElement:t("@marcom/ac-dom-nodes/isElement")},s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=s.prototype,a=n.prototype=Object.create(o);a.destroy=function(){this.element=null,o.destroy.call(this)},e.exports=n},{"@marcom/ac-dom-nodes/isElement":111,"@marcom/ac-event-emitter-micro":170}],170:[function(t,e,i){"use strict";e.exports={EventEmitterMicro:t("./ac-event-emitter-micro/EventEmitterMicro")}},{"./ac-event-emitter-micro/EventEmitterMicro":171}],171:[function(t,e,i){"use strict";function n(){this._events={}}var r=n.prototype;r.on=function(t,e){this._events[t]=this._events[t]||[],this._events[t].unshift(e)},r.once=function(t,e){function i(r){n.off(t,i),void 0!==r?e(r):e()}var n=this;this.on(t,i)},r.off=function(t,e){if(this.has(t)){if(1===arguments.length)return this._events[t]=null,void delete this._events[t];var i=this._events[t].indexOf(e);i!==-1&&this._events[t].splice(i,1)}},r.trigger=function(t,e){if(this.has(t))for(var i=this._events[t].length-1;i>=0;i--)void 0!==e?this._events[t][i](e):this._events[t][i]()},r.has=function(t){return t in this._events!=!1&&0!==this._events[t].length},r.destroy=function(){for(var t in this._events)this._events[t]=null;this._events=null},e.exports=n},{}],172:[function(t,e,i){e.exports.EventEmitter=t("./ac-event-emitter/EventEmitter")},{"./ac-event-emitter/EventEmitter":173}],173:[function(t,e,i){"use strict";var n="EventEmitter:propagation",r=function(t){t&&(this.context=t)},s=r.prototype,o=function(){return this.hasOwnProperty("_events")||"object"==typeof this._events||(this._events={}),this._events},a=function(t,e){var i=t[0],n=t[1],r=t[2];if("string"!=typeof i&&"object"!=typeof i||null===i||Array.isArray(i))throw new TypeError("Expecting event name to be a string or object.");if("string"==typeof i&&!n)throw new Error("Expecting a callback function to be provided.");if(n&&"function"!=typeof n){if("object"!=typeof i||"object"!=typeof n)throw new TypeError("Expecting callback to be a function.");r=n}if("object"==typeof i)for(var s in i)e.call(this,s,i[s],r);"string"==typeof i&&(i=i.split(" "),i.forEach(function(t){e.call(this,t,n,r)},this))},c=function(t,e){var i,n,r;if(i=o.call(this)[t],i&&0!==i.length)for(i=i.slice(),this._stoppedImmediatePropagation=!1,n=0,r=i.length;n<r&&(!this._stoppedImmediatePropagation&&!e(i[n],n));n++);},l=function(t,e,i){var n=-1;c.call(this,e,function(t,e){if(t.callback===i)return n=e,!0}),n!==-1&&t[e].splice(n,1)};s.on=function(){var t=o.call(this);return a.call(this,arguments,function(e,i,n){t[e]=t[e]||(t[e]=[]),t[e].push({callback:i,context:n})}),this},s.once=function(){return a.call(this,arguments,function(t,e,i){var n=function(r){e.call(i||this,r),this.off(t,n)};this.on(t,n,this)}),this},s.off=function(t,e){var i=o.call(this);if(0===arguments.length)this._events={};else if(!t||"string"!=typeof t&&"object"!=typeof t||Array.isArray(t))throw new TypeError("Expecting event name to be a string or object.");if("object"==typeof t)for(var n in t)l.call(this,i,n,t[n]);if("string"==typeof t){var r=t.split(" ");1===r.length?e?l.call(this,i,t,e):i[t]=[]:r.forEach(function(t){i[t]=[]})}return this},s.trigger=function(t,e,i){if(!t)throw new Error("trigger method requires an event name");if("string"!=typeof t)throw new TypeError("Expecting event names to be a string.");if(i&&"boolean"!=typeof i)throw new TypeError("Expecting doNotPropagate to be a boolean.");return t=t.split(" "),t.forEach(function(t){c.call(this,t,function(t){t.callback.call(t.context||this.context||this,e)}.bind(this)),i||c.call(this,n,function(i){var n=t;i.prefix&&(n=i.prefix+n),i.emitter.trigger(n,e)})},this),this},s.propagateTo=function(t,e){var i=o.call(this);i[n]||(this._events[n]=[]),i[n].push({emitter:t,prefix:e})},s.stopPropagatingTo=function(t){var e=o.call(this);if(!t)return void(e[n]=[]);var i,r=e[n],s=r.length;for(i=0;i<s;i++)if(r[i].emitter===t){r.splice(i,1);break}},s.stopImmediatePropagation=function(){this._stoppedImmediatePropagation=!0},s.has=function(t,e,i){var n=o.call(this),r=n[t];if(0===arguments.length)return Object.keys(n);if(!r)return!1;if(!e)return r.length>0;for(var s=0,a=r.length;s<a;s++){var c=r[s];if(i&&e&&c.context===i&&c.callback===e)return!0;if(e&&!i&&c.callback===e)return!0}return!1},e.exports=r},{}],174:[function(t,e,i){"use strict";e.exports={canvasAvailable:t("./canvasAvailable"),continuousScrollEventsAvailable:t("./continuousScrollEventsAvailable"),cookiesAvailable:t("./cookiesAvailable"),cssLinearGradientAvailable:t("./cssLinearGradientAvailable"),cssPropertyAvailable:t("./cssPropertyAvailable"),cssViewportUnitsAvailable:t("./cssViewportUnitsAvailable"),elementAttributeAvailable:t("./elementAttributeAvailable"),eventTypeAvailable:t("./eventTypeAvailable"),isDesktop:t("./isDesktop"),isHandheld:t("./isHandheld"),isRetina:t("./isRetina"),isTablet:t("./isTablet"),localStorageAvailable:t("./localStorageAvailable"),mediaElementsAvailable:t("./mediaElementsAvailable"),mediaQueriesAvailable:t("./mediaQueriesAvailable"),prefersReducedMotion:t("./prefersReducedMotion"),sessionStorageAvailable:t("./sessionStorageAvailable"),svgAvailable:t("./svgAvailable"),threeDTransformsAvailable:t("./threeDTransformsAvailable"),touchAvailable:t("./touchAvailable"),webGLAvailable:t("./webGLAvailable")}},{"./canvasAvailable":175,"./continuousScrollEventsAvailable":176,"./cookiesAvailable":177,"./cssLinearGradientAvailable":178,"./cssPropertyAvailable":179,"./cssViewportUnitsAvailable":180,"./elementAttributeAvailable":181,"./eventTypeAvailable":182,"./isDesktop":184,"./isHandheld":185,"./isRetina":186,"./isTablet":187,"./localStorageAvailable":188,"./mediaElementsAvailable":189,"./mediaQueriesAvailable":190,"./prefersReducedMotion":191,"./sessionStorageAvailable":192,"./svgAvailable":193,"./threeDTransformsAvailable":194,"./touchAvailable":195,"./webGLAvailable":196}],175:[function(t,e,i){"use strict";var n=t("./helpers/globals"),r=t("@marcom/ac-function/once"),s=function(){var t=n.getDocument(),e=t.createElement("canvas");return!("function"!=typeof e.getContext||!e.getContext("2d"))};e.exports=r(s),e.exports.original=s},{"./helpers/globals":183,"@marcom/ac-function/once":218}],176:[function(t,e,i){"use strict";function n(){return!s()||r.os.ios&&r.os.version.major>=8||r.browser.chrome}var r=t("@marcom/useragent-detect"),s=t("./touchAvailable").original,o=t("@marcom/ac-function/once");e.exports=o(n),e.exports.original=n},{"./touchAvailable":195,"@marcom/ac-function/once":218,"@marcom/useragent-detect":375}],177:[function(t,e,i){"use strict";function n(){var t=!1,e=r.getDocument(),i=r.getNavigator();try{"cookie"in e&&i.cookieEnabled&&(e.cookie="ac_feature_cookie=1",t=e.cookie.indexOf("ac_feature_cookie")!==-1,e.cookie="ac_feature_cookie=; expires=Thu, 01 Jan 1970 00:00:01 GMT;")}catch(n){}return t}var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218}],178:[function(t,e,i){"use strict";function n(){var t=["linear-gradient(to bottom right, #9f9, white)","linear-gradient(top left, #9f9, white)","gradient(linear, left top, right bottom, from(#9f9), to(white))"];return t.some(function(t){return!!r("background-image",t)})}var r=t("@marcom/ac-prefixer/getStyleValue"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"@marcom/ac-function/once":218,"@marcom/ac-prefixer/getStyleValue":303}],179:[function(t,e,i){"use strict";function n(t,e){return"undefined"!=typeof e?!!r(t,e):!!s(t)}var r=t("@marcom/ac-prefixer/getStyleValue"),s=t("@marcom/ac-prefixer/getStyleProperty"),o=t("@marcom/ac-function/memoize");e.exports=o(n),e.exports.original=n},{"@marcom/ac-function/memoize":217,"@marcom/ac-prefixer/getStyleProperty":302,"@marcom/ac-prefixer/getStyleValue":303}],180:[function(t,e,i){"use strict";function n(){return!!r("margin","1vw 1vh")}var r=t("@marcom/ac-prefixer/getStyleValue"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"@marcom/ac-function/once":218,"@marcom/ac-prefixer/getStyleValue":303}],181:[function(t,e,i){"use strict";function n(t,e){var i,n=r.getDocument();return e=e||"div",i=n.createElement(e),t in i}var r=t("./helpers/globals"),s=t("@marcom/ac-function/memoize");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/memoize":217}],182:[function(t,e,i){"use strict";function n(t,e){return!!r(t,e)}var r=t("@marcom/ac-prefixer/getEventType"),s=t("@marcom/ac-function/memoize");e.exports=s(n),e.exports.original=n},{"@marcom/ac-function/memoize":217,"@marcom/ac-prefixer/getEventType":300}],183:[function(t,e,i){"use strict";e.exports={getWindow:function(){return window},getDocument:function(){return document},getNavigator:function(){return navigator}}},{}],184:[function(t,e,i){"use strict";function n(){var t=o.getWindow();return!s()&&!t.orientation||r.windows}var r=t("@marcom/useragent-detect").os,s=t("./touchAvailable").original,o=t("./helpers/globals"),a=t("@marcom/ac-function/once");e.exports=a(n),e.exports.original=n},{"./helpers/globals":183,"./touchAvailable":195,"@marcom/ac-function/once":218,"@marcom/useragent-detect":375}],185:[function(t,e,i){"use strict";function n(){return!r()&&!s()}var r=t("./isDesktop").original,s=t("./isTablet").original,o=t("@marcom/ac-function/once");e.exports=o(n),e.exports.original=n},{"./isDesktop":184,"./isTablet":187,"@marcom/ac-function/once":218}],186:[function(t,e,i){"use strict";var n=t("./helpers/globals");e.exports=function(){var t=n.getWindow();return"devicePixelRatio"in t&&t.devicePixelRatio>=1.5}},{"./helpers/globals":183}],187:[function(t,e,i){"use strict";function n(){var t=s.getWindow(),e=t.screen.width;return t.orientation&&t.screen.height<e&&(e=t.screen.height),!r()&&e>=a}var r=t("./isDesktop").original,s=t("./helpers/globals"),o=t("@marcom/ac-function/once"),a=600;e.exports=o(n),e.exports.original=n},{"./helpers/globals":183,"./isDesktop":184,"@marcom/ac-function/once":218}],188:[function(t,e,i){"use strict";function n(){var t=r.getWindow(),e=!1;try{e=!(!t.localStorage||null===t.localStorage.non_existent)}catch(i){}return e}var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218}],189:[function(t,e,i){"use strict";function n(){var t=r.getWindow();return"HTMLMediaElement"in t}var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218}],190:[function(t,e,i){"use strict";function n(){var t=r.getWindow(),e=t.matchMedia("only all");return!(!e||!e.matches)}t("@marcom/ac-polyfills/matchMedia");var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218,"@marcom/ac-polyfills/matchMedia":void 0}],191:[function(t,e,i){"use strict";function n(){var t=r.getWindow(),e=t.matchMedia("(prefers-reduced-motion)");return!(!e||!e.matches)}var r=t("./helpers/globals");e.exports=n},{"./helpers/globals":183}],192:[function(t,e,i){"use strict";function n(){var t=r.getWindow(),e=!1;try{"sessionStorage"in t&&"function"==typeof t.sessionStorage.setItem&&(t.sessionStorage.setItem("ac_feature","test"),e=!0,t.sessionStorage.removeItem("ac_feature","test"))}catch(i){}return e}var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218}],193:[function(t,e,i){"use strict";function n(){var t=r.getDocument();return!!t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")}var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218}],194:[function(t,e,i){"use strict";function n(){return!(!r("perspective","1px")||!r("transform","translateZ(0)"))}var r=t("@marcom/ac-prefixer/getStyleValue"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"@marcom/ac-function/once":218,"@marcom/ac-prefixer/getStyleValue":303}],195:[function(t,e,i){"use strict";function n(){var t=r.getWindow(),e=r.getDocument(),i=r.getNavigator();return!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch||i.maxTouchPoints>0||i.msMaxTouchPoints>0)}var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218}],196:[function(t,e,i){"use strict";function n(){var t=r.getDocument(),e=t.createElement("canvas");return"function"==typeof e.getContext&&!(!e.getContext("webgl")&&!e.getContext("experimental-webgl"))}var r=t("./helpers/globals"),s=t("@marcom/ac-function/once");e.exports=s(n),e.exports.original=n},{"./helpers/globals":183,"@marcom/ac-function/once":218}],197:[function(t,e,i){"use strict";function n(t){t=t||{},s.call(this),this.id=a.getNewID(),this.executor=t.executor||o,this._reset(),this._willRun=!1,this._didDestroy=!1}var r,s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=t("@marcom/ac-raf-executor/sharedRAFExecutorInstance"),a=t("@marcom/ac-raf-emitter-id-generator/sharedRAFEmitterIDGeneratorInstance");r=n.prototype=Object.create(s.prototype),r.run=function(){return!this._willRun&&(this._willRun=!0,this.executor.subscribe(this),!0)},r.cancel=function(){var t=!1;return this._willRun&&(this.executor.unsubscribe(this),this._willRun=!1,t=!0),this._reset(),t},r.destroy=function(){var t=this.cancel();return this.executor.unsubscribe(this),this.executor=null,s.prototype.destroy.call(this),this._didDestroy=!0,t},r.willRun=function(){return this._willRun},r.isRunning=function(){return this._isRunning},r._onAnimationFrameStart=function(t){this._isRunning=!0,this._willRun=!1,this._didEmitFrameData||(this._didEmitFrameData=!0,this.trigger("start",t))},r._onAnimationFrameEnd=function(t){this._willRun||(this.trigger("stop",t),this._reset())},r._reset=function(){this._didEmitFrameData=!1,this._isRunning=!1},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-raf-emitter-id-generator/sharedRAFEmitterIDGeneratorInstance":319,"@marcom/ac-raf-executor/sharedRAFExecutorInstance":199}],198:[function(t,e,i){"use strict";function n(t){t=t||{},this._reset(),this._willRun=!1,this._boundOnAnimationFrame=this._onAnimationFrame.bind(this),this._boundOnExternalAnimationFrame=this._onExternalAnimationFrame.bind(this)}t("@marcom/ac-polyfills/performance/now");var r;r=n.prototype,r.subscribe=function(t){return!this._nextFrameSubscribers[t.id]&&(this._nextFrameSubscribers[t.id]=t,this._nextFrameSubscriberCount++,this._run(),!0)},r.unsubscribe=function(t){return!!this._nextFrameSubscribers[t.id]&&(this._nextFrameSubscribers[t.id]=null,this._nextFrameSubscriberCount--,0===this._nextFrameSubscriberCount&&this._cancel(),!0)},r.trigger=function(t,e){var i;for(i in this._subscribers)this._subscribers.hasOwnProperty(i)&&null!==this._subscribers[i]&&this._subscribers[i]._didDestroy===!1&&this._subscribers[i].trigger(t,e)},r.destroy=function(){var t=this._cancel();return this._subscribers=null,this._nextFrameSubscribers=null,this._rafData=null,this._boundOnAnimationFrame=null,this._onExternalAnimationFrame=null,t},r.useExternalAnimationFrame=function(t){if("boolean"==typeof t){var e=this._isUsingExternalAnimationFrame;return t&&this._animationFrame&&(cancelAnimationFrame(this._animationFrame),this._animationFrame=null),!this._willRun||t||this._animationFrame||(this._animationFrame=window.requestAnimationFrame(this._boundOnAnimationFrame)),this._isUsingExternalAnimationFrame=t,t?this._boundOnExternalAnimationFrame:e||!1}},r._run=function(){if(!this._willRun)return this._willRun=!0,0===this.lastFrameTime&&(this.lastFrameTime=performance.now()),this._animationFrameActive=!0,this._isUsingExternalAnimationFrame||(this._animationFrame=requestAnimationFrame(this._boundOnAnimationFrame)),!0},r._cancel=function(){var t=!1;return this._animationFrameActive&&(this._animationFrame&&(cancelAnimationFrame(this._animationFrame),this._animationFrame=null),this._animationFrameActive=!1,this._willRun=!1,t=!0),this._isRunning||this._reset(),t},r._onSubscribersAnimationFrameStart=function(t){var e;for(e in this._subscribers)this._subscribers.hasOwnProperty(e)&&null!==this._subscribers[e]&&this._subscribers[e]._didDestroy===!1&&this._subscribers[e]._onAnimationFrameStart(t)},r._onSubscribersAnimationFrameEnd=function(t){var e;for(e in this._subscribers)this._subscribers.hasOwnProperty(e)&&null!==this._subscribers[e]&&this._subscribers[e]._didDestroy===!1&&this._subscribers[e]._onAnimationFrameEnd(t)},r._onAnimationFrame=function(t){this._subscribers=this._nextFrameSubscribers,this._nextFrameSubscribers={},this._nextFrameSubscriberCount=0,this._isRunning=!0,this._willRun=!1,this._didRequestNextRAF=!1,this._rafData.delta=t-this.lastFrameTime,this.lastFrameTime=t,this._rafData.fps=0,this._rafData.delta>=1e3&&(this._rafData.delta=0),0!==this._rafData.delta&&(this._rafData.fps=1e3/this._rafData.delta),this._rafData.time=t,this._rafData.naturalFps=this._rafData.fps,this._rafData.timeNow=Date.now(),this._onSubscribersAnimationFrameStart(this._rafData),this.trigger("update",this._rafData),this.trigger("draw",this._rafData),this._onSubscribersAnimationFrameEnd(this._rafData),this._willRun||this._reset()},r._onExternalAnimationFrame=function(t){this._isUsingExternalAnimationFrame&&this._onAnimationFrame(t)},r._reset=function(){this._rafData={time:0,delta:0,fps:0,naturalFps:0,timeNow:0},this._subscribers={},this._nextFrameSubscribers={},this._nextFrameSubscriberCount=0,this._didEmitFrameData=!1,this._animationFrame=null,this._animationFrameActive=!1,this._isRunning=!1,this._shouldReset=!1,this.lastFrameTime=0},e.exports=n},{"@marcom/ac-polyfills/performance/now":void 0}],199:[function(t,e,i){"use strict";var n=t("@marcom/ac-shared-instance").SharedInstance,r="ac-raf-executor:sharedRAFExecutorInstance",s="1.0.3",o=t("./RAFExecutor");e.exports=n.share(r,s,o)},{"./RAFExecutor":198,"@marcom/ac-shared-instance":330}],200:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Promise"),t("@marcom/ac-polyfills/JSON"),e.exports={createFlow:t("./ac-flow/flow/factory"),Player:t("./ac-flow/flow/Player")}},{"./ac-flow/flow/Player":203,"./ac-flow/flow/factory":214,"@marcom/ac-polyfills/JSON":void 0,"@marcom/ac-polyfills/Promise":void 0}],201:[function(t,e,i){"use strict";function n(t,e,i,n){r.call(this),this._compositor=new l(e,i,n),this.options=t||{}}var r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s=t("./compositor/decorator/Keyframe"),o=t("./compositor/decorator/Superframe"),a=t("./compositor/decorator/SuperKeyframe"),c=t("./compositor/decorator/Cache"),l=t("./compositor/Sequence"),h=n.prototype=new r(null);h._gotoImageFrame=function(t){return this._rendering?Promise.resolve():this._currentFrame===t?Promise.resolve():(this._rendering=!0,this._compositor.compositeFrames(this._currentFrame,t).then(function(){this._rendering=!1,this._currentFrame=t}.bind(this)))},h.init=function(){var t;return"CANVAS"===this.options.element.nodeName?t=this.options.element:(t=document.createElement("canvas"),this.options.element.appendChild(t)),this.gotoFrame=this._gotoImageFrame,this._compositor.init(t).then(this._decorateCompositor.bind(this))},h.resumeLoading=function(){return this._compositor.resumeLoading()},h.pauseLoading=function(){this._compositor.pauseLoading()},h._decorateCompositor=function(){var t,e,i=this._compositor;return i?(t=this._compositor._diffRender.flowData,e=this._compositor.canvas,t.superframeFrequency&&(i=new o(i,t.superframeFrequency)),t.version>=4&&(i=new s(i)),t.version>=4&&t.superframeFrequency&&(i=new a(i)),this.options.keyframeCache&&(i=new c(i,this.options.keyframeCache)),i===this._compositor?Promise.resolve():(this._compositor=i,this._compositor.init(e))):Promise.reject()},h._destroy=function(){this.off(),this._compositor.destroy()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(h,{_currentFrame:{value:0,enumerable:!1,writable:!0},frameCount:{get:function(){return this._compositor.frameCount},enumerable:!0}}),e.exports=n},{"./compositor/Sequence":204,"./compositor/decorator/Cache":205,"./compositor/decorator/Keyframe":206,"./compositor/decorator/SuperKeyframe":207,"./compositor/decorator/Superframe":208,"@marcom/ac-event-emitter-micro":170}],202:[function(t,e,i){"use strict";var n=t("@marcom/ac-asset-loader/assetLoader"),r=t("./data/provider/Async"),s=function(t,e,i){this._manifestUrl=t,this._keyframeUrls=e,this._imageUrlPattern=i,this.state={manifestLoaded:!1,keyframesLoaded:!1,diffsLoaded:!1,diffCountLoaded:0,totalDiffs:null},this.assets={keyframes:null,manifest:null,diffs:null},this._promises={},this._loaders={},this._activeLoaders=[],this._resumeQueue=[],this._paused=!0,this._shouldPause=!1,this._boundOnManifestLoaded=this._onManifestLoaded.bind(this),this._boundOnKeyframesLoaded=this._onKeyframesLoaded.bind(this),this._boundOnDiffsLoaded=this._onDiffsLoaded.bind(this)},o=s.prototype;o.setManifestUrl=function(t){return this._manifestUrl=t,this},o.setKeyframeUrls=function(t){return this._keyframeUrls=t,this},o.setImageUrlPattern=function(t){return this._imageUrlPattern=t,this},o.pause=function(){this._shouldPause=!0;var t,e=this._activeLoaders.length;for(t=0;t<e;t++)this._activeLoaders[t].pause();this._paused=!0},o.destroy=function(){var t,e,i;this.pause();for(t in this._loaders)this._loaders.hasOwnProperty(t)&&this._loaders[t].destroy();for(e in this._promises)this._promises.hasOwnProperty(e)&&"pending"===this._promises[e].status()&&this._promises[e].reject();for(i in this)this.hasOwnProperty(i)&&(this[i]=null)},o.load=function(){if(this._paused&&(this._activeLoaders.length>0||this._resumeQueue.length>0))return this._resume(),!0},o._resume=function(){this._shouldPause=!1;var t,e=this._activeLoaders.length;for(t=0;t<e;t++)this._activeLoaders[t].load();var i,n=this._resumeQueue.length;for(i=0;i<n;i++)this._resumeQueue[i].call(this);this._resumeQueue=[],this._paused=!1},o.loadManifest=function(){return this._shouldPause?void this._resumeQueue.push(this.loadManifest):this.assets.manifest?this.assets.manifest:(this._paused=!1,this._loaders.manifest=new r(this._getManifestAssetsData()),this._activeLoaders.push(this._loaders.manifest),this._loaders.manifest.load().then(this._boundOnManifestLoaded))},o.loadKeyframes=function(){var t;return this._shouldPause&&this._resumeQueue.push(this.loadKeyframes),this.assets.keyframes?t=Promise.resolve(this.assets.keyframes):(this._paused=!1,this._loaders.keyframes=n.createAssetGroup(this._getKeyframesAssetsData()),this._activeLoaders.push(this._loaders.keyframes),t=this._loaders.keyframes.load().then(this._boundOnKeyframesLoaded)),this._promises.keyframes=t,this._promises.keyframes},o.loadDiffs=function(){var t;return this._shouldPause&&this._resumeQueue.push(this.loadDiffs),this.assets.diffs?t=this._promises.diffs.resolve(this.assets.diffs):(this._paused=!1,this._loaders.diffs=n.createAssetGroup(this._getDiffsAssetsData()),this._activeLoaders.push(this._loaders.diffs),t=this._loaders.diffs.load().then(this._boundOnDiffsLoaded)),this._promises.diffs=t,this._promises.diffs},o._getManifestAssetsData=function(){return this._manifestUrl},o._getKeyframesAssetsData=function(){return this._keyframeUrls},o._getDiffsAssetsData=function(){var t,e,i=this.assets.manifest.imagesRequired,n=[],r=this._imageUrlPattern.match(/#/g).length;for(t=1;t<=i;t++)e="0000"+t,e=e.substring(e.length-r),n.push(this._imageUrlPattern.replace(/#{2,}/g,e));return n},o._onManifestLoaded=function(t){if(this.assets)return this.assets.manifest=t,this.state.manifestLoaded=!0,this._paused=!0,this._removeFromActiveLoaders(this._loaders.manifest),this.assets.manifest},o._onKeyframesLoaded=function(t){if(this.assets)return this.assets.keyframes=t,this.state.keyframeLoaded=!0,this._paused=!0,this._removeFromActiveLoaders(this._loaders.keyframes),Promise.resolve(this.assets.keyframes)},o._onDiffsLoaded=function(t){if(this.assets)return this.assets.diffs=t,this.state.diffsLoaded=!0,this._paused=!0,this._removeFromActiveLoaders(this._loaders.diffs),Promise.resolve(this.assets.diffs)},o._removeFromActiveLoaders=function(t){var e,i=this._activeLoaders.length;for(e=0;e<i;e++)if(this._activeLoaders[e]===t)return void this._activeLoaders.splice(e,1)},e.exports=s},{"./data/provider/Async":212,"@marcom/ac-asset-loader/assetLoader":16}],203:[function(t,e,i){"use strict";function n(t,e){this.element=e,this._domEmitter=new r(e),this._frameRate=30,this.paused=!0,this.loop=!1,this._destroyed=!1,this._flow=t,this._rafEmitter=new s,this._rafDrawSet=!1,this._shouldAdvanceToTimeGlobal=!1,this._shouldGlobalTimeUpdate=!1,this._shouldLocalTimeUpdate=!1,this._boundAdvanceTimeToGlobal=this._advanceToTimeGlobal.bind(this),this._onBoundGlobalTimeUpdate=this._onGlobalTimeUpdate.bind(this),this._onBoundLocalTimeUpdate=this._onLocalTimeUpdate.bind(this),this._rafEmitter.on("draw",this._onDraw.bind(this))}var r=t("@marcom/ac-dom-emitter").DOMEmitter,s=t("@marcom/ac-raf-emitter/RAFEmitter"),o=n.prototype;o._timeToFrame=function(t){var e;return e=Math.round(t/this.duration*this._flow.frameCount),e%=this._flow.frameCount+1,e<0?this._flow.frameCount+e:e},o._advanceToTimeGlobal=function(t){if(this._rafDrawSet){this._prevTime=this._prevTime||t.time,this._currentTime+=(t.time-this._prevTime)/1e3*this.playbackRate,this._prevTime=t.time,this._pauseAfterRender=!1;var e=this._timeToFrame(this._currentTime);if(this.loop?this._currentTime=(this.duration+this._currentTime)%this.duration:this.playbackRate>0&&this._currentTime>this.duration?(e=this._flow.frameCount,this._currentTime=this.duration,this._pauseAfterRender=!0):this.playbackRate<0&&this._currentTime<0&&(e=0,this._currentTime=0,this._pauseAfterRender=!0),!this.paused&&!this.seeking)return this._flow.gotoFrame(e).then(this._onBoundGlobalTimeUpdate)}},o._onGlobalTimeUpdate=function(){this.trigger("timeupdate"),this._pauseAfterRender?(this.paused=!0,this.trigger("ended")):this._bindAdvanceToTimeGlobal()},o._onLocalTimeUpdate=function(){this.seeking=!1,this.trigger("timeupdate"),this.trigger("seeked"),this._bindAdvanceToTimeGlobal()},o._advanceToTimeLocal=function(t){this.seeking||(this.seeking=!0,this.trigger("seeking"),this._currentTime=1*t,this._prevTime=null,this._cancelFrame(),this._flow.gotoFrame(this._timeToFrame(t)).then(this._onBoundLocalTimeUpdate))},o._onLoaded=function(){this.trigger("loaded"),this.trigger("canplaythrough")},o._nullProperties=function(t){var e;for(e in t)t.hasOwnProperty(e)&&(t[e]=null);return t},o.destroy=function(){this._rafEmitter.destroy(),this.trigger("destroy"),this.pause(),this.off(),this._flow.destroy(),this._flow=this._nullProperties(this._flow),this._nullProperties(this)},o.load=function(){if(!this._flow.resumeLoading())return this.trigger("loadstart"),this._flow.init().then(function(t){var e=function(){this._onLoaded()}.bind(this),i=function(){this._destroyed===!1&&this.trigger("error")}.bind(this);return t?t.then(e,i):void e()}.bind(this))},o.pauseLoading=function(){this._flow.pauseLoading()},o.play=function(){return this.paused&&(this.paused=!1,this.trigger("play"),this._prevTime=null,this._bindAdvanceToTimeGlobal()),this},o.pause=function(){return this.paused||(this.paused=!0,this._cancelFrame(),this.trigger("pause")),this},o.on=function(){this._domEmitter.on.apply(this._domEmitter,arguments)},o.once=function(){this._domEmitter.once.apply(this._domEmitter,arguments)},o.trigger=function(){this._domEmitter.trigger.apply(this._domEmitter,arguments)},o.off=function(){this._domEmitter.off.apply(this._domEmitter,arguments)},o._cancelFrame=function(){this._rafEmitter.cancel(),this._rafDrawSet=!1},o._onDraw=function(t){this._shouldAdvanceToTimeGlobal?this._advanceToTimeGlobal(t):this._shouldGlobalTimeUpdate?this._onGlobalTimeUpdate(t):this._shouldLocalTimeUpdate&&this._onLocalTimeUpdate(t),this._shouldLocalTimeUpdate=!1,this._shouldGlobalTimeUpdate=!1,this._shouldLocalTimeUpdate=!1},o._bindAdvanceToTimeGlobal=function(){this._rafDrawSet=!0,
this._shouldAdvanceToTimeGlobal=!0,this._rafEmitter.run()},o._bindGlobalTimeUpdate=function(){this._rafDrawSet=!0,this._shouldGlobalTimeUpdate=!0,this._rafEmitter.run()},o._bindLocalTimeUpdate=function(){this._rafDrawSet=!0,this._shouldLocalTimeUpdate=!0,this._rafEmitter.run()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(o,{_currentTime:{value:0,enumerable:!1,writable:!0},_playbackRate:{value:1,enumerable:!1,writable:!0},currentTime:{get:function(){return 1*this._currentTime},set:o._advanceToTimeLocal,enumerable:!0},frameRate:{get:function(){return this._frameRate},set:function(t){isFinite(t)&&(this._frameRate=t,this.trigger("durationchange"))},enumerable:!0},playbackRate:{get:function(){return 1*this._playbackRate},set:function(t){isFinite(t)&&(this._playbackRate=1*t,this.trigger("ratechange"))},enumerable:!0},duration:{get:function(){return this._flow.frameCount/this.frameRate},enumerable:!0}}),e.exports=n},{"@marcom/ac-dom-emitter":63,"@marcom/ac-raf-emitter/RAFEmitter":197}],204:[function(t,e,i){"use strict";function n(t,e,i){this._keyframes=e,this._imageUrlPattern=i,this._loadController=new s(t,e,i)}var r=t("../diff/Render"),s=t("../LoadController"),o=n.prototype;o._initDiffRender=function(t){this._images=t.assets.map(function(t){return t.data}),this.canvas.height=this._images[0].height,this.canvas.width=this._images[0].width,this.applyFrame(this._images[0])},o.init=function(t){return this.canvas=t||document.createElement("canvas"),this.context=t.getContext("2d"),this._loadController.loadKeyframes().then(this._initDiffRender.bind(this)).then(this._loadController.loadManifest.bind(this._loadController)).then(this.createDiffRender.bind(this))},o.resumeLoading=function(){return this._loadController.load()},o.pauseLoading=function(){this._loadController.pause()},o.createDiffRender=function(t){return this._diffRender=new r(t,this._imageUrlPattern,this._loadController),this._diffRender.init()},o.applyFrame=function(t){var e=this.context;e.drawImage(t,0,0)},o.calculateRenderCount=function(t,e){var i=0;return Math.abs(e-t)>=e?(t=1,i=1):Math.abs(e-t)>=this.frameCount-e&&this._images[1]&&(t=this.frameCount-2,i=1),e>0&&e<this.frameCount-1?Math.abs(t-e)+i:i},o.compositeFrames=function(t,e){e=this.frameCount<e?this.frameCount-1:e<0?0:e,t=this.frameCount-2<t?this.frameCount-2:t<0?0:t;var i;if(Math.abs(e-t)>=e?(t=1,this.applyFrame(this._images[0])):Math.abs(e-t)>=this.frameCount-e&&this._images[1]&&(t=this.frameCount-2,this.applyFrame(this._images[1])),i=t>e?-1:t<e?1:0,e>0&&e<this.frameCount-1)for(;t!==e;)this._diffRender.renderDiff(this.canvas,t),t+=i;return Promise.resolve(t)},o.destroy=function(){this._loadController.destroy()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(o,{frameCount:{get:function(){return this._diffRender.frames.length+2},enumerable:!0},canvas:{get:function(){return this._canvas},set:function(t){return this._canvas=t},enumerable:!0},mainCompositor:{get:function(){for(var t=this;t._compositor;)t=t._compositor;return t},enumerable:!0}}),e.exports=n},{"../LoadController":202,"../diff/Render":213}],205:[function(t,e,i){"use strict";function n(t,e){this._compositor=t,this._keyframeInterval=e||8,this._keyframes=[]}var r=n.prototype;r._getClosestKeyframe=function(t){var e=t%this._keyframeInterval,i=Math.floor(t/this._keyframeInterval)+(e>this._keyframeInterval/2?1:0);return i},r._getFrameFromKeyframe=function(t){return t*this._keyframeInterval},r._saveKeyframe=function(t){var e,i=Math.floor(t/this._keyframeInterval);t%this._keyframeInterval!==0||this._keyframes[i]||(e=document.createElement("canvas"),e.width=this._compositor.canvas.width,e.height=this._compositor.canvas.height,e.getContext("2d").drawImage(this._compositor.canvas,0,0),this._keyframes[i]=e)},r.init=function(t){return this._compositor.init.apply(this._compositor,arguments)},r.resumeLoading=function(){return this._compositor.resumeLoading()},r.pauseLoading=function(){return this._compositor.pauseLoading()},r.applyFrame=function(){this._compositor.applyFrame.apply(this._compositor,arguments)},r.calculateRenderCount=function(t,e){return t=this._getFrameFromKeyframe(this._getClosestKeyframe(e)),this._compositor.calculateRenderCount(t,e)+1},r.compositeFrames=function(t,e){var i=this._getClosestKeyframe(e);return this._keyframes[i]&&this._compositor.calculateRenderCount(t,e)>this.calculateRenderCount(t,e)?(t=this._getFrameFromKeyframe(i),this.applyFrame(this._keyframes[i]),this._compositor.compositeFrames(t,e).then(function(){})):this._compositor.compositeFrames(t,e).then(function(){},null,this._saveKeyframe.bind(this))},r.destroy=function(){return this._compositor.destroy()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(r,{frameCount:{get:function(){return this._compositor.frameCount},enumerable:!0},canvas:{get:function(){return this._compositor.canvas},set:function(t){return this._compositor.canvas=t},enumerable:!0}}),e.exports=n},{}],206:[function(t,e,i){"use strict";function n(t){this._compositor=t,this._flowDataProvider=this.mainCompositor._loadController._loaders.manifest}var r=t("../../keyframe/Render"),s=n.prototype;s.init=function(t){return this._keyframeDiffRender=new r(this._flowDataProvider._data,this.mainCompositor._imageUrlPattern),this._keyframeDiffRender.init()},s.resumeLoading=function(){return this._compositor.resumeLoading()},s.pauseLoading=function(){return this._compositor.pauseLoading()},s.applyFrame=function(t){return this._compositor.applyFrame.apply(this._compositor,arguments)},s.applyKeyframe=function(t,e){this._keyframeDiffRender.renderKeyframe(this.canvas,t,e)},s.compositeFrames=function(t,e){return this._isKeyframeDiff(e-1)?(this.applyKeyframe(e-1),Promise.resolve(t-1)):this._compositor.compositeFrames.apply(this._compositor,arguments)},s._isKeyframeDiff=function(t){return t in this._keyframeDiffRender._loader._keyframes},s.calculateRenderCount=function(t,e){return this._compositor.calculateRenderCount.apply(this._compositor,arguments)},s.destroy=function(){return this._compositor.destroy()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(s,{frameCount:{get:function(){return this._compositor.frameCount},enumerable:!0},canvas:{get:function(){return this._compositor.canvas},set:function(t){return this._compositor.canvas=t},enumerable:!0},mainCompositor:{get:function(){return this._compositor.mainCompositor},enumerable:!0}}),e.exports=n},{"../../keyframe/Render":216}],207:[function(t,e,i){"use strict";function n(t){this._compositor=t,this._frames=this.mainCompositor._loadController._loaders.manifest._data.frames,this._superframeInterval=this.mainCompositor._diffRender.flowData.superframeFrequency}var r=n.prototype;r.init=function(t){return this._compositor.init.apply(this._compositor,arguments)},r.resumeLoading=function(){return this._compositor.resumeLoading()},r.pauseLoading=function(){return this._compositor.pauseLoading()},r.applyFrame=function(t){return this._compositor.applyFrame.apply(this._compositor,arguments)},r.applyKeyframe=function(t,e){this._compositor.applyKeyframe.apply(this._compositor,arguments)},r.compositeFrames=function(t,e){var i,n;return e<1||e>this.frameCount-2?this._compositor.compositeFrames.apply(this._compositor,arguments):this._isKeyframeDiff(e-1)?(i=1===Math.abs(t-e),this.applyKeyframe(e-1,i),Promise.resolve(t-1)):Math.abs(e-t)>this._superframeInterval&&(n=this._getShortestRender(t,e),this._isKeyframeDiff(n-1)||n<=0||n>=this.frameCount-2)?this._compositeFromSuperKeyframe(n,e):this._compositor.compositeFrames.apply(this._compositor,[t,e])},r._getShortestRender=function(t,e){var i=this._compositor.calculateRenderCount,n=this._getClosestSuperKeyframe(e-1),r=i.apply(this._compositor,[n,e])+1,s=i.apply(this._compositor,[t,e]);return r<=s?n:t},r._compositeFromSuperKeyframe=function(t,e){var i=this.canvas.getContext("2d"),n=t<=0?this.mainCompositor._images[0]:t>=this.frameCount-2?this.mainCompositor._images[1]:this._frames[t-1].image;return i.drawImage(n,0,0),this._compositor.compositeFrames.call(this._compositor,t,e)},r._getClosestSuperFrame=function(t){return Math.round(t/this._superframeInterval)*this._superframeInterval},r._getClosestSuperKeyframe=function(t){var e,i,n,r,s=this._frames.length;if(t<s+1&&t>0){for(r=t-1;r>=0;){if("keyframe"===this._frames[r].type){e=r+1;break}r-=1}for(r=t+1;r<=s-1;){if("keyframe"===this._frames[r].type){i=r+1;break}r+=1}}return e=e?e:0,i=i?i:this.frameCount,n=t-e<i-t?e:i},r._isKeyframeDiff=function(t){return this._compositor._isKeyframeDiff.apply(this._compositor,arguments)},r.destroy=function(){return this._compositor.destroy()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(r,{frameCount:{get:function(){return this._compositor.frameCount},enumerable:!0},canvas:{get:function(){return this._compositor.canvas},set:function(t){return this._compositor.canvas=t},enumerable:!0},mainCompositor:{get:function(){return this._compositor.mainCompositor},enumerable:!0}}),e.exports=n},{}],208:[function(t,e,i){"use strict";function n(t,e){this._compositor=t,this._superframeInterval=e||4}var r=n.prototype;r._getClosestSuperframe=function(t){return Math.round(t/this._superframeInterval)*this._superframeInterval},r.init=function(t){this._screenCanvas=t},r.resumeLoading=function(){return this._compositor.resumeLoading()},r.pauseLoading=function(){return this._compositor.pauseLoading()},r.applyFrame=function(){this._compositor.applyFrame.apply(this._compositor,arguments)},r.calculateRenderCount=function(t,e){var i=this._getClosestSuperframe(t);return Math.abs(i-e)>this._superframeInterval/2?(t=i+(t>e?-1:1)*this._superframeInterval,this.calculateRenderCount(t,e)+1):Math.abs(i-e)+1},r.compositeFrames=function(t,e){var i,n;return(e<=0||e>=this.frameCount-2)&&this._compositor.compositeFrames(t,e),t>this.frameCount-2?t=this.frameCount-2:t<=0&&(t=1),n=this._getClosestSuperframe(t),i=this._compositor.calculateRenderCount(t,e)>this.calculateRenderCount(t,e)?this._compositor.compositeFrames(n,n).then(function(){var i=n+(t>e?-1:1)*this._superframeInterval;this._compositor.compositeFrames(n,i).then(function(){return this.compositeFrames(i,e)}.bind(this))}.bind(this)):this._compositor.compositeFrames(t,e).then(function(){}.bind(this)),i.then(function(){}.bind(this)),i},r.destroy=function(){return this._compositor.destroy()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(r,{frameCount:{get:function(){return this._compositor.frameCount},enumerable:!0},canvas:{get:function(){return this._compositor.canvas},set:function(t){return this._compositor.canvas=t},enumerable:!0},mainCompositor:{get:function(){return this._compositor.mainCompositor},enumerable:!0}}),e.exports=n},{}],209:[function(t,e,i){"use strict";function n(t,e){this.location=t,this.length=e}e.exports=n},{}],210:[function(t,e,i){"use strict";function n(){}e.exports=n},{}],211:[function(t,e,i){"use strict";var n,r=t("./Manifest"),s=t("./Block"),o={parseData:function(t){n=0;var e=t.frames.map(this._parseFrame,this);return Object.create(r.prototype,{version:{value:t.version},framecount:{value:t.frameCount},blockSize:{value:t.blockSize},imagesRequired:{value:t.imagesRequired},reversible:{value:t.reversible},superframeFrequency:{value:t.superframeFrequency},frames:{value:e}})},_valueForCharAt:function(t,e){var i=t.charCodeAt(e);return i>64&&i<91?i-65:i>96&&i<123?i-71:i>47&&i<58?i+4:43===i?62:47===i?63:void 0},_createNumberFromBase64Range:function(t,e,i){for(var n,r=0;i--;)n=this._valueForCharAt(t,e++),r+=n<<6*i;return r},_parseFrame:function(t){var e,i,n,r=[],o=t.value,a=t.startImageIndex,c=t.startBlockIndex;if("keyframe"===t.type)return r.type="keyframe",r.width=t.width,r.height=t.height,r.x=t.x,r.y=t.y,r;for(e=0;e<o.length;e+=5)n=this._createNumberFromBase64Range(o,e,3),i=this._createNumberFromBase64Range(o,e+3,2),r.push(Object.create(s.prototype,{location:{value:n,enumerable:!0},length:{value:i,enumerable:!0},block:{value:(c+=i)-i,enumerable:!0},startImageIndex:{value:a,enumerable:!0}}));return r}};e.exports=o},{"./Block":209,"./Manifest":210}],212:[function(t,e,i){"use strict";function n(t){this.url=t}var r=t("@marcom/ac-asset-loader/assetLoader"),s=t("../processor"),o=n.prototype;o.load=function(){return r.load(this.url).then(function(t){var e;return t&&t.latest&&t.latest.data&&(e=s.parseData(t.latest.data),this._data=e),e}.bind(this))},e.exports=n},{"../processor":211,"@marcom/ac-asset-loader/assetLoader":16}],213:[function(t,e,i){"use strict";function n(t,e,i){this.flowData=t,this.flowData.imageUrlPattern=e,this._loadController=i}var r=n.prototype;r._storeImages=function(t){var e=t.assets.length;this.images=t.assets.map(function(t){return t.data}),this._blocksPerFullDiff=[],this._blockCountUpToIndex=[];for(var i=0,n=0;n<e;n++)this._blocksPerFullDiff[n]=this.images[n].width/this.flowData.blockSize*(this.images[n].height/this.flowData.blockSize),i+=this._blocksPerFullDiff[n],this._blockCountUpToIndex[n]=i},r._applyDiffRange=function(t,e){for(var i,n,r=e.block,s=e.length,o=t.canvas.width/this.flowData.blockSize,a=e.startImageIndex,c=this.images[a].width,l=r%this._blockCountUpToIndex[a],h=c/this.flowData.blockSize,u=l%h*this.flowData.blockSize,m=Math.floor(l/(h||1))*this.flowData.blockSize,d=e.location%o*this.flowData.blockSize,p=Math.floor(e.location/o)*this.flowData.blockSize;s;)i=Math.min(s*this.flowData.blockSize,t.canvas.width-d,c-u),n=i/this.flowData.blockSize,t.drawImage(this.images[a],u,m,i,this.flowData.blockSize,d,p,i,this.flowData.blockSize),s-=n,s&&((u+=i)>=c&&(u=0,m+=this.flowData.blockSize),(d+=i)>=t.canvas.width&&(d=0,p+=this.flowData.blockSize),r+=n)},r.init=function(){return this._loadController.loadDiffs().then(this._storeImages.bind(this))},r.renderDiff=function(t,e){var i=t.getContext("2d");e-=1;for(var n=0,r=this.frames[e].length;n<r;n++)this._applyDiffRange(i,this.frames[e][n])},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(r,{frames:{get:function(){return this.flowData.frames},set:function(t){this.flowData.frames=t},enumerable:!0}}),e.exports=n},{}],214:[function(t,e,i){"use strict";var n=t("@marcom/ac-object/defaults"),r=t("./Flow"),s=t("./Player"),o={keyframeCache:8,preload:!0},a={fileFormat:"jpg",baseName:"flow",imageUrlPattern:"###",startframeFileFormat:null,endframeFileFormat:null,basePath:null,manifestPath:null,manifestFileFormat:"json",diffPath:null,framePath:null},c=function(t){return t.lastIndexOf("/")!==t.length-1&&(t+="/"),t},l=function(t){var e=t.basePath?c(t.basePath):null,i=t.framePath?c(t.framePath):null,n=t.diffPath?c(t.diffPath):null,r=t.manifestPath?c(t.manifestPath):null,s=t.baseName+"_",o={};return o.startframe=(i||e)+s+"startframe."+(t.startframeFileFormat||t.fileFormat),o.endframe=(i||e)+s+"endframe."+(t.endframeFileFormat||t.fileFormat),o.imageUrlPattern=(n||e)+s+t.imageUrlPattern+"."+t.fileFormat,o.manifest=(r||e)+s+"manifest."+t.manifestFileFormat,o},h=function(t,e){var i=l(e),n=[i.startframe,i.endframe];return new r(t,i.manifest,n,i.imageUrlPattern)},u=function(t,e){var i=t||{},r=e||{};i=n(o,t),r=n(a,e),i.element||(t.element=document.createElement("canvas"));var c=h(i,r),l=new s(c,i.element);return i.preload&&l.load(),l};e.exports=u},{"./Flow":201,"./Player":203,"@marcom/ac-object/defaults":285}],215:[function(t,e,i){"use strict";function n(t,e){var i,n=t.match(/#/g).length;this._keyframes={},t=t.replace(/([^#]+)(#+)(\..*)/,"$1key_$2$3"),this._imageUrls=[],e.frames&&e.frames.forEach(function(e,r){"keyframe"===e.type&&(i="0000"+r,i=i.substring(i.length-n),this._imageUrls.push(t.replace(/#+/g,i)),this._keyframes[r]=e)}.bind(this))}var r=t("@marcom/ac-asset-loader/assetLoader"),s=n.prototype;s.load=function(){return this._imageUrls.length>0?r.load(this._imageUrls):Promise.resolve()},"function"!=typeof Object.defineProperties&&(Object.defineProperties=function(){}),Object.defineProperties(s,{keyframes:{get:function(){return this._keyframes},enumerable:!0}}),e.exports=n},{"@marcom/ac-asset-loader/assetLoader":16}],216:[function(t,e,i){"use strict";function n(t,e){this.flowData=t,this.flowData.imageUrlPattern=e}var r=t("./Loader"),s=n.prototype;s._storeImages=function(t){var e,i=0;if(t&&t.assets.length>0)for(var n in this._loader._keyframes)this._loader._keyframes.hasOwnProperty(n)&&(e=t.assets[i],this._loader._keyframes[n].image=e.data,i+=1)},s.init=function(){return this._loader=new r(this.flowData.imageUrlPattern,this.flowData),this._loader.load().then(this._storeImages.bind(this))},s.renderKeyframe=function(t,e,i){var n=t.getContext("2d"),r=this._loader.keyframes[e],s=r.image,o=r.x,a=r.y,c=r.width,l=r.height;i===!0?n.drawImage(s,o,a,c,l,o,a,c,l):this.flowData.reversible?n.drawImage(s,0,0):n.drawImage(s,o,a,c,l)},e.exports=n},{"./Loader":215}],217:[function(t,e,i){"use strict";var n=function(){var t,e="";for(t=0;t<arguments.length;t++)t>0&&(e+=","),e+=arguments[t];return e};e.exports=function(t,e){e=e||n;var i=function(){var n=arguments,r=e.apply(this,n);return r in i.cache||(i.cache[r]=t.apply(this,n)),i.cache[r]};return i.cache={},i}},{}],218:[function(t,e,i){"use strict";e.exports=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}}},{}],219:[function(t,e,i){"use strict";e.exports=function(t,e){var i=null;return function(){null===i&&(t.apply(this,arguments),i=setTimeout(function(){i=null},e))}}},{}],220:[function(t,e,i){"use strict";function n(t){t=t||{},this._wrapAround=t.wrapAround||!1,this._itemType=t.itemType||c,this._items=[],this._itemsIdLookup={},this.showNext=this.showNext.bind(this),this.showPrevious=this.showPrevious.bind(this),this._update=this._update.bind(this),this._updateItems=this._updateItems.bind(this),a.call(this),t.startAt&&this._startAt(t.startAt),n._add(this,t.analyticsOptions)}var r=t("@marcom/ac-classlist"),s=t("./singletons/analyticsManager"),o=t("@marcom/ac-object/create"),a=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,c=t("./Item");n.FADE="fade",n.FADE_SELECTOR="[data-ac-gallery-fade]",n.SLIDE="slide",n.SLIDE_SELECTOR="[data-ac-gallery-slide]",n.UPDATE="update",n.UPDATE_COMPLETE="update:complete";var l=a.prototype,h=n.prototype=o(l);h.addItem=function(t,e){if(t.nodeType)t=new this._itemType(t);else if(this._items.indexOf(t)>-1)return t;return"number"==typeof e?this._items.splice(e,0,t):this._items.push(t),1===this._items.length?(t.show(),this._setCurrentItem(t)):(t.hide(),this.getNextItem()===t&&this._setNextItem(t),this.getPreviousItem()===t&&this._setPreviousItem(t)),null!==t.getElementId()&&(this._itemsIdLookup[t.getElementId()]=t),t.on(c.SELECTED,this._update),t},h.removeItem=function(t,e){e=e||{},"number"==typeof t&&(t=this._items[t]);var i=this._items.indexOf(t);if(i>-1){var n=this.getNextItem(),r=this.getPreviousItem();this._items.splice(i,1),t.off(c.SELECTED,this._update),n===t&&this._setNextItem(this.getNextItem()),r===t&&this._setPreviousItem(this.getPreviousItem())}return t===this._currentItem&&this._items.length&&e.setCurrentItem!==!1&&(this._update({item:this._items[0]}),this._setLastItem(null)),e.destroyItem&&t.getElement()&&t.destroy(),t},h.show=function(t,e){return"number"==typeof t?t=this._items[t]:"string"==typeof t&&(t=this._itemsIdLookup[t]),t&&(e=e||{},this._update({item:t,interactionEvent:e.interactionEvent})),t||null},h.showNext=function(t){var e=this.getNextItem();return e&&this.show(e,t),e},h.showPrevious=function(t){var e=this.getPreviousItem();return e&&this.show(e,t),e},h.isInView=function(){return this._currentItem&&this._currentItem.isInView()},h.getTotalItems=function(){return this._items.length},h.getItems=function(){return this._items},h.getItem=function(t){return"number"==typeof t?this.getItemAt(t):"string"==typeof t?this.getItemById(t):void 0},h.getItemAt=function(t){return this._items[t]||null},h.getItemById=function(t){return this._itemsIdLookup[t]||null},h.getItemIndex=function(t){return this._items.indexOf(t)},h.getCurrentItem=function(){return this._currentItem||null},h.getLastItem=function(){return this._lastItem||null},h.getNextItem=function(){var t,e=this._items.indexOf(this._currentItem);return e<this._items.length-1?t=this._items[e+1]:this._wrapAround&&(t=this._items[0]),t||null},h.getPreviousItem=function(){var t,e=this._items.indexOf(this._currentItem);return e>0?t=this._items[e-1]:this._wrapAround&&(t=this._items[this._items.length-1]),t||null},h.getId=function(){return this._id},h.destroy=function(t){if(t=t||{},void 0===t.destroyItems&&(t.destroyItems=!0),this._setCurrentItem(null),t.destroyItems)for(var e;this._items.length;)e=this._items[0],e.off(c.SELECTED,this._update),this.removeItem(e,{destroyItem:!0,setCurrentItem:!1});return this._items=null,this._itemsIdLookup=null,n._remove(this),l.destroy.call(this)},h._startAt=function(t){var e=this._items[t];e&&this._currentItem!==e&&(this._currentItem.hide(),this._setCurrentItem(e),this._currentItem.show(),this.trigger(n.UPDATE,this._items))},h._setCurrentItem=function(t){this._currentItem&&this._currentItem.getElement()&&this._currentItem!==t&&(r.remove(this._currentItem.getElement(),c.CSS_CURRENT_ITEM),this._setLastItem(this._currentItem)),this._currentItem=t,this._currentItem&&this._currentItem.getElement()&&(r.add(this._currentItem.getElement(),c.CSS_CURRENT_ITEM),this._setNextItem(this.getNextItem()),this._setPreviousItem(this.getPreviousItem()))},h._setLastItem=function(t){this._lastItem&&this._lastItem.getElement()&&this._lastItem!==t&&r.remove(this._lastItem.getElement(),c.CSS_LAST_ITEM),this._lastItem=t,this._lastItem&&this._lastItem.getElement()&&r.add(this._lastItem.getElement(),c.CSS_LAST_ITEM)},h._setNextItem=function(t){this._nextItem&&this._nextItem.getElement()&&this._nextItem!==t&&r.remove(this._nextItem.getElement(),c.CSS_NEXT_ITEM),this._nextItem=t,this._nextItem&&this._nextItem.getElement()&&r.add(this._nextItem.getElement(),c.CSS_NEXT_ITEM)},h._setPreviousItem=function(t){this._previousItem&&this._previousItem.getElement()&&this._previousItem!==t&&r.remove(this._previousItem.getElement(),c.CSS_PREVIOUS_ITEM),this._previousItem=t,this._previousItem&&this._previousItem.getElement()&&r.add(this._previousItem.getElement(),c.CSS_PREVIOUS_ITEM)},h._updateItems=function(t,e){t.outgoing[0]&&t.outgoing[0].hide(),t.incoming[0].show(),e||this.trigger(n.UPDATE_COMPLETE,t)},h._update=function(t){var e=this._currentItem!==t.item;e&&this._setCurrentItem(t.item);var i={incoming:[t.item],outgoing:this._lastItem?[this._lastItem]:[],interactionEvent:t.interactionEvent||null};e&&this.trigger(n.UPDATE,i),this._updateItems(i,!e)},n._instantiate=function(){return this._galleries=[],this._idCounter=0,this},n._add=function(t,e){this._galleries.push(t),t._id=++this._idCounter,s.add(t,e)},n._remove=function(t){var e=this._galleries.indexOf(t);e>-1&&(this._galleries.splice(e,1),s.remove(t))},n.getAll=function(){return Array.prototype.slice.call(this._galleries)},n.getAllInView=function(){for(var t=[],e=this._galleries.length;e--;)this._galleries[e].isInView()&&t.push(this._galleries[e]);return t},n.destroyAll=function(){for(var t=this._galleries.length;t--;)this._galleries[t].destroy();this._galleries=[]},e.exports=n._instantiate()},{"./Item":221,"./singletons/analyticsManager":235,"@marcom/ac-classlist":32,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/create":284}],221:[function(t,e,i){"use strict";function n(t,e){this._el=t,e=e||{},this._triggerKeys=[],this._triggerEls={},this._isShown=!1,this._isACaption=void 0!==e.isACaption&&e.isACaption,this._onKeyboardInteraction=this._onKeyboardInteraction.bind(this),this._onTriggered=this._onTriggered.bind(this),this._isACaption||this._el.setAttribute("role","tabpanel"),this._focusableEls=h(m.focusableSelectors,t),p.call(this)}var r=t("@marcom/ac-classlist"),s=t("@marcom/ac-dom-events/addEventListener"),o=t("@marcom/ac-dom-events/removeEventListener"),a=t("@marcom/ac-dom-events/preventDefault"),c=t("@marcom/ac-dom-metrics/isInViewport"),l=t("@marcom/ac-dom-metrics/getPercentInViewport"),h=t("@marcom/ac-dom-traversal/querySelectorAll"),u=t("@marcom/ac-object/create"),m=t("./singletons/tabManager"),d=t("@marcom/ac-keyboard/keyMap"),p=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,f=t("@marcom/ac-keyboard"),_="current";n.CSS_CURRENT_ITEM="ac-gallery-currentitem",n.CSS_LAST_ITEM="ac-gallery-lastitem",n.CSS_NEXT_ITEM="ac-gallery-nextitem",n.CSS_PREVIOUS_ITEM="ac-gallery-previousitem",n.SELECTED="selected",n.SHOW="show",n.HIDE="hide";var g=n.prototype=u(p.prototype);g.show=function(){this._isShown=!0,this._addCurrentClassToTriggers(),this._setTabIndexOnFocusableItems(null),this._el.removeAttribute("aria-hidden"),this.trigger(n.SHOW,this)},g.hide=function(){this._isShown=!1,this._removeCurrentClassFromTriggers(),this._setTabIndexOnFocusableItems("-1"),this._el.setAttribute("aria-hidden","true"),this.trigger(n.HIDE,this)},g.addElementTrigger=function(t,e){e=e||"click",void 0===this._triggerEls[e]&&(this._triggerEls[e]=[]);var i=this._triggerEls[e].indexOf(t);if(i<0){t.setAttribute("role","tab"),t.setAttribute("tabindex","0");var n=this.getElementId();n&&t.setAttribute("aria-controls",n),n=t.getAttribute("id"),n&&null===this._el.getAttribute("aria-labelledby")&&this._el.setAttribute("aria-labelledby",n),s(t,e,this._onTriggered),this._triggerEls[e].push(t),this._isShown?(t.setAttribute("aria-selected","true"),r.add(t,_)):t.setAttribute("aria-selected","false")}},g.removeElementTrigger=function(t,e){if(e=e||"click",void 0!==this._triggerEls[e]){var i=this._triggerEls[e].indexOf(t);i>-1&&this._cleanElementTrigger(t,e),0===this._triggerEls[e].length&&(this._triggerEls[e]=void 0)}},g.addKeyTrigger=function(t){if("string"==typeof t&&(t=d[t.toUpperCase()]),"number"==typeof t){var e=this._triggerKeys.indexOf(t);e<0&&(f.onDown(t,this._onKeyboardInteraction),this._triggerKeys.push(t))}},g.removeKeyTrigger=function(t){if("string"==typeof t&&(t=d[t.toUpperCase()]),"number"==typeof t){var e=this._triggerKeys.indexOf(t);e>-1&&(f.offDown(t,this._onKeyboardInteraction),this._triggerKeys.splice(e,1))}},g.removeAllTriggers=function(){for(var t,e=this._triggerKeys.length;e--;)t=this._triggerKeys[e],f.offDown(t,this._onKeyboardInteraction);this._triggerKeys=[];var i,n;for(n in this._triggerEls)for(e=this._triggerEls[n].length;e--;)i=this._triggerEls[n][e],this._cleanElementTrigger(i,n);this._triggerEls={}},g.isInView=function(){return!!this._el&&c(this._el)},g.percentageInView=function(){return this._el?l(this._el):0},g.getElement=function(){return this._el},g.getElementId=function(){return void 0!==this._elId?this._elId:(this._elId=this._el.getAttribute("id")||null,this._elId)},g.destroy=function(){this._isShown&&(this._isShown=null,r.remove(this._el,n.CSS_CURRENT_ITEM,n.CSS_LAST_ITEM,n.CSS_NEXT_ITEM,n.CSS_PREVIOUS_ITEM),this._removeCurrentClassFromTriggers()),this.removeAllTriggers(),this._setTabIndexOnFocusableItems(null),this._el.removeAttribute("aria-hidden"),this._el.removeAttribute("role"),this._el.removeAttribute("aria-labelledby"),this._isACaption=null,this._triggerKeys=null,this._triggerEls=null,this._el=null},g._addCurrentClassToTriggers=function(){var t,e,i;for(e in this._triggerEls)for(i=this._triggerEls[e].length;i--;)t=this._triggerEls[e][i],t.setAttribute("aria-selected","true"),r.add(t,_)},g._removeCurrentClassFromTriggers=function(){var t,e,i;for(e in this._triggerEls)for(i=this._triggerEls[e].length;i--;)t=this._triggerEls[e][i],t.setAttribute("aria-selected","false"),r.remove(t,_)},g._cleanElementTrigger=function(t,e){t.removeAttribute("aria-selected"),t.removeAttribute("role"),t.removeAttribute("tabindex"),t.removeAttribute("aria-controls"),o(t,e,this._onTriggered),this._isShown&&r.remove(t,_)},g._onKeyboardInteraction=function(t){this.isInView()&&this._onTriggered(t)},g._setTabIndexOnFocusableItems=function(t){var e=null===t,i=[];this._currentTabbableEls=this._currentTabbableEls||m.getTabbable(this._focusableEls),e||(i=m.getTabbable(this._focusableEls),this._currentTabbableEls=i);for(var n=this._currentTabbableEls.length;n--;)e?this._currentTabbableEls[n].removeAttribute("tabindex"):this._currentTabbableEls[n].setAttribute("tabindex",t)},g._onTriggered=function(t){a(t),this.trigger(n.SELECTED,{item:this,interactionEvent:t})},e.exports=n},{"./singletons/tabManager":236,"@marcom/ac-classlist":32,"@marcom/ac-dom-events/addEventListener":66,"@marcom/ac-dom-events/preventDefault":69,"@marcom/ac-dom-events/removeEventListener":70,"@marcom/ac-dom-metrics/getPercentInViewport":82,"@marcom/ac-dom-metrics/isInViewport":88,"@marcom/ac-dom-traversal/querySelectorAll":126,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-keyboard":258,"@marcom/ac-keyboard/keyMap":260,"@marcom/ac-object/create":284}],222:[function(t,e,i){"use strict";var n=t("./helpers/extendProto"),r=t("./Gallery"),s=t("./auto/AutoGallery"),o=t("./fade/FadeGallery"),a=t("./fade/FadeItem"),c=t("./slide/SlideGallery"),l=t("./slide/SlideItem"),h=t("./Item");r.create=t("./factories/create"),r.autoCreate=t("./factories/autoCreate"),r.extend=n,s.extend=n,o.extend=n,a.extend=n,c.extend=n,l.extend=n,h.extend=n,e.exports={Gallery:r,AutoGallery:s,FadeGallery:o,FadeGalleryItem:a,SlideGallery:c,SlideGalleryItem:l,Item:h,ToggleNav:t("./navigation/ToggleNav")}},{"./Gallery":220,"./Item":221,"./auto/AutoGallery":224,"./factories/autoCreate":225,"./factories/create":226,"./fade/FadeGallery":227,"./fade/FadeItem":228,"./helpers/extendProto":229,"./navigation/ToggleNav":234,"./slide/SlideGallery":237,"./slide/SlideItem":238}],223:[function(t,e,i){"use strict";function n(){this._observers={}}var r;try{r=t("ac-analytics").observer.Gallery}catch(s){}var o="data-analytics-gallery-id",a=n.prototype;a.add=function(t,e){var i=t.getId();if(r&&!this._observers[i]){e=e||{},e.galleryName||(e.galleryName=this._getAnalyticsId(t,e.dataAttribute)||i),e.beforeUpdateEvent||(e.beforeUpdateEvent="update"),e.afterUpdateEvent||(e.afterUpdateEvent="update:complete");var n=new r(t,e);n.gallery&&(this._observers[i]=n)}},a.remove=function(t){var e=t.getId();r&&this._observers[e]&&("function"==typeof this._observers[e].destroy&&this._observers[e].destroy(),this._observers[e]=null)},a._getAnalyticsId=function(t,e){if("function"==typeof t.getElement){e=e||o;var i=t.getElement();return i.getAttribute(e)||i.getAttribute("id")}return null},e.exports=n},{"ac-analytics":void 0}],224:[function(t,e,i){"use strict";function n(t,e){if(e=e||{},!t||void 0===t.nodeType)throw new Error(I);if(this._el=t,b.call(this,e),this._itemHeights=[],this._itemHeightsLookup={},this._toggleNavDuration=e.toggleNavDuration,this._isRightToLeft=void 0===e.rightToLeft?"rtl"===c.getStyle(t,"direction").direction:e.rightToLeft,this._keyboardThrottleDelay=1e3*(void 0===e.keyboardThrottleDelay?O:e.keyboardThrottleDelay),this._resizeContainer=!!e.resizeContainer,this._setUpContainerAutoResize(e.resizeContainerOnUpdate),this._createToggleNav(),this._addPaddleNav(e.addPaddleNav),this._isACaptionsGallery=""===t.getAttribute("data-ac-gallery-captions"),this._addItems(e.itemSelector||C),this._wrapAround||this._updatePaddleNavState(),e.enableArrowKeys!==!1&&(this._enableArrowKeys=!0,this._addKeyboardListener()),e.updateOnWindowResize!==!1&&(this._onWindowResize=this._onWindowResize.bind(this),s(window,"resize",this._onWindowResize)),this._componentsContainer=document.getElementById(e.container),e.startAt&&this._startAt(e.startAt),this.stopAutoPlay=this.stopAutoPlay.bind(this),e.autoPlay){if(!this._componentsContainer)throw new Error(D);var i="number"==typeof e.autoPlay?e.autoPlay:S;this.startAutoPlay(i)}if(e.deeplink!==!1){var n=this._getDeeplinkedItem();n&&n!==this._currentItem&&this.show(n)}if(this._containerResizeDuration!==!1){var r=this._itemHeightsLookup[this._currentItem.getElementId()];r&&this._setElHeight(r)}this._toggleNav&&this._toggleNav.start(),
this._setUpSwiping(e.touch&&v(),e.desktopSwipe),this._componentsContainer&&this._componentsContainer.setAttribute("tabIndex",-1);var o=t.getAttribute("data-related-gallery");if(o&&(this._captionsContainer=document.querySelector(o)),e.enableCaptions){if(!this._captionsContainer)throw new Error(F);this._captionsOptions=!!e.captionsOptions&&e.captionsOptions,this.enableCaptions()}}t("@marcom/ac-polyfills/requestAnimationFrame");var r=t("@marcom/ac-classlist"),s=t("@marcom/ac-dom-events/addEventListener"),o=t("@marcom/ac-dom-events/removeEventListener"),a=t("@marcom/ac-dom-events/preventDefault"),c=t("@marcom/ac-dom-styles"),l=t("@marcom/ac-dom-traversal/querySelector"),h=t("@marcom/ac-dom-traversal/querySelectorAll"),u=t("@marcom/ac-object/create"),m=t("@marcom/ac-dom-metrics/getContentDimensions"),d=t("@marcom/ac-keyboard/keyMap"),p=t("./../helpers/selectElementFromDataAttributeValue"),f=t("./../helpers/selectElementThatHasDataAttribute"),_=t("./../helpers/inputHasFocus"),g=t("@marcom/ac-function/throttle"),v=t("@marcom/ac-feature/touchAvailable"),b=t("./../Gallery"),y=t("@marcom/ac-keyboard"),E=t("@marcom/ac-page-visibility").PageVisibilityManager,w=t("@marcom/ac-pointer-tracker").PointerTracker,T=t("./../navigation/ToggleNav"),A="disabled",S=3,x=.5,C="[data-ac-gallery-item]",O=.12,P=t("../templates/paddlenav.js"),I="No element supplied.",D='Container element needed when autoPlay is on. Use the "container" option when you instantiate your gallery.',F='Captions datatag needed when enableCaptions is on. Use the "data-related-gallery" tag (with an ID of the related captions container) on your gallery container to automatically use captions.';n.RESIZED="resized",n.UPDATE=b.UPDATE,n.UPDATE_COMPLETE=b.UPDATE_COMPLETE;var k=b.prototype,L=n.prototype=u(k);L.addItem=function(t,e){if(t.nodeType){var i=this._isACaptionsGallery;t=new this._itemType(t,{isACaption:i})}else if(this._items.indexOf(t)>-1)return t;return this._resizeContainer&&this._storeItemHeight(t,this._containerResizeDuration===!1),this._addItemTriggers(t),k.addItem.call(this,t,e)},L.removeItem=function(t,e){if(this._resizeContainer)for(var i=this._itemHeights.length;i--;)this._itemHeights[i].item===t&&(this._itemHeights.splice(i,1),0===i&&this._itemHeights.length&&this._setElHeight(this._itemHeights[0].height));return k.removeItem.call(this,t,e)},L.startAutoPlay=function(t,e){if(e=e||{},this._isAutoPlaying=!0,this._autoPlayDelay=1e3*(t||S),this._cancelAutoPlayOnInteraction=void 0===e.cancelOnInteraction||e.cancelOnInteraction,setTimeout(this._onAutoPlayToNextItem.bind(this),this._autoPlayDelay),this._cancelAutoPlayOnInteraction&&this.on(b.UPDATE,this.stopAutoPlay),!this._componentsContainer)throw new Error(D);s(this._componentsContainer,"focus",this.stopAutoPlay,!0),s(this._componentsContainer,"touchend",this.stopAutoPlay,!0),s(this._componentsContainer,"click",this.stopAutoPlay,!0)},L.stopAutoPlay=function(){this._isAutoPlaying=!1,this._cancelAutoPlayOnInteraction&&this.off(b.UPDATE,this.stopAutoPlay),this._componentsContainer&&(o(this._componentsContainer,"focus",this.stopAutoPlay,!0),o(this._componentsContainer,"touchend",this.stopAutoPlay,!0),o(this._componentsContainer,"click",this.stopAutoPlay,!0))},L.getElement=function(){return this._el},L.getToggleNav=function(){return this._toggleNav||null},L.resize=function(t,e){if(this._resizeContainer){this._itemHeights=[];for(var i=this._items.length;i--;)this._storeItemHeight(this._items[i],!1);this._containerResizeDuration!==!1?this._setElHeight(this._itemHeightsLookup[this._currentItem.getElementId()]):this._setElHeight(this._itemHeights[0].height)}this._toggleNav&&this._toggleNav.resize(),this.trigger(n.RESIZED,this)},L.enableKeyboard=function(){this._enableArrowKeys||(this._enableArrowKeys=!0,this._addKeyboardListener())},L.disableKeyboard=function(){this._enableArrowKeys&&(this._enableArrowKeys=!1,y.offDown(d.ARROW_RIGHT,this._rightArrowFunc),y.offDown(d.ARROW_LEFT,this._leftArrowFunc))},L.enableTouch=function(){this._touchSwipe||this._setUpSwiping(!0,!1)},L.disableTouch=function(){this._touchSwipe&&(this._touchSwipe.off(w.END,this._onSwipeEnd),this._touchSwipe.destroy(),this._touchSwipe=null)},L.enableDesktopSwipe=function(){this._clickSwipe||this._setUpSwiping(!1,!0)},L.disableDesktopSwipe=function(){this._clickSwipe&&(this._clickSwipe.off(w.END,this._onSwipeEnd),this._clickSwipe.destroy(),this._clickSwipe=null)},L.enableCaptions=function(){this._galleryWithCaptions||this._initCaptionsGallery(this._captionsContainer,this._captionsOptions)},L.disableCaptions=function(){this._galleryWithCaptions&&this._galleryWithCaptions.destroy()},L.destroy=function(t){this._isAutoPlaying&&this.stopAutoPlay(),this._componentsContainer&&(o(this._componentsContainer,"focus",this.stopAutoPlay,!0),o(this._componentsContainer,"touchend",this.stopAutoPlay,!0),o(this._componentsContainer,"click",this.stopAutoPlay,!0)),this._resizeContainer&&c.setStyle(this._el,{height:null,transition:null}),this._enableArrowKeys&&(y.offDown(d.ARROW_RIGHT,this._rightArrowFunc),y.offDown(d.ARROW_LEFT,this._leftArrowFunc));var e;if(this._previousButtons){for(e=this._previousButtons.length;e--;)o(this._previousButtons[e],"click",this._onPaddlePrevious);this._setPaddleDisabledState(this._previousButtons,!1)}if(this._nextButtons){for(e=this._nextButtons.length;e--;)o(this._nextButtons[e],"click",this._onPaddleNext);this._setPaddleDisabledState(this._nextButtons,!1)}return this._dynamicPaddleNav&&this._el.removeChild(this._dynamicPaddleNav),this._hasPaddleNavStateHandler&&this.off(b.UPDATE,this._updatePaddleNavState),this.disableTouch(),this.disableDesktopSwipe(),this.disableCaptions(),this._toggleNav&&(this._toggleNav.destroy(),this._toggleNav=null),o(window,"resize",this._onWindowResize),this._el=null,this._itemHeights=null,this._itemHeightsLookup=null,this._resizeContainer=null,this._isRightToLeft=null,this._enableArrowKeys=null,this._previousButtons=null,this._onPaddlePrevious=null,this._nextButtons=null,this._onPaddleNext=null,this._isACaptionsGallery=null,this._componentsContainer=null,this._galleryWithCaptions=null,this._captionsContainer=null,this._captionsOptions=null,k.destroy.call(this,t)},L._getDeeplinkedItem=function(){for(var t,e=window.location.hash.substr(1),i=this._items.length;i--;)if(t=this._items[i],e===t.getElementId())return t;return null},L._addItems=function(t){var e,i,n=/(^\[).*(\]$)/.test(t);n?(t=t.replace(/\[|\]/g,""),i=f(t,this._el)):i=h(t,this._el);var r=0,s=i.length,o=this._isACaptionsGallery;for(r;r<s;r++)e=new this._itemType(i[r],{isACaption:o}),this.addItem(e),this._addItemTriggers(e)},L._createToggleNav=function(){var t=this._getElementId(),e='[data-ac-gallery-togglenav="'+t+'"], [data-ac-gallery-tabnav="'+t+'"]',i=l(e);i&&(this._toggleNav=new T(i,this,{duration:this._toggleNavDuration}))},L._addItemTriggers=function(t,e){var i=p("data-ac-gallery-trigger",t.getElementId());e&&e.length&&(i=i.concat(e));var n=0,r=i.length;for(n;n<r;n++)t.addElementTrigger(i[n]),this._toggleNav&&this._toggleNav.addTrigger(i[n],t)},L._addPaddleNav=function(t){var e,i=this._getElementId();if(t){var n="string"==typeof t?t:P;n=n.replace(/%ID%/g,this._getElementId()),this._dynamicPaddleNav=document.createElement("div"),this._dynamicPaddleNav.innerHTML=n,this._el.insertBefore(this._dynamicPaddleNav,this._el.firstChild)}this._previousButtons=p("data-ac-gallery-previous-trigger",i),this._nextButtons=p("data-ac-gallery-next-trigger",i);var r=this._el.getAttribute("aria-label")||"";if(r.length&&(r="("+r+")"),this._onPaddlePrevious=this._onPaddleInteraction.bind(null,this.showPrevious),e=this._previousButtons.length){var o=this._el.getAttribute("data-ac-gallery-previouslabel");for(o&&r.length&&(this._isRightToLeft?o=r+" "+o:o+=" "+r);e--;)o&&null===this._previousButtons[e].getAttribute("aria-label")&&this._previousButtons[e].setAttribute("aria-label",o),s(this._previousButtons[e],"click",this._onPaddlePrevious)}if(this._onPaddleNext=this._onPaddleInteraction.bind(null,this.showNext),e=this._nextButtons.length){var a=this._el.getAttribute("data-ac-gallery-nextlabel");for(a&&r.length&&(this._isRightToLeft?a=r+" "+a:a+=" "+r);e--;)a&&null===this._nextButtons[e].getAttribute("aria-label")&&this._nextButtons[e].setAttribute("aria-label",a),s(this._nextButtons[e],"click",this._onPaddleNext)}(this._nextButtons.length||this._previousButtons.length)&&(this._hasPaddleNavStateHandler=!0,this._updatePaddleNavState=this._updatePaddleNavState.bind(this),this.on(b.UPDATE,this._updatePaddleNavState))},L._onPaddleInteraction=function(t,e){a(e),t.call(null,{interactionEvent:e})},L._updatePaddleNavState=function(){if(this._wrapAround)this._setPaddleDisabledState(this._previousButtons,!1),this._setPaddleDisabledState(this._nextButtons,!1);else{var t=this._items.indexOf(this._currentItem);0===t&&this._previousButtons.length?(this._setPaddleDisabledState(this._previousButtons,!0),this._setPaddleDisabledState(this._nextButtons,!1)):t===this._items.length-1&&this._nextButtons.length?(this._setPaddleDisabledState(this._nextButtons,!0),this._setPaddleDisabledState(this._previousButtons,!1)):(this._setPaddleDisabledState(this._previousButtons,!1),this._setPaddleDisabledState(this._nextButtons,!1))}},L._setPaddleDisabledState=function(t,e){for(var i=t.length;i--;)t[i].disabled=e,e?r.add(t[i],A):r.remove(t[i],A)},L._addKeyboardListener=function(){if(this._enableArrowKeys){this._onKeyboardInteraction=this._onKeyboardInteraction.bind(this);var t,e;this._isRightToLeft?(t=this.showPrevious,e=this.showNext):(t=this.showNext,e=this.showPrevious),this._rightArrowFunc=g(this._onKeyboardInteraction.bind(null,t),this._keyboardThrottleDelay),this._leftArrowFunc=g(this._onKeyboardInteraction.bind(null,e),this._keyboardThrottleDelay),y.onDown(d.ARROW_RIGHT,this._rightArrowFunc),y.onDown(d.ARROW_LEFT,this._leftArrowFunc)}},L._onKeyboardInteraction=function(t,e){if(this.isInView()&&!_()){var i=b.getAllInView();if(i.length>1&&(i.sort(function(t,e){return t=t._enableArrowKeys?t.getCurrentItem().percentageInView():0,e=e._enableArrowKeys?e.getCurrentItem().percentageInView():0,e-t}),this!==i[0]))return;t.call(null,{interactionEvent:e})}},L._setUpSwiping=function(t,e){this._onSwipeEnd=this._onSwipeEnd.bind(this),t&&(this._touchSwipe=new w(this._el,w.TOUCH_EVENTS),this._touchSwipe.on(w.END,this._onSwipeEnd)),e&&(this._clickSwipe=new w(this._el,w.MOUSE_EVENTS),this._clickSwipe.on(w.END,this._onSwipeEnd))},L._onSwipeEnd=function(t){var e,i=t.interactionEvent,n="touchend"!==i.type||"touchstart"!==i.type||"touchmove"!==i.type;if(n)var r={type:"touchmove",target:i.target,srcElement:i.srcElement};var s={interactionEvent:r||i};return t.swipe===w.SWIPE_RIGHT?e=this._isRightToLeft?this.showNext:this.showPrevious:t.swipe===w.SWIPE_LEFT&&(e=this._isRightToLeft?this.showPrevious:this.showNext),e?e.call(this,s):(i=null,null)},L._getElementId=function(){return void 0===this._elementId&&(this._elementId=this._el.getAttribute("id")),this._elementId},L._setUpContainerAutoResize=function(t){"number"==typeof t?this._containerResizeDuration=t:t?this._containerResizeDuration=x:this._containerResizeDuration=!1,this._containerResizeDuration!==!1&&(this._resizeContainer=!0,this._updateContainerSize=this._updateContainerSize.bind(this),this.on(b.UPDATE,this._updateContainerSize))},L._updateContainerSize=function(t){var e=this._itemHeightsLookup[t.incoming[0].getElementId()];e&&this._setElHeight(e,this._containerResizeDuration)},L._storeItemHeight=function(t,e){var i=m(t.getElement());this._itemHeights.push({item:t,height:i.height}),this._itemHeightsLookup[t.getElementId()]=i.height,this._itemHeights.sort(function(t,e){return e.height-t.height}),e&&this._itemHeights[0].item===t&&this._setElHeight(i.height)},L._setElHeight=function(t,e){var i={height:t+"px"};e?i.transition="height "+e+"s":i.transition=null,c.setStyle(this._el,i)},L._initCaptionsGallery=function(t,e){t&&(this._galleryWithCaptions=b.create(t,"fade",e?e:{crossFade:!0}),this._enableArrowKeys&&(this._galleryWithCaptions._enableArrowKeys=!1),this.on(b.UPDATE,function(t){var e=this.getItemIndex(t.incoming[0]);this._galleryWithCaptions.show(e)}.bind(this)))},L._onAutoPlayToNextItem=function(){if(this._isAutoPlaying)if(!E.isHidden&&this._currentItem.isInView()){this._cancelAutoPlayOnInteraction&&this.off(b.UPDATE,this.stopAutoPlay);var t=this.showNext();null!==t&&(this._cancelAutoPlayOnInteraction&&this.on(b.UPDATE,this.stopAutoPlay),setTimeout(this._onAutoPlayToNextItem.bind(this),this._autoPlayDelay))}else setTimeout(this._onAutoPlayToNextItem.bind(this),this._autoPlayDelay)},L._onWindowResize=function(t){window.requestAnimationFrame(function(){this._el&&this.resize()}.bind(this))},e.exports=n},{"../templates/paddlenav.js":240,"./../Gallery":220,"./../helpers/inputHasFocus":231,"./../helpers/selectElementFromDataAttributeValue":232,"./../helpers/selectElementThatHasDataAttribute":233,"./../navigation/ToggleNav":234,"@marcom/ac-classlist":32,"@marcom/ac-dom-events/addEventListener":66,"@marcom/ac-dom-events/preventDefault":69,"@marcom/ac-dom-events/removeEventListener":70,"@marcom/ac-dom-metrics/getContentDimensions":79,"@marcom/ac-dom-styles":117,"@marcom/ac-dom-traversal/querySelector":125,"@marcom/ac-dom-traversal/querySelectorAll":126,"@marcom/ac-feature/touchAvailable":195,"@marcom/ac-function/throttle":219,"@marcom/ac-keyboard":258,"@marcom/ac-keyboard/keyMap":260,"@marcom/ac-object/create":284,"@marcom/ac-page-visibility":292,"@marcom/ac-pointer-tracker":298,"@marcom/ac-polyfills/requestAnimationFrame":void 0}],225:[function(t,e,i){"use strict";var n=t("./create"),r=t("./../helpers/selectElementThatHasDataAttribute"),s=t("./../Gallery"),o=s.FADE_SELECTOR.replace(/\[|\]/g,""),a=s.SLIDE_SELECTOR.replace(/\[|\]/g,"");e.exports=function(t){t=t||{};var e,i,c=t.context||document.body;for(e=r(a,c),i=e.length;i--;)n(e[i],s.SLIDE,t);for(e=r(o,c),i=e.length;i--;)n(e[i],s.FADE,t);return s.getAll()}},{"./../Gallery":220,"./../helpers/selectElementThatHasDataAttribute":233,"./create":226}],226:[function(t,e,i){"use strict";var n=t("./../fade/FadeGallery"),r=t("./../Gallery"),s=t("./../slide/SlideGallery"),o="%TYPE% is not a supported gallery type and el has no gallery data attribute.",a=r.FADE_SELECTOR.replace(/\[|\]/g,""),c=r.SLIDE_SELECTOR.replace(/\[|\]/g,"");e.exports=function(t,e,i){var l;if("string"==typeof e&&(e===r.SLIDE?l=s:e===r.FADE&&(l=n)),void 0===l&&(null!==t.getAttribute(c)?l=s:null!==t.getAttribute(a)&&(l=n)),void 0===l)throw new Error(o.replace(/%TYPE%/g,e));return new l(t,i)}},{"./../Gallery":220,"./../fade/FadeGallery":227,"./../slide/SlideGallery":237}],227:[function(t,e,i){"use strict";function n(t,e){e=r(e)||{},e.itemType=e.itemType||o,this._fadeDuration=e.duration||c,e.toggleNavDuration=void 0===e.toggleNavDuration?this._fadeDuration:e.toggleNavDuration,this._crossFade=e.crossFade,this._zIndexCount=e.startZIndex||1,this._ease=e.ease,e.resizeContainerOnUpdate===!0&&(e.resizeContainerOnUpdate=this._fadeDuration),this._onItemShowComplete=this._onItemShowComplete.bind(this),a.call(this,t,e),this._currentItem&&this._currentItem.fadeIn(0)}var r=t("@marcom/ac-object/clone"),s=t("@marcom/ac-object/create"),o=t("./FadeItem"),a=t("./../auto/AutoGallery"),c=.5;n.RESIZED=a.RESIZED,n.UPDATE=a.UPDATE,n.UPDATE_COMPLETE=a.UPDATE_COMPLETE;var l=a.prototype,h=n.prototype=s(l);h.addItem=function(t,e){t.nodeType&&(t=new this._itemType(t));var i=l.addItem.call(this,t,e);return t!==this._currentItem?t.fadeOut():t.fadeIn(0),i},h.destroy=function(t){var e=l.destroy.call(this,t);return this._fadeDuration=null,this._crossFade=null,this._zIndexCount=null,this._ease=null,this._onItemShowComplete=null,e},h._startAt=function(t){var e=this._items[t];e&&this._currentItem!==e&&(this._currentItem.fadeOut(0),this._currentItem.hide(),this._setCurrentItem(e),this._currentItem.show(),this._currentItem.fadeIn(0),this.trigger(n.UPDATE,this._items))},h._onItemShowComplete=function(t){if(t&&t.target()!==this._currentItem.getElement())return void(this._currentItem.isFading()||this._currentItem.fadeIn(this._fadeDuration,this._ease,++this._zIndexCount,this._onItemShowComplete));for(var e,i=this._items.length;i--;)e=this._items[i],e!==this._currentItem&&e.fadeOut();this._incomingOutgoingItems&&this.trigger(n.UPDATE_COMPLETE,this._incomingOutgoingItems)},h._updateItems=function(t,e){if(!e){if(this._crossFade){var i=e?null:this.trigger.bind(this,n.UPDATE_COMPLETE,t);t.outgoing[0].fadeOut(.99*this._fadeDuration,this._ease),t.incoming[0].fadeIn(this._fadeDuration,this._ease,++this._zIndexCount,i)}else this._incomingOutgoingItems=!e&&t,t.outgoing[0].isFading()||t.incoming[0].fadeIn(this._fadeDuration,this._ease,++this._zIndexCount,this._onItemShowComplete);t.outgoing[0].hide(),t.incoming[0].show()}},e.exports=n},{"./../auto/AutoGallery":224,"./FadeItem":228,"@marcom/ac-object/clone":283,"@marcom/ac-object/create":284}],228:[function(t,e,i){"use strict";function n(t,e){l.call(this,t,e),r(t,{position:"absolute"})}var r=t("@marcom/ac-dom-styles/setStyle"),s=t("@marcom/ac-object/create"),o=t("@marcom/ac-solar/fade"),a=t("@marcom/ac-solar/fadeIn"),c=t("@marcom/ac-solar/fadeOut"),l=t("./../Item");n.SELECTED=l.SELECTED,n.SHOW=l.SHOW,n.HIDE=l.HIDE;var h=l.prototype,u=n.prototype=s(h);u.fadeIn=function(t,e,i,n){t?(r(this._el,{zIndex:i||1}),this._destroyCurrentClip(),this._clip=o(this._el,0,1,t,{ease:e,onComplete:n})):(a(this._el,0),r(this._el,{zIndex:i||1}))},u.fadeOut=function(t,e){t?(this._destroyCurrentClip(),this._clip=c(this._el,t,{ease:e})):c(this._el,0)},u.isFading=function(){return!(!this._clip||!this._clip.playing())},u.destroy=function(){r(this._el,{position:null,opacity:null,zIndex:null}),h.destroy.call(this),this._destroyCurrentClip(),this._clip=null},u._destroyCurrentClip=function(){this.isFading()&&this._clip.destroy()},e.exports=n},{"./../Item":221,"@marcom/ac-dom-styles/setStyle":120,"@marcom/ac-object/create":284,"@marcom/ac-solar/fade":332,"@marcom/ac-solar/fadeIn":333,"@marcom/ac-solar/fadeOut":334}],229:[function(t,e,i){"use strict";var n=t("@marcom/ac-object/create"),r=t("@marcom/ac-object/extend");e.exports=function(t){var e=this,i=function(){e.apply(this,arguments)},s=n(this.prototype);return i.prototype=r(s,t),r(i,this),i}},{"@marcom/ac-object/create":284,"@marcom/ac-object/extend":286}],230:[function(t,e,i){"use strict";var n=t("@marcom/ac-dom-styles/getStyle"),r=t("@marcom/ac-dom-metrics/getContentDimensions");e.exports=function(t){var e=n(t,"margin-right","margin-left");return Math.round(r(t).width)+parseInt(e.marginRight,10)+parseInt(e.marginLeft,10)}},{"@marcom/ac-dom-metrics/getContentDimensions":79,"@marcom/ac-dom-styles/getStyle":118}],231:[function(t,e,i){"use strict";e.exports=function(){var t=["input","select","textarea"];return t.indexOf(document.activeElement.nodeName.toLowerCase())>-1}},{}],232:[function(t,e,i){"use strict";var n=t("@marcom/ac-dom-traversal/querySelectorAll"),r=function(t,e){var i,n=document.getElementsByTagName("*"),r=0,s=n.length,o=[];for(r;r<s;r++)i=n[r],null!==i.getAttribute(t)&&i.getAttribute(t).split(" ").indexOf(e)>-1&&(o[o.length]=i);return o};e.exports=function(t,e){var i=n("["+t+'*="'+e+'"]');if(0===i.length&&7===document.documentMode)return r(t,e);var s,o=[],a=0,c=i.length;for(a;a<c;a++)s=i[a].getAttribute(t),s===e?o.push(i[a]):s&&s.length&&(s=s.split(" "),s.indexOf(e)>-1&&o.push(i[a]));return o}},{"@marcom/ac-dom-traversal/querySelectorAll":126}],233:[function(t,e,i){"use strict";var n=t("@marcom/ac-dom-traversal/querySelectorAll"),r=t("@marcom/ac-dom-traversal/ancestors"),s=function(t,e){var i,n=document.getElementsByTagName("*"),s=0,o=n.length,a=[];for(s;s<o;s++)i=n[s],null!==i.getAttribute(t)&&(!e||r(i).indexOf(e)>-1)&&(a[a.length]=i);return a};e.exports=function(t,e){e=e||document.body;var i=n("["+t+"]",e);return 0===i.length&&7===document.documentMode?s(t,e):i}},{"@marcom/ac-dom-traversal/ancestors":121,"@marcom/ac-dom-traversal/querySelectorAll":126}],234:[function(t,e,i){"use strict";function n(t,e,i){i=i||{},this._el=t,this._isRightToLeft=void 0===i.rightToLeft?"rtl"===c(t,"direction").direction:i.rightToLeft,this._scrollType=this._scrollDirection(),this._gallery=e,this._triggers={},this._ordered=[],this._containerEl=this._el.children[0],this._slideDuration=void 0===i.duration?f:i.duration,d.call(this)}var r=t("@marcom/ac-dom-events/addEventListener"),s=t("@marcom/ac-dom-events/removeEventListener"),o=t("@marcom/ac-dom-metrics/getDimensions"),a=t("@marcom/ac-dom-metrics/getPosition"),c=t("@marcom/ac-dom-styles/getStyle"),l=t("@marcom/ac-dom-styles/setStyle"),h=t("@marcom/ac-dom-traversal/ancestors"),u=t("@marcom/ac-object/create"),m=t("@marcom/ac-solar/scrollX"),d=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,p=t("./../Gallery"),f=.5,_=d.prototype,g=n.prototype=u(_);g.start=function(){this._onWindowLoad=this._onWindowLoad.bind(this),this._onGalleryUpdated=this._onGalleryUpdated.bind(this),this._gallery.on(p.UPDATE,this._onGalleryUpdated),this.resize(),r(window,"load",this._onWindowLoad)},g.addTrigger=function(t,e){if(void 0===this._triggers[e.getElementId()]){var i=h(t);if(i.indexOf(this._el)>-1){var n={el:t};this._triggers[e.getElementId()]=n,this._ordered.push(n)}}},g.resize=function(){if(this._ordered.length){l(this._containerEl,{paddingLeft:null,paddingRight:null}),this._containerWidth=o(this._containerEl).width,this._width=o(this._el).width,this._viewCenter=Math.round(.5*this._width);for(var t=this._ordered.length;t--;)this._setTriggerData(this._ordered[t]);if(this._ordered.sort(function(t,e){return t.left-e.left}),this._containerWidth>this._width){var e=this._ordered[0],i=this._ordered[this._ordered.length-1],n=.5*(this._width-e.width),r=.5*(this._width-i.width);l(this._containerEl,{paddingLeft:n+"px",paddingRight:r+"px"});var s=this._triggers[this._gallery.getCurrentItem().getElementId()];s&&this._centerNav(s)}}},g.destroy=function(){return this._gallery.off(p.UPDATE,this._onGalleryUpdated),s(window,"load",this._onWindowLoad),l(this._containerEl,{paddingLeft:null,paddingRight:null}),this._el=null,this._gallery=null,this._triggers=null,this._ordered=null,this._containerEl=null,this._destroyCurrentClip(),this._clip=null,_.destroy.call(this)},g._onWindowLoad=function(){s(window,"load",this._onWindowLoad),this.resize()},g._setTriggerData=function(t){t.width=o(t.el).width;var e=a(t.el);t.left=e.left,t.right=e.right,t.center=t.left+.5*t.width},g._centerNav=function(t,e){this._setTriggerData(t),this._width=o(this._el).width,this._viewCenter=Math.round(.5*this._width);var i=Math.round(t.center-this._viewCenter);this._isRightToLeft&&("negative"!==this._scrollType&&(i=Math.abs(i)),"default"===this._scrollType&&(i=this._el.scrollWidth-this._el.clientWidth-i)),this._destroyCurrentClip(),e?this._clip=m(this._el,i,e):this._el.scrollLeft=i},g._onGalleryUpdated=function(t){var e=this._triggers[t.incoming[0].getElementId()];e&&this._centerNav(e,this._slideDuration)},g._destroyCurrentClip=function(){this._clip&&this._clip.playing()&&this._clip.destroy()},g._scrollDirection=function(){var t="reverse",e=document.createElement("div");return e.style.cssText="width:2px; height:1px; position:absolute; top:-1000px; overflow:scroll; font-size: 14px;",e.style.direction="rtl",e.innerHTML="test",document.body.appendChild(e),e.scrollLeft>0?t="default":(e.scrollLeft=1,0===e.scrollLeft&&(t="negative")),document.body.removeChild(e),t},e.exports=n},{"./../Gallery":220,"@marcom/ac-dom-events/addEventListener":66,"@marcom/ac-dom-events/removeEventListener":70,"@marcom/ac-dom-metrics/getDimensions":80,"@marcom/ac-dom-metrics/getPosition":84,"@marcom/ac-dom-styles/getStyle":118,"@marcom/ac-dom-styles/setStyle":120,"@marcom/ac-dom-traversal/ancestors":121,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/create":284,"@marcom/ac-solar/scrollX":338}],235:[function(t,e,i){"use strict";var n=t("./../analytics/AnalyticsManager");e.exports=new n},{"./../analytics/AnalyticsManager":223}],236:[function(t,e,i){"use strict";var n=["input","select","textarea","button","object"],r=["href","tabindex","contenteditable"],s=function(){this.focusableSelectors=n.concat(r.map(function(t){return"href"===t?"a["+t+"]":"*["+t+"]"})).join(",")},o=s.prototype;o.isFocusable=function(t,e){var i=t.nodeName.toLowerCase(),r=n.indexOf(i)>-1;return"a"===i||(r?!t.disabled:!t.contentEditable||(e=e||t.tabIndex,isNaN(e)))},o.isTabbable=function(t){var e=t.getAttribute("tabindex");return isNaN(e)?this.isFocusable(t,e):e>=0},o.getTabbable=function(t){for(var e=t.length,i=[],n=0;n<e;n++)this.isTabbable(t[n])&&i.push(t[n]);return i},e.exports=new s},{}],237:[function(t,e,i){"use strict";function n(t,e){e=a(e)||{},e.itemType=e.itemType||f,this._itemsPerSlide=e.itemsPerSlide||1;var i=e.deeplink!==!1;if(e.deeplink=!1,this._slideDuration=void 0!==e.duration?e.duration:v,e.toggleNavDuration=void 0===e.toggleNavDuration?this._slideDuration:e.toggleNavDuration,this._itemCenterPoint=void 0!==e.itemCenterPoint?e.itemCenterPoint:g,this._edgePullResistance=e.edgePullResistance?e.edgePullResistance:b,this._slideOptions={ease:e.ease},e.resizeContainerOnUpdate===!0&&(e.resizeContainerOnUpdate=this._slideDuration),e.touch=e.touch!==!1,this._originalWrapAround=e.wrapAround||!1,d.call(this,t,e),i){var n=this._getDeeplinkedItem();n&&this._currentItem!==n&&(this._currentItem.hide(),this._setCurrentItem(n),this._currentItem.show())}this._positionItems=this._positionItems.bind(this),this._createContainer(),0!==this._items.length&&this._positionItems(),this._isInstantiated=!0}var r=t("@marcom/ac-classlist"),s=t("@marcom/ac-dom-styles"),o=t("@marcom/ac-dom-traversal/querySelectorAll"),a=t("@marcom/ac-object/clone"),c=t("@marcom/ac-object/create"),l=t("./../helpers/getElementFullWidth"),h=t("@marcom/ac-solar/moveX"),u=t("./../helpers/selectElementFromDataAttributeValue"),m=t("./../helpers/selectElementThatHasDataAttribute"),d=t("./../auto/AutoGallery"),p=t("@marcom/ac-pointer-tracker").PointerTracker,f=t("./SlideItem"),_=t("./SlideItemWrapper"),g=.5,v=.5,b=!0;n.RESIZED=d.RESIZED,n.UPDATE=d.UPDATE,n.UPDATE_COMPLETE=d.UPDATE_COMPLETE;var y=d.prototype,E=n.prototype=c(y);E.addItem=function(t,e){t.nodeType&&(t=new this._itemType(t));var i=y.addItem.call(this,t,e);return void 0!==this._containerEl&&(this._addItemToContainer(t),this._positionItems()),this._updateWrapAround(),i},E.removeItem=function(t,e){if(this._containerEl&&t.getElement().parentElement===this._containerEl){var i=t.getOriginalParentElement();i?i.appendChild(t.getElement()):"function"==typeof t.removeItems&&(t.removeItems(),e.destroyItem=!0);var n=y.removeItem.call(this,t,e);return this._currentItem&&this._positionItems(this._currentItem),this._updateWrapAround(),n}return y.removeItem.call(this,t,e)},E.resize=function(){return this._positionItems(),this._snapToPosition(this._currentItem.position()),y.resize.call(this)},E.destroy=function(t){this._destroyCurrentClip(),this._clip=null;for(var e=this._items.length;e--;)this._items[e].off(f.CENTER_POINT_CHANGED,this._positionItems);this._touchSwipe&&(this._touchSwipe.off(p.START,this._onSwipeStart),this._touchSwipe.off(p.UPDATE,this._onSwipeUpdate)),this._clickSwipe&&(this._clickSwipe.off(p.START,this._onSwipeStart),this._clickSwipe.off(p.UPDATE,this._onSwipeUpdate));var i=this._el,n=y.destroy.call(this,t);return i.removeChild(this._containerEl),this._containerEl=null,this._slideDuration=null,this._itemCenterPoint=null,this._positionItems=null,this._slideOptions=null,n},E._addItems=function(t){if(this._itemsPerSlide>1){var e,i=/(^\[).*(\]$)/.test(t);e=i?m(t.replace(/\[|\]/g,""),this._el):o(t,this._el);var n,r,s,a=0,c=0,l=e.length;for(c;c<l;c++)0===a&&(n=new _),n.addItem(e[c]),s=e[c].getAttribute("id"),s&&(r=u("data-ac-gallery-trigger",s),this._addItemTriggers(n,r)),++a!==this._itemsPerSlide&&c!==l-1||(a=0,n.resize(),this.addItem(n))}else y._addItems.call(this,t)},E._createContainer=function(){this._containerEl=document.createElement("div"),r.add(this._containerEl,"ac-gallery-slidecontainer"),s.setStyle(this._containerEl,{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}),this._el.appendChild(this._containerEl);var t=0,e=this._items.length;for(t;t<e;t++)this._addItemToContainer(this._items[t])},E._addItemToContainer=function(t){this._containerEl.appendChild(t.getElement()),t.on(f.CENTER_POINT_CHANGED,this._positionItems)},E._positionItems=function(t){t=t||this._currentItem;var e=this._items;this._wrapAround&&(e=this._shuffleItems());var i,n,r,o,a,c=this._getActualPositionX()-t.position()||0,h=parseInt(s.getStyle(this._el,"width").width,10),u=0,m=0,d=e.length;for(m;m<d;m++)i=e[m],i.resize(),n=i.getElement(),s.setStyle(n,{left:u+"px"}),r=l(n),o=h-r,a=i.centerPoint&&null!==i.centerPoint()?i.centerPoint():this._itemCenterPoint,i.position(u*-1+o*a),this._isRightToLeft?u-=r:u+=r;u=t.position()+c,this._snapToPosition(u)},E._getActualPositionX=function(){var t=s.getStyle(this._containerEl,"transform").transform;if(!t||"none"===t){var e=s.getStyle(this._containerEl,"left").left;return parseInt(e,10)}if(t===this._transformStyles&&void 0!==this._actualPositionX)return this._actualPositionX;this._transformStyles=t;var i=this._transformStyles.split(",");return this._actualPositionX=i[4]||this._currentItem.position(),1*this._actualPositionX},E._snapToPosition=function(t){this._destroyCurrentClip(),this._positionX=t,s.setStyle(this._containerEl,{transition:"transform 0s, left 0s"}),h(this._containerEl,t,0,this._slideOptions)},E._slideToPosition=function(t,e,i){this._positionX=t,this._clip=h(this._containerEl,t,e,{ease:this._slideOptions.ease,onComplete:i})},E._setUpSwiping=function(t,e){var i=y._setUpSwiping.call(this,t,e);return this._onSwipeStart=this._onSwipeStart.bind(this),this._onSwipeUpdate=this._onSwipeUpdate.bind(this),this._touchSwipe&&(this._touchSwipe.on(p.START,this._onSwipeStart),this._touchSwipe.on(p.UPDATE,this._onSwipeUpdate)),this._clickSwipe&&(this._clickSwipe.on(p.START,this._onSwipeStart),this._clickSwipe.on(p.UPDATE,this._onSwipeUpdate)),i},E._onSwipeStart=function(t){this._clip&&this._clip.playing()&&(this._destroyCurrentClip(),this._positionX=this._getActualPositionX())},E._onSwipeUpdate=function(t){this._destroyCurrentClip();var e=this.getItems().slice(-1)[0].position(),i=this._positionX>0||this._positionX<e,n=t.diffX;this._edgePullResistance&&!this._wrapAround&&i&&(n*=.5),this._snapToPosition(this._positionX-n)},E._onSwipeEnd=function(t){var e=y._onSwipeEnd.call(this,t);return null===e&&(e=this.show(this._currentItem,{interactionEvent:t.interactionEvent})),e},E._shuffleItems=function(){var t=2===this._items.length&&!this._isAutoPlaying;if(t)return this._items.slice();var e,i,n,r=this._items.length,s=this._items.indexOf(this._currentItem),o=Math.floor(.5*r);if(s<o){e=o-s;var a=r-e;return i=this._items.slice(a),n=this._items.slice(0,a),i.concat(n)}return s>o?(e=s-o,i=this._items.slice(0,e),n=this._items.slice(e),n.concat(i)):this._items},E._updateItems=function(t,e){if(this._destroyCurrentClip(),this._wrapAround&&this._positionItems(t.outgoing[0]),this.getItemIndex(t.outgoing[0])>-1){var i=e?null:this.trigger.bind(this,n.UPDATE_COMPLETE,t),r=this._slideDuration;this._slideToPosition(t.incoming[0].position(),r,i),t.incoming[0]!==t.outgoing[0]&&(t.incoming[0].show(),t.outgoing[0].hide())}else this._slideToPosition(this._currentItem.position(),this._slideDuration),t.incoming[0].show(),e||this.trigger(n.UPDATE_COMPLETE,t)},E._updateWrapAround=function(){this._items.length<=2?this._wrapAround=!1:this._originalWrapAround&&(this._wrapAround=this._originalWrapAround),this._isInstantiated&&(this._previousButtons||this._nextButtons)&&this._updatePaddleNavState()},E._destroyCurrentClip=function(){this._clip&&this._clip.playing()&&this._clip.destroy()},e.exports=n},{"./../auto/AutoGallery":224,"./../helpers/getElementFullWidth":230,"./../helpers/selectElementFromDataAttributeValue":232,"./../helpers/selectElementThatHasDataAttribute":233,"./SlideItem":238,"./SlideItemWrapper":239,"@marcom/ac-classlist":32,"@marcom/ac-dom-styles":117,"@marcom/ac-dom-traversal/querySelectorAll":126,
"@marcom/ac-object/clone":283,"@marcom/ac-object/create":284,"@marcom/ac-pointer-tracker":298,"@marcom/ac-solar/moveX":336}],238:[function(t,e,i){"use strict";function n(t,e){o.call(this,t,e),r(t,{position:"absolute",transform:{translateZ:0}}),this._parentElement=t.parentElement}var r=t("@marcom/ac-dom-styles/setStyle"),s=t("@marcom/ac-object/create"),o=t("./../Item");n.CENTER_POINT_CHANGED="centerpointchanged",n.SELECTED=o.SELECTED,n.SHOW=o.SHOW,n.HIDE=o.HIDE;var a=o.prototype,c=n.prototype=s(a);c.position=function(t){return void 0!==t&&(this._position=t),this._position||0},c.centerPoint=function(t){return void 0!==t&&(this._centerPoint=t,this.trigger(n.CENTER_POINT_CHANGED)),void 0!==this._centerPoint?this._centerPoint:null},c.getOriginalParentElement=function(){return this._parentElement},c.resize=function(){},c.destroy=function(){r(this._el,{position:null,left:null,transform:null}),a.destroy.call(this)},e.exports=n},{"./../Item":221,"@marcom/ac-dom-styles/setStyle":120,"@marcom/ac-object/create":284}],239:[function(t,e,i){"use strict";function n(){h.call(this,document.createElement("div")),this._items=[],this._currentWidth=0,r.add(this._el,u)}var r=t("@marcom/ac-classlist"),s=t("@marcom/ac-dom-styles/setStyle"),o=t("@marcom/ac-dom-traversal/querySelectorAll"),a=t("@marcom/ac-object/create"),c=t("./../singletons/tabManager"),l=t("./../helpers/getElementFullWidth"),h=t("./SlideItem"),u="ac-gallery-slideitemwrapper",m=h.prototype,d=n.prototype=a(m);d.addItem=function(t){this._items.push({el:t,parentElement:t.parentElement}),this._el.appendChild(t);var e=t.getAttribute("id");if(e){var i=this._el.getAttribute("id")||"",n=i.length?"-":"";i+=n+e,this._el.setAttribute("id",i)}this._focusableEls=this._focusableEls.concat(o(c.focusableSelectors,t))},d.removeItems=function(){var t,e,i=0,n=this._items.length;for(i;i<n;i++)t=this._items[i].el,s(t,{position:null,left:null}),e=this._items[i].parentElement,e&&e.appendChild(t)},d.resize=function(){this._currentWidth=0;var t,e=0,i=this._items.length;for(e;e<i;e++)t=this._items[e].el,s(t,{position:"absolute",left:this._currentWidth+"px"}),this._currentWidth+=l(t);s(this._el,{width:this._currentWidth+"px"})},d.destroy=function(){this.removeItems(),this._items=null,this._currentWidth=null;var t=this._el.parentElement;t&&t.removeChild(this._el),m.destroy.call(this)},e.exports=n},{"./../helpers/getElementFullWidth":230,"./../singletons/tabManager":236,"./SlideItem":238,"@marcom/ac-classlist":32,"@marcom/ac-dom-styles/setStyle":120,"@marcom/ac-dom-traversal/querySelectorAll":126,"@marcom/ac-object/create":284}],240:[function(t,e,i){"use strict";var n="";n+='<nav class="paddlenav">',n+="<ul>",n+='<li><button class="paddlenav-arrow paddlenav-arrow-previous" data-ac-gallery-previous-trigger="%ID%"></button></li>',n+='<li><button class="paddlenav-arrow paddlenav-arrow-next" data-ac-gallery-next-trigger="%ID%"></button></li>',n+="</ul>",n+="</nav>",e.exports=n},{}],241:[function(t,e,i){"use strict";function n(t,e,i,n,s,a,c){if(this.name="EngagedElementComponent_"+c,r.call(this,t,e,i,n,s,a,c),this.timeToEngage=300,this.inViewThreshold=.75,this.element.hasAttribute(o.ELEMENT_ENGAGEMENT))try{this._overwriteElementEngagementProps()}catch(l){console.error("EngagedElementAnimationComponent::_overwriteElementEngagementProps bad JSON in data-attribute!",l)}this.trackedElement=this.section.elementEngagement.addElement(this.element,{timeToEngage:this.timeToEngage,inViewThreshold:this.inViewThreshold})}var r=t("@marcom/ac-jetpack-lib/core/BaseComponent"),s=r.prototype,o={ELEMENT_ENGAGEMENT:"data-engaged"},a=n.prototype=Object.create(r.prototype);n.prototype.constructor=n,a.setupEvents=function(){s.setupEvents.call(this),this._onElementEngaged=this._onElementEngaged.bind(this),this.trackedElement.once("engaged",this._onElementEngaged)},a._onElementEngaged=function(t){this.element.classList.add("engaged")},a._overwriteElementEngagementProps=function(){var t=this.element.getAttribute(o.ELEMENT_ENGAGEMENT),e=JSON.parse(t);this.timeToEngage=void 0===e.timeToEngage?this.timeToEngage:parseFloat(e.timeToEngage),this.inViewThreshold=void 0===e.inViewThreshold?this.inViewThreshold:parseFloat(e.inViewThreshold)},e.exports=n},{"@marcom/ac-jetpack-lib/core/BaseComponent":248}],242:[function(t,e,i){"use strict";function n(t,e,i,n,s,o,a){this.name="GalleryComponent_"+a,r.call(this,t,e,i,n,s,o,a),this.galleryOptions={},this._normalizeGalleryOptions(),this._createGalleryForViewport(n)}var r=t("@marcom/ac-jetpack-lib/core/BaseComponent"),s=r.prototype,o=t("@marcom/ac-gallery").SlideGallery,a=t("@marcom/ac-gallery").FadeGallery,c=["xlarge","large","medium","small"],l={GALLERY:"data-gallery"},h=n.prototype=Object.create(r.prototype);n.prototype.constructor=n,h._normalizeGalleryOptions=function(){for(var t,e={},i={type:"stacked"},n=0;n<c.length;n++){var r=c[n],s=l.GALLERY+"-"+r,o=this.element.getAttribute(s);null===o&&(t=i,e[r]=!0),"string"==typeof o&&(t=JSON.parse(o));for(var a in i)t.hasOwnProperty(a)||(t[a]=i[a]);i=t,this._saveGalleryOptionDataForViewport(r,t)}e.xlarge&&!e.large&&(this.galleryOptions.xlarge=this.galleryOptions.large)},h._saveGalleryOptionDataForViewport=function(t,e){var i=Object.assign({},e);this.galleryOptions[t]={},this.galleryOptions[t].type=i.type,delete i.type,this.galleryOptions[t].options=i},h._createGalleryForViewport=function(t){this.galleryObject&&(this.galleryObject.destroy(),this.galleryObject=null);var e=this.galleryOptions[t];switch(e.type){case"stacked":this.element.classList.add("gallery-stacked");break;case"fade":this.element.classList.remove("gallery-stacked"),this.galleryObject=new a(this.element,e.options);break;case"slide":this.element.classList.remove("gallery-stacked"),this.galleryObject=new o(this.element,e.options);break;default:console.error("Invalid gallery type. Vaild GalleryComponent types are fade, slide, or stacked.")}},h._galleryOptionsAreEqualForViewports=function(t,e){var i=JSON.stringify(this.galleryOptions[t]),n=JSON.stringify(this.galleryOptions[e]);return i===n},h.onBreakpoint=function(t,e,i,n){s.onBreakpoint.call(this,t,e,i,n),this._galleryOptionsAreEqualForViewports(t,e)||this._createGalleryForViewport(t)},e.exports=n},{"@marcom/ac-gallery":222,"@marcom/ac-jetpack-lib/core/BaseComponent":248}],243:[function(t,e,i){"use strict";function n(t,e,i,n,s,o,a){this.name="ScrollAnimationComponent_"+a,r.call(this,t,e,i,n,s,o,a),this.options={},this.normalizeOptions(),this.initializeScrollAnimation(o,n)}t("@marcom/ac-polyfills/Object/create");var r=t("@marcom/ac-jetpack-lib/core/BaseComponent"),s=r.prototype,o=t("@marcom/ac-scroll-animation/ScrollAnimation"),a=["xlarge","large","medium","small"],c=n.prototype=Object.create(r.prototype);n.prototype.constructor=n;var l="data-scroll-animation";c.normalizeOptions=function(){for(var t,e={},i={},n=0;n<a.length;n++){var r=a[n],s=l+"-"+r,o=this.element.getAttribute(s),c=this.element.getAttribute(l);null!==c&&(o=c),null===o&&(t=i,e[r]=!0),"string"==typeof o&&(t=JSON.parse(o));for(var h in i)t.hasOwnProperty(h)||(t[h]=i[h]);i=t,this._saveOptionDataForViewport(r,t)}e.xlarge&&!e.large&&(this.options.xlarge=this.options.large)},c._saveOptionDataForViewport=function(t,e){var i=Object.assign({},e);this.options[t]={options:i}},c.initializeScrollAnimation=function(t,e){this.scrollAnimation&&(this.scrollAnimation.destroy(),this.scrollAnimation=null);var i=this.options[e];i.options.overrideScroll=!0,i.options.disabled?this.element.removeAttribute("style"):this.scrollAnimation=new o(this.element,i.options)},c.onScroll=function(t,e,i){this.scrollAnimation&&this.scrollAnimation.scrollMotionEmitter.handleScroll(e)},c._optionsAreEqualForViewports=function(t,e){var i=JSON.stringify(this.options[t]),n=JSON.stringify(this.options[e]);return i===n},c.onBreakpoint=function(t,e,i,n){s.onBreakpoint.call(this,t,e,i,n),this.initializeScrollAnimation(n,t)},e.exports=n},{"@marcom/ac-jetpack-lib/core/BaseComponent":248,"@marcom/ac-polyfills/Object/create":void 0,"@marcom/ac-scroll-animation/ScrollAnimation":328}],244:[function(t,e,i){arguments[4][163][0].apply(i,arguments)},{dup:163}],245:[function(t,e,i){arguments[4][164][0].apply(i,arguments)},{"./getDimensions":244,"./getScrollX":246,"./getScrollY":247,dup:164}],246:[function(t,e,i){arguments[4][165][0].apply(i,arguments)},{dup:165}],247:[function(t,e,i){arguments[4][166][0].apply(i,arguments)},{dup:166}],248:[function(t,e,i){"use strict";function n(t,e,i,n,r,o,a){if(7!==arguments.length)throw new Error("Incorrect number of arguments passed to BaseComponent check the constructor or BaseComponent.call method - argument's should be (section, componentElement, componentName, currentBreakpoint, scrollPosition, windowHeight, index)");s.call(this),this.section=t,this.element=e,this.componentName=i,this.index=a,this.isEnabled=!0}t("@marcom/ac-polyfills/Object/create");var r=t("@marcom/ac-raf-emitter/RAFEmitter"),s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=s.prototype,a=n.prototype=Object.create(s.prototype);n.prototype.constructor=n,a.destroy=function(){this.teardownEvents(),this.teardownRAFEmitter(),this.section=null,o.destroy.call(this)},a.setupEvents=function(){},a.teardownEvents=function(){},a.setupRAFEmitter=function(){this._rafEmitter||(this._rafEmitter=new r,this.onDOMRead=this.onDOMRead.bind(this),this.onDOMWrite=this.onDOMWrite.bind(this),this._rafEmitter.on("update",this.onDOMRead),this._rafEmitter.on("draw",this.onDOMWrite))},a.teardownRAFEmitter=function(){this._rafEmitter&&(this._rafEmitter.destroy(),this._rafEmitter=null)},a.parsePropsFromDataAttribute=function(t,e,i){i=i||this.element,e=e||{},t="data-"+t;var n=i.getAttribute(t)||"{}",r=null;try{r=JSON.parse(n)}catch(s){throw new Error(this.componentName+"::parsePropsFromDataAttribute bad JSON in `"+t+"`",s)}var o={};for(var a in e)if(o[a]=r[a],!r.hasOwnProperty(a)){if(null===e[a])throw new Error(this.componentName+"::parsePropsFromDataAttribute `"+a+"` is required in `"+t+"`");o[a]=e[a]}return o},a.onSectionWillAppearWithPadding=function(t,e){},a.onSectionWillAppear=function(t,e){},a.activate=function(){},a.animateIn=function(){},a.requestDOMChange=function(){return!(!this.isEnabled||!this.section.isVisible)&&(this._rafEmitter||this.setupRAFEmitter(),this._rafEmitter.run())},a.onDOMRead=function(t){},a.onDOMWrite=function(t){},a.deactivate=function(){},a.onScroll=function(t,e,i){},a.onSectionWillDisappearWithPadding=function(t,e){},a.onSectionWillDisappear=function(t,e){},a.onResizeDebounced=function(t,e,i){},a.onResizeImmediate=function(t,e,i){},a.onOrientationChange=function(t,e,i,n){},a.onBreakpoint=function(t,e,i,n){},a.onRetinaChange=function(t,e,i,n){},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-polyfills/Object/create":void 0,"@marcom/ac-raf-emitter/RAFEmitter":320}],249:[function(t,e,i){"use strict";function n(t){l.init(),o.setPage(this),this.name=this.name||"[NOT SET]",this._mainEl=t||document.querySelector("main,.main"),this._sections=[],this._visibleSections=[],this._visibleSectionsWithPadding=[],this._elementTracker=new r(null,{autoStart:!0}),this._currentSection=null,this._sectionUnderLocalNav=null,this._currentBreakpoint=s.viewport,this.isRetina=s.retina,this._cachedScrollY=this._getScrollY(!0),this._cachedWindowHeight=this.getWindowHeight(!0),this._resizeTimeout=-1,this._resizeTimeoutDelay=this._resizeTimeoutDelay||250,this.setupSections(),this.setupEvents(),this._updateSectionVisibility()}t("@marcom/ac-polyfills/console.log");var r=t("@marcom/ac-element-tracker").ElementTracker,s=t("@marcom/viewport-emitter");s.viewport||(console.log("Jetpack Error: Required module `viewport-emitter` not initialized properly (missing required css styles). Please see `viewport-emitter` documentation.\n\tBreakpoint will always be 'large' and no `onBreakPoint` events will be fired"),s=t("../utils/ViewportEmitterStub")());var o=t("../utils/Page"),a=t("../model/SectionMap"),c=t("../model/DataAttributes"),l=t("../model/EnabledFeatures"),h=n.prototype;h.destroy=function(){for(var t=0,e=this._sections.length;t<e;t++)this._sections[t].destroy();this.teardownEvents(),this._elementTracker.destroy(),this._elementTracker=null,this._sections=null,this._currentSection=null,this._sectionUnderLocalNav=null,this._visibleSections=null,this._mainEl=null,o.removePage(this)},h.setupEvents=function(){this._onScroll=this._onScroll.bind(this),this._onBreakpoint=this._onBreakpoint.bind(this),this._onRetinaChange=this._onRetinaChange.bind(this),this._onPageDidAppear=this._onPageDidAppear.bind(this),this._onResizeImmediate=this._onResizeImmediate.bind(this),this._onOrientationChange=this._onOrientationChange.bind(this),this._onPageWillDisappear=this._onPageWillDisappear.bind(this),this.performDeepMetricsRefresh=this.performDeepMetricsRefresh.bind(this),window.addEventListener("scroll",this._onScroll),window.addEventListener("resize",this._onResizeImmediate),window.addEventListener("orientationchange",this._onOrientationChange),s.element.addEventListener("change:viewport",this._onBreakpoint),s.element.addEventListener("change:retina",this._onRetinaChange),o.on(o.DEEP_REFRESH_ALL_METRICS,this.performDeepMetricsRefresh)},h.teardownEvents=function(){window.removeEventListener("scroll",this._onScroll),window.removeEventListener("resize",this._onResizeImmediate),window.removeEventListener("orientationchange",this._onOrientationChange),s.element.removeEventListener("change:viewport",this._onBreakpoint),s.element.removeEventListener("change:retina",this._onRetinaChange),o.off(o.DEEP_REFRESH_ALL_METRICS,this.performDeepMetricsRefresh),this._elementTracker.stop(),clearTimeout(this._resizeTimeout)},h.setupSections=function(){for(var t=this._mainEl.querySelectorAll("section,.section,[data-section-type]"),e=0,i=t.length;e<i;e++)if(t[e].parentElement===this._mainEl){var n=t[e];this._addSectionImp(n)}else console.warn("BasePage::addSection - Jetpack does not support nested BaseSections, consider using a component instead.",t[e])},h.addSection=function(t){var e=this.getBaseSectionForElement(t);return e?e:(e=this._addSectionImp(t),this._updateSectionVisibility(),e)},h.removeSection=function(t){var e=t instanceof a.BaseSection,i=e?t:this.getBaseSectionForElement(t);return i&&this._sections.splice(this._sections.indexOf(i),1),this._updateSectionVisibility(),i},h._addSectionImp=function(t){if(t.parentNode!==this._mainEl&&this._isNestedSection(t))return console.warn("BasePage::addSection - Jetpack does not support nested BaseSections, consider using a component instead.",t),null;var e=this._elementTracker.addElement(t);this._elementTracker.refreshElementState(e);var i=t.hasAttribute(c.SECTION_TYPE)?t.getAttribute(c.SECTION_TYPE):"BaseSection";if(""===i&&(i="BaseSection"),!a.hasOwnProperty(i))throw"BasePage::setupSections parsing '#"+t.id+" ."+t.className+"' no section type '"+i+"'found!";var n=a[i],r=new n(t,e,this._getCurrentBreakpoint(),this._getScrollY(),this.getWindowHeight(),this._sections.length);return r.setupEvents(),this._sections.push(r),r},h.getWindowHeight=function(t){return t&&(this._cachedWindowHeight=window.innerHeight),this._cachedWindowHeight},h._activateSection=function(t){this._currentSection!==t&&(this._currentSection&&this._currentSection.deactivate(),this._currentSection=t,this._currentSection.activate())},h._updateSectionVisibility=function(){for(var t=this._getScrollY(),e=this.getWindowHeight(),i=o.getViewportPadding(),n=[],r=this._sections[0],s=[],a=0,c=[],l=t-i,h=t+e+i,u=0,m=this._sections.length;u<m;u++){var d=this._sections[u],p=d.trackedElement,f=p.pixelsInView;d.isFixedHero&&(f=e-t),f>a&&(r=d,a=f),f>1e-6?(n.push(d),s.push(d),c.push(d)):h>p.top&&l<p.bottom&&(n.push(d),c.push(d))}var _={},g={};for(u=0,m=Math.max(this._visibleSections.length,n.length);u<m;u++)this._visibleSectionsWithPadding[u]&&("undefined"==typeof _[u]&&(_[u]=c.indexOf(this._visibleSectionsWithPadding[u])===-1),_[u]&&this._visibleSectionsWithPadding[u].onSectionWillDisappearWithPadding(t,e)),this._visibleSections[u]&&s.indexOf(this._visibleSections[u])===-1&&this._visibleSections[u].onSectionWillDisappear(t,e),c[u]&&("undefined"==typeof g[u]&&(g[u]=this._visibleSectionsWithPadding.indexOf(c[u])===-1),g[u]&&c[u].onSectionWillAppearWithPadding(t,e)),s[u]&&this._visibleSections.indexOf(s[u])===-1&&s[u].onSectionWillAppear(t,e);this._visibleSections=s,this._visibleSectionsWithPadding=c,this._activateSection(r)},h._onPageDidAppear=function(t){},h._onPageWillDisappear=function(t){this.destroy()},h._onBreakpoint=function(t){var e=t.detail.to,i=t.detail.from;this._currentBreakpoint=e;var n=this._getScrollY(),r=this.getWindowHeight();this._elementTracker.refreshAllElementMetrics(n,r);for(var s=0,o=this._sections.length;s<o;s++)this._sections[s].onBreakpoint(e,i,n,r);this.performDeepMetricsRefresh()},h._onRetinaChange=function(t){var e=this._getScrollY(!0),i=this.getWindowHeight(!0);this.isRetina=s.retina;var n=this._currentBreakpoint;this._elementTracker.refreshAllElementMetrics(e,i);for(var r=0,o=this._sections.length;r<o;r++)this._sections[r].onRetinaChange(this.isRetina,n,e,i)},h._onScroll=function(t){var e=this._getScrollY(!0),i=this.getWindowHeight();this._updateSectionVisibility();for(var n=0,r=this._visibleSections.length;n<r;n++)this._visibleSections[n].onScroll(t,e,i)},h._onResizeDebounced=function(t){for(var e=this._getScrollY(),i=this.getWindowHeight(),n=!1,r=0,s=this._sections.length;r<s;r++)!n&&this._sections[r].onResize&&(console.warn("Jetpack: onResize has been removed please use `onResizeImmediate` or `onResizeDebounced` instead."),n=!0),this._sections[r].onResizeDebounced(t,e,i);this._updateSectionVisibility()},h.performDeepMetricsRefresh=function(){var t=this._getScrollY(),e=this.getWindowHeight();this._elementTracker.refreshAllElementMetrics(t,e);for(var i=0,n=this._sections.length;i<n;i++)this._sections[i].elementEngagement.refreshAllElementMetrics(t,e),this._sections[i].updateScrollToPosition();this._updateSectionVisibility()},h._onOrientationChange=function(t){for(var e=this._getScrollY(!0),i=this.getWindowHeight(!0),n=t.orientation,r=0,s=this._sections.length;r<s;r++)this._sections[r].onOrientationChange(t,n,e,i)},h._onResizeImmediate=function(t){for(var e=this._getScrollY(),i=this.getWindowHeight(!0),n=!1,r=0,s=this._sections.length;r<s;r++)!n&&this._sections[r].onResizeWillBeCalledAfterDelay&&(console.warn("Jetpack: onResizeWillBeCalledAfterDelay has been removed please use `onResizeImmediate` or `onResizeDebounced` instead."),n=!0),this._sections[r].onResizeImmediate(t,e,i);window.clearTimeout(this._resizeTimeout),this._resizeTimeout=window.setTimeout(this._onResizeDebounced.bind(this,t),this._resizeTimeoutDelay)},h._getScrollY=function(t){return t&&(this._cachedScrollY=window.pageYOffset||(document.documentElement||document.body).scrollTop),this._cachedScrollY},h._getVisibleBottomOfPage=function(){return this._getScrollY()+this.getWindowHeight()},h._getCurrentBreakpoint=function(){return this._currentBreakpoint},h._isNestedSection=function(t){for(var e=t,i=this._sections.length;e=e.parentElement;)for(var n=0;n<i;n++)if(this._sections[n].element===e)return!0;return!1},h.getBaseSectionForElement=function(t){for(var e=0,i=this._sections.length;e<i;e++)if(this._sections[e].element===t)return this._sections[e];return null},e.exports=n},{"../model/DataAttributes":252,"../model/EnabledFeatures":253,"../model/SectionMap":254,"../utils/Page":255,"../utils/ViewportEmitterStub":256,"@marcom/ac-element-tracker":167,"@marcom/ac-polyfills/console.log":void 0,"@marcom/viewport-emitter":386}],250:[function(t,e,i){"use strict";function n(t,e,i,n,r,s){if(6!==arguments.length)throw new Error("Incorrect number of arguments passed to BaseSection");l.call(this),this.element=t,this.trackedElement=e,this.elementEngagement=new o(null,{autoStart:!1}),this.index=s,this.isVisible=this.trackedElement.pixelsInView>0,this.isVisibleWithPadding=!1,this.hasAnimatedIn=!1,this.isActive=!1,this.isFixedHero=!1,this.cachedBreakpoint=i,this.cachedScrollPosition=n,this.cachedWindowHeight=r,this.name=this.name||this.element.className,this.scrollToPosition=0,this.updateScrollToPosition(),this._components=[],this.setupComponents(i,n,r),this.setIsFixedHero(),this.performDeprecatedMethodCheck()}t("@marcom/ac-polyfills/Object/create"),t("@marcom/ac-polyfills/console.log");var r={},s={getPagePosition:t("@marcom/ac-dom-metrics/getPagePosition")},o=t("@marcom/ac-element-engagement").ElementEngagement,a=t("./../model/DataAttributes"),c=t("./../model/ComponentMap"),l=(t("./BaseComponent"),t("@marcom/ac-event-emitter-micro").EventEmitterMicro),h=l.prototype,u=n.prototype=Object.create(l.prototype);n.prototype.constructor=n,u.performDeprecatedMethodCheck=function(){if(this.onViewWillAppear)throw new Error("Section.onViewWillAppear is now `onSectionWillAppear`, please update your BaseSection subclass");if(this.onViewWillDisappear)throw new Error("Section.onViewWillDisappear is now `onSectionWillDisappear`, please update your BaseSection subclass");return!0},u.destroy=function(){this.teardownEvents(),this.elementEngagement.stop(),this.elementEngagement=null;for(var t=0,e=this._components.length;t<e;t++)this._components[t].destroy();this._components=null,this.trackedElement=null,this.element=null,h.destroy.call(this)},u.setupEvents=function(){for(var t=0,e=this._components.length;t<e;t++)this._components[t].setupEvents()},u.teardownEvents=function(){for(var t=0,e=this._components.length;t<e;t++)this._components[t].teardownEvents()},u.setupComponents=function(){var t=Array.prototype.slice.call(this.element.querySelectorAll("["+a.COMPONENT_LIST+"]"));this.element.hasAttribute(a.COMPONENT_LIST)&&t.push(this.element);for(var e=0;e<t.length;e++){var i=t[e],n=i.getAttribute(a.COMPONENT_LIST);if(n.indexOf("|")!==-1)throw"BaseSection::setupComponents component list should be space delimited, pipe character is no longer supported. Error at: '"+n+"'";for(var r=n.split(" "),s=0,o=r.length;s<o;s++){var c=r[s];""!==c&&" "!==c&&this.addComponentOfType(c,i)}setTimeout(this.elementEngagement.refreshAllElementStates.bind(this.elementEngagement),100)}},u.addComponentOfType=function(t,e){if(!c.hasOwnProperty(t))throw"BaseSection::setupComponents parsing '#"+e.id+" ."+e.className+"' no component type '"+t+"'found!";var i=c[t];if(!this.componentIsSupported(i,t))return void(void 0===r[t]&&(console.log("BaseSection::setupComponents unsupported component '"+t+"'. Reason: '"+t+".IS_SUPPORTED' returned false"),r[t]=!0));var n=new i(this,e,t,this.cachedBreakpoint,this.cachedScrollPosition,this.cachedWindowHeight,this._components.length);return this._components.push(n),n},u.removeComponentOfType=function(t){var e=this.getComponentOfType(t);null!==e&&this.removeComponent(e)},u.removeComponent=function(t){var e=this._components.indexOf(t);e!==-1&&(this._components.splice(e,1),t.destroy())},u.activate=function(){for(var t=0,e=this._components.length;t<e;t++)this._components[t].isEnabled&&this._components[t].activate();this.isActive=!0,this.hasAnimatedIn||(this.animateIn(),this.hasAnimatedIn=!0)},u.deactivate=function(){this.isActive=!1;for(var t=0,e=this._components.length;t<e;t++)this._components[t].isEnabled&&this._components[t].deactivate()},u.animateIn=function(){for(var t=0,e=this._components.length;t<e;t++)this._components[t].isEnabled&&this._components[t].animateIn()},u.onResizeImmediate=function(t,e,i){this.cachedScrollPosition=e,this.cachedWindowHeight=i;for(var n=!1,r=0,s=this._components.length;r<s;r++)this._components[r].isEnabled&&(!n&&this._components[r].onResizeWillBeCalledAfterDelay&&(console.warn("Jetpack: onResizeWillBeCalledAfterDelay has been removed please use `onResizeImmediate` or `onResizeDebounced` instead."),n=!0),this._components[r].onResizeImmediate(t,e,i))},u.onResizeDebounced=function(t,e,i){this.updateScrollToPosition();for(var n=!1,r=0,s=this._components.length;r<s;r++)this._components[r].isEnabled&&(!n&&this._components[r].onResize&&(console.warn("Jetpack: onResize has been removed please use `onResizeImmediate` or `onResizeDebounced` instead."),n=!0),this._components[r].onResizeDebounced(t,e,i));this.elementEngagement.refreshAllElementMetrics(e,i)},u.onBreakpoint=function(t,e,i,n){this.cachedBreakpoint=t;for(var r=0,s=this._components.length;r<s;r++)this._components[r].isEnabled&&this._components[r].onBreakpoint(t,e,i,n)},u.onRetinaChange=function(t,e,i,n){for(var r=0,s=this._components.length;r<s;r++)this._components[r].isEnabled&&this._components[r].onRetinaChange(t,e,i,n);this.elementEngagement.refreshAllElementMetrics(i,n)},u.onOrientationChange=function(t,e,i,n){this.cachedScrollPosition=i,this.cachedWindowHeight=n;for(var r=0,s=this._components.length;r<s;r++)this._components[r].isEnabled&&this._components[r].onOrientationChange(t,e,i,n)},u.onScroll=function(t,e,i){this.cachedScrollPosition=e,this.elementEngagement.refreshAllElementStates(e);for(var n=0,r=this._components.length;n<r;n++)this._components[n].isEnabled&&this._components[n].onScroll(t,e,i)},u.onSectionWillAppearWithPadding=function(t,e){this.cachedScrollPosition=t,this.isVisibleWithPadding=!0,this.elementEngagement.refreshAllElementStates(t);for(var i=0,n=this._components.length;i<n;i++)this._components[i].onSectionWillAppearWithPadding(t,e)},u.onSectionWillAppear=function(t,e){this.cachedScrollPosition=t,this.isVisible=!0,this.elementEngagement.refreshAllElementStates(t);for(var i=0,n=this._components.length;i<n;i++)this._components[i].onSectionWillAppear(t,e)},u.onSectionWillDisappearWithPadding=function(t,e){this.cachedScrollPosition=t,this.isVisibleWithPadding=!1;for(var i=0,n=this._components.length;i<n;i++)this._components[i].onSectionWillDisappearWithPadding(t,e)},u.onSectionWillDisappear=function(t,e){this.cachedScrollPosition=t,this.isVisible=!1;for(var i=0,n=this._components.length;i<n;i++)this._components[i].onSectionWillDisappear(t,e)},u.getComponentOfType=function(t){if(!c.hasOwnProperty(t))throw"BaseSection::getComponentOfType no component type '"+t+"' exist in ComponentMap!";for(var e=0,i=this._components.length;e<i;e++)if(this._components[e].componentName===t)return this._components[e];return null},u.getAllComponentsOfType=function(t){if(!c.hasOwnProperty(t))throw"BaseSection::getAllComponentsOfType no component type '"+t+"' exist in ComponentMap!";for(var e=[],i=0,n=this._components.length;i<n;i++)this._components[i].componentName===t&&e.push(this._components[i]);return e},u.updateScrollToPosition=function(){return this.scrollToPosition=s.getPagePosition(this.element).top},u.setIsFixedHero=function(){if(0!==this.index)this.isFixedHero=!1;else{var t=window.getComputedStyle(this.element);this.isFixedHero="fixed"===t.position}},n.prototype.componentIsSupported=function(t,e){var i=t.IS_SUPPORTED;if(void 0===i)return!0;if("function"!=typeof i)return console.error('BaseSection::setupComponents error in "'+e+'".IS_SUPPORTED - it should be a function which returns true/false'),!0;var n=t.IS_SUPPORTED();return void 0===n?(console.error('BaseSection::setupComponents error in "'+e+'".IS_SUPPORTED - it should be a function which returns true/false'),!0):n},e.exports=n},{"./../model/ComponentMap":251,"./../model/DataAttributes":252,"./BaseComponent":248,"@marcom/ac-dom-metrics/getPagePosition":245,"@marcom/ac-element-engagement":161,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-polyfills/Object/create":void 0,"@marcom/ac-polyfills/console.log":void 0}],251:[function(t,e,i){"use strict";e.exports={BaseComponent:t("../core/BaseComponent")}},{"../core/BaseComponent":248}],252:[function(t,e,i){"use strict";e.exports={PAGE_TYPE:"data-page-type",SECTION_TYPE:"data-section-type",JUMP_SECTION_NAME:"data-page-jump-name",COMPONENT_LIST:"data-component-list"}},{}],253:[function(t,e,i){"use strict";var n={isDesktop:t("@marcom/ac-feature/isDesktop"),isRetina:t("@marcom/ac-feature/isRetina"),threeDTransformsAvailable:t("@marcom/ac-feature/threeDTransformsAvailable"),prefersReducedMotion:t("@marcom/ac-feature/prefersReducedMotion")};e.exports={TOUCH:void 0,SVG:void 0,PAGE_JUMP:void 0,IS_DESKTOP:void 0,IS_RETINA:void 0,THREE_D_TRANSFORMS:void 0,REDUCED_MOTION:void 0,IS_AOW:void 0,init:function(){var t=document.getElementsByTagName("html")[0];this.TOUCH=t.classList.contains("touch"),this.SVG=t.classList.contains("svg"),this.PAGE_JUMP=t.classList.contains("pageJump"),this.IS_DESKTOP=n.isDesktop(),this.IS_RETINA=n.isRetina(),this.THREE_D_TRANSFORMS=n.threeDTransformsAvailable(),this.REDUCED_MOTION=n.prefersReducedMotion(),this.IS_AOW=t.classList.contains("aow")},extend:function(t){if(!t.hasOwnProperty("init")||"function"!=typeof t.init)throw new TypeError("The object extended Jetpack.model.EnabledFeatures must contain an init function");var e=this.init,i=t.init,n=Object.assign(this,t);return n.init=function(){this.HAS_INITIALIZED||(this.HAS_INITIALIZED=!0,e.call(n),i.call(n))},n},HAS_INITIALIZED:!1}},{"@marcom/ac-feature/isDesktop":184,"@marcom/ac-feature/isRetina":186,"@marcom/ac-feature/prefersReducedMotion":191,"@marcom/ac-feature/threeDTransformsAvailable":194}],254:[function(t,e,i){"use strict";e.exports={BaseSection:t("../core/BaseSection")}},{"../core/BaseSection":250}],255:[function(t,e,i){"use strict";function n(){r.call(this),this._page=null,this.viewportPaddingRatio=1}var r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s=n.prototype=Object.create(r.prototype);n.prototype.constructor=n,s.getPage=function(){return this._page},s.setPage=function(t){this._page=t},s.removePage=function(t){t===this._page&&(this._page=null)},s.getViewportPadding=function(){return this.getPage().getWindowHeight()*this.viewportPaddingRatio},s.deepRefreshAllElementMetrics=function(){this.trigger(n.prototype.DEEP_REFRESH_ALL_METRICS)},s.onPageHeightSettled=function(t,e){var i=document.documentElement.scrollHeight,n=0,e=e||30;window.requestAnimationFrame(function r(){var s=document.documentElement.scrollHeight;if(i!==s)n=0;else if(n++,n>=e)return void t();i=s,window.requestAnimationFrame(r)})},s.DEEP_REFRESH_ALL_METRICS="page.deep_refresh_all_metrics",e.exports=new n},{"@marcom/ac-event-emitter-micro":170}],256:[function(t,e,i){"use strict";e.exports=function(){var t;return window.ViewportEmitterTestProxy?t=window.ViewportEmitterTestProxy:(t={},t.viewport="large",t.on=t.off=function(){}),t}},{}],257:[function(t,e,i){"use strict";function n(t){this._keysDown={},this._DOMKeyDown=this._DOMKeyDown.bind(this),this._DOMKeyUp=this._DOMKeyUp.bind(this),this._context=t||document,s(this._context,l,this._DOMKeyDown,!0),s(this._context,h,this._DOMKeyUp,!0),r.call(this)}var r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s=t("@marcom/ac-dom-events/utils/addEventListener"),o=t("@marcom/ac-dom-events/utils/removeEventListener"),a=t("@marcom/ac-object/create"),c=t("./internal/KeyEvent"),l="keydown",h="keyup",u=n.prototype=a(r.prototype);u.onDown=function(t,e){return this.on(l+":"+t,e)},u.onceDown=function(t,e){return this.once(l+":"+t,e)},u.offDown=function(t,e){return this.off(l+":"+t,e)},u.onUp=function(t,e){return this.on(h+":"+t,e)},u.onceUp=function(t,e){return this.once(h+":"+t,e)},u.offUp=function(t,e){return this.off(h+":"+t,e)},u.isDown=function(t){return t+="",this._keysDown[t]||!1},u.isUp=function(t){return!this.isDown(t)},u.destroy=function(){return o(this._context,l,this._DOMKeyDown,!0),o(this._context,h,this._DOMKeyUp,!0),this._keysDown=null,this._context=null,r.prototype.destroy.call(this),this},u._DOMKeyDown=function(t){var e=this._normalizeKeyboardEvent(t),i=e.keyCode+="";this._trackKeyDown(i),this.trigger(l+":"+i,e)},u._DOMKeyUp=function(t){var e=this._normalizeKeyboardEvent(t),i=e.keyCode+="";this._trackKeyUp(i),this.trigger(h+":"+i,e)},u._normalizeKeyboardEvent=function(t){return new c(t)},u._trackKeyUp=function(t){this._keysDown[t]&&(this._keysDown[t]=!1)},u._trackKeyDown=function(t){this._keysDown[t]||(this._keysDown[t]=!0)},e.exports=n},{"./internal/KeyEvent":259,"@marcom/ac-dom-events/utils/addEventListener":75,"@marcom/ac-dom-events/utils/removeEventListener":77,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/create":284
}],258:[function(t,e,i){"use strict";var n=t("./Keyboard");e.exports=new n},{"./Keyboard":257}],259:[function(t,e,i){"use strict";function n(t){this.originalEvent=t;var e;for(e in t)r.indexOf(e)===-1&&"function"!=typeof t[e]&&(this[e]=t[e]);this.location=void 0!==this.originalEvent.location?this.originalEvent.location:this.originalEvent.keyLocation}var r=["keyLocation"];n.prototype={preventDefault:function(){return"function"!=typeof this.originalEvent.preventDefault?void(this.originalEvent.returnValue=!1):this.originalEvent.preventDefault()},stopPropagation:function(){return this.originalEvent.stopPropagation()}},e.exports=n},{}],260:[function(t,e,i){"use strict";e.exports={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CONTROL:17,ALT:18,COMMAND:91,CAPSLOCK:20,ESCAPE:27,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,NUMPAD_ZERO:96,NUMPAD_ONE:97,NUMPAD_TWO:98,NUMPAD_THREE:99,NUMPAD_FOUR:100,NUMPAD_FIVE:101,NUMPAD_SIX:102,NUMPAD_SEVEN:103,NUMPAD_EIGHT:104,NUMPAD_NINE:105,NUMPAD_ASTERISK:106,NUMPAD_PLUS:107,NUMPAD_DASH:109,NUMPAD_DOT:110,NUMPAD_SLASH:111,NUMPAD_EQUALS:187,TICK:192,LEFT_BRACKET:219,RIGHT_BRACKET:221,BACKSLASH:220,SEMICOLON:186,APOSTRAPHE:222,APOSTROPHE:222,SPACEBAR:32,CLEAR:12,COMMA:188,DOT:190,SLASH:191}},{}],261:[function(t,e,i){arguments[4][197][0].apply(i,arguments)},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-raf-emitter-id-generator/sharedRAFEmitterIDGeneratorInstance":319,"@marcom/ac-raf-executor/sharedRAFExecutorInstance":266,dup:197}],262:[function(t,e,i){"use strict";function n(t,e){a.call(this),e=e||{},this._fps=t||0,this._delta=0,this._currentFps=0,this._rafEmitter=e.rafEmitter||new s,this._lastThrottledTime=0,this._didEmitFrameData=!1,this._rafEmitterEvent=null,this._shouldDraw=!1,this._boundOnRAFEmitterUpdate=this._onRAFEmitterUpdate.bind(this),this._boundOnRAFEmitterDraw=this._onRAFEmitterDraw.bind(this),this._boundOnRAFEmitterStop=this._onRAFEmitterStop.bind(this),this._rafEmitter.on("update",this._boundOnRAFEmitterUpdate),this._rafEmitter.on("draw",this._boundOnRAFEmitterDraw),this._rafEmitter.on("stop",this._boundOnRAFEmitterStop)}var r,s=t("./RAFEmitter"),o=t("@marcom/ac-object/clone"),a=t("@marcom/ac-event-emitter-micro").EventEmitterMicro;r=n.prototype=Object.create(a.prototype),r.setFps=function(t){return t!==this._fps&&(this._fps=t,!0)},r.getFps=function(){return this._fps},r.run=function(){return this._rafEmitter.run()},r.cancel=function(){return this._rafEmitter.cancel()},r.willRun=function(){return this._rafEmitter.willRun()},r.isRunning=function(){return this._rafEmitter.isRunning()},r.destroy=function(){var t=this._rafEmitter.destroy();return a.prototype.destroy.call(this),this._rafEmitter=null,this._boundOnRAFEmitterUpdate=null,this._boundOnRAFEmitterDraw=null,this._boundOnRAFEmitterStop=null,this._rafEmitterEvent=null,t},r._onRAFEmitterUpdate=function(t){if(0===this._lastThrottledTime&&(this._lastThrottledTime=this._rafEmitter.executor.lastFrameTime),this._delta=t.time-this._lastThrottledTime,!this._fps)throw new TypeError("FPS is not defined.");return this._currentFps=1e3/this._delta,this._currentFps>this._fps?void this._rafEmitter.run():(this._rafEmitterEvent=o(t),this._rafEmitterEvent.delta=this._delta,this._rafEmitterEvent.fps=this._currentFps,this._lastThrottledTime=this._rafEmitterEvent.time,this._shouldDraw=!0,this._didEmitFrameData||(this.trigger("start",this._rafEmitterEvent),this._didEmitFrameData=!0),void this.trigger("update",this._rafEmitterEvent))},r._onRAFEmitterDraw=function(){this._shouldDraw&&(this._shouldDraw=!1,this.trigger("draw",this._rafEmitterEvent))},r._onRAFEmitterStop=function(){this._lastThrottledTime=0,this._didEmitFrameData=!1,this.trigger("stop",this._rafEmitterEvent)},e.exports=n},{"./RAFEmitter":261,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/clone":283}],263:[function(t,e,i){"use strict";var n=t("./singleCall");e.exports=n("draw")},{"./singleCall":264}],264:[function(t,e,i){"use strict";var n=t("./RAFEmitter"),r=t("./ThrottledRAFEmitter");e.exports=function(t){return function(e,i){var s;s=i?new r(i):new n,s.once(t,function(t){e(t),s.destroy(),e=s=null}),s.run()}}},{"./RAFEmitter":261,"./ThrottledRAFEmitter":262}],265:[function(t,e,i){arguments[4][198][0].apply(i,arguments)},{"@marcom/ac-polyfills/performance/now":void 0,dup:198}],266:[function(t,e,i){arguments[4][199][0].apply(i,arguments)},{"./RAFExecutor":265,"@marcom/ac-shared-instance":330,dup:199}],267:[function(t,e,i){"use strict";var n=t("./ac-media-object/factories/createVideo"),r=t("./ac-media-object/factories/createFlow");e.exports={createFlow:r,createVideo:n}},{"./ac-media-object/factories/createFlow":268,"./ac-media-object/factories/createVideo":269}],268:[function(t,e,i){var n=t("./../views/FlowView"),r=t("@marcom/ac-object/clone");e.exports=function(t,e,i){function s(t){throw new Error(t)}var o,a=r(i||{},!0);return a.type="flow",e?e.basePath||s("Please provide a valid mediaSrc object with a basePath property."):s("Please provide both a valid container element and a valid mediaSrc object as arguments."),a.mediaObjectView?o=a.mediaObjectView:(o=new n(t,e,a),o.options.mediaObjectView=o),o}},{"./../views/FlowView":272,"@marcom/ac-object/clone":283}],269:[function(t,e,i){var n=t("./../views/VideoView"),r=t("./../views/InlinePolyfillVideoView"),s=t("@marcom/ac-feature").isHandheld,o=t("@marcom/ac-feature").isTablet,a=t("@marcom/ac-object/clone");e.exports=function(t,e,i){function c(t){throw new Error(t)}var l,h=a(i||{},!0);return h.type="video",e?e.basePath||c("Please provide a valid mediaSrc object with a basePath property."):c("Please provide both a valid container element and a valid mediaSrc object as arguments."),h.mediaObjectView?l=h.mediaObjectView:(l=h.iosInline&&!window.matchMedia("(-webkit-video-playable-inline)").matches&&(s()||o())?new r(t,e,h):new n(t,e,h),l.options.mediaObjectView=l),l}},{"./../views/InlinePolyfillVideoView":273,"./../views/VideoView":274,"@marcom/ac-feature":174,"@marcom/ac-object/clone":283}],270:[function(t,e,i){"use strict";function n(t){r.apply(this,arguments)}var r=t("@marcom/ac-mvc-model").Model,s=t("@marcom/ac-object"),o=n.prototype=s.create(r.prototype);o.defaultAttributes={type:"video",paused:!0,ended:!1,ready:!1,loadStart:!1,loaded:!1,error:!1,destroyed:!1,currentTime:0,playbackRate:1,duration:0,preload:!1,autoplay:!1,frameRate:24,enhanced:!1,looping:!1},o.getType=function(){return this.get("type")},o.getPaused=function(){return this.get("paused")},o.getEnded=function(){return this.get("ended")},o.getReady=function(){return this.get("ready")},o.getDestroyed=function(){return this.get("destroyed")},o.getLoadStart=function(){return this.get("loadedStart")},o.getLoaded=function(){return this.get("loaded")},o.getError=function(){return this.get("error")},o.getCurrentTime=function(){return this.get("currentTime")},o.getPlaybackRate=function(){return this.get("playbackRate")},o.getDuration=function(){return this.get("duration")},o.getPreload=function(){return this.get("preload")},o.getAutoplay=function(){return this.get("autoplay")},o.getFrameRate=function(){return this.get("frameRate")},o.getEnhanced=function(){return this.get("enhanced")},o.getLooping=function(){return this.get("looping")},o.setPaused=function(t){this.set({paused:t})},o.setEnded=function(t){this.set({ended:t})},o.setReady=function(t){this.set({ready:t})},o.setDestroyed=function(t){this.set({destroyed:t})},o.setDuration=function(t){this.set({duration:t})},o.setLoadStart=function(t){this.set({loadStart:t})},o.setLoaded=function(t){this.set({loaded:t})},o.setError=function(t){this.set({error:t})},o.setCurrentTime=function(t){this.set({currentTime:t})},o.setPlaybackRate=function(t){this.set({playbackRate:t})},o.setPreload=function(t){this.set({preload:t})},o.setAutoplay=function(t){this.set({autoplay:t})},o.setFrameRate=function(t){this.set({frameRate:t})},o.setEnhanced=function(t){this.set({enhanced:t})},o.setLooping=function(t){this.set({looping:t})},e.exports=n},{"@marcom/ac-mvc-model":278,"@marcom/ac-object":282}],271:[function(t,e,i){"use strict";var n=t("./../models/MediaModel"),r=t("@marcom/ac-mvc-view").View,s=t("@marcom/ac-object"),o=function(t,e,i){r.call(this,{element:t}),this.options=s.clone(i||{},!0),this.mediaSrc=e||"",this.model=this.options.model||new n(this.options),this._onLoadStartChange=this._onLoadStartChange.bind(this),this._onLoadedChange=this._onLoadedChange.bind(this),this._onPausedChange=this._onPausedChange.bind(this),this._onReadyChange=this._onReadyChange.bind(this),this._onErrorChange=this._onErrorChange.bind(this),this._onEnhancedChange=this._onEnhancedChange.bind(this),this._onCurrentTimeChange=this._onCurrentTimeChange.bind(this),this._onPlaybackRateChange=this._onPlaybackRateChange.bind(this),this._onDestroyedChange=this._onDestroyedChange.bind(this),this._onEndedChange=this._onEndedChange.bind(this),this._respondToPlay=this._respondToPlay.bind(this),this._respondToPause=this._respondToPause.bind(this),this._respondToTimeUpdate=this._respondToTimeUpdate.bind(this),this._respondToEnded=this._respondToEnded.bind(this),this._respondToDurationChange=this._respondToDurationChange.bind(this),this._respondToRateChange=this._respondToRateChange.bind(this),this._init()},a=o.prototype=s.create(r.prototype);a._init=function(){this._createMediaElement(),this._createMediaEmitter(),this._createMediaLoader(),this._bindEvents(),this._config()},a._createMediaElement=function(){},a._createMediaEmitter=function(){},a._createMediaLoader=function(){},a._config=function(){this.options.preload===!0&&(this._setPreload(!0),this.load()),this.options.autoplay===!0&&this._setAutoplay(!0),this.options.looping===!0&&this._setLooping(!0),this.options.frameRate&&this._setFrameRate(this.options.frameRate)},a._bindEvents=function(){this._bindViewEvents(),this._bindModelEvents()},a.destroy=function(){if(!this.getDestroyed()){this._destroy(),this._setDestroyed(!0),this.model.off(),this.off();for(var t in this)this.hasOwnProperty(t)&&"function"!=typeof this[t]&&(this[t]=null)}},a._bindModelEvents=function(){this.model.on("change:loadStart",this._onLoadStartChange),this.model.on("change:loaded",this._onLoadedChange),this.model.on("change:paused",this._onPausedChange),this.model.on("change:ready",this._onReadyChange),this.model.on("change:error",this._onErrorChange),this.model.on("change:enhanced",this._onEnhancedChange),this.model.on("change:currentTime",this._onCurrentTimeChange),this.model.on("change:playbackRate",this._onPlaybackRateChange),this.model.on("change:destroyed",this._onDestroyedChange),this.model.on("change:ended",this._onEndedChange)},a._onLoadStartChange=function(){this.trigger("loadstart")},a._onLoadedChange=function(){this.trigger("loaded")},a._onPausedChange=function(t){t.value===!0?(this.trigger("pause"),this.el.classList.remove("mediaobject-playing")):(this.trigger("play"),this.el.classList.remove("mediaobject-ended"),this.el.classList.add("mediaobject-playing"))},a._onReadyChange=function(){this.trigger("ready")},a._onErrorChange=function(){this.trigger("error")},a._onEnhancedChange=function(){this.el.classList.add("mediaobject-enhanced"),this.mediaElement.classList.add("mediaobject-element"),this.trigger("enhanced")},a._onCurrentTimeChange=function(){this.trigger("timeupdate")},a._onPlaybackRateChange=function(){this.trigger("ratechange")},a._onDestroyedChange=function(){this.el.classList.remove("mediaobject-playing"),this.el.classList.remove("mediaobject-ended"),this.el.classList.remove("mediaobject-enhanced"),this.el.classList.add("mediaobject-destroyed"),this.trigger("destroyed")},a._onEndedChange=function(t){t.value===!0&&this.trigger("ended")},a._bindViewEvents=function(){this.mediaEmitter&&(this.mediaEmitter.on("play",this._respondToPlay),this.mediaEmitter.on("pause",this._respondToPause),this.mediaEmitter.on("timeupdate",this._respondToTimeUpdate),this.mediaEmitter.on("ended",this._respondToEnded),this.mediaEmitter.on("durationchange",this._respondToDurationChange),this.mediaEmitter.on("ratechange",this._respondToRateChange))},a._respondToPlay=function(){this.model.set({ended:!1,paused:!1})},a._respondToPause=function(){this.model.setPaused(!0)},a._respondToTimeUpdate=function(){var t=0;if(this.mediaElement.currentTime)t=this.mediaElement.currentTime;else{if(!this.mediaEmitter.currentTime)return;t=this.mediaEmitter.currentTime}this.getCurrentTime()!==t&&this.model.set({currentTime:t})},a._respondToEnded=function(){this.model.set({ended:!0,paused:!0}),this.el.classList.remove("mediaobject-playing"),this.el.classList.add("mediaobject-ended")},a._respondToDurationChange=function(){var t=0;if(this.mediaElement.duration)t=this.mediaElement.duration;else{if(!this.mediaEmitter.duration)return;t=this.mediaEmitter.duration}this.model.set({duration:t})},a._respondToRateChange=function(){var t=0;if(this.mediaElement.playbackRate)t=this.mediaElement.playbackRate;else{if(!this.mediaEmitter.playbackRate)return;t=this.mediaEmitter.playbackRate}this.model.set({playbackRate:t})},a.enhance=function(){},a.play=function(){},a.pause=function(){},a.reset=function(){},a.setCurrentTime=function(t){},a.setPlaybackRate=function(t){},a.goToFrame=function(t){var e=t/this.model.frameRate;return this.setCurrentTime(e)},a.goToPercent=function(t){var e=t*this.getDuration();return this.setCurrentTime(e)},a._setReady=function(t){this.model.setReady(t)},a._setLoadStart=function(t){this.model.setLoadStart(t)},a._setLoaded=function(t){this.model.setLoaded(t)},a._setError=function(t){this.model.setError(t)},a._setDuration=function(t){this.model.setDuration(t)},a._setPreload=function(t){this.model.setPreload(t)},a._setAutoplay=function(t){this.model.setAutoplay(t)},a._setFrameRate=function(t){this.model.setFrameRate(t)},a._setEnhanced=function(t){this.model.setEnhanced(t)},a._setDestroyed=function(t){this.model.setDestroyed(t)},a._setLooping=function(t){},a._destroy=function(){},a.getType=function(){return this.model.getType()},a.getPaused=function(){return this.model.getPaused()},a.getEnded=function(){return this.model.getEnded()},a.getReady=function(){return this.model.getReady()},a.getLoadStart=function(){return this.model.getLoadStart()},a.getLoaded=function(){return this.model.getLoaded()},a.getError=function(){return this.model.getError()},a.getDuration=function(){return this.model.getDuration()},a.getEnhanced=function(){return this.model.getEnhanced()},a.getCurrentTime=function(){return this.model.getCurrentTime()},a.getCurrentFrame=function(){return Math.floor(this.getCurrentTime()*this.options.frameRate)},a.getCurrentPercent=function(){return this.model.getCurrentTime()/this.getDuration()||0},a.getPlaybackRate=function(){return this.model.getPlaybackRate()},a.getFrameRate=function(){return this.model.getFrameRate()},a.getPreload=function(){return this.model.getPreload()},a.getAutoplay=function(){return this.model.getAutoplay()},a.getLooping=function(){return this.model.getLooping()},a.getDestroyed=function(){return!this.model||this.model.getDestroyed()},e.exports=o},{"./../models/MediaModel":270,"@marcom/ac-mvc-view":280,"@marcom/ac-object":282}],272:[function(t,e,i){"use strict";var n=t("./BaseView"),r=t("@marcom/ac-dom-nodes"),s=t("@marcom/ac-flow").createFlow,o=t("@marcom/ac-raf-emitter/draw"),a=function(t,e,i){n.call(this,t,e,i),this._onLoad=this._onLoad.bind(this),this._onError=this._onError.bind(this),this._onReady=this._onReady.bind(this)},c=a.prototype=Object.create(n.prototype);c._createMediaElement=function(){this.mediaElement=document.createElement("canvas")},c._createMediaEmitter=function(){this.flowOptions={element:this.mediaElement,preload:!1,keyframeCache:this.options.keyframeCache||!1},this.mediaEmitter=s(this.flowOptions,this.mediaSrc)},c._createMediaLoader=function(){this.mediaLoader=this.mediaEmitter},c.load=function(){this._setLoadStart(!0),this.mediaLoader.once("loaded",this._onLoad),this.mediaLoader.once("error",this._onError),this.mediaEmitter.once("canplaythrough",this._onReady),this.loaded||this.mediaLoader.load()["catch"](this._onError)},c._onLoad=function(){this._setLoaded(!0)},c._onError=function(){this.model&&this._setError(!0)},c._onReady=function(){this._setReady(!0),this._setDuration(this.mediaEmitter.duration),this.setPlaybackRate(this.getPlaybackRate()),this._totalFrames=this._getTotalFrames(),this.getAutoplay()&&(this.getEnhanced===!1&&this.enhance(),this.play())},c._getTotalFrames=function(){return this.getDuration()*this.getFrameRate()},c.enhance=function(){this._setEnhanced(!0),o(function(){this.mediaElement&&this._inject()}.bind(this))},c._inject=function(){r.insertFirstChild(this.mediaElement,this.el)},c._destroy=function(){this._remove(),this.mediaEmitter&&this.mediaEmitter.destroy()},c._remove=function(){r.remove(this.mediaElement)},c.play=function(){this.model.getPaused()!==!1&&(this.mediaEmitter.currentTime>=this.getDuration()&&this.setCurrentTime(0),this.getReady()&&null!==this.mediaEmitter&&this.mediaEmitter.play())},c.pause=function(){this.model.getPaused()!==!0&&this.mediaEmitter.pause()},c.reset=function(){0!==this.model.getCurrentTime()&&(this.setCurrentTime(0),this.pause())},c.setCurrentTime=function(t){t<0&&(t=0),t>this.getDuration()&&(t=this.getDuration()),this.mediaEmitter.currentTime=t},c.setPlaybackRate=function(t){this.mediaEmitter.playbackRate=t},c._setLooping=function(t){this.mediaEmitter.loop=t,this.model.setLooping(t)},e.exports=a},{"./BaseView":271,"@marcom/ac-dom-nodes":96,"@marcom/ac-flow":200,"@marcom/ac-raf-emitter/draw":263}],273:[function(t,e,i){"use strict";var n=t("./VideoView"),r=n.prototype,s=t("@marcom/ac-raf-emitter/RAFEmitter"),o=function(t,e,i){n.call(this,t,e,i),this._polyfillRAFEmitter=i.polyfillRAFEmitter||new s,this._boundHandlePolyfillRAFEmitterDraw=this._handlePolyfillRAFEmitterDraw.bind(this),this._polyfillRAFEmitter.on("draw",this._boundHandlePolyfillRAFEmitterDraw)},a=o.prototype=Object.create(n.prototype);a._initInlineVideo=function(){r._initInlineVideo.apply(this,arguments),this._shouldLoop=!1},a._destroy=function(){r._destroy.apply(this,arguments),this._polyfillRAFEmitter&&(this._polyfillRAFEmitter.destroy(),this._polyfillRAFEmitter=null)},a.play=function(){this.model.getPaused()!==!1&&(this.model.setPaused(!1),this._polyfillRAFEmitter.run())},a.pause=function(){this.model.getPaused()!==!0&&(this.model.setPaused(!0),this._polyfillRAFEmitter.cancel())},a.setCurrentTime=function(t){r.setCurrentTime.apply(this,arguments),this._polyfillRAFEmitter.run()},a._handlePolyfillRAFEmitterDraw=function(t){var e=this.model.getCurrentTime(),i=this.model.getPlaybackRate(),n=this.mediaElement.duration,r=t.delta/1e3*i;if(!this.model.getPaused()){e+=r;var s=e<=0,o=e>=n,a=i>=0,c=i<0;if(s&&(e=0),o&&(e=n),this._shouldLoop)return this._shouldLoop=!1,void(a?this.setCurrentTime(r):this.setCurrentTime(n-r));this.setCurrentTime(e),(s&&c||o&&a)&&(this.model.getLooping()?this._shouldLoop=!0:(this.pause(),this.model.setEnded(!0)))}},e.exports=o},{"./VideoView":274,"@marcom/ac-raf-emitter/RAFEmitter":261}],274:[function(t,e,i){"use strict";var n=t("./BaseView"),r=n.prototype,s=t("@marcom/ac-raf-emitter/draw"),o=t("@marcom/ac-dom-nodes"),a=t("@marcom/ac-dom-emitter").DOMEmitter,c=t("@marcom/ac-dom-styles"),l=t("@marcom/ac-asset-loader").assetLoader,h=t("@marcom/ac-useragent"),u=t("@marcom/ac-feature").isHandheld,m=t("@marcom/ac-feature").isTablet,d=function(t,e,i){this.srcForVideoEl=null,this._cannotPlayInlineVideo=null,this._onLoaded=this._onLoaded.bind(this),this._onReady=this._onReady.bind(this),n.call(this,t,e,i),i.iosInline&&this._initInlineVideo()},p=d.prototype=Object.create(n.prototype);p.inlineClassName="mediaobject-ios-inline-video",p.inlineAttribute="playsinline",p._cannotPlayInlineVideo=null,p._initInlineVideo=function(){this.mediaElement.hasAttribute("controls")&&this.mediaElement.removeAttribute("controls"),this.mediaElement.setAttribute(this.inlineAttribute,""),this.mediaElement.classList.add(this.inlineClassName)},p._createMediaElement=function(){this.mediaElement=document.createElement("video")},p._createMediaEmitter=function(){this.mediaEmitter=new a(this.mediaElement)},p._createMediaLoader=function(){var t;if(this.mediaSrc.basePath=this._forceTrailingSlash(this.mediaSrc.basePath),this.mediaSrc.splitFileLoading){t=this.mediaSrc.basePath;var e={src:t,type:"splitfile"};this.mediaLoader=l.createAssetGroup(e)}else this.mediaSrc.fileFormat=this._checkFileFormat(this.mediaSrc.fileFormat),t=this.mediaSrc.basePath+this.mediaSrc.filename+this.mediaSrc.fileFormat,this.srcForVideoEl=t},p._forceTrailingSlash=function(t){return t&&t.lastIndexOf("/")!==t.length-1&&(t+="/"),t},p._checkFileFormat=function(t){return t&&0!==t.lastIndexOf(".")&&(t="."+t),t},p.load=function(){if(this._setLoadStart(!0),this.mediaSrc.splitFileLoading){var t=function(t){var e=window.URL.createObjectURL(t.latest.data);this.mediaEmitter&&(this.mediaEmitter.once("loadeddata",this._onLoaded),this.mediaEmitter.once("canplaythrough",this._onReady)),this.mediaElement.src=e,this.mediaElement.load(),this.mediaLoader.destroy()}.bind(this);this.mediaLoader.load().then(t)["catch"](this._setError.bind(this,!0))}else this.cannotPlayInlineVideo()||(this.mediaEmitter.once("loadeddata",this._onLoaded),this.mediaEmitter.once("canplaythrough",this._onReady)),this.mediaElement.src=this.srcForVideoEl,this.cannotPlayInlineVideo()?this._onLoaded():this.mediaElement.load()},p._onLoaded=function(){this._setLoaded(!0)},p.cannotPlayInlineVideo=function(){if(null!==this._cannotPlayInlineVideo)return this._cannotPlayInlineVideo;var t="iOS"===h.os&&u(),e="iOS"===h.os&&m()&&h.version<8;return this._cannotPlayInlineVideo=t||e,this._cannotPlayInlineVideo},p._onReady=function(){this._setReady(!0),this.getAutoplay()&&(this.getEnhanced()||this.enhance(),this.play())},p.enhance=function(){this._setEnhanced(!0),s(function(){"VIDEO"===this.mediaElement.tagName&&(o.insertLastChild(this.mediaElement,this.el),c.setStyle(this.mediaElement,{visibility:"hidden"}),s(function(){this.mediaElement&&(this.setPlaybackRate(this.getPlaybackRate()),c.setStyle(this.mediaElement,{visibility:"visible"}))}.bind(this)))}.bind(this))},p._destroy=function(){this._remove(),this.mediaEmitter&&this.mediaEmitter.off(),this.mediaLoader&&this.mediaLoader.destroy()},p._remove=function(){o.remove(this.mediaElement)},p._onEndedChange=function(t){r._onEndedChange.call(this,t),"iOS"===h.os&&u()&&t.value===!0&&this.mediaElement.webkitExitFullScreen()},p.play=function(){this.model.getPaused()!==!1&&this.mediaElement.play()},p.pause=function(){this.model.getPaused()!==!0&&this.mediaElement.pause()},p.reset=function(){0!==this.model.getCurrentTime()&&(this.setCurrentTime(0),this.pause())},p.setCurrentTime=function(t){this.mediaElement.duration&&(this.model.setCurrentTime(t),this.mediaElement.currentTime=t)},p.setPlaybackRate=function(t){this.mediaElement.playbackRate=t},p._setLooping=function(t){this.mediaElement.loop=t,this.model.setLooping(t)},e.exports=d},{"./BaseView":271,"@marcom/ac-asset-loader":15,"@marcom/ac-dom-emitter":63,"@marcom/ac-dom-nodes":96,"@marcom/ac-dom-styles":117,"@marcom/ac-feature":174,"@marcom/ac-raf-emitter/draw":263,"@marcom/ac-useragent":345}],275:[function(t,e,i){"use strict";function n(t){r.call(this),this.options=t||{},"number"==typeof this.options.min&&(this.min=this.options.min),"number"==typeof this.options.max&&(this.max=this.options.max),"number"==typeof this.options.normalizedFPS&&(this.normalizedFPS=this.options.normalizedFPS),"boolean"==typeof this.options.handleVariedFPS&&(this.handleVariedFPS=this.options.handleVariedFPS),"function"==typeof this.options.easingFunction&&(this.easingFunction=this.options.easingFunction),this._boundHandleRAFEmitterUpdate=this._handleRAFEmitterUpdate.bind(this),this._boundHandleRAFEmitterDraw=this._handleRAFEmitterDraw.bind(this),this._boundHandleRAFEmitterStop=this._handleRAFEmitterStop.bind(this),this.rafEmitter=this.options.rafEmitter||new s,this.specificity=this.options.specificity||4,this.friction=this.options.friction||10,this._targetValue=null,this._currentValue=null,this._shouldUpdate=!1,this._shouldEmitChange=!1,this._didEmitFrameData=!1,this._bindEvents()}t("@marcom/ac-polyfills/Object/create");var r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s=t("@marcom/ac-raf-emitter/RAFEmitter"),o=n.prototype=Object.create(r.prototype);o.handleVariedFPS=!0,o.normalizedFPS=60,o.min=0,o.max=1,o.destroy=function(){this.trigger("destroy"),this.off(),this.rafEmitter.destroy();var t;for(t in this)this.hasOwnProperty(t)&&(this[t]=null)},o.isRunning=function(){return this.rafEmitter.isRunning()},o.setProgress=function(t){this._targetValue!==t&&(this._targetValue=t,this._shouldUpdate=!0,this.rafEmitter.run())},o.updateValue=function(t){null===this._currentValue&&(this._currentValue=this._targetValue);var e=1;if(this.easingFunction){var i=this.max-this.min,n=this.max-(this.max-this._targetValue)/i,r=this.max-(this.max-this._currentValue)/i,s=1-Math.abs(n-r),o=this.easingFunction(s,0,1,1);e=1+(o-s)}var a=1;if(this.handleVariedFPS){var c=t.fps;c<1&&(c=1),a=this.normalizedFPS/c}var l=this._targetValue-this._currentValue,h=l*e*a*(1/this.friction),u=parseFloat((this._currentValue+h).toFixed(this.specificity));(l>0&&u>this._targetValue||l<0&&u<this._targetValue)&&(u=this._targetValue),u===this._currentValue?this._currentValue=this._targetValue:this._currentValue=u,this._shouldEmitChange=!0},o._bindEvents=function(){this.rafEmitter.on("update",this._boundHandleRAFEmitterUpdate),this.rafEmitter.on("draw",this._boundHandleRAFEmitterDraw),this.rafEmitter.on("stop",this._boundHandleRAFEmitterStop)},o._unbindEvents=function(){this.rafEmitter.off("update",this._boundHandleRAFEmitterUpdate),this.rafEmitter.off("draw",this._boundHandleRAFEmitterDraw),this.rafEmitter.off("stop",this._boundHandleRAFEmitterStop)},o._handleRAFEmitterUpdate=function(t){this._shouldUpdate&&this.updateValue(t),this._shouldEmitChange&&(t.progress=this._currentValue,this._didEmitFrameData||(this.trigger("start",t),this._didEmitFrameData=!0),this.trigger("update",t))},o._handleRAFEmitterDraw=function(t){if(this._shouldEmitChange){if(t.progress=this._currentValue,this.trigger("draw",t),this._targetValue===this._currentValue)return this._shouldUpdate=!1,void(this._shouldEmitChange=!1);this._shouldUpdate=!0,this.rafEmitter.run()}},o._handleRAFEmitterStop=function(t){t.progress=this._currentValue,this.trigger("stop",t),this._didEmitFrameData=!1},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-polyfills/Object/create":void 0,"@marcom/ac-raf-emitter/RAFEmitter":320}],276:[function(t,e,i){"use strict";e.exports={CID:t("./ac-mvc-cid/CID")}},{"./ac-mvc-cid/CID":277}],277:[function(t,e,i){"use strict";function n(){this._idCount=0}var r=t("@marcom/ac-shared-instance").SharedInstance,s="ac-mvc-cid:CID",o="1.0.0",a=n.prototype;a._cidPrefix="cid",a.getNewCID=function(){var t=this._cidPrefix+"-"+this._idCount;return this._idCount++,t},e.exports=r.share(s,o,n)},{"@marcom/ac-shared-instance":330}],278:[function(t,e,i){"use strict";e.exports={Model:t("./ac-mvc-model/Model")}},{"./ac-mvc-model/Model":279}],279:[function(t,e,i){"use strict";function n(t){r.call(this),this.attributes=s(this.defaultAttributes,t||{}),this.cid=a.getNewCID(),this.attributes[this.idAttribute]&&(this.id=this.attributes[this.idAttribute])}var r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s=t("@marcom/ac-object/defaults"),o=t("@marcom/ac-object/create"),a=t("@marcom/ac-mvc-cid").CID,c=r.prototype,l=n.prototype=o(c);l.defaultAttributes={},l.idAttribute="id",l.get=function(t){if(this.attributes)return this.attributes[t]},l.set=function(t,e){if(this.attributes){var i,n,r,s={},o=!1;for(i in t)if(t.hasOwnProperty(i)){if(r=this.get(i),r===t[i]||"object"==typeof r&&"object"==typeof t[i]&&JSON.stringify(r)===JSON.stringify(t[i]))continue;o=!0,this.attributes[i]=t[i],n={value:t[i],previous:r},s[i]=n,this._triggerChange(i,n,e)}o&&this._trigger("change",s,e)}},l.hasAttribute=function(t){return!!this.attributes&&void 0!==this.attributes[t]},l.eachAttribute=function(t,e){if(this.attributes){var i;for(i in this.attributes)this.attributes.hasOwnProperty(i)&&t.call(e,{attribute:i,value:this.attributes[i]})}},l.destroy=function(){this.trigger("destroy"),c.destroy.call(this);var t;for(t in this)this.hasOwnProperty(t)&&(this[t]=null)},l._trigger=function(t,e,i){i=i||{},i.silent!==!0&&this.trigger(t,e)},l._triggerChange=function(t,e,i){return this._trigger("change:"+t,e,i)},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-mvc-cid":276,"@marcom/ac-object/create":284,"@marcom/ac-object/defaults":285}],280:[function(t,e,i){"use strict";e.exports={View:t("./ac-mvc-view/View")}},{"./ac-mvc-view/View":281}],281:[function(t,e,i){"use strict";function n(t){var e,i,n;this.options=o.defaults(this.defaultOptions,t||{}),this.cid=s.getNewCID(),this.model=this.options.model,this.options.template&&(this.template=this.options.template),e=this.options.tagName||this.tagName,i=this.options.element,n=this.options.className||this.className,i||(i=document.createElement(e)),r.call(this,i),n&&this.addClassName(n),this.options.events&&this.delegateEvents(this.options.events)}var r=t("@marcom/ac-dom-emitter").DOMEmitter,s=t("@marcom/ac-mvc-cid").CID,o={create:t("@marcom/ac-object/create"),defaults:t("@marcom/ac-object/defaults")},a={insertLastChild:t("@marcom/ac-dom-nodes/insertLastChild"),remove:t("@marcom/ac-dom-nodes/remove")},c=t("@marcom/ac-classlist/add"),l=t("@marcom/ac-classlist/remove"),h=n.prototype=o.create(r.prototype);h.tagName="div",h.defaultOptions={},h.getTagName=function(){return this.el.tagName.toLowerCase()},h.appendTo=function(t){return a.insertLastChild(this.el,t),this},h.render=function(){},h.addClassName=function(t){return this._manipulateClassName(t,c)},h.removeClassName=function(t){return this._manipulateClassName(t,l)},h.destroy=function(){this.emitterTrigger("destroy"),this.off(),a.remove(this.el);var t;for(t in this)this.hasOwnProperty(t)&&(this[t]=null)},h.delegateEvents=function(t,e){e=e||this;var i,n;for(i in t)t.hasOwnProperty(i)&&(n=t[i],"string"==typeof n&&(t[i]=this[t[i]]));return this.on(t,e),this},h._manipulateClassName=function(t,e){var i;if("string"==typeof t)i=t.split(" ");else{if("object"!=typeof t||!Array.isArray(t))return this;i=t.slice()}return i.unshift(this.el),e.apply(this.el,i),this},e.exports=n},{"@marcom/ac-classlist/add":25,"@marcom/ac-classlist/remove":33,"@marcom/ac-dom-emitter":63,"@marcom/ac-dom-nodes/insertLastChild":104,"@marcom/ac-dom-nodes/remove":115,"@marcom/ac-mvc-cid":276,"@marcom/ac-object/create":284,"@marcom/ac-object/defaults":285}],282:[function(t,e,i){"use strict";e.exports={clone:t("./clone"),create:t("./create"),defaults:t("./defaults"),extend:t("./extend"),getPrototypeOf:t("./getPrototypeOf"),isDate:t("./isDate"),isEmpty:t("./isEmpty"),isRegExp:t("./isRegExp"),toQueryParameters:t("./toQueryParameters")}},{"./clone":283,"./create":284,"./defaults":285,"./extend":286,"./getPrototypeOf":287,"./isDate":288,"./isEmpty":289,"./isRegExp":290,"./toQueryParameters":291}],283:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/isArray");var n=t("./extend"),r=Object.prototype.hasOwnProperty,s=function(t,e){var i;for(i in e)r.call(e,i)&&(null===e[i]?t[i]=null:"object"==typeof e[i]?(t[i]=Array.isArray(e[i])?[]:{},s(t[i],e[i])):t[i]=e[i]);return t};e.exports=function(t,e){return e?s({},t):n({},t)}},{"./extend":286,"@marcom/ac-polyfills/Array/isArray":void 0}],284:[function(t,e,i){"use strict";var n=function(){};e.exports=function(t){if(arguments.length>1)throw new Error("Second argument not supported");if(null===t||"object"!=typeof t)throw new TypeError("Object prototype may only be an Object.");return"function"==typeof Object.create?Object.create(t):(n.prototype=t,new n)}},{}],285:[function(t,e,i){
"use strict";var n=t("./extend");e.exports=function(t,e){if("object"!=typeof t)throw new TypeError("defaults: must provide a defaults object");if(e=e||{},"object"!=typeof e)throw new TypeError("defaults: options must be a typeof object");return n({},t,e)}},{"./extend":286}],286:[function(t,e,i){"use strict";t("@marcom/ac-polyfills/Array/prototype.forEach");var n=Object.prototype.hasOwnProperty;e.exports=function(){var t,e;return t=arguments.length<2?[{},arguments[0]]:[].slice.call(arguments),e=t.shift(),t.forEach(function(t){if(null!=t)for(var i in t)n.call(t,i)&&(e[i]=t[i])}),e}},{"@marcom/ac-polyfills/Array/prototype.forEach":void 0}],287:[function(t,e,i){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(t){if(Object.getPrototypeOf)return Object.getPrototypeOf(t);if("object"!=typeof t)throw new Error("Requested prototype of a value that is not an object.");if("object"==typeof this.__proto__)return t.__proto__;var e,i=t.constructor;if(n.call(t,"constructor")){if(e=i,!delete t.constructor)return null;i=t.constructor,t.constructor=e}return i?i.prototype:null}},{}],288:[function(t,e,i){"use strict";e.exports=function(t){return"[object Date]"===Object.prototype.toString.call(t)}},{}],289:[function(t,e,i){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(t){var e;if("object"!=typeof t)throw new TypeError("ac-base.Object.isEmpty : Invalid parameter - expected object");for(e in t)if(n.call(t,e))return!1;return!0}},{}],290:[function(t,e,i){"use strict";e.exports=function(t){return!!window.RegExp&&t instanceof RegExp}},{}],291:[function(t,e,i){"use strict";var n=t("@marcom/ac-url/joinSearchParams");e.exports=function(t){if("object"!=typeof t)throw new TypeError("toQueryParameters error: argument is not an object");return n(t,!1)}},{"@marcom/ac-url/joinSearchParams":344}],292:[function(t,e,i){"use strict";e.exports={PageVisibilityManager:t("./ac-page-visibility/PageVisibilityManager")}},{"./ac-page-visibility/PageVisibilityManager":293}],293:[function(t,e,i){"use strict";function n(){if("undefined"!=typeof document.addEventListener){var t;"undefined"!=typeof document.hidden?(this._hidden="hidden",t="visibilitychange"):"undefined"!=typeof document.mozHidden?(this._hidden="mozHidden",t="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(this._hidden="msHidden",t="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(this._hidden="webkitHidden",t="webkitvisibilitychange"),"undefined"==typeof document[this._hidden]?this.isHidden=!1:this.isHidden=document[this._hidden],t&&document.addEventListener(t,this._handleVisibilityChange.bind(this),!1),s.call(this)}}var r=t("@marcom/ac-object/create"),s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=n.prototype=r(s.prototype);o.CHANGED="changed",o._handleVisibilityChange=function(t){this.isHidden=document[this._hidden],this.trigger(this.CHANGED,{isHidden:this.isHidden})},e.exports=new n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/create":284}],294:[function(t,e,i){"use strict";var n=t("./ac-browser/BrowserData"),r=/applewebkit/i,s=t("./ac-browser/IE"),o=n.create();o.isWebKit=function(t){var e=t||window.navigator.userAgent;return!!e&&!!r.test(e)},o.lowerCaseUserAgent=navigator.userAgent.toLowerCase(),"IE"===o.name&&(o.IE={documentMode:s.getDocumentMode()}),e.exports=o},{"./ac-browser/BrowserData":295,"./ac-browser/IE":296}],295:[function(t,e,i){"use strict";function n(){}t("@marcom/ac-polyfills/Array/prototype.filter"),t("@marcom/ac-polyfills/Array/prototype.some");var r=t("./data");n.prototype={__getBrowserVersion:function(t,e){var i;if(t&&e){var n=r.browser.filter(function(t){return t.identity===e});return n.some(function(n){var r=n.versionSearch||e,s=t.indexOf(r);if(s>-1)return i=parseFloat(t.substring(s+r.length+1)),!0}),i}},__getName:function(t){return this.__getIdentityStringFromArray(t)},__getIdentity:function(t){return t.string?this.__matchSubString(t):t.prop?t.identity:void 0},__getIdentityStringFromArray:function(t){for(var e,i=0,n=t.length;i<n;i++)if(e=this.__getIdentity(t[i]))return e},__getOS:function(t){return this.__getIdentityStringFromArray(t)},__getOSVersion:function(t,e){if(t&&e){var i=r.os.filter(function(t){return t.identity===e})[0],n=i.versionSearch||e,s=new RegExp(n+" ([\\d_\\.]+)","i"),o=t.match(s);return null!==o?o[1].replace(/_/g,"."):void 0}},__matchSubString:function(t){var e=t.subString;if(e){var i=e.test?!!e.test(t.string):t.string.indexOf(e)>-1;if(i)return t.identity}}},n.create=function(){var t=new n,e={};return e.name=t.__getName(r.browser),e.version=t.__getBrowserVersion(r.versionString,e.name),e.os=t.__getOS(r.os),e.osVersion=t.__getOSVersion(r.versionString,e.os),e},e.exports=n},{"./data":297,"@marcom/ac-polyfills/Array/prototype.filter":void 0,"@marcom/ac-polyfills/Array/prototype.some":void 0}],296:[function(t,e,i){"use strict";e.exports={getDocumentMode:function(){var t;return document.documentMode?t=parseInt(document.documentMode,10):(t=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(t=7)),t}}},{}],297:[function(t,e,i){"use strict";e.exports={browser:[{string:window.navigator.userAgent,subString:"Edge",identity:"Edge"},{string:window.navigator.userAgent,subString:/silk/i,identity:"Silk"},{string:window.navigator.userAgent,subString:/(android).*(version\/[0-9+].[0-9+])/i,identity:"Android"},{string:window.navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:window.navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:window.navigator.userAgent,subString:/mobile\/[^\s]*\ssafari\//i,identity:"Safari Mobile",versionSearch:"Version"},{string:window.navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera",versionSearch:"Version"},{string:window.navigator.vendor,subString:"iCab",identity:"iCab"},{string:window.navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:window.navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:window.navigator.vendor,subString:"Camino",identity:"Camino"},{string:window.navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:window.navigator.userAgent,subString:"MSIE",identity:"IE",versionSearch:"MSIE"},{string:window.navigator.userAgent,subString:"Trident",identity:"IE",versionSearch:"rv"},{string:window.navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:window.navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],os:[{string:window.navigator.platform,subString:"Win",identity:"Windows",versionSearch:"Windows NT"},{string:window.navigator.platform,subString:"Mac",identity:"OS X"},{string:window.navigator.userAgent,subString:"iPhone",identity:"iOS",versionSearch:"iPhone OS"},{string:window.navigator.userAgent,subString:"iPad",identity:"iOS",versionSearch:"CPU OS"},{string:window.navigator.userAgent,subString:/android/i,identity:"Android"},{string:window.navigator.platform,subString:"Linux",identity:"Linux"}],versionString:window.navigator.userAgent||window.navigator.appVersion||void 0}},{}],298:[function(t,e,i){"use strict";e.exports={PointerTracker:t("./ac-pointer-tracker/PointerTracker")}},{"./ac-pointer-tracker/PointerTracker":299}],299:[function(t,e,i){"use strict";function n(t,e,i){this._el=t,i=i||{},this._lockVertical=i.lockVertical!==!1,this._swipeThreshold=i.swipeThreshold||n.DEFAULT_SWIPE_THRESHOLD,this._pointerEvents=e||{},this._trackHover=i.trackHover,this._trackHover?(this._pointerEvents.down=this._pointerEvents.down||n.MOUSE_EVENTS.over,this._pointerEvents.up=this._pointerEvents.up||n.MOUSE_EVENTS.out):(this._pointerEvents.down=this._pointerEvents.down||(l?n.TOUCH_EVENTS.down:n.MOUSE_EVENTS.down),this._pointerEvents.up=this._pointerEvents.up||(l?n.TOUCH_EVENTS.up:n.MOUSE_EVENTS.up)),this._pointerEvents.out=this._pointerEvents.out||(l?n.TOUCH_EVENTS.out:n.MOUSE_EVENTS.out),this._pointerEvents.move=this._pointerEvents.move||(l?n.TOUCH_EVENTS.move:n.MOUSE_EVENTS.move),this._onMouseDown=this._onMouseDown.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onMouseOut=this._onMouseOut.bind(this),this._onMouseMove=this._onMouseMove.bind(this),h.call(this),s.addEventListener(this._el,this._pointerEvents.down,this._onMouseDown),this._setCursorStyle("grab")}var r=t("@marcom/ac-browser"),s=t("@marcom/ac-dom-events"),o=t("@marcom/ac-dom-styles"),a=t("@marcom/ac-object/create"),c="Android"===r.os||"IE"===r.name&&r.version<=8,l=t("@marcom/ac-feature/touchAvailable")(),h=t("@marcom/ac-event-emitter-micro").EventEmitterMicro;n.START="start",n.END="end",n.UPDATE="update",n.SWIPE_RIGHT="swiperight",n.SWIPE_LEFT="swipeleft",n.DEFAULT_SWIPE_THRESHOLD=c?2:8,n.TOUCH_EVENTS={down:"touchstart",up:"touchend",out:"mouseout",move:"touchmove"},n.MOUSE_EVENTS={down:"mousedown",up:"mouseup",out:"mouseout",move:"mousemove",over:"mouseover"};var u=h.prototype,m=n.prototype=a(u);m.destroy=function(){return this._isDragging&&this._onMouseUp(),s.removeEventListener(this._el,this._pointerEvents.down,this._onMouseDown),this._setCursorStyle(null),this._el=null,this._pointerEvents=null,this._lockVertical=null,this._swipeThreshold=null,this._checkForTouchScrollY=null,this._isDragging=null,this._currentX=null,this._currentY=null,this._velocityX=null,this._velocityY=null,this._lastX=null,this._lastY=null,u.destroy.call(this)},m._onMouseDown=function(t){if(!this._isDragging){this._isDragging=!0,this._setCursorStyle("grabbing"),s.removeEventListener(this._el,this._pointerEvents.down,this._onMouseDown),s.addEventListener(document.body,this._pointerEvents.up,this._onMouseUp),s.addEventListener(document,this._pointerEvents.out,this._onMouseOut),s.addEventListener(document.body,this._pointerEvents.move,this._onMouseMove),this._checkForTouchScrollY=this._lockVertical&&!(!t.touches||!t.touches[0]),this._checkForTouchScrollY&&(this._lastY=this._getTouchY(t));var e=this._storeAndGetValues(t);this._velocityX=e.diffX=0,this._velocityY=e.diffY=0,this.trigger(n.START,e)}},m._onMouseUp=function(t){if(this._isDragging){this._isDragging=!1,this._setCursorStyle("grab"),s.addEventListener(this._el,this._pointerEvents.down,this._onMouseDown),s.removeEventListener(document.body,this._pointerEvents.up,this._onMouseUp),s.removeEventListener(document,this._pointerEvents.out,this._onMouseOut),s.removeEventListener(document.body,this._pointerEvents.move,this._onMouseMove);var e;this._checkForTouchScrollY||this._trackHover?e=null:this._velocityX>this._swipeThreshold?e=n.SWIPE_LEFT:this._velocityX*-1>this._swipeThreshold&&(e=n.SWIPE_RIGHT);var i=this._storeAndGetValues(t);i.swipe=e,this.trigger(n.END,i),e&&!this._trackHover&&this.trigger(e,i)}},m._onMouseOut=function(t){t=t?t:window.event;var e=t.relatedTarget||t.toElement;e&&"HTML"!==e.nodeName||this._onMouseUp(t)},m._onMouseMove=function(t){return this._checkForTouchScrollY&&this._isVerticalTouchMove(t)?void this._onMouseUp(t):(s.preventDefault(t),void this.trigger(n.UPDATE,this._storeAndGetValues(t)))},m._storeAndGetValues=function(t){if(void 0===t)return{};this._currentX=this._getPointerX(t),this._currentY=this._getPointerY(t),this._velocityX=this._lastX-this._currentX,this._velocityY=this._lastY-this._currentY;var e={x:this._currentX,y:this._currentY,lastX:this._lastX,lastY:this._lastY,diffX:this._velocityX,diffY:this._velocityY,interactionEvent:t};return this._lastX=this._currentX,this._lastY=this._currentY,e},m._getPointerX=function(t){return t.pageX?t.pageX:t.touches&&t.touches[0]?t.touches[0].pageX:t.clientX?t.clientX:0},m._getPointerY=function(t){return t.pageY?t.pageY:t.touches&&t.touches[0]?t.touches[0].pageY:t.clientY?t.clientY:0},m._getTouchX=function(t){return t.touches&&t.touches[0]?t.touches[0].pageX:0},m._getTouchY=function(t){return t.touches&&t.touches[0]?t.touches[0].pageY:0},m._isVerticalTouchMove=function(t){var e=this._getTouchX(t),i=this._getTouchY(t),n=Math.abs(e-this._lastX),r=Math.abs(i-this._lastY);return this._checkForTouchScrollY=n<r,this._checkForTouchScrollY},m._setCursorStyle=function(t){o.setStyle(this._el,{cursor:t})},e.exports=n},{"@marcom/ac-browser":294,"@marcom/ac-dom-events":68,"@marcom/ac-dom-styles":117,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-feature/touchAvailable":195,"@marcom/ac-object/create":284}],300:[function(t,e,i){"use strict";var n=t("./utils/eventTypeAvailable"),r=t("./shared/camelCasedEventTypes"),s=t("./shared/windowFallbackEventTypes"),o=t("./shared/prefixHelper"),a={};e.exports=function c(t,e){var i,l,h;if(e=e||"div",t=t.toLowerCase(),e in a||(a[e]={}),l=a[e],t in l)return l[t];if(n(t,e))return l[t]=t;if(t in r)for(h=0;h<r[t].length;h++)if(i=r[t][h],n(i.toLowerCase(),e))return l[t]=i;for(h=0;h<o.evt.length;h++)if(i=o.evt[h]+t,n(i,e))return o.reduce(h),l[t]=i;return"window"!==e&&s.indexOf(t)?l[t]=c(t,"window"):l[t]=!1}},{"./shared/camelCasedEventTypes":304,"./shared/prefixHelper":306,"./shared/windowFallbackEventTypes":309,"./utils/eventTypeAvailable":311}],301:[function(t,e,i){"use strict";var n=t("./shared/stylePropertyCache"),r=t("./getStyleProperty"),s=t("./getStyleValue");e.exports=function(t,e){var i;if(t=r(t),!t)return!1;if(i=n[t].css,"undefined"!=typeof e){if(e=s(t,e),e===!1)return!1;i+=":"+e+";"}return i}},{"./getStyleProperty":302,"./getStyleValue":303,"./shared/stylePropertyCache":307}],302:[function(t,e,i){"use strict";var n=t("./shared/stylePropertyCache"),r=t("./shared/getStyleTestElement"),s=t("./utils/toCSS"),o=t("./utils/toDOM"),a=t("./shared/prefixHelper"),c=function(t,e){var i=s(t),r=e!==!1&&s(e);return n[t]=n[e]=n[i]=n[r]={dom:e,css:r},e};e.exports=function(t){var e,i,s,l;if(t+="",t in n)return n[t].dom;for(s=r(),t=o(t),i=t.charAt(0).toUpperCase()+t.substring(1),e="filter"===t?["WebkitFilter","filter"]:(t+" "+a.dom.join(i+" ")+i).split(" "),l=0;l<e.length;l++)if("undefined"!=typeof s.style[e[l]])return 0!==l&&a.reduce(l-1),c(t,e[l]);return c(t,!1)}},{"./shared/getStyleTestElement":305,"./shared/prefixHelper":306,"./shared/stylePropertyCache":307,"./utils/toCSS":312,"./utils/toDOM":313}],303:[function(t,e,i){"use strict";var n=t("./getStyleProperty"),r=t("./shared/styleValueAvailable"),s=t("./shared/prefixHelper"),o=t("./shared/stylePropertyCache"),a={},c=/(\([^\)]+\))/gi,l=/([^ ,;\(]+(\([^\)]+\))?)/gi;e.exports=function(t,e){var i;return e+="",!!(t=n(t))&&(r(t,e)?e:(i=o[t].css,e=e.replace(l,function(e){var n,o,l,h;if("#"===e[0]||!isNaN(e[0]))return e;if(o=e.replace(c,""),l=i+":"+o,l in a)return a[l]===!1?"":e.replace(o,a[l]);for(n=s.css.map(function(t){return t+e}),n=[e].concat(n),h=0;h<n.length;h++)if(r(t,n[h]))return 0!==h&&s.reduce(h-1),a[l]=n[h].replace(c,""),n[h];return a[l]=!1,""}),e=e.trim(),""!==e&&e))}},{"./getStyleProperty":302,"./shared/prefixHelper":306,"./shared/stylePropertyCache":307,"./shared/styleValueAvailable":308}],304:[function(t,e,i){"use strict";e.exports={transitionend:["webkitTransitionEnd","MSTransitionEnd"],animationstart:["webkitAnimationStart","MSAnimationStart"],animationend:["webkitAnimationEnd","MSAnimationEnd"],animationiteration:["webkitAnimationIteration","MSAnimationIteration"],fullscreenchange:["MSFullscreenChange"],fullscreenerror:["MSFullscreenError"]}},{}],305:[function(t,e,i){"use strict";var n;e.exports=function(){return n?(n.style.cssText="",n.removeAttribute("style")):n=document.createElement("_"),n},e.exports.resetElement=function(){n=null}},{}],306:[function(t,e,i){"use strict";var n=["-webkit-","-moz-","-ms-"],r=["Webkit","Moz","ms"],s=["webkit","moz","ms"],o=function(){this.initialize()},a=o.prototype;a.initialize=function(){this.reduced=!1,this.css=n,this.dom=r,this.evt=s},a.reduce=function(t){this.reduced||(this.reduced=!0,this.css=[this.css[t]],this.dom=[this.dom[t]],this.evt=[this.evt[t]])},e.exports=new o},{}],307:[function(t,e,i){"use strict";e.exports={}},{}],308:[function(t,e,i){"use strict";var n,r,s=t("./stylePropertyCache"),o=t("./getStyleTestElement"),a=!1,c=function(){var t;if(!a){a=!0,n="CSS"in window&&"supports"in window.CSS,r=!1,t=o();try{t.style.width="invalid"}catch(e){r=!0}}};e.exports=function(t,e){var i,a;if(c(),n)return t=s[t].css,CSS.supports(t,e);if(a=o(),i=a.style[t],r)try{a.style[t]=e}catch(l){return!1}else a.style[t]=e;return a.style[t]&&a.style[t]!==i},e.exports.resetFlags=function(){a=!1}},{"./getStyleTestElement":305,"./stylePropertyCache":307}],309:[function(t,e,i){"use strict";e.exports=["transitionend","animationstart","animationend","animationiteration"]},{}],310:[function(t,e,i){"use strict";var n=/(-webkit-|-moz-|-ms-)|^(webkit|moz|ms)/gi;e.exports=function(t){return t=String.prototype.replace.call(t,n,""),t.charAt(0).toLowerCase()+t.substring(1)}},{}],311:[function(t,e,i){"use strict";var n={window:window,document:document};e.exports=function(t,e){var i;return t="on"+t,e in n||(n[e]=document.createElement(e)),i=n[e],t in i||"setAttribute"in i&&(i.setAttribute(t,"return;"),"function"==typeof i[t])}},{}],312:[function(t,e,i){"use strict";var n=/^(webkit|moz|ms)/gi;e.exports=function(t){return"cssfloat"===t.toLowerCase()?"float":(n.test(t)&&(t="-"+t),t.replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase())}},{}],313:[function(t,e,i){"use strict";var n=/-([a-z])/g;e.exports=function(t){return"float"===t.toLowerCase()?"cssFloat":(t=t.replace(n,function(t,e){return e.toUpperCase()}),"Ms"===t.substr(0,2)&&(t="ms"+t.substring(2)),t)}},{}],314:[function(t,e,i){"use strict";function n(t){o.call(this),this.options=r(l,t),this.loadingOptions=null,this.els=[],this.loadingQueue=null,this._queueItems=[],this._queueItemsObj={},this._loadOrder=[],this._timeout=null,this._didCallLoad=!1}var r=t("@marcom/ac-object/defaults"),s=t("@marcom/ac-queue").LiveQueue,o=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,a=t("@marcom/ac-raf-emitter/update"),c=t("@marcom/ac-raf-emitter/draw"),l={container:document.body,includeContainer:!1},h={loadingPoolSize:8,timeout:null,imageDataAttribute:"data-progressive-image",imageAnimate:!0,imageAnimateClass:"progressive-image-animated"};n.Events={ImageLoad:"image-load",Complete:"complete"};var u=n.prototype=Object.create(o.prototype);u.load=function(t){this._didCallLoad||(this._didCallLoad=!0,this.loadingOptions=r(h,t),this.loadingQueue=new s(this.loadingOptions.loadingPoolSize),this.els=Array.from(this._getProgressiveImageElements()),this.options.includeContainer&&this.options.container.hasAttribute(this._getProgressiveImageDataAttribute())&&this.els.unshift(this.options.container),c(function(){var t,e,i=this.els.length;for(t=0;t<i;t++)e={queueItem:this.loadingQueue.enqueue(this._loadNextItem.bind(this,t),t),el:this.els[t],id:t},this._queueItems.push(e),this._queueItemsObj[t]=e,this.loadingOptions.imageAnimate&&this.els[t].classList.add(this.loadingOptions.imageAnimateClass);a(function(){this.loadingQueue.start(),"number"==typeof this.loadingOptions.timeout&&(this._timeout=setTimeout(this.cancel.bind(this),this.loadingOptions.timeout))}.bind(this))}.bind(this)))},u.setVisible=function(t){return new Promise(function(e,i){c(function(){t.removeAttribute(this._getProgressiveImageDataAttribute()),e(),t=null}.bind(this))}.bind(this))},u.cancel=function(){if(this.els){var t,e=this.els.length;for(t=0;t<e;t++)this.setVisible(this.els[t]),this.loadingOptions.imageAnimate&&c(function(){this.els[t].setAttribute("data-progressive-image-loaded","")}.bind(this,t))}this._handleLoadingComplete()},u.destroy=function(){this.cancel(),this.off(),o.prototype.destroy.call(this)},u._loadNextItem=function(t){return new Promise(function(t,e,i){var n=this._queueItemsObj[t];this._loadAndSetVisible(n.el).then(function(){var t=this._queueItems.indexOf(n);this._queueItems.splice(t,1),this._queueItemsObj[n.id]=null,e(),this._handleImageLoad(n.el),n=e=null,1===this.loadingQueue.count()&&this._handleLoadingComplete()}.bind(this))}.bind(this,t))},u._loadAndSetVisible=function(t){return new Promise(function(e,i){this.setVisible(t).then(function(){this._getBackgroundImageSrc(t).then(function(i){this._loadImage(i).then(e),t=null}.bind(this))}.bind(this))}.bind(this))},u._getBackgroundImageSrc=function(t){return new Promise(function(e,i){a(function(){var i=t.currentStyle;return i||(i=window.getComputedStyle(t,!1)),t=null,0===i.backgroundImage.indexOf("url(")?void e(i.backgroundImage.slice(4,-1).replace(/"/g,"")):void e(null)}.bind(this))}.bind(this))},u._getProgressiveImageDataAttribute=function(){return this.loadingOptions.imageDataAttribute},u._getProgressiveImageCSSQuery=function(){return"["+this._getProgressiveImageDataAttribute()+"]"},u._getProgressiveImageElements=function(){return this.options.container.querySelectorAll(this._getProgressiveImageCSSQuery())||[]},u._loadImage=function(t){return new Promise(this._loadImagePromiseFunc.bind(this,t))},u._loadImagePromiseFunc=function(t,e,i){function n(){this.removeEventListener("load",n),e(this),e=null}if(!t)return void e(null);var r=new Image;r.addEventListener("load",n),r.src=t},u._clearTimeout=function(){this._timeout&&(window.clearTimeout(this._timeout),this._timeout=null)},u._handleImageLoad=function(t){c(function(){this.trigger(n.Events.ImageLoad,t),this.loadingOptions.imageAnimate&&t.setAttribute("data-progressive-image-loaded",""),t=null}.bind(this))},u._handleLoadingComplete=function(){this.loadingQueue.stop(),this._clearTimeout(),this.trigger(n.Events.Complete)},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-object/defaults":285,"@marcom/ac-queue":315,"@marcom/ac-raf-emitter/draw":324,"@marcom/ac-raf-emitter/update":325}],315:[function(t,e,i){"use strict";e.exports={Queue:t("./ac-queue/Queue"),QueueItem:t("./ac-queue/QueueItem"),LiveQueue:t("./ac-queue/LiveQueue")}},{"./ac-queue/LiveQueue":316,"./ac-queue/Queue":317,"./ac-queue/QueueItem":318}],316:[function(t,e,i){"use strict";function n(t){this._queue=new r,this._maxProcesses=t||1,this._availableSlots=this._maxProcesses,this._rafId=0,this._isRunning=!1,this._boundFunctions={_run:this._run.bind(this),_releaseSlot:this._releaseSlot.bind(this)}}t("@marcom/ac-polyfills/Promise"),t("@marcom/ac-polyfills/requestAnimationFrame"),t("@marcom/ac-polyfills/Function/prototype.bind");var r=t("./Queue"),s=t("./QueueItem"),o=n.prototype;o.start=function(){this._isRunning&&cancelAnimationFrame(this._rafId),this._rafId=requestAnimationFrame(this._boundFunctions._run),this._isRunning=!0},o.pause=function(){this._isRunning&&(cancelAnimationFrame(this._rafId),this._rafId=0),this._isRunning=!1},o.stop=function(){this.pause(),this.clear()},o.enqueue=function(t,e){if("function"!=typeof t)throw new Error("LiveQueue can only enqueue functions");void 0===e&&(e=r.PRIORITY_DEFAULT);var i=new s(t,e);return this.enqueueQueueItem(i)},o.enqueueQueueItem=function(t){return this._queue.enqueueQueueItem(t),this._isRunning&&0===this._rafId&&this.start(),t},o.dequeueQueueItem=function(t){return this._queue.dequeueQueueItem(t)},o.clear=function(){this._queue=new r},o.destroy=function(){this.pause(),this._isRunning=!1,this._queue=null,this._boundFunctions=null},o.count=function(){return this._queue.count()+this.pending()},o.pending=function(){return this._maxProcesses-this._availableSlots},o.isEmpty=function(){return 0===this.count()},o._run=function(){if(this._isRunning&&(this._rafId=requestAnimationFrame(this._boundFunctions._run),!this._queue.isEmpty()&&0!==this._availableSlots)){var t=this._queue.dequeue(),e=t.data();this._isPromise(e)&&(this._retainSlot(),e.then(this._boundFunctions._releaseSlot,this._boundFunctions._releaseSlot)),this._stopRunningIfDone()}},o._retainSlot=function(){this._availableSlots--},o._releaseSlot=function(){this._availableSlots++,this._stopRunningIfDone()},o._stopRunningIfDone=function(){0!=this._rafId&&0===this._queue.count()&&this._availableSlots==this._maxProcesses&&(cancelAnimationFrame(this._rafId),this._rafId=0)},o._isPromise=function(t){return!(!t||"function"!=typeof t.then)},e.exports=n},{"./Queue":317,"./QueueItem":318,"@marcom/ac-polyfills/Function/prototype.bind":void 0,"@marcom/ac-polyfills/Promise":void 0,"@marcom/ac-polyfills/requestAnimationFrame":void 0}],317:[function(t,e,i){"use strict";function n(){this._items=[]}var r=t("./QueueItem"),s=n.prototype;s.enqueue=function(t,e){void 0===e&&(e=n.PRIORITY_DEFAULT);var i=new r(t,e);return this.enqueueQueueItem(i)},s.enqueueQueueItem=function(t){return this._items.indexOf(t)===-1&&this._items.push(t),t},s.dequeue=function(){this._heapSort();var t=this._items.length-1,e=this._items[0];return this._items[0]=this._items[t],this._items.pop(),e},s.dequeueQueueItem=function(t){var e=this._items.indexOf(t);return e>-1&&this._items.splice(e,1),t},s.peek=function(){return 0==this.count()?null:(this._heapSort(),this._items[0])},s.isEmpty=function(){return 0===this._items.length},s.count=function(){return this._items.length},s.toString=function(){for(var t=["Queue total items: "+this.count()+"\n"],e=0;e<this.count();++e)t.push(this._items[e].toString()+"\n");return t.join("")},s._heapSort=function(){for(var t=0,e=this._items.length-1;e>=0;e--)for(var i=e;i>0;){t++;var n=Math.floor((i-1)/2);if(this._items[i].compareTo(this._items[n])>=0)break;var r=this._items[i];this._items[i]=this._items[n],this._items[n]=r,i=n}},n.PRIORITY_LOW=10,n.PRIORITY_DEFAULT=5,n.PRIORITY_HIGH=1,e.exports=n},{"./QueueItem":318}],318:[function(t,e,i){"use strict";function n(t,e){this.priority=e,this.data=t,this.insertionOrder=r++}var r=0,s=n.prototype;s.compareTo=function(t){return this.priority<t.priority?-1:this.priority>t.priority?1:this.insertionOrder<t.insertionOrder?-1:1},s.toString=function(){return"QueueItem {priority:"+this.priority+",\tdata:"+this.data+"\tinsertionOrder:"+this.insertionOrder+"}"},e.exports=n},{}],319:[function(t,e,i){"use strict";var n=t("@marcom/ac-shared-instance").SharedInstance,r="ac-raf-emitter-id-generator:sharedRAFEmitterIDGeneratorInstance",s="1.0.3",o=function(){this._currentID=0};o.prototype.getNewID=function(){return this._currentID++,"raf:"+this._currentID},e.exports=n.share(r,s,o)},{"@marcom/ac-shared-instance":330}],320:[function(t,e,i){"use strict";function n(t){t=t||{},s.call(this),this.id=a.getNewID(),this.executor=t.executor||o,this._reset(),this._willRun=!1,this._didDestroy=!1}var r,s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=t("@marcom/ac-raf-executor/sharedRAFExecutorInstance"),a=t("@marcom/ac-raf-emitter-id-generator/sharedRAFEmitterIDGeneratorInstance");r=n.prototype=Object.create(s.prototype),r.run=function(){return this._willRun||(this._willRun=!0),this._subscribe()},r.cancel=function(){this._unsubscribe(),this._willRun&&(this._willRun=!1),this._reset()},r.destroy=function(){var t=this.willRun();return this.cancel(),this.executor=null,s.prototype.destroy.call(this),this._didDestroy=!0,t},r.willRun=function(){return this._willRun},r.isRunning=function(){return this._isRunning},r._subscribe=function(){return this.executor.subscribe(this)},r._unsubscribe=function(){return this.executor.unsubscribe(this)},r._onAnimationFrameStart=function(t){this._isRunning=!0,this._willRun=!1,this._didEmitFrameData||(this._didEmitFrameData=!0,this.trigger("start",t))},r._onAnimationFrameEnd=function(t){this._willRun||(this.trigger("stop",t),this._reset())},r._reset=function(){this._didEmitFrameData=!1,this._isRunning=!1},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-raf-emitter-id-generator/sharedRAFEmitterIDGeneratorInstance":319,"@marcom/ac-raf-executor/sharedRAFExecutorInstance":327}],321:[function(t,e,i){"use strict";var n=t("./SingleCallRAFEmitter"),r=function(t){this.rafEmitter=new n,this.rafEmitter.on(t,this._onRAFExecuted.bind(this)),this.requestAnimationFrame=this.requestAnimationFrame.bind(this),this.cancelAnimationFrame=this.cancelAnimationFrame.bind(this),this._frameCallbacks=[],this._nextFrameCallbacks=[],this._currentFrameID=-1,this._cancelFrameIdx=-1,this._frameCallbackLength=0,this._nextFrameCallbacksLength=0,this._frameCallbackIteration=0},s=r.prototype;s.requestAnimationFrame=function(t){return this._currentFrameID=this.rafEmitter.run(),this._nextFrameCallbacks.push(this._currentFrameID,t),this._nextFrameCallbacksLength+=2,this._currentFrameID},s.cancelAnimationFrame=function(t){this._cancelFrameIdx=this._nextFrameCallbacks.indexOf(t),this._cancelFrameIdx!==-1&&(this._nextFrameCallbacks.splice(this._cancelFrameIdx,2),this._nextFrameCallbacksLength-=2,0===this._nextFrameCallbacksLength&&this.rafEmitter.cancel())},s._onRAFExecuted=function(t){for(this._frameCallbacks=this._nextFrameCallbacks,this._frameCallbackLength=this._nextFrameCallbacksLength,this._nextFrameCallbacks=[],this._nextFrameCallbacksLength=0,this._frameCallbackIteration=0;this._frameCallbackIteration<this._frameCallbackLength;this._frameCallbackIteration+=2)this._frameCallbacks[this._frameCallbackIteration+1](t.time,t)},e.exports=r},{"./SingleCallRAFEmitter":323}],322:[function(t,e,i){"use strict";var n=t("./RAFInterface"),r=function(){this.events={}},s=r.prototype;s.requestAnimationFrame=function(t){return this.events[t]||(this.events[t]=new n(t)),this.events[t].requestAnimationFrame},s.cancelAnimationFrame=function(t){return this.events[t]||(this.events[t]=new n(t)),this.events[t].cancelAnimationFrame},e.exports=new r},{"./RAFInterface":321}],323:[function(t,e,i){"use strict";var n=t("./RAFEmitter"),r=function(t){n.call(this,t)},s=r.prototype=Object.create(n.prototype);s._subscribe=function(){return this.executor.subscribe(this,!0)},e.exports=r},{"./RAFEmitter":320}],324:[function(t,e,i){"use strict";var n=t("./RAFInterfaceController");e.exports=n.requestAnimationFrame("draw")},{"./RAFInterfaceController":322}],325:[function(t,e,i){"use strict";var n=t("./RAFInterfaceController");e.exports=n.requestAnimationFrame("update")},{"./RAFInterfaceController":322}],326:[function(t,e,i){"use strict";function n(t){t=t||{},this._reset(),this._willRun=!1,this._totalSubscribeCount=-1,this._requestAnimationFrame=window.requestAnimationFrame,this._cancelAnimationFrame=window.cancelAnimationFrame,this._boundOnAnimationFrame=this._onAnimationFrame.bind(this),this._boundOnExternalAnimationFrame=this._onExternalAnimationFrame.bind(this)}t("@marcom/ac-polyfills/performance/now");var r;r=n.prototype,r.subscribe=function(t,e){return this._totalSubscribeCount++,this._nextFrameSubscribers[t.id]||(e?this._nextFrameSubscribersOrder.unshift(t.id):this._nextFrameSubscribersOrder.push(t.id),this._nextFrameSubscribers[t.id]=t,this._nextFrameSubscriberArrayLength++,this._nextFrameSubscriberCount++,this._run()),this._totalSubscribeCount},r.unsubscribe=function(t){return!!this._nextFrameSubscribers[t.id]&&(this._nextFrameSubscribers[t.id]=null,this._nextFrameSubscriberCount--,0===this._nextFrameSubscriberCount&&this._cancel(),!0)},r.trigger=function(t,e){var i;for(i=0;i<this._subscriberArrayLength;i++)null!==this._subscribers[this._subscribersOrder[i]]&&this._subscribers[this._subscribersOrder[i]]._didDestroy===!1&&this._subscribers[this._subscribersOrder[i]].trigger(t,e)},r.destroy=function(){var t=this._cancel();return this._subscribers=null,this._subscribersOrder=null,this._nextFrameSubscribers=null,this._nextFrameSubscribersOrder=null,this._rafData=null,this._boundOnAnimationFrame=null,this._onExternalAnimationFrame=null,t},r.useExternalAnimationFrame=function(t){if("boolean"==typeof t){var e=this._isUsingExternalAnimationFrame;return t&&this._animationFrame&&(this._cancelAnimationFrame.call(window,this._animationFrame),this._animationFrame=null),!this._willRun||t||this._animationFrame||(this._animationFrame=this._requestAnimationFrame.call(window,this._boundOnAnimationFrame)),this._isUsingExternalAnimationFrame=t,t?this._boundOnExternalAnimationFrame:e||!1}},r._run=function(){if(!this._willRun)return this._willRun=!0,0===this.lastFrameTime&&(this.lastFrameTime=performance.now()),this._animationFrameActive=!0,this._isUsingExternalAnimationFrame||(this._animationFrame=this._requestAnimationFrame.call(window,this._boundOnAnimationFrame)),!0},r._cancel=function(){var t=!1;return this._animationFrameActive&&(this._animationFrame&&(this._cancelAnimationFrame.call(window,this._animationFrame),
this._animationFrame=null),this._animationFrameActive=!1,this._willRun=!1,t=!0),this._isRunning||this._reset(),t},r._onSubscribersAnimationFrameStart=function(t){var e;for(e=0;e<this._subscriberArrayLength;e++)null!==this._subscribers[this._subscribersOrder[e]]&&this._subscribers[this._subscribersOrder[e]]._didDestroy===!1&&this._subscribers[this._subscribersOrder[e]]._onAnimationFrameStart(t)},r._onSubscribersAnimationFrameEnd=function(t){var e;for(e=0;e<this._subscriberArrayLength;e++)null!==this._subscribers[this._subscribersOrder[e]]&&this._subscribers[this._subscribersOrder[e]]._didDestroy===!1&&this._subscribers[this._subscribersOrder[e]]._onAnimationFrameEnd(t)},r._onAnimationFrame=function(t){this._subscribers=this._nextFrameSubscribers,this._subscribersOrder=this._nextFrameSubscribersOrder,this._subscriberArrayLength=this._nextFrameSubscriberArrayLength,this._subscriberCount=this._nextFrameSubscriberCount,this._nextFrameSubscribers={},this._nextFrameSubscribersOrder=[],this._nextFrameSubscriberArrayLength=0,this._nextFrameSubscriberCount=0,this._isRunning=!0,this._willRun=!1,this._didRequestNextRAF=!1,this._rafData.delta=t-this.lastFrameTime,this.lastFrameTime=t,this._rafData.fps=0,this._rafData.delta>=1e3&&(this._rafData.delta=0),0!==this._rafData.delta&&(this._rafData.fps=1e3/this._rafData.delta),this._rafData.time=t,this._rafData.naturalFps=this._rafData.fps,this._rafData.timeNow=Date.now(),this._onSubscribersAnimationFrameStart(this._rafData),this.trigger("update",this._rafData),this.trigger("external",this._rafData),this.trigger("draw",this._rafData),this._onSubscribersAnimationFrameEnd(this._rafData),this._willRun||this._reset()},r._onExternalAnimationFrame=function(t){this._isUsingExternalAnimationFrame&&this._onAnimationFrame(t)},r._reset=function(){this._rafData={time:0,delta:0,fps:0,naturalFps:0,timeNow:0},this._subscribers={},this._subscribersOrder=[],this._subscriberArrayLength=0,this._subscriberCount=0,this._nextFrameSubscribers={},this._nextFrameSubscribersOrder=[],this._nextFrameSubscriberArrayLength=0,this._nextFrameSubscriberCount=0,this._didEmitFrameData=!1,this._animationFrame=null,this._animationFrameActive=!1,this._isRunning=!1,this._shouldReset=!1,this.lastFrameTime=0},e.exports=n},{"@marcom/ac-polyfills/performance/now":void 0}],327:[function(t,e,i){"use strict";var n=t("@marcom/ac-shared-instance").SharedInstance,r="ac-raf-executor:sharedRAFExecutorInstance",s="2.0.1",o=t("./RAFExecutor");e.exports=n.share(r,s,o)},{"./RAFExecutor":326,"@marcom/ac-shared-instance":330}],328:[function(t,e,i){"use strict";var n=(t("@marcom/ac-dom-traversal/querySelectorAll"),t("@marcom/ac-object/clone")),r=t("@marcom/sm-math-utils").lerp,s=t("@marcom/ac-browser-prefixed"),o=t("@marcom/ac-viewport").Viewport,a=t("@marcom/ac-dom-metrics"),c=t("@marcom/ac-scroll-motion-emitter/ScrollMotionEmitter"),l={pin:!1,duration:0,delay:0,scrollStart:!1,friction:4,translateTo:[0,0],translateFrom:[0,0],scaleTo:1,scaleFrom:1,rotateTo:0,rotateFrom:0,fadeTo:1,fadeFrom:1,blurTo:0,blurFrom:0,overrideScroll:!1,smooth:!0,scrollMotionEmitter:null},h=["blurTo","blurFrom"],u=["translateTo","translateFrom","scaleTo","scaleFrom","rotateTo","rotateFrom"],m=["fadeTo","fadeFrom"],d=t("@marcom/ac-feature/threeDTransformsAvailable")(),p=function(t,e){this.el=t,this.options=this._overrideDefaultOptions(e),this.transforms={},this._update=this._update.bind(this),this._memoizeMetrics(),this._setEmitterBounds(),this._initScrollMotionEmitter(),this._setupEvents(),this._isAnimating=!1,this.handleScroll(o.scrollY())},f=p.prototype;f.destroy=function(){this._teardownEvents(),this.scrollMotionEmitter.destroy(),this.scrollMotionEmitter=null,this.el=null,this.options=null},f.setOption=function(t,e){this.options[t]=e,"duration"!==t&&"delay"!==t||this._setEmitterBounds()},f.handleScroll=function(t){this.scrollMotionEmitter.handleScroll(t)},f.getTransform=function(t){return this.transforms[t]},f.getOpacity=function(t){return this.opacity},f._overrideDefaultOptions=function(t){var e,i=Object.assign(n(l),t);for(e in t)u.indexOf(e)>-1?this.hasTransform=!0:m.indexOf(e)>-1?this.hasFade=!0:h.indexOf(e)>-1&&(this.hasBlur=!0);return i},f._setEmitterBounds=function(){this.options.scrollStart||0===this.options.scrollStart?this._emitterMin=this.options.scrollStart:this._emitterMin=this.elTop-this.windowHeight+this.options.delay+this.options.translateFrom[1],this._emitterMax=this._emitterMin+this.options.duration,this.scrollMotionEmitter&&(this.scrollMotionEmitter.min=this._emitterMin,this.scrollMotionEmitter.max=this._emitterMax)},f._memoizeMetrics=function(){this.windowHeight=o.clientHeight(),this.elHeight=a.getDimensions(this.el).height,this.elTop=a.getPagePosition(this.el).top},f._initScrollMotionEmitter=function(){this.options.scrollMotionEmitter?this.scrollMotionEmitter=this.options.scrollMotionEmitter:this.scrollMotionEmitter=new c({smooth:this.options.smooth,overrideScroll:this.options.overrideScroll,min:this._emitterMin,max:this._emitterMax,friction:this.options.friction})},f._setupEvents=function(){this.scrollMotionEmitter.on("draw",this._update)},f._teardownEvents=function(){this.scrollMotionEmitter.off("draw",this._update)},f._setElementTransform=function(){if(this.hasTransform){this.transforms.translateY=r(this._progress,this.options.translateFrom[1],this.options.translateTo[1]),this.transforms.translateX=r(this._progress,this.options.translateFrom[0],this.options.translateTo[0]),this.transforms.rotate=r(this._progress,this.options.rotateFrom,this.options.rotateTo),this.transforms.scale=r(this._progress,this.options.scaleFrom,this.options.scaleTo);var t=1==this.transforms.scale?"":"scale("+this.transforms.scale+","+this.transforms.scale+") ",e=0==this.transforms.rotate?"":" rotate("+this.transforms.rotate+"deg)";d?this.el.style[s.transform]=t+"translate3d("+this.transforms.translateX+"px,"+this.transforms.translateY+"px,0)"+e:this.el.style[s.transform]=t+"translate("+this.transforms.translateX+"px,"+this.transforms.translateY+"px)"+e}},f._setElementOpacity=function(){this.hasFade&&(this.opacity=r(this._progress,this.options.fadeFrom,this.options.fadeTo),this.el.style.opacity=this.opacity)},f._setStatus=function(){this._progress>0&&this._progress<1&&!this._isAnimating?(this._isAnimating=!0,this.el.classList.remove("has-animated"),this.el.classList.remove("has-not-animated"),this.el.classList.add("is-animating")):this._progress>=1&&this._isAnimating?(this._isAnimating=!1,this.el.classList.remove("is-animating"),this.el.classList.remove("has-not-animated"),this.el.classList.add("has-animated")):this._progress<=0&&this._isAnimating&&(this._isAnimating=!1,this.el.classList.remove("is-animating"),this.el.classList.remove("has-animated"),this.el.classList.add("has-not-animated"))},f._update=function(t){isNaN(t.progress)||(this._progress=t.progress,this._setElementTransform(),this._setElementOpacity())},e.exports=p},{"@marcom/ac-browser-prefixed":24,"@marcom/ac-dom-metrics":78,"@marcom/ac-dom-traversal/querySelectorAll":126,"@marcom/ac-feature/threeDTransformsAvailable":194,"@marcom/ac-object/clone":283,"@marcom/ac-scroll-motion-emitter/ScrollMotionEmitter":329,"@marcom/ac-viewport":351,"@marcom/sm-math-utils":371}],329:[function(t,e,i){"use strict";function n(t){return t=t||{},"number"!=typeof t.min||"number"!=typeof t.max?null:(a.call(this,t),this.smooth=this.options.smooth||!1,this.unsmoothedStopTimeout=this.options.unsmoothedStopTimeout||1250,this.options.overrideScroll||this._bindScrollEvents(),void(this._rafEmitterStopTimeout=null))}t("@marcom/ac-polyfills/Function/prototype.bind"),t("@marcom/ac-polyfills/Object/create");var r=t("@marcom/ac-dom-events/utils/addEventListener"),s=t("@marcom/ac-dom-events/utils/removeEventListener"),o=t("@marcom/ac-dom-metrics/getScrollY"),a=t("@marcom/ac-motion-emitter/MotionEmitter"),c=a.prototype,l=n.prototype=Object.create(c);l.updateValue=function(t){return this.smooth?c.updateValue.call(this,t):this._currentValue===this._targetValue?void(this._shouldEmitChange=!1):(this._currentValue=this._targetValue,void(this._shouldEmitChange=!0))},l.handleScroll=function(t){"number"!=typeof t&&(t=o());var e;e=t<this.min?this.min:t>this.max?this.max:t,e=(e-this.min)/(this.max-this.min),this.setProgress(e)},l.destroy=function(){return this._boundHandleScroll&&s(window,"scroll",this._boundHandleScroll),c.destroy.call(this)},l._bindScrollEvents=function(){this._boundHandleScroll=this.handleScroll.bind(this),r(window,"scroll",this._boundHandleScroll)},l._handleRAFEmitterUpdate=function(t){this._rafEmitterStopTimeout&&this.rafEmitter.run(),a.prototype._handleRAFEmitterUpdate.call(this,t)},l._handleRAFEmitterStop=function(t){return this.smooth?void a.prototype._handleRAFEmitterStop.call(this,t):void this._bindRAFEmitterUnsmoothedStopTimeout(t)},l._bindRAFEmitterUnsmoothedStopTimeout=function(t){this._rafEmitterStopTimeout&&clearTimeout(this._rafEmitterStopTimeout),this._rafEmitterStopTimeout=setTimeout(this._onRAFEmitterUnsmoothedStop.bind(this,t),this.unsmoothedStopTimeout)},l._onRAFEmitterUnsmoothedStop=function(t){this._rafEmitterStopTimeout=null,a.prototype._handleRAFEmitterStop.call(this,t)},e.exports=n},{"@marcom/ac-dom-events/utils/addEventListener":75,"@marcom/ac-dom-events/utils/removeEventListener":77,"@marcom/ac-dom-metrics/getScrollY":86,"@marcom/ac-motion-emitter/MotionEmitter":275,"@marcom/ac-polyfills/Function/prototype.bind":void 0,"@marcom/ac-polyfills/Object/create":void 0}],330:[function(t,e,i){"use strict";e.exports={SharedInstance:t("./ac-shared-instance/SharedInstance")}},{"./ac-shared-instance/SharedInstance":331}],331:[function(t,e,i){"use strict";var n=window,r="AC",s="SharedInstance",o=n[r],a=function(){var t={};return{get:function(e,i){var n=null;return t[e]&&t[e][i]&&(n=t[e][i]),n},set:function(e,i,n){return t[e]||(t[e]={}),"function"==typeof n?t[e][i]=new n:t[e][i]=n,t[e][i]},share:function(t,e,i){var n=this.get(t,e);return n||(n=this.set(t,e,i)),n},remove:function(e,i){var n=typeof i;if("string"===n||"number"===n){if(!t[e]||!t[e][i])return;return void(t[e][i]=null)}t[e]&&(t[e]=null)}}}();o||(o=n[r]={}),o[s]||(o[s]=a),e.exports=o[s]},{}],332:[function(t,e,i){"use strict";var n=t("@marcom/ac-eclipse").Clip,r=t("@marcom/ac-feature/cssPropertyAvailable");e.exports=function(t,e,i,s,o){if(r("opacity")){if(o=o||{},s)return o.autoplay=o.autoplay!==!1||o.autoplay,o.propsFrom=o.propsFrom||{},o.propsFrom.opacity=e,o.autoplay?n.to(t,s,{opacity:i},o):new n(t,s,{opacity:i},o);t.style.opacity=i,"function"==typeof o.onStart&&o.onStart(),"function"==typeof o.onComplete&&o.onComplete()}else t.style.visibility=i?"visible":"hidden","function"==typeof o.onStart&&o.onStart(),"function"==typeof o.onComplete&&o.onComplete()}},{"@marcom/ac-eclipse":140,"@marcom/ac-feature/cssPropertyAvailable":179}],333:[function(t,e,i){"use strict";var n=t("@marcom/ac-eclipse").Clip,r=t("@marcom/ac-feature/cssPropertyAvailable");e.exports=function(t,e,i){var s=1;if(i=i||{},r("opacity")){if(e)return i.autoplay=i.autoplay!==!1||i.autoplay,i.autoplay?n.to(t,e,{opacity:s},i):new n(t,e,{opacity:s},i);t.style.opacity=s,"function"==typeof i.onStart&&i.onStart(),"function"==typeof i.onComplete&&i.onComplete()}else t.style.visibility="visible","function"==typeof i.onStart&&i.onStart(),"function"==typeof i.onComplete&&i.onComplete()}},{"@marcom/ac-eclipse":140,"@marcom/ac-feature/cssPropertyAvailable":179}],334:[function(t,e,i){"use strict";var n=t("@marcom/ac-eclipse").Clip,r=t("@marcom/ac-feature/cssPropertyAvailable");e.exports=function(t,e,i){var s=0;if(i=i||{},r("opacity")){if(e)return i.autoplay=i.autoplay!==!1||i.autoplay,i.autoplay?n.to(t,e,{opacity:s},i):new n(t,e,{opacity:s},i);t.style.opacity=s,"function"==typeof i.onStart&&i.onStart(),"function"==typeof i.onComplete&&i.onComplete()}else t.style.visibility="hidden","function"==typeof i.onStart&&i.onStart(),"function"==typeof i.onComplete&&i.onComplete()}},{"@marcom/ac-eclipse":140,"@marcom/ac-feature/cssPropertyAvailable":179}],335:[function(t,e,i){"use strict";var n=t("@marcom/ac-eclipse").Clip,r=t("@marcom/ac-dom-styles");e.exports=function(t,e,i,s,o){o=o||{},o.autoplay=o.autoplay!==!1||o.autoplay;var a,c=o.onStart||null,l=o.onComplete||null;return a={transform:{translateX:e+"px",translateY:i+"px"}},s?(o.onStart=function(){t.style.willChange="transform",null!==c&&c.call(this)},o.onComplete=function(){t.style.willChange="",null!==l&&l.call(this)},o.autoplay?n.to(t,s,a,o):new n(t,s,a,o)):(r.setStyle(t,a),"function"==typeof o.onStart&&o.onStart(),void("function"==typeof o.onComplete&&o.onComplete()))}},{"@marcom/ac-dom-styles":117,"@marcom/ac-eclipse":140}],336:[function(t,e,i){"use strict";var n=t("@marcom/ac-browser-prefixed"),r=t("@marcom/ac-transform").Transform,s=t("./move");e.exports=function(t,e,i,o){var a=new r;return a.setMatrixValue(getComputedStyle(t)[n.transform]),s(t,e,a.getTranslateY(),i,o)}},{"./move":335,"@marcom/ac-browser-prefixed":24,"@marcom/ac-transform":339}],337:[function(t,e,i){"use strict";var n=t("@marcom/ac-eclipse").Clip;e.exports=function(t,e,i,r,s){s=s||{},s.autoplay=s.autoplay!==!1||s.autoplay;var o,a,c=t===window;c?(o=t.pageXOffset,a=t.pageYOffset):(o=t.scrollLeft,a=t.scrollTop);var l={x:o,y:a},h={x:e,y:i};if("function"==typeof s.onDraw)var u=s.onDraw;var m=function(e){c?t.scrollTo(l.x,l.y):(t.scrollLeft=l.x,t.scrollTop=l.y),u&&u.call(this,e)};return s.onDraw=m,s.autoplay?n.to(l,r,h,s):new n(l,r,h,s)}},{"@marcom/ac-eclipse":140}],338:[function(t,e,i){"use strict";var n=t("./scroll");e.exports=function(t,e,i,r){var s,o=t===window;return s=o?t.pageYOffset:t.scrollTop,n(t,e,s,i,r)}},{"./scroll":337}],339:[function(t,e,i){"use strict";e.exports={Transform:t("./ac-transform/Transform")}},{"./ac-transform/Transform":340}],340:[function(t,e,i){"use strict";function n(){this.m=r.create()}var r=t("./gl-matrix/mat4"),s=t("./gl-matrix/vec3"),o=t("./gl-matrix/vec4"),a=Math.PI/180,c=180/Math.PI,l=0,h=0,u=1,m=1,d=2,p=3,f=4,_=4,g=5,v=5,b=6,y=7,E=8,w=9,T=10,A=11,S=12,x=12,C=13,O=13,P=14,I=15,D=n.prototype;D.rotateX=function(t){var e=a*t;return r.rotateX(this.m,this.m,e),this},D.rotateY=function(t){var e=a*t;return r.rotateY(this.m,this.m,e),this},D.rotateZ=function(t){var e=a*t;return r.rotateZ(this.m,this.m,e),this},D.rotate=D.rotateZ,D.rotate3d=function(t,e,i,n){null!==e&&void 0!==e||(e=t),null!==i&&void 0!==e||(i=t);var s=a*n;return r.rotate(this.m,this.m,s,[t,e,i]),this},D.rotateAxisAngle=D.rotate3d,D.scale=function(t,e){return e=e||t,r.scale(this.m,this.m,[t,e,1]),this},D.scaleX=function(t){return r.scale(this.m,this.m,[t,1,1]),this},D.scaleY=function(t){return r.scale(this.m,this.m,[1,t,1]),this},D.scaleZ=function(t){return r.scale(this.m,this.m,[1,1,t]),this},D.scale3d=function(t,e,i){return r.scale(this.m,this.m,[t,e,i]),this},D.skew=function(t,e){if(null===e||void 0===e)return this.skewX(t);t=a*t,e=a*e;var i=r.create();return i[_]=Math.tan(t),i[m]=Math.tan(e),r.multiply(this.m,this.m,i),this},D.skewX=function(t){t=a*t;var e=r.create();return e[_]=Math.tan(t),r.multiply(this.m,this.m,e),this},D.skewY=function(t){t=a*t;var e=r.create();return e[m]=Math.tan(t),r.multiply(this.m,this.m,e),this},D.translate=function(t,e){return e=e||0,r.translate(this.m,this.m,[t,e,0]),this},D.translate3d=function(t,e,i){return r.translate(this.m,this.m,[t,e,i]),this},D.translateX=function(t){return r.translate(this.m,this.m,[t,0,0]),this},D.translateY=function(t){return r.translate(this.m,this.m,[0,t,0]),this},D.translateZ=function(t){return r.translate(this.m,this.m,[0,0,t]),this},D.perspective=function(t){var e=r.create();0!==t&&(e[A]=-1/t),r.multiply(this.m,this.m,e)},D.inverse=function(){var t=this.clone();return t.m=r.invert(t.m,this.m),t},D.reset=function(){return r.identity(this.m),this},D.getTranslateXY=function(){var t=this.m;return this.isAffine()?[t[x],t[O]]:[t[S],t[C]]},D.getTranslateXYZ=function(){var t=this.m;return this.isAffine()?[t[x],t[O],0]:[t[S],t[C],t[P]]},D.getTranslateX=function(){var t=this.m;return this.isAffine()?t[x]:t[S]},D.getTranslateY=function(){var t=this.m;return this.isAffine()?t[O]:t[C]},D.getTranslateZ=function(){var t=this.m;return this.isAffine()?0:t[P]},D.clone=function(){var t=new n;return t.m=r.clone(this.m),t},D.toArray=function(){var t=this.m;return this.isAffine()?[t[h],t[m],t[_],t[v],t[x],t[O]]:[t[l],t[u],t[d],t[p],t[f],t[g],t[b],t[y],t[E],t[w],t[T],t[A],t[S],t[C],t[P],t[I]]},D.fromArray=function(t){return this.m=Array.prototype.slice.call(t),this},D.setMatrixValue=function(t){t=String(t).trim();var e=r.create();if("none"===t)return this.m=e,this;var i,n,s=t.slice(0,t.indexOf("("));if("matrix3d"===s)for(i=t.slice(9,-1).split(","),n=0;n<i.length;n++)e[n]=parseFloat(i[n]);else{if("matrix"!==s)throw new TypeError("Invalid Matrix Value");for(i=t.slice(7,-1).split(","),n=i.length;n--;)i[n]=parseFloat(i[n]);e[l]=i[0],e[u]=i[1],e[S]=i[4],e[f]=i[2],e[g]=i[3],e[C]=i[5]}return this.m=e,this};var F=function(t){return Math.abs(t)<1e-4};D.decompose=function(t){t=t||!1;for(var e=r.clone(this.m),i=s.create(),n=s.create(),a=s.create(),l=o.create(),h=o.create(),u=(s.create(),0);u<16;u++)e[u]/=e[I];var m=r.clone(e);m[p]=0,m[y]=0,m[A]=0,m[I]=1;var d=(e[3],e[7],e[11],e[12]),f=e[13],_=e[14],g=(e[15],o.create());if(F(e[p])&&F(e[y])&&F(e[A]))l=o.fromValues(0,0,0,1);else{g[0]=e[p],g[1]=e[y],g[2]=e[A],g[3]=e[I];var v=r.invert(r.create(),m),b=r.transpose(r.create(),v);l=o.transformMat4(l,g,b)}i[0]=d,i[1]=f,i[2]=_;var E=[s.create(),s.create(),s.create()];E[0][0]=e[0],E[0][1]=e[1],E[0][2]=e[2],E[1][0]=e[4],E[1][1]=e[5],E[1][2]=e[6],E[2][0]=e[8],E[2][1]=e[9],E[2][2]=e[10],n[0]=s.length(E[0]),s.normalize(E[0],E[0]),a[0]=s.dot(E[0],E[1]),E[1]=this._combine(E[1],E[0],1,-a[0]),n[1]=s.length(E[1]),s.normalize(E[1],E[1]),a[0]/=n[1],a[1]=s.dot(E[0],E[2]),E[2]=this._combine(E[2],E[0],1,-a[1]),a[2]=s.dot(E[1],E[2]),E[2]=this._combine(E[2],E[1],1,-a[2]),n[2]=s.length(E[2]),s.normalize(E[2],E[2]),a[1]/=n[2],a[2]/=n[2];var w=s.cross(s.create(),E[1],E[2]);if(s.dot(E[0],w)<0)for(u=0;u<3;u++)n[u]*=-1,E[u][0]*=-1,E[u][1]*=-1,E[u][2]*=-1;h[0]=.5*Math.sqrt(Math.max(1+E[0][0]-E[1][1]-E[2][2],0)),h[1]=.5*Math.sqrt(Math.max(1-E[0][0]+E[1][1]-E[2][2],0)),h[2]=.5*Math.sqrt(Math.max(1-E[0][0]-E[1][1]+E[2][2],0)),h[3]=.5*Math.sqrt(Math.max(1+E[0][0]+E[1][1]+E[2][2],0)),E[2][1]>E[1][2]&&(h[0]=-h[0]),E[0][2]>E[2][0]&&(h[1]=-h[1]),E[1][0]>E[0][1]&&(h[2]=-h[2]);var T=o.fromValues(h[0],h[1],h[2],2*Math.acos(h[3])),S=this._rotationFromQuat(h);return t&&(a[0]=Math.round(a[0]*c*100)/100,a[1]=Math.round(a[1]*c*100)/100,a[2]=Math.round(a[2]*c*100)/100,S[0]=Math.round(S[0]*c*100)/100,S[1]=Math.round(S[1]*c*100)/100,S[2]=Math.round(S[2]*c*100)/100,T[3]=Math.round(T[3]*c*100)/100),{translation:i,scale:n,skew:a,perspective:l,quaternion:h,eulerRotation:S,axisAngle:T}},D.recompose=function(t,e,i,n,a){t=t||s.create(),e=e||s.create(),i=i||s.create(),n=n||o.create(),a=a||o.create();var c=r.fromRotationTranslation(r.create(),a,t);c[p]=n[0],c[y]=n[1],c[A]=n[2],c[I]=n[3];var l=r.create();return 0!==i[2]&&(l[w]=i[2],r.multiply(c,c,l)),0!==i[1]&&(l[w]=0,l[E]=i[1],r.multiply(c,c,l)),i[0]&&(l[E]=0,l[4]=i[0],r.multiply(c,c,l)),r.scale(c,c,e),this.m=c,this},D.isAffine=function(){return 0===this.m[d]&&0===this.m[p]&&0===this.m[b]&&0===this.m[y]&&0===this.m[E]&&0===this.m[w]&&1===this.m[T]&&0===this.m[A]&&0===this.m[P]&&1===this.m[I]},D.toString=function(){var t=this.m;return this.isAffine()?"matrix("+t[h]+", "+t[m]+", "+t[_]+", "+t[v]+", "+t[x]+", "+t[O]+")":"matrix3d("+t[l]+", "+t[u]+", "+t[d]+", "+t[p]+", "+t[f]+", "+t[g]+", "+t[b]+", "+t[y]+", "+t[E]+", "+t[w]+", "+t[T]+", "+t[A]+", "+t[S]+", "+t[C]+", "+t[P]+", "+t[I]+")"},D.toCSSString=D.toString,D._combine=function(t,e,i,n){var r=s.create();return r[0]=i*t[0]+n*e[0],r[1]=i*t[1]+n*e[1],r[2]=i*t[2]+n*e[2],r},D._matrix2dToMat4=function(t){for(var e=r.create(),i=0;i<4;i++)for(var n=0;n<4;n++)e[4*i+n]=t[i][n];return e},D._mat4ToMatrix2d=function(t){for(var e=[],i=0;i<4;i++){e[i]=[];for(var n=0;n<4;n++)e[i][n]=t[4*i+n]}return e},D._rotationFromQuat=function(t){var e,i,n,r=t[3]*t[3],o=t[0]*t[0],a=t[1]*t[1],c=t[2]*t[2],l=o+a+c+r,h=t[0]*t[1]+t[2]*t[3];return h>.499*l?(i=2*Math.atan2(t[0],t[3]),n=Math.PI/2,e=0,s.fromValues(e,i,n)):h<-.499*l?(i=-2*Math.atan2(t[0],t[3]),n=-Math.PI/2,e=0,s.fromValues(e,i,n)):(i=Math.atan2(2*t[1]*t[3]-2*t[0]*t[2],o-a-c+r),n=Math.asin(2*h/l),e=Math.atan2(2*t[0]*t[3]-2*t[1]*t[2],-o+a-c+r),s.fromValues(e,i,n))},e.exports=n},{"./gl-matrix/mat4":341,"./gl-matrix/vec3":342,"./gl-matrix/vec4":343}],341:[function(t,e,i){var n={create:t("gl-mat4/create"),rotate:t("gl-mat4/rotate"),rotateX:t("gl-mat4/rotateX"),rotateY:t("gl-mat4/rotateY"),rotateZ:t("gl-mat4/rotateZ"),scale:t("gl-mat4/scale"),multiply:t("gl-mat4/multiply"),translate:t("gl-mat4/translate"),invert:t("gl-mat4/invert"),clone:t("gl-mat4/clone"),transpose:t("gl-mat4/transpose"),identity:t("gl-mat4/identity"),fromRotationTranslation:t("gl-mat4/fromRotationTranslation")};e.exports=n},{"gl-mat4/clone":389,"gl-mat4/create":390,"gl-mat4/fromRotationTranslation":391,"gl-mat4/identity":392,"gl-mat4/invert":393,"gl-mat4/multiply":394,"gl-mat4/rotate":395,"gl-mat4/rotateX":396,"gl-mat4/rotateY":397,"gl-mat4/rotateZ":398,"gl-mat4/scale":399,"gl-mat4/translate":400,"gl-mat4/transpose":401}],342:[function(t,e,i){var n={create:t("gl-vec3/create"),dot:t("gl-vec3/dot"),normalize:t("gl-vec3/normalize"),length:t("gl-vec3/length"),cross:t("gl-vec3/cross"),fromValues:t("gl-vec3/fromValues")};e.exports=n},{"gl-vec3/create":402,"gl-vec3/cross":403,"gl-vec3/dot":404,"gl-vec3/fromValues":405,"gl-vec3/length":406,"gl-vec3/normalize":407}],343:[function(t,e,i){var n={create:t("gl-vec4/create"),transformMat4:t("gl-vec4/transformMat4"),fromValues:t("gl-vec4/fromValues")};e.exports=n},{"gl-vec4/create":408,"gl-vec4/fromValues":409,"gl-vec4/transformMat4":410}],344:[function(t,e,i){"use strict";e.exports=function(t,e){var i="&",n="";if(t){var r=Object.keys(t),s=r.length-1;r.forEach(function(e,r){var o=t[e];e=e.trim(),o=o&&"string"==typeof o?o.trim():o,o=null===o?"":"="+o;var a=e+o+(r===s?"":i);n=n?n.concat(a):a})}return n&&e!==!1?"?"+n:n}},{}],345:[function(t,e,i){"use strict";var n={ua:window.navigator.userAgent,platform:window.navigator.platform,vendor:window.navigator.vendor};e.exports=t("./parseUserAgent")(n)},{"./parseUserAgent":348}],346:[function(t,e,i){"use strict";e.exports={browser:{safari:!1,chrome:!1,firefox:!1,ie:!1,opera:!1,android:!1,edge:!1,version:{name:"",major:0,minor:0,patch:0,documentMode:!1}},os:{osx:!1,ios:!1,android:!1,windows:!1,linux:!1,fireos:!1,chromeos:!1,version:{name:"",major:0,minor:0,patch:0}}}},{}],347:[function(t,e,i){"use strict";e.exports={browser:[{name:"edge",userAgent:"Edge",version:["rv","Edge"],test:function(t){return t.ua.indexOf("Edge")>-1||"Mozilla/5.0 (Windows NT 10.0; Win64; x64)"===t.ua}},{name:"chrome",userAgent:"Chrome"},{name:"firefox",test:function(t){return t.ua.indexOf("Firefox")>-1&&t.ua.indexOf("Opera")===-1},version:"Firefox"},{name:"android",userAgent:"Android"},{name:"safari",test:function(t){return t.ua.indexOf("Safari")>-1&&t.vendor.indexOf("Apple")>-1},version:"Version"},{name:"ie",test:function(t){return t.ua.indexOf("IE")>-1||t.ua.indexOf("Trident")>-1},version:["MSIE","rv"],parseDocumentMode:function(){var t=!1;return document.documentMode&&(t=parseInt(document.documentMode,10)),t}},{name:"opera",userAgent:"Opera",version:["Version","Opera"]}],os:[{name:"windows",test:function(t){return t.platform.indexOf("Win")>-1},version:"Windows NT"},{name:"osx",userAgent:"Mac",test:function(t){return t.platform.indexOf("Mac")>-1}},{name:"ios",test:function(t){return t.ua.indexOf("iPhone")>-1||t.ua.indexOf("iPad")>-1},version:["iPhone OS","CPU OS"]},{name:"linux",userAgent:"Linux",test:function(t){return t.platform.indexOf("Linux")>-1&&t.ua.indexOf("Android")===-1}},{name:"fireos",test:function(t){return t.ua.indexOf("Firefox")>-1&&t.ua.indexOf("Mobile")>-1},version:"rv"},{name:"android",userAgent:"Android"},{name:"chromeos",userAgent:"CrOS"}]}},{}],348:[function(t,e,i){"use strict";function n(t){return new RegExp(t+"[a-zA-Z\\s/:]+([0-9_.]+)","i")}function r(t,e){if("function"==typeof t.parseVersion)return t.parseVersion(e);var i=t.version||t.userAgent;"string"==typeof i&&(i=[i]);for(var r,s=i.length,o=0;o<s;o++)if(r=e.match(n(i[o])),r&&r.length>1)return r[1].replace(/_/g,".")}function s(t,e,i){for(var n,s,o=t.length,a=0;a<o;a++)if("function"==typeof t[a].test?t[a].test(i)===!0&&(n=t[a].name):i.ua.indexOf(t[a].userAgent)>-1&&(n=t[a].name),n){if(e[n]=!0,s=r(t[a],i.ua),"string"==typeof s){var c=s.split(".");e.version.name=s,c&&c.length>0&&(e.version.major=parseInt(c[0]||0),e.version.minor=parseInt(c[1]||0),e.version.patch=parseInt(c[2]||0))}else"edge"===n&&(e.version.name="12.0.0",e.version.major="12",e.version.minor="0",e.version.patch="0");return"function"==typeof t[a].parseDocumentMode&&(e.version.documentMode=t[a].parseDocumentMode()),e}return e}function o(t){var e={};return e.browser=s(c.browser,a.browser,t),e.os=s(c.os,a.os,t),e}var a=t("./defaults"),c=t("./dictionary");e.exports=o},{"./defaults":346,"./dictionary":347}],349:[function(t,e,i){"use strict";function n(t){r.call(this),this._initializeElement(t),o()&&(this._updateViewport=this._updateViewport.bind(this),s(window,"resize",this._updateViewport),s(window,"orientationchange",this._updateViewport),this._retinaQuery=window.matchMedia(l),this._updateRetina(),this._retinaQuery.addListener&&(this._updateRetina=this._updateRetina.bind(this),this._retinaQuery.addListener(this._updateRetina))),this._updateViewport()}t("@marcom/ac-polyfills/Function/prototype.bind"),t("@marcom/ac-polyfills/Object/keys"),t("@marcom/ac-polyfills/Object/create");var r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s=t("@marcom/ac-dom-events/utils/addEventListener"),o=t("@marcom/ac-feature/mediaQueriesAvailable"),a="viewport-emitter",c="::before",l="only screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 1.5dppx), screen and (min-resolution: 144dpi)",h=n.prototype=Object.create(r.prototype);h.viewport=!1,h.retina=!1,h._initializeElement=function(t){var e;t=t||a,e=document.getElementById(t),e||(e=document.createElement("div"),e.id=t,e=document.body.appendChild(e)),this._el=e},h._getElementContent=function(){var t;return"currentStyle"in this._el?t=this._el.currentStyle["x-content"]:(this._invalidateStyles(),t=window.getComputedStyle(this._el,c).content),t&&(t=t.replace(/["']/g,"")),!!t&&t},h._updateViewport=function(){var t,e=this.viewport;this.viewport=this._getElementContent(),this.viewport&&(this.viewport=this.viewport.split(":").pop()),e&&this.viewport!==e&&(t={from:e,to:this.viewport},this.trigger("change",t),this.trigger("from:"+e,t),this.trigger("to:"+this.viewport,t))},h._updateRetina=function(t){var e=this.retina;this.retina=this._retinaQuery.matches,e!==this.retina&&this.trigger("retinachange",{from:e,to:this.retina})},h._invalidateStyles=function(){document.documentElement.clientWidth,this._el.innerHTML=" "===this._el.innerHTML?" ":" ",document.documentElement.clientWidth},e.exports=n},{"@marcom/ac-dom-events/utils/addEventListener":75,"@marcom/ac-event-emitter-micro":170,"@marcom/ac-feature/mediaQueriesAvailable":190,"@marcom/ac-polyfills/Function/prototype.bind":void 0,"@marcom/ac-polyfills/Object/create":void 0,"@marcom/ac-polyfills/Object/keys":void 0}],350:[function(t,e,i){"use strict";var n=t("./ViewportEmitter");e.exports=new n},{"./ViewportEmitter":349}],351:[function(t,e,i){"use strict";e.exports={Viewport:t("./ac-viewport/Viewport")}},{"./ac-viewport/Viewport":352}],352:[function(t,e,i){"use strict";function n(t){var e,i=o;for(e in i)i.hasOwnProperty(e)?this[e]=i[e]:r[e]=i[e];this.addCustomEvent(a.getCustomEvent())}var r,s=t("@marcom/ac-shared-instance").SharedInstance,o=t("@marcom/ac-window-delegate").WindowDelegate,a=t("@marcom/ac-breakpoints-delegate").BreakpointsDelegate,c="ac-viewport:Viewport",l="3.2.0";r=n.prototype,r.getBreakpoint=function(){return a.getBreakpoint()},r.setBreakpoints=function(t){return a.setBreakpoints(t)},e.exports=s.share(c,l,n)},{"@marcom/ac-breakpoints-delegate":22,"@marcom/ac-shared-instance":330,"@marcom/ac-window-delegate":353}],353:[function(t,e,i){"use strict";e.exports={WindowDelegate:t("./ac-window-delegate/WindowDelegate"),WindowDelegateOptimizer:t("./ac-window-delegate/WindowDelegateOptimizer"),WindowDelegateCustomEvent:t("./ac-window-delegate/WindowDelegateCustomEvent")}},{"./ac-window-delegate/WindowDelegate":356,"./ac-window-delegate/WindowDelegateCustomEvent":357,"./ac-window-delegate/WindowDelegateOptimizer":358}],354:[function(t,e,i){"use strict";var n=t("@marcom/ac-event-emitter").EventEmitter,r=function(){this._emitter=new n,this._customEvents={}},s=r.prototype;s.on=function(t,e,i){return this._activateCustomEvents(t),this._emitterOn.apply(this,arguments),this},s.once=function(t,e,i){return this._emitterOnce.apply(this,arguments),this},s.off=function(t,e,i){return this._emitterOff.apply(this,arguments),this._deactivateCustomEvents(t),this},s.has=function(t,e,i){return this._emitter.has.apply(this._emitter,arguments)},s.trigger=function(){return this._emitter.trigger.apply(this._emitter,arguments),this},s.propagateTo=function(){return this._emitter.propagateTo.apply(this._emitter,arguments),this},s.stopPropagatingTo=function(){return this._emitter.stopPropagatingTo.apply(this._emitter,arguments),this},s.add=function(t){this._customEvents[t.name]=t},s.canHandleCustomEvent=function(t){return this._customEvents.hasOwnProperty(t)},s.isHandlingCustomEvent=function(t){return!(!this._customEvents[t]||!this._customEvents[t].active)},s._activateCustomEvents=function(t){var e,i,n=t.split(" "),r=n.length;for(i=0;i<r;i++)e=n[i],this._customEvents[e]&&!this._customEvents[e].active&&(this._customEvents[e].initialize(),this._customEvents[e].active=!0)},s._deactivateCustomEvents=function(t){var e;if(t&&0!==t.length){var i=t.split(" "),n=i.length;for(e=0;e<n;e++)this._deactivateCustomEvent(i[e])}else for(e in this._customEvents)this._customEvents.hasOwnProperty(e)&&this._deactivateCustomEvent(e)},s._deactivateCustomEvent=function(t){!this.has(t)&&this._customEvents[t]&&this._customEvents[t].active&&(this._customEvents[t].deinitialize(),this._customEvents[t].active=!1)},s._emitterOn=function(){this._emitter.on.apply(this._emitter,arguments)},s._emitterOnce=function(){this._emitter.once.apply(this._emitter,arguments)},s._emitterOff=function(){this._emitter.off.apply(this._emitter,arguments)},e.exports=r},{"@marcom/ac-event-emitter":172}],355:[function(t,e,i){"use strict";var n,r=t("@marcom/ac-event-emitter").EventEmitter,s=function(t){r.call(this),this.optimizers=t,this._events={},this._properties={},this._initialize()};n=s.prototype=new r(null),n.canOptimizeEvent=function(t){return this._events.hasOwnProperty(t)},n.canOptimizeProperty=function(t){return this._properties.hasOwnProperty(t)},n.isOptimizingEvent=function(t){return!(!this._events[t]||!this._events[t].active)},n.isOptimizingProperty=function(t){return!(!this._properties[t]||!this._properties[t].active)},n.add=function(t){this._setOptimizerEvents(t),this._setOptimizerProperties(t),t.on("update",this._onUpdate,this),t.on("activate",this._onActivate,this),t.on("deactivate",this._onDeactivate,this)},n.get=function(t){return this.isOptimizingProperty(t)?this._properties[t].value:null},n.set=function(t,e){return!!this._properties[t]&&(this._properties[t].value=e,this)},n.getOptimizerByEvent=function(t){return this._events[t]?this._events[t]:null},n._initialize=function(){var t;for(t in this.optimizers)this.optimizers.hasOwnProperty(t)&&this.add(this.optimizers[t])},n._onUpdate=function(t){this.set(t.prop,t.val)},n._onActivate=function(t){var e,i=t.propertyNames,n=i.length;for(e=0;e<n;e++)this._properties[i[e]].active=!0},n._onDeactivate=function(t){var e,i=t.propertyNames,n=i.length;for(e=0;e<n;e++)this._properties[i[e]].active=!1},n._setOptimizerEvents=function(t){var e,i=t.eventNames,n=i.length;for(e=0;e<n;e++)this._setOptimizerEvent(i[e],t)},n._setOptimizerEvent=function(t,e){
this._events[t]||(this._events[t]=e)},n._setOptimizerProperties=function(t){var e,i=t.propertyNames,n=i.length;for(e=0;e<n;e++)this._setOptimizerProperty(i[e])},n._setOptimizerProperty=function(t){this._properties.hasOwnProperty(t)||(this._properties[t]={},this._properties[t].active=!1,this._properties[t].value=null)},e.exports=s},{"@marcom/ac-event-emitter":172}],356:[function(t,e,i){"use strict";function n(){this._emitter=new o(window),this._controllers={optimizer:new a(h),customEvent:new c};var t;for(t in l)l.hasOwnProperty(t)&&(this[t]=this._getProperty.bind(this,t),l[t]=l[t].bind(this));this._bindEvents()}var r,s=t("@marcom/ac-shared-instance").SharedInstance,o=t("@marcom/ac-dom-emitter").DOMEmitter,a=t("./OptimizerController"),c=t("./CustomEventController"),l=t("./queries/queries"),h=t("./optimizers/optimizers"),u="ac-window-delegate:WindowDelegate",m="3.0.2";r=n.prototype,r.on=function(t,e,i){var n=this._seperateCustomEvents(t);return this._optimizeEvents(n.standardEvents),this._customEventOn(n.customEvents,e,i),this._emitterOn.apply(this,arguments),this},r.once=function(t,e,i){var n=this._seperateCustomEvents(t);return this._optimizeEvents(n.standardEvents),this._customEventOnce(n.customEvents,e,i),this._emitterOnce.apply(this,arguments),this},r.off=function(t,e,i){var n=this._seperateCustomEvents(t),r=!1;if(t||(r=!0),this._customEventOff(n.customEvents,e,i,r),this._emitterOff.apply(this,arguments),r)try{var s;for(s in this._controllers.optimizer._events)this._controllers.optimizer._events.hasOwnProperty(s)&&this._shouldDeoptimizeEvent(s,!0)&&this._deoptimizeEvent(s);this._bindEvents()}catch(o){}return this},r.has=function(t,e,i){return this._emitter.has.apply(this._emitter,arguments)},r.trigger=function(){return this._emitter.trigger.apply(this._emitter,arguments),this},r.emitterTrigger=function(){return this._emitter.emitterTrigger.apply(this._emitter,arguments),this},r.propagateTo=function(){return this._emitter.propagateTo.apply(this._emitter,arguments),this},r.stopPropagatingTo=function(){return this._emitter.stopPropagatingTo.apply(this._emitter,arguments),this},r.addOptimizer=function(t){return this._controllers.optimizer.add(t),this},r.addCustomEvent=function(t){return this._controllers.customEvent.add(t),this},r._emitterOn=function(){this._emitter.on.apply(this._emitter,arguments)},r._emitterOnce=function(){this._emitter.once.apply(this._emitter,arguments)},r._emitterOff=function(){this._emitter.off.apply(this._emitter,arguments)},r._onEventUnbound=function(t){var e=t.data.evt;this._shouldDeoptimizeEvent(e)&&this._deoptimizeEvent(e)},r._customEventOn=function(t,e,i){0!==t.length&&this._controllers.customEvent.on(t.join(" "),e,i)},r._customEventOnce=function(t,e,i){0!==t.length&&this._controllers.customEvent.once(t.join(" "),e,i)},r._customEventOff=function(t,e,i,n){if(n||0!==t.length)return n&&0===t.length?void this._controllers.customEvent.off():void this._controllers.customEvent.off(t.join(" "),e,i)},r._getProperty=function(t,e){var i=null;return e||(i=this._getOptimizedValue(t)),null===i&&(i=l[t].call(this,e)),i},r._optimizeEvents=function(t){var e,i,n=t.length;for(i=0;i<n;i++)e=t[i],this._shouldOptimizeEvent(e)&&this._optimizeEvent(e)},r._shouldOptimizeEvent=function(t){return!(!this._controllers.optimizer.canOptimizeEvent(t)||this._controllers.optimizer.isOptimizingEvent(t))},r._shouldDeoptimizeEvent=function(t,e){return!(!this._controllers.optimizer.isOptimizingEvent(t)||!(e||this._emitter._eventEmitter._events[t].length<=1))},r._optimizeEvent=function(t){var e=this._controllers.optimizer.getOptimizerByEvent(t);e.activate(),this._emitterOn(t,e.callback,e)},r._deoptimizeEvent=function(t){var e=this._controllers.optimizer.getOptimizerByEvent(t);e.deactivate(),this._emitterOff(t,e.callback,e)},r._getOptimizedValue=function(t){return this._controllers.optimizer.get(t)},r._seperateCustomEvents=function(t){var e={customEvents:[],standardEvents:[]};if("string"==typeof t){var i,n,r=t.split(" "),s=r.length;for(n=0;n<s;n++)i=r[n],this._controllers.customEvent.canHandleCustomEvent(i)?e.customEvents.push(i):e.standardEvents.push(i)}return e},r._bindEvents=function(){this._emitter.on("dom-emitter:didoff",this._onEventUnbound,this)},e.exports=s.share(u,m,n)},{"./CustomEventController":354,"./OptimizerController":355,"./optimizers/optimizers":361,"./queries/queries":370,"@marcom/ac-dom-emitter":63,"@marcom/ac-shared-instance":330}],357:[function(t,e,i){"use strict";function n(t,e,i){r.call(this),this.name=t,this.active=!1,this._initializeFunc=e,this._deinitializeFunc=i}var r=t("@marcom/ac-event-emitter").EventEmitter,s=n.prototype=new r(null);s.initialize=function(){return this._initializeFunc&&this._initializeFunc(),this},s.deinitialize=function(){return this._deinitializeFunc&&this._deinitializeFunc(),this},e.exports=n},{"@marcom/ac-event-emitter":172}],358:[function(t,e,i){"use strict";function n(t,e){r.call(this),this.active=!1,this.eventNames=t.eventNames,this.propertyNames=t.propertyNames,this.options=t.options||{},this.callback=e}var r=t("@marcom/ac-event-emitter").EventEmitter,s=n.prototype=new r(null);s.update=function(t,e){this.trigger("update",{prop:t,val:e})},s.activate=function(){this.active=!0,this.trigger("activate",this)},s.deactivate=function(){this.active=!1,this.trigger("deactivate",this)},e.exports=n},{"@marcom/ac-event-emitter":172}],359:[function(t,e,i){"use strict";var n=t("../../WindowDelegateOptimizer"),r=t("../../queries/queries"),s={eventNames:["resize"],propertyNames:["clientWidth","clientHeight","innerWidth","innerHeight"]},o=new n(s,function(t){var e,i=s.propertyNames,n=i.length;for(e=0;e<n;e++)this.update(i[e],r[i[e]](!0))});e.exports=o},{"../../WindowDelegateOptimizer":358,"../../queries/queries":370}],360:[function(t,e,i){"use strict";var n=t("../../WindowDelegateOptimizer"),r=t("../../queries/queries"),s={eventNames:["scroll"],propertyNames:["scrollX","scrollY","maxScrollX","maxScrollY"]},o=new n(s,function(t){var e,i=s.propertyNames,n=i.length;for(e=0;e<n;e++)this.update(i[e],r[i[e]](!0))});e.exports=o},{"../../WindowDelegateOptimizer":358,"../../queries/queries":370}],361:[function(t,e,i){"use strict";var n=t("./events/resize"),r=t("./events/scroll");e.exports=[n,r]},{"./events/resize":359,"./events/scroll":360}],362:[function(t,e,i){"use strict";var n=function(t){return document.documentElement.clientHeight};e.exports=n},{}],363:[function(t,e,i){"use strict";var n=function(t){return document.documentElement.clientWidth};e.exports=n},{}],364:[function(t,e,i){"use strict";var n=function(t){return window.innerHeight||this.clientHeight(t)};e.exports=n},{}],365:[function(t,e,i){"use strict";var n=function(t){return window.innerWidth||this.clientWidth(t)};e.exports=n},{}],366:[function(t,e,i){"use strict";var n=function(t){return document.body.scrollWidth-this.innerWidth()};e.exports=n},{}],367:[function(t,e,i){"use strict";var n=function(t){return document.body.scrollHeight-this.innerHeight()};e.exports=n},{}],368:[function(t,e,i){"use strict";var n=function(t){var e=window.pageXOffset;if(!e){var i=document.documentElement||document.body.parentNode||document.body;e=i.scrollLeft}return e};e.exports=n},{}],369:[function(t,e,i){"use strict";var n=function(t){var e=window.pageYOffset;if(!e){var i=document.documentElement||document.body.parentNode||document.body;e=i.scrollTop}return e};e.exports=n},{}],370:[function(t,e,i){"use strict";var n=t("./methods/innerWidth"),r=t("./methods/innerHeight"),s=t("./methods/clientWidth"),o=t("./methods/clientHeight"),a=t("./methods/scrollX"),c=t("./methods/scrollY"),l=t("./methods/maxScrollX"),h=t("./methods/maxScrollY");e.exports={innerWidth:n,innerHeight:r,clientWidth:s,clientHeight:o,scrollX:a,scrollY:c,maxScrollX:l,maxScrollY:h}},{"./methods/clientHeight":362,"./methods/clientWidth":363,"./methods/innerHeight":364,"./methods/innerWidth":365,"./methods/maxScrollX":366,"./methods/maxScrollY":367,"./methods/scrollX":368,"./methods/scrollY":369}],371:[function(t,e,i){"use strict";e.exports={lerp:function(t,e,i){return e+(i-e)*t},map:function(t,e,i,n,r){return n+(r-n)*(t-e)/(i-e)},mapClamp:function(t,e,i,n,r){var s=n+(r-n)*(t-e)/(i-e);return Math.max(n,Math.min(r,s))},norm:function(t,e,i){return(t-e)/(i-e)},clamp:function(t,e,i){return Math.max(e,Math.min(i,t))},randFloat:function(t,e){return Math.random()*(e-t)+t},randInt:function(t,e){return Math.floor(Math.random()*(e-t)+t)}}},{}],372:[function(t,e,i){"use strict";e.exports={browser:{safari:!1,chrome:!1,firefox:!1,ie:!1,opera:!1,android:!1,edge:!1,version:{string:"",major:0,minor:0,patch:0,documentMode:!1}},os:{osx:!1,ios:!1,android:!1,windows:!1,linux:!1,fireos:!1,chromeos:!1,version:{string:"",major:0,minor:0,patch:0}}}},{}],373:[function(t,e,i){"use strict";e.exports={browser:[{name:"edge",userAgent:"Edge",version:["rv","Edge"],test:function(t){return t.ua.indexOf("Edge")>-1||"Mozilla/5.0 (Windows NT 10.0; Win64; x64)"===t.ua}},{name:"chrome",userAgent:"Chrome"},{name:"firefox",test:function(t){return t.ua.indexOf("Firefox")>-1&&t.ua.indexOf("Opera")===-1},version:"Firefox"},{name:"android",userAgent:"Android"},{name:"safari",test:function(t){return t.ua.indexOf("Safari")>-1&&t.vendor.indexOf("Apple")>-1},version:"Version"},{name:"ie",test:function(t){return t.ua.indexOf("IE")>-1||t.ua.indexOf("Trident")>-1},version:["MSIE","rv"],parseDocumentMode:function(){var t=!1;return document.documentMode&&(t=parseInt(document.documentMode,10)),t}},{name:"opera",userAgent:"Opera",version:["Version","Opera"]}],os:[{name:"windows",test:function(t){return t.ua.indexOf("Windows")>-1},version:"Windows NT"},{name:"osx",userAgent:"Mac",test:function(t){return t.ua.indexOf("Macintosh")>-1}},{name:"ios",test:function(t){return t.ua.indexOf("iPhone")>-1||t.ua.indexOf("iPad")>-1},version:["iPhone OS","CPU OS"]},{name:"linux",userAgent:"Linux",test:function(t){return(t.ua.indexOf("Linux")>-1||t.platform.indexOf("Linux")>-1)&&t.ua.indexOf("Android")===-1}},{name:"fireos",test:function(t){return t.ua.indexOf("Firefox")>-1&&t.ua.indexOf("Mobile")>-1},version:"rv"},{name:"android",userAgent:"Android",test:function(t){return t.ua.indexOf("Android")>-1}},{name:"chromeos",userAgent:"CrOS"}]}},{}],374:[function(t,e,i){"use strict";function n(t){return new RegExp(t+"[a-zA-Z\\s/:]+([0-9_.]+)","i")}function r(t,e){if("function"==typeof t.parseVersion)return t.parseVersion(e);var i=t.version||t.userAgent;"string"==typeof i&&(i=[i]);for(var r,s=i.length,o=0;o<s;o++)if(r=e.match(n(i[o])),r&&r.length>1)return r[1].replace(/_/g,".");return!1}function s(t,e,i){for(var n,s,o=t.length,a=0;a<o;a++)if("function"==typeof t[a].test?t[a].test(i)===!0&&(n=t[a].name):i.ua.indexOf(t[a].userAgent)>-1&&(n=t[a].name),n){if(e[n]=!0,s=r(t[a],i.ua),"string"==typeof s){var c=s.split(".");e.version.string=s,c&&c.length>0&&(e.version.major=parseInt(c[0]||0),e.version.minor=parseInt(c[1]||0),e.version.patch=parseInt(c[2]||0))}else"edge"===n&&(e.version.string="12.0.0",e.version.major="12",e.version.minor="0",e.version.patch="0");return"function"==typeof t[a].parseDocumentMode&&(e.version.documentMode=t[a].parseDocumentMode()),e}return e}function o(t){var e={};return e.browser=s(c.browser,a.browser,t),e.os=s(c.os,a.os,t),e}var a=t("./defaults"),c=t("./dictionary");e.exports=o},{"./defaults":372,"./dictionary":373}],375:[function(t,e,i){"use strict";var n={ua:window.navigator.userAgent,platform:window.navigator.platform,vendor:window.navigator.vendor};e.exports=t("./parseUserAgent")(n)},{"./parseUserAgent":374}],376:[function(t,e,i){e.exports={majorVersionNumber:"3.x"}},{}],377:[function(t,e,i){"use strict";function n(t){t=t||{},s.call(this),this.id=a.getNewID(),this.executor=t.executor||o,this._reset(),this._willRun=!1,this._didDestroy=!1}var r,s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=t("./sharedRAFExecutorInstance"),a=t("./sharedRAFEmitterIDGeneratorInstance");r=n.prototype=Object.create(s.prototype),r.run=function(){return this._willRun||(this._willRun=!0),this._subscribe()},r.cancel=function(){this._unsubscribe(),this._willRun&&(this._willRun=!1),this._reset()},r.destroy=function(){var t=this.willRun();return this.cancel(),this.executor=null,s.prototype.destroy.call(this),this._didDestroy=!0,t},r.willRun=function(){return this._willRun},r.isRunning=function(){return this._isRunning},r._subscribe=function(){return this.executor.subscribe(this)},r._unsubscribe=function(){return this.executor.unsubscribe(this)},r._onAnimationFrameStart=function(t){this._isRunning=!0,this._willRun=!1,this._didEmitFrameData||(this._didEmitFrameData=!0,this.trigger("start",t))},r._onAnimationFrameEnd=function(t){this._willRun||(this.trigger("stop",t),this._reset())},r._reset=function(){this._didEmitFrameData=!1,this._isRunning=!1},e.exports=n},{"./sharedRAFEmitterIDGeneratorInstance":382,"./sharedRAFExecutorInstance":383,"@marcom/ac-event-emitter-micro":170}],378:[function(t,e,i){"use strict";function n(t){t=t||{},this._reset(),this.updatePhases(),this.eventEmitter=new s,this._willRun=!1,this._totalSubscribeCount=-1,this._requestAnimationFrame=window.requestAnimationFrame,this._cancelAnimationFrame=window.cancelAnimationFrame,this._boundOnAnimationFrame=this._onAnimationFrame.bind(this),this._boundOnExternalAnimationFrame=this._onExternalAnimationFrame.bind(this)}var r,s=t("@marcom/ac-event-emitter-micro/EventEmitterMicro");r=n.prototype,r.frameRequestedPhase="requested",r.startPhase="start",r.runPhases=["update","external","draw"],r.endPhase="end",r.disabledPhase="disabled",r.beforePhaseEventPrefix="before:",r.afterPhaseEventPrefix="after:",r.subscribe=function(t,e){return this._totalSubscribeCount++,this._nextFrameSubscribers[t.id]||(e?this._nextFrameSubscribersOrder.unshift(t.id):this._nextFrameSubscribersOrder.push(t.id),this._nextFrameSubscribers[t.id]=t,this._nextFrameSubscriberArrayLength++,this._nextFrameSubscriberCount++,this._run()),this._totalSubscribeCount},r.subscribeImmediate=function(t,e){return this._totalSubscribeCount++,this._subscribers[t.id]||(e?this._subscribersOrder.splice(this._currentSubscriberIndex+1,0,t.id):this._subscribersOrder.unshift(t.id),this._subscribers[t.id]=t,this._subscriberArrayLength++,this._subscriberCount++),this._totalSubscribeCount},r.unsubscribe=function(t){return!!this._nextFrameSubscribers[t.id]&&(this._nextFrameSubscribers[t.id]=null,this._nextFrameSubscriberCount--,0===this._nextFrameSubscriberCount&&this._cancel(),!0)},r.getSubscribeID=function(){return this._totalSubscribeCount+=1},r.destroy=function(){var t=this._cancel();return this.eventEmitter.destroy(),this.eventEmitter=null,this.phases=null,this._subscribers=null,this._subscribersOrder=null,this._nextFrameSubscribers=null,this._nextFrameSubscribersOrder=null,this._rafData=null,this._boundOnAnimationFrame=null,this._onExternalAnimationFrame=null,t},r.useExternalAnimationFrame=function(t){if("boolean"==typeof t){var e=this._isUsingExternalAnimationFrame;return t&&this._animationFrame&&(this._cancelAnimationFrame.call(window,this._animationFrame),this._animationFrame=null),!this._willRun||t||this._animationFrame||(this._animationFrame=this._requestAnimationFrame.call(window,this._boundOnAnimationFrame)),this._isUsingExternalAnimationFrame=t,t?this._boundOnExternalAnimationFrame:e||!1}},r.updatePhases=function(){this.phases||(this.phases=[]),this.phases.length=0,this.phases.push(this.frameRequestedPhase),this.phases.push(this.startPhase),Array.prototype.push.apply(this.phases,this.runPhases),this.phases.push(this.endPhase),this._runPhasesLength=this.runPhases.length,this._phasesLength=this.phases.length},r._run=function(){if(!this._willRun)return this._willRun=!0,0===this.lastFrameTime&&(this.lastFrameTime=performance.now()),this._animationFrameActive=!0,this._isUsingExternalAnimationFrame||(this._animationFrame=this._requestAnimationFrame.call(window,this._boundOnAnimationFrame)),this.phase===this.disabledPhase&&(this.phaseIndex=0,this.phase=this.phases[this.phaseIndex]),!0},r._cancel=function(){var t=!1;return this._animationFrameActive&&(this._animationFrame&&(this._cancelAnimationFrame.call(window,this._animationFrame),this._animationFrame=null),this._animationFrameActive=!1,this._willRun=!1,t=!0),this._isRunning||this._reset(),t},r._onAnimationFrame=function(t){for(this._subscribers=this._nextFrameSubscribers,this._subscribersOrder=this._nextFrameSubscribersOrder,this._subscriberArrayLength=this._nextFrameSubscriberArrayLength,this._subscriberCount=this._nextFrameSubscriberCount,this._nextFrameSubscribers={},this._nextFrameSubscribersOrder=[],this._nextFrameSubscriberArrayLength=0,this._nextFrameSubscriberCount=0,this.phaseIndex=0,this.phase=this.phases[this.phaseIndex],this._isRunning=!0,this._willRun=!1,this._didRequestNextRAF=!1,this._rafData.delta=t-this.lastFrameTime,this.lastFrameTime=t,this._rafData.fps=0,this._rafData.delta>=1e3&&(this._rafData.delta=0),0!==this._rafData.delta&&(this._rafData.fps=1e3/this._rafData.delta),this._rafData.time=t,this._rafData.naturalFps=this._rafData.fps,this._rafData.timeNow=Date.now(),this.phaseIndex++,this.phase=this.phases[this.phaseIndex],this.eventEmitter.trigger(this.beforePhaseEventPrefix+this.phase),this._currentSubscriberIndex=0;this._currentSubscriberIndex<this._subscriberArrayLength;this._currentSubscriberIndex++)null!==this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]&&this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]._didDestroy===!1&&this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]._onAnimationFrameStart(this._rafData);for(this.eventEmitter.trigger(this.afterPhaseEventPrefix+this.phase),this._runPhaseIndex=0;this._runPhaseIndex<this._runPhasesLength;this._runPhaseIndex++){for(this.phaseIndex++,this.phase=this.phases[this.phaseIndex],this.eventEmitter.trigger(this.beforePhaseEventPrefix+this.phase),this._currentSubscriberIndex=0;this._currentSubscriberIndex<this._subscriberArrayLength;this._currentSubscriberIndex++)null!==this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]&&this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]._didDestroy===!1&&this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]].trigger(this.phase,this._rafData);this.eventEmitter.trigger(this.afterPhaseEventPrefix+this.phase)}for(this.phaseIndex++,this.phase=this.phases[this.phaseIndex],this.eventEmitter.trigger(this.beforePhaseEventPrefix+this.phase),this._currentSubscriberIndex=0;this._currentSubscriberIndex<this._subscriberArrayLength;this._currentSubscriberIndex++)null!==this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]&&this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]._didDestroy===!1&&this._subscribers[this._subscribersOrder[this._currentSubscriberIndex]]._onAnimationFrameEnd(this._rafData);this.eventEmitter.trigger(this.afterPhaseEventPrefix+this.phase),this._willRun?(this.phaseIndex=0,this.phaseIndex=this.phases[this.phaseIndex]):this._reset()},r._onExternalAnimationFrame=function(t){this._isUsingExternalAnimationFrame&&this._onAnimationFrame(t)},r._reset=function(){this._rafData||(this._rafData={}),this._rafData.time=0,this._rafData.delta=0,this._rafData.fps=0,this._rafData.naturalFps=0,this._rafData.timeNow=0,this._subscribers={},this._subscribersOrder=[],this._currentSubscriberIndex=-1,this._subscriberArrayLength=0,this._subscriberCount=0,this._nextFrameSubscribers={},this._nextFrameSubscribersOrder=[],this._nextFrameSubscriberArrayLength=0,this._nextFrameSubscriberCount=0,this._didEmitFrameData=!1,this._animationFrame=null,this._animationFrameActive=!1,this._isRunning=!1,this._shouldReset=!1,this.lastFrameTime=0,this._runPhaseIndex=-1,this.phaseIndex=-1,this.phase=this.disabledPhase},e.exports=n},{"@marcom/ac-event-emitter-micro/EventEmitterMicro":171}],379:[function(t,e,i){"use strict";var n=t("./SingleCallRAFEmitter"),r=function(t){this.phase=t,this.rafEmitter=new n,this._cachePhaseIndex(),this.requestAnimationFrame=this.requestAnimationFrame.bind(this),this.cancelAnimationFrame=this.cancelAnimationFrame.bind(this),this._onBeforeRAFExecutorStart=this._onBeforeRAFExecutorStart.bind(this),this._onBeforeRAFExecutorPhase=this._onBeforeRAFExecutorPhase.bind(this),this._onAfterRAFExecutorPhase=this._onAfterRAFExecutorPhase.bind(this),this.rafEmitter.on(this.phase,this._onRAFExecuted.bind(this)),this.rafEmitter.executor.eventEmitter.on("before:start",this._onBeforeRAFExecutorStart),this.rafEmitter.executor.eventEmitter.on("before:"+this.phase,this._onBeforeRAFExecutorPhase),this.rafEmitter.executor.eventEmitter.on("after:"+this.phase,this._onAfterRAFExecutorPhase),this._frameCallbacks=[],this._currentFrameCallbacks=[],this._nextFrameCallbacks=[],this._phaseActive=!1,this._currentFrameID=-1,this._cancelFrameIdx=-1,this._frameCallbackLength=0,this._currentFrameCallbacksLength=0,this._nextFrameCallbacksLength=0,this._frameCallbackIteration=0},s=r.prototype;s.requestAnimationFrame=function(t,e){return e===!0&&this.rafEmitter.executor.phaseIndex>0&&this.rafEmitter.executor.phaseIndex<=this.phaseIndex?this._phaseActive?(this._currentFrameID=this.rafEmitter.executor.subscribeImmediate(this.rafEmitter,!0),this._frameCallbacks.push(this._currentFrameID,t),this._frameCallbackLength+=2):(this._currentFrameID=this.rafEmitter.executor.subscribeImmediate(this.rafEmitter,!1),this._currentFrameCallbacks.push(this._currentFrameID,t),this._currentFrameCallbacksLength+=2):(this._currentFrameID=this.rafEmitter.run(),this._nextFrameCallbacks.push(this._currentFrameID,t),this._nextFrameCallbacksLength+=2),this._currentFrameID},s.cancelAnimationFrame=function(t){this._cancelFrameIdx=this._nextFrameCallbacks.indexOf(t),this._cancelFrameIdx>-1?this._cancelNextAnimationFrame():(this._cancelFrameIdx=this._currentFrameCallbacks.indexOf(t),this._cancelFrameIdx>-1?this._cancelCurrentAnimationFrame():(this._cancelFrameIdx=this._frameCallbacks.indexOf(t),this._cancelFrameIdx>-1&&this._cancelRunningAnimationFrame()))},s._onRAFExecuted=function(t){for(this._frameCallbackIteration=0;this._frameCallbackIteration<this._frameCallbackLength;this._frameCallbackIteration+=2)this._frameCallbacks[this._frameCallbackIteration+1](t.time,t);this._frameCallbacks.length=0,this._frameCallbackLength=0},s._onBeforeRAFExecutorStart=function(){Array.prototype.push.apply(this._currentFrameCallbacks,this._nextFrameCallbacks.splice(0,this._nextFrameCallbacksLength)),this._currentFrameCallbacksLength=this._nextFrameCallbacksLength,this._nextFrameCallbacks.length=0,this._nextFrameCallbacksLength=0},s._onBeforeRAFExecutorPhase=function(){this._phaseActive=!0,Array.prototype.push.apply(this._frameCallbacks,this._currentFrameCallbacks.splice(0,this._currentFrameCallbacksLength)),this._frameCallbackLength=this._currentFrameCallbacksLength,this._currentFrameCallbacks.length=0,this._currentFrameCallbacksLength=0},s._onAfterRAFExecutorPhase=function(){this._phaseActive=!1},s._cachePhaseIndex=function(){this.phaseIndex=this.rafEmitter.executor.phases.indexOf(this.phase)},s._cancelRunningAnimationFrame=function(){this._frameCallbacks.splice(this._cancelFrameIdx,2),this._frameCallbackLength-=2},s._cancelCurrentAnimationFrame=function(){this._currentFrameCallbacks.splice(this._cancelFrameIdx,2),this._currentFrameCallbacksLength-=2},s._cancelNextAnimationFrame=function(){this._nextFrameCallbacks.splice(this._cancelFrameIdx,2),this._nextFrameCallbacksLength-=2,0===this._nextFrameCallbacksLength&&this.rafEmitter.cancel()},e.exports=r},{"./SingleCallRAFEmitter":381}],380:[function(t,e,i){"use strict";var n=t("./RAFInterface"),r=function(){this.events={}},s=r.prototype;s.requestAnimationFrame=function(t){return this.events[t]||(this.events[t]=new n(t)),this.events[t].requestAnimationFrame},s.cancelAnimationFrame=function(t){return this.events[t]||(this.events[t]=new n(t)),this.events[t].cancelAnimationFrame},e.exports=new r},{"./RAFInterface":379}],381:[function(t,e,i){"use strict";var n=t("./RAFEmitter"),r=function(t){n.call(this,t)},s=r.prototype=Object.create(n.prototype);s._subscribe=function(){return this.executor.subscribe(this,!0)},e.exports=r},{"./RAFEmitter":377}],382:[function(t,e,i){"use strict";var n=t("@marcom/ac-shared-instance").SharedInstance,r=t("../.release-info.js").majorVersionNumber,s=function(){this._currentID=0};s.prototype.getNewID=function(){return this._currentID++,"raf:"+this._currentID},e.exports=n.share("@marcom/ac-raf-emitter/sharedRAFEmitterIDGeneratorInstance",r,s)},{"../.release-info.js":376,"@marcom/ac-shared-instance":330}],383:[function(t,e,i){"use strict";var n=t("@marcom/ac-shared-instance").SharedInstance,r=t("../.release-info.js").majorVersionNumber,s=t("./RAFExecutor");e.exports=n.share("@marcom/ac-raf-emitter/sharedRAFExecutorInstance",r,s)},{"../.release-info.js":376,"./RAFExecutor":378,"@marcom/ac-shared-instance":330}],384:[function(t,e,i){"use strict";var n=t("./RAFInterfaceController");e.exports=n.requestAnimationFrame("update")},{"./RAFInterfaceController":380}],385:[function(t,e,i){"use strict";function n(t,e){r.call(this),this._id=t||o.ID,this._options=Object.assign({},o.OPTIONS,e),this._allowDOMEventDispatch=!1,this._allowElementStateData=!1,this._options.removeNamespace="boolean"!=typeof this._options.removeNamespace||this._options.removeNamespace,this._el=this._initViewportEl(this._id),this._resizing=!1,this._mediaQueryLists={resolution:{retina:window.matchMedia(l.RETINA)},orientation:{portrait:window.matchMedia(l.PORTRAIT),landscape:window.matchMedia(l.LANDSCAPE)}},this._viewport=this._getViewport(this._options.removeNamespace),this._retina=this._getRetina(this._mediaQueryLists.resolution.retina),this._orientation=this._initOrientation(),this._addListeners(),this._updateElementStateData()}var r=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,s=t("@marcom/ac-raf-emitter/update"),o={ID:"viewport-emitter",OPTIONS:{removeNamespace:!0}},a={DOM_DISPATCH:"data-viewport-emitter-dispatch",STATE:"data-viewport-emitter-state"},c="::before",l={RETINA:"only screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 1.5dppx), screen and (min-resolution: 144dpi)",PORTRAIT:"only screen and (orientation: portrait)",LANDSCAPE:"only screen and (orientation: landscape)"},h={any:"change:any",orientation:"change:orientation",retina:"change:retina",viewport:"change:viewport"};Object.defineProperty(n,"DOM_DISPATCH_ATTRIBUTE",{get:function(){return a.DOM_DISPATCH}}),Object.defineProperty(n,"DOM_STATE_ATTRIBUTE",{get:function(){return a.STATE}});var u=n.prototype=Object.create(r.prototype);Object.defineProperty(u,"id",{get:function(){return this._id}}),Object.defineProperty(u,"element",{get:function(){return this._el}}),Object.defineProperty(u,"mediaQueryLists",{get:function(){return this._mediaQueryLists}}),Object.defineProperty(u,"viewport",{get:function(){return this._viewport}}),Object.defineProperty(u,"retina",{get:function(){return this._retina}}),Object.defineProperty(u,"orientation",{get:function(){return this._orientation}}),Object.defineProperty(u,"hasDomDispatch",{get:function(){return this._allowDOMEventDispatch}}),u.destroy=function(){this._removeListeners();for(var t in this._options)this._options[t]=null;for(var e in this._mediaQueryLists){var i=this._mediaQueryLists[e];for(var n in i)i[n]=null}this._id=null,this._el=null,this._viewport=null,this._retina=null,this._orientation=null,r.prototype.destroy.call(this)},u._initViewportEl=function(t){var e=document.getElementById(t);return e||(e=document.createElement("div"),e.id=t,e=document.body.appendChild(e)),e.hasAttribute(a.DOM_DISPATCH)||(e.setAttribute(a.DOM_DISPATCH,""),this._allowDOMEventDispatch=!0),e.hasAttribute(a.STATE)||(this._allowElementStateData=!0),e},u._dispatch=function(t,e){var i={viewport:this._viewport,orientation:this._orientation,retina:this._retina};if(this._allowDOMEventDispatch){var n=new CustomEvent(t,{detail:e}),r=new CustomEvent(h.any,{detail:i});this._el.dispatchEvent(n),this._el.dispatchEvent(r)}this.trigger(t,e),this.trigger(h.any,i)},u._addListeners=function(){this._onOrientationChange=this._onOrientationChange.bind(this),this._onRetinaChange=this._onRetinaChange.bind(this),this._onViewportChange=this._onViewportChange.bind(this),this._onViewportChangeUpdate=this._onViewportChangeUpdate.bind(this),this._mediaQueryLists.orientation.portrait.addListener(this._onOrientationChange),this._mediaQueryLists.orientation.landscape.addListener(this._onOrientationChange),this._mediaQueryLists.resolution.retina.addListener(this._onRetinaChange),window.addEventListener("resize",this._onViewportChange)},u._removeListeners=function(){this._mediaQueryLists.orientation.portrait.removeListener(this._onOrientationChange),this._mediaQueryLists.orientation.landscape.removeListener(this._onOrientationChange),this._mediaQueryLists.resolution.retina.removeListener(this._onRetinaChange),window.removeEventListener("resize",this._onViewportChange)},u._updateElementStateData=function(){if(this._allowElementStateData){var t=JSON.stringify({viewport:this._viewport,orientation:this._orientation,retina:this._retina});this._el.setAttribute(a.STATE,t)}},u._getViewport=function(t){var e=window.getComputedStyle(this._el,c).content;return e?(e=e.replace(/["']/g,""),t?e.split(":").pop():e):null},u._getRetina=function(t){return t.matches},u._getOrientation=function(t){var e=this._orientation;if(t.matches){var i=/portrait|landscape/;return t.media.match(i)[0]}return e},u._initOrientation=function(){var t=this._getOrientation(this._mediaQueryLists.orientation.portrait);return t?t:this._getOrientation(this._mediaQueryLists.orientation.landscape)},u._onViewportChange=function(){this._resizing||(this._resizing=!0,s(this._onViewportChangeUpdate))},u._onViewportChangeUpdate=function(){var t=this._viewport;if(this._viewport=this._getViewport(this._options.removeNamespace),t!==this._viewport){var e={from:t,to:this._viewport};this._updateElementStateData(),this._dispatch(h.viewport,e)}this._resizing=!1},u._onRetinaChange=function(t){var e=this._retina;if(this._retina=this._getRetina(t),e!==this._retina){var i={from:e,to:this._retina};this._updateElementStateData(),this._dispatch(h.retina,i)}},u._onOrientationChange=function(t){var e=this._orientation;if(this._orientation=this._getOrientation(t),e!==this._orientation){var i={from:e,to:this._orientation};this._updateElementStateData(),this._dispatch(h.orientation,i)}},e.exports=n},{"@marcom/ac-event-emitter-micro":170,"@marcom/ac-raf-emitter/update":384}],386:[function(t,e,i){"use strict";var n=t("./ViewportEmitter");e.exports=new n},{"./ViewportEmitter":385}],387:[function(t,e,i){arguments[4][172][0].apply(i,arguments)},{"./ac-event-emitter/EventEmitter":388,dup:172}],388:[function(t,e,i){arguments[4][173][0].apply(i,arguments)},{dup:173}],389:[function(t,e,i){function n(t){var e=new Float32Array(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}e.exports=n},{}],390:[function(t,e,i){function n(){var t=new Float32Array(16);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}e.exports=n},{}],391:[function(t,e,i){function n(t,e,i){var n=e[0],r=e[1],s=e[2],o=e[3],a=n+n,c=r+r,l=s+s,h=n*a,u=n*c,m=n*l,d=r*c,p=r*l,f=s*l,_=o*a,g=o*c,v=o*l;return t[0]=1-(d+f),t[1]=u+v,t[2]=m-g,t[3]=0,t[4]=u-v,t[5]=1-(h+f),t[6]=p+_,t[7]=0,t[8]=m+g,t[9]=p-_,t[10]=1-(h+d),t[11]=0,t[12]=i[0],t[13]=i[1],t[14]=i[2],t[15]=1,t}e.exports=n},{}],392:[function(t,e,i){function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}e.exports=n},{}],393:[function(t,e,i){function n(t,e){var i=e[0],n=e[1],r=e[2],s=e[3],o=e[4],a=e[5],c=e[6],l=e[7],h=e[8],u=e[9],m=e[10],d=e[11],p=e[12],f=e[13],_=e[14],g=e[15],v=i*a-n*o,b=i*c-r*o,y=i*l-s*o,E=n*c-r*a,w=n*l-s*a,T=r*l-s*c,A=h*f-u*p,S=h*_-m*p,x=h*g-d*p,C=u*_-m*f,O=u*g-d*f,P=m*g-d*_,I=v*P-b*O+y*C+E*x-w*S+T*A;
return I?(I=1/I,t[0]=(a*P-c*O+l*C)*I,t[1]=(r*O-n*P-s*C)*I,t[2]=(f*T-_*w+g*E)*I,t[3]=(m*w-u*T-d*E)*I,t[4]=(c*x-o*P-l*S)*I,t[5]=(i*P-r*x+s*S)*I,t[6]=(_*y-p*T-g*b)*I,t[7]=(h*T-m*y+d*b)*I,t[8]=(o*O-a*x+l*A)*I,t[9]=(n*x-i*O-s*A)*I,t[10]=(p*w-f*y+g*v)*I,t[11]=(u*y-h*w-d*v)*I,t[12]=(a*S-o*C-c*A)*I,t[13]=(i*C-n*S+r*A)*I,t[14]=(f*b-p*E-_*v)*I,t[15]=(h*E-u*b+m*v)*I,t):null}e.exports=n},{}],394:[function(t,e,i){function n(t,e,i){var n=e[0],r=e[1],s=e[2],o=e[3],a=e[4],c=e[5],l=e[6],h=e[7],u=e[8],m=e[9],d=e[10],p=e[11],f=e[12],_=e[13],g=e[14],v=e[15],b=i[0],y=i[1],E=i[2],w=i[3];return t[0]=b*n+y*a+E*u+w*f,t[1]=b*r+y*c+E*m+w*_,t[2]=b*s+y*l+E*d+w*g,t[3]=b*o+y*h+E*p+w*v,b=i[4],y=i[5],E=i[6],w=i[7],t[4]=b*n+y*a+E*u+w*f,t[5]=b*r+y*c+E*m+w*_,t[6]=b*s+y*l+E*d+w*g,t[7]=b*o+y*h+E*p+w*v,b=i[8],y=i[9],E=i[10],w=i[11],t[8]=b*n+y*a+E*u+w*f,t[9]=b*r+y*c+E*m+w*_,t[10]=b*s+y*l+E*d+w*g,t[11]=b*o+y*h+E*p+w*v,b=i[12],y=i[13],E=i[14],w=i[15],t[12]=b*n+y*a+E*u+w*f,t[13]=b*r+y*c+E*m+w*_,t[14]=b*s+y*l+E*d+w*g,t[15]=b*o+y*h+E*p+w*v,t}e.exports=n},{}],395:[function(t,e,i){function n(t,e,i,n){var r,s,o,a,c,l,h,u,m,d,p,f,_,g,v,b,y,E,w,T,A,S,x,C,O=n[0],P=n[1],I=n[2],D=Math.sqrt(O*O+P*P+I*I);return Math.abs(D)<1e-6?null:(D=1/D,O*=D,P*=D,I*=D,r=Math.sin(i),s=Math.cos(i),o=1-s,a=e[0],c=e[1],l=e[2],h=e[3],u=e[4],m=e[5],d=e[6],p=e[7],f=e[8],_=e[9],g=e[10],v=e[11],b=O*O*o+s,y=P*O*o+I*r,E=I*O*o-P*r,w=O*P*o-I*r,T=P*P*o+s,A=I*P*o+O*r,S=O*I*o+P*r,x=P*I*o-O*r,C=I*I*o+s,t[0]=a*b+u*y+f*E,t[1]=c*b+m*y+_*E,t[2]=l*b+d*y+g*E,t[3]=h*b+p*y+v*E,t[4]=a*w+u*T+f*A,t[5]=c*w+m*T+_*A,t[6]=l*w+d*T+g*A,t[7]=h*w+p*T+v*A,t[8]=a*S+u*x+f*C,t[9]=c*S+m*x+_*C,t[10]=l*S+d*x+g*C,t[11]=h*S+p*x+v*C,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}e.exports=n},{}],396:[function(t,e,i){function n(t,e,i){var n=Math.sin(i),r=Math.cos(i),s=e[4],o=e[5],a=e[6],c=e[7],l=e[8],h=e[9],u=e[10],m=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=s*r+l*n,t[5]=o*r+h*n,t[6]=a*r+u*n,t[7]=c*r+m*n,t[8]=l*r-s*n,t[9]=h*r-o*n,t[10]=u*r-a*n,t[11]=m*r-c*n,t}e.exports=n},{}],397:[function(t,e,i){function n(t,e,i){var n=Math.sin(i),r=Math.cos(i),s=e[0],o=e[1],a=e[2],c=e[3],l=e[8],h=e[9],u=e[10],m=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*r-l*n,t[1]=o*r-h*n,t[2]=a*r-u*n,t[3]=c*r-m*n,t[8]=s*n+l*r,t[9]=o*n+h*r,t[10]=a*n+u*r,t[11]=c*n+m*r,t}e.exports=n},{}],398:[function(t,e,i){function n(t,e,i){var n=Math.sin(i),r=Math.cos(i),s=e[0],o=e[1],a=e[2],c=e[3],l=e[4],h=e[5],u=e[6],m=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*r+l*n,t[1]=o*r+h*n,t[2]=a*r+u*n,t[3]=c*r+m*n,t[4]=l*r-s*n,t[5]=h*r-o*n,t[6]=u*r-a*n,t[7]=m*r-c*n,t}e.exports=n},{}],399:[function(t,e,i){function n(t,e,i){var n=i[0],r=i[1],s=i[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}e.exports=n},{}],400:[function(t,e,i){function n(t,e,i){var n,r,s,o,a,c,l,h,u,m,d,p,f=i[0],_=i[1],g=i[2];return e===t?(t[12]=e[0]*f+e[4]*_+e[8]*g+e[12],t[13]=e[1]*f+e[5]*_+e[9]*g+e[13],t[14]=e[2]*f+e[6]*_+e[10]*g+e[14],t[15]=e[3]*f+e[7]*_+e[11]*g+e[15]):(n=e[0],r=e[1],s=e[2],o=e[3],a=e[4],c=e[5],l=e[6],h=e[7],u=e[8],m=e[9],d=e[10],p=e[11],t[0]=n,t[1]=r,t[2]=s,t[3]=o,t[4]=a,t[5]=c,t[6]=l,t[7]=h,t[8]=u,t[9]=m,t[10]=d,t[11]=p,t[12]=n*f+a*_+u*g+e[12],t[13]=r*f+c*_+m*g+e[13],t[14]=s*f+l*_+d*g+e[14],t[15]=o*f+h*_+p*g+e[15]),t}e.exports=n},{}],401:[function(t,e,i){function n(t,e){if(t===e){var i=e[1],n=e[2],r=e[3],s=e[6],o=e[7],a=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=i,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=s,t[11]=e[14],t[12]=r,t[13]=o,t[14]=a}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}e.exports=n},{}],402:[function(t,e,i){function n(){var t=new Float32Array(3);return t[0]=0,t[1]=0,t[2]=0,t}e.exports=n},{}],403:[function(t,e,i){function n(t,e,i){var n=e[0],r=e[1],s=e[2],o=i[0],a=i[1],c=i[2];return t[0]=r*c-s*a,t[1]=s*o-n*c,t[2]=n*a-r*o,t}e.exports=n},{}],404:[function(t,e,i){function n(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}e.exports=n},{}],405:[function(t,e,i){function n(t,e,i){var n=new Float32Array(3);return n[0]=t,n[1]=e,n[2]=i,n}e.exports=n},{}],406:[function(t,e,i){function n(t){var e=t[0],i=t[1],n=t[2];return Math.sqrt(e*e+i*i+n*n)}e.exports=n},{}],407:[function(t,e,i){function n(t,e){var i=e[0],n=e[1],r=e[2],s=i*i+n*n+r*r;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}e.exports=n},{}],408:[function(t,e,i){function n(){var t=new Float32Array(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t}e.exports=n},{}],409:[function(t,e,i){function n(t,e,i,n){var r=new Float32Array(4);return r[0]=t,r[1]=e,r[2]=i,r[3]=n,r}e.exports=n},{}],410:[function(t,e,i){function n(t,e,i){var n=e[0],r=e[1],s=e[2],o=e[3];return t[0]=i[0]*n+i[4]*r+i[8]*s+i[12]*o,t[1]=i[1]*n+i[5]*r+i[9]*s+i[13]*o,t[2]=i[2]*n+i[6]*r+i[10]*s+i[14]*o,t[3]=i[3]*n+i[7]*r+i[11]*s+i[15]*o,t}e.exports=n},{}],411:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.AccordionComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=t("../libs"),c={ACC_CONTAINER:"data-accordion-container",ACC_HEADER:"data-accordion-header",ACC_CONTENT:"data-accordion-content",SECTION_ENGAGEMENT_PROP:"data-analytics-click"};i.AccordionComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.wrapper=t.element.querySelector("["+c.ACC_CONTAINER+"]"),t.headerElement=t.element.querySelector("["+c.ACC_HEADER+"]"),t.contentElement=t.element.querySelector("["+c.ACC_CONTENT+"]"),t.indicatorClass="indicator",t.settings=t.parsePropsFromDataAttribute("accordion-settings",{speed:.5,closeOthers:!1},t.element),t.transitionEndName=t._getTransitionEndName(),t._initialize(),t}return s(e,t),o(e,[{key:"toggleAccordion",value:function(t){if(t.classList.contains(this.indicatorClass)||t.hasAttribute(c.ACC_HEADER)||t.parentNode.hasAttribute(c.ACC_HEADER)){this.wrapper.classList.toggle("active");var e=this.indicator.getAttribute("aria-label");this.contentElement.style.maxHeight?(this.contentElement.style.maxHeight=null,this.indicator.style.transform="rotate(0deg)",e&&this.indicator.setAttribute("aria-label",e.replace("collapse","expand"))):(this.contentElement.style.maxHeight=this.contentElement.scrollHeight+"px",this.indicator.style.transform="rotate(45deg)",e&&this.indicator.setAttribute("aria-label",e.replace("expand","collapse")))}this.wrapper.className.search("active")===-1?(this.wrapper.children[1].style.overflow="hidden",this.wrapper.links.forEach(function(t){t.setAttribute("tabindex","-1")}),this.section.analytics.section.refreshMetrics()):this.wrapper.children[1].style.visibility="inherit"}},{key:"_initialize",value:function(){this.contentElement.style.transition="max-height "+this.settings.speed+"s ease-out",this.contentElement.style.visibility="hidden",this._attachIndicator(this.headerElement),this._setListener()}},{key:"_attachIndicator",value:function(t){var e=this;this.indicator=t.querySelector(".indicator"),this.indicator.onkeyup=function(t){13===t.keyCode&&e.indicator.click()},this.wrapper.links=Array.prototype.slice.call(this.wrapper.querySelectorAll("a")),this.trigger=this.wrapper.children[0],this.trigger.getAttribute(c.SECTION_ENGAGEMENT_PROP)&&(this.trigger.baseName=this.trigger.getAttribute(c.SECTION_ENGAGEMENT_PROP)),this.wrapper.links.forEach(function(t){t.setAttribute("tabindex","-1")})}},{key:"_setListener",value:function(){var t=this;this.wrapper.onclick=function(e){t.toggleAccordion(e.target)},this.wrapper.addEventListener(this.transitionEndName,function(){t.wrapper.className.search("active")!==-1?(t.wrapper.links.forEach(function(t){t.setAttribute("tabindex","0")}),t.wrapper.children[1].style.overflow="visible",t.section.analytics.section.refreshMetrics(),t.trigger.removeAttribute(c.SECTION_ENGAGEMENT_PROP)):(t.wrapper.children[1].style.visibility="hidden",t.trigger.setAttribute(c.SECTION_ENGAGEMENT_PROP,t.trigger.baseName))})}},{key:"onBreakpoint",value:function(){this.wrapper.classList.contains("active")&&(this.contentElement.style.maxHeight=this.contentElement.scrollHeight+"px")}},{key:"_getTransitionEndName",value:function(){var t=[["transition","transitionend"],["OTransition","oTransitionEnd"],["MozTransition","transitionend"],["WebkitTransition","webkitTransitionEnd"]],e=this.wrapper,i=e.style;return t=t.map(function(t){if(t[0]in i||t[1]in i)return t}).filter(function(t){if(void 0!==t)return t}),t[0][1]}}]),e}(a.BaseComponent)},{"../libs":422}],412:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.AccordionControlComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=function h(t,e,i){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,e);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:h(r,e,i)}if("value"in n)return n.value;var s=n.get;if(void 0!==s)return s.call(i)},c=t("../libs"),l={ACC_CONTROL:"data-accordion-control",ANALYTICS_CLICK:"data-analytics-click",ANALYTICS_TITLE:"data-analytics-title",ARIA_LABEL:"aria-label"};i.AccordionControlComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.expandAllClass="openAction",t.expandTxt="expand all",t.collapseTxt="collapse all",t.accordionComponentList=[],t.accordionControlEl=t.element.querySelector("["+l.ACC_CONTROL+"]"),t.analyticsDataAttrVal=t.accordionControlEl.getAttribute(""+l.ANALYTICS_CLICK),t.analyticsDataAttrValTitle=t.accordionControlEl.getAttribute(""+l.ANALYTICS_TITLE),t._setControlAllListener(),t}return s(e,t),o(e,[{key:"setupEvents",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setupEvents",this).call(this),requestAnimationFrame(function(){c.PageUtils.getPage()._sections.forEach(function(e){var i=e.getComponentOfType("AccordionComponent");i&&t.accordionComponentList.push(i)})})}},{key:"_toggleComponents",value:function(t){var e=this;this.accordionComponentList.forEach(function(i){t?(e.accordionControlEl.children[0].setAttribute("tabindex","-1"),e.accordionControlEl.children[1].setAttribute("tabindex","0"),i.wrapper.classList.contains("active")||i.toggleAccordion(i.headerElement)):(e.accordionControlEl.children[0].setAttribute("tabindex","0"),e.accordionControlEl.children[1].setAttribute("tabindex","-1"),i.wrapper.classList.contains("active")&&i.toggleAccordion(i.headerElement))})}},{key:"_setAnalyticsStr",value:function(t){this.analyticsDataAttrVal&&(t?(this.accordionControlEl.setAttribute(""+l.ANALYTICS_TITLE,this.analyticsDataAttrValTitle.replace(this.collapseTxt,this.expandTxt)),this.accordionControlEl.setAttribute(""+l.ANALYTICS_CLICK,this.analyticsDataAttrVal.replace(this.collapseTxt,this.expandTxt)),this.accordionControlEl.setAttribute(""+l.ARIA_LABEL,this.collapseTxt)):(this.accordionControlEl.setAttribute(""+l.ANALYTICS_TITLE,this.analyticsDataAttrValTitle.replace(this.expandTxt,this.collapseTxt)),this.accordionControlEl.setAttribute(""+l.ANALYTICS_CLICK,this.analyticsDataAttrVal.replace(this.expandTxt,this.collapseTxt)),this.accordionControlEl.setAttribute(""+l.ARIA_LABEL,this.expandTxt)))}},{key:"_handleClick",value:function(){var t=!0;this.accordionControlEl.classList.contains(this.expandAllClass)||(t=!1),this.accordionControlEl.classList.toggle(this.expandAllClass),this._toggleComponents(t),this._setAnalyticsStr(t)}},{key:"_setControlAllListener",value:function(){var t=this;if(this.accordionControlEl&&this.accordionControlEl.addEventListener("click",function(e){t._handleClick()}),window.location.hash){var e=document.querySelector(window.location.hash);e&&setTimeout(function(){e.querySelector(".accordion-header").click()},250)}}}]),e}(c.BaseComponent)},{"../libs":422}],413:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.CardGalleryTouchComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=t("../libs");i.CardGalleryTouchComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));t._onTouchStart=t._onTouchStart.bind(t),t._onTouchMove=t._onTouchMove.bind(t),t._onTouchEnd=t._onTouchEnd.bind(t),t._x=null,t._y=null,t._isScrollLocked=null;var i={passive:!1};return t.element.addEventListener("touchstart",t._onTouchStart,i),t.element.addEventListener("touchmove",t._onTouchMove,i),t.element.addEventListener("touchend",t._onTouchEnd,i),t}return s(e,t),o(e,null,[{key:"IS_SUPPORTED",value:function(){return document.documentElement.classList.contains("touch")}}]),o(e,[{key:"_onTouchStart",value:function(t){this._x=t.touches[0].clientX,this._y=t.touches[0].clientY}},{key:"_onTouchMove",value:function(t){if(null===this._isScrollLocked){var e=t.touches[0].clientX-this._x,i=t.touches[0].clientY-this._y;this._isScrollLocked=Math.abs(e)>Math.abs(i)}this._isScrollLocked&&t.preventDefault()}},{key:"_onTouchEnd",value:function(){this._x=null,this._y=null,this._isScrollLocked=null}}]),e}(a.BaseComponent)},{"../libs":422}],414:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.CardHeightComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=t("../libs");i.CardHeightComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.cardContent=t.element.querySelectorAll(".card-content"),t._initialize(),t}return s(e,t),o(e,[{key:"_initialize",value:function(){this._cardHeight()}},{key:"_cardHeight",value:function(){for(var t=[],e=0;e<this.cardContent.length;e++)t.push(this.cardContent[e].clientHeight);for(var i=Math.max.apply(Math,t),n=0;n<this.cardContent.length;n++)this.cardContent[n].style.minHeight=i+"px"}},{key:"onBreakpoint",value:function(){this._cardHeight()}}]),e}(a.BaseComponent)},{"../libs":422}],415:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.EngagedTransitionComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=function h(t,e,i){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,e);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:h(r,e,i)}if("value"in n)return n.value;var s=n.get;if(void 0!==s)return s.call(i)},c=t("../libs"),l={WILL_ENGAGE:"will-engage",DID_ENGAGE:"did-engage",TRANSITION_COMPLETE:"transition-complete"};i.EngagedTransitionComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.transitionEndTimeout=null,t.didTrigger=!1,t.willEngage=!1,t.didEngage=!1,t.transitionComplete=!1,t.pixelsInView=10,t.timeoutDuration=1e3,t.elementTokenList=t.trackedElement.element.classList,t._onTransitionEndEventListener=t._onTransitionEndEventListener.bind(t),t._onTransitionEndTimeout=t._onTransitionEndTimeout.bind(t),t._initialize(),t}return s(e,t),o(e,[{key:"_initialize",value:function(){this._addComponentEventListeners()}},{key:"_addComponentEventListeners",value:function(){this.trackedElement.element.addEventListener("transitionend",this._onTransitionEndEventListener)}},{key:"_onTransitionEndEventListener",value:function(){this.transitionEndTimeout&&clearTimeout(this.transitionEndTimeout),this.transitionEndTimeout=setTimeout(this._onTransitionEndTimeout,this.timeoutDuration)}},{key:"_onTransitionEndTimeout",value:function(){this.transitionComplete=!0,this.requestDOMChange()}},{key:"onScroll",value:function(){this.trackedElement.pixelsInView>this.pixelsInView&&this._triggerAnimation()}},{key:"_onElementEngaged",value:function(){this._triggerAnimation()}},{key:"_triggerAnimation",value:function(){this.didTrigger||(this.didTrigger=!0,a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_onElementEngaged",this).apply(this,arguments),this.willEngage=!0,this.requestDOMChange())}},{key:"onDOMWrite",value:function(){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"onDOMWrite",this).apply(this,arguments),this.willEngage&&(this.elementTokenList.add(l.WILL_ENGAGE),this.willEngage=!1,this.didEngage=!0,this.requestDOMChange()),this.didEngage&&this.elementTokenList.add(l.DID_ENGAGE),this.transitionComplete&&this.elementTokenList.add(l.TRANSITION_COMPLETE)}}]),e}(c.EngagedElementComponent)},{"../libs":422}],416:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.HeroComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=t("../libs"),c=0,l=.1,h="js-anim-hero-engaged";i.HeroComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.componentOptions={timeToEngage:c,inViewThreshold:l,useRenderedPosition:!0},t.heroProgressiveImageLoaderOptions={container:t.element},t.progressiveImageLoadOptions={imageDataAttribute:"data-progressive-image",imageAnimate:!1},t._heroProgressiveImagesCompleteHandler=t._heroProgressiveImagesCompleteHandler.bind(t),t.heroProgressiveImageLoader=new a.ProgressiveImageLoader(t.heroProgressiveImageLoaderOptions),t._initialize(),t}return s(e,t),o(e,[{key:"_initialize",value:function(){this._loadHeroProgressiveImages(),this.trackedElement=this.section.elementEngagement.addElement(this.element,this.componentOptions),this.heroProgressiveImageLoader.on("complete",this._heroProgressiveImagesCompleteHandler)}},{key:"_loadHeroProgressiveImages",value:function(){this.heroProgressiveImageLoader.load(this.progressiveImageLoadOptions)}},{key:"_heroProgressiveImagesCompleteHandler",value:function(){this.element.classList.add(h)}}]),e}(a.BaseComponent)},{"../libs":422}],417:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.ImageCompareComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=t("../libs"),c=500,l=.5,h={LARGE:1441,SMALL:607},u="js-image-compare-engaged",m="js-no-transition";i.ImageCompareComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.options={timeToEngage:c,inViewThreshold:l},t.document=document.documentElement,t.documentTokenList=t.document.classList,t.isMobile=t.documentTokenList.contains("mobile"),t.contentWrapper=t.element.querySelector("[data-content-wrapper]"),t.clippingMask=t.element.querySelector("[data-compare-clipping-mask]"),t.slider=t.element.querySelector("[data-compare-slider]"),t.sliderThumb=t.element.querySelector("[data-compare-slider-thumb]"),t.containerWidth=t.contentWrapper.offsetWidth,t.translateX=null,t.hasEngaged=!1,t._componentOnEngagedHandler=t._componentOnEngagedHandler.bind(t),t._sliderMouseDownEventHandler=t._sliderMouseDownEventHandler.bind(t),t._documentMouseUpEventHandler=t._documentMouseUpEventHandler.bind(t),t._documentMouseMoveEventHandler=t._documentMouseMoveEventHandler.bind(t),t._windowResizeEventHandler=t._windowResizeEventHandler.bind(t),t._initialize(),t}return s(e,t),o(e,[{key:"_initialize",value:function(){this.trackedElement=this.section.elementEngagement.addElement(this.element,this.options),this._addComponentEventListeners()}},{key:"_addComponentEventListeners",value:function(){this.trackedElement.once("engaged",this._componentOnEngagedHandler),this.isMobile&&this.slider.addEventListener("touchstart",this._sliderMouseDownEventHandler),this.slider.addEventListener("mousedown",this._sliderMouseDownEventHandler),window.addEventListener("resize",this._windowResizeEventHandler,!1)}},{key:"_addDocumentEventListeners",value:function(){this.isMobile&&this.hasEngaged&&(this.document.addEventListener("touchmove",this._documentMouseMoveEventHandler),this.document.addEventListener("touchend",this._documentMouseUpEventHandler)),this.hasEngaged&&(this.document.addEventListener("mousemove",this._documentMouseMoveEventHandler),this.document.addEventListener("mouseup",this._documentMouseUpEventHandler))}},{key:"_removeDocumentEventListeners",value:function(){this.isMobile&&(this.document.removeEventListener("touchend",this._documentMouseUpEventHandler,!1),this.document.removeEventListener("touchmove",this._documentMouseMoveEventHandler,!1)),this.document.removeEventListener("mousemove",this._documentMouseMoveEventHandler,!1),this.document.removeEventListener("mouseup",this._documentMouseUpEventHandler,!1)}},{key:"_componentOnEngagedHandler",value:function(t){this.element.classList.add(u),this.hasEngaged=!0}},{key:"_windowResizeEventHandler",value:function(){this.hasEngaged&&this._updateMetrics()}},{key:"_sliderMouseDownEventHandler",value:function(t){t.preventDefault(),this.element.classList.add(m),this._addDocumentEventListeners()}},{key:"_documentMouseUpEventHandler",value:function(t){this._removeDocumentEventListeners()}},{key:"_documentMouseMoveEventHandler",value:function(t){var e=this._calculateLeftOffset(),i=this._viewportOverlaps()?document.body.clientWidth:this.containerWidth,n=this._delimitSigmoid((t.pageX-e)/i,0,1),r=i*n;this.hasEngaged&&this._updateMaskDimensions(r)}},{key:"_updateMaskDimensions",value:function(t){this.clippingMask.style.width=t+"px"}},{key:"_delimitSigmoid",value:function(t,e,i){return Math.max(e,Math.min(i,t))}},{key:"_viewportOverlaps",value:function(){return this.element.offsetWidth>h.SMALL&&this.element.offsetWidth<h.LARGE||this.element.offsetWidth<h.SMALL}},{key:"_calculateLeftOffset",value:function(){return this._viewportOverlaps()?0:Math.floor(this.element.offsetLeft-this.containerWidth/2)}},{key:"onBreakpoint",value:function(){this.hasEngaged&&this._updateMetrics()}},{key:"_updateMetrics",value:function(){this.containerWidth=this.contentWrapper.offsetWidth;var t=this._viewportOverlaps()?document.body.clientWidth/2:this.containerWidth/2;this._updateMaskDimensions(t)}},{key:"destroy",value:function(){}}]),e}(a.BaseComponent)},{"../libs":422}],418:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.InlineVideoComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=t("../libs"),c={basePath:"/105/media/{{locale}}/final-cut-pro/{{year}}/",locale:"us",format:"mp4",withPlayButton:!1,ariaLabelPlay:"Play",ariaLabelPause:"Pause"},l={settings:"data-inline-video-options"},h=2,u=.5;i.InlineVideoComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.options={timeToEngage:h,inViewThreshold:u},t.mediaObjectOptions={iosInline:!0},t.settings={},t.mediaSource=null,t.documentTokenList=document.documentElement.classList,t.inLineVideoAvailable=t.documentTokenList.contains("inline-video"),t.isLegacyiOS=t.documentTokenList.contains("legacy-ios"),t.isIE11=t.documentTokenList.contains("ie-11"),t.previousViewport=a.viewportEmitter.viewport,t.videoContainer=t.element.querySelector("[data-video-container]"),t.playButton=null,t._onEngagedHandler=t._onEngagedHandler.bind(t),t._mediaObjectOnTimeUpdateHandler=t._mediaObjectOnTimeUpdateHandler.bind(t),t._onPlayPauseButtonClick=t._onPlayPauseButtonClick.bind(t),t._mediaObjectPlayHandler=t._mediaObjectPlayHandler.bind(t),t._mediaObjectPausedHandler=t._mediaObjectPausedHandler.bind(t),t._mediaObjectEndedHandler=t._mediaObjectEndedHandler.bind(t),t._initialize(),t}return s(e,t),o(e,[{key:"_initialize",value:function(){if(this.inLineVideoAvailable||this.isLegacyiOS){if(this.element.hasAttribute(l.settings))try{this._overwriteDefaultOptions()}catch(t){console.error("InLineVideoComponent::_overwriteDefaultOptions bad JSON in data-attribute.",t)}this.trackedElement=this.section.elementEngagement.addElement(this.element,this.options),this._createMediaObject(),this.settings.withPlayButton&&(this.playButton=this._createPlayButton(),this.videoContainer.appendChild(this.playButton),this._setPlayButtonEventHandlers()),this._setComponentEventHandlers()}}},{key:"_setComponentEventHandlers",value:function(){this.trackedElement.once("engaged",this._onEngagedHandler)}},{key:"_setMediaObjectEventHandlers",value:function(){this.mediaObject.on("play",this._mediaObjectPlayHandler),this.mediaObject.on("pause",this._mediaObjectPausedHandler),this.mediaObject.on("ended",this._mediaObjectEndedHandler),this.isIE11&&this.mediaObject.on("timeupdate",this._mediaObjectOnTimeUpdateHandler)}},{key:"_setPlayButtonEventHandlers",value:function(){this.playButton.addEventListener("click",this._onPlayPauseButtonClick)}},{key:"_onPlayPauseButtonClick",value:function(){this.mediaObject.getEnded()?(this.mediaObject.reset(),this.mediaObject.play()):this.mediaObject.getPaused()?this.mediaObject.play():this.mediaObject.pause()}},{key:"_onEngagedHandler",value:function(){var t=this;if(!this.element.parentNode.getAttribute("aria-hidden"))return this.mediaObject?void this.mediaObject.play():void this._createMediaObject().then(function(){t.mediaObject.play()})}},{key:"onBreakpoint",value:function(){var t=this,e=a.viewportEmitter.viewport,i="large"===e&&"xlarge"===this.previousViewport||"xlarge"===e&&"large"===this.previousViewport;i||this._destroyMediaObject().then(function(){return t._createMediaObject()}).then(function(){t.isIE11&&(t._resetMediaObject(),t.startFrame.style.opacity=0),t.element.parentNode.getAttribute("aria-hidden")||t.mediaObject.play()}),this.previousViewport=e}},{key:"onRetinaChange",value:function(){var t=this;this._destroyMediaObject().then(function(){return t._createMediaObject()}).then(function(){t.element.parentNode.getAttribute("aria-hidden")||t.mediaObject.play()})}},{key:"_createMediaObject",value:function(){var t=this;return new Promise(function(e){t._setMediaSource(),t.mediaObject=a.mediaObject.createVideo(t.videoContainer,t._getMediaSource(),t.mediaObjectOptions),
t.mediaObjectVideoEl=t.mediaObject.el.querySelector("video"),t.startFrame=t.mediaObject.el.querySelector(".mediaobject-startframe"),t.mediaObject.mediaElement.setAttribute("muted",""),t.mediaObject.mediaElement.muted=!0,t._setMediaObjectEventHandlers(),t.mediaObject.on("loaded",function(){e()}),t.mediaObject.load(),t.mediaObject.enhance()})}},{key:"_createPlayButton",value:function(){var t=document.createElement("button");return t.classList.add("mediaobject-play-button","ended"),t.setAttribute("aria-label",this.settings.ariaLabelPause),t.setAttribute("data-analytics-title",this.settings.filename+"-pause"),t.setAttribute("data-analytics-click","prop3:"+this.settings.filename+"-pause"),t.setAttribute("data-analytics-intrapage-link",""),t}},{key:"_resetMediaObject",value:function(){this.mediaObject.reset(),this.mediaObject.el.classList.remove("mediaobject-ended")}},{key:"_destroyMediaObject",value:function(){var t=this;return new Promise(function(e){t.mediaObject.on("destroyed",function(){t.mediaSource=null,t.mediaObject=null,e()}),t.mediaObject.destroy()})}},{key:"_mediaObjectPlayHandler",value:function(){this.videoContainer.classList.remove("video-ended","video-paused"),this.videoContainer.classList.add("video-playing"),this.playButton&&(this.playButton.setAttribute("aria-label",this.settings.ariaLabelPause),this.settings.hasOwnProperty("acaButton")?(this.playButton.setAttribute("data-analytics-title","pause "+this.settings.acaButton),this.playButton.setAttribute("data-analytics-click","prop3:pause "+this.settings.acaButton)):(this.playButton.setAttribute("data-analytics-title",this.settings.filename+"-pause"),this.playButton.setAttribute("data-analytics-click","prop3:"+this.settings.filename+"-pause")))}},{key:"_mediaObjectPausedHandler",value:function(){this.videoContainer.classList.remove("video-ended","video-playing"),this.videoContainer.classList.add("video-paused"),this.playButton&&(this.playButton.setAttribute("aria-label",this.settings.ariaLabelPlay),this.settings.hasOwnProperty("acaButton")?(this.playButton.setAttribute("data-analytics-title","play "+this.settings.acaButton),this.playButton.setAttribute("data-analytics-click","prop3:play "+this.settings.acaButton)):(this.playButton.setAttribute("data-analytics-title",this.settings.filename+"-play"),this.playButton.setAttribute("data-analytics-click","prop3:"+this.settings.filename+"-play")))}},{key:"_mediaObjectEndedHandler",value:function(){this.videoContainer.classList.remove("video-paused","video-playing"),this.videoContainer.classList.add("video-ended"),this.playButton&&(this.playButton.setAttribute("aria-label",this.settings.ariaLabelPlay),this.settings.hasOwnProperty("acaButton")?(this.playButton.setAttribute("data-analytics-title","play "+this.settings.acaButton),this.playButton.setAttribute("data-analytics-click","prop3:play "+this.settings.acaButton)):(this.playButton.setAttribute("data-analytics-title",this.settings.filename+"-play"),this.playButton.setAttribute("data-analytics-click","prop3:"+this.settings.filename+"-play")))}},{key:"_mediaObjectOnTimeUpdateHandler",value:function(){this.mediaObject.getCurrentTime()<.26&&this.mediaObject.trigger("play"),this.mediaObject.getCurrentTime()===this.mediaObject.getDuration()&&(this.mediaObject.pause(),this.mediaObject.trigger("ended"))}},{key:"_setMediaSource",value:function(){var t=a.viewportEmitter.viewport,e=a.viewportEmitter.retina;"xlarge"===t&&(t="large"),this.loadedViewport=t,this.mediaSource={basePath:this.settings.basePath,filename:this.settings.filename+"/"+this.loadedViewport+(e?"_2x":""),fileFormat:this.settings.format}}},{key:"_getMediaSource",value:function(){return this.mediaSource||this._createMediaObject(),this.mediaSource}},{key:"_overwriteDefaultOptions",value:function(){var t=this.element.getAttribute(l.settings),e=JSON.parse(t);Object.assign(this.settings,c,e),this.settings.basePath=this.settings.basePath.replace("{{locale}}",this.settings.locale).replace("{{year}}",this.settings.year)}}]),e}(a.BaseComponent)},{"../libs":422}],419:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.ProgressiveImageComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=function m(t,e,i){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,e);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:m(r,e,i)}if("value"in n)return n.value;var s=n.get;if(void 0!==s)return s.call(i)},c=t("../libs"),l={SETTINGS:"data-progressive-image-options"},h={},u={IMAGE_LOAD:"image-load",IMAGE_COMPLETE:"complete"};i.ProgressiveImageComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.imagesLoaded=!1,t.settings=new Object,t.loaderSettings={container:t.element,includeContainer:!0},t.documentTokenList=document.documentElement.classList,t.isProgressiveImageAvailable=t.documentTokenList.contains("progressive-image"),t._onProgressiveImageLoad=t._onProgressiveImageLoad.bind(t),t._onProgressiveImageComplete=t._onProgressiveImageComplete.bind(t),t._initialize(),t}return s(e,t),o(e,[{key:"_initialize",value:function(){if(this.progressiveImageLoader=new c.ProgressiveImageLoader(this.loaderSettings),this.element.hasAttribute(l.SETTINGS))try{this._overwriteDefaultOptions()}catch(t){this.settings={}}this._setComponentEventHandlers()}},{key:"_setComponentEventHandlers",value:function(){this.progressiveImageLoader.on(u.IMAGE_LOAD,this._onProgressiveImageLoad),this.progressiveImageLoader.on(u.IMAGE_COMPLETE,this._onProgressiveImageComplete)}},{key:"onSectionWillAppearWithPadding",value:function(){this.isProgressiveImageAvailable&&!this.imagesLoaded&&this._loadImages()}},{key:"_loadImages",value:function(){this.progressiveImageLoader.load(Object.assign({},{imageAnimate:!1},this.settings))}},{key:"_onProgressiveImageLoad",value:function(t){this.section.trigger(u.IMAGE_LOAD,t)}},{key:"_onProgressiveImageComplete",value:function(){this.imagesLoaded=!0,this.section.trigger(u.IMAGE_COMPLETE)}},{key:"_overwriteDefaultOptions",value:function(){var t=this.element.getAttribute(l.SETTINGS),e=JSON.parse(t);Object.assign(this.settings,h,e)}},{key:"destroy",value:function(){this.progressiveImageLoader.destroy(),this.progressiveImageLoader=null,this.imagesLoaded=!1,a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}}]),e}(c.BaseComponent)},{"../libs":422}],420:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(i,"__esModule",{value:!0}),i.TabNavGalleryComponent=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=t("../libs");i.TabNavGalleryComponent=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.galleryEl=t.element.querySelector("[data-ac-gallery-fade]"),t.captionsEl=t.element.querySelector("[data-ac-gallery-captions]"),t.galleryOptions={resizeContainer:!0},t.captionOptions={resizeContainer:!0,itemSelector:"[data-captions-gallery]",crossFade:!0,enableArrowKeys:!1},t.screenGallery=null,t.captionsGallery=null,t._screenGalleryUpdateEventHandler=t._screenGalleryUpdateEventHandler.bind(t),t._screenGalleryUpdateCompleteEventHandler=t._screenGalleryUpdateCompleteEventHandler.bind(t),t._captionsGalleryUpdateEventHandler=t._captionsGalleryUpdateEventHandler.bind(t),t._initialize(),t}return s(e,t),o(e,[{key:"_initialize",value:function(){this._initTabNavGallery()}},{key:"_initTabNavGallery",value:function(){this.galleryEl&&(this.screenGallery=a.Gallery.create(this.galleryEl,"fade",this.galleryOptions)),this.captionsEl&&(this.captionsGallery=a.Gallery.create(this.captionsEl,"fade",this.captionOptions)),this._setTabNavGalleryEvents()}},{key:"_setTabNavGalleryEvents",value:function(){this.screenGallery.on(a.Gallery.UPDATE,this._screenGalleryUpdateEventHandler),this.screenGallery.on(a.Gallery.UPDATE_COMPLETE,this._screenGalleryUpdateCompleteEventHandler),this.captionsGallery.on(a.Gallery.UPDATE,this._captionsGalleryUpdateEventHandler)}},{key:"_screenGalleryUpdateEventHandler",value:function(t){var e=this.screenGallery.getItemIndex(t.incoming[0]);this.captionsGallery.show(e)}},{key:"_screenGalleryUpdateCompleteEventHandler",value:function(t){var e=t.incoming[0]._el.querySelector(".mediaobject-element"),i=t.outgoing[0]._el.querySelector(".mediaobject-element");if(e&&e.play(),i){var n=i.parentNode;i.load(),n.classList.remove("mediaobject-ended")}}},{key:"_captionsGalleryUpdateEventHandler",value:function(t){var e=this.captionsGallery.getItemIndex(t.incoming[0]);this.screenGallery.show(e)}}]),e}(a.BaseComponent)},{"../libs":422}],421:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=t("./HeroComponent");Object.defineProperty(i,"HeroComponent",{enumerable:!0,get:function(){return n.HeroComponent}});var r=t("./EngagedTransitionComponent");Object.defineProperty(i,"EngagedTransitionComponent",{enumerable:!0,get:function(){return r.EngagedTransitionComponent}});var s=t("./AccordionComponent");Object.defineProperty(i,"AccordionComponent",{enumerable:!0,get:function(){return s.AccordionComponent}});var o=t("./AccordionControlComponent");Object.defineProperty(i,"AccordionControlComponent",{enumerable:!0,get:function(){return o.AccordionControlComponent}});var a=t("./ImageCompareComponent");Object.defineProperty(i,"ImageCompareComponent",{enumerable:!0,get:function(){return a.ImageCompareComponent}});var c=t("./CardHeightComponent");Object.defineProperty(i,"CardHeightComponent",{enumerable:!0,get:function(){return c.CardHeightComponent}});var l=t("./TabNavGalleryComponent");Object.defineProperty(i,"TabNavGalleryComponent",{enumerable:!0,get:function(){return l.TabNavGalleryComponent}});var h=t("./InlineVideoComponent");Object.defineProperty(i,"InlineVideoComponent",{enumerable:!0,get:function(){return h.InlineVideoComponent}});var u=t("./ProgressiveImageComponent");Object.defineProperty(i,"ProgressiveImageComponent",{enumerable:!0,get:function(){return u.ProgressiveImageComponent}});var m=t("./CardGalleryTouchComponent");Object.defineProperty(i,"CardGalleryTouchComponent",{enumerable:!0,get:function(){return m.CardGalleryTouchComponent}})},{"./AccordionComponent":411,"./AccordionControlComponent":412,"./CardGalleryTouchComponent":413,"./CardHeightComponent":414,"./EngagedTransitionComponent":415,"./HeroComponent":416,"./ImageCompareComponent":417,"./InlineVideoComponent":418,"./ProgressiveImageComponent":419,"./TabNavGalleryComponent":420}],422:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.BasePage=t("@marcom/ac-jetpack-lib/core/BasePage"),i.BaseComponent=t("@marcom/ac-jetpack-lib/core/BaseComponent"),i.ComponentMap=t("@marcom/ac-jetpack-lib/model/ComponentMap"),i.PageUtils=t("@marcom/ac-jetpack-lib/utils/Page"),i.EngagedElementComponent=t("@marcom/ac-jetpack-fuel/components/engaged-element/EngagedElementComponent"),i.GalleryComponent=t("@marcom/ac-jetpack-fuel/components/gallery/GalleryComponent"),i.ScrollAnimationComponent=t("@marcom/ac-jetpack-fuel/components/scroll-animation/ScrollAnimationComponent"),i.ProgressiveImageLoader=t("@marcom/ac-progressive-image-loader/ProgressiveImageLoader"),i.EventEmitterMicro=t("@marcom/ac-event-emitter-micro/EventEmitterMicro"),i.RAFEmitter=t("@marcom/ac-raf-emitter/RAFEmitter"),i.Promise=t("@marcom/ac-polyfills/Promise"),i.Gallery=t("@marcom/ac-gallery").Gallery,i.FadeGallery=t("@marcom/ac-gallery").FadeGallery,i.SlideGallery=t("@marcom/ac-gallery").SlideGallery,i.viewportEmitter=t("@marcom/ac-viewport-emitter"),i.mediaObject=t("@marcom/ac-media-object"),i.TextZoom=t("@marcom/ac-accessibility/TextZoom")},{"@marcom/ac-accessibility/TextZoom":1,"@marcom/ac-event-emitter-micro/EventEmitterMicro":171,"@marcom/ac-gallery":222,"@marcom/ac-jetpack-fuel/components/engaged-element/EngagedElementComponent":241,"@marcom/ac-jetpack-fuel/components/gallery/GalleryComponent":242,"@marcom/ac-jetpack-fuel/components/scroll-animation/ScrollAnimationComponent":243,"@marcom/ac-jetpack-lib/core/BaseComponent":248,"@marcom/ac-jetpack-lib/core/BasePage":249,"@marcom/ac-jetpack-lib/model/ComponentMap":251,"@marcom/ac-jetpack-lib/utils/Page":255,"@marcom/ac-media-object":267,"@marcom/ac-polyfills/Promise":void 0,"@marcom/ac-progressive-image-loader/ProgressiveImageLoader":314,"@marcom/ac-raf-emitter/RAFEmitter":320,"@marcom/ac-viewport-emitter":350}],423:[function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(i,"__esModule",{value:!0}),i.Resources=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),s=t("./libs"),o=t("./components"),a=i.Resources=function(){function e(){n(this,e),s.ComponentMap.AccordionComponent=o.AccordionComponent,s.ComponentMap.AccordionControlComponent=o.AccordionControlComponent,s.ComponentMap.ProgressiveImageComponent=o.ProgressiveImageComponent,s.ComponentMap.TextZoom=s.TextZoom,this.formElement=document.querySelector("#feedback_form"),this.selectedElement=document.querySelector("#feedback-form-application"),this.submit=document.querySelector("#support-devices-submit"),this._initialize=this._initialize.bind(this),s.PageUtils.onPageHeightSettled(this._initialize)}return r(e,[{key:"_initialize",value:function(){var e=this,i=void 0,n=void 0;try{i=t("@marcom/ac-analytics"),n=i.createBasicObserverSuite()}catch(r){}this.basePage=new s.BasePage,this.basePage._sections.forEach(function(t){t.analytics=n}),this.basePage.name="Resources",s.TextZoom.detect(),0!==this.selectedElement.selectedIndex&&this.submit.removeAttribute("disabled"),this.selectedElement.onchange=function(t){t.preventDefault(),e.submit.removeAttribute("disabled"),0===e.selectedElement.selectedIndex&&e.submit.setAttribute("disabled","true")},this.formElement.onsubmit=function(t){t.preventDefault(),0!==e.selectedElement.selectedIndex&&(window.location.href=e.selectedElement.options[e.selectedElement.selectedIndex].value)}}}]),e}();new a},{"./components":421,"./libs":422,"@marcom/ac-analytics":void 0}]},{},[423]);